]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update sysdeps/x86_64/fpu/libm-test-ulps
[thirdparty/glibc.git] / ChangeLog
CommitLineData
8280f22d
MT
12012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2
3 [BZ #13927]
4 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5
b8e33728
N
62012-04-21 Nix <nix@esperi.org.uk>
7
8 [BZ #7064]
9 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
10 version from __vm86.
11
097d59fa
JM
122012-04-20 Joseph Myers <joseph@codesourcery.com>
13
a90f3bcb
JM
14 * sysdeps/unix/common/lxstat.c: Remove file.
15 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16
edc7ea78
JM
17 * sysdeps/unix/sysv/Makefile: Remove file.
18
cb78c221
JM
19 * sysdeps/unix/sysv/direct.h: Remove file.
20
efa6a45f
JM
21 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24 * sysdeps/unix/sysv/bits/signum.h: Likewise.
25 * sysdeps/unix/sysv/bits/stat.h: Likewise.
26 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
27 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28
9c9f2d0c
JM
29 * sysdeps/unix/sysv/setrlimit.c: Remove file.
30
4541c83b
JM
31 * sysdeps/unix/xmknod.c: Remove file.
32 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33
f5d153a0
JM
34 * sysdeps/unix/sysv/settimeofday.c: Remove file.
35
aa746595
JM
36 * sysdeps/unix/sysv/i386/time.S: Remove file.
37
cce5905e
JM
38 * sysdeps/unix/fxstat.c: Remove file.
39 * sysdeps/unix/xstat.c: Likewise.
40 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
41
37fa3841
JM
42 * sysdeps/unix/sysv/sigaction.c: Remove file.
43
ff1962a3
JM
44 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45 (sysdep_headers): Remove variable.
46 [termio.h not in sysdep_headers] (generated): Likewise.
47 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
48 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49 * sysdeps/unix/sysv/tcdrain.c: Likewise.
50 * sysdeps/unix/sysv/tcflow.c: Likewise.
51 * sysdeps/unix/sysv/tcflush.c: Likewise.
52 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
53 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
54 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
55 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
56 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
57
e7740d31
JM
58 * sysdeps/unix/siglist.c: Remove file.
59
ee06f18b
JM
60 * sysdeps/unix/getppid.S: Remove file.
61
097d59fa
JM
62 * sysdeps/unix/mkdir.c: Remove file.
63 * sysdeps/unix/rmdir.c: Likewise.
64
ff3d51ec
AS
652012-04-19 Andreas Schwab <schwab@linux-m68k.org>
66
67 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
68 ERR_MAX value.
69 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
70 errlist-compat value.
71
50f81fd7
DM
722012-04-18 David S. Miller <davem@davemloft.net>
73
74 * sysdeps/generic/memcopy.h (reg_char): Delete.
75 * debug/strcat_chk.c: Use char, not reg_char.
76 * debug/strcpy_chk.c: Likewise.
77 * debug/strncat_chk.c: Likewise.
78 * debug/strncpy_chk.c: Likewise.
79 * string/memchr.c: Likewise.
80 * string/memrchr.c: Likewise.
81 * string/rawmemchr.c: Likewise.
82 * string/strcat.c: Likewise.
83 * string/strchr.c: Likewise.
84 * string/strchrnul.c: Likewise.
85 * string/strcmp.c: Likewise.
86 * string/strcpy.c: Likewise.
87 * string/strncat.c: Likewise.
88 * string/strncmp.c: Likewise.
89 * string/strncpy.c: Likewise.
90
8ff41c46
WS
912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
92
93 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
94 __builtin_memcopy is called when src and dest ranges are known to not
95 overlap.
96
6b652f46
WS
972012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
98
99 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
100 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
101 fwd_align_merge macro call.
102 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
103 bwd_align_merge macro call.
104 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
105
b282631e
WS
1062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
107
108 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
109 bwd_align_merge macros.
110 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
111 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
112 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
113
95aa737c
DM
1142012-04-18 David S. Miller <davem@davemloft.net>
115
116 * sysdeps/sparc/sparc64/memcopy.h: Delete.
117
7a99a614
AJ
1182012-04-18 Andreas Jaeger <aj@suse.de>
119
120 [BZ# 6794]
121 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
122 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
123 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
124
125 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
126 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
127 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
128
129 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
130 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
131 Adjust for changed ldbl-128 files.
132
133 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
134 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
135 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
136
e5270c23
DM
1372012-04-17 David S. Miller <davem@davemloft.net>
138
139 * sysdeps/sparc/sparc32/memcopy.h: Delete.
140
fb5e92c9
AS
1412012-04-17 Andreas Schwab <schwab@linux-m68k.org>
142
143 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
144 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
145 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
146 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
147 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
148 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
149
76da7265
AZ
1502012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
151
152 [BZ #6794]
153 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
154 * math/libm-test.inc: Add ilogb errno and exception tests.
155 * math/w_ilogb.c: New file: ilogb wrapper.
156 * math/w_ilogbf.c: New file: ilogbf wrapper.
157 * math/w_ilogbl.c: New file: ilogbl wrapper.
158 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
159 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
160 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
161 exception being thrown with 0.0 as argument.
162 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
163 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
164 exception being thrown with 0.0 as argument.
165 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
166 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
167 exception being thrown with 0.0 as argument.
168 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
169 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
170 exception being thrown with 0.0 as argument.
171 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
172 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 173 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
174 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
175 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
176 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
177 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
178 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
179 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
180
0396e69d
PB
1812012-04-17 Petr Baudis <pasky@ucw.cz>
182
183 * include/sys/uio.h: Change __vector to __iovec to avoid clash
184 with altivec.
185
750b5926
MP
1862012-04-16 Marek Polacek <polacek@redhat.com>
187
188 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
189
751728a1
MP
1902012-04-16 Marek Polacek <polacek@redhat.com>
191
192 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
193 operands of fdivp instruction.
194
34a27407
L
1952012-04-13 H.J. Lu <hongjiu.lu@intel.com>
196
197 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
198 * elf/tst-auditmod3b.c: Likewise.
199 * elf/tst-auditmod4b.c: Likewise.
200 * elf/tst-auditmod5b.c: Likewise.
201 * elf/tst-auditmod6b.c: Likewise.
202 * elf/tst-auditmod6c.c: Likewise.
203 * elf/tst-auditmod7b.c: Likewise.
204 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
205 * sysdeps/x86_64/preconfigure.in: Likewise.
206 * sysdeps/x86_64/preconfigure: Regenerated.
207
7e73e17d
L
2082012-04-13 H.J. Lu <hongjiu.lu@intel.com>
209
210 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
211 __ILP32__.
212
c7a6ab72
AB
2132012-04-13 Antoine Balestrat <merkil33@gmail.com>
214
215 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
216 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
217
a9e8e0e0
CL
2182012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
219
220 [BZ #13973]
221 * locale/iso-639.def: Fix gl language name. Spotted by
222 Yaron Shahrabani.
223
ec98af7d
RM
2242012-04-12 Roland McGrath <roland@hack.frob.com>
225
226 [BZ #2074]
227 * libio/libio.h (__io_write_fn): Update comment.
228
247c3ede
PB
2292012-04-12 Petr Baudis <pasky@ucw.cz>
230
231 [BZ #2074]
232 * stdio.texi (Hook Functions): The user provided writer function
233 is not allowed to return -1.
234
55939d6d
DM
2352012-04-11 David S. Miller <davem@davemloft.net>
236
237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
238
90020f5a
MF
2392012-04-11 Mike Frysinger <vapier@gentoo.org>
240
241 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
242 Add a leading slash to rtkaio.
243
288f9098
JM
2442012-04-11 Jim Meyering <meyering@redhat.com>
245
90020f5a
MF
246 [BZ #11959]
247 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
248 It is not necessarily an error to ignore fwrite's return
249 value. One can reliably use ferror to test for errors after
250 the fact.
288f9098 251
4be2b570
L
2522012-04-10 H.J. Lu <hongjiu.lu@intel.com>
253
254 * bits/types.h (__snseconds_t): New type.
255 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
256
257 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
258 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
259 (__SNSECONDS_T_TYPE): Likewise.
260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
261 (__SNSECONDS_T_TYPE): Likewise.
262 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
263 (__SNSECONDS_T_TYPE): Likewise.
264
288f9098 2652012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
266
267 [BZ #2636]
268 * manual/time.texi (Processor Time): Return type of times is
269 elapsed real time since an arbitrary point in the past.
270 (CPU Time): Move CLK_TCK from here...
271 (Processor Time): ...to here. Correct description.
272 * manual/conf.texi (Constants for Sysconf): Correct description of
273 _SC_CLK_TCK.
274
d7dd4413
DM
2752012-04-10 David S. Miller <davem@davemloft.net>
276
277 [BZ #13967]
278 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
279 where the is a gap between DT_REL(A) and DT_JMPREL.
280
b46068fc
L
2812012-04-10 H.J. Lu <hongjiu.lu@intel.com>
282
283 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
284 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
285 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
286
73d65cc3
SP
2872012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
288
289 * elf/dl-support.c (_dl_inhibit_cache): New variable.
290 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
291 (dl_main): Handle --inhibit-cache.
292 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
293 _dl_inhibit_cache.
294 * elf/dl-load.c (_dl_map_object): Use it.
295 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
296
bcc8d661
JM
2972012-04-09 Joseph Myers <joseph@codesourcery.com>
298
8f9a2fae
JM
299 [BZ #13872]
300 * sysdeps/i386/fpu/e_powl.S (p78): New object.
301 (__ieee754_powl): Saturate large exponents rather than testing for
302 overflow of y*log2(x).
303 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
304 * math/libm-test.inc (pow_test): Do not permit spurious overflow
305 exceptions.
306
bcc8d661
JM
307 [BZ #11521]
308 * math/s_ctan.c: Include <float.h>.
309 (__ctan): Avoid internal overflow or cancellation in calculating
310 denominator.
311 * math/s_ctanf.c: Likewise.
312 * math/s_ctanl.c: Likewise.
313 * math/s_ctanh.c: Likewise.
314 * math/s_ctanhf.c: Likewise.
315 * math/s_ctanhl.c: Likewise.
316 * math/libm-test.inc (ctan_test): Add more tests.
317 (ctanh_test): Likewise.
318 * sysdeps/i386/fpu/libm-test-ulps: Update.
319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
320
823fbbb4
AJ
3212012-04-09 Andreas Jaeger <aj@suse.de>
322
03879793
AJ
323 [BZ #6894]
324 * manual/filesys.texi (Directory Entries): Mention that d_namlen
325 is an optional BSD extension.
326
823fbbb4
AJ
327 [BZ #10254]
328 * manual/stdio.texi (Opening Streams): Document additional fopen
329 parameters.
330
8de131cb
RM
3312012-04-09 Roland McGrath <roland@hack.frob.com>
332
333 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
334 %eax without telling the compiler.
335
c0ed9d7d
CD
3362012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
337
338 [BZ # 13963]
339 * manual/install.texi: Use sourceware.org.
340
c483f6b4
JM
3412012-04-09 Joseph Myers <joseph@codesourcery.com>
342
d7dd9453
JM
343 [BZ #13873]
344 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
345 (__ieee754_pow): Generate overflow and underflow using huge*huge
346 and tiny*tiny rather than just returning constant infinity or zero
347 for large exponents.
348 * math/libm-test.inc (pow_test): Require overflow exceptions for
349 applicable cases of large exponents.
350
c483f6b4
JM
351 [BZ #706]
352 * sysdeps/i386/fpu/e_pow.S (p10): New object.
353 (__ieee754_pow): Use iterative multiplication algorithm only for
354 integer exponents with absolute value below 1024. Check for odd
355 integer exponents when using algorithm for real exponents.
356 * math/libm-test.inc (pow_test): Add more tests.
357 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
358
d2de7579
JM
3592012-04-08 Joseph Myers <joseph@codesourcery.com>
360
361 [BZ #13705]
362 * math/libm-test.inc (exp_test): Do not allow overflow exception
363 on underflow test.
364
f77f1232
AJ
3652012-04-08 Aurelien Jarno <aurelien@aurel32.net>
366
367 [BZ #13705]
368 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
369 instead of __kernel_standard_f.
370
3884932b
MF
3712012-04-08 Mike Frysinger <vapier@gentoo.org>
372
373 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
374 * sysdeps/x86_64/memset_chk.S: Likewise.
375
54472e9c
AJ
3762012-04-08 Andreas Jaeger <aj@suse.de>
377
6ab0fbfc
AJ
378 [BZ #10153]
379 * manual/startup.texi (Environment Access): Describe return value
380 for putenv and setenv.
381
61efba8c
AJ
382 [BZ #6895]
383 * manual/filesys.texi (Directory Entries): Add description for
384 DT_LNK.
385
95c3f29a
AJ
386 [BZ #6890]
387 * manual/filesys.texi (Directory Entries): Clarify that it's file
388 system not operating system in the description of DT_UNKNOWN.
389
54472e9c
AJ
390 [BZ #6578]
391 * manual/syslog.texi (closelog): Fix reference, it's openlog.
392
624254b1
SC
3932012-04-08 Stephen Compall <s11@member.fsf.org>
394
395 [BZ #6649]
396 * manual/llio.texi (Opening and Closing Files): Add cross
397 reference to explain mode argument.
398
1e4920e0
MF
3992012-04-07 Mike Frysinger <vapier@gentoo.org>
400
401 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
402 * sysdeps/x86_64/memset_chk.S: Likewise.
403
5ed848f3
DM
4042012-04-07 David S. Miller <davem@davemloft.net>
405
406 * elf/elf.h (R_SPARC_WDISP10): Define.
407 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
408 R_SPARC_SIZE32.
409 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
410 R_SPARC_SIZE64 and R_SPARC_H34.
411
96154cd8
CD
4122012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
413
414 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
415 conditions and remove no longer applicable assertion.
416
9904dc47
L
4172012-04-06 H.J. Lu <hongjiu.lu@intel.com>
418
419 * bits/byteswap.h: Include <features.h>.
420 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
421 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
422
f8887d0a
L
4232012-04-06 H.J. Lu <hongjiu.lu@intel.com>
424
425 * bits/byteswap.h (__bswap_16): Removed.
426 Include <bits/byteswap-16.h> to get __bswap_16.
427 * sysdeps/i386/bits/byteswap.h: Likewise.
428 * sysdeps/s390/bits/byteswap.h: Likewise.
429 * sysdeps/x86_64/bits/byteswap.h: Likewise.
430 * bits/byteswap-16.h: New file.
431 * sysdeps/i386/bits/byteswap-16.h: Likewise.
432 * sysdeps/s390/bits/byteswap-16.h: Likewise.
433 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
434 * string/Makefile (headers): Add bits/byteswap-16.h.
435
62470f60
PP
4362012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
437
438 [BZ #13895]
439 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
440 extra indirection.
441 * nss/Makefile (tests-static, tests): Add tst-nss-static.
442 * nss/tst-nss-static.c: New.
443
4dad7bab
RM
4442012-04-06 Robert Millan <rmh@gnu.org>
445
446 [BZ #6486]
447 * manual/llio.texi (File Position Primitive): lseek
448 refers to WHENCE when it really means OFFSET.
449
e9142a17
AJ
4502012-04-06 Andreas Jaeger <aj@suse.de>
451
2c040eff
AJ
452 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
453 strncmp declarations.
454
e9142a17
AJ
455 * abilist/libc.abilist: Add __poll and __ppoll.
456
ff9f1c5f
DM
4572012-04-05 David S. Miller <davem@davemloft.net>
458
dcd2ae90
DM
459 * scripts/check-local-headers.sh: Accept a host triplet in the
460 path matched by the exclude regexp.
461
993eb054
DM
462 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
463 definition.
464 * sysdeps/powerpc/powerpc32/dl-machine.h
465 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
466 * sysdeps/s390/s390-32/dl-machine.h
467 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
468 * sysdeps/sparc/sparc32/dl-machine.h
469 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
470 * sysdeps/sparc/sparc64/dl-machine.h
471 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
472
ff9f1c5f
DM
473 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
474 lazy binding.
48e2e132 475 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
476 undefined symbol errors.
477
48e2e132 478 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
479 DT_NEEDED entries.
480
e80d6f94
MM
4812012-04-05 Michael Matz <matz@suse.de>
482
483 [BZ #13592]
484 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
485
349fa79f
AJ
4862012-04-05 Andreas Jaeger <aj@suse.de>
487
488 [BZ #13908]
489 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
490 comment.
491
f402708f
KK
4922012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
493
494 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
495 which ROUND is no valid rounding mode.
496
2ecccfc9
KK
4972012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
498
499 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
500 read again.
501 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
502
8a53f50f
KK
5032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
504
505 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
506 an exception using FPU order intentionally.
507
5082012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
509
510 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
511 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
512 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
513 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
514
d653abb7
SJ
5152012-04-05 Simon Josefsson <simon@josefsson.org>
516
517 [BZ #12340]
518 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
519 EINVAL when BUFLEN is too smal.
520
c3b1bf7d
TS
5212012-04-05 Thomas Schwinge <thomas@codesourcery.com>
522
523 [BZ #13553]
524 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
525 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
526
b1aa60f3
AJ
5272012-04-03 Andreas Jaeger <aj@suse.de>
528
c3b1bf7d 529 [BZ #13938]
67f60a26
AJ
530 * manual/setjmp.texi (System V contexts): Fix sentence.
531
b1aa60f3
AJ
532 [BZ #13926]
533 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
534 New macro for this case.
535 [!__GNUC__] (__bswap_64): New inline function for this case.
536 * sysdeps/x86_64/bits/byteswap.h: Likewise.
537 * bits/byteswap.h: Likewise.
538 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
539 ull, guard with __GLIBC_HAVE_LONG_LONG.
540
541 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
542 __GLIBC_HAVE_LONG_LONG.
543
544 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
545 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
546
39c59c35
TMQMF
5472012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
548
549 [BZ #13691]
550 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
551 inptr and inend, rather than using last_ch.
552
135ffda8
DM
5532012-04-02 David S. Miller <davem@davemloft.net>
554
555 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
556 * stdio-common/printf-parse.h (read_int): Change return type to
557 'int', return -1 on INT_MAX overflow.
558 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
559 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
560 overflows INT_MAX. Check for overflow of in-format-string precision
561 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
562 SIZE_MAX not INT_MAX for integer overflow test.
563 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
564 skip the construct in the format string but do not record anything.
565 * stdio-common/bug22.c: Adjust to test both width/prevision
566 INT_MAX overflow as well as total length INT_MAX overflow. Check
567 explicitly for proper errno values.
568
228c019e
TS
5692012-04-02 Thomas Schwinge <thomas@codesourcery.com>
570
302cadd3
TS
571 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
572 CHAR_MAX.
573 * string/test-strcmp.c [! WIDE]: Likewise.
574 * time/tst-mktime2.c: Likewise for INT_MAX.
575 * string/test-string.h: #include <sys/param.h> for MIN.
576
228c019e
TS
577 * csu/init-first.c (__libc_init_first): Call __ctype_init.
578 * sysdeps/i386/init-first.c (init): Likewise.
579 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
580 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
581 * sysdeps/sh/init-first.c (init): Likewise.
582
cfa633f5
UD
5832012-04-01 Ulrich Drepper <drepper@gmail.com>
584
585 * po/ru.po: Update from translation team.
d1635ef8 586 * po/vi.po: Likewise.
cfa633f5 587
6cd0a5ea
SP
5882012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
589
590 * resolv/nss_dns/dns-host.c: Merge copyright years.
591
4b43400f
LD
5922012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
593
594 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
595 Optimize memcpy with prefetch if
596 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
597 src, dst pointers have unequal 16 byte alignments.
598
48c41d04
SP
5992012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
600
601 [BZ #13928]
602 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
603 from a CNAME entry and return the minimum ttl for the query.
604 (gaih_getanswer_slice): Likewise.
605
b8dc394d
JL
6062012-03-30 Jeff Law <law@redhat.com>
607
608 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
609 due to long keys.
610 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
611 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
612
2f5a5ed0
JL
613 * resolv/nss_dns/dns-host.c: Update copyright year.
614
1d39e359
UD
6152012-03-30 Ulrich Drepper <drepper@gmail.com>
616
c030f70c 617 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 618 requests to save a system call. Fix check that all bytes are sent.
c030f70c 619
1d39e359
UD
620 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
621 comments for sendmmsg.
622
6232012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
624
625 [BZ #13691]
626 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
627 with only 1 character between 0x0041 and 0x01b0.
628 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
629 * wcsmbs/tst-mbsnrtowcs.c: New file.
630
20fde227
DM
6312012-03-29 David S. Miller <davem@davemloft.net>
632
633 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
634 small copies by hand.
635
984a4237
JL
6362012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
637
638 [BZ #13761]
639 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
640 _nss_compat_initgroups_dyn): Fall back to malloc/free
641 for large group memberships.
642
18c9d62b
DM
6432012-03-28 David S. Miller <davem@davemloft.net>
644
88d85d4f
DM
645 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
646 that branches into memcpy.
647 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
648 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
649 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
650 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
651 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
652 bits.
653 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
654 implementation too.
655 * sysdeps/sparc/mempcpy.S: New file.
656
e5aa83e1
DM
657 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
658 the IFUNC routine in the libc case.
659 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
660
88570753
DM
661 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
662 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
663 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
664 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
665 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
666 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
667 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
668 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
669
249d7567
DM
670 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
671 loop to 256 bytes instead of 64 bytes and fix test signedness.
672
18c9d62b
DM
673 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
674 * sysdeps/sparc/sparc32/Makefile: rather than here...
675 * sysdeps/sparc/sparc64/Makefile: and here.
676
05f3d1f6
UD
6772012-03-28 Ulrich Drepper <drepper@gmail.com>
678
679 * malloc/mallocbug.c: Avoid warnings about unused variables.
680
86ae07a8
JL
6812012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
682
683 [BZ #13760]
684 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
685 in the right place. Discard and retry query if response is
686 larger than input buffer size.
687
41bf21a1
JM
6882012-03-28 Joseph Myers <joseph@codesourcery.com>
689
d6270972
JM
690 [BZ #369]
691 [BZ #2678]
692 [BZ #3866]
693 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
694 x for large integer exponent.
695 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
696 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
697 sign of result as needed afterwards.
698 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
699 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
700 result for underflowing pow the same as for overflow.
701 (__kernel_standard_l): Handle powl overflow and underflow here
702 rather than calling __kernel_standard.
703 * math/libm-test.inc (pow_test): Add more tests.
704
414fca03 705 [BZ #3868]
41bf21a1
JM
706 [BZ #13879]
707 [BZ #13910]
708 [BZ #13911]
709 [BZ #13912]
710 [BZ #13913]
711 [BZ #13915]
712 [BZ #13916]
713 [BZ #13917]
714 [BZ #13918]
715 [BZ #13919]
716 [BZ #13920]
717 [BZ #13921]
718 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
719 * sysdeps/ieee754/k_standard.c: Include <float.h>.
720 (__kernel_standard_l): New function.
721 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
722 __kernel_standard.
723 * math/w_acosl.c (__acosl): Likewise.
724 * math/w_asinl.c (__asinl): Likewise.
725 * math/w_atan2l.c (__atan2l): Likewise.
726 * math/w_atanhl.c (__atanhl): Likewise.
727 * math/w_coshl.c (__coshl): Likewise.
728 * math/w_exp10l.c (__exp10l): Likewise.
729 * math/w_exp2l.c (__exp2l): Likewise.
730 * math/w_fmodl.c (__fmodl): Likewise.
731 * math/w_hypotl.c (__hypotl): Likewise.
732 * math/w_j0l.c (__j0l, __y0l): Likewise.
733 * math/w_j1l.c (__j1l, __y1l): Likewise.
734 * math/w_jnl.c (__jnl, __ynl): Likewise.
735 * math/w_lgammal.c (__lgammal): Likewise.
736 * math/w_log10l.c (__log10l): Likewise.
737 * math/w_log2l.c (__log2l): Likewise.
738 * math/w_logl.c (__logl): Likewise.
739 * math/w_powl.c (__powl): Likewise.
740 * math/w_remainderl.c (__remainderl): Likewise.
741 * math/w_scalbl.c (sysv_scalbl): Likewise.
742 * math/w_sinhl.c (__sinhl): Likewise.
743 * math/w_sqrtl.c (__sqrtl): Likewise.
744 * math/w_tgammal.c (__tgammal): Likewise.
745 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
746 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
747 * math/libm-test.inc (acos_test): Add more tests.
748 (acosh_test): Likewise.
749 (asin_test): Likewise.
750 (atanh_test): Likewise.
751 (exp_test): Likewise.
752 (exp10_test): Likewise.
753 (exp2_test): Likewise.
754 (expm1_test): Likewise.
755 (lgamma_test): Likewise.
756 (log_test): Likewise.
757 (log10_test): Likewise.
758 (log1p_test): Likewise.
759 (log2_test): Likewise.
760 (pow_test): Do not allow some spurious overflow exceptions.
761 (sqrt_test): Add more tests.
762 (tgamma_test): Likewise.
763 (y0_test): Likewise.
764 (y1_test): Likewise.
765 (yn_test): Likewise.
766
dd62fda6
AB
7672012-03-27 Anton Blanchard <anton@samba.org>
768
769 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
770 MAP_HUGETLB.
771 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
772 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
773 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
774
1e3cdfda
AJ
7752012-03-27 David S. Miller <davem@davemloft.net>
776
b855ab85
DM
777 * conform/Makefile: Run run-conformtest.sh using $(BASH).
778
1e3cdfda
AJ
779 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
780 have-as-vis3 check.
781
7822012-03-27 Andreas Jaeger <aj@suse.de>
783
784 * sysdeps/x86_64/elf/configure.in: Moved to ...
785 * sysdeps/x86_64/configure.in: ... here.
786 * sysdeps/x86_64/elf/start.S: Moved to ...
787 * sysdeps/x86_64/start.S: ... here.
788 * sysdeps/x86_64/elf/configure: Delete.
789
790 * sysdeps/x86_64/configure.in: Merge contents from
791 sysdeps/i386/configure.in (without i686 check).
792
793 * sysdeps/i386/elf/Versions: Merge into ...
794 * sysdeps/i386/Versions: ... this.
795 * sysdeps/i386/elf/Versions: Delete file.
796 * sysdeps/i386/elf/start.S: Moved to ...
797 * sysdeps/i386/start.S: ...here.
798 * sysdeps/i386/elf/configure.in: Merge into...
799 * sysdeps/i386/configure.in: ...here.
800 * sysdeps/i386/elf/configure.in: Delete file.
801 * sysdeps/i386/elf/configure: Delete file.
802
803 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
804 * debug/backtracesyms.c: ... here.
805 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
806 * debug/backtracesymsfd.c: ... here.
807 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
808 * sysdeps/generic/ifunc-sel.h: ... here.
809
810 * sysdeps/unix/i386/start.c: Delete file.
811 * sysdeps/unix/sparc/start.c: Delete file.
812 * sysdeps/unix/start.c: Delete file.
813
814 * sysdeps/sh/elf/configure.in: Moved to ...
815 * sysdeps/sh/configure.in: ... here.
816 * sysdeps/sh/elf/start.S: Moved to ...
817 * sysdeps/sh/start.S: ... here.
818 * sysdeps/sh/elf/configure: Delete file.
819
820 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
821 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
822 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
823 * sysdeps/powerpc/powerpc64/entry.h: ... here.
824 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
825 * sysdeps/powerpc/powerpc64/start.S: here.
826 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
827 * sysdeps/powerpc/powerpc64/Makefile: ... this.
828 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
829 * sysdeps/powerpc/powerpc64/configure.in: ... this.
830 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
831
832 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
833 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
834 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
835 * sysdeps/powerpc/powerpc32/start.S: ... here.
836 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
837 * sysdeps/powerpc/powerpc32/configure.in: ... this.
838 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
839
840 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
841 * sysdeps/powerpc/ifunc-sel.h: ... here.
842 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
843 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
844
845 * sysdeps/sparc/elf/configure.in: Moved to ...
846 * sysdeps/sparc/configure.in: ... here.
847 * sysdeps/sparc/elf/configure: Delete file.
848 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
849 * sysdeps/sparc/sparc32/start.S: ... here.
850 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
851 * sysdeps/sparc/sparc64/start.S: ... here.
852 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
853 * sysdeps/sparc/sparc32/Makefile: ... this.
854 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
855 * sysdeps/sparc/sparc64/Makefile: ... this.
856
857 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
858 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
859 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
860 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
861 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
862 * sysdeps/s390/s390-32/setjmp.S: ... here.
863 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
864 * sysdeps/s390/s390-32/configure.in: ... here.
865 * sysdeps/s390/s390-32/elf/configure: Delete file.
866 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
867 * sysdeps/s390/s390-32/start.S: ... here.
868
869 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
870 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
871 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
872 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
873 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
874 * sysdeps/s390/s390-64/setjmp.S: ... here.
875 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
876 * sysdeps/s390/s390-64/configure.in: ... here
877 * sysdeps/s390/s390-64/elf/configure: Delete file.
878 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
879 * sysdeps/s390/s390-64/start.S: ... here.
880 * sysdeps/s390/s390-64/elf/configure: Delete.
881
882 * configure.in: Remove support for elf directories in sysdeps.
883
884 * configure: Regenerated.
885 * sysdeps/i386/configure: Regenerated.
886 * sysdeps/powerpc/powerpc32/configure: Regenerated.
887 * sysdeps/powerpc/powerpc64/configure: Regenerated.
888 * sysdeps/s390/s390-32/configure: Regenerated.
889 * sysdeps/s390/s390-64/configure: Regenerated.
890 * sysdeps/sh/configure: Regenerated.
891 * sysdeps/sparc/configure: Regenerated.
892 * sysdeps/x86_64/configure: Regenerated.
893
a3f61311
AS
8942012-03-26 Andreas Schwab <schwab@linux-m68k.org>
895
c876e002
AS
896 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
897
a3f61311
AS
898 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
899 denormal result into account.
900
ac4c54f0
RM
9012012-03-25 Roland McGrath <roland@hack.frob.com>
902
903 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
904 Reported by Allan McRae <allan@archlinux.org>.
905
6a9b9c02
JL
9062012-03-23 Jeff Law <law@redhat.com>
907
908 * nss/getnssent.c (__nss_getent): Fix typo.
909
4c42a0c1
DM
9102012-03-23 David S. Miller <davem@davemloft.net>
911
912 * sysdeps/sparc/fpu/libm-test-ulps: Update.
913
1532c7ac
L
9142012-03-23 H.J. Lu <hongjiu.lu@intel.com>
915
916 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
917 to pad to uint64_t for each field.
918 (dl_tls_index): Replace unsigned long with uint64_t.
919
3ff42526
PP
9202012-03-23 Daniel Jacobowitz <dmj@google.com>
921 Paul Pluzhnikov <ppluzhnikov@google.com>
922
923 [BZ #6528]
924 * grp/Makefile (otherlibs): Don't set it.
925 * inet/Makefile (otherlibs): Likewise.
926 * login/Makefile (otherlibs): Likewise.
927 * nscd/Makefile (otherlibs): Likewise.
928 * posix/Makefile (otherlibs): Likewise.
929 * pwd/Makefile (otherlibs): Likewise.
930 * rt/Makefile (otherlibs): Likewise.
931 * sunrpc/Makefile (otherlibs): Likewise.
932 * nss/Makefile (otherlibs): Likewise.
933 Add libnss_files to routines and static-only-routines.
934 ($(objpfx)getent): Remove rule.
935 * resolv/Makefile: Add libnss_dns and libresolv to routines and
936 static-only-routines.
937
7c69cd14
JM
9382012-03-22 Joseph Myers <joseph@codesourcery.com>
939
940 [BZ #13892]
941 * math/s_cexp.c: Include <float.h>.
942 (__cexp): Handle exp result overflowing not necessarily
943 overflowing both real and imaginary parts of result.
944 * math/s_cexpf.c: Likewise.
945 * math/s_cexpl.c: Likewise.
946 * math/libm-test.inc (cexp_test): Add more tests.
947 * sysdeps/i386/fpu/libm-test-ulps: Update.
948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
949
81b035fe
L
9502012-03-22 H.J. Lu <hongjiu.lu@intel.com>
951
952 * include/link.h (ELFW): New macro.
953 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
954 Replace ELF64_R_TYPE with ELFW(R_TYPE).
955
1da7940c
L
9562012-03-22 H.J. Lu <hongjiu.lu@intel.com>
957
958 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
959 with uint64_t.
960
b749dbb9
L
9612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
962
963 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
964 declaration.
965 (struct La_x32_retval): Likewise.
966
2ff87f3f
L
9672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
968
969 * sysdeps/x86_64/preconfigure.in: New file.
970 * sysdeps/x86_64/preconfigure: New generated file.
971
c0df8e69
JM
9722012-03-22 Joseph Myers <joseph@codesourcery.com>
973
48e44791
JM
974 [BZ #13824]
975 * math/e_exp2l.c: Include <float.h>.
976 (__ieee754_exp2l): Handle overflow and underflow cases
977 separately. Only pass fractional part of argument to
978 __ieee754_expl.
979 * math/libm-test.inc (exp2_test): Add more tests.
980
c0df8e69
JM
981 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
982 negating x to take absolute value.
983 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
984 Likewise.
985 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
986 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
987 Likewise.
988 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
989 computing low part if x was negated.
990 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
991
c8e43ba7
L
9922012-03-21 H.J. Lu <hongjiu.lu@intel.com>
993
994 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
995 la_x32_gnu_pltexit.
996 (pltexit): Cast int_retval to ptrdiff_t.
997 * elf/tst-auditmod3b.c: Likewise.
998 * elf/tst-auditmod4b.c: Likewise.
999 * elf/tst-auditmod5b.c: Likewise.
1000 * elf/tst-auditmod6b.c: Likewise.
1001 * elf/tst-auditmod6c.c: Likewise.
1002 * elf/tst-auditmod7b.c: Likewise.
1003
1004 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
1005 and x32_gnu_pltexit.
1006
1007 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
1008 __ELF_NATIVE_CLASS.
1009 (La_x32_regs): New macro.
1010 (La_x32_retval): Likewise.
1011 (la_x32_gnu_pltenter): New function prototype.
1012 (la_x32_gnu_pltexit): Likewise.
1013
7998fa78
AS
10142012-03-21 Andreas Schwab <schwab@linux-m68k.org>
1015
dcb33988
AS
1016 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
1017 exponent.
1018
233fc563
AS
1019 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1020
7998fa78
AS
1021 * configure.in (libc_cv_cc_nofma): Check for option to disable
1022 generation of FMA instructions.
1023 * configure: Regenerate.
1024 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
1025 * sysdeps/ieee754/dbl-64/Makefile: New file.
1026 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
1027 Remove brandred-fma4.
1028 (CFLAGS-brandred-fma4.c): Remove.
1029 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
1030 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
1031 define.
1032 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
1033 define.
1034
8e95c99a
L
10352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1036
1037 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
1038 LLONG_MAX != LONG_MAX.
1039 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1040 (_fitoa_word): Likewise.
1041 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
1042 LLONG_MAX != LONG_MAX.
1043 * stdio-common/_itowa.h: Include <_itoa.h>.
1044 (_itowa_word): Use _ITOA_WORD_TYPE on value.
1045 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
1046 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
1047 only if not defined.
1048 (_ITOA_WORD_TYPE): Likewise.
1049 (_itoa_word): Use _ITOA_WORD_TYPE on value.
1050 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
1051
6f4db457
DM
10522012-03-21 David S. Miller <davem@davemloft.net>
1053
1054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1055
7785fe5a
L
10562012-03-21 H.J. Lu <hongjiu.lu@intel.com>
1057
1058 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
1059 of x86_64 when setting libc_cv_slibdir, libdir and
1060 libc_cv_localedir.
1061 * sysdeps/unix/sysv/linux/configure: Regenerated.
1062
4535cd55
JM
10632012-03-21 Joseph Myers <joseph@codesourcery.com>
1064
1065 * manual/lang.texi (Old Varargs): Remove section.
1066 (How Variadic): Update menu.
1067 (va_start): Do not mention varargs.h.
1068
17228132
TS
10692012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1070 Joseph Myers <joseph@codesourcery.com>
1071
1072 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1073 link test.
1074 * configure: Regenerated.
1075
8149f976
TS
10762012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1077
05f3d1f6
UD
1078 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1079 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1080 conformtest.pl
8149f976 1081
1a4ac776
JM
10822012-03-21 Joseph Myers <joseph@codesourcery.com>
1083
be22ce65
JM
1084 * NOTES: Remove.
1085 * Makefile (files-for-dist): Remove NOTES.
1086 (NOTES): Remove rule.
1087 * README: Don't refer to NOTES.
1088 * manual/creature.texi: Don't include macros.texi.
1089 * manual/intro.texi (creature.texi): Remove comment referring to
1090 NOTES.
1091
40b601fb
JM
1092 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1093 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1094 * configure: Regenerated.
1095 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1096 LIBC_TRY_CC_OPTION.
1097 (libc_cv_as_i686): Likewise.
1098 (libc_cv_cc_avx): Likewise.
1099 (libc_cv_cc_sse2avx): Likewise.
1100 (libc_cv_cc_fma4): Likewise.
1101 (libc_cv_cc_novzeroupper): Likewise.
1102 * sysdeps/i386/configure: Regenerated.
1103
1a4ac776
JM
1104 [BZ #13883]
1105 * sysdeps/i386/fpu/s_cexp.S: Remove.
1106 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1107 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1108 * math/libm-test.inc (cexp_test): Add more tests.
1109 * sysdeps/i386/fpu/libm-test-ulps: Update.
1110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1111
a458e7fe
AM
11122012-03-21 Allan McRae <allan@archlinux.org>
1113
1114 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1115
0cb7efc5
JM
11162012-03-21 Joseph Myers <joseph@codesourcery.com>
1117
1118 [BZ #13871]
1119 * math/w_exp2.c: Do not include <float.h>.
1120 (o_threshold, u_threshold): Remove.
1121 (__exp2): Calculate result before checking finiteness and calling
1122 __kernel_standard.
1123 * math/w_exp2f.c: Likewise.
1124 * math/w_exp2l.c: Likewise.
1125 * math/libm-test.inc (exp2_test): Require overflow exception for
1126 1e6 input.
2460d3aa
JM
1127
1128 [BZ #3866]
1129 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1130 range of signed 64-bit integers before using fistpll. Remove
1131 checks for whether integers fit in mantissa bits.
1132 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1133 the range of signed 32-bit integers before using fistpl. Remove
1134 checks for whether integers fit in mantissa bits.
1135 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1136 (__ieee754_powl): Test for y outside the range of signed 64-bit
1137 integers before using fistpll. Reduce 64-bit values to 63-bit
1138 ones as needed.
1139 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1140 divide-by-zero is raised for zero to large negative powers.
1141 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1142 (__ieee754_powl): Test for y outside the range of signed 64-bit
1143 integers before using fistpll. Reduce 64-bit values to 63-bit
1144 ones as needed.
1145 * math/libm-test.inc (pow_test): Add more tests.
1146
eb96ffb0
L
11472012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1148
1149 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1150 <stdio-common/_itoa.h>.
1151 * debug/segfault.c: Likewise.
1152 * elf/dl-cache.c: Likewise.
1153 * elf/dl-minimal.c: Likewise.
1154 * elf/dl-misc.c: Likewise.
1155 * elf/dl-sysdep.c: Likewise.
1156 * elf/dl-version.c: Likewise.
1157 * elf/rtld.c: Likewise.
1158 * hurd/hurdsock.c: Likewise.
1159 * hurd/lookup-retry.c: Likewise.
1160 * malloc/malloc.c: Likewise.
1161 * malloc/mtrace.c: Likewise.
1162 * nscd/nscd_getgr_r.c: Likewise.
1163 * nscd/nscd_getpw_r.c: Likewise.
1164 * nscd/nscd_getserv_r.c: Likewise.
1165 * posix/getopt_init.c: Likewise.
1166 * posix/wordexp.c: Likewise.
1167 * stdio-common/_itoa.c: Likewise.
1168 * stdio-common/printf_fphex.c: Likewise.
1169 * stdio-common/vfprintf.c: Likewise.
1170 * string/_strerror.c: Likewise.
1171 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1172 * sysdeps/i386/i686/hp-timing.h: Likewise.
1173 * sysdeps/mach/_strerror.c: Likewise.
1174 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1175 * sysdeps/mach/hurd/sethostid.c: Likewise.
1176 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1177 * sysdeps/mach/xpg-strerror.c: Likewise.
1178 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1179 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1180 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1181 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1182 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1183 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1184 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1185 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1186 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1187 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1188 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1189 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1190 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1191 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1192 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1193 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1194 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1195 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1196 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1197 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1198 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1199
1200 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1201
1202 * stdio-common/_itoa.h: Moved to ...
1203 * sysdeps/generic/_itoa.h: Here.
1204
1205 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1206
1207 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1208 instead of "_itoa.h" and "_itowa.h".
1209 * stdio-common/vfprintf.: Likewise.
1210
d1af992d
L
12112012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1212
1213 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1214 <bits/wordsize.h>.
1215 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1216 (__signbit): Likwise.
1217 (llrintf): Likwise.
1218 (llrint): Likwise.
1219
114883e0
L
12202012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1221
1222 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1223 __WORDSIZE != 64.
1224
c135cc1b
JM
12252012-03-20 Joseph Myers <joseph@codesourcery.com>
1226
1227 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1228 OVERFLOW_EXCEPTION_OK.
1229 * math/libm-test.inc ("Philosophy"): Update comment about
1230 exception testing.
1231 (OVERFLOW_EXCEPTION): Define.
1232 (OVERFLOW_EXCEPTION_OK): Likewise.
1233 (INVALID_EXCEPTION_OK): Renumber.
1234 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1235 (IGNORE_ZERO_INF_SIGN): Likewise.
1236 (test_exceptions): Handle FE_OVERFLOW.
1237 (exp10_test): Expect overflow exceptions.
1238 (exp2_test): Likewise.
1239 (expm1_test): Likewise.
1240 (nextafter_test): Likewise.
1241 (pow_test): Likewise.
1242 (scalbn_test): Likewise.
1243 (scalbln_test): Likewise.
1244
95443d88
L
12452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1246
1247 * sysdeps/x86_64/bits/atomic.h
1248 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1249 64bit integer.
1250 (atomic_exchange_acq): Likewise.
1251 (__arch_exchange_and_add_body): Likewise.
1252 (__arch_add_body): Likewise.
1253 (atomic_add_negative): Likewise.
1254 (atomic_add_zero): Likewise.
1255
490df6c4
L
12562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1257
c2722551 1258 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
1259 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1260
5e52b189
L
12612012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1262
1263 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1264 Check __x86_64__ instead of __WORDSIZE.
1265
a9879d4c
L
12662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1267
1268 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1269
5df98260
DM
12702012-03-19 David S. Miller <davem@davemloft.net>
1271
e1497744
DM
1272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1273
5df98260
DM
1274 * sysdeps/sparc/fpu/fenv_private.h: New file.
1275 * sysdeps/sparc/fpu/math_private.h: Use it.
1276 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1277 Remove.
1278 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1279 (libc_feholdexcept_setroundl): Remove.
1280 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1281 Remove.
1282 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1283 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1284
b4c35121
L
12852012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1286
1287 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1288 int64_t instead of long int.
1289 (INSERT_WORDS64): Likwise.
1290
56965fd7
L
12912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1292
1293 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1294 _Unwind_GetCFA return to _Unwind_Ptr first.
1295
83d1aec8
JM
12962012-03-19 Joseph Myers <joseph@codesourcery.com>
1297
1897ad44
JM
1298 [BZ #13629]
1299 * math/s_clog.c: Include <float.h>.
1300 (__clog): Scale large or subnormal inputs.
1301 * math/s_clogf.c: Likewise.
1302 * math/s_clogl.c: Likewise.
1303 * math/s_clog10.c: Include <float.h>.
1304 (M_LOG10_2): Define.
1305 (__clog10): Scale large or subnormal inputs.
1306 * math/s_clog10f.c: Likewise.
1307 * math/s_clog10l.c: Likewise.
1308 * math/libm-test.inc (clog_test): Add more tests.
1309 (clog10_test): Likewise.
1310 * sysdeps/i386/fpu/libm-test-ulps: Update.
1311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1312
7726d6a9
JM
1313 [BZ #11451]
1314 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1315 x and y.
1316 * math/libm-test.inc (atan2_test): Add another test.
1317
83d1aec8
JM
1318 * Makerules (common-objdir-compile): Remove.
1319 * sysdeps/unix/Makefile (config-generated): Do not add
1320 $(unix-generated) to variable.
1321 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1322 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1323 Remove rule.
1324 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1325 Likewise.
1326 [generic bits/local_lim.h] (before-compile): Do not append to
1327 variable.
1328 [generic bits/local_lim.h] (common-generated): Likewise.
1329 [generic sys/param.h] (before-compile): Do not append to variable.
1330 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1331 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1332 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1333 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1334 include.
1335 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1336 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1337 [generic sys/param.h] ($(addprefix
1338 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1339 [generic sys/param.h] (common-generated): Do not append to
1340 variable.
1341 [generic sys/param.h] (sysdep_headers): Likewise.
1342 [generic bits/errno.h] (before-compile): Do not append to
1343 variable.
1344 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1345 rule.
1346 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1347 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1348 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1349 [generic bits/errno.h] (common-generated): Do not append to
1350 variable.
1351 [generic bits/ioctls.h] (before-compile): Do not append to
1352 variable.
1353 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1354 rule.
1355 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1356 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1357 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1358 rule.
1359 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1360 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1361 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1362 [generic bits/ioctls.h] (common-generated): Do not append to
1363 variable.
1364 [generic sys/syscall.h] (syscall.h): Remove variable.
1365 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1366 rule.
1367 [generic sys/syscall.h] (before-compile): Do not append to
1368 variable.
1369 [generic sys/syscall.h] (common-generated): Likewise.
1370 * sysdeps/unix/errnos-tmpl.c: Remove file.
1371 * sysdeps/unix/errnos.awk: Likewise.
1372 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1373 * sysdeps/unix/ioctls.awk: Likewise.
1374 * sysdeps/unix/mk-local_lim.c: Likewise.
1375 * sysdeps/unix/snarf-ioctls: Likewise.
1376
4851a949
RH
13772012-03-19 Richard Henderson <rth@twiddle.net>
1378
bd37f2ee
RH
1379 * sysdeps/i386/fpu/fenv_private.h: New file.
1380 * sysdeps/i386/fpu/math_private.h: Use it.
1381 (math_opt_barrier, math_force_eval): Remove.
1382 (libc_feholdexcept_setround_53bit): Remove.
1383 (libc_feupdateenv_53bit): Remove.
1384 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1385 (math_opt_barrier, math_force_eval): Remove.
1386 (libc_feholdexcept): Remove.
1387 (libc_feholdexcept_setround): Remove.
1388 (libc_fetestexcept, libc_fesetenv): Remove.
1389 (libc_feupdateenv_test): Remove.
1390 (libc_feupdateenv, libc_feholdsetround): Remove.
1391 (libc_feresetround): Remove.
1392
d0adc922
RH
1393 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1394 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1395
0fe0f1f8
RH
1396 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1397 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1398 (libc_feupdateenv_testl): New.
1399 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1400 (libc_feupdateenv_testf): New.
1401 (libc_feupdateenv): Use libc_feupdateenv_test.
1402 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1403 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1404
eb92c487
RH
1405 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1406 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1407 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1408 (libc_feresetround_noex): New.
1409 (libc_feresetround_noexf): New.
1410 (libc_feresetround_noexl): New.
1411 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1412 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1413 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1414 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1415 SET_RESTORE_ROUND.
1416 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1417 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1418 (__cos): Likewise.
1419 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1420 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1421 SET_RESTORE_ROUND_NOEX.
1422 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1423 SET_RESTORE_ROUND_NOEXF.
1424 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1425 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1426 (libc_feholdsetroundf): New.
1427 (libc_feresetround, libc_feresetroundf): New.
1428
7d2e8012
RH
1429 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1430 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1431 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1432
b4dabbb4
RH
1433 * sysdeps/generic/math_private.h: Include <fenv.h>.
1434 (default_libc_feholdexcept): New.
1435 (default_libc_feholdexcept_setround): New.
1436 (default_libc_fesetenv, default_libc_feupdateenv): New.
1437 (libc_feholdexcept): Only define if undefined.
1438 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1439 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1440 (libc_feholdexcept_setroundl): Likewise.
1441 (libc_feholdexcept_setround_53bit): Likewise.
1442 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1443 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1444 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1445 (libc_feupdateenv_53bit): Likewise.
1446 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1447 (libc_feholdexcept): Convert from macro to inline function.
1448 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1449 (libc_fesetenv, libc_feupdateenv): Likewise.
1450
4851a949
RH
1451 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1452 not previously defined.
1453 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1454 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1455 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1456 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1457 * sysdeps/ieee754/flt-32/math_private.h: New file.
1458 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1459 math_private.h below SET_FLOAT_WORD.
1460 (__isnan, __isinf_ns, __finite): Remove.
1461 (__isnanf, __isinf_nsf, __finitef): Remove.
1462
e79d442e
AS
14632012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1464
1465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1466
90b80344
DM
14672012-03-17 David S. Miller <davem@davemloft.net>
1468
1469 [BZ #6471]
1470 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1471 for 2.16.
1472
edc21804
DM
14732012-03-16 David S. Miller <davem@davemloft.net>
1474
77e927af
DM
1475 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1476 warnings.
1477
374976dd
DM
1478 [BZ #6471]
1479 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1480 properly.
1481 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1482 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1483 sysdep_routines when subdir is sysvipc.
1484 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1485 __getshmlba helper.
1486
edc21804
DM
1487 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1488
473c3ef3
L
14892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1490
1491 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1492 [__LP64__].
1493
eb0f39b6
L
14942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1495
1496 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1497 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1498 (__lround): Renamed to ...
1499 (__llround): This. Replace long int with long long int.
1500 Define lround functions as aliases of llround functions.
1501 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1502
6b6cd74b
L
15032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1504
1505 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1506 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1507 adresses to uintptr_t. Replace "long int" and "unsigned long
1508 int" with "greg_t" on va_arg.
1509
f1a77b01
L
15102012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1511
1512 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1513 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1514
1515 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1516 Move e_machine check before EI_CLASS check. Handle x32
1517 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1518 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1519 SKIP_EM_IA_64 and include
1520 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1521
1522 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1523 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1524 (add_system_dir): New macro.
1525
1526 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1527 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1528
11b90b9f
JM
15292012-03-16 Joseph Myers <joseph@codesourcery.com>
1530
c36e1d23
JM
1531 [BZ #2551]
1532 [BZ #2552]
1533 [BZ #2553]
1534 [BZ #2554]
1535 [BZ #2562]
1536 [BZ #2563]
1537 [BZ #2565]
1538 [BZ #2566]
1539 [BZ #2576]
1540 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1541 (y0): Likewise.
1542 * math/w_j0f.c (j0f): Likewise.
1543 (y0f): Likewise.
1544 * math/w_j0l.c (__j0l): Likewise.
1545 (__y0l): Likewise.
1546 * math/w_j1.c (j1): Likewise.
1547 (y1): Likewise.
1548 * math/w_j1f.c (j1f): Likewise.
1549 (y1f): Likewise.
1550 * math/w_j1l.c (__j1l): Likewise.
1551 (__y1l): Likewise.
1552 * math/w_jn.c (jn): Likewise.
1553 (yn): Likewise.
1554 * math/w_jnf.c (jnf): Likewise.
1555 (ynf): Likewise.
1556 * math/w_jnl.c (__jnl): Likewise.
1557 (__ynl): Likewise.
1558 * math/libm-test.inc (j0_test): Add more tests.
1559 (j1_test): Likewise.
1560 (jn_test): Likewise. Add trailing semicolon to existing test.
1561 (y0_test): Likewise.
1562 (y1_test): Likewise.
1563 * sysdeps/i386/fpu/libm-test-ulps: Update.
1564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1565
11b90b9f
JM
1566 [BZ #13851]
1567 [BZ #13854]
1568 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1569 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1570 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1571 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1572 (__tanl): Set errno for infinite argument.
1573 * sysdeps/i386/fpu/mptan.c: Remove.
1574 * sysdeps/i386/fpu/s_tan.S: Likewise.
1575 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1576 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1577 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1578 * math/libm-test.inc (tan_test): Add more tests and enable more
1579 tests for double and long double.
1580 * sysdeps/i386/fpu/libm-test-ulps: Update.
1581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1582
6a1bd2a1
JK
15832012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1584
1585 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1586 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1587
10a803e0
RM
15882012-03-16 Roland McGrath <roland@hack.frob.com>
1589
1590 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1591 * configure.in: Use it for both main tree and add-ons.
1592 * configure: Regenerated.
1593
f196c7f7
L
15942012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1595
1596 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1597
8848d99d
JM
15982012-03-16 Joseph Myers <joseph@codesourcery.com>
1599
96cbe7f4
JM
1600 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1601 in comment.
1602
8848d99d
JM
1603 [BZ #13851]
1604 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1605 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1606 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1607 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1608 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1609 infinite argument.
1610 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1611 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1612 != 0 for prec == 2.
1613 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1614 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1615 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1616 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1617 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1618 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1619 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1620 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1621 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1622 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1623 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1624 * math/libm-test.inc (cos_test): Add more tests and enable more
1625 tests for long double.
1626 (sin_test): Likewise.
1627 (sincos_test): Likewise.
1628 * sysdeps/i386/fpu/libm-test-ulps: Update.
1629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1630
dd7f4703
DM
16312012-03-16 David S. Miller <davem@davemloft.net>
1632
1633 * sysdeps/sparc/fpu/math_private.h: New file.
1634
006f1daa
DM
16352012-03-15 David S. Miller <davem@davemloft.net>
1636
c0c83bc8
DM
1637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1638 file.
e6a62e18 1639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1641 file.
e6a62e18
DM
1642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1645 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1646 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1647 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1648 sysdep routines.
1649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1650
88cb87d9
DM
1651 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1652 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1653
006f1daa 1654 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1656 sparc-ifunc.h
006f1daa 1657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1659 Likewise.
1660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1661 Likewise.
006f1daa
DM
1662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1666 Likewise.
006f1daa
DM
1667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1672 Likewise.
1673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1674 Likewise.
006f1daa
DM
1675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1679 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1680 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1681 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1682 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1683 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1684 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1687 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1688 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1689 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1690 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1691 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1692 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1693 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1694 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1695 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1696 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1697 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1698 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1699
11e0098e
AS
17002012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1701
1702 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1703 scaling.
1704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1705
e85b09d0
AJ
17062012-03-15 Andreas Jaeger <aj@suse.de>
1707
1708 [BZ #13852]
1709 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1710 ieee754/flt-32 implementation for sin, cos and sincos.
1711 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1712 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1713 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1714 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1715 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1716 ieee754/flt-32 implementation for tan.
1717
1718 * math/libm-test.inc (cos_test): Enable some large input tests for
1719 float as well
1720 (sin_test): Likewise.
1721 (sincos_test): Likewise.
1722 (tan_test): Add tests for large input.
1723
1724 * sysdeps/i386/fpu/libm-test-ulps: Update.
1725
81c64153
AJ
17262012-03-15 Andreas Jaeger <aj@suse.de>
1727
1728 [BZ #13658]
1729 * math/libm-test.inc (cos_test): Add more test cases.
1730 (sin_test): Likewise.
1731 (sincos_test): Likewise.
1732
7bbfa5c6
AJ
17332012-03-15 Andreas Jaeger <aj@suse.de>
1734
1735 [BZ #13837]
1736 * math/libm-test.inc (cos_test): Add a test case for large input
1737 value.
1738 (sin_test): Likewise.
1739 (sincos_test): Likewise.
1740
17412012-03-15 Andreas Jaeger <aj@suse.de>,
1742 Joseph Myers <joseph@codesourcery.com>
1743
1744 [BZ #13658]
0671f479 1745 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1746 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1747 * sysdeps/i386/fpu/branred.c: Likewise.
1748 * sysdeps/i386/fpu/dosincos.c: Likewise.
1749 * sysdeps/i386/fpu/mpa.c: Likewise.
1750 * sysdeps/i386/fpu/s_cos.S: Likewise.
1751 * sysdeps/i386/fpu/s_sin.S: Likewise.
1752 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1753 * sysdeps/i386/fpu/sincos32.c: Likewise.
1754
1755 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1756 Define.
1757 (libc_feupdateenv_53bit): Define.
1758 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1759 Define.
1760 (libc_feupdateenv_53bit): Define.
1761
1762 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1763 53 bit (without extend i386 double precision).
1764
1765 * math/libm-test.inc (sincos_test): Add tests for large input.
1766 (sin): Likewise.
1767 (cos): Likewise.
1768
1769 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1770
9cad04ea
AS
17712012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1772
1773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1774
f7062b9a
DM
17752012-03-15 David S. Miller <davem@davemloft.net>
1776
1777 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1778 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1779 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1780 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1783 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1784 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1785 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1786 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1790 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1791 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1793 file.
f7062b9a 1794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1796 file.
f7062b9a 1797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1799 file.
f7062b9a 1800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1802 file.
f7062b9a
DM
1803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1804 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1805 fmin/fmax sysdep routines.
1806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1807
7bd951ff
DM
18082012-03-14 David S. Miller <davem@davemloft.net>
1809
559398ab
DM
1810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1811 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1812 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1813 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1814 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1815 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1816 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1817 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1819 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1820 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1821 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1822 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1823 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1824 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1825 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1826 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1827 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1828 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1829 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1830 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1831 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1832 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1833 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1834 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1835 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1836 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1837 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1838 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1839 routines.
1840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1841 file.
559398ab 1842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1844 file.
559398ab 1845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1847 file.
559398ab 1848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1850 file.
559398ab 1851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1853 file.
559398ab 1854 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1856 file.
1857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1858 file.
1859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1860 file.
1861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1862 file.
1863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1864 New file.
1865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1866 file.
1867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1868 file.
559398ab 1869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1871 file.
559398ab 1872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1874 file.
559398ab 1875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1877 file.
559398ab 1878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1880 VIS3 routines.
559398ab
DM
1881
1882 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1883 New file.
1884
5a1c1e32
DM
1885 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1886
eae47a36
DM
1887 * sysdeps/sparc/configure.in: New file.
1888 * sysdeps/sparc/configure: Generate.
1889 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1890 * configure: Regenerate.
1891 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1892 * config.make.in (have-as-vis3): New.
1893 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1894 available use -Av9d instead of -Av9a.
1895 * sysdeps/sparc/sparc64/Makefile: Likewise.
1896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1898 New file.
1899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1900 file.
1901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1902 New file.
1903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1904 file.
eae47a36
DM
1905 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1906 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1907 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1908 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1909 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1910
c0c83bc8
DM
1911 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1912 fzeros/fnegs to load 0x80000000 into a float register instead of
1913 using the stack.
7bd951ff
DM
1914 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1915
bd951ccb
JM
19162012-03-14 Joseph Myers <joseph@codesourcery.com>
1917
1918 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1919 bits/syscall.h.
1920 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1921 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1922 ($(inst_includedir)/bits/syscall.h): Remove rule.
1923 ($(objpfx)bits/syscall.d): Include instead of
1924 $(objpfx)syscall-list.d.
1925 (generated): Change syscall-list.h and syscall-list.d to
1926 bits/syscall.h and bits/syscall.d.
1927
bb4e6db2
RM
19282012-03-14 Roland McGrath <roland@hack.frob.com>
1929
1930 [BZ #13846]
1931 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1932
aa4a2ae1
JM
19332012-03-14 Joseph Myers <joseph@codesourcery.com>
1934
e456826d
JM
1935 [BZ #13841]
1936 * math/s_csqrt.c: Include <float.h>.
1937 (__csqrt): Scale large or subnormal inputs.
1938 * math/s_csqrtf.c: Likewise.
1939 * math/s_csqrtl.c: Likewise.
1940 * math/libm-test.inc (csqrt_test): Add more tests.
1941 * sysdeps/i386/fpu/libm-test-ulps: Update.
1942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1943
aa4a2ae1
JM
1944 [BZ #13840]
1945 * math/libm-test.inc (hypot_test): Add more tests.
1946
7c10fd35
DM
19472012-03-13 David S. Miller <davem@davemloft.net>
1948
1949 [BZ #13840]
1950 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1951 double-precision for the calculation instead of scaling.
1952
f453b98b
JM
19532012-03-13 Joseph Myers <joseph@codesourcery.com>
1954
1955 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1956 manipulate bits before adding and subtracting TWO52[sx].
1957 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1958 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1959 Likewise.
1960 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1961
09a3453f
DM
19622012-03-13 David S. Miller <davem@davemloft.net>
1963
8e59da90
DM
1964 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1965 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1966 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1967 rtld-global-offsets.h
1968 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1969
2a8ab7f2
DM
1970 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1971 large parameters.
1972
10f62770
DM
1973 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1974
5f0bdb18
DM
1975 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1976 'err' in the ifdef scope in which it is actually used.
1977
09a3453f
DM
1978 * nss/nss_db/db-init.c: Include string.h
1979
b4b2eb5e
DM
19802012-03-12 David S. Miller <davem@davemloft.net>
1981
98bb2f1c
DM
1982 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1983 masking out of the most significant byte of random value used.
1984 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1985 Fix coding style in previous change.
1986
b4b2eb5e
DM
1987 * sysdeps/unix/sysv/linux/kernel-features.h
1988 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1989 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1990 expression.
1991 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1992 later.
1993
6e226b09
DM
19942012-03-11 David S. Miller <davem@davemloft.net>
1995
a1bcbd40
DM
1996 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1997 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1998 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1999 for 'resultvar' otherwise things get truncated on 64-bit.
2000
cb9d6174
DM
2001 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
2002 Fix masking out of the most significant byte of random value used.
2003
6e226b09
DM
2004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2005
058c132d
AS
20062012-03-10 Andreas Schwab <schwab@linux-m68k.org>
2007
2008 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2009
2d2cd515
DM
20102012-03-09 David S. Miller <davem@davemloft.net>
2011
2012 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
2013 variables with appropriate CPP guards.
2014 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
2015 frame pointer, not the stack pointer. Correct layout comments. Fix test
2016 on resulting framesize and the management of the outregs buffer for pltexit.
2017 Preserve floating point return values across _dl_call_pltexit call.
2018 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
2019 framesize and the management of the outregs buffer for pltexit.
2020 Preserve floating point return values across _dl_call_pltexit
2021 call.
2022 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
2023 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
2024 (print_exit): Fix format string for return register value.
2025
9a07f9d0
JM
20262012-03-10 Joseph Myers <joseph@codesourcery.com>
2027
2028 * sunrpc/Makefile (others): Add rpcgen.
2029 ($(objpfx)rpcgen): Remove special build rule and dependency on
2030 libc.
2031 * sunrpc/rpcgen.c: New file.
2032
547b5e30
PE
20332012-03-09 Paul Eggert <eggert@cs.ucla.edu>
2034
c524201a
PE
2035 [BZ #13673]
2036 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
2037 * stdio-common/bug-vfprintf-nargs.c: Likewise.
2038 * sysdeps/i386/crti.S: Likewise.
2039 * sysdeps/i386/crtn.S: Likewise.
2040 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
2041 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
2042 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
2043 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
2044 * sysdeps/sh/crti.S: Likewise.
2045 * sysdeps/sh/crtn.S: Likewise.
2046 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
2047
7b6235f2
PE
2048 [BZ #13673]
2049 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
2050 with URL.
2051 * locale/programs/locfile-kw.gperf: Likewise.
2052 * locale/programs/charmap-kw.h: Regenerated.
2053 * locale/programs/locfile-kw.h: Likewise.
2054
547b5e30
PE
2055 [BZ #13673]
2056 * intl/plural.y: Replace FSF snail mail address with URL.
2057 * intl/plural.c: Regenerated.
2058
5f0a5dae
RH
20592012-03-09 Richard Henderson <rth@twiddle.net>
2060
2061 * include/math_private.h: Remove file.
2062 * math/math_private.h: Move file ...
2063 * sysdeps/generic/math_private.h: ... here.
2064
b8c03620
RH
2065 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2066 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2067 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2068
4e234f5d 2069 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
2070 and <math_private.h>.
2071 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2072 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2073 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2074 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2075 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2076 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2077 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2078 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2079 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2080 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2081 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2082 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2083 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2084 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2085 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2086 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2087 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2088 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2089 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2090 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2091 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2092 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2093 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2094 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2095 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2096 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2097 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2098 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2099 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2100 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2101 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2102 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2103 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2104 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2105 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2106 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2107 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2108 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2109 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2110 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2111 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2112 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2113 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2114 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2115 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2116 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2117 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2118 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2119 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2120 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2121 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2122 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2123 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2124 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2125 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2126 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2127 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2128 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2129 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2130 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2131 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2132 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2133 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2134 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2135 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2136 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2137 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2138 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2139 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2140 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2141 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2142 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2143 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2144 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2145 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2146 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2147 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2148 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2149 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2150 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2151 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2152 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2153 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2154 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2155 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2156 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2157 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2158 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2159 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2160 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2161 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2162 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2163 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2164 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2165 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2166 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2167 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2168 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2169 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2170 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2171 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2172 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2173 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2174 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2175 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2176 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2177 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2178 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2179 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2180 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2181 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2182 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2183 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2184 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2185 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2186 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2187 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2188 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2189 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2190 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2191 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2192 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2193 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2194 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2195 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2196 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2197 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2198 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2199 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2200 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2201 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2202 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2203 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2204 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2205 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2206 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2207 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2208 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2209 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2210 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2211 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2212 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2213 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2214 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2215 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2216 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2217 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2218 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2219 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2220 * sysdeps/ieee754/k_standard.c: Likewise.
2221 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2222 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2223 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2224 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2225 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2226 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2227 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2228 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2229 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2230 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2231 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2232 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2233 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2234 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2235 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2236 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2237 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2238 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2239 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2240 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2241 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2242 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2243 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2244 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2245 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2246 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2247 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2248 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2249 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2250 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2251 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2252 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2253 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2254 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2255 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2256 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2257 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2258 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2259 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2260 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2261 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2262 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2263 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2264 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2265 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2266 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2267 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2268 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2269 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2270 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2271 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2272 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2273 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2274 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2275 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2276 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2277 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2278 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2279 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2280 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2281 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2282 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2283 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2284 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2285 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2286 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2287 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2288 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2289 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2290 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2291 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2292 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2293 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2294 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2295 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2296 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2297 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2298 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2299 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2300 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2301 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2302 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2303 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2304 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2305 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2306 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2307 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2308 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2309 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2310 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2311 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2312 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2313 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2314 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2315 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2316 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2317 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2318 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2319 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2320 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2321 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2322 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2323 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2324 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2325 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2326 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2327 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2328 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2329 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2330 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2331 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2332 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2333 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2334 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2335 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2336 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2337 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2338 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2339 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2340 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2341 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2342 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2343 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2344 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2345 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2346 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2347 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2348 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2349 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2350 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2351 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2352 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2353 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2354 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2355 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2356 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2357 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2358 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2359 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2360 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2361 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2362 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2363 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2364 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2365 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2366 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2367 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2368 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2369 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2370 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2371 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2372 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2373 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2374 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2375 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2376 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2377 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2378 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2379 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2380 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2381 * sysdeps/ieee754/s_lib_version.c: Likewise.
2382 * sysdeps/ieee754/s_matherr.c: Likewise.
2383 * sysdeps/ieee754/s_signgam.c: Likewise.
2384 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2385 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2386 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2387 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2388 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2389 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2390 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2391 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2392 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2393 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2394 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2395 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2396 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2397 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2398 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2399 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2400 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2401 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2402 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2403 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2404 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 2405
1991fa03
JM
24062012-03-09 Joseph Myers <joseph@codesourcery.com>
2407
2408 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2409 * sunrpc/rpc_main.c: Likewise.
2410 * sunrpc/rpc_svcout.c: Likewise.
2411
60d6f5a6
DM
24122012-03-09 David S. Miller <davem@davemloft.net>
2413
2414 * include/math_private.h: New file.
2415
4962050e
JM
24162012-03-09 Joseph Myers <joseph@codesourcery.com>
2417
02a6f887
JM
2418 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2419 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2420 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2421 from <bits/socket_type.h>.
2422 (enum __socket_type): Don't define here.
2423 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2424 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2425 bits/socket_type.h.
2426
c6e013c1
JM
2427 [BZ #13566]
2428 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2429 checking __USE_GNU.
2430
4962050e
JM
2431 * Makerules ($(inst_includedir)/%.h): New rule.
2432 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2433 (install-others): Remove variable setting.
2434 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2435
38842f45
RH
24362012-03-08 Richard Henderson <rth@twiddle.net>
2437
67bb6da6
RH
2438 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2439 from macro to inline function; merge with the
2440 !__LIBC_INTERNAL_MATH_INLINES version.
2441 (__ieee754_sqrtf): Likewise.
2442
15194b4b
RH
2443 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2444 to inline function.
2445 (__rintf, __floor, __floorf): Likewise.
2446
64e21ede
RH
2447 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2448 macro to inline function.
2449 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2450
38842f45
RH
2451 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2452 not <math/math_private.h>.
2453
c64bf5fe
DM
24542012-03-08 David S. Miller <davem@davemloft.net>
2455
2456 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2457 copyright year.
2458 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2459
82d86f28
TS
24602012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2461
2462 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2463 normalization.
2464 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2465 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2466
aea5d727
UD
24672012-03-08 Ulrich Drepper <drepper@gmail.com>
2468
2469 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2470 be defined individually, they must be defined as a block. Define
2471 S for printing a string instead of hidint the different by using a
2472 macro for adding the 'l'.
2473 * stdio-common/tst-fphex-wide.c: Adjust.
2474
70bca0a3
MP
24752012-03-07 Marek Polacek <polacek@redhat.com>
2476
2477 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2478
65b81130
MP
24792012-03-08 Marek Polacek <polacek@redhat.com>
2480
2481 [BZ #13806]
2482 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2483 * stdio-common/tst-fphex.c: Define a few macros to make the
2484 test reusable. Use them.
2485 * stdio-common/tst-fphex-wide.c: New file.
2486
07037eeb
JM
24872012-03-08 Joseph Myers <joseph@codesourcery.com>
2488
a7a93d50
JM
2489 [BZ #6911]
2490 * manual/macros.texi (gnusystems): New macro.
2491 (nongnusystems): Likewise.
2492 (gnulinuxhurdsystems): Likewise.
2493 (gnuhurdsystems): Likewise..
2494 (gnulinuxsystems): Likewise.
2495 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2496 variants of the GNU system, not "GNU system".
2497 * manual/conf.texi: Likewise.
2498 * manual/errno.texi: Likewise. Update example of errno macro
2499 expansion.
2500 * manual/filesys.texi: Likewise.
2501 (getumask): Document as specific to GNU/Hurd.
2502 * manual/install.texi: Likewise. Reword some references to
2503 GNU/Linux.
2504 * manual/intro.texi: Likewise.
2505 * manual/io.texi: Likewise.
2506 (File Name Portability): Detail which constraints are inapplicable
2507 to all GNU systems and which are only inapplicable to GNU/Hurd.
2508 * manual/job.texi: Likewise.
2509 * manual/llio.texi: Likewise.
2510 (O_NOCTTY): Document as present on GNU/Linux.
2511 * manual/maint.texi: Likewise.
2512 * manual/memory.texi: Likewise.
2513 * manual/pattern.texi: Likewise.
2514 * manual/pipe.texi: Likewise.
2515 * manual/process.texi: Likewise.
2516 * manual/resource.texi: Likewise.
2517 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2518 child on GNU/Hurd.
2519 * manual/setjmp.texi: Likewise.
2520 * manual/signal.texi: Likewise.
2521 * manual/startup.texi: Likewise.
2522 * manual/stdio.texi: Likewise.
2523 * manual/terminal.texi: Likewise.
2524 (ONLCR): Document as POSIX.
2525 (OXTABS): Document availability on GNU/Linux as XTABS.
2526 (ONOEOT): Document availability separately from other bits.
2527 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2528 * manual/time.texi: Likewise.
2529 * manual/users.texi: Likewise.
2530 * INSTALL: Regenerated.
2531 * sysdeps/gnu/errlist.c: Regenerated.
2532
07037eeb
JM
2533 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2534 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2535 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2536 puts.
2537 * configure: Regenerated.
2538
d1d3431a
JM
25392012-03-07 Joseph Myers <joseph@codesourcery.com>
2540
af6a1e37
JM
2541 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2542 default includes instead of AC_HEADER_CHECK.
2543 * sysdeps/i386/configure: Regenerated.
2544
d1d3431a
JM
2545 [BZ #10716]
2546 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2547 * math/s_cacoshf.c (__cacoshf): Likewise.
2548 * math/s_cacoshl.c (__cacoshl): Likewise.
2549 * math/s_casinh.c (__casinh): Set signs of result from argument.
2550 * math/s_casinhf.c (__casinhf): Likewise.
2551 * math/s_casinhl.c (__casinhl): Likewise.
2552 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2553 (casinh_test): Add more tests.
2554 * sysdeps/i386/fpu/libm-test-ulps: Update.
2555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2556
482ff4da
UD
25572012-03-07 Ulrich Drepper <drepper@gmail.com>
2558
872fda05
UD
2559 * po/zh_TW.po: Update from translation team.
2560
a4300c7a
UD
2561 * login/Makefile (distribute): Remove variable.
2562 * catgets/Makefile: Likewise.
2563 * mach/Makefile: Likewise.
2564 * malloc/Makefile: Likewise.
2565 * misc/Makefile: Likewise.
2566 * iconv/Makefile: Likewise.
2567 * nscd/Makefile: Likewise.
2568 * hurd/Makefile: Likewise.
2569 * manual/Makefile: Likewise.
2570 * locale/Makefile: Likewise.
2571 * intl/Makefile: Likewise.
2572 * conform/Makefile: Likewise.
2573 * nss/Makefile: Likewise.
2574 * time/Makefile: Likewise.
2575 * soft-fp/Makefile: Likewise.
2576 * dirent/Makefile: Likewise.
2577 * gmon/Makefile: Likewise.
2578 * po/Makefile: Likewise.
2579 * rt/Makefile: Likewise.
2580 * socket/Makefile: Likewise.
2581 * math/Makefile: Likewise.
2582 * signal/Makefile: Likewise.
2583 * debug/Makefile: Likewise.
2584 * elf/Makefile: Likewise.
2585 * timezone/Makefile: Likewise.
2586 * stdlib/Makefile: Likewise.
2587 * iconvdata/Makefile: Likewise.
2588 * sunrpc/Makefile: Likewise.
2589 * io/Makefile: Likewise.
2590 * argp/Makefile: Likewise.
2591 * inet/Makefile: Likewise.
2592 * hesiod/Makefile: Likewise.
2593 * grp/Makefile: Likewise.
2594 * csu/Makefile: Likewise.
2595 * wctype/Makefile: Likewise.
2596 * crypt/Makefile: Likewise.
2597 * libio/Makefile: Likewise.
2598 * string/Makefile: Likewise.
2599 * nis/Makefile: Likewise.
2600 * resolv/Makefile: Likewise.
2601 * stdio-common/Makefile: Likewise.
2602 * wcsmbs/Makefile: Likewise.
2603 * dlfcn/Makefile: Likewise.
2604 * posix/Makefile: Likewise.
2605
482ff4da
UD
2606 * timezone/Makefile: Don't install timezone files, just the programs
2607 and scripts.
2608
f72ed77d
UD
26092012-03-06 Ulrich Drepper <drepper@gmail.com>
2610
a000466f
UD
2611 * nss/databases.def: Add missing gshadow entry.
2612
f72ed77d
UD
2613 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2614
a53b7a4e
MP
26152012-03-06 Marek Polacek <polacek@redhat.com>
2616
2617 [BZ #13726]
2618 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2619 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2620 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2621 * stdio-common/tst-long-dbl-fphex.c: New file.
2622
e9258400
DM
26232012-03-06 David S. Miller <davem@davemloft.net>
2624
2625 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2626 (set_obp_int): New function.
2627 (get_obp_int): New function.
2628 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2629 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2630 Avoid unused variable warnings on 'val' and use builtin_expect.
2631 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2632 __builtin_expect.
e9258400
DM
2633 (INLINE_CLONE_SYSCALL): Likewise.
2634
3bd2c723
DM
26352012-03-05 David S. Miller <davem@davemloft.net>
2636
2637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2638
bbb78d03
AS
26392012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2640
884c5db4
AS
2641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2642
bbb78d03
AS
2643 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2644 only for |x| >= 40.
2645 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2646
1c9f702a 26472012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2648
2649 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2650 Replace gettimeofday with __vdso_gettimeofday.
2651
7be16f82
RM
2652 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2653 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2654 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2655
2656 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2657 time with __vdso_time.
2658
ed58a00f
JM
26592012-03-05 Joseph Myers <joseph@codesourcery.com>
2660
2661 * manual/lang.texi (size_t): Note types to which size_t may be
2662 equivalent with the GNU C Library, but do not describe when
2663 differences between them are significant.
2664
30ee4ced
AJ
26652012-03-05 Andreas Jaeger <aj@suse.de>
2666
2667 * sysdeps/i386/fpu/libm-test-ulps: Update.
2668
b7cd39e8
JM
26692012-03-05 Joseph Myers <joseph@codesourcery.com>
2670
2671 [BZ #3976]
2672 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2673 (__ieee754_pow): Save and restore rounding mode and use
2674 round-to-nearest for main computations.
2675 * math/libm-test.inc (pow_test_tonearest): New function.
2676 (pow_test_towardzero): Likewise.
2677 (pow_test_downward): Likewise.
2678 (pow_test_upward): Likewise.
2679 (main): Call the new functions.
2680 * sysdeps/i386/fpu/libm-test-ulps: Update.
2681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2682
2683 [BZ #3976]
2684 * math/libm-test.inc (cosh_test_tonearest): New function.
2685 (cosh_test_towardzero): Likewise.
2686 (cosh_test_downward): Likewise.
2687 (cosh_test_upward): Likewise.
2688 (sinh_test_tonearest): Likewise.
2689 (sinh_test_towardzero): Likewise.
2690 (sinh_test_downward): Likewise.
2691 (sinh_test_upward): Likewise.
2692 (main): Call the new functions.
2693 * sysdeps/i386/fpu/libm-test-ulps: Update.
2694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2695
6c6a98c9
TV
26962012-03-05 Tom de Vries <tom@codesourcery.com>
2697
2698 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2699 default stack guard is set in last bytes.
2700 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2701
21bb2d2e 27022012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2703
21bb2d2e 2704 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2705
21bb2d2e
AJ
2706 [BZ #13656]
2707 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2708 possibly allocate from heap instead of stack.
2709 * stdio-common/bug-vfprintf-nargs.c: New file.
2710 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2711
c6922934
AS
27122012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2713
2714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2715
bc957d53
MP
27162012-03-03 Marek Polacek <polacek@redhat.com>
2717
2718 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2719 * math/math_private.h: Likewise.
2720 * stdlib/tst-strtod.c: Likewise.
2721 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2722 * sysdeps/x86_64/bits/atomic.h: Likewise.
2723
6358490d
DM
27242012-03-02 David S. Miller <davem@davemloft.net>
2725
2726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2730 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2731 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2732 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2733 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2734
01ae168d
RM
27352012-03-02 Roland McGrath <roland@hack.frob.com>
2736
d9a17c07
RM
2737 [BZ #13792]
2738 * manual/examples/README: New file, says the example source files
2739 can be used under GPL>=2.
2740 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2741 line containing just "*/".
2742 * manual/examples/add.c: Add copyright header (GPL>=2).
2743 * manual/examples/argp-ex1.c: Likewise.
2744 * manual/examples/argp-ex2.c: Likewise.
2745 * manual/examples/argp-ex3.c: Likewise.
2746 * manual/examples/argp-ex4.c: Likewise.
2747 * manual/examples/atexit.c: Likewise.
2748 * manual/examples/db.c: Likewise.
2749 * manual/examples/dir.c: Likewise.
2750 * manual/examples/dir2.c: Likewise.
2751 * manual/examples/execinfo.c: Likewise.
2752 * manual/examples/filecli.c: Likewise.
2753 * manual/examples/filesrv.c: Likewise.
2754 * manual/examples/fmtmsgexpl.c: Likewise.
2755 * manual/examples/genpass.c: Likewise.
2756 * manual/examples/inetcli.c: Likewise.
2757 * manual/examples/inetsrv.c: Likewise.
2758 * manual/examples/isockad.c: Likewise.
2759 * manual/examples/longopt.c: Likewise.
2760 * manual/examples/memopen.c: Likewise.
2761 * manual/examples/memstrm.c: Likewise.
2762 * manual/examples/mkfsock.c: Likewise.
2763 * manual/examples/mkisock.c: Likewise.
2764 * manual/examples/mygetpass.c: Likewise.
2765 * manual/examples/pipe.c: Likewise.
2766 * manual/examples/popen.c: Likewise.
2767 * manual/examples/rprintf.c: Likewise.
2768 * manual/examples/search.c: Likewise.
2769 * manual/examples/select.c: Likewise.
2770 * manual/examples/setjmp.c: Likewise.
2771 * manual/examples/sigh1.c: Likewise.
2772 * manual/examples/sigusr.c: Likewise.
2773 * manual/examples/stpcpy.c: Likewise.
2774 * manual/examples/strdupa.c: Likewise.
2775 * manual/examples/strftim.c: Likewise.
2776 * manual/examples/strncat.c: Likewise.
2777 * manual/examples/subopt.c: Likewise.
2778 * manual/examples/swapcontext.c: Likewise.
2779 * manual/examples/termios.c: Likewise.
2780 * manual/examples/testopt.c: Likewise.
2781 * manual/examples/testpass.c: Likewise.
2782 * manual/examples/timeval_subtract.c: Likewise.
2783
01ae168d
RM
2784 [BZ #13792]
2785 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2786 function to ...
2787 * manual/timeval_subtract.c.texi: ... here, new file.
2788
49efa33d
DM
27892012-03-02 David S. Miller <davem@davemloft.net>
2790
2791 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2792
28afd92d
JM
27932012-03-02 Joseph Myers <joseph@codesourcery.com>
2794
804360ed
JM
2795 [BZ #3976]
2796 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2797 (__sin): Save and restore rounding mode and use round-to-nearest
2798 for all computations.
2799 (__cos): Save and restore rounding mode and use round-to-nearest
2800 for all computations.
2801 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2802 <fenv.h>.
2803 (tan): Save and restore rounding mode and use round-to-nearest for
2804 all computations.
2805 * math/libm-test.inc (cos_test_tonearest): New function.
2806 (cos_test_towardzero): Likewise.
2807 (cos_test_downward): Likewise.
2808 (cos_test_upward): Likewise.
2809 (sin_test_tonearest): Likewise.
2810 (sin_test_towardzero): Likewise.
2811 (sin_test_downward): Likewise.
2812 (sin_test_upward): Likewise.
2813 (tan_test_tonearest): Likewise.
2814 (tan_test_towardzero): Likewise.
2815 (tan_test_downward): Likewise.
2816 (tan_test_upward): Likewise.
2817 (main): Call the new functions.
2818 * sysdeps/i386/fpu/libm-test-ulps: Update.
2819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2820
a6d06d7b
JM
2821 [BZ #10135]
2822 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2823 small n, then large n, before computing and testing k+n.
2824 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2825 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2826 Likewise.
2827 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2828 Likewise.
2829 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2830 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2831 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2832 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2833 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2834 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2835 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2836 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2837 * math/libm-test.inc (scalbn_test): Add more tests.
2838 (scalbln_test): Likewise.
2839
07e12bb3
JM
2840 * manual/filesys.texi (mode_t): Describe constraints on size and
2841 signedness, not exact equivalence to a particular type.
2842 (ino_t): Likewise.
2843 (ino64_t): Likewise.
2844 (dev_t): Likewise.
2845 (nlink_t): Likewise.
2846 (blkcnt_t): Likewise.
2847 (blkcnt64_t): Likewise.
2848 * manual/llio.texi (off_t): Likewise.
2849
28afd92d
JM
2850 [BZ #3976]
2851 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2852 (__ieee754_exp): Save and restore rounding mode and use
2853 round-to-nearest for all computations.
2854 * math/libm-test.inc (exp_test_tonearest): New function.
2855 (exp_test_towardzero): Likewise.
2856 (exp_test_downward): Likewise.
2857 (exp_test_upward): Likewise.
2858 (main): Call the new functions.
2859 * sysdeps/i386/fpu/libm-test-ulps: Update.
2860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2861
b1eeb65d
CD
28622012-03-01 Chris Demetriou <cgd@google.com>
2863
2864 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2865 have predictable order.
2866
53362a4b
DM
28672012-03-01 David S. Miller <davem@davemloft.net>
2868
3c969083
DM
2869 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2870
759707de
DM
2871 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2872 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2873 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2874 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2875
dfdb8ff2
DM
2876 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2877 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2878 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2880 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2881 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2882 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2883 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2884 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2885
ead89f96
DM
2886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2887
7f66bd07
DM
2888 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2889 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2890 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2891
53362a4b
DM
2892 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2893 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2894 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2895 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2896 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2897 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2898 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2899 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2900 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2901 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2902 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2903 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2904 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2905 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2906 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2907 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2908 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2909 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2910 * sysdeps/sparc/elf/configure: Regenerated.
2911
7b1902cb
JM
29122012-03-01 Joseph Myers <joseph@codesourcery.com>
2913
bec039bc
JM
2914 * configure.in (AS, LD): Require binutils 2.20 or later.
2915 * configure: Regenerated.
2916 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2917 as required minimum version.
2918 * INSTALL: Regenerated.
2919
7b1902cb
JM
2920 [BZ #2541]
2921 [BZ #4108]
2922 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2923 before squaring exponent.
2924 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2925 bottom long double and 27 bits of top long double before squaring
2926 exponent.
2927 * math/libm-test.inc (erfc_test): Add more tests.
2928 * sysdeps/i386/fpu/libm-test-ulps: Update.
2929 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2930 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2931
f775c276
KT
29322012-03-01 Kai Tietz <ktietz@redhat.com>
2933
2934 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2935 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2936 containing bit-fields.
2937 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2938 * soft-fp/single.h (_FP_UNION_S): Likewise.
2939 * soft-fp/double.h (_FP_UNION_D): Likewise.
2940
5b8a4d4a
JM
29412012-02-29 Joseph Myers <joseph@codesourcery.com>
2942
0bab47b6
JM
2943 [BZ #13786]
2944 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2945 not include ../strcmp.S.
2946 [USE_AS_STRNCASECMP_L]: Likewise.
2947 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2948 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2949 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2950 (__strncasecmp_l_ia32): Define as alias to
2951 __strncasecmp_l_nonascii.
2952
0fcad3e2
JM
2953 [BZ #5794]
2954 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2955 * sysdeps/i386/fpu/libm-test-ulps: Update.
2956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2957
5b8a4d4a
JM
2958 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2960
8fdceb2e
JL
29612012-02-29 Jeff Law <law@redhat.com>
2962
2963 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2964 out of bounds read.
2965
1f393a11
MP
29662012-02-29 Marek Polacek <polacek@redhat.com>
2967
2968 [BZ #13706]
2969 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2970 * elf/Makefile: Add rules to run tst-unused-dep.out.
2971
8847f037
DM
29722012-02-28 David S. Miller <davem@davemloft.net>
2973
2974 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2975 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2976 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2977 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2978 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2979 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2980
169d7f11
JM
29812012-02-29 Joseph Myers <joseph@codesourcery.com>
2982
2983 * math/libm-test.inc (llround_test): Move one test from
2984 lround_test. Use TEST_f_L in moved test.
2985 (lround_test): Move misplaced test to llround_test. Add testcase
2986 from bug 2561.
2987
39adf059
UD
29882012-02-28 Ulrich Drepper <drepper@gmail.com>
2989
2990 * sysdeps/x86_64/fpu/e_expf.S: New file.
2991 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2992
71b5d1c5
SB
29932012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2994
2995 [BZ #13637]
2996 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2997 of remain_len that may cause incomplete multi-byte character and
2998 false match.
2999 * posix/bug-regex33.c: New file.
3000 * posix/Makefile (tests): Add bug-regex33.
3001
1f77f049
JM
30022012-02-28 Joseph Myers <joseph@codesourcery.com>
3003
3004 * manual/macros.texi: New file.
3005 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
3006 * manual/libc.texinfo: Include macros.texi.
3007 * manual/creatute.texi: Likewise.
3008 * manual/install.texi: Likewise.
3009 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
3010 @glibcadj{} in references to the GNU C Library.
3011 * manual/charset.texi: Likewise.
3012 * manual/conf.texi: Likewise.
3013 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
3014 when not using those macros.
3015 * manual/creature.texi: Likewise.
3016 * manual/crypt.texi: Likewise.
3017 * manual/errno.texi: Likewise.
3018 * manual/filesys.texi: Likewise.
3019 * manual/header.texi: Likewise.
3020 * manual/install.texi: Likewise.
3021 * manual/intro.texi: Likewise.
3022 * manual/io.texi: Likewise.
3023 * manual/job.texi: Likewise.
3024 * manual/lang.texi: Likewise.
3025 * manual/libc.texiinfo: Likewise.
3026 * manual/llio.texi: Likewise.
3027 * manual/locale.texi: Likewise.
3028 * manual/maint.texi: Likewise.
3029 * manual/math.texi: Likewise.
3030 * manual/memory.texi: Likewise.
3031 * manual/message.texi: Likewise.
3032 * manual/nss.texi: Likewise.
3033 * manual/pattern.texi: Likewise.
3034 * manual/process.texi: Likewise.
3035 * manual/resource.texi: Likewise.
3036 * manual/search.texi: Likewise.
3037 * manual/setjmp.texi: Likewise.
3038 * manual/signal.texi: Likewise.
3039 * manual/socket.texi: Likewise.
3040 * manual/startup.texi: Likewise.
3041 * manual/stdio.texi: Likewise.
3042 * manual/string.texi: Likewise.
3043 * manual/sysinfo.texi: Likewise.
3044 * manual/syslog.texi: Likewise.
3045 * manual/terminal.texi: Likewise.
3046 * manual/time.texi: Likewise.
3047 * manual/users.texi: Likewise.
3048 * INSTALL: Regenerated.
3049 * NOTES: Regenerated.
d40c5d54 3050 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 3051
450bf206
AS
30522012-02-28 Andreas Schwab <schwab@linux-m68k.org>
3053
3054 * include/dirent.h: Include <dirstream.h> before
3055 <dirent/dirent.h>.
3056
741a235b
DM
30572012-02-28 David S. Miller <davem@davemloft.net>
3058
3059 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
3060 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
3061 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
3062 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
3063
d6b5aa58
DM
30642012-02-27 David S. Miller <davem@davemloft.net>
3065
1aff59a3
DM
3066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3068 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3069 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3070
d6b5aa58
DM
3071 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3072 frame pointer instead of stack pointer relative arg slot.
3073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3074 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3075 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3076
433f48bf
CD
30772012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3078
3079 [BZ #3992]
3080 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3081
d674b76d
DM
30822012-02-27 David S. Miller <davem@davemloft.net>
3083
3084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3088 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3089 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3090 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3091 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3092
0e7727f7
JM
30932012-02-27 Joseph Myers <joseph@codesourcery.com>
3094
3095 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3096 later. Allow versions 5-9.
43be4ca2 3097 * configure: Regenerated.
0e7727f7
JM
3098 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3099 required minimum version and 4.6 as recommended version. Do not
3100 mention bugs in GCC 2.7 and 2.8.
43be4ca2 3101 * INSTALL: Regenerated.
0e7727f7 3102
a78bc654
DM
31032012-02-27 David S. Miller <davem@davemloft.net>
3104
428d5830
DM
3105 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3109 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3110 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3111 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3112 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3113
a78bc654
DM
3114 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3115 manipulate bits before adding and subtracting TWO112[sx].
3116 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3117
4579f81c
RM
31182012-02-27 Roland McGrath <roland@hack.frob.com>
3119
36c8acb4
RM
3120 [BZ #13775]
3121 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3122 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3123 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3124 being in POSIX, because they are in 1003.1-2008.
3125
84ad622b
RM
3126 * rt/tst-aio.c: Include <fcntl.h>.
3127 * rt/tst-aio7.c: Likewise.
3128 * rt/tst-aio64.c: Likewise.
3129
4579f81c
RM
3130 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3131
abd923db
JM
31322012-02-27 Joseph Myers <joseph@codesourcery.com>
3133
3134 * manual/install.texi (--with-headers): Describe headers as
3135 interface headers, not private headers.
3136 (Specific advice for GNU/Linux systems): Describe use of headers
3137 from "make headers_install", not private headers from older
3138 kernels.
43be4ca2 3139 * INSTALL: Regenerated.
abd923db
JM
3140 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3141 Change to 2.6.19.
3142 * sysdeps/unix/sysv/linux/configure: Regenerated.
3143
6664049b
JM
3144 * manual/llio.texi (fclean): Remove documentation.
3145
bb8b6697
JM
3146 * manual/Makefile (libc-texi-generated): New variable. Include
3147 version.texi.
3148 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3149 $(libc-texi-generated), not duplicated list of files.
3150 (version.texi, stamp-version): New rules.
3151 (realclean): Remove $(libc-texi-generated), not individual files
3152 from that list. Do not remove dir-add.texinfo.
3153 * manual/libc.texinfo: Comment out uses of edition numbers and
3154 references to printed manual. Remove last-updated dates.
3155 (EDITION): Comment out.
3156 (ISBN): Likewise.
3157 (VERSION, UPDATED): Remove.
3158 (version.texi): Include.
3159
12e5c3b9
AS
31602012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3161
3162 * sysdeps/posix/spawni.c: Include <signal.h>.
3163 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3164 * sysdeps/pthread/aio_fsync.c: Likewise.
3165
4efeffc1 31662012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 3167
ba63ba08
UD
3168 * conform/Makefile (tests): Run only when not cross-compiling and
3169 when fast-check is not defined.
3170
d94a4670
UD
3171 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3172 * conform/data/limits.h-data: Fixes for POSIX2008.
3173 * conform/run-conformtest.sh: Run all tests.
3174 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3175 headers.
3176 * include/bits/dlfcn.h: Likewise.
3177 * include/langinfo.h: Likewise.
3178 * include/monetary.h: Likewise.
3179 * include/sys/poll.h: Likewise.
3180
3181 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3182 for __USE_GNU.
3183 * posix/spawn.h: Define __need_sigset_t.
3184 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3185 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3186 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3187 to get sigevent_t only.
3188 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3189 only for __USE_GNU.
3190 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3191 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3192 process_vm_writev only for __USE_GNU.
3193 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
3194
3195 * conform/Makefile: For now ignore errors from run-conformtest.
3196 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3197 POSIX to avoid namespace pollution. Don't prepend headers.
3198 * conform/data/aio.h-data: Fixes for POSIX testing.
3199 * conform/data/fcntl.h-data: Likewise.
3200 * conform/data/glob.h-data: Likewise.
3201 * conform/data/grp.h-data: Likewise.
3202 * conform/data/pthread.h-data: Likewise.
3203 * conform/data/pwd.h-data: Likewise.
3204 * conform/data/signal.h-data: Likewise.
3205 * conform/data/spawn.h-data: Likewise.
3206 * conform/data/stdio.h-data: Likewise.
3207 * conform/data/stdlib.h-data: Likewise.
3208 * conform/data/stropts.h-data: Likewise.
3209 * conform/data/sys/mman.h-data: Likewise.
3210 * conform/data/sys/stat.h-data: Likewise.
3211 * conform/data/sys/types.h-data: Likewise.
3212 * conform/data/sys/wait.h-data: Likewise.
3213 * conform/data/time.h-data: Likewise.
3214 * conform/data/unistd.h-data: Likewise.
3215 * conform/data/utime.h-data: Likewise.
3216
3217 * io/sys/stat.h: fchmod was always in POSIX.
3218 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3219 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3220 * rt/aio.h: Define __need_timespec before including <time.h>.
3221 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3222 struct. Add forward declaration of pthread_attr_t and use it in
3223 sigevent.
3224 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3225 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3226 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3227 always remove CLK_TCK definition.
3228
c20105c3
AS
32292012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3230
3231 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3232
7a270350
UD
32332012-02-25 Ulrich Drepper <drepper@gmail.com>
3234
31341567
UD
3235 * conform/run-conformtest.sh: New file.
3236 * conform/Makefile: Run run-conformtest for tests.
3237 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3238 support.
3239
3240 * conform/data/uchar.h-data: New file.
3241 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3242 * conform/data/arpa/inet.h-data: Likewise.
3243 * conform/data/assert.h-data: Likewise.
3244 * conform/data/complex.h-data: Likewise.
3245 * conform/data/cpio.h-data: Likewise.
3246 * conform/data/ctype.h-data: Likewise.
3247 * conform/data/dirent.h-data: Likewise.
3248 * conform/data/dlfcn.h-data: Likewise.
3249 * conform/data/errno.h-data: Likewise.
3250 * conform/data/fcntl.h-data: Likewise.
3251 * conform/data/float.h-data: Likewise.
3252 * conform/data/fmtmsg.h-data: Likewise.
3253 * conform/data/fnmatch.h-data: Likewise.
3254 * conform/data/ftw.h-data: Likewise.
3255 * conform/data/glob.h-data: Likewise.
3256 * conform/data/grp.h-data: Likewise.
3257 * conform/data/iconv.h-data: Likewise.
3258 * conform/data/inttypes.h-data: Likewise.
3259 * conform/data/langinfo.h-data: Likewise.
3260 * conform/data/libgen.h-data: Likewise.
3261 * conform/data/limits.h-data: Likewise.
3262 * conform/data/locale.h-data: Likewise.
3263 * conform/data/math.h-data: Likewise.
3264 * conform/data/monetary.h-data: Likewise.
3265 * conform/data/mqueue.h-data: Likewise.
3266 * conform/data/ndbm.h-data: Likewise.
3267 * conform/data/net/if.h-data: Likewise.
3268 * conform/data/netdb.h-data: Likewise.
3269 * conform/data/netinet/in.h-data: Likewise.
3270 * conform/data/nl_types.h-data: Likewise.
3271 * conform/data/poll.h-data: Likewise.
3272 * conform/data/pthread.h-data: Likewise.
3273 * conform/data/pwd.h-data: Likewise.
3274 * conform/data/regex.h-data: Likewise.
3275 * conform/data/sched.h-data: Likewise.
3276 * conform/data/search.h-data: Likewise.
3277 * conform/data/semaphore.h-data: Likewise.
3278 * conform/data/setjmp.h-data: Likewise.
3279 * conform/data/signal.h-data: Likewise.
3280 * conform/data/spawn.h-data: Likewise.
3281 * conform/data/stdarg.h-data: Likewise.
3282 * conform/data/stdio.h-data: Likewise.
3283 * conform/data/stdlib.h-data: Likewise.
3284 * conform/data/string.h-data: Likewise.
3285 * conform/data/strings.h-data: Likewise.
3286 * conform/data/stropts.h-data: Likewise.
3287 * conform/data/sys/ipc.h-data: Likewise.
3288 * conform/data/sys/mman.h-data: Likewise.
3289 * conform/data/sys/msg.h-data: Likewise.
3290 * conform/data/sys/resource.h-data: Likewise.
3291 * conform/data/sys/select.h-data: Likewise.
3292 * conform/data/sys/sem.h-data: Likewise.
3293 * conform/data/sys/shm.h-data: Likewise.
3294 * conform/data/sys/socket.h-data: Likewise.
3295 * conform/data/sys/stat.h-data: Likewise.
3296 * conform/data/sys/statvfs.h-data: Likewise.
3297 * conform/data/sys/time.h-data: Likewise.
3298 * conform/data/sys/timeb.h-data: Likewise.
3299 * conform/data/sys/times.h-data: Likewise.
3300 * conform/data/sys/types.h-data: Likewise.
3301 * conform/data/sys/uio.h-data: Likewise.
3302 * conform/data/sys/un.h-data: Likewise.
3303 * conform/data/sys/utsname.h-data: Likewise.
3304 * conform/data/sys/wait.h-data: Likewise.
3305 * conform/data/syslog.h-data: Likewise.
3306 * conform/data/tar.h-data: Likewise.
3307 * conform/data/termios.h-data: Likewise.
3308 * conform/data/utime.h-data: Likewise.
3309 * conform/data/utmpx.h-data: Likewise.
3310 * conform/data/varargs.h-data: Likewise.
3311 * conform/data/wchar.h-data: Likewise.
3312 * conform/data/wctype.h-data: Likewise.
3313 * conform/data/wordexp.h-data: Likewise.
3314
3315 * include/stropts.h: New file.
3316 * include/uchar.h: New file.
3317 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3318 * include/assert.h: Likewise.
3319 * include/ctype.h: Likewise.
3320 * include/dirent.h: Likewise.
3321 * include/dlfcn.h: Likewise.
3322 * include/fcntl.h: Likewise.
3323 * include/fnmatch.h: Likewise.
3324 * include/glob.h: Likewise.
3325 * include/grp.h: Likewise.
3326 * include/libio.h: Likewise.
3327 * include/locale.h: Likewise.
3328 * include/math.h: Likewise.
3329 * include/net/if.h: Likewise.
3330 * include/netdb.h: Likewise.
3331 * include/netinet/in.h: Likewise.
3332 * include/pthread.h: Likewise.
3333 * include/pwd.h: Likewise.
3334 * include/regex.h: Likewise.
3335 * include/sched.h: Likewise.
3336 * include/search.h: Likewise.
3337 * include/setjmp.h: Likewise.
3338 * include/signal.h: Likewise.
3339 * include/stdio.h: Likewise.
3340 * include/stdlib.h: Likewise.
3341 * include/string.h: Likewise.
3342 * include/sys/cdefs.h: Likewise.
3343 * include/sys/mman.h: Likewise.
3344 * include/sys/msg.h: Likewise.
3345 * include/sys/resource.h: Likewise.
3346 * include/sys/select.h: Likewise.
3347 * include/sys/socket.h: Likewise.
3348 * include/sys/stat.h: Likewise.
3349 * include/sys/statvfs.h: Likewise.
3350 * include/sys/time.h: Likewise.
3351 * include/sys/times.h: Likewise.
3352 * include/sys/uio.h: Likewise.
3353 * include/sys/utsname.h: Likewise.
3354 * include/sys/wait.h: Likewise.
3355 * include/termios.h: Likewise.
3356 * include/time.h: Likewise.
3357 * include/ulimit.h: Likewise.
3358 * include/unistd.h: Likewise.
3359 * include/utime.h: Likewise.
3360 * include/wchar.h: Likewise.
3361 * include/wctype.h: Likewise.
3362 * include/wordexp.h: Likewise.
3363
3364 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3365
7a270350
UD
3366 * time/time.h: TIME_UTC must be a macro.
3367 Make timespec_get available for ISO C11 only as well.
3368
7724defc
UD
33692012-02-24 Ulrich Drepper <drepper@gmail.com>
3370
3371 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3372 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3373
6b1d1d46
JM
33742012-02-24 Joseph Myers <joseph@codesourcery.com>
3375
3376 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 3377
0f8bbd69
JM
33782012-02-24 Joseph Myers <joseph@codesourcery.com>
3379
3380 * manual/texinfo.tex: Update to version 2012-01-19.16.
3381
66ab80bc
JM
33822012-02-24 Joseph Myers <joseph@codesourcery.com>
3383
3384 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3385
74981cc5
RM
33862012-02-24 Roland McGrath <roland@hack.frob.com>
3387
ee968201
RM
3388 [BZ #13738]
3389 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3390 * manual/fdl-1.3.texi: New file.
3391 * manual/fdl-1.1.texi: File removed.
3392
74981cc5
RM
3393 [BZ #13738]
3394 * manual/libc.texinfo (FDL_VERSION): New @set.
3395 Use it for mention of FDL in cover text.
3396 (Documentation License): Use it in @include file name.
3397
7bb764bc
JM
33982012-02-22 Joseph Myers <joseph@codesourcery.com>
3399 Roland McGrath <roland@hack.frob.com>
3400
3401 [BZ #5461]
3402 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3403 not LONG_LONG_MAX and LONG_LONG_MIN.
3404 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3405 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3406 name.
3407 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3408
6cbeae47
JM
34092012-02-22 Joseph Myers <joseph@codesourcery.com>
3410
3411 [BZ #2547]
3412 [BZ #11365]
3413 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3414 manipulate bits before adding and subtracting TWO23[sx].
3415 * math/libm-test.inc (nearbyint_test): Add more tests.
3416
fe45ce09
JM
34172012-02-22 Joseph Myers <joseph@codesourcery.com>
3418
3419 [BZ #2548]
3420 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3421 bits before adding and subtracting TWO23[sx].
3422 * math/libm-test.inc (rint_test): Add more tests.
3423 (rint_test_tonearest): Likewise.
3424 (rint_test_towardzero): Likewise.
3425 (rint_test_downward): Likewise.
3426 (rint_test_upward: Likewise.
3427
ff3b3d82
JM
34282012-02-22 Joseph Myers <joseph@codesourcery.com>
3429
3430 [BZ #10110]
3431 * include/stdc-predef.h: New file. Extracted from features.h.
3432 * include/features.h: Include stdc-predef.h.
3433 * Makefile (headers): Add stdc-predef.h.
3434 * CONFORMANCE (Compiler limitations): Update.
3435
ef0aab35
JM
34362012-02-22 Joseph Myers <joseph@codesourcery.com>
3437
3438 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3439
58639409
DM
34402012-02-21 David S. Miller <davem@davemloft.net>
3441
3442 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3443 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3444
c0e70b25
DM
34452012-02-20 David S. Miller <davem@davemloft.net>
3446
3447 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3448 using a normal save/restore sequence, rather than allocating a
3449 dummy stack frame just to store a frame pointer and restore.
3450 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3451
fb06851d
JM
34522012-02-21 Joseph Myers <joseph@codesourcery.com>
3453
3454 * manual/install.texi: Fix stray word in line-wrapped comment.
3455
7a8b71c3
DM
34562012-02-20 David S. Miller <davem@davemloft.net>
3457
d510c123
DM
3458 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3459 both binutils and gcc support GOTDATA.
3460
0722d7c2
DM
3461 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3462 "rd %pc" in the PIC register setup sequences.
3463
3d2b3019
DM
3464 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3465 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3466 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3467 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3468 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3469 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3470 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3471 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3472 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3473 (SYSCALL_ERROR_HANDLER): Likewise.
3474 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3475 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3476 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3477 (SYSCALL_ERROR_HANDLER): Likewise.
3478
c80098a9
DM
3479 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3480 (HAVE_GCC_GOTDATA): New.
3481 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3482 relocation support in both binutils and gcc.
3483 * sysdeps/sparc/elf/configure: Regenerate.
3484
3a2545a0
DM
3485 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3486 * sysdeps/sparc/sparc32/elf/configure: Delete.
3487 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3488 * sysdeps/sparc/sparc64/elf/configure: Delete.
3489 * sysdeps/sparc/elf/configure.in: New file.
3490 * sysdeps/sparc/elf/configure: Generate.
3491
7a8b71c3
DM
3492 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3493 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3494 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3495 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3496 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3497
f1e86fca
JM
34982012-02-21 Joseph Myers <joseph@codesourcery.com>
3499
3500 * manual/install.texi: Do not mention specific glibc version
3501 numbers.
3502 * manual/libc.texinfo (VERSION, UPDATED): Update.
3503 (@copying): Use @copyright{} and range of years.
3504
0e7dfaef
JM
35052012-02-21 Joseph Myers <joseph@codesourcery.com>
3506
3507 [BZ #13695]
3508 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3509 [crti.S not in sysdirs] (generated): Do not append.
3510 [crti.S not in sysdirs] (omit-deps): Likewise.
3511 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3512 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3513 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3514 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3515 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3516 Likewise.
3517 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3518 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3519 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3520 * csu/defs.awk: Remove file.
3521 * sysdeps/generic/initfini.c: Likewise.
3522 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3523 variable.
3524 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3525 Likewise.
3526
599af3ca
JM
35272012-02-20 Joseph Myers <joseph@codesourcery.com>
3528
3529 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3530 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3531 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3532 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3533 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3534 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3535 <bits/epoll.h>.
3536 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3537 (__EPOLL_PACKED): Define to empty if not defined by
3538 <bits/epoll.h>.
3539 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3540 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3541 bits/epoll.h.
3542
0e499750
JM
35432012-02-20 Joseph Myers <joseph@codesourcery.com>
3544
3545 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3546 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3547 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3548 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3549 <bits/timerfd.h>.
3550 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3551 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3552 bits/timerfd.h.
3553
5ad91f6e
JM
35542012-02-20 Joseph Myers <joseph@codesourcery.com>
3555
3556 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3557 in C locale.
3558 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3559 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3560 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3562
06b99b02
AJ
35632012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3564
3565 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3566 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3567
7638c0fd
AS
35682012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3569
3570 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3571 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3572 defined.
3573 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3574 Likewise.
3575 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3576 entry for 2.16.
3577
92221550
AJ
35782012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3579
3580 * math/w_acos.c: Use non-signaling floating-point comparisons.
3581 * math/w_acosf.c: Likewise.
3582 * math/w_acosh.c: Likewise.
3583 * math/w_acoshf.c: Likewise.
3584 * math/w_acoshl.c: Likewise.
3585 * math/w_acosl.c: Likewise.
3586 * math/w_asin.c: Likewise.
3587 * math/w_asinf.c: Likewise.
3588 * math/w_asinl.c: Likewise.
3589 * math/w_atanh.c: Likewise.
3590 * math/w_atanhf.c: Likewise.
3591 * math/w_atanhl.c: Likewise.
3592 * math/w_exp2.c: Likewise.
3593 * math/w_exp2f.c: Likewise.
3594 * math/w_exp2l.c: Likewise.
3595 * math/w_j0.c: Likewise.
3596 * math/w_j0f.c: Likewise.
3597 * math/w_j0l.c: Likewise.
3598 * math/w_j1.c: Likewise.
3599 * math/w_j1f.c: Likewise.
3600 * math/w_j1l.c: Likewise.
3601 * math/w_jn.c: Likewise.
3602 * math/w_jnf.c: Likewise.
3603 * math/w_log.c: Likewise.
3604 * math/w_log10.c: Likewise.
3605 * math/w_log10f.c: Likewise.
3606 * math/w_log10l.c: Likewise.
3607 * math/w_log2.c: Likewise.
3608 * math/w_log2f.c: Likewise.
3609 * math/w_log2l.c: Likewise.
3610 * math/w_logf.c: Likewise.
3611 * math/w_logl.c: Likewise.
3612 * math/w_sqrt.c: Likewise.
3613 * math/w_sqrtf.c: Likewise.
3614 * math/w_sqrtl.c: Likewise.
3615 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3616 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3617 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3618 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3619 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3620
ebaf36eb
JM
36212012-02-19 Joseph Myers <joseph@codesourcery.com>
3622
3623 [BZ #9739]
3624 * manual/string.texi (strnlen): Use correct parameter name in
3625 equivalent expression.
3626
71c254a6
JM
36272012-02-19 Joseph Myers <joseph@codesourcery.com>
3628
3629 [BZ #11174]
3630 * manual/users.texi (seteuid): Consistently use neweuid for
3631 argument name.
3632
16d2c631
JM
36332012-02-19 Joseph Myers <joseph@codesourcery.com>
3634
3635 [BZ #13704]
3636 * manual/nss.texi (Services in the NSS configuration): Correct
3637 list of services in example configuration file.
3638
cd837b09
NB
36392012-02-19 Nick Bowler <nbowler@draconx.ca>
3640
3641 [BZ #11322]
3642 * manual/arith.texi: Remove statements about negative zero
3643 behaving identically to zero.
3644
02c4bbad
JM
36452012-02-18 Joseph Myers <joseph@codesourcery.com>
3646
3647 [BZ #5993]
3648 * manual/install.texi: Do not document upgrading from libc5.
3649
366842e7
JM
36502012-02-18 Joseph Myers <joseph@codesourcery.com>
3651
3652 [BZ #4596]
3653 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3654
dd54084d
DM
36552012-02-18 David S. Miller <davem@davemloft.net>
3656
3657 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3658 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3659 %o7 across the call.
3660 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3661 instead.
3662 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3663 SETUP_PIC_REG_LEAF.
3664 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3665 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3666 * sysdeps/sparc/crtn.S: Likewise.
3667
2bcc53a3
UD
36682012-02-17 Ulrich Drepper <drepper@gmail.com>
3669
3670 * aout/Makefile: Remove.
3671
09c093b5
RK
36722012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3673
3674 [BZ #13058]
3675 * manual/examples/argp-ex1.c (main): Format definition in GNU
3676 style.
3677 * manual/examples/argp-ex2.c (main): Likewise.
3678 * manual/examples/argp-ex3.c (main): Likewise.
3679 * manual/examples/argp-ex4.c (main): Likewise.
3680 * manual/examples/longopt.c (main): Use new-style prototype
3681 definition.
3682 * manual/examples/strncat.c (main): Specify return type and use
3683 (void) for arguments.
3684 * manual/examples/subopt.c (main): Use char **argv argument.
3685
2ee633a2
JM
36862012-02-17 Joseph Myers <joseph@codesourcery.com>
3687
3688 [BZ #5077]
3689 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3690 rounding modes.
3691
0520adde
FB
36922012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3693
3694 [BZ #6907]
3695 * manual/string.texi (strchr): Change when strchrnul is
3696 recommended.
3697
3f4081cd
DGM
36982012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3699
3700 [BZ #174]
3701 * manual/locale.texi (setlocale): Document LOCPATH.
3702
d1b10e78
JM
37032012-02-17 Joseph Myers <joseph@codesourcery.com>
3704
3705 [BZ #10210]
3706 * manual/process.texi (execle): Move @dots{} before last argument.
3707
79c6869c
PB
37082012-02-17 Paul Bolle <pebolle@tiscali.nl>
3709
3710 [BZ #12047]
3711 * manual/charset.texi (Generic Charset Conversion): Fix typo
3712 (LC_TYPE -> LC_CTYPE).
3713
cc6e48bc
NB
37142012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3715
3716 [BZ #5805]
3717 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3718 (scalbnf): Likewise.
3719 (scalbnl): Likewise.
3720 (scalbln): Likewise.
3721 (scalblnf): Likewise.
3722 (scalblnl): Likewise.
3723 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3724 (vwarnx): Likewise.
3725 (verr): Likewise.
3726 (verrx): Likewise.
3727 * manual/filesys.texi (telldir): Use braces around return type.
3728 * manual/llio.texi (mmap): Add space after comma.
3729 (mmap64): Likewise.
3730 * manual/math.texi (jn): Use @var{} on parameter names.
3731 (jnf): Likewise.
3732 (jnl): Likewise.
3733 (yn): Likewise.
3734 (ynf): Likewise.
3735 (ynl): Likewise.
3736 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3737 line.
3738 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3739 "...".
3740 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3741 (sched_get_priority_max): Likewise.
3742 * manual/signal.texi (sigvec): Add space after comma.
3743 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3744 names.
3745 (if_indextoname): Likewise.
3746 (if_freenameindex): Likewise.
3747 (sendto): Use ',' instead of '.' in prototype.
3748 * manual/startup.texi (syscall): Use @dots{} instead of literal
3749 "...".
3750 * manual/stdio.texi (__fpending): Separate initial words of
3751 paragraph from @deftypefun line.
3752 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3753 "...".
3754 (vsyslog): Use @var{} on parameter names.
3755 * manual/terminal.texi (stty): Use @var{} on parameter names.
3756 * manual/users.texi (getutmp): Use @var{} on parameter names.
3757 (getutmpx): Likewise.
3758
5b23062f
JM
37592012-02-17 Joseph Myers <joseph@codesourcery.com>
3760
3761 [BZ #6884]
3762 * manual/stdio.texi (fopen): Fix typos in description of
3763 ",ccs=STRING".
3764
8dee4833
AJ
37652012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3766
3767 [BZ #4026]
3768 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3769 get clock_id definition.
3770
9078ce93
TS
37712012-02-17 Thomas Schwinge <thomas@schwinge.name>
3772
3773 [BZ #4822]
3774 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3775 (madvise): Cast every argument to void on its own.
3776
3835c55f
JM
37772012-02-17 Joseph Myers <joseph@codesourcery.com>
3778
3779 [BZ #9902]
3780 * manual/startup.texi (Exit Status): Fix typo.
3781
35c47e37
JM
37822012-02-17 Joseph Myers <joseph@codesourcery.com>
3783
3784 [BZ #10140]
3785 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3786 * manual/examples/argp-ex2.c: Likewise.
3787 * manual/examples/argp-ex3.c: Likewise.
3788
e3b69ca7
RH
37892012-02-16 Richard Henderson <rth@redhat.com>
3790
3791 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3792 * sysdeps/s390/s390-32/initfini.c: Remove.
3793 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3794 * sysdeps/s390/s390-64/initfini.c: Remove.
3795
df83af67
KK
37962012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3797
3798 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3799 compiler output for sysdeps/generic/initfini.c.
3800 * sysdeps/sh/elf/initfini.c: Remove file.
3801
f63f3380
DM
38022012-02-16 David S. Miller <davem@davemloft.net>
3803
fb59b3a4
DM
3804 [BZ #11494]
3805 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3806
f63f3380
DM
3807 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3808 * sysdeps/sparc/crti.S: New file.
3809 * sysdeps/sparc/crtn.S: New file.
3810 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3811 * sysdeps/sparc/sparc64/Makefile: Likewise.
3812
df6a4a4a
MF
38132012-02-15 Mike Frysinger <vapier@gentoo.org>
3814
6dd8f3dc 3815 [BZ #3335]
df6a4a4a
MF
3816 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3817
1cac7236
RM
38182012-02-15 Roland McGrath <roland@hack.frob.com>
3819
d2c736f8
RM
3820 [BZ #4822]
3821 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3822
1cac7236
RM
3823 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3824 (write, read, close): Likewise.
3825 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3826
8e475601
JM
38272012-02-15 Joseph Myers <joseph@codesourcery.com>
3828
3829 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3830 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3831 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3832 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3833 <bits/signalfd.h>.
3834 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3835 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3836 bits/signalfd.h.
3837
ed656b40
MP
38382012-02-14 Marek Polacek <polacek@redhat.com>
3839
3840 * sysdeps/x86_64/crti.S: New file.
3841 * sysdeps/x86_64/crtn.S: New file.
3842 * sysdeps/x86_64/elf/initfini.c: Remove file.
3843
2a979d3a
JM
38442012-02-13 Joseph Myers <joseph@codesourcery.com>
3845
3846 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3847 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3848 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3849 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3850 <bits/inotify.h>.
3851 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3852 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3853 bits/inotify.h.
3854
2a418ac3
JM
38552012-02-13 Joseph Myers <joseph@codesourcery.com>
3856
3857 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3858 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3859 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3860 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3861 <bits/eventfd.h>.
3862 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3863 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3864 bits/eventfd.h.
3865
fb779be7
TS
38662012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3867
e19e83c5
RM
3868 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3869 __feraiseexcept instead of feraiseexcept.
7c35ffed 3870
fb779be7
TS
3871 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3872 nanosleep invocations.
3873 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3874 strings, and add error checking for a nanosleep invocations.
3875
59ba27a6
PE
38762012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3877
3878 Replace FSF snail mail address with URLs, as per GNU coding standards.
3879 Most of the snail mail addresses were wrong anyway, and omitting
3880 them makes the source code easier to maintain. Almost all of the
3881 changes are to license notices and to locale LC_IDENTIFICATION
3882 addresses, except for this one:
3883 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3884 not its snail mail address.
3885
57b957eb
RH
38862012-02-09 Richard Henderson <rth@twiddle.net>
3887
af850b1c
RH
3888 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3889 of kernel-features.h.
3890
57b957eb
RH
3891 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3892
6b73181a
MP
38932012-02-08 Marek Polacek <polacek@redhat.com>
3894
3895 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3896 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3897 * sysdeps/gnu/_G_config.h: Likewise.
3898 * sysdeps/generic/_G_config.h: Likewise.
3899
26ecc33a
AS
39002012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3901
6c6dbc63
AS
3902 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3903 tests.
3904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3905
e216c012
AS
3906 * sysdeps/powerpc/powerpc32/crti.S: New file.
3907 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3908 * sysdeps/powerpc/powerpc64/crti.S: New file.
3909 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3910
26ecc33a
AS
3911 * Makeconfig (have-initfini): Don't set.
3912 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3913 * configure.in (nopic_initfini): Don't substitute.
3914 * config.h.in (HAVE_INITFINI): Don't #undef.
3915 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3916 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3917
3add8e13
JM
39182012-02-08 Joseph Myers <joseph@codesourcery.com>
3919
3920 Support crti.S and crtn.S provided directly by architectures.
3921 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3922 [crti.S in sysdirs] (omit-deps): Likewise.
3923 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3924 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3925 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3926 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3927 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3928 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3929 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3930 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3931 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3932 compiler output for sysdeps/generic/initfini.c.
3933 * sysdeps/i386/elf/Makefile: Remove file.
3934 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3935
a22f12b4
MP
39362012-02-07 Marek Polacek <polacek@redhat.com>
3937
3938 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3939 * sysdeps/gnu/_G_config.h: Likewise.
3940 * sysdeps/mach/hurd/_G_config.h: Likewise.
3941
148cf100
MP
39422012-02-07 Marek Polacek <polacek@redhat.com>
3943
3944 * math/Makefile (tests): Add tst-CMPLX2.
3945 * math/tst-CMPLX2.c: New file.
3946
cfdc0dd7
AS
39472012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3948
84ba42c4
AS
3949 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3950
cfdc0dd7
AS
3951 * math/libm-test.inc (jn_test): Add missing L suffix.
3952
622c86f4
MP
39532012-02-06 Marek Polacek <polacek@redhat.com>
3954
3955 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3956 * sysdeps/i386/fpu/e_powf.S: Likewise.
3957 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3958 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3959 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3960 * sysdeps/i386/fpu/e_pow.S: Likewise.
3961 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3962 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3963 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3964 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3965 * sysdeps/i386/fpu/e_log2.S: Likewise.
3966 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3967 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3968 * sysdeps/i386/fpu/e_powl.S: Likewise.
3969 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3970 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3971 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3972 * sysdeps/i386/fpu/e_logl.S: Likewise.
3973 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3974 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3975 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3976 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3977 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3978 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3979 * sysdeps/i386/fpu/e_log.S: Likewise.
3980 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3981 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3982 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3983 * sysdeps/i386/fpu/e_logf.S: Likewise.
3984 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3985 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3986 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3987 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3988 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3989 * sysdeps/i386/fpu/e_log10.S: Likewise.
3990 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3991 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3992 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3993 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3994 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3995 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3996 * sysdeps/i386/asm-syntax.h: Likewise.
3997 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3998 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3999 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
4000 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
4001 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
4002 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
4003 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
4004 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
4005 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
4006 * sysdeps/powerpc/sysdep.h: Likewise.
4007 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
4008 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4009
d4a54ac6
JM
40102012-02-06 Joseph Myers <joseph@codesourcery.com>
4011
4012 [BZ #411]
4013 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
4014
314054ea
JM
40152012-02-06 Joseph Myers <joseph@codesourcery.com>
4016
4017 * sysdeps/i386/sysdep.h: Include <features.h>.
4018 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
4019 version.
4020
d8e0ca50
JM
40212012-02-05 Joseph Myers <joseph@codesourcery.com>
4022
4023 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
4024 Define.
4025 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
4026 LOAD_PIC_REG_STR.
4027
b1da7dd9
JM
40282012-02-03 Joseph Myers <joseph@codesourcery.com>
4029
4030 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
4031 (SETUP_PIC_REG): Use GET_PC_THUNK.
4032 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
4033 macro.
4034
9a1d9254
JM
40352012-02-03 Joseph Myers <joseph@codesourcery.com>
4036
4037 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
4038 for non-PIC compilation.
4039 (SETUP_PIC_REG): Add .p2align directive.
4040 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
4041 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4042 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4043 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4044 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4045 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4046 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4047 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4048 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4049 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4050 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4051 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4052 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4053 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4054 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4055 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4056 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4057 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4058 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4059 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4060 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4061 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4062 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4063 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4064 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4065 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4066 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4067 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4068 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4069 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4070 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4071 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4072 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4073 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4074 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4075 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4076 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4077 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4078 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4079 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4080 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4081
65dc3b75
JM
40822012-02-03 Joseph Myers <joseph@codesourcery.com>
4083
4084 * math/tst-CMPLX.c: Include <stdio.h>.
4085
d55bf177
JM
40862012-01-31 Joseph Myers <joseph@codesourcery.com>
4087
4088 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4089 float.
4090 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4091 * sysdeps/sparc/bits/mathdef.h: Likewise.
4092
69db4f8f
MP
40932012-01-31 Marek Polacek <polacek@redhat.com>
4094
4095 * libio/libio.h: Don't define _PARAMS.
4096 * locale/programs/config.h: Don't define PARAMS.
4097 * stdlib/strtol_l.c: Likewise.
4098 (__strtol_l): Remove PARAMS from the prototype.
4099
41b81892
UD
41002012-01-31 Ulrich Drepper <drepper@gmail.com>
4101
3b49edc0
UD
4102 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4103 names. Just use the correct names. Remove unnecessary wrapper
4104 functions.
4105 * malloc/arena.c: Likewise.
4106 * malloc/hooks.c: Likewise.
4107
41b81892
UD
4108 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4109 ARENA_TEST says not to. Simplify test for creation of a new arena.
4110 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4111
27a25b6e
UD
41122012-01-30 Ulrich Drepper <drepper@gmail.com>
4113
4114 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4115 into tail calls.
4116 (update_get_addr): New function.
4117 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4118 GET_ADDR_MODULE parameter.
4119
c8a89e7d
JM
41202012-01-30 Joseph Myers <joseph@codesourcery.com>
4121
4122 * crypt/cert.c: Remove __STDC__ conditionals.
4123 * crypt/crypt-entry.c: Likewise.
4124 * crypt/crypt_util.c: Likewise.
4125 * libio/filedoalloc.c: Likewise.
4126 * libio/fileops.c: Likewise.
4127 * libio/genops.c: Likewise.
4128 * libio/iofclose.c: Likewise.
4129 * libio/iofdopen.c: Likewise.
4130 * libio/iofopen.c: Likewise.
4131 * libio/iofopen64.c: Likewise.
4132 * libio/iogetdelim.c: Likewise.
4133 * libio/iopopen.c: Likewise.
4134 * libio/obprintf.c: Likewise.
4135 * libio/oldfileops.c: Likewise.
4136 * libio/oldiofclose.c: Likewise.
4137 * libio/oldiofdopen.c: Likewise.
4138 * libio/oldiofopen.c: Likewise.
4139 * libio/oldiopopen.c: Likewise.
4140 * libio/wfiledoalloc.c: Likewise.
4141 * libio/wgenops.c: Likewise.
4142 * locale/programs/xmalloc.c: Likewise.
4143 * misc/syslog.c: Likewise.
4144 * stdio-common/xbug.c: Likewise.
4145 * string/memchr.c: Likewise.
4146 * string/memcmp.c: Likewise.
4147 * string/memrchr.c: Likewise.
4148 * string/rawmemchr.c: Likewise.
4149 * sysdeps/posix/getcwd.c: Likewise.
4150 * time/strftime_l.c: Likewise.
4151
3b100462
JM
41522012-01-30 Joseph Myers <joseph@codesourcery.com>
4153
4154 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
4155 * config.make.in (config-cflags-sse2avx): Define.
4156 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4157 Fix typo.
4158
607998af
CM
41592012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4160
4161 * scripts/config.guess: Update from upstream config git repository.
4162 * scripts/config.sub: Likewise.
4163
3601428f
CM
41642012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4165
3ac8b282
CM
4166 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4167 (EM_NUM): Update.
4168 (R_TILEPRO_*, R_TILEGX_*): New macros.
4169
e034841e
CM
4170 * scripts/firstversions.awk: Fix bug in version range handling.
4171
540d7568
CM
4172 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4173
3601428f
CM
4174 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4175
463de862
CM
4176 * include/sys/epoll.h: New file.
4177 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4178 libc_hidden_def.
4179
73139a76
UD
41802012-01-28 Ulrich Drepper <drepper@gmail.com>
4181
96bc5b45
UD
4182 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4183 Avoid unnecessary __WORDSIZE == 64 test.
4184 (fmaxf): Use VEX format if possible.
4185 (fmax): Likewise.
4186 (fminf): Likewise.
4187 (fmin): Likewise.
4188
56f6f6a2
UD
4189 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4190 * math/math_private.h: Remove libc_fegetround* and
4191 libc_fesetround*.
4192 * sysdeps/i386/configure.in: Check for -msse2avx.
4193 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4194 also if SSE2AVX is defined.
4195 Remove libc_fegetround* and libc_fesetround*.
4196 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4197 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4198 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4199 of HAS_YMM_USABLE.
4200 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4201 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4202 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4203 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4204 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4205
73139a76
UD
4206 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4207
d73f93a4
AZ
42082012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4209
4210 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4211 size is not set.
4212 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4213
6ee65ed6
UD
42142012-01-27 Ulrich Drepper <drepper@gmail.com>
4215
4216 [BZ #13618]
4217 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4218 relocation.
4219 * Makeconfig (libm): Define.
4220 * elf/Makefile: Add rules to build and run tst-relsort1.
4221 * elf/tst-relsort1.c: New file.
4222 * elf/tst-relsort1mod1.c: New file.
4223 * elf/tst-relsort1mod2.c: New file.
4224
8db21882
JM
42252012-01-27 Joseph Myers <joseph@codesourcery.com>
4226
4227 * math/s_ldexp.c: Remove __STDC__ conditionals.
4228 * math/s_ldexpf.c: Likewise.
4229 * math/s_ldexpl.c: Likewise.
4230 * math/s_nextafter.c: Likewise.
4231 * math/s_nexttowardf.c: Likewise.
4232 * math/s_significand.c: Likewise.
4233 * math/s_significandf.c: Likewise.
4234 * math/s_significandl.c: Likewise.
4235 * math/w_jnl.c: Likewise.
4236 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4237 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4238 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4239 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4240 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4241 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4242 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4243 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4244 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4245 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4246 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4247 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4248 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4249 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4250 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4251 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4252 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4253 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4254 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4255 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4256 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4257 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4258 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4259 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4260 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4261 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4262 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4263 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4264 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4265 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4266 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4267 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4268 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4269 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4270 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4271 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4272 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4273 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4274 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4275 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4276 * sysdeps/ieee754/k_standard.c: Likewise.
4277 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4278 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4279 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4280 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4281 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4282 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4283 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4284 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4285 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4286 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4287 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4288 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4289 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4290 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4291 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4292 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4293 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4294 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4295 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4296 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4297 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4298 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4299 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4300 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4301 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4302 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4303 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4304 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4305 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4306 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4307 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4308 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4309 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4310 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4311 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4312 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4313 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4314 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4315 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4316 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4317 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4318 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4319 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4320 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4321 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4322 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4323 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4324 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4325 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4326 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4327 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4328 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4329 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4330 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4331 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4332 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4333 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4334 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4335 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4336 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4337 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4338 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4339 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4340 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4341 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4342 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4343 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4344 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4345 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4346 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4347 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4348 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4349 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4350 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4351 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4352 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4353 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4354 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4355 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4356 * sysdeps/ieee754/s_matherr.c: Likewise.
4357 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4358 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4359 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4360 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4361
965a54a4
JM
43622012-01-26 Joseph Myers <joseph@codesourcery.com>
4363
4364 * crypt/md5.h: Remove __STDC__ conditionals.
4365 * libio/libioP.h: Likewise.
4366 * locale/programs/config.h: Likewise.
4367 * sysdeps/generic/sysdep.h: Likewise.
4368 * sysdeps/i386/asm-syntax.h: Likewise.
4369 * sysdeps/s390/asm-syntax.h: Likewise.
4370 * sysdeps/unix/sysdep.h: Likewise.
4371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4373
7071ad79
JM
43742012-01-26 Joseph Myers <joseph@codesourcery.com>
4375
4376 * libio/libio.h: Remove __STDC__ conditionals.
4377 * malloc/obstack.h: Likewise.
4378 * math/complex.h: Likewise.
4379 * math/math.h: Likewise.
4380 * sysdeps/generic/_G_config.h: Likewise.
4381 * sysdeps/gnu/_G_config.h: Likewise.
4382 * sysdeps/mach/hurd/_G_config.h: Likewise.
4383 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4384 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4385 * sysdeps/sparc/bits/mathdef.h: Likewise.
4386
afc5ed09
UD
43872012-01-26 Ulrich Drepper <drepper@gmail.com>
4388
4389 [BZ #13583]
4390 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 4391 Clean up HAS_* macros.
afc5ed09 4392 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
4393 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4394 possible.
4395 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4396 HAS_AVX.
4397 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4398 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4399 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4400 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4401 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 4402
bdb6de1d
JM
44032012-01-25 Joseph Myers <joseph@codesourcery.com>
4404
4405 * elf/tst-unique3.cc (gets): Remove declaration.
4406 * elf/tst-unique3lib.cc (gets): Likewise.
4407 * elf/tst-unique3lib2.cc (gets): Likewise.
4408 * elf/tst-unique4.cc (gets): Likewise.
4409
b15549e6
UD
44102012-01-24 Ulrich Drepper <drepper@gmail.com>
4411
4412 * include/stdio.h: Add C++ protection. Add gets declarations and
4413 definitions.
4414 * debug/tst-chk1.c: Don't declare gets here.
4415 * stdio-common/tst-gets.c: Likewise.
4416
a037381f
JM
44172012-01-24 Joseph Myers <joseph@codesourcery.com>
4418
4419 * posix/glob: Remove directory.
4420
f1d4aa75
JM
44212012-01-24 Joseph Myers <joseph@codesourcery.com>
4422
4423 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4424
81c0c964
PT
44252012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4426
4427 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4428 of the non-standard EPFNOSUPPORT.
4429
0ea698ae
ST
44302011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4431
4432 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4433 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4434 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4435
d220b117
UD
44362012-01-21 Ulrich Drepper <drepper@gmail.com>
4437
4438 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4439
3e1aa84e
UD
44402012-01-20 Ulrich Drepper <drepper@gmail.com>
4441
4442 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4443 transient errors.
4444 * nscd/grpcache.c (cache_addgr): Likewise.
4445 * nscd/hstcache.c (cache_addhst): Likewise.
4446 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4447 * nscd/pwdcache.c (cache_addpw): Likewise.
4448 * nscd/servicescache.c (cache_addserv): Likewise.
4449
400aa020
UD
44502012-01-16 Ulrich Drepper <drepper@gmail.com>
4451
d77e7869
UD
4452 * malloc/malloc.c: Various cleanups.
4453 * malloc/hooks.c: Likewise.
4454
400aa020
UD
4455 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4456 * stdlib/bug-fmtmsg1.c: New file.
4457
4458 * stdlib/fmtmsg.c (init): Add missing unlock.
4459 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4460
e0a309cf
MP
44612012-01-12 Marek Polacek <polacek@redhat.com>
4462
4463 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4464 and _GNU_SOURCE.
4465
929d11c7
WS
44662012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4467
4468 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4469 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4470 macro to ensure uniqueness of label name.
4471 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4472 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4473
41d0e869
UD
44742012-01-11 Ulrich Drepper <drepper@gmail.com>
4475
0cc5ed3b
UD
4476 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4477
41d0e869
UD
4478 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4479 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4480 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4481 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4482
a47a831a
UD
44832012-01-10 Ulrich Drepper <drepper@gmail.com>
4484
daa891c0
UD
4485 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4486
4487 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4488 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4489 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4490
e58ef0f2
UD
4491 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4492
a47a831a 4493 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
4494 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4495 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 4496 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
4497
4498 * math/bits/math-finite.h: Add ldexp support.
4499
a0bfc9c7
MP
45002012-01-10 Marek Polacek <polacek@redhat.com>
4501
4502 * locale/programs/localedef.h (show_archive_content): Add noreturn
4503 attribute.
4504
d6e97a1d
UD
45052012-01-09 Ulrich Drepper <drepper@gmail.com>
4506
4507 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4508
d5835c26
UD
45092012-01-08 Ulrich Drepper <drepper@gmail.com>
4510
e5f484c6
UD
4511 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4512
d5835c26
UD
4513 * io/Makefile (headers): Add bits/poll2.h.
4514
d1f741e9
WS
45152011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4516
4517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4518 typo #include statement.
4519
ec09c1c4
UD
45202012-01-08 Ulrich Drepper <drepper@gmail.com>
4521
4522 * include/sys/cdefs.h: Define __attribute_alloc_size.
4523 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4524 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4525 * elf/pldd.c: Likewise.
4526 * iconv/iconv_charmap.c: Likewise.
4527 * iconv/iconvconfig.c: Likewise.
4528 * iconv/strtab.c: Likewise.
4529 * locale/programs/locale.c: Likewise.
4530 * locale/programs/localedef.h: Likewise.
4531 * locale/programs/simple-hash.c: Likewise.
4532 * nscd/nscd.h: Likewise.
4533 * nss/makedb.c: Likewise.
4534 * sysdeps/generic/ldconfig.h: Likewise.
4535 * locale/programs/localedef.c: Remove xmalloc prototype.
4536 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4537
20b38e03
PP
45382012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4539
4540 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4541 appropriate.
4542
a0da5fe1
UD
45432012-01-08 Ulrich Drepper <drepper@gmail.com>
4544
1d5a644a 4545 * math/Makefile (tests): Add tst-CMPLX.
669704fd 4546 * math/tst-CMPLX.c: New file.
1d5a644a 4547
8784a6db
UD
4548 * math/complex.h (CMPLXL): Fix typo.
4549
d9a216c0
UD
4550 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4551 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4552 GLIBC_2.16.
4553 * debug/tst-chk1.c: Add poll and ppoll tests.
4554 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4555 * include/sys/poll.h: Add hidden proto for ppoll.
4556 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4557 * sysdeps/mach/hurd/ppoll.c: Likewise.
4558 * io/ppoll.c: Likewise.
4559 * debug/poll_chk.c: New file.
4560 * debug/ppoll_chk.c: New file.
4561 * include/bits/poll2.h: New file.
4562 * io/bits/poll2.h: New file.
4563
ac097f5c
UD
4564 [BZ #1350]
4565 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4566
2119dcfa
UD
4567 * configure.in: static is always set to yes. Remove.
4568 * config.make.in: Don't set build-static.
4569 * Makeconfig: Remove use of build-static.
4570 * dlfcn/Makefile: Likewise.
4571 * elf/Makefile: Likewise.
4572 * math/Makefile: Likewise.
4573 * misc/Makefile: Likewise.
4574 * nptl/Makefile: Likewise.
4575 * sysdeps/mach/hurd/Makefile: Likewise.
4576
121766a9
UD
4577 * configure.in: PWD_P is not used anymore.
4578 * config.make.in: Remove PWD_P entry.
4579
51a1d39c 4580 * configure.in: Remove last remnants of RANLIB.
8720d066 4581 No need to check for signed size_t anymore.
215f4bdc
UD
4582 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4583 and IA-64.
3857022a 4584 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4585 * aclocal.m4: Likewise.
4586
d3ed7225
UD
4587 * wcsmbs/mbrtoc16.c: Implement using towc function.
4588 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4589 * wcsmbs/wcsmbsload.c: Likewise.
4590 * iconv/gconv_simple.c: Likewise.
4591 * iconv/gconv_int.h: Likewise.
4592 * iconv/gconv_builtin.h: Likewise.
4593 * iconv/iconv_prog.c: Remove CHAR16 handling.
4594
4595 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4596
4597 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4598
a0da5fe1
UD
4599 * configure.in: Remove --with-elf and --enable-bounded options.
4600 Dont set base_machine for ia64. More non-ELF conditions removed.
4601 Remove testing and setting of leading underscore information.
4602 * config.make.in (build-bounded): Set to no.
4603 * config.h.in: Remove NO_UNDERSCORES entry.
4604 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4605 them.
4606 * csu/start.c: Remove !NO_UNDERSCORE code.
4607 * locale/localeinfo.h: Likewise.
4608 * sysdeps/generic/machine-gmon.h: Likewise.
4609 * sysdeps/generic/sysdep.h: Likewise.
4610 * sysdeps/i386/sysdep.h: Likewise.
4611 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4612 * sysdeps/mach/sysdep.h: Likewise.
4613 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4614 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4615 * sysdeps/sh/sysdep.h: Likewise.
4616 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4617 * sysdeps/unix/i386/sysdep.S: Likewise.
4618 * sysdeps/unix/sparc/start.c: Likewise.
4619 * sysdeps/unix/sparc/sysdep.S: Likewise.
4620 * sysdeps/unix/sparc/sysdep.h: Likewise.
4621 * sysdeps/unix/start.c: Likewise.
4622 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4623 * sysdeps/x86_64/sysdep.h: Likewise.
4624
df78418a
UD
46252012-01-07 Ulrich Drepper <drepper@gmail.com>
4626
a784e502
UD
4627 [BZ #13553]
4628 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4629 for non-gcc.
4630 * argp/argp-fmtstream.h: Use const instead __const.
4631 * argp/argp.h: Likewise.
4632 * assert/assert.h: Likewise.
4633 * bits/fenv.h: Likewise.
4634 * bits/sched.h: Likewise.
4635 * bits/sigset.h: Likewise.
4636 * bits/sigthread.h: Likewise.
4637 * catgets/nl_types.h: Likewise.
4638 * conform/data/pthread.h-data: Likewise.
4639 * crypt/crypt-private.h: Likewise.
4640 * crypt/crypt.h: Likewise.
4641 * crypt/crypt_util.c: Likewise.
4642 * ctype/ctype.h: Likewise.
4643 * debug/execinfo.h: Likewise.
4644 * debug/mbsnrtowcs_chk.c: Likewise.
4645 * debug/mbsrtowcs_chk.c: Likewise.
4646 * debug/wcsnrtombs_chk.c: Likewise.
4647 * debug/wcsrtombs_chk.c: Likewise.
4648 * debug/wcstombs_chk.c: Likewise.
4649 * dirent/dirent.h: Likewise.
4650 * dlfcn/dlfcn.h: Likewise.
4651 * elf/neededtest4.c: Likewise.
4652 * grp/grp.h: Likewise.
4653 * gshadow/gshadow.h: Likewise.
4654 * iconv/gconv.h: Likewise.
4655 * iconv/gconv_int.h: Likewise.
4656 * iconv/gconv_simple.c: Likewise.
4657 * iconv/iconv.h: Likewise.
4658 * iconv/loop.c: Likewise.
4659 * iconv/skeleton.c: Likewise.
4660 * include/aio.h: Likewise.
4661 * include/aliases.h: Likewise.
4662 * include/argz.h: Likewise.
4663 * include/arpa/inet.h: Likewise.
4664 * include/assert.h: Likewise.
4665 * include/dirent.h: Likewise.
4666 * include/dlfcn.h: Likewise.
4667 * include/execinfo.h: Likewise.
4668 * include/fcntl.h: Likewise.
4669 * include/fenv.h: Likewise.
4670 * include/glob.h: Likewise.
4671 * include/grp.h: Likewise.
4672 * include/libintl.h: Likewise.
4673 * include/mntent.h: Likewise.
4674 * include/netdb.h: Likewise.
4675 * include/pwd.h: Likewise.
4676 * include/rpc/netdb.h: Likewise.
4677 * include/sched.h: Likewise.
4678 * include/search.h: Likewise.
4679 * include/shadow.h: Likewise.
4680 * include/signal.h: Likewise.
4681 * include/stdio.h: Likewise.
4682 * include/stdlib.h: Likewise.
4683 * include/string.h: Likewise.
4684 * include/sys/socket.h: Likewise.
4685 * include/sys/stat.h: Likewise.
4686 * include/sys/statfs.h: Likewise.
4687 * include/sys/statvfs.h: Likewise.
4688 * include/sys/syslog.h: Likewise.
4689 * include/sys/time.h: Likewise.
4690 * include/sys/uio.h: Likewise.
4691 * include/time.h: Likewise.
4692 * include/unistd.h: Likewise.
4693 * include/utmp.h: Likewise.
4694 * include/wchar.h: Likewise.
4695 * include/wctype.h: Likewise.
4696 * inet/aliases.h: Likewise.
4697 * inet/arpa/inet.h: Likewise.
4698 * inet/netinet/ether.h: Likewise.
4699 * inet/netinet/in.h: Likewise.
4700 * intl/libintl.h: Likewise.
4701 * io/bits/fcntl2.h: Likewise.
4702 * io/fcntl.h: Likewise.
4703 * io/ftw.h: Likewise.
4704 * io/sys/poll.h: Likewise.
4705 * io/sys/stat.h: Likewise.
4706 * io/sys/statfs.h: Likewise.
4707 * io/sys/statvfs.h: Likewise.
4708 * io/utime.h: Likewise.
4709 * libio/bits/stdio.h: Likewise.
4710 * libio/bits/stdio2.h: Likewise.
4711 * libio/libio.h: Likewise.
4712 * libio/libioP.h: Likewise.
4713 * libio/stdio.h: Likewise.
4714 * locale/lc-ctype.c: Likewise.
4715 * locale/locale.h: Likewise.
4716 * login/utmp.h: Likewise.
4717 * malloc/arena.c: Likewise.
4718 * malloc/malloc.c: Likewise.
4719 * malloc/malloc.h: Likewise.
4720 * malloc/mcheck.c: Likewise.
4721 * malloc/mtrace.c: Likewise.
4722 * math/bits/mathcalls.h: Likewise.
4723 * math/fenv.h: Likewise.
4724 * math/math_private.h: Likewise.
4725 * misc/bits/error.h: Likewise.
4726 * misc/bits/syslog.h: Likewise.
4727 * misc/err.h: Likewise.
4728 * misc/error.h: Likewise.
4729 * misc/fstab.h: Likewise.
4730 * misc/mntent.h: Likewise.
4731 * misc/regexp.h: Likewise.
4732 * misc/search.h: Likewise.
4733 * misc/sgtty.h: Likewise.
4734 * misc/sys/mman.h: Likewise.
4735 * misc/sys/syslog.h: Likewise.
4736 * misc/sys/uio.h: Likewise.
4737 * misc/sys/xattr.h: Likewise.
4738 * misc/ttyent.h: Likewise.
4739 * nis/rpcsvc/ypclnt.h: Likewise.
4740 * nss/nss.h: Likewise.
4741 * posix/bits/unistd.h: Likewise.
4742 * posix/fnmatch.h: Likewise.
4743 * posix/glob.h: Likewise.
4744 * posix/sched.h: Likewise.
4745 * posix/spawn.h: Likewise.
4746 * posix/sys/wait.h: Likewise.
4747 * posix/unistd.h: Likewise.
4748 * posix/wordexp.h: Likewise.
4749 * pwd/pwd.h: Likewise.
4750 * resolv/netdb.h: Likewise.
4751 * resource/sys/resource.h: Likewise.
4752 * rt/aio.h: Likewise.
4753 * rt/bits/mqueue2.h: Likewise.
4754 * rt/mqueue.h: Likewise.
4755 * shadow/shadow.h: Likewise.
4756 * signal/signal.h: Likewise.
4757 * socket/send.c: Likewise.
4758 * socket/sendto.c: Likewise.
4759 * socket/sys/socket.h: Likewise.
4760 * stdio-common/printf.h: Likewise.
4761 * stdlib/bits/stdlib.h: Likewise.
4762 * stdlib/fmtmsg.h: Likewise.
4763 * stdlib/monetary.h: Likewise.
4764 * stdlib/stdlib.h: Likewise.
4765 * stdlib/ucontext.h: Likewise.
4766 * streams/stropts.h: Likewise.
4767 * string/argz.h: Likewise.
4768 * string/bits/string2.h: Likewise.
4769 * string/string.h: Likewise.
4770 * string/strings.h: Likewise.
4771 * sunrpc/rpc/auth.h: Likewise.
4772 * sunrpc/rpc/auth_des.h: Likewise.
4773 * sunrpc/rpc/clnt.h: Likewise.
4774 * sunrpc/rpc/netdb.h: Likewise.
4775 * sunrpc/rpc/pmap_clnt.h: Likewise.
4776 * sunrpc/rpc/xdr.h: Likewise.
4777 * sysdeps/generic/inttypes.h: Likewise.
4778 * sysdeps/generic/net/if.h: Likewise.
4779 * sysdeps/generic/sys/swap.h: Likewise.
4780 * sysdeps/gnu/net/if.h: Likewise.
4781 * sysdeps/gnu/utmpx.h: Likewise.
4782 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4783 * sysdeps/i386/i486/bits/string.h: Likewise.
4784 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4785 * sysdeps/s390/bits/string.h: Likewise.
4786 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4787 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4788 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4789 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4790 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4791 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4792 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4793 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4794 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4795 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4796 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4797 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4798 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4799 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4800 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4801 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4802 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4803 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4804 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4805 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4806 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4807 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4808 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4809 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4810 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4811 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4812 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4813 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4814 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4815 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4816 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4817 * sysvipc/sys/ipc.h: Likewise.
4818 * sysvipc/sys/msg.h: Likewise.
4819 * sysvipc/sys/sem.h: Likewise.
4820 * sysvipc/sys/shm.h: Likewise.
4821 * termios/termios.h: Likewise.
4822 * time/sys/time.h: Likewise.
4823 * time/time.h: Likewise.
4824 * wcsmbs/bits/wchar2.h: Likewise.
4825 * wcsmbs/uchar.h: Likewise.
4826 * wcsmbs/wchar.h: Likewise.
4827 * wctype/wctype.h: Likewise.
4828
0269750c
UD
4829 [BZ #13551]
4830 * Makeconfig: Remove all but ELF support including AIX support.
4831 * Makerules: Likewise.
4832 * config.h.in: Likewise.
4833 * config.make.in: Likewise.
4834 * configure: Likewise.
4835 * configure.in: Likewise.
4836 * csu/Makefile: Likewise.
4837 * csu/version.c: Likewise.
4838 * debug/Makefile: Likewise.
4839 * dlfcn/Makefile: Likewise.
4840 * elf/Makefile: Likewise.
4841 * extra-lib.mk: Likewise.
4842 * iconv/Makefile: Likewise.
4843 * include/libc-symbols.h: Likewise.
4844 * include/shlib-compat.h: Likewise.
4845 * resolv/Makefile: Likewise.
4846 * resolv/res_libc.c: Likewise.
4847 * rt/Makefile: Likewise.
4848 * sysdeps/i386/asm-syntax.h: Likewise.
4849 * sysdeps/i386/sysdep.h: Likewise.
4850 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4851 * sysdeps/mach/sysdep.h: Likewise.
4852 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4853 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4854 * sysdeps/s390/asm-syntax.h: Likewise.
4855 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4856 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4857 * sysdeps/sh/sysdep.h: Likewise.
4858 * sysdeps/unix/sparc/sysdep.h: Likewise.
4859 * sysdeps/wordsize-32/divdi3.c: Likewise.
4860 * sysdeps/x86_64/sysdep.h: Likewise.
4861
00bbd29b
UD
4862 * argp/Versions: Remove _argp_unlock_xxx.
4863
4864 [BZ #13559]
4865 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4866 * abilist/libBrokenLocale.abilist: Likewise.
4867 * abilist/libanl.abilist: Likewise.
4868 * abilist/libc.abilist: Likewise.
4869 * abilist/libcrypt.abilist: Likewise.
4870 * abilist/libdl.abilist: Likewise.
4871 * abilist/libm.abilist: Likewise.
4872 * abilist/libnsl.abilist: Likewise.
4873 * abilist/libpthread.abilist: Likewise.
4874 * abilist/libresolv.abilist: Likewise.
4875 * abilist/librt.abilist: Likewise.
4876 * abilist/libthread_db.abilist: Likewise.
4877 * abilist/libutil.abilist: Likewise.
4878 * abilist/libnss_db.abilist: New file.
4879
4880 * scripts/abilist.awk: Add support for indirect functions.
4881
a2693a0e
UD
4882 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4883
3f05895f
UD
4884 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4885
ecb6fb48
UD
4886 * shlib-versions: Remove entries for ports architectures.
4887
664f8cb9
UD
4888 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4889 files in ports.
4890 * elf/stackguard-macros.h: Remove support for IA-64.
4891 * elf/tst-auditmod1.c: Likewise.
4892 * sysdeps/generic/ldsodefs.h: Likewise.
4893
7ae81d88
UD
4894 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4895 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4896 configure files.
4897
bdeba135
UD
4898 [BZ #13552]
4899 * configure.in: Remove --enable-omitfp support.
4900 * FAQ.in: Adjust.
4901 * config.make.in: Likewise.
4902 * Makeconfig: Likewise.
4903 * manual/install.texi: Likewise.
4904
d75a0a62
UD
4905 In case anyone cares, the IA-64 architecture could move to ports.
4906 * sysdeps/ia64/*: Removed.
4907 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4908 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4909
dcc9756b
UD
4910 [BZ #13555]
4911 * configure.in: Remove entries for unsupported architectures.
4912
d3761ebc 4913 [BZ #13533]
9954432e
UD
4914 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4915 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4916 routines.
4917 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4918 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4919 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4920 fall back to using wcrtomb.
4921 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4922 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4923 renaming.
4924 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4925 * wcsmbs/tst-c16c32-1.c: New file.
4926
4927 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4928 local variable.
4929
c3a87236
UD
4930 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4931
28926a1b
UD
4932 * elf/tst-unique3.cc: Add explicit declaration of gets.
4933 * elf/tst-unique3lib.cc: Likewise.
4934 * elf/tst-unique3lib2.cc: Likewise.
4935 * elf/tst-unique4.cc: Likewise.
4936
df78418a
UD
4937 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4938
8ecd6b2a
JM
49392012-01-06 Joseph Myers <joseph@codesourcery.com>
4940
4941 [BZ #13566]
4942 * assert/assert.h (static_assert): Don't define for C++.
4943 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4944 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4945
9f115170
UD
49462012-01-03 Ulrich Drepper <drepper@gmail.com>
4947
5e0d0300
UD
4948 * iconv/loop.c (single loop): Fix assertion in storing of
4949 remaining bytes.
4950
9f115170
UD
4951 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4952
81fb02b0
UD
49532012-01-01 Ulrich Drepper <drepper@gmail.com>
4954
4955 * posix/getconf.c: Update copyright year.
4956 * nss/getent.c: Likewise.
a316c1f6 4957 * nss/makedb.c: Likewise.
81fb02b0
UD
4958 * iconv/iconvconfig.c: Likewise.
4959 * iconv/iconv_prog.c: Likewise.
4960 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4961 * elf/pldd.c: Likewise.
4962 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4963 * catgets/gencat.c: Likewise.
4964 * csu/version.c: Likewise.
4965 * elf/ldd.bash.in: Likewise.
4966 * elf/sprof.c (print_version): Likewise.
4967 * locale/programs/locale.c: Likewise.
4968 * locale/programs/localedef.c: Likewise.
a316c1f6 4969 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4970 * nscd/nscd.c (print_version): Likewise.
4971 * debug/xtrace.sh: Likewise.
4972 * malloc/memusage.sh: Likewise.
4973 * malloc/mtrace.pl: Likewise.
4974 * debug/catchsegv.sh: Likewise.
4975
2ba92745
JJ
49762011-12-30 Jakub Jelinek <jakub@redhat.com>
4977
4978 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4979 pure attribute.
4980
dadebdae
UD
49812011-12-24 Ulrich Drepper <drepper@gmail.com>
4982
d3761ebc 4983 [BZ #13533]
db6af3eb
UD
4984 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4985 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4986 transformations.
4987 * iconv/gconv_int.h: Likewise.
4988 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4989 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4990 from libc for GLIBC_2.16.
4991 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4992 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4993 * wcsmbs/uchar.h: Really define mbstate_t.
4994 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4995 * wcsmbs/c16rtomb.c: New file.
4996 * wcsmbs/mbrtoc16.c: New file.
4997 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4998 for C/POSIX locale.
4999 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
5000 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
5001
dadebdae
UD
5002 * wcsmbs/wchar.h: Add missing __restrict.
5003
67371b56
UD
50042011-12-23 Ulrich Drepper <drepper@gmail.com>
5005
74033a25
UD
5006 [BZ #13532]
5007 * time/Makefile (routines): Add timespec_get.
5008 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
5009 * time/time.h: Define TIME_UTC and declare timespec_get. Define
5010 timespec for ISO C11.
5011 * time/timespec_get.c: New file.
5012 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
5013 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
5014
380d7e87
UD
5015 [BZ #13531]
5016 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
5017 * stdlib/stdlib.h: Declare aligned_alloc.
5018 * Versions.def: Add GLIBC_2.16 for libc.
5019 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
5020
4e9e7a35
UD
5021 [BZ 13527]
5022 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
5023 ISO C11.
5024
380d7e87 5025 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
5026 code.
5027
03a71829
UD
5028 [BZ #13528]
5029 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
5030
839e283e
UD
5031 [BZ #13529]
5032 * assert/assert.h (static_assert): Define.
5033
ce5294e2 5034 * version.h: Update for 2.16 development version.
90fa7312 5035
8d44e150 5036 [BZ #13526]
d7809905
UD
5037 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
5038 _ISOC11_SOURCE.
5039
c0da14cd
UD
5040 * version.h (RELEASE): Bump for 2.15 release.
5041 * include/features.h (__GLIBC_MINOR__): Bump to 15.
5042
530a3249
MP
5043 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
5044 Patch by Marek Polacek <mpolacek@redhat.com>.
5045
67371b56
UD
5046 * bits/byteswap.h: Protect long long constants with __extension__.
5047 * sysdeps/i386/bits/byteswap.h: Likewise.
5048 * sysdeps/ia64/bits/byteswap.h: Likewise.
5049 * sysdeps/s390/bits/byteswap.h: Likewise.
5050 * sysdeps/x86_64/bits/byteswap.h: Likewise.
5051
15db4de1
LD
50522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5053
5054 [BZ #13540]
bbe315ea
LD
5055 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
5056 destination buffer.
15db4de1
LD
5057 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5058
2b2596b1
MP
50592011-12-23 Marek Polacek <polacek@redhat.com>
5060
5061 * elf/dl-addr.c (determine_info): Add inline keyword.
5062 * elf/tst-auditmod4b.c (check_avx): Likewise.
5063 * elf/tst-auditmod6b.c (check_avx): Likewise.
5064 * elf/tst-auditmod6c.c (check_avx): Likewise.
5065 * elf/tst-auditmod7b.c (check_avx): Likewise.
5066
70c6c246
UD
50672011-12-23 Ulrich Drepper <drepper@gmail.com>
5068
5069 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5070 !__SSE_MATH__.
5071
c044cf14
LD
50722011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5073
15db4de1 5074 [BZ #13540]
c044cf14
LD
5075 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5076 processing for last bytes.
5077
6b13d9d9
BH
50782011-08-06 Bruno Haible <bruno@clisp.org>
5079
d455f537
BH
5080 [BZ #13061]
5081 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5082 U+0385, not to U+1FEE.
5083
6b13d9d9
BH
5084 [BZ #13062]
5085 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5086 entry for U+00A5 U+0301.
5087
db910efd
UD
50882011-12-22 Ulrich Drepper <drepper@gmail.com>
5089
27deeafc
UD
5090 [BZ #13166]
5091 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5092 buffer for the output is too small.
5093
aed9d171
UD
5094 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5095 optimization.
5096
db910efd
UD
5097 [BZ #13185]
5098 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5099 SSE flags if possible.
5100
2bd779ae
LD
51012011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5102
e7f9dac3 5103 [BZ #13540]
2bd779ae
LD
5104 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5105 processing for last bytes.
5106
154bfc16
JM
51072011-12-22 Joseph Myers <joseph@codesourcery.com>
5108
5109 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5110 (syscall-list-default-options, syscall-list-default-condition)
5111 (syscall-list-includes): Define.
5112 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5113 list of ABIs and options and #if conditions for each ABI. Do not
5114 handle common syscalls between ABIs specially.
5115 * sysdeps/unix/sysv/linux/powerpc/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 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5121 (syscall-list-variants, syscall-list-32bit-options)
5122 (syscall-list-32bit-condition, syscall-list-64bit-options)
5123 (syscall-list-64bit-condition): Define.
5124 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5125 Remove.
5126 (syscall-list-variants, syscall-list-32bit-options)
5127 (syscall-list-32bit-condition, syscall-list-64bit-options)
5128 (syscall-list-64bit-condition): Define.
5129 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5130 Remove.
5131 (syscall-list-variants, syscall-list-32bit-options)
5132 (syscall-list-32bit-condition, syscall-list-64bit-options)
5133 (syscall-list-64bit-condition): Define.
5134
21eaf3a5
UD
51352011-12-22 Ulrich Drepper <drepper@gmail.com>
5136
16c6f992
UD
5137 * locale/iso-639.def: Add brx entry.
5138
41043168
UD
5139 [BZ #13328]
5140 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5141 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5142
21eaf3a5
UD
5143 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5144 __feraiseexcept_renamed.
5145
e3a851a2
UD
51462011-12-21 Ulrich Drepper <drepper@gmail.com>
5147
4920765e
UD
5148 [BZ #13538]
5149 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5150 EPOLLET with unsigned values.
5151 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5152 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5153
e3a851a2
UD
5154 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5155 to large cancellation.
5156 * math/s_cacoshf.c: Likewise.
5157 * math/s_cacoshl.c: Likewise.
5158
b27e24b8
RK
51592011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5160
5161 [BZ #13305]
aebefeee 5162 [BZ #12786]
b27e24b8
RK
5163 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5164 * math/s_cacoshf.c: Likewise.
5165 * math/s_cacoshl.c: Likewise.
5166
ee190f67
UD
51672011-12-21 Ulrich Drepper <drepper@gmail.com>
5168
5169 [BZ #13439]
5170 * iconv/gconv.h: Define __GCONV_SWAP.
5171 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5172 * iconvdata/utf-16.c: Likewise.
5173 * iconvdata/utf-32.c: Likewise.
5174
707f25df
AS
51752011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5176
5177 [BZ #13524]
5178 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5179 numerator after shifting it by one limb.
5180
d2daaa1e
RÁE
51812011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5182
5183 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5184 under [__USE_EXTERN_INLINES].
5185
a4647e72
UD
51862011-12-17 Ulrich Drepper <drepper@gmail.com>
5187
5188 [BZ #13446]
5189 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5190
f0b264f1
AZ
51912011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5192
5193 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5194 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5195 optimized code.
5196 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5197 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5198 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5199 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5200 for strncasecmp/strncasecmp_l compilation.
5201 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5202 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5203
8ef4f244
MP
52042011-12-08 Marek Polacek <mpolacek@redhat.com>
5205
5206 [BZ #13484]
5207 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5208 of __asm__.
5209
97ac2654
UD
52102011-12-17 Ulrich Drepper <drepper@gmail.com>
5211
5212 [BZ #13506]
5213 * time/tzfile.c (__tzfile_read): Check values from file header.
5214
91d2a845
WS
52152011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5216
5217 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5218 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5219 * powerpc/powerpc32/dl-start.S: Likewise.
5220 * powerpc/powerpc32/elf/start.S: Likewise.
5221 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5222 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5223 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5224 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5225 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5226 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5227 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5228 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5229 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5230 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5231 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5232 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5233 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5234 * powerpc/powerpc32/memset.S: Likewise.
5235 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5236 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5237 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5238 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5239 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5240 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5241 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5242 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5243 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5244 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5245 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5246 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5247 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5248
a1267ba1
AZ
52492011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5250
5251 * math/libm-test.inc: Added more nearbyint tests.
5252 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5253 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5254 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5255 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5256
ad8ac1bd
RL
52572011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5258
5259 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5260 FD_CLOEXEC.
5261
1d3e4b61
UD
52622011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5263
5264 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5265 Add wcscpy-ssse3 wcscpy-c.
5266 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5267 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5268 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5269 * sysdeps/x86_64/wcschr.S: New file.
5270 * sysdeps/x86_64/wcsrchr.S: New file.
5271 * string/test-strcmp.c: Remove checking of wcscmp function for
5272 wrong alignments.
5273 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5274 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5275 wcsrchr-sse2 wcsrchr-c.
5276 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5277 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5278 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5279 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5280 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5281 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5282 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5283 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5284 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5285 * wcsmbc/wcschr.c (WCSCHR): New macro.
5286
5b330a2d
UD
52872011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5288
5289 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5290 * wcsmbs/test-wcsrchr.c: New file.
5291 * string/test-strrchr.c: Add wcsrchr support.
5292 (WIDE): New macro.
5293 * wcsmbs/test-wcscpy.c: New file.
5294 * string/test-strcpy.c: Add wcscpy support.
5295 (WIDE): New macro.
26428b7c 5296
f039c043
UD
52972011-12-10 Ulrich Drepper <drepper@gmail.com>
5298
5299 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5300 the inner loop.
5301
850fb039
AS
53022011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5303
5304 [BZ #13472]
5305 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5306
4efbd5cb
UD
53072011-12-04 Ulrich Drepper <drepper@gmail.com>
5308
52ff5dd0 5309 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 5310 Minor optimizations.
52ff5dd0 5311
4efbd5cb
UD
5312 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5313 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5314 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5315
8a426e12
UD
53162011-12-03 Ulrich Drepper <drepper@gmail.com>
5317
aff2453d
UD
5318 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5319 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5320 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5321 for gcc to avoid warnings.
5322 * inet/Makefile (tests): Add tst-checks.
5323 * inet/tst-checks.c: New file.
5324
5325 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5326 warning.
5327
5328 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5329 __wmemcmp_sse2.
5330
5331 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5332 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5333
8a426e12
UD
5334 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5335
9bea3473
UD
53362011-12-02 Ulrich Drepper <drepper@gmail.com>
5337
3a965496
UD
5338 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5339 problem.
5340
9bea3473
UD
5341 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5342
f101631b
UD
53432011-11-29 Joseph Myers <joseph@codesourcery.com>
5344
5345 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5346 conditional on GCC version.
5347 (__arch_compare_and_exchange_val_8_acq)
5348 (__arch_compare_and_exchange_val_16_acq)
5349 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5350 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5351 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5352
a98275aa
UD
53532011-12-02 Joseph Myers <joseph@codesourcery.com>
5354
5355 * sysdeps/sh/backtrace.c: New file.
5356
d4cc29a2
AS
53572011-12-02 Andreas Schwab <schwab@redhat.com>
5358
5359 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5360 parenthesis.
5361
6257af2d
AS
53622011-12-01 Andreas Schwab <schwab@redhat.com>
5363
5364 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5365 falling back to utime.
5366
b5f44c1a
AS
53672011-11-30 Andreas Schwab <schwab@redhat.com>
5368
5369 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5370 expectations for float.
5371
f3a6cc0a
AS
53722011-11-29 Andreas Schwab <schwab@redhat.com>
5373
5374 * locale/weight.h (findidx): Add parameter len.
5375 * locale/weightwc.h (findidx): Likewise.
5376 * posix/fnmatch_loop.c (FCT): Adjust caller.
5377 * posix/regcomp.c (build_equiv_class): Likewise.
5378 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5379 * posix/regexec.c (check_node_accept_bytes): Likewise.
5380 * string/strcoll_l.c (STRCOLL): Likewise.
5381 * string/strxfrm_l.c (STRXFRM): Likewise.
5382
9d65ea3a
UD
53832011-11-17 Ulrich Drepper <drepper@gmail.com>
5384
5385 * Makefile.in: Remove CVSOPT handling.
5386 * configure.in: Remove use of AC_REVISION.
5387 * iconvdata/Makefile (distribute): No need to filter out CVS.
5388 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5389 handling.
5390
5583a086
AS
53912011-11-16 Andreas Schwab <schwab@redhat.com>
5392
5393 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5394 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5395 [USE_AS_STRNCASECMP_L]: Likewise.
5396 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5397 NO_TLS_DIRECT_SEG_REFS.
5398 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5399 Fix argument offsets for non-PIC.
5400 [USE_AS_STRNCASECMP_L]: Likewise.
5401 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5402 NO_TLS_DIRECT_SEG_REFS.
5403
d62a8200
UD
54042011-11-15 Ulrich Drepper <drepper@gmail.com>
5405
9d65ea3a 5406 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
5407 O_CLOEXEC.
5408 * locale/loadlocale.c (_nl_load_locale): Likewise.
5409
09f93bd3
AS
54102011-11-15 Andreas Schwab <schwab@redhat.com>
5411
446514f9
AS
5412 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5413 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5414 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5415 (SYSCALL_GETTIME): Set errno on error.
5416
09f93bd3
AS
5417 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5418 count references to noai6ai_cached.
5419
312be3f9
UD
54202011-11-15 Ulrich Drepper <drepper@gmail.com>
5421
5422 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5423
5424 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5425 FD_CLOEXEC for /proc/self/maps.
5426
5427 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5428 FD_CLOEXEC for /proc/meminfo.
5429
5430 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5431 gai.conf.
5432
5433 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5434 FD_CLOEXEC for given file.
5435
5436 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5437
5438 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5439 FD_CLOEXEC for /etc/hosts.
5440 (_gethtent): Likewise.
5441
5442 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5443
5444 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5445 cancellation and set FD_CLOEXEC for /etc/netgroup.
5446
5447 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5448 reading /etc/publickey.
5449
5450 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5451 allow cancellation when reading /etc/group.
5452
5453 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5454 cancellation.
5455 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5456
5457 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5458 when using data file.
5459
5460 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5461
5462 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5463 (write_nis_obj): Use "c" and "e" in fopen.
5464
5465 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5466
5467 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5468
5469 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5470
5471 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5472
5473 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5474 locale.alias.
5475
5476 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5477
5478 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5479
5480 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5481
5482 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5483 file parsing and set FD_CLOEXEC.
5484
82af0fa8
UD
54852011-11-14 Ulrich Drepper <drepper@gmail.com>
5486
5487 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5488
a5fb313c
AS
54892011-11-14 Andreas Schwab <schwab@redhat.com>
5490
5491 * malloc/arena.c (arena_get2): Don't call reused_arena when
5492 _int_new_arena failed.
5493
6abf3465
UD
54942011-11-14 Ulrich Drepper <drepper@gmail.com>
5495
5496 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5497 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5498 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5499 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5500 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5501 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5502 to compile strcasecmp and strncasecmp.
5503 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5504 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5505
5506 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5507
76e3966e
UD
55082011-11-13 Ulrich Drepper <drepper@gmail.com>
5509
5510 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5511 locale-defines.sym to gen-as-const-headers.
5512 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5513 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5514 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5515 to compile strcasecmp and strncasecmp.
5516 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5517 strcasecmp_l and strncasecmp_l.
5518 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5519 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5520 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5521 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5522 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5523 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5524 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5525 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5526 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5527 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5528 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5529
ab26144e
UD
55302011-11-12 Ulrich Drepper <drepper@gmail.com>
5531
7edb22ef
UD
5532 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5533 result of SYSDEP_GETTIME_CPU to retval.
5534 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5535 parameter list to macro. Remove trailing semicolon. Adjust users.
5536
9694fc44
UD
5537 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5538 variable.
5539
8ad89ef8
UD
5540 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5541 mantissa words.
5542 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5543
0c822ef9
UD
5544 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5545 from unused variable.
5546
874e0564
UD
5547 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5548 DWARF definitions.
5549 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5550 for assembling.
5551
3a2edc79
UD
5552 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5553 over namespaces.
5554
f3c2577f
UD
5555 * sunrpc/rpc_prot.c (rejected): Fix case value.
5556
294ce126
UD
5557 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5558 unsigned long long int to avoid warnings in shift.
5559
5e2b63c6
UD
5560 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5561 of use of trans.
5562 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5563 variable tmp.
5564
e7f4b08e
UD
5565 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5566 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5567 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5568
ab26144e
UD
5569 * nis/nis_table.c (nis_list): Use variable of correct type for
5570 result of __follow_path call.
5571
8a6d5255
AZ
55722011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5573
5574 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5575 of math functions ceil, trunc, floor, round, and sqrt, when
5576 avaliable on the platform.
5577 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5578 name clash.
5579 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5580 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5581 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5582
aaddc98c
MP
55832011-10-30 Marek Polacek <mpolacek@redhat.com>
5584
5585 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5586 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5587
95b7042b
RM
55882011-11-11 Roland McGrath <roland@hack.frob.com>
5589
5590 * include/unistd.h: Fix __readlink return type.
5591 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5592
57769839
UD
55932011-11-11 Ulrich Drepper <drepper@gmail.com>
5594
5595 * stdlib/ucontext.h: Undo last change for makecontext.
5596
edc5984d
AS
55972011-11-11 Andreas Schwab <schwab@redhat.com>
5598
98591e58
AS
5599 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5600
edc5984d
AS
5601 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5602 * setjmp/setjmp.h: Mark functions as non-leaf.
5603 * setjmp/bits/setjmp2.h: Likewise.
5604 * stdlib/ucontext.h: Likewise.
5605
77cdc054
AS
56062011-11-10 Andreas Schwab <schwab@redhat.com>
5607
5608 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5609 (reused_arena): Don't check arena limit.
5610 (arena_get2): Atomically check arena limit.
5611
fe72eebd
UD
56122011-11-08 Ulrich Drepper <drepper@gmail.com>
5613
5f078c32
UD
5614 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5615 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5616
fe72eebd
UD
5617 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5618 instructions.
5619
ae1bc2fa
AS
56202011-11-07 Andreas Schwab <schwab@redhat.com>
5621
7583a88d
AS
5622 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5623 handler when locking.
5624
ae1bc2fa
AS
5625 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5626 Fix size of allocated buffer.
5627
10fb0bfa
AS
56282011-11-04 Andreas Schwab <schwab@redhat.com>
5629
998832a4
AS
5630 [BZ #10103]
5631 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5632 declarations for long double functions.
5633 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5634
10fb0bfa
AS
5635 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5636
3d7ba52b
AS
56372011-11-03 Andreas Schwab <schwab@redhat.com>
5638
a9ae54a1
AS
5639 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5640 installed.
5641
3d7ba52b
AS
5642 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5643 is disabled.
5644
bc8db248
ST
56452011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5646
5647 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5648
45b96dd6
AS
56492011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5650
647776f6
AS
5651 * include/alloca.h (stackinfo_alloca_round): Define.
5652 (extend_alloca): Use it.
5653 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5654 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5655 here.
5656
d91a8b93
AS
5657 * scripts/check-local-headers.sh: Ignore libaudit.h.
5658
45b96dd6
AS
5659 * nscd/Makefile (extra-objs): Make recursively expanded.
5660
432d41ce
UD
56612011-11-01 Ulrich Drepper <drepper@gmail.com>
5662
34372fc6
UD
5663 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5664 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5665
fadb59f8
UD
5666 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5667 * posix/tst-rfc3484-2.c: Likewise.
5668 * posix/tst-rfc3484-3.c: Likewise.
5669
78239589
UD
5670 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5671 process_vm_writev.
5672 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5673 process_vm_writev.
5674 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5675 process_vm_writev from libc using GLIBC_2.15 version.
5676
432d41ce
UD
5677 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5678
02f9c6cf
PP
56792011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5680
5681 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5682 stack usage.
5683
3a2c0242
UD
56842011-10-31 Ulrich Drepper <drepper@gmail.com>
5685
f4ec4833
UD
5686 [BZ #13367]
5687 * nss/getent.c (initgroups_keys): Show error message in case no group
5688 names are given.
5689
3a2c0242
UD
5690 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5691 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5692 __bump_nl_timestamp.
5693 * nscd/connections (nscd_init): When host database is served open
5694 netlink socket and request notification about configuration changes.
5695 (main_loop_poll): Track netlink file descriptor and bump timestamp
5696 in case data becomes available.
5697 (main_loop_epoll): Likewise.
5698 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5699 (database_pers_head): Add extra_data fileds.
5700 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5701 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5702 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5703 Adjust caller.
5704 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5705 in6ai data, call __free_in6ai.
5706 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5707 Add -DHAVE_NETLINK.
5708 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5709 interface information. Reuse previous data if netlink timestamp
5710 is not changed.
5711 (__bump_nl_timestamp): New function.
5712 (__free_in6ai): New function.
5713
636064eb
UD
57142011-10-30 Ulrich Drepper <drepper@gmail.com>
5715
5716 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5717 close_not_cancel_no_status here.
5718 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5719
9beb2334
UD
57202011-10-29 Ulrich Drepper <drepper@gmail.com>
5721
6ef76f3b
UD
5722 [BZ #13276]
5723 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5724 return value.
5725
0ffc4f3e 5726 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5727 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5728 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5729
cb95113e
UD
57302011-07-03 Andreas Jaeger <aj@suse.de>
5731
5732 [BZ #10709]
5733 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5734 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5735 * math/libm-test.inc (sin_test): Add test case.
5736
a1b560ff
UD
57372011-10-29 Ulrich Drepper <drepper@gmail.com>
5738
c9aaface
UD
5739 [BZ #13337]
5740 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5741 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5742
d272e7f1
UD
5743 * elf/chroot_canon.c (chroot_canon): Cleanups.
5744
1bc33071
UD
5745 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5746
1760874d
TJ
5747 [BZ #13335]
5748 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5749 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5750
51d91b18
UD
5751 * string/test-strchr.c: Make usable for strchrnul testing.
5752 * string/test-strchrnul.c: New file.
5753 * string/Makefile (strop-tests): Add strchrnul.
5754
a1b560ff 5755 * po/it.po: Update from translation team.
b611fb81 5756 * po/es.po: Likewise.
a1b560ff 5757
a5b81e1f
UD
57582011-10-28 Ulrich Drepper <drepper@gmail.com>
5759
fd52bc6d
UD
5760 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5761 the three constants needed as parameters. Drop the others.
5762 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5763 __m128i_strloadu_tolower.
52e4b9eb
UD
5764 Create and initialize variable zero and use it in all the places
5765 where _mm_setzero_si128 was used.
fd52bc6d 5766
a5b81e1f
UD
5767 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5768 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5769 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5770 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5771 anymore.
5772 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5773 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5774 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5775 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5776 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5777 __mpranred, __mptan.
5778 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5779 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5780 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5781 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5782 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5783 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5784 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5785 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5786 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5787
b4343346
AS
57882011-10-28 Andreas Schwab <schwab@redhat.com>
5789
0c92d8a8
AS
5790 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5791 redefine if SHARED.
5792 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5793
b4343346
AS
5794 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5795 wide char related routines to wcsmbs subdir.
5796
3871f58f
AS
57972011-10-27 Andreas Schwab <schwab@redhat.com>
5798
5799 [BZ #13344]
5800 * misc/sys/cdefs.h (__THROWNL): Define.
5801 * posix/unistd.h: Use __THREADNL instead of __THREAD
5802 for memory synchronization functions.
5803
94d44d9f
RM
58042011-10-26 Roland McGrath <roland@hack.frob.com>
5805
21b64b15 5806 [BZ #13349]
94d44d9f
RM
5807 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5808 doesn't exist.
5809 * manual/stdio.texi (Obstack Streams): Node removed.
5810
f6ce9294
AS
58112011-10-26 Andreas Schwab <schwab@redhat.com>
5812
80479147
AS
5813 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5814 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5815 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5816
f6ce9294
AS
5817 * math/math_private.h (math_force_eval): Allow non-addressable
5818 arguments.
5819 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5820
618280a1
UD
58212011-10-25 Ulrich Drepper <drepper@gmail.com>
5822
e0016b11
UD
5823 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5824 file is not needed.
5825
5826 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5827 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5828 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5829 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5830 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5831 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5832 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5833 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5834 Add AVX variants.
5835 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5836 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5837 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5838 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5839 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5840 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5841 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5842 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5843 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5844 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5845 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5846 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5847 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5848 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5849 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5850 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5851 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5852 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5853 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5854
5855 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5856 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5857
618280a1
UD
5858 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5859 place. Use VEX encoding when compiling for AVX.
5860
37822576
AS
58612011-10-25 Andreas Schwab <schwab@redhat.com>
5862
1f1e1947
AS
5863 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5864 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5865
37822576
AS
5866 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5867
31ea014d
UD
58682011-10-25 Ulrich Drepper <drepper@gmail.com>
5869
d7826aa1 5870 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5871 useless if() expression.
d7826aa1
UD
5872 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5873 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5874 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5875 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5876 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5877 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5878 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5879 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5880 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5881 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5882 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5883 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5884 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5885 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5886 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5887 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5888 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5889 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5890 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5891
31ea014d
UD
5892 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5893
16437fec
AS
58942011-10-25 Andreas Schwab <schwab@redhat.com>
5895
5896 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5897 condition.
5898 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5899
31d3cc00
UD
59002011-10-25 Ulrich Drepper <drepper@gmail.com>
5901
5902 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5903 .text section. Avoid duplicate constants.
5904 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5905 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5906 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5907 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5908 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5909 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5910 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5911 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5912 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5913 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5914 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5915 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5916 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5917 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5918 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5919 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5920 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5921 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5922 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5923 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5924 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5925 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5926 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5927 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5928 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5929 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5930 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5931 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5932 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5933 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5934 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5935 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5936 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5937 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5938 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5939 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5940 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5941 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5942 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5943 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5944 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5945 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5946 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5947 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5948 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5949
58985aa9
UD
59502011-10-24 Ulrich Drepper <drepper@gmail.com>
5951
202c9deb
UD
5952 * sysdeps/x86_64/dla.h: Move to ...
5953 * sysdeps/x86_64/fpu/dla.h: ...here.
5954 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5955 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5956
af968f62
UD
5957 * config.make.in: Add have-mfma4 entry.
5958 * configure.in: Substitute libc_cv_cc_fma4.
5959 * math/Makefile (dbl-only-routines): Add sincostab.
5960 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5961 Use __sincostab not sincos.
5962 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5963 name is a macro.
5964 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5965 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5966 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5967 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5968 using __copysign.
5969 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5970 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5971 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5972 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5973 and __inv.
5974 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5975 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5976 __copysign.
5977 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5978 define aliases when function name is a macro.
5979 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5980 sysdeps/ieee754/dbl-64/sincos.tbl.
5981 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5982 fma4-enabled routines.
5983 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5984 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5985 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5986 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5987 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5988 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5989 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5990 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5991 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5992 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5993 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5994 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5995 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5996 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5997 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5998 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5999 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
6000 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
6001 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
6002 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
6003 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
6004 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
6005 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
6006 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
6007 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
6008 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
6009 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
6010 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
6011 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
6012 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
6013
58985aa9
UD
6014 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
6015 rename.
6016 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6017 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6018 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6019 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6020 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6021 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6022 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6023 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6024
a201fbcf
AS
60252011-10-24 Andreas Schwab <schwab@redhat.com>
6026
6027 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
6028
fc2ee42a
LD
60292011-10-23 Ulrich Drepper <drepper@gmail.com>
6030
bb3129bd
UD
6031 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
6032
0275fff8
UD
6033 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
6034 prediction.
6035 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
6036
2fa2ae85
UD
6037 * string/strnlen.c: Don't define STRNLEN, reverse logic.
6038 Remove unused variable magic_bits.
6039 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
6040
fc2ee42a
LD
6041 * string/strnlen.c: Define and use STRNLEN macro.
6042 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
6043 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
6044 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
6045 * wcsmbs/wcslen.c: Define and use WCSLEN.
6046 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
6047 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
6048 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
6049 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
6050 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
6051 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
6052 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6053
ce7dd29f
LD
60542011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6055
6056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6057 strnlen-sse2-no-bsf.
6058 Rename strlen-no-bsf to strlen-sse2-no-bsf.
6059 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
6060 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
6061 Add strnlen support.
6062 (USE_AS_STRNLEN): New macro.
6063 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6064 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6065 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6066 * sysdeps/x86_64/wcslen.S: New file.
6067
979c70a3
MZ
60682011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6069
6070 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6071 XMM-moves are used for copying on small sizes.
6072
2d09f82f
LD
60732011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6074
6075 * wcsmbs/Makefile (strop-tests): Add wcschr.
6076 * wcsmbs/test-wcschr.c: New file.
6077 * string/test-strchr.c: Update.
6078 Add wcschr support.
6079 (WIDE): New macro.
6080
619fccca
LD
60812011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6082
2d09f82f 6083 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
6084 * wcsmbs/test-wcslen.c: New file.
6085 * string/test-strlen.c: Update.
6086 Add wcslen support.
6087 (WIDE): New macro.
6088
09f699ea
UD
60892011-10-23 Ulrich Drepper <drepper@gmail.com>
6090
6091 * po/it.po: Update from translation team.
6092
95584d3b
LD
60932011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6094
6095 * sysdeps/x86_64/wcscmp.S: Update.
6096 Fix wrong comparison semantics.
6097 wcscmp shall use signed comparison not unsigned.
6098 Don't use substraction to avoid overflow bug.
6099 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6100 * wcsmbc/wcscmp.c: Likewise.
6101 * string/test-strcmp.c: Likewise.
6102 Add new tests to check cases with negative values.
6103
c8b3296b
UD
61042011-10-23 Ulrich Drepper <drepper@gmail.com>
6105
6106 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6107 * sysdeps/x86_64/dla.h: ...here. New file.
6108 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6109 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6110 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6111 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6112 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6113 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6114 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6115 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6116 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6117
246ad57a
AS
61182011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6119
6120 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6121 __ynl_finite aliases.
6122
a1a87169
UD
61232011-10-22 Ulrich Drepper <drepper@gmail.com>
6124
0d355eb7
UD
6125 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6126
a1a87169
UD
6127 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6128 define DLA_FMA.
6129 [DLA_FMA] (EMULV): Use DLA_FMA.
6130 [DLA_FMA] (MUL12): Use EMULV.
6131 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6132 that are not needed.
6133 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6134 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6135 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6136 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6137 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6138 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6139 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6140
ee2aafe0
AS
61412011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6142
6143 * math/s_nan.c: Undef __nan.
6144 * math/s_nanf.c: Undef __nanf.
6145 * math/s_nanl.c: Undef __nanl.
6146 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6147 "math_private.h".
6148
bc62c2fb
UD
61492011-10-22 Ulrich Drepper <drepper@gmail.com>
6150
77425c63
UD
6151 * math/s_catan.c: Add branch predictions.
6152 * math/s_catanf.c: Likewise.
6153 * math/s_catanh.c: Likewise.
6154 * math/s_catanhf.c: Likewise.
6155 * math/s_catanhl.c: Likewise.
6156 * math/s_catanl.c: Likewise.
6157 * math/s_cexp.c: Likewise.
6158 * math/s_cexpf.c: Likewise.
6159 * math/s_cexpl.c: Likewise.
6160 * math/s_clog.c: Likewise.
6161 * math/s_clog10.c: Likewise.
6162 * math/s_clog10f.c: Likewise.
6163 * math/s_clog10l.c: Likewise.
6164 * math/s_clogf.c: Likewise.
6165 * math/s_clogl.c: Likewise.
6166 * math/s_csqrt.c: Likewise.
6167 * math/s_csqrtf.c: Likewise.
6168 * math/s_csqrtl.c: Likewise.
6169 * math/s_ctanf.c: Likewise.
6170 * math/s_ctanh.c: Likewise.
6171 * math/s_ctanhf.c: Likewise.
6172 * math/s_ctanhl.c: Likewise.
6173 * math/s_ctanl.c: Likewise.
6174
bc62c2fb
UD
6175 * math/math_private.h: Define __nan, __nanf, __nanl.
6176 * math/s_cacosh.c: Include <math_private.h>.
6177 * math/s_cacoshl.c: Likewise.
6178 * math/s_casinh.c: Likewise.
6179 * math/s_casinhf.c: Likewise.
6180 * math/s_casinhl.c: Likewise.
6181 * math/s_ccos.c: Rely entire on ccosh.
6182 * math/s_ccosf.c: Rely entire on ccoshf.
6183 * math/s_ccosl.c: Rely entirely on ccoshl.
6184 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6185 Remove tests for FE_INVALID.
6186 * math/s_ccoshf.c: Likewise.
6187 * math/s_ccoshl.c: Likewise.
6188 * math/s_csin.c: Likewise.
6189 * math/s_csinf.c: Likewise.
6190 * math/s_csinh.c Likewise.
6191 * math/s_csinhf.c: Likewise.
6192 * math/s_csinhl.c: Likewise.
6193 * math/s_csinl.c: Likewise.
6194 * math/s_ctan.c: Likewise.
6195 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6196 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6197 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6198
8ec250a4
UD
61992011-10-21 Ulrich Drepper <drepper@gmail.com>
6200
c196fed8
UD
6201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6202 compilation problems.
6203
8ec250a4
UD
6204 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6205 __builtin_expect.
6206
8d4f46c6
UD
62072011-10-20 Ulrich Drepper <drepper@gmail.com>
6208
ed72b654
UD
6209 * sysdeps/i386/configure.in: Test for -mfma4 option.
6210 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6211 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6212 COMMON_CPUID_INDEX_80000001.
6213 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6214 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6215 use it if FMA3 is not supported.
6216 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6217
8d4f46c6
UD
6218 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6219 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6220
d45c60c2
AS
62212011-10-20 Andreas Schwab <schwab@redhat.com>
6222
6223 [BZ #12892]
6224 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6225 it would create a cycle with a link time dependency.
6226
d9a4d2ab
UD
62272011-10-19 Ulrich Drepper <drepper@gmail.com>
6228
855d1560
UD
6229 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6230 instruction.
6231 * string/Makefile (strop-tests): Add rawmemchr.
6232 * string/test-rawmemchr.c: New file.
6233
d9a4d2ab
UD
6234 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6235 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6236 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6237 when compiling str{,n}casecmp and when AVX is available. Hook up
6238 new optimized code in initializers.
6239
8f3b1ffe
AS
62402011-10-19 Andreas Schwab <schwab@redhat.com>
6241
6242 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6243 __feraiseexcept instead of feraiseexcept.
6244
d38f1dba
UD
62452011-10-18 Ulrich Drepper <drepper@gmail.com>
6246
d9a8d0ab
UD
6247 * math/math_private.h: Define defaults for libc_fetestexcept and
6248 libc_feupdateenv.
6249 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6250 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6251 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6252 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6253 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6254 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6255 libc_fetestexcept and libc_feupdateenv.
6256
4855e3dd
UD
6257 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6258 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6259 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6260 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6261 libc_feholdexcept_setround.
6262
581d30e3
UD
6263 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6264 Add s_nearbyint-c and s_nearbyintf-c.
6265 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6266 nearbyintf inlines.
6267 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6268 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6269 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6270 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6271
d38f1dba
UD
6272 * math/math_private.h: Define defaults for libc_fegetround,
6273 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6274 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6275 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6276 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6277 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6278 standard functions.
6279 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6280 Remove comments and hacks for old compiler versions.
6281 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6282 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6283 libc_feholdexceptl.
6284
caa6c9d8
AS
62852011-10-18 Andreas Schwab <schwab@redhat.com>
6286
6287 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
6288 (__feraiseexcept_renamed): Add __NTH.
6289 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
6290 namespace violations.
6291
97c066e6
UD
62922011-10-17 Ulrich Drepper <drepper@gmail.com>
6293
99ce7b04
UD
6294 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6295
1004d182
UD
6296 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6297
228a984d
UD
6298 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6299 recently added interfaces.
6300 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6301
c8553a6a
UD
6302 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6303 about macro parameter expansion.
6304
ed22dcf6
UD
6305 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6306 __NO_MATH_INLINES is defined. Cleanups.
6307
6308 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6309 and __floorf is target has SSE4.1.
6310 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6311 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6312 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6313 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6314
b171c137
UD
6315 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6316 name.
6317 (floorf): Likewise.
6318
97c066e6
UD
6319 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6320
629f62ef
AS
63212011-10-17 Andreas Schwab <schwab@redhat.com>
6322
49a43d80
AS
6323 * misc/sys/cdefs.h: Fix last change.
6324
629f62ef
AS
6325 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6326 database lookup.
6327
e453f6cd
UD
63282011-10-16 Ulrich Drepper <drepper@gmail.com>
6329
aa78043a
UD
6330 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6331
ad0f5cad
UD
6332 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6333 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6334 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6335 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6336 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6337 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6338 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6339 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6340 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6341 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6342 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6343 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6344 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6345 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6346 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6347 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6348 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6349 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6350 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6351 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6352 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6353 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6354
6355 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6356 ceil, ceilf, floor, floorf.
6357
6358 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6359 Perform IRELATIVE relocations last.
6360
e453f6cd
UD
6361 * elf/do-rel.h: Add another parameter nrelative, replacing the
6362 local variable with the same name. Change name of the function
6363 to end in Rel or Rela (uppercase).
6364 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6365 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6366 elf_dynamic_do_##reloc function.
6367
fd5bdc09
UD
63682011-10-15 Ulrich Drepper <drepper@gmail.com>
6369
79b195b5
UD
6370 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6371 is sufficient, at least on modern CPUs.
6372
d4a28569
UD
6373 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6374
b61099b5
UD
6375 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6376 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6377
bcf01e6d
UD
6378 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6379 __expl_finite.
6380 * math/bits/math-finite.h: Add entries for exp.
6381 * math/e_expl.c: Add __*_finite alias.
6382 * sysdeps/i386/fpu/e_exp.S: Likewise.
6383 * sysdeps/i386/fpu/e_expf.S: Likewise.
6384 * sysdeps/i386/fpu/e_expl.c: Likewise.
6385 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6386 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6387 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6388 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6389 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6390 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6391 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6392
ba1a0d59
UD
6393 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6394 is sufficient, at least on modern CPUs.
6395
fd5bdc09
UD
6396 * ctype/ctype-info.c (__ctype_init): Define.
6397 * include/ctype.h (__ctype_init): Declare.
6398 (__ctype_b_loc): The variable is always initialized.
6399 (__ctype_toupper_loc): Likewise.
6400 (__ctype_tolower_loc): Likewise.
6401 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6402 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6403
7872cfb0
AS
64042011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6405
b468825a
AS
6406 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6407
7872cfb0
AS
6408 * configure.in: Also look in $cxxmachine/include for C++ system
6409 headers.
6410
be13f7bf
LD
64112011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6412
6413 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6414 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6415 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6416 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6417 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6418 (USE_AS_WMEMCMP): New macro.
6419 Fixing indents.
6420 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6421 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6422 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6423 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6424 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6425 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6426 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6427 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6428 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6429 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6430 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6431 (USE_AS_WMEMCMP): New macro.
6432 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6433 * sysdeps/string/test-memcmp.c: Update.
6434 Fix simple_wmemcmp.
6435 Add new tests.
6436 * wcsmbs/wmemcmp.c: Update.
6437 (WMEMCMP): New macro.
6438 Fix overflow bug.
6439
556a2007
AJ
64402011-10-12 Andreas Jaeger <aj@suse.de>
6441
6442 [BZ #13268]
6443 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6444
538faaa7
UD
64452011-10-15 Ulrich Drepper <drepper@gmail.com>
6446
ab6737ff
UD
6447 * libio/iofwide.c (do_length): Avoid warning.
6448
538faaa7
UD
6449 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6450
396a21b1
UD
64512011-10-14 Ulrich Drepper <drepper@gmail.com>
6452
cdf2901f
UD
6453 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6454
38ad40ce
UD
6455 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6456 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6457 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6458 * sysdeps/i386/i686/fpu/e_log.S: New file.
6459 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6460 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6461
396a21b1
UD
6462 * ctype/ctype.h: Add support for inlined isXXX functions when
6463 compiling C++ code.
6464
6b1f68c9
AS
64652011-10-14 Andreas Schwab <schwab@redhat.com>
6466
349290c0
AS
6467 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6468
6b1f68c9
AS
6469 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6470
f2282d42
RM
64712011-10-13 Roland McGrath <roland@hack.frob.com>
6472
6473 [BZ #13291]
6474 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6475
5298ffa8
AS
64762011-10-13 Andreas Schwab <schwab@redhat.com>
6477
714fad23
AS
6478 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6479 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6480 feraiseexcept.
6481
81dcc7fb
AS
6482 * sysdeps/x86_64/memrchr.S: Check for zero size.
6483
5298ffa8
AS
6484 * string/stratcliff.c: Add memrchr tests.
6485
951fbcec
LD
64862011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6487
6488 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6489 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6490 rawmemchr-sse2 rawmemchr-sse2-bsf.
6491 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6492 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6493 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6494 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6495 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6496 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6497 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6498 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6499 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6500 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6501 * string/memrchr.c (MEMRCHR): New macro.
6502
0ac5ae23
UD
65032011-10-12 Ulrich Drepper <drepper@gmail.com>
6504
6505 Add integration with gcc's -ffinite-math-only and optimize wrapper
6506 functions in libm.
6507 * Versions.def: Define GLIBC_2.15 version for libm.
6508 * math/Makefile (headers): Add bits/math-finite.h.
6509 * math/bits/math-finite.h: New file.
6510 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6511 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6512 * math/e_acoshl.c: Add __*_finite alias.
6513 * math/e_acosl.c: Likewise.
6514 * math/e_asinl.c: Likewise.
6515 * math/e_atan2l.c: Likewise.
6516 * math/e_atanhl.c: Likewise.
6517 * math/e_coshl.c: Likewise.
6518 * math/e_exp10.c: Likewise.
6519 * math/e_exp10f.c: Likewise.
6520 * math/e_exp10l.c: Likewise.
6521 * math/e_exp2l.c: Likewise.
6522 * math/e_fmodl.c: Likewise.
6523 * math/e_gammal_r.c: Likewise.
6524 * math/e_hypotl.c: Likewise.
6525 * math/e_j0l.c: Likewise.
6526 * math/e_j1l.c: Likewise.
6527 * math/e_jnl.c: Likewise.
6528 * math/e_lgammal_r.c: Likewise.
6529 * math/e_log10l.c: Likewise.
6530 * math/e_log2l.c: Likewise.
6531 * math/e_logl.c: Likewise.
6532 * math/e_powl.c: Likewise.
6533 * math/e_sinhl.c: Likewise.
6534 * math/e_sqrtl.c: Likewise.
6535 * math/e_scalb.c: Completely rewritten and optimized.
6536 * math/e_scalbf.c: Likewise.
6537 * math/e_scalbl.c: Likewise.
6538 * math/w_acos.c: Likewise.
6539 * math/w_acosf.c: Likewise.
6540 * math/w_acosl.c: Likewise.
6541 * math/w_acosh.c: Likewise.
6542 * math/w_acoshf.c: Likewise.
6543 * math/w_acoshl.c: Likewise.
6544 * math/w_asin.c: Likewise.
6545 * math/w_asinf.c: Likewise.
6546 * math/w_asinl.c: Likewise.
6547 * math/w_atan2.c: Likewise.
6548 * math/w_atan2f.c: Likewise.
6549 * math/w_atan2l.c: Likewise.
6550 * math/w_atanh.c: Likewise.
6551 * math/w_atanhf.c: Likewise.
6552 * math/w_atanhl.c: Likewise.
6553 * math/w_exp10.c: Likewise.
6554 * math/w_exp10f.c: Likewise.
6555 * math/w_exp10l.c: Likewise.
6556 * math/w_fmod.c: Likewise.
6557 * math/w_fmodf.c: Likewise.
6558 * math/w_fmodl.c: Likewise.
6559 * math/w_j0.c: Likewise.
6560 * math/w_j0f.c: Likewise.
6561 * math/w_j0l.c: Likewise.
6562 * math/w_j1.c: Likewise.
6563 * math/w_j1f.c: Likewise.
6564 * math/w_j1l.c: Likewise.
6565 * math/w_jn.c: Likewise.
6566 * math/w_jnf.c: Likewise.
6567 * math/w_log.c: Likewise.
6568 * math/w_logf.c: Likewise.
6569 * math/w_logl.c: Likewise.
6570 * math/w_log10.c: Likewise.
6571 * math/w_log10f.c: Likewise.
6572 * math/w_log10l.c: Likewise.
6573 * math/w_log2.c: Likewise.
6574 * math/w_log2f.c: Likewise.
6575 * math/w_log2l.c: Likewise.
6576 * math/w_pow.c: Likewise.
6577 * math/w_powf.c: Likewise.
6578 * math/w_powl.c: Likewise.
6579 * math/w_remainder.c: Likewise.
6580 * math/w_remainderf.c: Likewise.
6581 * math/w_remainderl.c: Likewise.
6582 * math/w_scalb.c: Likewise.
6583 * math/w_scalbf.c: Likewise.
6584 * math/w_scalbl.c: Likewise.
6585 * math/w_sqrt.c: Likewise.
6586 * math/w_sqrtf.c: Likewise.
6587 * math/w_sqrtl.c: Likewise.
6588 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6589 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6590 used.
6591 * math/math_private.h: Declare __kernel_standard_f.
6592 * math/w_cosh.c: Remove cruft and optimize a bit.
6593 * math/w_coshf.c: Likewise.
6594 * math/w_coshl.c: Likewise.
6595 * math/w_exp2.c: Likewise.
6596 * math/w_exp2f.c: Likewise.
6597 * math/w_exp2l.c: Likewise.
6598 * math/w_hypot.c: Likewise.
6599 * math/w_hypotf.c: Likewise.
6600 * math/w_hypotl.c: Likewise.
6601 * math/w_lgamma.c: Likewise.
6602 * math/w_lgamma_r.c: Likewise.
6603 * math/w_lgammaf.c: Likewise.
6604 * math/w_lgammaf_r.c: Likewise.
6605 * math/w_lgammal.c: Likewise.
6606 * math/w_lgammal_r.c: Likewise.
6607 * math/w_sinh.c: Likewise.
6608 * math/w_sinhf.c: Likewise.
6609 * math/w_sinhl.c: Likewise.
6610 * math/w_tgamma.c: Likewise.
6611 * math/w_tgammaf.c: Likewise.
6612 * math/w_tgammal.c: Likewise.
6613 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6614 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6615 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6616 Minor optimizations. Pretty printing. Remove cruft.
6617 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6618 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6619 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6620 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6621 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6622 * sysdeps/i386/fpu/e_asin.S: Likewise.
6623 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6624 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6625 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6626 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6627 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6628 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6629 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6630 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6631 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6632 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6633 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6634 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6635 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6636 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6637 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6638 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6639 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6640 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6641 * sysdeps/i386/fpu/e_log.S: Likewise.
6642 * sysdeps/i386/fpu/e_log10.S: Likewise.
6643 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6644 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6645 * sysdeps/i386/fpu/e_log2.S: Likewise.
6646 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6647 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6648 * sysdeps/i386/fpu/e_logf.S: Likewise.
6649 * sysdeps/i386/fpu/e_logl.S: Likewise.
6650 * sysdeps/i386/fpu/e_pow.S: Likewise.
6651 * sysdeps/i386/fpu/e_powf.S: Likewise.
6652 * sysdeps/i386/fpu/e_powl.S: Likewise.
6653 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6654 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6655 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6656 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6657 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6658 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6659 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6660 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6661 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6662 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6663 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6664 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6665 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6666 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6667 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6668 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6669 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6670 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6671 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6672 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6673 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6674 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6675 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6676 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6677 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6678 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6679 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6680 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6681 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6682 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6683 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6684 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6685 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6686 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6687 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6688 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6689 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6690 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6691 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6692 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6693 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6694 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6695 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6696 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6697 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6698 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6699 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6700 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6701 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6702 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6703 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6704 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6706 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6708 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6709 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6711 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6712 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6713 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6714 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6715 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6716 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6717 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6718 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6719 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6720 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6721 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6725 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6727 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6728 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6729 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6730 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6731 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6732 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6733 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6734 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6735 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6736 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6737 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6738 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6739 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6740 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6742 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6743 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6744 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6745 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6746 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6747 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6748 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6749 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6750 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6751 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6752 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6753 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6754 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6755 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6756 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6757 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6758 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6759 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6760 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6761 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6762 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6763 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6764 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6765 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6766 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6767 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6768 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6769 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6770 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6771 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6772 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6773 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6774 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6775 (__isnanf): Likewise.
6776 (__isinf_ns): Likewise.
6777 (__isinf_nsf): Likewise.
6778 (__finite): Likewise.
6779 (__finitef): Likewise.
6780 (__ieee754_sqrt): Define as macro.
6781 (__ieee754_sqrtf): Define as macro.
6782 (__ieee754_sqrtl): Define as macro.
6783 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6784 inlined copy.
6785 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6786 __FINITE_MATH_ONLY__ consistent.
6787 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6788
12cc2fcd
AS
67892011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6790
a843a204
AS
6791 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6792 of rawmemchr.
6793
12cc2fcd
AS
6794 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6795
c853acd5
UD
67962011-10-09 Ulrich Drepper <drepper@gmail.com>
6797
6798 * po/ja.po: Update from translation team.
6799
c658d255
RM
68002011-10-08 Roland McGrath <roland@hack.frob.com>
6801
110946e4
RM
6802 * locale/programs/locarchive.c (prepare_address_space): New function.
6803 (create_archive, enlarge_archive, open_archive): Use it.
6804
50604220
RM
6805 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6806 inside [SHARED], where it is used.
6807
c658d255
RM
6808 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6809
6810 * nss/getent.c (netgroup_keys): Remove unused variable.
6811 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6812
6a621eb7
UD
68132011-10-08 Ulrich Drepper <drepper@gmail.com>
6814
7edb55ce
UD
6815 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6816 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6817 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6818 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6819 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6820 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6821 * math/Makefile (libm-calls): Add s_isinf_ns.
6822 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6823 * math/multc3.c: Likewise.
6824 * math/s_casin.c: Likewise.
6825 * math/s_casinf.c: Likewise.
6826 * math/s_casinl.c: Likewise.
6827 * math/s_ccos.c: Likewise.
6828 * math/s_ccosf.c: Likewise.
6829 * math/s_ccosl.c: Likewise.
6830 * math/s_ctan.c: Likewise.
6831 * math/s_ctanf.c: Likewise.
6832 * math/s_ctanh.c: Likewise.
6833 * math/s_ctanhf.c: Likewise.
6834 * math/s_ctanhl.c: Likewise.
6835 * math/s_ctanl.c: Likewise.
6836 * math/w_fmod.c: Likewise.
6837 * math/w_fmodf.c: Likewise.
6838 * math/w_fmodl.c: Likewise.
6839 * math/w_remainder.c: Likewise.
6840 * math/w_remainderf.c: Likewise.
6841 * math/w_remainderl.c: Likewise.
6842 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6843 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6844 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6845 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6846 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6847 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6848 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6849 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6850
187da0ae
UD
6851 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6852 of the number.
6853 * stdio-common/printf_fphex.c: Likewise.
6854 * stdio-common/printf_size.c: Likewise.
6855
9277c064
UD
6856 * math/e_exp10.c: Include math_private.h using <...> not "...".
6857 * math/e_exp10f.c: Likewise.
6858 * math/e_exp10l.c: Likewise.
6859 * math/e_exp2l.c: Likewise.
6860 * math/e_j0l.c: Likewise.
6861 * math/e_j1l.c: Likewise.
6862 * math/e_jnl.c: Likewise.
6863 * math/e_lgammal_r.c: Likewise.
6864 * math/e_rem_pio2l.c: Likewise.
6865 * math/e_scalb.c: Likewise.
6866 * math/e_scalbf.c: Likewise.
6867 * math/e_scalbl.c: Likewise.
6868 * math/k_cosl.c: Likewise.
6869 * math/k_sinl.c: Likewise.
6870 * math/k_tanl.c: Likewise.
6871 * math/s_cacoshf.c: Likewise.
6872 * math/s_catan.c: Likewise.
6873 * math/s_catanf.c: Likewise.
6874 * math/s_catanh.c: Likewise.
6875 * math/s_catanhf.c: Likewise.
6876 * math/s_catanhl.c: Likewise.
6877 * math/s_catanl.c: Likewise.
6878 * math/s_ccosh.c: Likewise.
6879 * math/s_ccoshf.c: Likewise.
6880 * math/s_ccoshl.c: Likewise.
6881 * math/s_cexp.c: Likewise.
6882 * math/s_cexpf.c: Likewise.
6883 * math/s_cexpl.c: Likewise.
6884 * math/s_clog.c: Likewise.
6885 * math/s_clog10.c: Likewise.
6886 * math/s_clog10f.c: Likewise.
6887 * math/s_clog10l.c: Likewise.
6888 * math/s_clogf.c: Likewise.
6889 * math/s_clogl.c: Likewise.
6890 * math/s_csin.c: Likewise.
6891 * math/s_csinf.c: Likewise.
6892 * math/s_csinh.c: Likewise.
6893 * math/s_csinhf.c: Likewise.
6894 * math/s_csinhl.c: Likewise.
6895 * math/s_csinl.c: Likewise.
6896 * math/s_csqrt.c: Likewise.
6897 * math/s_csqrtf.c: Likewise.
6898 * math/s_csqrtl.c: Likewise.
6899 * math/s_ctan.c: Likewise.
6900 * math/s_ctanf.c: Likewise.
6901 * math/s_ctanh.c: Likewise.
6902 * math/s_ctanhf.c: Likewise.
6903 * math/s_ctanhl.c: Likewise.
6904 * math/s_ctanl.c: Likewise.
6905 * math/s_ldexp.c: Likewise.
6906 * math/s_ldexpf.c: Likewise.
6907 * math/s_ldexpl.c: Likewise.
6908 * math/s_significand.c: Likewise.
6909 * math/s_significandf.c: Likewise.
6910 * math/s_significandl.c: Likewise.
6911 * math/w_acos.c: Likewise.
6912 * math/w_acosf.c: Likewise.
6913 * math/w_acosh.c: Likewise.
6914 * math/w_acoshf.c: Likewise.
6915 * math/w_acoshl.c: Likewise.
6916 * math/w_acosl.c: Likewise.
6917 * math/w_asin.c: Likewise.
6918 * math/w_asinf.c: Likewise.
6919 * math/w_asinl.c: Likewise.
6920 * math/w_atan2.c: Likewise.
6921 * math/w_atan2f.c: Likewise.
6922 * math/w_atan2l.c: Likewise.
6923 * math/w_atanh.c: Likewise.
6924 * math/w_atanhf.c: Likewise.
6925 * math/w_atanhl.c: Likewise.
6926 * math/w_cosh.c: Likewise.
6927 * math/w_coshf.c: Likewise.
6928 * math/w_coshl.c: Likewise.
6929 * math/w_dremf.c: Likewise.
6930 * math/w_exp10.c: Likewise.
6931 * math/w_exp10f.c: Likewise.
6932 * math/w_exp10l.c: Likewise.
6933 * math/w_exp2.c: Likewise.
6934 * math/w_exp2f.c: Likewise.
6935 * math/w_fmod.c: Likewise.
6936 * math/w_fmodf.c: Likewise.
6937 * math/w_fmodl.c: Likewise.
6938 * math/w_hypot.c: Likewise.
6939 * math/w_hypotf.c: Likewise.
6940 * math/w_hypotl.c: Likewise.
6941 * math/w_j0.c: Likewise.
6942 * math/w_j0f.c: Likewise.
6943 * math/w_j0l.c: Likewise.
6944 * math/w_j1.c: Likewise.
6945 * math/w_j1f.c: Likewise.
6946 * math/w_j1l.c: Likewise.
6947 * math/w_jn.c: Likewise.
6948 * math/w_jnf.c: Likewise.
6949 * math/w_jnl.c: Likewise.
6950 * math/w_lgamma.c: Likewise.
6951 * math/w_lgamma_r.c: Likewise.
6952 * math/w_lgammaf.c: Likewise.
6953 * math/w_lgammaf_r.c: Likewise.
6954 * math/w_lgammal.c: Likewise.
6955 * math/w_lgammal_r.c: Likewise.
6956 * math/w_log.c: Likewise.
6957 * math/w_log10.c: Likewise.
6958 * math/w_log10f.c: Likewise.
6959 * math/w_log10l.c: Likewise.
6960 * math/w_log2.c: Likewise.
6961 * math/w_log2f.c: Likewise.
6962 * math/w_log2l.c: Likewise.
6963 * math/w_logf.c: Likewise.
6964 * math/w_logl.c: Likewise.
6965 * math/w_pow.c: Likewise.
6966 * math/w_powf.c: Likewise.
6967 * math/w_powl.c: Likewise.
6968 * math/w_remainder.c: Likewise.
6969 * math/w_remainderf.c: Likewise.
6970 * math/w_remainderl.c: Likewise.
6971 * math/w_scalb.c: Likewise.
6972 * math/w_scalbf.c: Likewise.
6973 * math/w_scalbl.c: Likewise.
6974 * math/w_sinh.c: Likewise.
6975 * math/w_sinhf.c: Likewise.
6976 * math/w_sinhl.c: Likewise.
6977 * math/w_sqrt.c: Likewise.
6978 * math/w_sqrtf.c: Likewise.
6979 * math/w_sqrtl.c: Likewise.
6980 * math/w_tgamma.c: Likewise.
6981 * math/w_tgammaf.c: Likewise.
6982 * math/w_tgammal.c: Likewise.
6983
6a621eb7
UD
6984 * po/ja.po: Update from translation team.
6985
bf582445
AJ
69862011-09-29 Andreas Jaeger <aj@suse.de>
6987
f9efbf3a
AJ
6988 [BZ #13179]
6989 * sunrpc/netname.c (netname2host): Fix logic.
6990
bf582445
AJ
6991 [BZ #6779]
6992 [BZ #6783]
6993 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6994 correctly.
6995 * math/w_remainder.c (__remainder): Likewise.
6996 * math/w_remainderf.c (__remainderf): Likewise.
6997 * math/libm-test.inc (remainder_test): Add test cases.
6998
48693bea
AK
69992011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7000
7001 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
7002 sdiv_qrnnd.
7003
42622229
LD
70042011-10-07 Ulrich Drepper <drepper@gmail.com>
7005
7006 * string/test-memcmp.c: Avoid unncessary #defines.
7007 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
7008
093ecf92
LD
70092011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7010
7011 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
7012 Use new sse2 version for core i3 - i7 as it's faster
7013 than sse42 version.
7014 (bit_Prefer_PMINUB_for_stringop): New.
7015 * sysdeps/x86_64/rawmemchr.S: Update.
7016 Replace with faster SSE2 version.
7017 * sysdeps/x86_64/memrchr.S: New file.
7018 * sysdeps/x86_64/memchr.S: Update.
7019 Replace with faster SSE2 version.
7020
fde56e5c
MP
70212011-09-12 Marek Polacek <mpolacek@redhat.com>
7022
7023 * elf/dl-load.c (lose): Add cast to avoid warning.
7024
21fd49a9
UD
70252011-10-07 Ulrich Drepper <drepper@gmail.com>
7026
5a06e643
UD
7027 * po/ca.po: Update from translation team.
7028
684ae515
UD
7029 * inet/getnetgrent_r.c: Hook up nscd.
7030 * nscd/Makefile (routines): Add nscd_netgroup.
7031 (nscd-modules): Add netgroupcache.
7032 (CFLAGS-netgroupcache.c): Define.
7033 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
7034 (cache_search): Add const to second parameter.
7035 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
7036 INNETGR.
7037 (dbs): Add netgrdb entry.
7038 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
7039 (verify_persistent_db): Handle netgrdb.
7040 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
7041 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
7042 GETFDNETGR.
7043 (netgroup_response_header): Define.
7044 (innetgroup_response_header): Define.
7045 (datahead): Add netgroup_response_header and innetgroup_response_header
7046 elements.
7047 * nscd/nscd.conf: Add entries for netgroup cache.
7048 * nscd/nscd.h (dbtype): Add netgrdb.
7049 (_PATH_NSCD_NETGROUP_DB): Define.
7050 (netgroup_iov_disabled): Declare.
7051 (xmalloc, xcalloc, xrealloc): Move declarations here.
7052 (cache_search): Adjust prototype.
7053 Add netgroup-related prototypes.
7054 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
7055 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
7056 (__nscd_innetgr): Declare.
7057 * nscd/selinux.c (perms): Use access_vector_t as element type and
7058 add netgroup-related initializers.
7059 * nscd/netgroupcache.c: New file.
7060 * nscd/nscd_netgroup.c: New file.
7061 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
7062 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
7063 For four parameters use innetgr.
7064 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7065 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7066 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7067 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7068
21fd49a9
UD
7069 * nscd/connections.c (register_traced_file): Don't register file
7070 for disabled databases.
7071
054c0457
UD
70722011-10-06 Ulrich Drepper <drepper@gmail.com>
7073
32b63198
UD
7074 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7075
054c0457
UD
7076 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7077 from tree and freeing node.
7078
64031225
JO
70792011-09-25 Jiri Olsa <jolsa@redhat.com>
7080
7081 * nss/nsswitch.c (__nss_database_lookup): Handle
7082 nss_parse_service_list out of memory case.
7083
0490345c
JO
70842011-09-15 Jiri Olsa <jolsa@redhat.com>
7085
7086 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7087 out of memory case.
7088
3a62d00d
AS
70892011-10-04 Andreas Schwab <schwab@redhat.com>
7090
7091 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7092 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7093 pass it down.
7094 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7095 elf_machine_rela, elf_machine_lazy_rel.
7096 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7097 (ELF_DYNAMIC_DO_REL): Likewise.
7098 (ELF_DYNAMIC_DO_RELA): Likewise.
7099 (ELF_DYNAMIC_RELOCATE): Likewise.
7100 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7101 to ELF_DYNAMIC_DO_REL.
7102 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7103 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7104 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7105 elf_machine_rela.
7106 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7107 skip_ifunc, don't call ifunc function if non-zero.
7108 (elf_machine_rela): Likewise.
7109 (elf_machine_lazy_rel): Likewise.
7110 (elf_machine_lazy_rela): Likewise.
7111 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7112 (elf_machine_lazy_rel): Likewise.
7113 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7114 Likewise.
7115 (elf_machine_lazy_rel): Likewise.
7116 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7117 Likewise.
7118 (elf_machine_lazy_rel): Likewise.
7119 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7120 (elf_machine_lazy_rel): Likewise.
7121 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7122 (elf_machine_lazy_rel): Likewise.
7123 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7124 (elf_machine_lazy_rel): Likewise.
7125 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7126 (elf_machine_lazy_rel): Likewise.
7127 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7128 (elf_machine_lazy_rel): Likewise.
7129 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7130 (elf_machine_lazy_rel): Likewise.
7131
68577918
UD
71322011-09-28 Ulrich Drepper <drepper@gmail.com>
7133
7134 * nss/nss_files/files-init.c (_nss_files_init): Use static
7135 initialization for all the *_traced_file variables.
7136
68822d74
AS
71372011-09-28 Andreas Schwab <schwab@redhat.com>
7138
7139 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7140
2056100b
RM
71412011-09-27 Roland McGrath <roland@hack.frob.com>
7142
7143 [BZ #13226]
7144 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7145
32c76b63
AS
71462011-09-27 Andreas Schwab <schwab@redhat.com>
7147
7148 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7149 Reread the line before reparsing it.
7150
bf972c9d
AS
71512011-09-26 Andreas Schwab <schwab@redhat.com>
7152
7153 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7154
e057a1b5
JM
71552011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7156 Maxim Kuvyrkov <maxim@codesourcery.com>
7157 Joseph Myers <joseph@codesourcery.com>
7158
7159 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7160 if needed for __stack_chk_guard.
7161
bc7e1c36
RM
71622011-09-19 Roland McGrath <roland@hack.frob.com>
7163
ecb1482f
RM
7164 * sysdeps/posix/spawni.c (script_execute): Always define it.
7165 It will be optimized away if unused.
7166 (maybe_script_execute): New function.
7167 (__spawni): Call it.
7168
bc7e1c36
RM
7169 * Makerules: Don't include tls.make.
7170 (config-tls): Always set to thread.
7171 * tls.make.c: File removed.
7172
1c3b002b
MF
71732011-09-19 Mike Frysinger <vapier@gentoo.org>
7174
7175 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7176 * config.make.in (CPPFLAGS-config): New substituted variable.
7177
2840865d
UD
71782011-09-15 Ulrich Drepper <drepper@gmail.com>
7179
88738eb6
UD
7180 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7181
cbf645a6 7182 [BZ #13192]
2840865d
UD
7183 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7184 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7185
b402e91a
RM
71862011-09-15 Roland McGrath <roland@hack.frob.com>
7187
7188 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7189 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7190 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7191 (CALL_FAIL): Likewise.
7192 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7193 (CALL_FAIL): Macro removed.
7194 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7195
4c1a1f71
UD
71962011-09-15 Ulrich Drepper <drepper@gmail.com>
7197
7198 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7199 for __FINITE_MATH_ONLY__ == 1.
7200
edc121be
AS
72012011-09-15 Andreas Schwab <schwab@redhat.com>
7202
7203 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7204 __ieee754_sqrt instead of sqrt.
7205 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7206 __ieee754_sqrtf instead of sqrtf.
7207 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7208 __floorf instead of floorf.
7209 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7210 __floorf, __truncf instead of floorf, truncf.
7211
cd205654
UD
72122011-09-14 Ulrich Drepper <drepper@gmail.com>
7213
ee4d0315
UD
7214 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7215
cd205654
UD
7216 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7217 __extern_always_inline.
7218 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7219 32-bit.
7220
48b67d71
AS
72212011-09-14 Andreas Schwab <schwab@redhat.com>
7222
7223 * elf/rtld.c (dl_main): Also relocate in dependency order when
7224 doing symbol dependency testing.
7225
1ae12c75
AS
72262011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7227
7228 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7229 Always define `refsym'.
7230
995a80df
AS
72312011-09-13 Andreas Schwab <schwab@redhat.com>
7232
e529793b
AS
7233 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7234 (__FD_ELT): Renamed from __FDELT.
7235 * misc/bits/select2.h (__FD_ELT): Likewise.
7236 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7237 __FD_MASK instead of __FDELT, __FDMASK.
7238 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7239 Likewise.
7240 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7241 Likewise.
7242
52d4fef8
AS
7243 * elf/Makefile (gen-ldd): Fix pattern.
7244
995a80df
AS
7245 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7246 (init_tls): Likewise.
7247
8682f8b0
UD
72482011-09-12 Ulrich Drepper <drepper@gmail.com>
7249
7250 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7251
de82006d
AS
72522011-09-12 Andreas Schwab <schwab@redhat.com>
7253
a7c8e6a1
AS
7254 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7255 `struct cmsghdr *' instead of `void *'.
7256 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7257 Likewise.
7258
0f31fe77
AS
72592011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7260
7261 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7262 if non-absolute.
7263 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7264 ldd_rewrite_script.
0f31fe77 7265
32b4c839
UD
72662011-09-11 Ulrich Drepper <drepper@gmail.com>
7267
83cd1420
UD
7268 * configure.in: Remove --with-tls option.
7269 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7270 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7271 out in case it is missing.
7272 * sysdeps/ia64/elf/configure.in: Likewise.
7273 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7274 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7275 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7276 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7277 * sysdeps/sh/elf/configure.in: Likewise.
7278 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7279 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7280 * sysdeps/x86_64/elf/configure.in: Likewise.
7281 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7282 * sysdeps/mach/hurd/tls.h: Likewise.
7283
633f745d
UD
7284 [BZ #13067]
7285 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7286
f318beb8
UD
7287 [BZ #13090]
7288 * configure.in: Fix use of AC_INIT.
7289
32b4c839
UD
7290 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7291
3ce1f295
UD
72922011-09-10 Ulrich Drepper <drepper@gmail.com>
7293
bb016596
UD
7294 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7295 __set_errno.
8e58439c
UD
7296 * malloc/hooks.c: Likewise.
7297
aebae053 7298 [BZ #11929]
02d46fc4
UD
7299 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7300 variables statically.
7301 (narenas): Initialize.
7302 (list_lock): Initialize.
bb016596
UD
7303 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7304 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
7305 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7306 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7307 Add initializers to main_arena and mp_.
7308 (malloc_state): Remove pagesize member. Change all users to use
7309 GLRO(dl_pagesize).
7310
7311 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7312 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7313 is always initialized.
7314
22a89187
UD
7315 * malloc/malloc.c: Removed unused configurations and dead code.
7316 * malloc/arena.c: Likewise.
7317 * malloc/hooks.c: Likewise.
02d46fc4 7318 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 7319
d063d164
UD
7320 * include/tls.h: Removed. USE___THREAD must always be defined.
7321 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7322 * elf/dl-libc.c: Likewise.
7323 * elf/dl-tsd.c: Likewise.
7324 * include/errno.h: Likewise.
7325 * include/netdb.h: Likewise.
7326 * include/resolv.h: Likewise.
7327 * inet/herrno-loc.c: Likewise.
7328 * inet/herrno.c: Likewise.
7329 * malloc/arena.c: Likewise.
7330 * malloc/hooks.c: Likewise.
7331 * malloc/malloc.c: Likewise.
7332 * resolv/res-state.c: Likewise.
7333 * resolv/res_libc.c: Likewise.
7334 * sysdeps/i386/dl-machine.h: Likewise.
7335 * sysdeps/ia64/dl-machine.h: Likewise.
7336 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7337 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7338 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7339 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7340 * sysdeps/sh/dl-machine.h: Likewise.
7341 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7342 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7343 * sysdeps/unix/i386/sysdep.S: Likewise.
7344 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7345 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7346 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7347 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7348 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7349 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7350 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7351 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7352 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7353 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7354 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7355 * sysdeps/x86_64/dl-machine.h: Likewise.
7356 * tls.make.c: Likewise.
7357
3ce1f295
UD
7358 * configure.in: Remove --with-__thread option. Make tests for
7359 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7360 tls_model attribute fail if no support is available. Remove
7361 USE_IN_LIBIO.
7362 * Makeconfig: Adjust for dropped configure option. All features are
7363 now mandatory.
7364 * Makerules: Likewise.
7365 * Versions.def: Likewise.
7366 * argp/argp-fmtstream.c: Likewise.
7367 * argp/argp-fmtstream.h: Likewise.
7368 * argp/argp-help.c: Likewise.
7369 * assert/assert.c: Likewise.
7370 * config.h.in: Likewise.
7371 * config.make.in: Likewise.
7372 * configure: Likewise.
7373 * configure.in: Likewise.
7374 * csu/Versions: Likewise.
7375 * csu/init.c: Likewise.
7376 * elf/tst-audit2.c: Likewise.
7377 * elf/tst-tls10.c: Likewise.
7378 * elf/tst-tls10.h: Likewise.
7379 * elf/tst-tls11.c: Likewise.
7380 * elf/tst-tls12.c: Likewise.
7381 * elf/tst-tls14.c: Likewise.
7382 * elf/tst-tlsmod11.c: Likewise.
7383 * elf/tst-tlsmod12.c: Likewise.
7384 * elf/tst-tlsmod13.c: Likewise.
7385 * elf/tst-tlsmod13a.c: Likewise.
7386 * elf/tst-tlsmod14a.c: Likewise.
7387 * elf/tst-tlsmod15b.c: Likewise.
7388 * elf/tst-tlsmod16a.c: Likewise.
7389 * elf/tst-tlsmod16b.c: Likewise.
7390 * elf/tst-tlsmod7.c: Likewise.
7391 * elf/tst-tlsmod8.c: Likewise.
7392 * elf/tst-tlsmod9.c: Likewise.
7393 * gmon/gmon.c: Likewise.
7394 * grp/fgetgrent_r.c: Likewise.
7395 * grp/putgrent.c: Likewise.
7396 * hurd/fopenport.c: Likewise.
7397 * include/libc-symbols.h: Likewise.
7398 * include/tls.h: Likewise.
7399 * intl/gettextP.h: Likewise.
7400 * intl/loadinfo.h: Likewise.
7401 * locale/global-locale.c: Likewise.
7402 * locale/localeinfo.h: Likewise.
7403 * mach/devstream.c: Likewise.
7404 * malloc/arena.c: Likewise.
7405 * malloc/set-freeres.c: Likewise.
7406 * misc/err.c: Likewise.
7407 * misc/getttyent.c: Likewise.
7408 * misc/mntent_r.c: Likewise.
7409 * posix/getopt.c: Likewise.
7410 * posix/wordexp.c: Likewise.
7411 * pwd/fgetpwent_r.c: Likewise.
7412 * resolv/Versions: Likewise.
7413 * resolv/res_hconf.c: Likewise.
7414 * shadow/fgetspent_r.c: Likewise.
7415 * shadow/putspent.c: Likewise.
7416 * stdio-common/printf_fphex.c: Likewise.
7417 * stdio-common/tmpfile.c: Likewise.
7418 * stdlib/abort.c: Likewise.
7419 * stdlib/fmtmsg.c: Likewise.
7420 * sunrpc/auth_unix.c: Likewise.
7421 * sunrpc/clnt_perr.c: Likewise.
7422 * sunrpc/clnt_tcp.c: Likewise.
7423 * sunrpc/clnt_udp.c: Likewise.
7424 * sunrpc/clnt_unix.c: Likewise.
7425 * sunrpc/openchild.c: Likewise.
7426 * sunrpc/svc_simple.c: Likewise.
7427 * sunrpc/svc_tcp.c: Likewise.
7428 * sunrpc/svc_udp.c: Likewise.
7429 * sunrpc/svc_unix.c: Likewise.
7430 * sunrpc/xdr.c: Likewise.
7431 * sunrpc/xdr_array.c: Likewise.
7432 * sunrpc/xdr_rec.c: Likewise.
7433 * sunrpc/xdr_ref.c: Likewise.
7434 * sunrpc/xdr_stdio.c: Likewise.
7435
1248c1c4
PB
74362011-09-09 Ulrich Drepper <drepper@gmail.com>
7437
7438 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7439
74402011-07-03 Andreas Jaeger <aj@suse.de>
7441
7442 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7443 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7444 regenerate with gen-libm-tests.pl.
7445
74462010-05-12 Petr Baudis <pasky@suse.cz>
7447
7448 [BZ #11589]
7449 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7450 around j0() zero points by switching to j1().
7451 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7452 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7453 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7454 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7455
f22e1074
UD
74562011-09-09 Ulrich Drepper <drepper@gmail.com>
7457
f19009c1
UD
7458 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7459 instead of 0.
7460 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7461 instead of 0. .
7462 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7463 Patch in part by Pavel Roskin <proski@gnu.org>.
7464
3f8cc204
UD
7465 [BZ #13138]
7466 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7467 realloc.
7468 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7469 Free memory block if necessary.
7470
f22e1074
UD
7471 [BZ #12847]
7472 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7473 be NULL. Don't lock in this case.
7474
0a2349f9
RM
74752011-09-09 Roland McGrath <roland@hack.frob.com>
7476
7477 * elf/elf.h (ELFOSABI_GNU): New macro.
7478 (ELFOSABI_LINUX): Define to that.
7479
f3cdd467
DZ
74802011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7481
7482 * string/strncat.c (strncat): Undef the symbol in case it has been
7483 defined in bits/string.h.
7484
74718d13
UD
74852011-09-09 Ulrich Drepper <drepper@gmail.com>
7486
633e9e0f
UD
7487 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7488
0a2349f9 7489 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
7490 link map.
7491
f9924780
AJ
74922011-08-17 Andreas Jaeger <aj@suse.de>
7493
7494 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7495
7f5517aa
PP
74962011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7497 Ian Lance Taylor <iant@google.com>
7498
7499 * math/libm-test.inc (lround_test): New testcase.
7500 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7501
762011fe
UD
75022011-09-08 Ulrich Drepper <drepper@gmail.com>
7503
92963737
UD
7504 * Makefile: Remove support for automatic cvs check-ins.
7505 * Makerules: Likewise.
7506 * config.make.in: Likewise.
7507 * configure.in: Likewise.
7508 * intl/Makefile: Likewise.
7509 * locale/Makefile: Likewise.
7510 * po/Makefile: Likewise.
7511 * posix/Makefile: Likewise.
7512 * sysdeps/gnu/Makefile: Likewise.
7513 * sysdeps/mach/hurd/Makefile: Likewise.
7514 * sysdeps/sparc/sparc32/Makefile: Likewise.
7515
b0727fd8
JS
7516 [BZ #13118]
7517 * posix/Makefile (bug-regex32-ENV): Define.
7518 Patch by John Stanley <jpsinthemix@verizon.net>.
7519
a0f33f99
UD
7520 * misc/Makefile (headers): Add bits/select2.h.
7521 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7522 * misc/bits/select2.h: New file.
7523 * include/bits/select2.h: New file.
7524 * debug/Makefile (routines): Add fdelt_chk.
7525 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7526 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7527 FD_ISSET.
7528 * debug/fdelt_chk.c: New file.
7529
762011fe
UD
7530 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7531 * wcsmbs/test-wmemcmp.c: Likewise.
7532 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 7533 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
7534
75352011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7536
7537 * string/Makefile (strop-tests): Add memcmp.
7538 * string/test-wmemcmp.c: New file.
7539 * string/test-memcmp.c: Add wmemcmp support.
7540
7f513ec8
RM
75412011-09-08 Roland McGrath <roland@hack.frob.com>
7542
0442afb4
RM
7543 [BZ #13153]
7544 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7545 2011-07-19 change.
7546
7f513ec8
RM
7547 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7548 garbage value in a __mach_port_mod_refs call in the cases of the
7549 task-self and thread-self ports.
7550
a12b2239
ST
75512011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7552
7553 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7554
610f9ab4
AS
75552011-09-08 Andreas Schwab <schwab@redhat.com>
7556
7f513ec8 7557 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7558
48882a1a
LD
75592011-09-07 Ulrich Drepper <drepper@gmail.com>
7560
b49865be
UD
7561 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7562
fdc86bc9
UD
7563 * elf/dl-libc.c (dlerror_run): Pass back error code from
7564 dl_catch_error.
7565
c966526a
UD
7566 [BZ #13123]
7567 * elf/dl-load.c (lose): Free l_origin if it is valid.
7568
48882a1a
LD
7569 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7570 names.
7571 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7572 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7573 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7574 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7575 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7576 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7577
77a2a8b4
AZ
75782011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7579
7580 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7581 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7582 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7583 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7584 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7585 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7586 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7587 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7588 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7589 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7590
24f579d8
AM
75912011-08-15 Alan Modra <amodra@gmail.com>
7592
7593 [BZ #13092]
7594 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7595 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7596 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7597 ppc_mcount to static-only-routines.
7598 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7599 __mcount_internal.
7600 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7601 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7602
3d4837df
UD
76032011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7604
7605 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7606 for finite and infinity parameters.
7607
22700377
WS
76082011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7609
7610 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7611 and add nop instructions for throughput optimization.
7612 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7613
5025581e
WS
76142011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7615
7616 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7617 aligned copy for power7 with vector-scalar instructions.
7618 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7619
08a300c9
L
76202011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7621
7622 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7623 AVX check.
7624
59178ef9
AS
76252011-09-07 Andreas Schwab <schwab@redhat.com>
7626
7627 [BZ #13144]
7628 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7629 last change.
7630
e38ba7ab
UD
76312011-09-07 Ulrich Drepper <drepper@gmail.com>
7632
7633 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7634 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7635 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7636 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7637 clock_gettime.
7638
d53a73ac
UD
76392011-09-06 Ulrich Drepper <drepper@gmail.com>
7640
fc8bffcc
UD
7641 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7642 Forgot to demangle the pointer.
7643
ceaa0c5d
UD
7644 * sysdeps/i386/sysdep.h: Define atom_text_section.
7645 * sysdeps/x86_64/sysdep.h: Likewise.
7646 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7647 section with atom_text_section.
7648 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7649 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7650 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7651 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7652 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7653
a77d3c17
UD
7654 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7655 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7656 already be defined. Change to take two parameters and don't assign
7657 result to variable. Adjust all users.
7658 Define INTERNAL_GETTIME if not already defined.
7659 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7660 call.
7661 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7662 HAVE_CLOCK_GETTIME_VSYSCALL.
7663 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7664
d53a73ac
UD
7665 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7666 gettimeofday vsyscall, just use time.
7667
a8f84144
AS
76682011-09-06 Andreas Schwab <schwab@redhat.com>
7669
7670 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7671 <errno.h>.
7672
ef606249
UD
76732011-09-06 Ulrich Drepper <drepper@gmail.com>
7674
7675 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7676 syscall on x86-64.
7677 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7678 syscall.
7679 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7680 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7681 syscall if possible.
7682
6585cb60
UD
76832011-09-05 Ulrich Drepper <drepper@gmail.com>
7684
7685 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7686 e_ident. Don't pass to find_mapsXX.
7687 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7688
a5f524e4
LD
76892011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7690
7691 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7692 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7693 * sysdeps/x86_64/multiarch/strchr.S: Update.
7694 Check bit_slow_BSF bit.
7695 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7696 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7697 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7698
554881ef
UD
76992011-09-05 Ulrich Drepper <drepper@gmail.com>
7700
d96de963
UD
7701 [BZ #13134]
7702 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7703 before glibc 2.15.
7704 (tryshell): Define.
7705 (__spawni): Change last parameter to be flag. Test
7706 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7707 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7708 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7709 * posix/spawni.c: Likewise.
7710 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7711 * posix/spawnp.c: Likewise. Change normal version to use
7712 SPAWN_XFLAGS_USE_PATH.
7713 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7714 SPAWN_XFLAGS_TRY_SHELL.
7715
d48e5868
UD
7716 [BZ #13150]
7717 * posix/glob.h: Remove gcc 1.x support.
7718
554881ef
UD
7719 [BZ #13068]
7720 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7721
693fb948
LD
77222011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7723
7724 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7725 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7726 strrchr-sse2-bsf
7727 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7728 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7729 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7730 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7731 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7732 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7733
1b48c537
UD
77342011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7735
49d42c37
UD
7736 * sysdeps/x86_64/wcscmp.S: New file.
7737
1b48c537
UD
7738 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7739 wcscmp-c wcscmp-sse2
7740 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7741 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7742 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7743 * wcsmbs/wcscmp.c: Allow renaming.
7744
15c95c5d
DM
77452011-09-05 David S. Miller <davem@davemloft.net>
7746
7747 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7748 stack slot, rather than the struct return pointer slot.
7749 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7750 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7752 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7753
2f0ad8f3
UD
77542011-09-05 Ulrich Drepper <drepper@gmail.com>
7755
d88ae418
UD
7756 * po/ja.po: Update from translation team.
7757
2f0ad8f3
UD
7758 [BZ #13144]
7759 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7760 kernel in 64-bit binaries.
7761
5f4318d1
DM
77622011-09-01 David S. Miller <davem@davemloft.net>
7763
7764 * elf/elf.h (HWCAP_SPARC_*): Move to..
7765 * sysdeps/sparc/sysdep.h: this new file and add new values.
7766 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7767 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7768 _DL_HWCAP_COUNT to 24.
7769 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7770 entries.
7771 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7772 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7773 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7774 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7775 instead of magic constants.
7776 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7777
3ba57516
DM
77782011-08-31 David S. Miller <davem@davemloft.net>
7779
7780 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7781 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7782 Reimplement to do errno handling inline.
7783 (SYSCALL_ERROR_HANDLER): New macro.
7784 (__SYSCALL_STRING): Do not do errno handling in asm.
7785 (__CLONE_SYSCALL_STRING): Delete.
7786 (__INTERNAL_SYSCALL_STRING): Delete.
7787 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7788 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7789 (PSEUDO): Reimplement to do errno handling inline.
7790 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7791 (SYSCALL_ERROR_HANDLER): New macro.
7792 (__SYSCALL_STRING): Do not do errno handling in asm.
7793 (__CLONE_SYSCALL_STRING): Delete.
7794 (__INTERNAL_SYSCALL_STRING): Delete.
7795 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7796 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7797 i386.
7798 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7799 (inline_syscall*): Add 'err' argument.
7800 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7801 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7802 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7803 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7804
7805 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7806 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7807
2bc17433
AS
78082011-08-30 Andreas Schwab <schwab@redhat.com>
7809
7810 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7811
fbeb5f4d
JO
78122011-08-29 Jiri Olsa <jolsa@redhat.com>
7813
7814 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7815 directive.
7816
ad69cc26
DM
78172011-08-24 David S. Miller <davem@davemloft.net>
7818
7819 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7820
39dd69df
AS
78212011-08-24 Andreas Schwab <schwab@redhat.com>
7822
7823 * elf/Makefile: Add rules to build and run unload8 test.
7824 * elf/unload8.c: New file.
7825 * elf/unload8mod1.c: New file.
7826 * elf/unload8mod1x.c: New file.
7827 * elf/unload8mod2.c: New file.
7828 * elf/unload8mod3.c: New file.
7829
7830 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7831 it wasn't used.
7832
2c0b250a
DM
78332011-08-23 David S. Miller <davem@davemloft.net>
7834
7835 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7836 subtract stack bias.
7837 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7838 %sp not %fp in calculations.
7839 (_JMPBUF_UNWINDS_ADJ): Likewise.
7840
22044b48
DM
7841 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7842 (aio_suspend): Call it to force an exception region around the
7843 AIO_MISC_WAIT() invocation.
7844
2cae4995
AS
78452011-08-23 Andreas Schwab <schwab@redhat.com>
7846
7847 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7848 backslash.
7849
873a772e
AJ
78502011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7851
7852 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7853 protection macro.
7854 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7855 and <dl-machine.h>.
7856 (Elf64_FuncDesc): Remove.
7857
25ad0df1
DM
78582011-08-22 David S. Miller <davem@davemloft.net>
7859
7860 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7861 sigaltstack check, add missing cfi directives.
7862 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7863 missing cfi directives, and sigaltstack handling.
7864
e888bcbe
AS
78652011-08-16 Andreas Schwab <schwab@redhat.com>
7866
7867 [BZ #11724]
7868 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7869 object is seen twice.
7870 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7871
7872 * elf/Makefile (distribute): Add tst-initorder2.c.
7873 (tests): Add tst-initorder2.
7874 (modules-names): Add tst-initorder2a tst-initorder2b
7875 tst-initorder2c tst-initorder2d. Add rules to build them.
7876 ($(objpfx)tst-initorder2.out): New rule.
7877 * elf/tst-initorder2.c: New file.
7878 * elf/tst-initorder2.exp: New file.
7879
87162f46
AS
78802011-08-22 Andreas Schwab <schwab@redhat.com>
7881
70538b7f
AS
7882 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7883
f55ffe58
AS
7884 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7885 dependencies back to end of function.
7886
87162f46
AS
7887 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7888 $(elfobjdir)/ld.so.
7889
91b392a4
UD
78902011-08-21 Ulrich Drepper <drepper@gmail.com>
7891
7892 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7893 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7894 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7895 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7896 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7897 of __vdso_gettimeofday.
7898 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7899 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7900 attribute_hidden.
7901 (_libc_vdso_platform_setup): Remove initialization of
7902 __vdso_gettimeofday and __vdso_time.
7903
5c43483f
UD
79042011-08-20 Ulrich Drepper <drepper@gmail.com>
7905
775a77e7
UD
7906 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7907 and fgetc_unlocked.
7908 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7909 getc_unlocked.
89f447ed 7910
49c74ba9
UD
7911 * elf/dl-open.c (add_to_global): Report additions to the global scope
7912 for LD_DEBUG=scopes.
7913 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7914 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7915
5c43483f
UD
7916 [BZ #13114]
7917 * stdio-common/Makefile (tests): Add bug24.
7918 * stdio-common/bug24.c: New file.
7919
a101b025
AJ
79202011-08-19 Andreas Jaeger <aj@suse.de>
7921
7922 [BZ #13114]
7923 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7924 non-existant file when using close-on-exec mode.
7925
c88f1766
UD
79262011-08-20 Ulrich Drepper <drepper@gmail.com>
7927
0276a718
UD
7928 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7929 the very first instruction.
7930
c88f1766
UD
7931 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7932 the CFI state in the end.
7933 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7934 inclusion of dl-trampoline.h.
7935 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7936
51ccffa0
AS
79372011-08-19 Andreas Schwab <schwab@redhat.com>
7938
94d7165f
AS
7939 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7940 expectations for long double.
7941
51ccffa0
AS
7942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7943 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7944
fd708658 79452011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7946
7947 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7948 artificual limit depends upon the system page size.
7949
44f0a71e
UD
79502011-08-17 Ulrich Drepper <drepper@gmail.com>
7951
7952 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7953 * resolv/Makefile: Define CFLAGS-libresolv.
7954
8de79a24
AS
79552011-08-17 Andreas Schwab <schwab@redhat.com>
7956
7957 * nss/makedb.c (compute_tables): Make variables used in nested
7958 function static.
7959
27724598
UD
79602011-08-17 Ulrich Drepper <drepper@gmail.com>
7961
c5305d88
UD
7962 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7963 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7964 if buffer was too small.
7965
27724598
UD
7966 * elf/pldd.c (main): Attach to all threads in the process.
7967 Rewrite /proc handling to use *at functions.
7968
076fe015
UD
79692011-08-16 Ulrich Drepper <drepper@gmail.com>
7970
174baab3
UD
7971 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7972 specifies first scope to show.
7973 (dl_open_worker): Update callers. Move printing scope of new
7974 object to before the relocation.
44f0a71e 7975 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7976 * sysdeps/generic/ldsodefs.h: Update declaration.
7977
076fe015
UD
7978 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7979 string for the scope number.
7980
a60df2c3
UD
79812011-08-14 Ulrich Drepper <drepper@gmail.com>
7982
7983 * nscd/servicescache.c (cache_addserv): Make sure written is always
7984 initialized.
7985
5e4287d1
RM
79862011-08-14 Roland McGrath <roland@hack.frob.com>
7987
85ae0589
RM
7988 * sysdeps/i386/i486/bits/atomic.h
7989 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7990 statement expression, so as to suppress "set but not used" warning.
7991 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7992
69f63097
RM
7993 * string/strncat.c (STRNCAT): Use prototype definition.
7994
675456ef
RM
7995 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7996 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7997 -Iprograms here.
7998 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7999 (localedef-modules): Add localedef.
8000 (locale-modules): Add locale.
8001
5e4287d1
RM
8002 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
8003 * elf/rtld.c (dl_main): Invert order of assignment in last change,
8004 to avoid a warning.
8005
9c96ff23
DM
80062011-08-14 David S. Miller <davem@davemloft.net>
8007
8008 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
8009 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
8010
f9ddf089
UD
80112011-08-13 Ulrich Drepper <drepper@gmail.com>
8012
44f0a71e 8013 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
8014 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
8015 * elf/rtld.c (dl_main): Set l_name of vDSO.
8016 Call _dl_show_scope when DL_DEBUG_SCOPES.
8017 (process_dl_debug): Recognize scopes flag and also set it for all.
8018 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
8019 Declare _dl_show_scope.
8020
1dc27704
UD
8021 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
8022 (do_dlopen): Pass caller_dlopen to dl_open.
8023 (__libc_dlopen_mode): Initialize caller_dlopen.
8024
f9ddf089
UD
8025 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
8026 of libc. Make tolower call locale-independent. Optimize a bit by
8027 using isdigit instead of isalnum.
8028 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
8029
9ac533d3
UD
80302011-08-12 Ulrich Drepper <drepper@gmail.com>
8031
8032 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
8033 was a dependency or dynamically loaded.
8034
89edf2e9
UD
80352011-08-11 Ulrich Drepper <drepper@gmail.com>
8036
8e999d29
UD
8037 * intl/l10nflist.c: Allow architecture-specific pop function.
8038 * sysdeps/x86_64/l10nflist.c: New file.
8039
89edf2e9
UD
8040 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
8041 classification.
8042
14d96785
AS
80432011-08-10 Andreas Schwab <schwab@redhat.com>
8044
8045 * include/dirent.h: Add libc_hidden_proto for scandirat and
8046 scandirat64. Don't declare __scandirat64.
8047 * dirent/scandirat.c: Add libc_hidden_def.
8048 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
8049 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
8050
6761ac04
DM
80512011-08-10 David S. Miller <davem@davemloft.net>
8052
8053 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
8054 enum.
8055 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8056 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8057 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8058
c55fbd1e
UD
80592011-08-09 Ulrich Drepper <drepper@gmail.com>
8060
8061 * Versions.def [libc]: Add GLIBC_2.15.
8062 * dirent/Makefile (routines): Add scandirat and scandirat64.
8063 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8064 GLIBC_2.15.
8065 * dirent/dirent.h: Declare scandirat and scandirat64.
8066 * dirent/scandirat.c: New file.
8067 * dirent/scandirat64.c: New file.
8068 * sysdeps/wordsize-64/scandirat.c: New file.
8069 * sysdeps/wordsize-64/scandirat64.c: New file.
8070 * dirent/opendir.c: Define opendirat.
8071 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8072 using scandirat.
8073 * dirent/scandir64.c: Adjust for scandir.c change.
8074 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8075 __scandirat64, and __scandir_cancel_handler.
8076 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8077 additional parameter and use openat instead of open (outside of ld.so).
8078 Add new __opendir as wrapper around __opendirat.
8079 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8080 here without requiring old scandirat implementation.
8081
879165f2
UD
80822011-08-08 Ulrich Drepper <drepper@gmail.com>
8083
8084 * dirent/scandir.c (cancel_handler): Renamed to
8085 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8086 defined. Adjust users.
8087 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8088 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8089
cb7e923b
UD
80902011-08-04 Ulrich Drepper <drepper@gmail.com>
8091
16292edd
UD
8092 * string/test-string.h (IMPL): Use __STRING to expand name and then
8093 stringify it.
8094
cb7e923b
UD
8095 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8096 of cleanups.
8097
cff82933
LD
80982011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8099
8100 * string/Makefile: Update.
8101 (strop-tests): Append strncat.
8102 * string/test-wcscmp.c: New file.
8103 New comprehensive test for wcscmp.
8104 * string/test-strcmp.c: Update.
8105 (WIDE): New define.
8106
9be9bfcc
AS
81072011-07-22 Andreas Schwab <schwab@redhat.com>
8108
8109 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8110 line.
8111
2e96f1c7
AS
81122011-07-26 Andreas Schwab <schwab@redhat.com>
8113
8114 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8115 encoding to ACE if AI_IDN.
8116
85188888
JJ
81172011-08-01 Jakub Jelinek <jakub@redhat.com>
8118
8119 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8120 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8121
5fa16e9b
LD
81222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8123
8124 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8125 Fix overflow bug in strncat.
8126 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8127
8128 * string/test-strncat.c: Update.
8129 Add new tests for checking overflow bugs.
8130
81312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8132
8133 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8134 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8135 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8136 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8137 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8138 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8139 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8140 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8141 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8142
8143 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8144 (USE_AS_STRCAT): Define.
8145 Add strcat and strncat support.
8146 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8147
8c1a459f
AS
81482011-07-25 Andreas Schwab <schwab@redhat.com>
8149
8150 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8151 __n bigger than INT_MAX+1.
8152 (__strncmp_g): Likewise.
8153
bba33c28
UD
81542011-07-23 Ulrich Drepper <drepper@gmail.com>
8155
798be72d
UD
8156 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8157 * libio/stido.h: Likewise.
8158
8accd4dc
UD
8159 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8160 (AF_NFC): Define.
8161 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8162 (AF_NFC): Define.
8163
cbff0d96
UD
8164 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8165 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8166 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8167 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8168 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8169
9191c04a
UD
8170 [BZ #13021]
8171 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8172 installed.
8173
bba33c28
UD
8174 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8175 typo.
8176 (_dl_x86_64_save_sse): Likewise.
8177
90f139dd
UD
81782011-07-22 Ulrich Drepper <drepper@gmail.com>
8179
1aae088a
UD
8180 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8181 OSXSAVE.
8182 (_dl_x86_64_save_sse): Likewise.
8183
8e2045f5
UD
8184 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8185
90f139dd
UD
8186 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8187
1d002f25
AS
81882011-07-21 Andreas Schwab <schwab@redhat.com>
8189
8190 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8191 change.
8192 (_dl_x86_64_save_sse): Use correct AVX check.
8193
21137f89
UD
81942011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8195
8196 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8197 bug in strncpy/strncat.
8198 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8199
a65c0b7a
UD
82002011-07-21 Ulrich Drepper <drepper@gmail.com>
8201
8202 * string/tester.c (test_strcat): Add tests for different alignments
8203 of source and destination.
8204 (test_strncat): Likewise.
8205
6986b98a
UD
82062011-07-20 Ulrich Drepper <drepper@gmail.com>
8207
90bb2039
UD
8208 [BZ #12852]
8209 * posix/glob.c (glob): Check passed in values before using them in
8210 expressions to avoid some overflows.
8211 (glob_in_dir): Likewise.
8212
5644ef54
UD
8213 [BZ #13007]
8214 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8215 check for AVX enablement so that we don't crash with old kernels and
8216 new hardware.
8217 * elf/tst-audit4.c: Add same checks here.
8218 * elf/tst-audit6.c: Likewise.
8219
8220 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 8221
bfc9dc9b
AS
82222011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8223
8224 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8225
702e64bb
UD
82262011-07-20 Ulrich Drepper <drepper@gmail.com>
8227
8228 * po/cs.po: Update from translation team.
8229 * po/bg.po: Likewise.
8230
295e904f
MP
82312011-07-12 Marek Polacek <mpolacek@redhat.com>
8232
8233 * misc/sys/cdefs.h: Add support for const attribute.
8234 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8235 to gnu_dev_{major,minor,makedev} functions.
8236
3ff94596
MP
82372011-07-20 Marek Polacek <mpolacek@redhat.com>
8238
8239 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8240
28b59fca
AS
82412011-07-20 Andreas Schwab <schwab@redhat.com>
8242
8243 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8244 strlen results.
8245
19df733e
AK
82462011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8247
8248 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8249 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8250 register in order to avoid conflicts with the soft frame pointer
8251 being held in r11 when necessary.
8252 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8253 (INTERNAL_VSYSCALL_NCS): Likewise.
8254
c8835729
MP
82552011-07-14 Marek Polacek <mpolacek@redhat.com>
8256
8257 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8258 * elf/dl-fini.c (_dl_fini): Adjust caller.
8259 * elf/dl-close.c (_dl_close_worker): Likewise.
8260 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8261
b902330c
MP
82622011-07-15 Marek Polacek <mpolacek@redhat.com>
8263
8991e135
MP
8264 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8265 "aux_cache->nlibs < 0".
8266
b902330c
MP
8267 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8268 in the reload-count case.
8269
99710781
LD
82702011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8271
8272 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8273 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8274 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8275 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8276 * sysdeps/x86_64/multiarch/strcat.S: New file.
8277 * sysdeps/x86_64/multiarch/strncat.S: New file.
8278 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8279 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8280 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8281 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8282 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8283 (USE_AS_STRCAT): Define.
8284 Add strcat and strncat support.
8285 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8286 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8287 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8288 * string/strncat.c: Update.
8289 (USE_AS_STRNCAT): Define.
8290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8291 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8292 and i7.
8293 * sysdeps/x86_64/multiarch/init-arch.h
8294 (bit_Prefer_PMINUB_for_stringop): New.
8295 (index_Prefer_PMINUB_for_stringop): Likewise.
8296 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8297 bit_Prefer_PMINUB_for_stringop.
8298
7dc6bd90
UD
82992011-07-19 Ulrich Drepper <drepper@gmail.com>
8300
8301 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8302 buffer64.
8303 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8304 of casting of buffer.
8305 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8306 buffer32 and buffer64.
8307 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8308 writes instead of casting of buffer.
8309 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8310 buffer32.
8311 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8312 casting of buffer.
8313
e0e72284
AS
83142011-07-19 Andreas Schwab <schwab@redhat.com>
8315
8316 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8317
feb1eb0b
UD
83182011-07-19 Ulrich Drepper <drepper@gmail.com>
8319
8320 * nscd/nscd.c (termination_handler): Don't do anything for a database
8321 if it has not yet been initialized.
8322
298711ff
UD
83232011-07-18 Ulrich Drepper <drepper@gmail.com>
8324
8325 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8326
83272011-07-15 Marek Polacek <mpolacek@redhat.com>
8328
8329 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8330
f9d68389
UD
83312011-07-18 Ulrich Drepper <drepper@gmail.com>
8332
8333 * po/nl.po: Update from translation team.
8334 * po/sv.po: Likewise.
8335
db290cf5
RM
83362011-07-16 Roland McGrath <roland@hack.frob.com>
8337
8338 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8339 now disallowed by GCC.
5c550700 8340
fd5e21c7
RM
8341 * configure.in (use-default-link): Default to yes if a test -shared
8342 link meets our qualifications.
8343 * configure: Regenerated.
8344
5c550700
RM
8345 * config.make.in (output-format): New variable.
8346 * configure.in: Check for ld --print-output-format support.
8347 * configure: Regenerated.
8348 * Makerules ($(common-objpfx)format.lds)
8349 [$(output-format) != unknown]: Just use $(output-format),
8350 instead of the linker-script munging.
8351
9fa2c032
RM
83522011-07-14 Roland McGrath <roland@hack.frob.com>
8353
a6928d51
RM
8354 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8355 of $(common-objpfx)shlib.lds.
8356 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8357
661607b3
RM
8358 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8359 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8360
9fa2c032
RM
8361 * configure.in (-z relro check): Adjust test code to add a large
8362 writable data section after it.
8363 * configure: Regenerated.
8364
defe9061
RM
83652011-07-11 Roland McGrath <roland@hack.frob.com>
8366
8367 * configure.in (-z relro check): Fix test code to make the variable
8368 truly const.
8369 * configure: Regenerated.
8370
319b9ad4
UD
83712011-07-11 Ulrich Drepper <drepper@gmail.com>
8372
8373 * nscd/nscd.h (struct traced_file): Define.
8374 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8375 elements. Add traced_files.
8376 (inotify_fd): Declare.
8377 (register_traced_file): Declare.
8378 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8379 (inotify_fd): Export.
8380 (resolv_conf_descr): Remove.
8381 (nscd_init): Move inotify descriptor creation to main.
8382 Don't register files for notification here.
8383 (register_traced_file): New function.
8384 (invalidate_cache): Don't use reset_res to determine whether to call
8385 res_init, go through the list of registered files.
8386 (main_loop_poll): The inotify descriptors are now stored in the
8387 structures for the traced files.
8388 (main_loop_epoll): Likewise
8389 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8390 to __nss_disable_nscd.
8391 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8392 for a database anymore. Check the records for all the registered
8393 files instead.
8394 * nss/Makefile (libnss_files-routines): Add files-init.
8395 (libnss_db-routines): Add db-init.
8396 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8397 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8398 * nss/nss_db/db-init.c: New file.
8399 * nss/nss_files/files-init.c: New file.
8400 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8401 __nss_lookup_function.
8402 (__nss_lookup_function): Call nss_load_library.
8403 (nss_load_all_libraries): New function.
8404 (__nss_disable_nscd): Take parameter with callback function for files
8405 to register. Set is_nscd. Load all the DSOs for the NSS modules
8406 used for the cached services.
8407 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8408 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8409 options for features to all the files in nscd.
8410
8411 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8412
23bee3e8
RM
84132011-07-10 Roland McGrath <roland@hack.frob.com>
8414
8415 * csu/elf-init.c (__libc_csu_init): Comment typo.
8416
46a5b7f0
UD
84172011-07-09 Ulrich Drepper <drepper@gmail.com>
8418
8419 * po/pl.po: Update from translation team.
8420 * po/ja.po: Likewise.
8421 * po/ru.po: Likewise.
8422 * po/ko.po: Likewise.
8423 * po/fr.po: Likewise.
8424
d30cf5bb
RM
84252011-07-09 Roland McGrath <roland@hack.frob.com>
8426
113ddea4
RM
8427 * configure.in (.ctors/.dtors header and trailer check):
8428 Use an empirical test on a built program.
8429 * configure: Regenerated.
8430
574920b4
RM
8431 * configure.in (-z relro check): Use an empirical test on a built DSO.
8432 Detect, but do not require, on ia64.
8433 * configure: Regenerated.
8434
d30cf5bb
RM
8435 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8436 Update tests that use readelf to use $READELF instead.
8437 * configure: Regenerated.
8438
8538fdb3
UD
84392011-07-08 Ulrich Drepper <drepper@gmail.com>
8440
8441 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8442 if the result is not used.
8443
04d08991
AJ
84442011-07-05 Andreas Jaeger <aj@suse.de>
8445
8446 [BZ#9696]
8447 * stdlib/tst-strtod.c: Add testcase.
8448
de283087
AD
84492011-07-07 Ulrich Drepper <drepper@gmail.com>
8450
4e5f31c8 8451 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 8452 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
8453 The latter has a higher limit. Take additional parameter to pass to
8454 the new function.
8455 (__pathconf): Pass file to __statfs_link_max.
8456 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8457 __statfs_link_max.
8458 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8459 __statfs_link_max.
8460
de283087
AD
8461 [BZ #12868]
8462 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8463 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8464 Handle Lustre.
8465 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8466 (__statfs_filesize_max): Likewise.
8467 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8468
c75fa153
AJ
84692011-07-05 Andreas Jaeger <aj@suse.de>
8470
8471 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8472
1a544854
UD
84732011-07-06 Marek Polacek <mpolacek@redhat.com>
8474
8475 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8476 `status' variable.
8477 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8478 Likewise.
8479
6f0eec67
UD
84802011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8481
8482 * Makefile (strop-tests): Add strncat.
8483 * string/test-strncat.c: New file.
8484
aae30307
UD
84852011-06-30 Marek Polacek <mpolacek@redhat.com>
8486
8487 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8488
c0cfb5eb
UD
84892011-06-21 Andreas Jaeger <aj@suse.de>
8490
8491 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8492 Copy rule from iconvdata/Makefile.
8493
01636b21
UD
84942011-07-06 Ulrich Drepper <drepper@gmail.com>
8495
8496 [BZ #12922]
8497 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8498 but no long options are defined, just return 'W'.
8499
9895c8bc
UD
85002011-06-22 Marek Polacek <mpolacek@redhat.com>
8501
8502 [BZ #9696]
8503 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8504
5d4cf042
UD
85052011-07-06 Ulrich Drepper <drepper@gmail.com>
8506
8507 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8508 netgroups to read.
960e5535 8509 (innetgr): Likewise.
5d4cf042 8510
751eb97e
RM
85112011-07-05 Roland McGrath <roland@hack.frob.com>
8512
8513 * config.make.in (install_root): Default to $(DESTDIR).
8514
f15f1e45
UD
85152011-07-05 Ulrich Drepper <drepper@gmail.com>
8516
8517 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8518
4e34ac6a
RM
85192011-07-02 Roland McGrath <roland@hack.frob.com>
8520
5e9b6af4
RM
8521 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8522
84f9ea0f
RM
8523 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8524 containing directory rather than embedding absolute directory names.
8525
ea5ee9f7
RM
8526 * scripts/check-local-headers.sh: Rewritten using awk.
8527 Match by word, not by line. Print error messages for matches.
8528 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8529
1b74661a
RM
8530 * Makerules [shlib-lds-flags empty]:
8531 ($(common-objpfx)libc_pic.opts): New target.
8532 ($(common-objpfx)libc_pic.os.clean): New target.
8533 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8534
8535 * config.make.in (OBJCOPY): New variable.
8536 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8537 * configure: Regenerated.
8538
f781ef40
RM
8539 * config.make.in (use-default-link): New variable.
8540 * configure.in (use_default_link): Grok --with-default-link to set it.
8541 * configure: Regenerated.
8542 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8543 (shlib-lds, shlib-lds-flags): Define to empty.
8544
2d4fa81e
RM
8545 * Makerules (shlib-lds): New variable.
8546 (shlib-lds-flags): New variable.
8547 (build-shlib, build-moduile, build-module-asneeded): Use it.
8548 ($(common-objpfx)libc.so): Use $(shlib-lds).
8549 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8550 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8551
31fffa6b
RM
8552 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8553 DT_FLAGS/DT_FLAGS_1 with zero flags.
8554
4e34ac6a
RM
8555 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8556 linker script munging.
8557
fcfc776b
UD
85582011-07-02 Ulrich Drepper <drepper@gmail.com>
8559
8560 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8561 as 128-bit value.
8562 * crypt/sha512.c (sha512_process_block): Perform total addition using
8563 128-bit if possible.
8564 (__sha512_finish_ctx): Likewise.
8565 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8566 as 64-bit value.
8567 * crypt/sha256.c (SWAP64): Define.
8568 (sha256_process_block): Perform total addition using 64-bit if
8569 possible.
8570 (__sha256_finish_ctx): Likewise.
8571
99231d9a
UD
85722011-07-01 Ulrich Drepper <drepper@gmail.com>
8573
8574 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8575 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8576 * nscd/hstcache.c (cache_addhst): Likewise.
8577 * nscd/grpcache.c (cache_addgr): Likewise.
8578 * nscd/aicache.c (addhstaiX): Likewise
8579 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8580
445b4a53
TK
85812011-07-01 Thorsten Kukuk <kukuk@suse.de>
8582
8583 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8584 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8585 * nscd/hstcache.c (cache_addhst): Likewise.
8586 * nscd/grpcache.c (cache_addgr): Likewise.
8587 * nscd/aicache.c (addhstaiX): Likewise
8588
6d4d8e8e
AS
85892011-07-01 Andreas Schwab <schwab@redhat.com>
8590
8591 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8592 domain only when needed.
8593
89f654c5
AS
85942011-06-30 Andreas Schwab <schwab@redhat.com>
8595
8596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8597 is always restored.
8598
cf3b23ff
UD
85992011-06-29 Ulrich Drepper <drepper@gmail.com>
8600
8601 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8602 are re-adding the entry.
8603 * nscd/servicescache.c (cache_addserv): Likewise.
8604
751626f9
AJ
86052011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8606
8607 * sysdeps/generic/dl-irel.h: fix protection against multiple
8608 inclusions.
8609 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8610
9113ea1f
UD
86112011-06-28 Ulrich Drepper <drepper@gmail.com>
8612
5c0b8d90
UD
8613 [BZ #12935]
8614 * malloc/memusage.sh: Fix quoting in message.
8615 * debug/xtrace.sh: Likewise.
8616
9113ea1f
UD
8617 * configure.in: Remove support for --experimental-malloc option, make
8618 it the default.
8619 * config.make.in: Likewise.
8620 * malloc/Makefile: Likewise.
8621
a4172181
AS
86222011-06-27 Andreas Schwab <schwab@redhat.com>
8623
8624 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8625 two-byte characters.
8626
78a7eee7
RM
86272011-06-27 Roland McGrath <roland@hack.frob.com>
8628
62bede13
RM
8629 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8630 AC_CACHE_CHECK invocation.
8631 * configure: Regenerated.
8632
78a7eee7
RM
8633 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8634
5ce33a62
UD
86352011-06-27 Ulrich Drepper <drepper@gmail.com>
8636
034807a9
UD
8637 [BZ #12350]
8638 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8639 bit from old_res_options.
8640
4902da17
UD
8641 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8642
5ce33a62
UD
8643 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8644 value type for setfct.
8645
c2344f56
L
86462011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8647
8648 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8649 __gettimeofday instead of gettimeofday.
8650
68468076
UD
86512011-06-26 Ulrich Drepper <drepper@gmail.com>
8652
8653 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8654
acb0d739
L
86552011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8656
8657 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8658
8659 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8660 info.
8661
8912479f
L
86622011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8663
8664 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8665 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8666 strcpy-sse2-unaligned strncpy-sse2-unaligned
8667 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8668 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8669 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8670 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8671 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8672 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8673 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8674 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8675 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8676 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8677 (STRCPY): Support SSE2 and SSSE3 versions.
8678
d5495a11
UD
86792011-06-24 Ulrich Drepper <drepper@gmail.com>
8680
8681 [BZ #12874]
8682 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8683 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8684 kernels which artificially limit size of requests.
8685
0b1cbaae
L
86862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8687
8688 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8689 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8690 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8691 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8692 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8693 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8694 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8695 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8696 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8697 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8698 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8699 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8700 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8701 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8702 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8704 Enable unaligned load optimization for Intel Core i3, i5 and i7
8705 processors.
8706 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8707 Define.
8708 (index_Fast_Unaligned_Load): Define.
8709 (HAS_FAST_UNALIGNED_LOAD): Define.
8710
07f494a0
MP
87112011-06-23 Marek Polacek <mpolacek@redhat.com>
8712
8713 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8714
fa3fc0fe
UD
87152011-06-22 Ulrich Drepper <drepper@gmail.com>
8716
8717 [BZ #12907]
8718 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8719 until it is clear that the information is realy needed.
8720 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8721
e12df166
AS
87222011-06-22 Andreas Schwab <schwab@redhat.com>
8723
8724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8725
852eb34d
UD
87262011-06-22 Ulrich Drepper <drepper@gmail.com>
8727
84e2a551
UD
8728 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8729 /sys/devices/system/cpu/online if it is usable.
8730
852eb34d
UD
8731 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8732 reading the information from the /proc filesystem to once a second.
8733
6e502e19
UD
87342011-06-21 Andreas Jaeger <aj@suse.de>
8735
8736 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8737 NULL after inclusion of kernel headers.
8738
75d39ff2
UD
87392011-06-21 Ulrich Drepper <drepper@gmail.com>
8740
51f9aa6a
UD
8741 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8742 calls to internal_setent.
8743
c0244a9d
UD
8744 [BZ #12885]
8745 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8746 addresses using gethostbyname4_r ignore IPv4 addresses.
8747
c5e3c2ae
UD
8748 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8749 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8750
75d39ff2
UD
8751 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8752
42675c6f
DM
87532011-06-20 David S. Miller <davem@davemloft.net>
8754
8755 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8756 inclusions.
8757 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8758
8759 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8760 (elf_irel): Use it.
8761 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8762 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8763 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8764 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8765 * sysdeps/x86_64/dl-irel.h: Likewise.
8766
8767 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8768 * elf/dl-sym.c: Likewise.
8769
57912a71
UD
87702011-06-15 Ulrich Drepper <drepper@gmail.com>
8771
8772 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8773 need to dereference resplen2.
8774
ee22793d
AS
87752011-06-14 Andreas Schwab <schwab@redhat.com>
8776
8777 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8778
a9e836b0
UD
87792011-06-15 Ulrich Drepper <drepper@gmail.com>
8780
77fb9117
UD
8781 * Makeconfig: Define vardbdir and inst_vardbdir.
8782 * nss/Makefile: Add rules to install db-Makefile.
8783
40c1b22c
UD
8784 * nss/nss_db/db-XXX.c: Cleanup.
8785
9f2da732
UD
8786 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8787 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8788 GLIBC_PRIVATE.
8789 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8790 * nss/makedb.c: Implement -g option to specify that value strings
8791 are generated and should not be added to table iterated over for
8792 get*ent calls.
8793 * nss/nss_db/db-initgroups.c: New file.
8794
82e9a1f7
UD
8795 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8796 interface.
8797
c41af17e
UD
8798 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8799 (internal_getgrouplist): Adjust to name change.
8800 Update use_initgroups_entry if this is not the first call.
8801 * nss/databases.def: Add initgroups entry.
8802
a9e836b0
UD
8803 * nss/makedb.c (compute_tables): Check result of multiple hash table
8804 sizes to minimize maximum chain length.
8805
2666d441
UD
88062011-06-14 Ulrich Drepper <drepper@gmail.com>
8807
8808 * Versions.def: Add entry for libnss_db.
8809 * shlib-versions: Likewise.
8810 * nss/Makefile: Add rules to build libnss_db.
8811 * nss/Versions: Add libnss_db information. Organize libnss_files
8812 entries better.
8813 * nss/db-Makefile: Add gshadow support. Change rules for the new
8814 makedb progra. Some minor improvements to generate smaller files.
8815 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8816 here from...
8817 * nss/makedb.c: ...here.
8818 Improve database format to be smaller and require less memory at
8819 runtime.
8820 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8821 db anymore.
8822 * nss/nss_db/db-netgrp.c: Likewise.
8823 * nss/nss_db/db-open.c: Likewise.
8824 * nss/nss_files/flies-XXX.x: Adjust comments.
8825 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8826 * nss/nss_files/files-grp.c: Likewise.
8827 * nss/nss_files/files-hosts.c: Likewise.
8828 * nss/nss_files/files-network.c: Likewise.
8829 * nss/nss_files/files-proto.c: Likewise.
8830 * nss/nss_files/files-pwd.c: Likewise.
8831 * nss/nss_files/files-rpc.c: Likewise.
8832 * nss/nss_files/files-service.c: Likewise.
8833 * nss/nss_files/files-sgrp.c: Likewise.
8834 * nss/nss_files/files-spwd.c: Likewise.
8835 * nss/nss_db/db-alias.c: Removed.
8836 * nss/nss_db/dummy-db.h: Removed.
8837
9ee76b5a
UD
88382011-06-02 Ulrich Drepper <drepper@gmail.com>
8839
8840 * nss/makedb.c: Rewritten to not use database library.
8841 * nss/Makefile: Update to build new makedb program.
8842
c71ca1f8
AJ
88432011-06-14 Andreas Jaeger <aj@suse.de>
8844
8845 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8846 memset declaration.
8847
3154bfb8
UD
88482011-06-10 Andreas Schwab <schwab@redhat.com>
8849
8850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8851 tmpbuf.
8852
b350afab
RM
88532011-06-10 Roland McGrath <roland@hack.frob.com>
8854
decd4e50
RM
8855 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8856 * elf/Makefile ($(objpfx)ld.so): Likewise.
8857
5615eaf2
RM
8858 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8859 Don't list ld.so twice in dependencies.
8860
8861 * posix/bug-regex31.c: Include <stdlib.h>.
8862
8863 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8864
8865 * nis/nss_compat/compat-spwd.c
8866 (getspent_next_nss_netgr): Remove unused variable.
8867 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8868
8869 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8870 nonmembers" output to use the right array.
8871
8872 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8873
8874 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8875
8876 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8877 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8878 * catgets/gencat.c (read_input_file): Likewise.
8879 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8880
8881 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8882 variable definition inside #if's controlling its use.
8883
8884 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8885
8886 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8887
8888 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8889
8890 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8891 unreachable code.
8892
8893 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8894
b68e08db
RM
8895 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8896 * configure: Regenerated.
8897
b350afab
RM
8898 * Makerules: Revert last change.
8899 * elf/Makefile: Likewise.
8900
28368601
RM
89012011-06-09 Roland McGrath <roland@hack.frob.com>
8902
8903 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8904 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8905 (reloc-link): Likewise.
8906
11988f8f
UD
89072011-06-09 Ulrich Drepper <drepper@gmail.com>
8908
8909 * elf/Makefile: Add rules to build pldd.
8910 * elf/pldd.c: New file.
8911 * elf/pldd-xx.c: New file.
8912
e80fab37
UD
89132011-06-07 Ulrich Drepper <drepper@gmail.com>
8914
8915 * version.h: Update for 2.15 development version.
8916
9b849836
DM
89172011-06-07 David S. Miller <davem@davemloft.net>
8918
8919 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8920 ifuncs.
8921 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8922 elf_machine_lazy_rel): Likewise.
8923 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8924 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8925 elf_machine_lazy_rel): Likewise.
8926 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8927 dl_hwcap via passed in argument.
8928 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8929 Likewise.
8930
5a31b283
AK
89312011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8932
8933 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8934
069e52f8
RM
89352011-06-06 Roland McGrath <roland@hack.frob.com>
8936
8937 [BZ #12849]
8938 * manual/fdl-1.1.texi: New file, verbatim from:
8939 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8940 * manual/lgpl-2.1.texi: New file, verbatim from:
8941 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8942 * manual/Makefile (licenses): New variable, list those new file names.
8943 (texis): Use it.
8944 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8945
8946 * manual/fdl.texi: File removed.
8947 * manual/lesser.texi: File removed.
8948 * manual/libc.texinfo (Copying, Documentation License):
8949 Use new @include file names, put @appendix directive before @include.
8950
f16846a5
JJ
89512011-06-04 Jakub Jelinek <jakub@redhat.com>
8952
8953 [BZ #12841]
8954 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8955 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8956 (mq_open): Add __NTH.
8957
3d29045b
L
89582011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8959
8960 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8961 Assume Intel Core i3/i5/i7 processor if AVX is available.
8962
8c297311
UD
89632011-05-31 Ulrich Drepper <drepper@gmail.com>
8964
8965 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8966 typo.
8967
c8fc0c91
UD
89682011-05-31 Andreas Schwab <schwab@redhat.com>
8969
8970 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8971 memory. Use alloca_account. Fix memory leak when retrying.
8972
5b27a807
UD
89732011-05-31 Ulrich Drepper <drepper@gmail.com>
8974
356f8bc6
UD
8975 * version.h (RELEASE): Bump for 2.14 release.
8976 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8977
5b27a807
UD
8978 * config.make.in (RANLIB): Remove entry.
8979
01f16ab0
UD
89802011-05-30 Ulrich Drepper <drepper@gmail.com>
8981
41fce8bd
UD
8982 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8983 (libc.pot): Work around missing support for .ksh extension in xgettext.
8984
4769ae77
UD
8985 [BZ #12684]
8986 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8987 if both request failed.
8988 (send_dg): In case of server errors clear resplen or *resplen2.
8989
6b1e7d19
UD
8990 [BZ #12454]
8991 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8992 when there are multiple maps.
8993 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8994 (_dl_fini): Remove test here.
8995
01f16ab0
UD
8996 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8997
b1ebd700
UD
89982011-05-29 Ulrich Drepper <drepper@gmail.com>
8999
7ae22829
UD
9000 [BZ #12350]
9001 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
9002 bit from old_res_options.
9003 (gaih_inet): Likewise.
9004
553149f6 9005 [BZ #11099]
18a84741 9006 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
9007 as signed.
9008
652ffab1
UD
9009 * resolv/res_init.c (res_setoptions): Make the code more compact.
9010
16985fd0
UD
9011 [BZ #11558]
9012 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
9013 set RES_USEVC.
9014
0464f746
UD
9015 [BZ #11634]
9016 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
9017
7d17596c
UD
9018 * malloc/malloc.h: Mark malloc hook variables as deprecated.
9019
cf6bbbd7
UD
9020 [BZ #11781]
9021 * malloc/malloc.h: Declare malloc hook variables as volatile.
9022
13f1ab36
UD
9023 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
9024 in last patch.
9025
b1ebd700
UD
9026 [BZ #11799]
9027 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 9028 raise in the comment.
80e2212d
UD
9029 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9030 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9031 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 9032
ce67228d
UD
90332011-05-28 Ulrich Drepper <drepper@gmail.com>
9034
8887a920
UD
9035 [BZ #12811]
9036 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
9037 grow the buffers more if it already has to be sufficient.
9038 (build_wcs_upper_buffer): Likewise.
9039 * posix/regexec.c (check_matching): Likewise.
9040 (clean_state_log_if_needed): Likewise.
9041 (extend_buffers): Don't enlarge buffers beyond size of the input
9042 buffer.
9043 Patches mostly by Emil Wojak <emil@wojak.eu>.
9044 * posix/bug-regex32.c: New file.
9045 * posix/Makefile (tests): Add bug-regex32.
9046
4f031072
UD
9047 * locale/findlocale.c (_nl_find_locale): Return right away if
9048 _nl_explode_name failed.
9049 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9050
d0478f0c
UD
9051 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
9052
de81b246
UD
9053 * debug/xtrace.sh: Unify messages.
9054 * malloc/memusage.sh: Likewise.
9055
c738465a
UD
9056 [BZ #12813]
9057 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
9058 time symbol from vDSO. Substitute with vsyscall if not available.
9059 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
9060 __vdso_time.
9061
f1f929d7
UD
9062 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
9063 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9064 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9065 Add sendmmsg and internal_sendmmsg.
9066 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9067 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9068 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9069
ce67228d
UD
9070 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9071 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9072 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9073
e57420c6
UD
90742011-05-27 Ulrich Drepper <drepper@gmail.com>
9075
a8509ca5
UD
9076 [BZ #12813]
9077 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9078 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9079 available.
9080 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9081 __vdso_getcpu.
9082
e57420c6
UD
9083 [BZ #12814]
9084 * iconvdata/Makefile (tests): Add bug-iconv9.
9085 * iconvdata/bug-iconv9.c: New file.
9086
4d07db15
AS
90872011-05-27 Andreas Schwab <schwab@redhat.com>
9088
9089 [BZ #12814]
9090 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9091
ea486f69
JJ
90922011-05-25 Jakub Jelinek <jakub@redhat.com>
9093
9094 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9095 (struct user_regs_struct): Change intcs field back to cs.
9096
6f038433
UD
90972011-05-25 Ulrich Drepper <drepper@gmail.com>
9098
9099 * po/ja.po: Update from translation team.
9100
67f86a25
UD
91012011-05-23 Ulrich Drepper <drepper@gmail.com>
9102
9103 [BZ #12795]
9104 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9105 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9106
def7fbd6
AS
91072011-05-20 Andreas Schwab <schwab@redhat.com>
9108
9109 * stdlib/longlong.h: Update from GCC.
9110
f50ef8f1
AS
91112011-05-23 Andreas Schwab <schwab@redhat.com>
9112
9113 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9114 parameter name.
9115 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9116 Add parameter name.
9117 (__sysconf): Pass it down.
9118
de7ce8f1
UD
91192011-05-22 Ulrich Drepper <drepper@gmail.com>
9120
f2962a71
UD
9121 [BZ #12671]
9122 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9123 some situations.
9124 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9125 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9126 add in in __libc_use_alloca calls. Adjust callers.
9127 (glob): Use malloc in some situations.
9128
de7ce8f1
UD
9129 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9130 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9131 pltexit.
9132
aec84f53
UD
91332011-05-21 Ulrich Drepper <drepper@gmail.com>
9134
05bb4a68
UD
9135 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9136 and CLOCK_BOOTTIME_ALARM.
9137
7ea72f99
UD
9138 [BZ #12782]
9139 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9140 is returned.
9141
7e4afad5
UD
9142 * string/_strerror.c (__strerror_r): Print negative errors as signed
9143 numbers.
9144
8e211fec
UD
9145 [BZ #12777]
9146 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9147 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9148 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9149
f7d82dc9
UD
9150 * configure.in: Fix typo in redirection and correct removal of test
9151 files in two cases.
9152
cc9e536d
UD
9153 [BZ #12788]
9154 * locale/setlocale.c (new_composite_name): Fix test to check for
9155 identical name of all categories.
9156
aec84f53
UD
9157 [BZ #12792]
9158 * libio/filedoalloc.c (local_isatty): New function.
9159 (_IO_file_doallocate): Use local_isatty.
9160 * stdio-common/perror.c (perror): In case a new stream is used
9161 forward the stream error.
9162 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9163 error flag.
9164
78e64fdc
RT
91652011-05-20 Ulrich Drepper <drepper@gmail.com>
9166
34a9094f
UD
9167 [BZ #11869]
9168 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9169 alloca.
9170 * include/alloca.h (extend_alloca_account): Define.
9171
78e64fdc
RT
9172 [BZ #11857]
9173 * posix/regex.h: Fix comments with documentation of user-accessible
9174 fields after compilation and describe correct free'ing of pattern
9175 after re_compile_pattern.
9176 Patch by Reuben Thomas <rrt@sc3d.org>.
9177
457bddfc
RA
91782011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9179
9180 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9181 and -mno-altivec to prevent the compiler from using Altivec and/or
9182 VSX instructions when the corresponding registers are not available.
9183
a4527b51
AS
91842011-05-19 Andreas Schwab <schwab@redhat.com>
9185
9186 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9187
ed690b2f
UD
91882011-05-19 Ulrich Drepper <drepper@gmail.com>
9189
9190 * libio/freopen.c (freopen): Use __dup2, not dup2.
9191 * libio/freopen64.c (freopen64): Likewise.
9192
8db73634
L
91932011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9194
9195 [BZ #12775]
9196 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9197 * math/Makefile (tests): Add test-powl.
9198 (CFLAGS-test-powl.c): Define.
9199 * math/test-powl.c: New file.
9200
0a197a9d
L
92012011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9202
9203 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9204
ee30c380
UD
92052011-05-17 Ulrich Drepper <drepper@gmail.com>
9206
9207 [BZ #11837]
9208 * iconvdata/gb18030.c: Update to GB18020-2005.
9209
6ce75379
UD
92102011-05-16 Ulrich Drepper <drepper@gmail.com>
9211
a4b89fd8
AR
9212 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9213 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9214 Patch by Aharon Robbins <arnold@skeeve.com>.
9215
ea389b12
UD
9216 [BZ #11892]
9217 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9218 on the stack.
9219
68a3f91f
UD
9220 [BZ #11895]
9221 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9222 through underflows.
9223
15cc7dd1
UD
9224 [BZ #12766]
9225 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9226 point to strings before performing equality test for error_one_per_line
9227 mode.
9228
f3799213
UD
9229 [BZ #11697]
9230 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9231
d79a9c94
UD
9232 [BZ #11820]
9233 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9234 (struct user_fpregs_struct): Avoid __uint*_t types.
9235
56e5eb46
UD
9236 [BZ #6420]
9237 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9238 symbol info. Use it instead of calling _dl_addr locally.
9239 (lock_and_info): New function.
9240 (tr_freehook): Call lock_and_info and pass symbol info as additional
9241 parameter to tr_where.
9242 (tr_mallochook): Likewise.
9243 (tr_reallochook): Likewise.
9244 (tr_memalignhook): Likewise.
9245
6ce75379
UD
9246 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9247 used and couldn't be at all thread-safe.
9248
f8a3b5bf
UD
92492011-05-15 Ulrich Drepper <drepper@gmail.com>
9250
94b7cc37
UD
9251 * libio/freopen.c (freopen): Don't close old file descriptor
9252 before the new one is opened. Instead dup the new file descriptor
9253 to the old one after the new stream is created.
9254 * libio/freopen64.c (freopen64): Likewise.
9255 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9256 * libio/fileops.c (_IO_new_file_close_it): Handle new
9257 _IO_FLAGS2_NOCLOSE flag.
9258 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9259 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9260 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9261 _IO_FLAGS2_NOCLOSE flag.
9262 * include/unistd.h: Add hidden_proto for dup3.
9263 Define __have_dup3.
9264 * io/dup3.c: Define hidden symbol.
9265 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9266
bd25564e
UD
9267 [BZ #7101]
9268 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9269 when an incomplete long option is used.
9270 * posix/tst-getopt_long1.c: New file.
9271 * posix/Makefile (tests): Add tst-getopt_long1.
9272
c84cfef4
UD
9273 [BZ #10138]
9274 * scripts/config.guess: Update from autoconf-2.68.
9275 * scripts/config.sub: Likewise.
9276
3b85df27
UD
9277 [BZ #10157]
9278 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9279 tests into ...
9280 (has_cpuclock): ...this. New function.
9281 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9282 macro here based on has_cpuclock code.
9283
15a856b1
UD
9284 [BZ #10149]
9285 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9286 First byte (not low byte) is now always NUL.
9287 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9288
05f399e6
UD
9289 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9290 Use non-cancelable interfaces.
9291
10a52685 9292 [BZ #9809]
94ecc67d
UD
9293 * locale/iso-639.def: Add entry for Sorani.
9294
f8a3b5bf
UD
9295 [BZ #11901]
9296 * include/stdlib.h: Move include protection to the right place.
9297 Define abort_msg_s. Declare __abort_msg with it.
9298 * stdlib/abort.c (__abort_msg): Adjust type.
9299 * assert/assert.c (__assert_fail_base): New function. Majority
9300 of code from __assert_fail. Allocate memory for __abort_msg with
9301 mmap.
9302 (__assert_fail): Now call __assert_fail_base.
9303 * assert/assert-perr.c: Remove bulk of implementation. Use
9304 __assert_fail_base.
9305 * include/assert.hL Declare __assert_fail_base.
9306 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9307 mmap.
9308 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9309
1af4e298
UD
93102011-05-14 Ulrich Drepper <drepper@gmail.com>
9311
f8a3b5bf 9312 [BZ #11952]
d26dfc60
MG
9313 [BZ #12453]
9314 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9315 until all modules are registered in the DTV.
9316 * elf/Makefile: Add rules to build and run tst-tls19.
9317 * elf/tst-tls19.c: New file.
9318 * elf/tst-tls19mod1.c: New file.
9319 * elf/tst-tls19mod2.c: New file.
9320 * elf/tst-tls19mod3.c: New file.
9321 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9322
2fc54d6f
UD
9323 [BZ #12083]
9324 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9325 correctly.
9326
98d76b46
UD
9327 [BZ #12601]
9328 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9329 two-byte sequence errors.
9330 * iconvdata/Makefile (tests): Add bug-iconv8.
9331 * iconvdata/bug-iconv8.c: New file.
9332
da3c19ef
UD
9333 [BZ #12626]
9334 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9335 buf2 definition.
9336
ca408c15
UD
9337 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9338
d6f67f7d
UD
9339 [BZ #12432]
9340 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9341 (dummy_getcfa): New function.
9342 (init): Get _Unwind_GetCFA address, use dummy if not found.
9343 (backtrace_helper): In recursion check, also check whether CFA changes.
9344 (__backtrace): Completely initialize arg.
9345
1af4e298 9346 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
9347 storing incomplete byte sequence in state object. Avoid testing for
9348 guaranteed too small input if we know there is enough data available.
1af4e298 9349
da62f81b
AS
93502011-05-11 Andreas Schwab <schwab@redhat.com>
9351
9352 * Makeconfig (+link-pie): Indent.
9353 * Rules (binaries-pie): Define if $(have-fpie) and
9354 $(build-shared).
9355 (binaries-shared): Also filter out $(binaries-pie).
9356 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9357 * nscd/Makefile (others-pie): Add nscd.
9358 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9359 ($(objpfx)nscd): Remove command override.
9360 * login/Makefile (others-pie): Add pt_chown.
9361 ($(objpfx)pt_chown): Remove command override.
9362 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9363 remove command overrides.
9364
fcabc0f8
UD
93652011-05-13 Ulrich Drepper <drepper@gmail.com>
9366
20030ae6
UD
9367 * libio/tst_putwc.c: Fix error messages.
9368
fcabc0f8
UD
9369 [BZ #12724]
9370 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9371 currently writing and seek to current position when not.
9372 * libio/Makefile (tests): Add bug-fclose1.
9373 * libio/bug-fclose1.c: New file.
9374
320a5dc0
PB
93752011-05-12 Ulrich Drepper <drepper@gmail.com>
9376
9377 [BZ #12511]
9378 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9379 don't set DF_1_NODELETE here.
9380 (do_lookup_x): When entering new entry test for copy relocation
9381 and if necessary set DF_1_NODELETE flag.
9382 * elf/tst-unique4.cc: New file.
9383 * elf/tst-unique4.h: New file.
9384 * elf/tst-unique4lib.cc: New file.
9385 * elf/Makefile: Add rules to build and run tst-unique4.
9386 Patch by Piotr Bury <pbury@goahead.com>.
9387
22836f52
UD
93882011-05-11 Ulrich Drepper <drepper@gmail.com>
9389
f574184a
UD
9390 [BZ #12052]
9391 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9392
e1fb097f
UD
9393 [BZ #12625]
9394 * misc/mntent_r.c (addmntent): Flush the stream after the output
9395
22836f52
UD
9396 [BZ #12393]
9397 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9398 (is_trusted_path_normalize): Skip initial colon. Append slash
9399 to empty buffer. Duplicate is_trusted_path code but allow
9400 constructed patch to be prefix.
9401 (is_dst): Allow $ORIGIN followed by /.
9402 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9403 Correct testing of result of is_trusted_path_normalize
9404 (decompose_rpath): Fix warning.
9405
7b3b0b2a
UD
94062011-05-10 Ulrich Drepper <drepper@gmail.com>
9407
9408 [BZ #11257]
9409 * grp/initgroups.c (internal_getgrouplist): When we found the service
9410 list through the initgroups entry in nsswitch.conf do not always
9411 continue on a successful lookup. Don't always use the
eac80ce2 9412 __nss_group_database value if it is set.
7b3b0b2a
UD
9413 * nss/nsswitch.conf (initgroups): Change action for successful db
9414 lookup to continue for compatibility.
9415
2a81eaa5
UD
94162011-05-09 Ulrich Drepper <drepper@gmail.com>
9417
be97a69e
UD
9418 [BZ #11532]
9419 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9420 and CP774 modules.
9421 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9422 and CP774 modules.
9423 * iconvdata/tst-tables.sh: Likewise.
9424 * iconvdata/cp770.c: New file.
9425 * iconvdata/cp771.c: New file.
9426 * iconvdata/cp772.c: New file.
9427 * iconvdata/cp773.c: New file.
9428 * iconvdata/cp774.c: New file.
9429 * iconvdata/testdata/CP770: New file.
9430 * iconvdata/testdata/CP770..UTF8: New file.
9431 * iconvdata/testdata/CP771: New file.
9432 * iconvdata/testdata/CP771..UTF8: New file.
9433 * iconvdata/testdata/CP772: New file.
9434 * iconvdata/testdata/CP772..UTF8: New file.
9435 * iconvdata/testdata/CP773: New file.
9436 * iconvdata/testdata/CP773..UTF8: New file.
9437 * iconvdata/testdata/CP774: New file.
9438 * iconvdata/testdata/CP774..UTF8: New file.
9439
9440 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9441 END CHARMAP line.
9442 * iconvdata/gen-8bit-gap.sh: Likewise.
9443 * iconvdata/gen-8bit.sh: Likewise.
9444
c1e9e399
UD
9445 * locale/iso-639.def: Add ary entry.
9446
24c55fb3 9447 [BZ #11258]
96b4b1b0
UD
9448 * locale/C-translit.h.in: Add U20A1 transliteration.
9449
bdc2f971
KB
9450 [BZ #12178]
9451 * locale/iso-639.def: Add wae entry.
9452 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9453
2952b117
UD
9454 [BZ #12545]
9455 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9456 for n.
9457
2a81eaa5
UD
9458 [BZ #12711]
9459 * locale/C-translit.h.in: Add entry for U20B9.
9460 Patch by pravin.d.s@gmail.com.
9461
28377d1b
UD
94622011-05-08 Ulrich Drepper <drepper@gmail.com>
9463
7fb90fb8
UD
9464 [BZ #12713]
9465 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9466 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
9467 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9468 in rtld. Use *stat64.
7fb90fb8 9469 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 9470 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 9471 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
9472 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9473 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9474 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9475 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9476 __fstatat64 macros.
7fb90fb8
UD
9477 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9478 * dirent/rewinddir.c: Add libc_hidden_def.
9479 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 9480 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 9481
28377d1b
UD
9482 * include/dirent.h (__alloc_dir): Add flags parameter.
9483 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9484 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9485 __alloc_dir.
9486 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9487 from fdopendir if O_CLOEXEC is already set.
9488
66bdbaa4
AM
94892011-03-15 Alan Modra <amodra@gmail.com>
9490
9491 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9492 l_tls_firstbyte_offset non-zero. Save padding offset in
9493 l_tls_firstbyte_offset for later use.
9494 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9495 freeing static tls block.
9496
95721191
JN
94972011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9498
9499 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9500 where #ifdef was intended. The intent is to prevent ARG_MAX from
9501 being defined by the kernel headers.
9502
f87dfb1f
UD
95032011-05-07 Ulrich Drepper <drepper@gmail.com>
9504
9505 [BZ #12734]
9506 * resolv/resolv.h: Define RES_NOTLDQUERY.
9507 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9508 no-tld-query and set RES_NOTLDQUERY.
9509 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9510 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9511 modern BIND to search name as TLD unless forbidden.
9512
47c3cd7a
UD
95132011-05-07 Petr Baudis <pasky@suse.cz>
9514 Ulrich Drepper <drepper@gmail.com>
9515
9516 [BZ #12393]
9517 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9518 (is_trusted_path): ...to here.
c1e9ea35 9519 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 9520 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 9521 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 9522
8a35c912
PP
95232011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9524
9525 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9526 __BEGIN/__END_DECLS.
9527
acd41f47
UD
95282011-05-06 Ulrich Drepper <drepper@gmail.com>
9529
9530 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9531 NSS_STATUS_NOTFOUND if no record was found.
9532
597df647
AS
95332011-05-05 Andreas Schwab <schwab@redhat.com>
9534
9535 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9536 (headers-not-in-tirpc): Remove rpc/netdb.h
9537 * resolv/netdb.h: Revert last change.
9538
b9af1301
PP
95392011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9540
9541 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9542 circular dependency between libgcc.a and libc.a.
9543
4e34d5f5
AS
95442011-05-05 Andreas Schwab <schwab@redhat.com>
9545
9546 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9547 * nis/Makefile: Don't install rpcsvc/*.
9548 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9549 instead of <rpc/types.h>.
9550 (MAXHOSTNAMELEN): Define.
9551
00ee369c
AS
95522011-05-03 Andreas Schwab <schwab@redhat.com>
9553
9554 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9555
0b592a30
MB
95562011-04-28 Maciej Babinski <mbabinski@google.com>
9557
9558 [BZ #12714]
9559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9560 gethostbyname4_r when IPv6 results are possible.
9561
6e04cbbe
UD
95622011-05-02 Ulrich Drepper <drepper@gmail.com>
9563
9564 [BZ #12723]
9565 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9566 _PC_PIPE_BUF handling.
9567
e4ecafe0
BH
95682011-04-30 Bruno Haible <bruno@clisp.org>
9569
9570 [BZ #12717]
9571 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9572 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9573 to 'int'.
9574 * inet/getnameinfo.c (getnameinfo): Likewise.
9575
125ee683
UD
95762011-04-29 Ulrich Drepper <drepper@gmail.com>
9577
9578 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9579 to groups setting in database lookup.
9580 * nss/nsswitch.conf: Add initgroups entry.
9581
b722481a
EB
95822011-04-22 Ulrich Drepper <drepper@gmail.com>
9583
9584 [BZ #12685]
9585 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9586 mode string.
9587 Patch by Eric Blake <eblake@redhat.com>.
9588
4df46dbd
L
95892011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9590
9591 * sunrpc/Makefile (need-export-routines): Add svc_run.
9592 (routines): Remove svc_run.
9593 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9594 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9595 * sunrpc/svc_run.c (svc_run): Likewise.
9596 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9597
e84142d2
UD
95982011-04-21 Ulrich Drepper <drepper@gmail.com>
9599
9600 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9601 problem in reallocation in last patch.
9602
877175d8
UD
96032011-04-20 Ulrich Drepper <drepper@gmail.com>
9604
9605 * sunrpc/Makefile: Move inclusion of Rules.
9606
ab8eed78
UD
96072011-04-19 Ulrich Drepper <drepper@gmail.com>
9608
9609 * nss/nss_files/files-initgroups.c: New file.
9610 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9611 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9612 _nss_files_initgroups_dyn.
9613
e3d8f584
RS
96142011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9615
9616 * elf/elf.h (R_ARM_IRELATIVE): Define.
9617
af190f45
UD
96182011-04-19 Ulrich Drepper <drepper@gmail.com>
9619
9620 * po/ru.po: Update from translation team.
9621
53cf59ef
UD
96222011-04-17 Ulrich Drepper <drepper@gmail.com>
9623
9624 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9625 dependencies.
9626
4c559bcd
MF
96272011-02-06 Mike Frysinger <vapier@gentoo.org>
9628
9629 [BZ #12653]
9630 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9631 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9632 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9633 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9634 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9635
4420675c
AS
96362011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9637
9638 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9639 differing bytes.
9640 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9641 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9642 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9643
75ea32ab
UD
96442011-04-17 Ulrich Drepper <drepper@gmail.com>
9645
9646 [BZ #12420]
9647 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9648 storing it.
9649 * stdlib/bug-getcontext.c: New file.
9650 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9651
27390476
AK
96522011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9653
9654 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9655 instructions into .machine "z9-109".
9656 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9657 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9658
10442705
AK
96592011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9660
9661 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9662 between environment variables and auxiliary vector.
9663
7b57bfe5
UD
96642011-04-16 Ulrich Drepper <drepper@gmail.com>
9665
9666 * Makefile: Add rules to build linkobj/libc.so.
9667 * include/libc-symbols.h: Define libc_hidden_nolink.
9668 * include/rpc/auth.h: Mark functions which are to be hidden.
9669 * include/rpc/auth_des.h: Likewise.
9670 * include/rpc/auth_unix.h: Likewise.
9671 * include/rpc/clnt.h: Likewise.
9672 * include/rpc/des_crypt.h: Likewise.
9673 * include/rpc/key_prot.h: Likewise.
9674 * include/rpc/pmap_clnt.h: Likewise.
9675 * include/rpc/pmap_prot.h: Likewise.
9676 * include/rpc/pmap_rmt.h: Likewise.
9677 * include/rpc/rpc_msg.h: Likewise.
9678 * include/rpc/svc.h: Likewise.
9679 * include/rpc/svc_auth.h: Likewise.
9680 * include/rpc/xdr.h: Likewise.
9681 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9682 * nss/Makefile: Likewise.
9683 * sunrpc/Makefile: Don't install headers. Build library with normal
9684 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9685 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9686 for the compat linking library. Remove use of INTDEF/INTUSE.
9687 * sunrpc/auth_none.c: Likewise.
9688 * sunrpc/auth_unix.c: Likewise.
9689 * sunrpc/authdes_prot.c: Likewise.
9690 * sunrpc/authuxprot.c: Likewise.
9691 * sunrpc/clnt_gen.c: Likewise.
9692 * sunrpc/clnt_perr.c: Likewise.
9693 * sunrpc/clnt_raw.c: Likewise.
9694 * sunrpc/clnt_simp.c: Likewise.
9695 * sunrpc/clnt_tcp.c: Likewise.
9696 * sunrpc/clnt_udp.c: Likewise.
9697 * sunrpc/clnt_unix.c: Likewise.
9698 * sunrpc/des_crypt.c: Likewise.
9699 * sunrpc/des_soft.c: Likewise.
9700 * sunrpc/get_myaddr.c: Likewise.
9701 * sunrpc/key_call.c: Likewise.
9702 * sunrpc/key_prot.c: Likewise.
9703 * sunrpc/netname.c: Likewise.
9704 * sunrpc/pm_getmaps.c: Likewise.
9705 * sunrpc/pm_getport.c: Likewise.
9706 * sunrpc/pmap_clnt.c: Likewise.
9707 * sunrpc/pmap_prot.c: Likewise.
9708 * sunrpc/pmap_prot2.c: Likewise.
9709 * sunrpc/pmap_rmt.c: Likewise.
9710 * sunrpc/publickey.c: Likewise.
9711 * sunrpc/rpc_cmsg.c: Likewise.
9712 * sunrpc/rpc_common.c: Likewise.
9713 * sunrpc/rpc_dtable.c: Likewise.
9714 * sunrpc/rpc_prot.c: Likewise.
9715 * sunrpc/rpc_thread.c: Likewise.
9716 * sunrpc/rtime.c: Likewise.
9717 * sunrpc/svc.c: Likewise.
9718 * sunrpc/svc_auth.c: Likewise.
9719 * sunrpc/svc_authux.c: Likewise.
9720 * sunrpc/svc_raw.c: Likewise.
9721 * sunrpc/svc_run.c: Likewise.
9722 * sunrpc/svc_simple.c: Likewise.
9723 * sunrpc/svc_tcp.c: Likewise.
9724 * sunrpc/svc_udp.c: Likewise.
9725 * sunrpc/svc_unix.c: Likewise.
9726 * sunrpc/svcauth_des.c: Likewise.
9727 * sunrpc/xcrypt.c: Likewise.
9728 * sunrpc/xdr.c: Likewise.
9729 * sunrpc/xdr_array.c: Likewise.
9730 * sunrpc/xdr_float.c: Likewise.
9731 * sunrpc/xdr_intXX_t.c: Likewise.
9732 * sunrpc/xdr_mem.c: Likewise.
9733 * sunrpc/xdr_rec.c: Likewise.
9734 * sunrpc/xdr_ref.c: Likewise.
9735 * sunrpc/xdr_sizeof.c: Likewise.
9736 * sunrpc/xdr_stdio.c: Likewise.
9737
e6c61494
UD
97382011-04-10 Ulrich Drepper <drepper@gmail.com>
9739
9740 [BZ #12650]
9741 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9742 * sysdeps/ia64/dl-tls.h: Likewise.
9743 * sysdeps/powerpc/dl-tls.h: Likewise.
9744 * sysdeps/s390/dl-tls.h: Likewise.
9745 * sysdeps/sh/dl-tls.h: Likewise.
9746 * sysdeps/sparc/dl-tls.h: Likewise.
9747 * sysdeps/x86_64/dl-tls.h: Likewise.
9748 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9749
34fe483e
AS
97502011-03-14 Andreas Schwab <schwab@redhat.com>
9751
9752 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9753 rpath element also skip the following colon.
9754 (expand_dynamic_string_token): Add is_path parameter and pass
9755 down to DL_DST_REQUIRED and _dl_dst_substitute.
9756 (decompose_rpath): Call expand_dynamic_string_token with
9757 non-zero is_path. Ignore empty rpaths.
9758 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9759 with zero is_path.
9760
f12a32e6
AS
97612011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9762
9763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9764 Make cancelable.
9765
38a7d692
UD
97662011-04-09 Ulrich Drepper <drepper@gmail.com>
9767
9768 [BZ #12655]
9769 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9770 Patch by Filipe David Manana <fdmanana@apache.org>.
9771
e451d22b
AS
97722011-04-07 Andreas Schwab <schwab@redhat.com>
9773
9774 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9775 Maintain aligned stack.
9776 (CHECK_RSP): Remove unused macro.
9777
dedc7c7b
UD
97782011-04-03 Ulrich Drepper <drepper@gmail.com>
9779
9780 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9781 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9782
94521213
UD
97832011-04-02 Ulrich Drepper <drepper@gmail.com>
9784
9785 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9786
8cb700c0 9787 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9788
0354e355
L
97892011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9790
9791 [BZ #12518]
9792 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9793 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9794 * sysdeps/x86_64/memmove.c: New file.
9795 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9796 (memcpy): Renamed to ...
9797 (__new_memcpy): This.
9798 (memcpy): Provide GLIBC_2_14 memcpy.
9799 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9800 (memcpy): Provide GLIBC_2_2_5 memcpy.
9801
8593482f
UD
98022011-04-01 Ulrich Drepper <drepper@gmail.com>
9803
9804 [BZ #12631]
9805 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9806
81a5726b
AS
98072011-03-30 Andreas Schwab <schwab@redhat.com>
9808
9809 * misc/syncfs.c: New file.
9810 * misc/Makefile (routines): Add syncfs.
9811 * posix/unistd.h: Declare syncfs.
9812 * sysdeps/unix/syscalls.list: Add syncfs.
9813
00e5419f
AS
98142011-04-01 Andreas Schwab <schwab@redhat.com>
9815
9816 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9817 open_by_handle_at.
9818 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9819 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9820 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9821 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9822 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9823 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9824 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9825
748876bf
UD
98262011-04-01 Ulrich Drepper <drepper@gmail.com>
9827
658e451d
UD
9828 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9829 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9830 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9831 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9832 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9833 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9834 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9835
748876bf
UD
9836 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9837 sync_file_range.c with -fexceptions.
9838 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9839 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9840 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9841 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9842 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9843 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9844 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9845 sync_file_range as cancellation point
9846 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9847 now a wrapper around __call_sync_file_range with cancellation handling.
9848 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9849 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9850 function name to __call_sync_file_range.
9851 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9852 Add call_sync_file_range.
748876bf 9853
6e63d5e1
AS
98542011-04-01 Andreas Schwab <schwab@redhat.com>
9855
9856 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9857 bits/timex.h.
6e63d5e1 9858
46998f74
UD
98592011-04-01 Ulrich Drepper <drepper@gmail.com>
9860
4c1423ed
UD
9861 * iconv/iconv.h: Fix typo in comment.
9862 * io/fcntl.h: Likewise.
9863 * libio/stdio.h: Likewise.
9864 * posix/spawn.h: Likewise.
9865 * posix/unistd.h: Likewise.
9866 * stdlib/stdlib.h: Likewise.
9867 * time/time.h: Likewise.
9868 * wcsmbs/wchar.h: Likewise.
9869
158648c0
UD
9870 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9871 open_by_handle): Add.
9872 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9873 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9874 Augment a few comments.
9875 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9876 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9877 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9878 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9879 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9880 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9881 open_by_handle.
9882
46998f74
UD
9883 * io/fcntl.h (AT_EMPTY_PATH): Define.
9884
83fe108b
UD
98852011-03-30 Ulrich Drepper <drepper@gmail.com>
9886
9887 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9888 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9889 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9890 to...
9891 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9892 * Versions.def: Add GLIBC_2.14.
9893 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9894 Export.
83fe108b 9895
bb242059
UD
98962011-03-22 Ulrich Drepper <drepper@gmail.com>
9897
9898 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9899 round counter.
9900 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9901
c97a1282
L
99022011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9903
9904 [BZ #12597]
9905 * string/test-strncmp.c (do_page_test): New function.
9906 (check2): Likewise.
9907 (test_main): Call check2.
9908 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9909
2a115601
UD
99102011-03-20 Ulrich Drepper <drepper@gmail.com>
9911
9912 [BZ #12587]
9913 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9914 Handle cache information in CPU leaf 4.
9915 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9916
8126d904
UD
99172011-03-18 Ulrich Drepper <drepper@gmail.com>
9918
042c49c6 9919 [BZ #12583]
8126d904
UD
9920 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9921 character representation.
9922 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9923
ccfe366e
RA
99242011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9925
9926 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9927 END(__isnan) to END(__isnanf) to match function entry point/label
9928 EALIGN(__isnanf,...).
9929
c6e13027
JJ
99302011-03-10 Jakub Jelinek <jakub@redhat.com>
9931
9932 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9933
33f85a3f
UD
99342011-03-10 Ulrich Drepper <drepper@gmail.com>
9935
028478fa
UD
9936 [BZ #12510]
9937 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9938 copy from the symbol referenced in the relocation to initialize the
9939 used variable.
9940 Patch by Piotr Bury <pbury@goahead.com>.
9941 * elf/Makefile: Add rules to build and tst-unique3.
9942 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9943 * elf/tst-unique3.cc: New file.
9944 * elf/tst-unique3.h: New file.
9945 * elf/tst-unique3lib.cc: New file.
9946 * elf/tst-unique3lib2.cc: New file.
9947
33f85a3f
UD
9948 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9949
03592fc7
MF
99502011-03-10 Mike Frysinger <vapier@gentoo.org>
9951
9952 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9953 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9954 to _start.
03592fc7 9955
6a5ee102
UD
99562011-03-06 Ulrich Drepper <drepper@gmail.com>
9957
9958 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9959 to-be-loaded object along a path to loader is ld.so.
9960
7e4ba49c
HJ
99612011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9962 Ulrich Drepper <drepper@gmail.com>
9963
9964 * sysdeps/x86_64/memset.S: After aligning destination, code
9965 branches to different locations depending on the value of
9966 misalignment, when multiarch is enabled. Fix this.
9967
99682011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9969
9970 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9971 Set _x86_64_preferred_memory_instruction for AMD processsors.
9972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9973 Set bit_Prefer_SSE_for_memop for AMD processors.
9974
13a804de
UD
99752011-03-04 Ulrich Drepper <drepper@gmail.com>
9976
9977 * libio/fmemopen.c (fmemopen): Optimize a bit.
9978
9d25c392
AS
99792011-03-03 Andreas Schwab <schwab@redhat.com>
9980
9981 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9982
a5543c6a
RM
99832011-03-03 Roland McGrath <roland@redhat.com>
9984
9985 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9986
012d35f7
DM
99872011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9988
7e4ba49c 9989 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9990 __bzero_ultra1 instead of __memset_ultra1.
9991
4bff6e01
AS
99922011-02-23 Andreas Schwab <schwab@redhat.com>
9993 Ulrich Drepper <drepper@gmail.com>
9994
9995 [BZ #12509]
9996 * include/link.h (struct link_map): Add l_orig_initfini.
9997 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9998 returning unsuccessfully.
9999 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
10000 close of a file loaded at startup, restore the original l_initfini
10001 list.
10002 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
10003 list, store the pointer.
10004 * elf/Makefile ($(objpfx)noload-mem): New rule.
10005 (noload-ENV): Define.
10006 (tests): Add $(objpfx)noload-mem.
10007 * elf/noload.c: Include <memcheck.h>.
10008 (main): Call mtrace. Close all opened handles.
10009
f2092faf
AS
100102011-02-17 Andreas Schwab <schwab@redhat.com>
10011
10012 [BZ #12454]
10013 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
10014 dependencies are missing.
10015
6c8a2e88
ST
100162011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
10017
f2092faf 10018 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
10019 Hurd needs munmap.
10020 * sysdeps/mach/hurd/ifreq.h: New file.
10021
84a42118
PB
100222011-01-27 Petr Baudis <pasky@suse.cz>
10023 Ulrich Drepper <drepper@gmail.com>
10024
071f805e 10025 [BZ 12445]#
84a42118
PB
10026 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
10027 to extend_alloca().
10028 * stdio-common/bug23.c: New file.
10029 * stdio-common/Makefile (tests): Add bug23.
10030
e23fe25b
AS
100312010-09-28 Andreas Schwab <schwab@redhat.com>
10032 Ulrich Drepper <drepper@gmail.com>
10033
10034 [BZ #12489]
10035 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
10036 before performing relro protection. At old place add assertion
10037 to make sure nothing changed.
10038
d3f02e10
NS
100392011-02-17 Nathan Sidwell <nathan@codesourcery.com>
10040 Glauber de Oliveira Costa <glommer@gmail.com>
10041
10042 * elf/elf.h: Add new ARM TLS relocs.
10043
d55fd7a5
RA
100442011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
10045
10046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
10047 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
10048 cast from r3.
10049 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
10050 'tests' variable.
10051 * sysdeps/wordsize-64/tst-writev.c: New file.
10052
2206397e
RA
100532011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
10054
10055 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
10056 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
10057 insns in _dl_start to prevent a TOC reference before relocs are
10058 resolved.
10059
e9433893
UD
100602011-02-15 Ulrich Drepper <drepper@gmail.com>
10061
10062 [BZ #12469]
10063 * Makeconfig: Remove RANLIB definition.
10064 * Makerules: Don't use RANLIB.
10065 * aclocal.m4: Remove ranlib test.
10066 * configure.in: No need to check for ranlib.
10067 * elf/rtld-Rules: Don't use RANLIB.
10068
f75286c6
ST
100692011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10070
8e31c82d
ST
10071 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10072 protection macro.
10073 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10074 inclusion protection macro.
10075
f75286c6
ST
10076 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10077 SIGRTMIN and SIGRTMAX and print information in that case only when
10078 SIGRTMIN is defined.
10079
c1d0e639
JJ
100802011-02-11 Jakub Jelinek <jakub@redhat.com>
10081
10082 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10083 arginfo fn returning -1.
10084
10085 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10086 and thousands string is zero terminated.
10087
edf9294e
AS
100882011-02-03 Andreas Schwab <schwab@redhat.com>
10089
10090 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10091 sysdeps/unix/sysv/linux/bits/socket.h.
10092
2b7e92df
ST
100932011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10094
edf9294e
AS
10095 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10096 (__CPU_COUNT): Remove old macros.
10097 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10098 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10099 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
10100 (__sched_cpualloc, __sched_cpufree): Add declarations.
10101
a4c7ea7b
UD
101022011-02-05 Ulrich Drepper <drepper@gmail.com>
10103
10104 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10105 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10106 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10107 (readdhstai): Return value of addhstaiX call.
10108 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10109 (addgrbyX): Return value returned by cache_addgr.
10110 (readdgrbyname): Return value returned by addgrbyX.
10111 (readdgrbygid): Likewise.
10112 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10113 (addpwbyX): Return value returned by cache_addpw.
10114 (readdpwbyname): Return value returned by addhstbyX.
10115 (readdpwbyuid): Likewise.
10116 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10117 (addservbyX): Return value returned by cache_addserv.
10118 (readdservbyname): Return value returned by addservbyX:
10119 (readdservbyport): Likewise.
10120 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10121 (addhstbyX): Return value returned by cache_addhst.
10122 (readdhstbyname): Return value returned by addhstbyX.
10123 (readdhstbyaddr): Likewise.
10124 (readdhstbynamev6): Likewise.
10125 (readdhstbyaddrv6): Likewise.
10126 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10127 (readdinitgroups): Return value returned by addinitgroupsX.
10128 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10129 (prune_cache): Keep track of timeout value of re-added entries.
10130 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10131 * nscd/nscd.h: Adjust prototypes of readd* functions.
10132
a0bf67cc
RM
101332011-02-04 Roland McGrath <roland@redhat.com>
10134
10135 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10136 (nis_stats): Likewise.
10137 * nis/nis_modify.c (nis_modify): Likewise.
10138 * nis/nis_remove.c (nis_remove): Likewise.
10139 * nis/nis_add.c (nis_add): Likewise.
10140
10141 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10142
10143 * posix/fnmatch_loop.c: Add some consts.
10144
10145 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10146
435b95eb
L
101472011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10148
10149 [BZ #12460]
10150 * config.make.in (config-cflags-novzeroupper): Define.
10151 * configure.in: Substitute libc_cv_cc_novzeroupper.
10152 * elf/Makefile (AVX-CFLAGS): Define.
10153 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10154 (CFLAGS-tst-auditmod4a.c): Likewise.
10155 (CFLAGS-tst-auditmod4b.c): Likewise.
10156 (CFLAGS-tst-auditmod6b.c): Likewise.
10157 (CFLAGS-tst-auditmod6c.c): Likewise.
10158 (CFLAGS-tst-auditmod7b.c): Likewise.
10159 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10160
8517b15e
UD
101612011-02-02 Ulrich Drepper <drepper@gmail.com>
10162
10163 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10164 function to the callback.
10165 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10166
10a656fe
AS
101672011-02-02 Andreas Schwab <schwab@redhat.com>
10168
10169 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10170 of errno.
10171
968dad0a
UD
101722011-01-19 Ulrich Drepper <drepper@gmail.com>
10173
9f94d2ea 10174 [BZ #11724]
968dad0a
UD
10175 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10176 of constructors.
10177 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10178 of destructors.
10179 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10180
10181 [BZ #11724]
10182 * elf/Makefile: Add rules to build and run new test.
10183 * elf/tst-initorder.c: New file.
10184 * elf/tst-initorder.exp: New file.
10185 * elf/tst-initordera1.c: New file.
10186 * elf/tst-initordera2.c: New file.
10187 * elf/tst-initordera3.c: New file.
10188 * elf/tst-initordera4.c: New file.
10189 * elf/tst-initorderb1.c: New file.
10190 * elf/tst-initorderb2.c: New file.
10191 * elf/tst-order-a1.c: New file.
10192 * elf/tst-order-a2.c: New file.
10193 * elf/tst-order-a3.c: New file.
10194 * elf/tst-order-a4.c: New file.
10195 * elf/tst-order-b1.c: New file.
10196 * elf/tst-order-b2.c: New file.
10197 * elf/tst-order-main.c: New file.
10198 New test case by George Gensure <werkt0@gmail.com>.
10199
86e92359
UD
102002010-10-01 Andreas Schwab <schwab@redhat.com>
10201
10202 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10203 decoding ACE if AI_CANONIDN.
10204
5d5732b0
UD
102052011-01-18 Ulrich Drepper <drepper@gmail.com>
10206
10207 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10208
a77e8cbc
UD
102092011-01-17 Ulrich Drepper <drepper@gmail.com>
10210
6392473f
UD
10211 * version.h (RELEASE): Bump for 2.13 release.
10212 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10213
620a0529
UD
10214 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10215
18ba70a5
UD
10216 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10217 MADV_NOHUGEPAGE.
32465c3e
UD
10218 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10219 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10220 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10221 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10222 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10223 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10224
c0dafcf1
UD
10225 * posix/getconf.c: Update copyright year.
10226 * catgets/gencat.c: Likewise.
10227 * csu/version.c: Likewise.
10228 * debug/catchsegv.sh: Likewise.
10229 * debug/xtrace.sh: Likewise.
10230 * elf/ldconfig.c: Likewise.
10231 * elf/ldd.bash.in: Likewise.
10232 * elf/sprof.c (print_version): Likewise.
10233 * iconv/iconv_prog.c: Likewise.
10234 * iconv/iconvconfig.c: Likewise.
10235 * locale/programs/locale.c: Likewise.
10236 * locale/programs/localedef.c: Likewise.
10237 * malloc/memusage.sh: Likewise.
10238 * malloc/mtrace.pl: Likewise.
10239 * nscd/nscd.c (print_version): Likewise.
10240 * nss/getent.c: Likewise.
10241
a77e8cbc
UD
10242 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10243 PF_CAIF, and PF_ALG.
10244 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10245
77e8bddf
AS
102462011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10247
1f20b93a
AS
10248 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10249 (modules-names): Use them.
10250 (ifunc-test-modules, ifunc-pie-tests): Define.
10251 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10252 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10253 (test-extras): Likewise.
10254 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10255 $(compile-command.c).
10256 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10257 (all-built-dso): Define.
10258 (check-textrel.out, check-execstack.out): Depend on it.
10259
77e8bddf
AS
10260 * configure.in: Don't override --enable-multi-arch.
10261
bc425b33
UD
102622011-01-15 Ulrich Drepper <drepper@gmail.com>
10263
10264 [BZ #6812]
10265 * nscd/hstcache.c (tryagain): Define.
10266 (cache_addhst): Return tryagain not notfound for temporary errors.
10267 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10268 failed.
10269
794c3ad3
UD
102702011-01-14 Ulrich Drepper <drepper@gmail.com>
10271
70181fdd
UD
10272 [BZ #10563]
10273 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10274 to make the syscall.
10275 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10276
794c3ad3
UD
10277 [BZ #12378]
10278 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10279 and fall back to matching as normal character if the string ends before
10280 the matching ']' is found. This is what POSIX requires.
10281 * posix/testfnm.c: Adjust test result.
10282 * posix/globtest.sh: Adjust test result. Add new test.
10283 * posix/tst-fnmatch.input: Likewise.
10284 * posix/tst-fnmatch2.c: Add new test.
10285
68dc9497
AS
102862010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10287
10288 * elf/Makefile (check-execstack): Revert last change. Depend on
10289 check-execstack.h.
10290 (check-execstack.h): New target.
10291 (generated): Add check-execstack.h.
10292 * elf/check-execstack.c: Include "check-execstack.h".
10293 (main): Revert last change.
10294 (handle_file): Return zero if GNU_STACK is absent and
10295 DEFAULT_STACK_PERMS doesn't include PF_X.
10296
451f001b
UD
102972011-01-13 Ulrich Drepper <drepper@gmail.com>
10298
cfa28e56
UD
10299 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10300 in child fails because the descriptor is already closed.
8cf8ce17
UD
10301 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10302 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10303 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 10304
1086d70d
UD
10305 [BZ #12397]
10306 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10307 syscall.
10308
451f001b
UD
10309 [BZ #10484]
10310 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10311 temporary buffer used to handle multi lookups locally.
a85b5cb4 10312 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 10313
08769175
UD
103142011-01-12 Ulrich Drepper <drepper@gmail.com>
10315
10316 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10317 loader is ld.so.
10318
5e49c52e
UD
103192011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10320
10321 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10322 alignment for SSE2.
10323
60522a5f
UD
103242011-01-12 Ulrich Drepper <drepper@gmail.com>
10325
10326 [BZ #12394]
10327 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10328 characters. When rounding increased number of integer digits recompute
10329 number of groups.
10330 * stdio-common/tst-grouping.c: New file.
10331 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10332
f257bbd7
UD
103332011-01-09 Ulrich Drepper <drepper@gmail.com>
10334
10335 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10336 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10337
10338 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10339 void.
10340 * bits/select.h: Likewise.
10341
fa9c15cb
UD
103422011-01-08 Ulrich Drepper <drepper@gmail.com>
10343
10344 * po/ja.po: Update from translation team.
10345
16c2895f
DM
103462011-01-04 David S. Miller <davem@sunset.davemloft.net>
10347
10348 [BZ #11155]
10349 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10350 implementation just like for lxstat, fxstatat, et al.
10351
2543fef2
JM
103522010-12-27 Jim Meyering <meyering@redhat.com>
10353
10354 [BZ #12348]
10355 * posix/regexec.c (build_trtable): Return failure indication upon
10356 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10357
98727dbe
UD
103582010-12-25 Ulrich Drepper <drepper@gmail.com>
10359
5bd6dc5c
UD
10360 [BZ #12201]
10361 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10362 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10363 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10364 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10365
97983464
UD
10366 [BZ #12207]
10367 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10368
98727dbe
UD
10369 [BZ #12204]
10370 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10371 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10372
4a531bb0
L
103732010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10374
10375 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10376 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10377 script has SORT_BY_INIT_PRIORITY.
10378 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10379 NO_CTORS_DTORS_SECTIONS is defined.
10380 * elf/soinit.c: Likewise.
10381 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10382 NO_CTORS_DTORS_SECTIONS is defined.
10383 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10384 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10385 * sysdeps/sh/init-first.c: Likewise.
10386 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10387
07eb4b71
UD
103882010-12-24 Ulrich Drepper <drepper@gmail.com>
10389
10390 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10391 always use the slow path.
10392
30950a5f
RA
103932010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10394
10395 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10396 similar rule which adds the sysdep directories to the header search in
10397 order to pick up the correct platform stackinfo.h.
10398 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10399 perform test if it is, otherwise return successfully without testing.
10400 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10401 DEFAULT_STACK_PERMS define in stackinfo.h.
10402 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10403 defined in stackinfo.h.
10404 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10405 DEFAULT_STACK_PERMS defined in stackinfo.h.
10406 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10407 * sysdeps/ia64/stackinfo.h: Likewise.
10408 * sysdeps/s390/stackinfo.h: Likewise.
10409 * sysdeps/sh/stackinfo.h: Likewise.
10410 * sysdeps/sparc/stackinfo.h: Likewise.
10411 * sysdeps/x86_64/stackinfo.h: Likewise.
10412 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10413 PF_X for powerpc64. Retain PF_X for powerpc32.
10414
db753e2c
UD
104152010-12-19 Ulrich Drepper <drepper@gmail.com>
10416
14b697f7
UD
10417 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10418 accurately.
db753e2c
UD
10419 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10420 GETDENTS_64BIT_ALIGNED.
10421
28300719
UD
104222010-12-14 Ulrich Drepper <dreper@gmail.com>
10423
14b697f7 10424 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 10425
4f197237
AS
104262010-12-10 Andreas Schwab <schwab@redhat.com>
10427
dbb0472f
AS
10428 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10429 _GNU_SOURCE.
10430
4f197237
AS
10431 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10432 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10433 Remove __restrict.
10434 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10435 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10436
fb88ac72
UD
104372010-12-09 Ulrich Drepper <drepper@gmail.com>
10438
10439 [BZ #11655]
10440 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10441 are initialized.
10442
42acbb92
JJ
104432010-12-09 Jakub Jelinek <jakub@redhat.com>
10444
10445 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10446
c038d98d
UD
104472010-12-03 Ulrich Drepper <drepper@gmail.com>
10448
10449 * po/it.po: Update from translation team.
10450
3a4a2499
L
104512010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10452
10453 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10454 unused codes.
10455
1e24cf6e
UD
104562010-11-30 Ulrich Drepper <drepper@gmail.com>
10457
10458 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10459
a7690819
AS
104602010-11-24 Andreas Schwab <schwab@redhat.com>
10461
10462 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10463 specially.
10464 (gaih_getanswer_slice): Likewise.
10465
3bf8d1b1
JJ
104662010-10-20 Jakub Jelinek <jakub@redhat.com>
10467
10468 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10469
6db52fbb
PB
104702010-05-31 Petr Baudis <pasky@suse.cz>
10471
10472 [BZ #11149]
10473 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10474 silently even in the chroot mode.
10475
eaca7569
UD
104762010-11-22 Ulrich Drepper <drepper@gmail.com>
10477
10478 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10479 last patch a bit. Pretty printing
10480
3056dcdb
UD
104812010-05-31 Petr Baudis <pasky@suse.cz>
10482
10483 [BZ #10085]
10484 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10485 initialization of skip_initgroups_dyn.
10486
cf7c9078
UD
104872010-11-19 Ulrich Drepper <drepper@gmail.com>
10488
10489 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10490 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10491
a1fb5e3e
UD
104922010-11-16 Ulrich Drepper <drepper@gmail.com>
10493
10494 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10495
3540d66b
AS
104962010-11-11 Andreas Schwab <schwab@redhat.com>
10497
10498 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10499 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10500 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10501 ($(objpfx)tst-fnmatch-mem): New rule.
10502 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10503 * posix/tst-fnmatch.c (main): Call mtrace.
10504
13b69574
L
105052010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10506
10507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10508 Support Intel processor model 6 and model 0x2c.
10509
da93d214
LM
105102010-11-10 Luis Machado <luisgpm@br.ibm.com>
10511
10512 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10513 signed comparison.
10514
8ca52c6e
L
105152010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10516
10517 [BZ #12205]
10518 * string/test-strncasecmp.c (check_result): New function.
10519 (do_one_test): Use it.
10520 (check1): New function.
10521 (test_main): Use it.
10522 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10523 Support strcasecmp and strncasecmp.
10524
69da074d
UD
105252010-11-08 Ulrich Drepper <drepper@gmail.com>
10526
10527 [BZ #12194]
10528 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10529 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10530
ff02d528
L
105312010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10532
10533 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10534 IFUNC support.
10535 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10536 memset-x86-64.
10537 * sysdeps/x86_64/multiarch/bzero.S: New file.
10538 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10539 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10540 * sysdeps/x86_64/multiarch/memset.S: New file.
10541 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10542 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10543 Set bit_Prefer_SSE_for_memop for Intel processors.
10544 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10545 Define.
10546 (index_Prefer_SSE_for_memop): Define.
10547 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10548
344d0b54
LM
105492010-11-04 Luis Machado <luisgpm@br.ibm.com>
10550
10551 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10552 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10553
c0dde15b
UD
105542010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10555
10556 [BZ #12191]
10557 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10558 (__x86_64_raw_data_cache_size_half): Likewise.
10559 (__x86_64_raw_shared_cache_size): Likewise.
10560 (__x86_64_raw_shared_cache_size_half): Likewise.
10561
10562 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10563 (__x86_64_raw_data_cache_size_half): Likewise.
10564 (__x86_64_raw_shared_cache_size): Likewise.
10565 (__x86_64_raw_shared_cache_size_half): Likewise.
10566 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10567 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10568 and __x86_64_raw_shared_cache_size_half. Round
10569 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10570 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10571 to multiple of 256 bytes.
10572
0e516e0e
MS
105732010-11-03 Ulrich Drepper <drepper@gmail.com>
10574
10575 [BZ #12167]
10576 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10577 of inacessible symlinks. Verify result of symlink before returning it.
10578 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10579 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10580
0e012e87
ER
105812010-10-28 Erich Ritz <erichritz@gmail.com>
10582
10583 * math/math.h (isinf): Fix typo in comment.
10584
de0ff7bc
UD
105852010-11-01 Ulrich Drepper <drepper@gmail.com>
10586
10587 * po/da.po: Update from translation team.
10588
fa41c84d
UD
105892010-10-26 Ulrich Drepper <drepper@gmail.com>
10590
10591 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10592 is added to the list.
10593
f0967738
AK
105942010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10595 Ulrich Drepper <drepper@gmail.com>
10596
10597 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10598 the global list here. Move code to...
10599 (_dl_add_to_namespace_list): ...here. New function.
10600 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10601 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10602 * elf/dl-load.c (lose): Don't remove the element from the list.
10603 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10604 (_dl_map_object): Likewise.
10605
106062010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10607
10608 [BZ #12159]
10609 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10610 into all bytes of SSE register.
10611 Patch by Richard Li <richardpku@gmail.com>.
10612
f0967738 106132010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10614
10615 [BZ #12140]
10616 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10617 perturbing.
10618
d0b9e94f
MB
106192010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10620
10621 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10622 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10623 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10624 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10626 submachine.
10627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10628
8e9f92e9
AS
106292010-10-22 Andreas Schwab <schwab@redhat.com>
10630
10631 * include/dlfcn.h (__RTLD_SECURE): Define.
10632 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10633 mode & __RTLD_SECURE instead.
10634 (open_path): Rename preloaded parameter to secure.
10635 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10636 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10637 * elf/dl-deps.c (openaux): Likewise.
10638 * elf/rtld.c (struct map_args): Remove is_preloaded.
10639 (map_doit): Don't use it.
10640 (dl_main): Likewise.
10641 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10642 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10643
bc96fbda
AS
106442010-09-09 Andreas Schwab <schwab@redhat.com>
10645
10646 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10647 (sysd-rules-targets): Remove duplicates.
10648 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10649 rtld-%.$o dependency.
10650
22cd1c9b
AS
106512010-10-18 Andreas Schwab <schwab@redhat.com>
10652
10653 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10654 _dl_map_object do it.
10655
18edac48
UD
106562010-10-19 Ulrich Drepper <drepper@gmail.com>
10657
10658 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10659 fast fma builtins, define the macros in the C99 standard.
10660 (FP_FAST_FMAF): Likewise.
10661 (FP_FAST_FMAL): Likewise.
10662 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10663
10664 * bits/mathdef.h: Update copyright year.
10665 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10666
d2050124
MM
106672010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10668
10669 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10670 builtins, define the macros in the C99 standard.
10671 (FP_FAST_FMAF): Likewise.
10672 (FP_FAST_FMAL): Likewise.
10673 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10674 multiply/add.
10675 (FP_FAST_FMAF): Likewise.
10676
475facd1
JJ
106772010-10-15 Jakub Jelinek <jakub@redhat.com>
10678
10679 [BZ #3268]
10680 * math/libm-test.inc (fma_test): Some new testcases.
10681 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10682 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10683 y and infinite z. Do multiplication by C already in long double.
10684 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10685 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10686 y and infinite z. Do bitwise or of inexact bit into u.d.
10687 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10688 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10689 * sysdeps/i386/fpu/s_fma.S: Removed.
10690 * sysdeps/i386/fpu/s_fmal.S: Removed.
10691
7c08a05c
JJ
106922010-10-16 Jakub Jelinek <jakub@redhat.com>
10693
10694 [BZ #3268]
10695 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10697 computation is not scheduled after fetestexcept. Fix value
10698 of minimum denormal long double.
10699
f3f7372d
JJ
107002010-10-14 Jakub Jelinek <jakub@redhat.com>
10701
10702 [BZ #3268]
10703 * math/libm-test.inc (fma_test): Add some more tests.
10704 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10705 correctly.
10706
14d43591
AS
107072010-10-15 Andreas Schwab <schwab@redhat.com>
10708
10709 * scripts/data/localplt-s390-linux-gnu.data: New file.
10710 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10711
5e908464
JJ
107122010-10-13 Jakub Jelinek <jakub@redhat.com>
10713
10714 [BZ #3268]
10715 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10716 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10717 instead of dbl-64.
10718 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10719 inlines.
10720 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10721 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10722 if one of x and y is very large and the other is subnormal.
10723 * sysdeps/s390/fpu/s_fmaf.c: New file.
10724 * sysdeps/s390/fpu/s_fma.c: New file.
10725 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10726 * sysdeps/powerpc/fpu/s_fma.S: New file.
10727 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10728 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10729 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10730
107312010-10-12 Jakub Jelinek <jakub@redhat.com>
10732
10733 [BZ #3268]
10734 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10735 fma tests.
10736 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10737 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10738 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10739 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10740 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10741 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10742 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10743
b833d51f
UD
107442010-10-12 Ulrich Drepper <drepper@redhat.com>
10745
10746 [BZ #12078]
10747 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10748 * posix/bug-regex31.input: Add test case.
10749
1751705d
UD
107502010-10-11 Ulrich Drepper <drepper@gmail.com>
10751
e9b9cbf5
UD
10752 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10753 * posix/bug-regex31.input: New file.
10754
10755 [BZ #12078]
10756 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10757 (parse_sub_exp): Fix last change, use postorder.
10758
ef06edbe
UD
10759 * posix/bug-regex31.c: New file.
10760 * posix/Makefile: Add rules to build and run bug-regex31.
10761
a129c80d
UD
10762 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10763
10764 [BZ #12078]
10765 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10766
b76b818e
UD
10767 [BZ #12108]
10768 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10769 to have entries in sys_siglist.
10770
1751705d
UD
10771 [BZ #12093]
10772 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10773 be NULL.
10774
9ff8d36f
JJ
107752010-10-07 Jakub Jelinek <jakub@redhat.com>
10776
10777 [BZ #3268]
10778 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10779 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10780 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10781 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10782 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10783 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10784 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10785 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10786 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10787 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10788 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10789 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10790 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10791 * math/ftestexcept.c (fetestexcept): Likewise.
10792 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10793 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10794 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10795 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10796 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10797 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10798 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10799
af325969
UD
108002010-10-11 Ulrich Drepper <drepper@gmail.com>
10801
c579b202 10802 [BZ #12107]
af325969
UD
10803 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10804 newline.
10805
67a67b95
UD
108062010-10-06 Ulrich Drepper <drepper@gmail.com>
10807
10808 * string/bug-strstr1.c: New file.
10809 * string/Makefile: Add rules to build and run bug-strstr1.
10810
5fb308bc
EB
108112010-10-05 Eric Blake <eblake@redhat.com>
10812
10813 [BZ #12092]
10814 * string/str-two-way.h (two_way_long_needle): Always clear memory
10815 when skipping input due to the shift table.
10816
45db99c7
UD
108172010-10-03 Ulrich Drepper <drepper@gmail.com>
10818
3b111893
UD
10819 [BZ #12005]
10820 * malloc/mcheck.c: Handle large requests.
10821
45db99c7
UD
10822 [BZ #12077]
10823 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10824 for strncmp and strncasecmp.
10825 * string/stratcliff.c: Add tests for strcmp and strncmp.
10826 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10827
cf7a1eb8
NI
108282010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10829
10830 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10831 __set_fpscr.
10832
6484ba5e
AJ
108332010-09-30 Andreas Jaeger <aj@suse.de>
10834
10835 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10836 (CGROUP_SUPER_MAGIC): Define.
10837 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10838 Handle btrfs and cgroup file systems.
10839 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10840 Likewise.
10841
91c42559
LM
108422010-09-27 Luis Machado <luisgpm@br.ibm.com>
10843
10844 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10845 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10846
87a97932
AK
108472010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10848
10849 [BZ #12067]
10850 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10851 trying to locate the ELF header.
10852
c21cc9bc
AS
108532010-09-27 Andreas Schwab <schwab@redhat.com>
10854
10855 [BZ #11611]
10856 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10857 Mask out sign-bit copies when constructing f_fsid.
10858
315970f6
PB
108592010-09-24 Petr Baudis <pasky@suse.cz>
10860
10861 * debug/stack_chk_fail_local.c: Add missing licence exception.
10862 * debug/warning-nop.c: Likewise.
10863
1ac7a2c7
JM
108642010-09-15 Joseph Myers <joseph@codesourcery.com>
10865
10866 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10867 implementing getdents64 using getdents syscall, set d_type if
10868 __ASSUME_GETDENTS32_D_TYPE.
10869
56801c50
AS
108702010-09-16 Andreas Schwab <schwab@redhat.com>
10871
10872 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10873 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10874
dda51327
UD
108752010-09-21 Ulrich Drepper <drepper@redhat.com>
10876
10877 [BZ #12037]
10878 * posix/unistd.h: Undo change of feature selection for ftruncate from
10879 2010-01-11.
10880
8ffcee4a
UD
108812010-09-20 Ulrich Drepper <drepper@redhat.com>
10882
a545ecd9 10883 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10884 detection.
10885
e24f0a8b
AS
108862010-09-20 Andreas Schwab <schwab@redhat.com>
10887
10888 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10889 fanotify_mark.
10890 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10891
7291c56f
AS
108922010-09-14 Andreas Schwab <schwab@redhat.com>
10893
10894 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10895 variables after CHECK_SP call.
10896 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10897
bc5fb037
AS
108982010-09-13 Andreas Schwab <schwab@redhat.com>
10899 Ulrich Drepper <drepper@redhat.com>
10900
10901 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10902 re-relocationg ld.so.
10903 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10904 _dl_init_paths call.
10905 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10906 here anymore.
10907
e66e7419
UD
109082010-09-14 Ulrich Drepper <drepper@redhat.com>
10909
10910 * resolv/res_init.c (__res_vinit): Count the default server we added.
10911
c044aa75
CLT
109122010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10913 Ulrich Drepper <drepper@redhat.com>
10914
10915 [BZ #11968]
10916 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10917 (____longjmp_chk): Use %ebx for saving value across system call.
10918 Add unwind info.
10919
32cf4069
AS
109202010-09-06 Andreas Schwab <schwab@redhat.com>
10921
10922 * manual/Makefile: Don't mix pattern rules with normal rules.
10923
817328ee
AS
109242010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10925
10926 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10927 operation.
10928 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10929 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10930 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10931 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10932 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10933 Likewise.
10934
29fddf61
UD
109352010-09-04 Ulrich Drepper <drepper@redhat.com>
10936
10937 [BZ #11979]
10938 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10939 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10940
0959ffc9
UD
109412010-09-02 Ulrich Drepper <drepper@redhat.com>
10942
10943 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10944 * sysdeps/x86_64/addmul_1.S: Likewise.
10945 * sysdeps/x86_64/lshift.S: Likewise.
10946 * sysdeps/x86_64/mul_1.S: Likewise.
10947 * sysdeps/x86_64/rshift.S: Likewise.
10948 * sysdeps/x86_64/sub_n.S: Likewise.
10949 * sysdeps/x86_64/submul_1.S: Likewise.
10950
ece29840
ST
109512010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10952
0959ffc9
UD
10953 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10954 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10955 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10956 * bits/sched.h [__need_schedparam]
ece29840 10957 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10958 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10959 (__defined_schedparam): Define to 1.
ece29840
ST
10960 (__sched_param): New structure, identical to sched_param.
10961 (__need_schedparam): Undefine.
10962
e53a31fe
MF
109632010-08-31 Mike Frysinger <vapier@gentoo.org>
10964
fdc0c10d
MF
10965 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10966 (epoll_create1): Declare.
10967
e53a31fe
MF
10968 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10969
a726d796
AS
109702010-08-31 Andreas Schwab <schwab@redhat.com>
10971
10972 [BZ #7066]
10973 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10974 shifting retval into place.
10975
2f3e3dc7
UD
109762010-09-01 Ulrich Drepper <drepper@redhat.com>
10977
f2933da9
UD
10978 * nis/rpcsvc/nis.h: Update copyright notice.
10979 * nis/rpcsvc/nis.x: Likewise.
10980 * nis/rpcsvc/nis_callback.h: Likewise.
10981 * nis/rpcsvc/nis_callback.x: Likewise.
10982 * nis/rpcsvc/nis_object.x: Likewise.
10983 * nis/rpcsvc/nis_tags.h: Likewise.
10984 * nis/rpcsvc/yp.h: Likewise.
10985 * nis/rpcsvc/yp.x: Likewise.
10986 * nis/rpcsvc/ypupd.h: Likewise.
10987 * nis/yp_xdr.c: Likewise.
10988 * nis/ypupdate_xdr.c: Likewise.
10989
2f3e3dc7
UD
10990 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10991 mainly the body of pmap_getport. Add parameters to specify timeouts.
10992 (pmap_getport): Use __libc_rpc_getport.
10993 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10994 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10995 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10996
f3dcc2f9
AS
109972010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10998
10999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
11000 fanotify_mark.
11001
6d34eb5b
RM
110022010-08-27 Roland McGrath <roland@redhat.com>
11003
11004 * sysdeps/i386/i686/multiarch/Makefile
11005 (CFLAGS-varshift.c): New variable.
11006
9ea3de11
UD
110072010-08-27 Ulrich Drepper <drepper@redhat.com>
11008
c96d23fc
UD
11009 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
11010 * sysdeps/i386/i686/multiarch/varshift.c: New file.
11011
9ea3de11
UD
11012 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
11013
11014 * sysdeps/x86_64/strlen.S: Minimal code improvement.
11015
623aac7f
L
110162010-08-26 H.J. Lu <hongjiu.lu@intel.com>
11017
11018 * sysdeps/x86_64/strlen.S: Unroll the loop.
11019 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11020 strlen-sse2 strlen-sse2-bsf.
11021 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
11022 __strlen_no_bsf if bit_Slow_BSF is set.
11023 (__strlen_sse42): Removed.
11024 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
11025 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
11026
8b2b7715
RM
110272010-08-25 Roland McGrath <roland@redhat.com>
11028
11029 * sysdeps/x86_64/multiarch/varshift.S: File removed.
11030 * sysdeps/x86_64/multiarch/varshift.c: New file.
11031 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
11032 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
11033 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
11034 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11035
e73015f2
L
110362010-08-25 H.J. Lu <hongjiu.lu@intel.com>
11037
11038 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11039 strlen-sse2 strlen-sse2-bsf.
11040 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
11041 __strlen_sse2_bsf if bit_Slow_BSF is unset.
11042 (__strlen_sse2): Removed.
11043 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
11044 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
11045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11046 bit_Slow_BSF for Atom.
11047 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
11048 (index_Slow_BSF): Define.
11049 (HAS_SLOW_BSF): Define.
11050
df24a73e
UD
110512010-08-25 Ulrich Drepper <drepper@redhat.com>
11052
11053 [BZ #10851]
11054 * resolv/res_init.c (__res_vinit): When no server address at all
11055 is given default to loopback.
11056
f2ac4868
RM
110572010-08-24 Roland McGrath <roland@redhat.com>
11058
09055553
RM
11059 * configure.in: Remove config-name.h generation.
11060 * configure: Regenerated.
11061 * config-name.in: File removed.
11062 * scripts/config-uname.sh: New file.
11063 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11064 ($(objdir)config-name.h): New target.
11065
f2ac4868
RM
11066 * sunrpc/rpc_parse.h: Avoid nested comment.
11067
73f27d5e
RH
110682010-08-24 Richard Henderson <rth@redhat.com>
11069 Ulrich Drepper <drepper@redhat.com>
11070 H.J. Lu <hongjiu.lu@intel.com>
11071
11072 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11073 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11074 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11075 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11076 _mm_alignr_epi8 with _mm_loadu_si128.
11077 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11078 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11079 (__m128i_shift_right): Removed.
11080 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11081 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11082 * sysdeps/x86_64/multiarch/varshift.h: New file.
11083 * sysdeps/x86_64/multiarch/varshift.S: New file.
11084
84b9230c
MF
110852010-08-21 Mike Frysinger <vapier@gentoo.org>
11086
11087 * configure.in: Move assembler checks to before sysdep dir checking.
11088
9bbd0ddc
PB
110892010-08-20 Petr Baudis <pasky@suse.cz>
11090
11091 * LICENSES: Sync the sunrpc license.
11092
9da4bb31
UD
110932010-08-19 Ulrich Drepper <drepper@redhat.com>
11094
a7ab6ec8
UD
11095 * sunrpc/auth_des.c: Update copyright notice once again.
11096 * sunrpc/auth_none.c: Likewise.
11097 * sunrpc/auth_unix.c: Likewise.
11098 * sunrpc/authdes_prot.c: Likewise.
11099 * sunrpc/authuxprot.c: Likewise.
11100 * sunrpc/bindrsvprt.c: Likewise.
11101 * sunrpc/clnt_gen.c: Likewise.
11102 * sunrpc/clnt_perr.c: Likewise.
11103 * sunrpc/clnt_raw.c: Likewise.
11104 * sunrpc/clnt_simp.c: Likewise.
11105 * sunrpc/clnt_tcp.c: Likewise.
11106 * sunrpc/clnt_udp.c: Likewise.
11107 * sunrpc/clnt_unix.c: Likewise.
11108 * sunrpc/des_crypt.c: Likewise.
11109 * sunrpc/des_soft.c: Likewise.
11110 * sunrpc/get_myaddr.c: Likewise.
11111 * sunrpc/getrpcport.c: Likewise.
11112 * sunrpc/key_call.c: Likewise.
11113 * sunrpc/key_prot.c: Likewise.
11114 * sunrpc/openchild.c: Likewise.
11115 * sunrpc/pm_getmaps.c: Likewise.
11116 * sunrpc/pm_getport.c: Likewise.
11117 * sunrpc/pmap_clnt.c: Likewise.
11118 * sunrpc/pmap_prot.c: Likewise.
11119 * sunrpc/pmap_prot2.c: Likewise.
11120 * sunrpc/pmap_rmt.c: Likewise.
11121 * sunrpc/rpc/auth.h: Likewise.
11122 * sunrpc/rpc/auth_unix.h: Likewise.
11123 * sunrpc/rpc/clnt.h: Likewise.
11124 * sunrpc/rpc/des_crypt.h: Likewise.
11125 * sunrpc/rpc/key_prot.h: Likewise.
11126 * sunrpc/rpc/netdb.h: Likewise.
11127 * sunrpc/rpc/pmap_clnt.h: Likewise.
11128 * sunrpc/rpc/pmap_prot.h: Likewise.
11129 * sunrpc/rpc/pmap_rmt.h: Likewise.
11130 * sunrpc/rpc/rpc.h: Likewise.
11131 * sunrpc/rpc/rpc_des.h: Likewise.
11132 * sunrpc/rpc/rpc_msg.h: Likewise.
11133 * sunrpc/rpc/svc.h: Likewise.
11134 * sunrpc/rpc/svc_auth.h: Likewise.
11135 * sunrpc/rpc/types.h: Likewise.
11136 * sunrpc/rpc/xdr.h: Likewise.
11137 * sunrpc/rpc_clntout.c: Likewise.
11138 * sunrpc/rpc_cmsg.c: Likewise.
11139 * sunrpc/rpc_common.c: Likewise.
11140 * sunrpc/rpc_cout.c: Likewise.
11141 * sunrpc/rpc_dtable.c: Likewise.
11142 * sunrpc/rpc_hout.c: Likewise.
11143 * sunrpc/rpc_main.c: Likewise.
11144 * sunrpc/rpc_parse.c: Likewise.
11145 * sunrpc/rpc_parse.h: Likewise.
11146 * sunrpc/rpc_prot.c: Likewise.
11147 * sunrpc/rpc_sample.c: Likewise.
11148 * sunrpc/rpc_scan.c: Likewise.
11149 * sunrpc/rpc_scan.h: Likewise.
11150 * sunrpc/rpc_svcout.c: Likewise.
11151 * sunrpc/rpc_tblout.c: Likewise.
11152 * sunrpc/rpc_util.c: Likewise.
11153 * sunrpc/rpc_util.h: Likewise.
11154 * sunrpc/rpcinfo.c: Likewise.
11155 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11156 * sunrpc/rpcsvc/key_prot.x: Likewise.
11157 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11158 * sunrpc/rpcsvc/mount.x: Likewise.
11159 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11160 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11161 * sunrpc/rpcsvc/rex.x: Likewise.
11162 * sunrpc/rpcsvc/rstat.x: Likewise.
11163 * sunrpc/rpcsvc/rusers.x: Likewise.
11164 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11165 * sunrpc/rpcsvc/spray.x: Likewise.
11166 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11167 * sunrpc/rtime.c: Likewise.
11168 * sunrpc/svc.c: Likewise.
11169 * sunrpc/svc_auth.c: Likewise.
11170 * sunrpc/svc_authux.c: Likewise.
11171 * sunrpc/svc_raw.c: Likewise.
11172 * sunrpc/svc_run.c: Likewise.
11173 * sunrpc/svc_simple.c: Likewise.
11174 * sunrpc/svc_tcp.c: Likewise.
11175 * sunrpc/svc_udp.c: Likewise.
11176 * sunrpc/svc_unix.c: Likewise.
11177 * sunrpc/svcauth_des.c: Likewise.
11178 * sunrpc/xcrypt.c: Likewise.
11179 * sunrpc/xdr.c: Likewise.
11180 * sunrpc/xdr_array.c: Likewise.
11181 * sunrpc/xdr_float.c: Likewise.
11182 * sunrpc/xdr_mem.c: Likewise.
11183 * sunrpc/xdr_rec.c: Likewise.
11184 * sunrpc/xdr_ref.c: Likewise.
11185 * sunrpc/xdr_sizeof.c: Likewise.
11186 * sunrpc/xdr_stdio.c: Likewise.
11187
9da4bb31
UD
11188 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11189 handling.
11190
bdaa77bc
AS
111912010-08-19 Andreas Schwab <schwab@redhat.com>
11192
11193 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11194
fe2f79db
LM
111952010-08-19 Luis Machado <luisgpm@br.ibm.com>
11196
11197 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11198 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11199 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11200 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11201 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11202 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11203 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11204 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11205 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11206 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11207 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11208 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11209 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11210 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11211
b9b42ee0
AB
112122010-07-26 Anton Blanchard <anton@samba.org>
11213
11214 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11215 * malloc/arena.c (heap_trim): Likewise.
11216
1c06ba31
UD
112172010-08-16 Ulrich Drepper <drepper@redhat.com>
11218
11219 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11220 here. Not...
11221 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11222 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11223
f8392f40
L
112242010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11225
11226 * sysdeps/i386/elf/Makefile: New file.
11227
3162f12e
AS
112282010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11229
11230 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11231 from fanotify_init.
11232 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11233 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11234
28c90b2c
UD
112352010-08-15 Ulrich Drepper <drepper@redhat.com>
11236
11237 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11238 of strncasecmp_l.
1feccb6c 11239 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 11240
ca6bb004
UD
112412010-08-14 Ulrich Drepper <drepper@redhat.com>
11242
e9f82e0d
UD
11243 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11244 strncase_l-nonascii.
11245 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11246 Add strncase_l-ssse3.
11247 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11248 * sysdeps/x86_64/strcmp.S: Likewise.
11249 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11250 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11251 * sysdeps/x86_64/strncase.S: New file.
11252 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11253 * sysdeps/x86_64/strncase_l.S: New file.
11254 * string/Makefile (strop-tests): Add strncasecmp.
11255 * string/test-strncasecmp.c: New file.
11256
11257 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11258 warning.
11259
ca6bb004
UD
11260 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11261 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11262
052fa7b3
AS
112632010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11264
11265 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11266
962dba78
UD
112672010-08-12 Ulrich Drepper <drepper@redhat.com>
11268
11269 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11270 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11271 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11272
bebff237
AM
112732010-05-01 Alan Modra <amodra@gmail.com>
11274
11275 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11276 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11277 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11278 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11279 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11280 tidying. Don't tail-call __sigjmp_save for static lib.
11281 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11282 save location.
11283 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11284 (CALL_MCOUNT): Add eh info, and nop after bl.
11285 (TAIL_CALL_SYSCALL_ERROR): New macro.
11286 (PSEUDO_RET): Use it.
11287 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11288 Correct save location of integer regs and cr.
11289 (_dl_profile_resolve): Correct cr save location. Delete nops
11290 after bl when SHARED. Reduce cfi size a little by better
11291 placement of cfi directives.
11292 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11293 make a stack frame. Instead use parm save area as a temp.
11294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11295 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11297 Don't make a stack frame for parent, use parm save area.
11298 Increase child stack frame to 112 bytes. Don't save unused reg,
11299 and adjust reg usage. Set up cfi on error recovery and
11300 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11302 (__makecontext): Add dummy nop after jump to exit.
11303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11304 Use correct parm save area and cr save, reduce stack frame.
11305 Correct cfi for possible PSEUDO_RET frame setup.
11306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11307 Branch to local label emitted by PSEUDO_RET rather than
11308 __syscall_error.
11309
02637374
AS
113102010-08-12 Andreas Schwab <schwab@redhat.com>
11311
11312 [BZ #11904]
11313 * locale/programs/locale.c (print_assignment): New function.
11314 (show_locale_vars): Use it.
11315
c3e2f19b
UD
113162010-08-11 Ulrich Drepper <drepper@redhat.com>
11317
3cdaa6ad
UD
11318 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11319 field.
11320 (struct statfs64): Likewise.
11321 (_STATFS_F_FLAGS): Define.
11322 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11323 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11324 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11325 (ST_VALID): Define locally.
11326 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11327 __statvfs_getflags, use the provided value.
11328 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11329 __ASSUME_STATFS_F_FLAGS.
11330
754f7da3
UD
11331 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11332
10b3bedc
UD
11333 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11334 Add sys/fanotify.h.
11335 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11336 fanotify_mask for GLIBC_2.13.
11337 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11338 fanotify_init and fanotify_mark.
11339 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11340 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11341
c08fb0d7
UD
11342 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11343 Add prlimit.
11344 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11345 prlimit64 for GLIBC_2.13.
11346 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11347 prlimit64.
11348 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11349 syscall.
11350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11351 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11352 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11353 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11354 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11355 add prlimit alias.
11356 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11357
15bac72b
UD
11358 [BZ #11903]
11359 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11360 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11361
c3e2f19b
UD
11362 * nss/Makefile: Add rules to build and run tst-nss-test1.
11363 * shlib-versions: Add entry for libnss_test1.
11364 * nss/nss_test1.c: New file.
11365 * nss/tst-nss-test1.c: New file.
11366
11367 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11368 (__nss_configure_lookup): Set appropriate entry in
11369 __nss_configure_lookup to true.
11370 * nss/nsswitch.h: Define enum with indeces of databases in
11371 databases and __nss_database_custom arrays. Declare
11372 __nss_database_custom.
11373 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11374 to avoid using nscd when custom rules are installed.
11375 * nss/getXXbyYY_r.c: Likewise.
11376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11377
11378 * nss/nss_files/files-parse.c: Whitespace fixes.
11379
f15ce4d8
UD
113802010-08-09 Ulrich Drepper <drepper@redhat.com>
11381
11382 [BZ #11883]
11383 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11384 * posix/fnmatch_loop.c: Likewise.
11385
d22e4cc9
AK
113862010-07-17 Andi Kleen <ak@linux.intel.com>
11387
11388 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11389 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11390 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11391 * Versions.def [GLIBC_2.13]: Add.
11392
805bc17d
UD
113932010-08-06 Ulrich Drepper <drepper@redhat.com>
11394
11395 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11396 Also fail if tpwd after pwuid call is NULL.
11397
5a42321d
ST
113982010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11399
11400 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11401 when converting to ms.
11402
fd3ebeda
ST
114032010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11404
11405 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11406 EOPNOTSUPP errors with ENOTTY.
11407 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11408 EOPNOTSUPP errors with ENOTTY.
11409
73507d3a
UD
114102010-07-31 Ulrich Drepper <drepper@redhat.com>
11411
11412 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11413 Add strcasecmp_l-ssse3.
11414 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11415 strcasecmp.
11416 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11417 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11418 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11419
fe36dd02
UD
114202010-07-30 Ulrich Drepper <drepper@redhat.com>
11421
66f6765a
UD
11422 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11423
42e08a54
UD
11424 * string/Makefile (strop-tests): Add strcasecmp.
11425 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11426 strcasecmp_l-nonascii.
11427 (gen-as-const-headers): Add locale-defines.sym.
11428 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11429 * sysdeps/x86_64/strcasecmp.S: New file.
11430 * sysdeps/x86_64/strcasecmp_l.S: New file.
11431 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11432 * sysdeps/x86_64/locale-defines.sym: New file.
11433 * string/test-strcasecmp.c: New file.
11434
fe36dd02
UD
11435 * string/test-strcasestr.c: Test both ends of the range of characters.
11436 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11437
48cbc0d6
RM
114382010-07-29 Roland McGrath <roland@redhat.com>
11439
76e6d6bc 11440 [BZ #11856]
48cbc0d6
RM
11441 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11442
880113d9
UD
114432010-07-27 Ulrich Drepper <drepper@redhat.com>
11444
11445 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11446 for ld.so.
11447
deb9cabb
AS
114482010-07-27 Andreas Schwab <schwab@redhat.com>
11449
11450 * manual/memory.texi (Malloc Tunable Parameters): Document
11451 M_PERTURB.
11452
1c7570ff
RM
114532010-07-26 Roland McGrath <roland@redhat.com>
11454
11455 [BZ #11840]
11456 * configure.in (-fgnu89-inline check): Set and substitute
11457 gnu89_inline, not libc_cv_gnu89_inline.
11458 * configure: Regenerated.
11459 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11460
24fb0f88
UD
114612010-07-26 Ulrich Drepper <drepper@redhat.com>
11462
11463 * string/test-strnlen.c: New file.
11464 * string/Makefile (strop-tests): Add strnlen.
11465 * string/tester.c (test_strnlen): Add a few more test cases.
11466 * string/tst-strlen.c: Better error reporting.
11467
11468 * sysdeps/x86_64/strnlen.S: New file.
11469
8e96b93a
UD
114702010-07-24 Ulrich Drepper <drepper@redhat.com>
11471
11472 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11473 lower-latency instructions.
11474
dbc676d4
UD
114752010-07-23 Ulrich Drepper <drepper@redhat.com>
11476
11477 * string/test-strcasestr.c: New file.
11478 * string/test-strstr.c: New file.
11479 * string/Makefile (strop-tests): Add strstr and strcasestr.
11480 * string/str-two-way.h: Don't undefine MAX.
11481 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11482
f6a31e0e
AS
114832010-07-21 Andreas Schwab <schwab@redhat.com>
11484
11485 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11486 strcasestr-nonascii.
11487 (CFLAGS-strcasestr-nonascii.c): Define.
11488 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11489 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11490 Remove unused attribute.
11491
5dbc3b6c
RM
114922010-07-20 Roland McGrath <roland@redhat.com>
11493
11494 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11495 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11496 ld.so.cache was broken. With it, there is no way to disable dsocaps
11497 like LD_HWCAP_MASK can disable hwcaps.
11498
23d101d8
EPM
114992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11500
11501 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11502
cc9f2e47
UD
115032010-07-16 Ulrich Drepper <drepper@redhat.com>
11504
11505 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11506 call in strcasestr.
11507 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11508 __strcasestr_sse42_nonascii.
11509 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11510 strcasestr-nonascii.c.
11511 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11512
77c1b069
LM
115132010-06-15 Luis Machado <luisgpm@br.ibm.com>
11514
11515 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11516 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11517 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11518 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11519
440566c3
UD
115202010-07-09 Ulrich Drepper <drepper@redhat.com>
11521
11522 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11523 fcntl.
11524
5be9d05d
AS
115252010-07-06 Andreas Schwab <schwab@redhat.com>
11526
c30b7ee2 11527 [BZ #11577]
5be9d05d
AS
11528 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11529 dl_signal_cerror.
11530
8a492a67
UD
115312010-07-06 Ulrich Drepper <drepper@redhat.com>
11532
11533 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11534 _PC_PIPE_BUF using F_GETPIPE_SZ.
11535
713df3d5
RM
115362010-07-05 Roland McGrath <roland@redhat.com>
11537
11538 * manual/arith.texi (Rounding Functions): Fix rint description
11539 implicit in round description.
11540
702e8f14
UD
115412010-07-02 Ulrich Drepper <drepper@redhat.com>
11542
11543 * elf/Makefile: Fix linking for a few tests to make recent linker
11544 happy.
11545
52ed8be9
AS
115462010-06-30 Andreas Schwab <schwab@redhat.com>
11547
11548 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11549 $(common-objpfx)libc_nonshared.a.
11550
f47c9a11
LM
115512010-06-21 Luis Machado <luisgpm@br.ibm.com>
11552
11553 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11554 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11555 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11556 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11557 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11558 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11559 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11560 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11575 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11576 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11577 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11578 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11579 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11580 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11581 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11582 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11583 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11584 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11585 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11586 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11601
6fb8cbcb
L
116022010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11603
11604 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11605 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11606 * string/memmove.c (memmove): Renamed to ...
11607 (MEMMOVE): ...this. Default to memmove.
11608 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11609 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11610 (END_CHK): Define.
11611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11612 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11613 mempcpy-ssse3-back memmove-ssse3-back.
11614 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11615 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11616 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11617 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11618 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11619 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11620 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11621 * sysdeps/x86_64/multiarch/memmove.c: New file.
11622 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11623 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11624 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11625 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11626 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11627 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11628 Define.
11629 (index_Fast_Copy_Backward): Define.
11630 (HAS_ARCH_FEATURE): Define.
11631 (HAS_FAST_REP_STRING): Define.
11632 (HAS_FAST_COPY_BACKWARD): Define.
11633
4e733bac 116342010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11635
11636 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11637 Restore proper fallback handling.
11638
63c4ed22
UD
116392010-06-19 Ulrich Drepper <drepper@redhat.com>
11640
ac2b484c
UD
11641 [BZ #11701]
11642 * posix/group_member.c (__group_member): Correct checking loop.
11643
63c4ed22
UD
11644 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11645 OOM in getpwuid_r correctly. Return error number when the caller
11646 should return, otherwise -1.
11647 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11648 call returning > 0 value.
11649 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11650
765ade4b
AS
116512010-06-07 Andreas Schwab <schwab@redhat.com>
11652
11653 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11654 libc_nonshared.a from targets in modules-names.
11655
80da2e09
KS
116562010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11657
11658 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11659 requires it.
11660
158db122
LM
116612010-06-10 Luis Machado <luisgpm@br.ibm.com>
11662
11663 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11664 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11665 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11666 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11667
caa78cf8
AS
116682010-06-02 Andreas Schwab <schwab@redhat.com>
11669
11670 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11671
b2ef2c01
UD
116722010-06-14 Ulrich Drepper <drepper@redhat.com>
11673
11674 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11675 and F_GETPIPE_SZ.
11676 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11677 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11678 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11680 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11681 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11682
fbd643b6
RM
116832010-06-14 Roland McGrath <roland@redhat.com>
11684
11685 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11686
f32f2869
JJ
116872010-06-07 Jakub Jelinek <jakub@redhat.com>
11688
11689 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11690 __REDIRECT followed by __THROW.
11691 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11692 * posix/getopt.h (getopt): Likewise.
11693
2a50c078
EPM
116942010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11695
11696 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11697 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11698 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11699 in AT_FLAGS.
11700 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11701 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11702
eb5ad2eb
LM
117032010-05-28 Luis Machado <luisgpm@br.ibm.com>
11704
11705 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11706
3c88fe1e
L
117072010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11708
11709 [BZ #11640]
11710 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11711 Properly check family and model.
11712
d2f73151
TY
117132010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11714
11715 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11716
ebd2e13d
LM
117172010-05-24 Luis Machado <luisgpm@br.ibm.com>
11718
11719 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11720
b32b8b45
UD
117212010-05-21 Ulrich Drepper <drepper@redhat.com>
11722
11723 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11724 symbol reference.
11725
9acbe24d
AS
117262010-05-19 Andreas Schwab <schwab@redhat.com>
11727
11728 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11729 symbol reference.
11730
f0ccf6ea
AS
117312010-05-21 Andreas Schwab <schwab@redhat.com>
11732
3d04ff3a
AS
11733 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11734 and internal_recvmmsg.
11735 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11736 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11737 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11738 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11739
f0ccf6ea
AS
11740 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11741 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11742 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11743
5b08ac57
AS
117442010-05-20 Andreas Schwab <schwab@redhat.com>
11745
11746 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11747
4828935d
LM
117482010-05-17 Luis Machado <luisgpm@br.ibm.com>
11749
11750 POWER7 optimizations.
11751 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11752 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11753
373d545e
UD
117542010-05-19 Ulrich Drepper <drepper@redhat.com>
11755
11756 * version.h: Update for 2.13 development version.
11757
21a2b1ae
AS
117582010-05-12 Andrew Stubbs <ams@codesourcery.com>
11759
11760 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11761 exceptions. Return 0.
11762
3f7dcb2b
RM
117632010-05-07 Roland McGrath <roland@redhat.com>
11764
11765 * elf/ldconfig.c (main): Add a const.
11766
5f24d53a 117672010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11768
a160f8d8
UD
11769 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11770 (args_options): Add no-idn option.
11771 (ahosts_keys_int): Add idn_flags to ai_flags.
11772 (parse_option): Handle 'i' option to clear idn_flags.
11773
5f24d53a
UD
11774 * malloc/malloc.c (_int_free): Possible race in the most recently
11775 added check. Only act on the data if no current modification
11776 happened.
265bb1ce
UD
11777
11778See ChangeLog.17 for earlier changes.