]> sourceware.org Git - glibc.git/blob - ChangeLog
db02f02308dc9e5dc75c2cb9c8154b7012e703eb
[glibc.git] / ChangeLog
1 2012-04-18 David S. Miller <davem@davemloft.net>
2
3 * sysdeps/generic/memcopy.h (reg_char): Delete.
4 * debug/strcat_chk.c: Use char, not reg_char.
5 * debug/strcpy_chk.c: Likewise.
6 * debug/strncat_chk.c: Likewise.
7 * debug/strncpy_chk.c: Likewise.
8 * string/memchr.c: Likewise.
9 * string/memrchr.c: Likewise.
10 * string/rawmemchr.c: Likewise.
11 * string/strcat.c: Likewise.
12 * string/strchr.c: Likewise.
13 * string/strchrnul.c: Likewise.
14 * string/strcmp.c: Likewise.
15 * string/strcpy.c: Likewise.
16 * string/strncat.c: Likewise.
17 * string/strncmp.c: Likewise.
18 * string/strncpy.c: Likewise.
19
20 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
21
22 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23 __builtin_memcopy is called when src and dest ranges are known to not
24 overlap.
25
26 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
27
28 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
29 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30 fwd_align_merge macro call.
31 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32 bwd_align_merge macro call.
33 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34
35 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
36
37 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38 bwd_align_merge macros.
39 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
40 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42
43 2012-04-18 David S. Miller <davem@davemloft.net>
44
45 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46
47 2012-04-18 Andreas Jaeger <aj@suse.de>
48
49 [BZ# 6794]
50 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
51 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
52 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53
54 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
55 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
56 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
57
58 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
59 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
60 Adjust for changed ldbl-128 files.
61
62 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
63 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
64 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
65
66 2012-04-17 David S. Miller <davem@davemloft.net>
67
68 * sysdeps/sparc/sparc32/memcopy.h: Delete.
69
70 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
71
72 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
73 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
74 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
75 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
76 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
77 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
78
79 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80
81 [BZ #6794]
82 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
83 * math/libm-test.inc: Add ilogb errno and exception tests.
84 * math/w_ilogb.c: New file: ilogb wrapper.
85 * math/w_ilogbf.c: New file: ilogbf wrapper.
86 * math/w_ilogbl.c: New file: ilogbl wrapper.
87 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
88 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
89 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
90 exception being thrown with 0.0 as argument.
91 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
92 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
93 exception being thrown with 0.0 as argument.
94 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
95 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
96 exception being thrown with 0.0 as argument.
97 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
98 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
99 exception being thrown with 0.0 as argument.
100 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
101 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
102 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
103 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
104 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
105 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
106 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
107 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
108 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
109
110 2012-04-17 Petr Baudis <pasky@ucw.cz>
111
112 * include/sys/uio.h: Change __vector to __iovec to avoid clash
113 with altivec.
114
115 2012-04-16 Marek Polacek <polacek@redhat.com>
116
117 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
118
119 2012-04-16 Marek Polacek <polacek@redhat.com>
120
121 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
122 operands of fdivp instruction.
123
124 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
125
126 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
127 * elf/tst-auditmod3b.c: Likewise.
128 * elf/tst-auditmod4b.c: Likewise.
129 * elf/tst-auditmod5b.c: Likewise.
130 * elf/tst-auditmod6b.c: Likewise.
131 * elf/tst-auditmod6c.c: Likewise.
132 * elf/tst-auditmod7b.c: Likewise.
133 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
134 * sysdeps/x86_64/preconfigure.in: Likewise.
135 * sysdeps/x86_64/preconfigure: Regenerated.
136
137 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
138
139 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
140 __ILP32__.
141
142 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
143
144 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
145 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
146
147 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
148
149 [BZ #13973]
150 * locale/iso-639.def: Fix gl language name. Spotted by
151 Yaron Shahrabani.
152
153 2012-04-12 Roland McGrath <roland@hack.frob.com>
154
155 [BZ #2074]
156 * libio/libio.h (__io_write_fn): Update comment.
157
158 2012-04-12 Petr Baudis <pasky@ucw.cz>
159
160 [BZ #2074]
161 * stdio.texi (Hook Functions): The user provided writer function
162 is not allowed to return -1.
163
164 2012-04-11 David S. Miller <davem@davemloft.net>
165
166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
167
168 2012-04-11 Mike Frysinger <vapier@gentoo.org>
169
170 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
171 Add a leading slash to rtkaio.
172
173 2012-04-11 Jim Meyering <meyering@redhat.com>
174
175 [BZ #11959]
176 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
177 It is not necessarily an error to ignore fwrite's return
178 value. One can reliably use ferror to test for errors after
179 the fact.
180
181 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
182
183 * bits/types.h (__snseconds_t): New type.
184 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
185
186 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
187 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
188 (__SNSECONDS_T_TYPE): Likewise.
189 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
190 (__SNSECONDS_T_TYPE): Likewise.
191 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
192 (__SNSECONDS_T_TYPE): Likewise.
193
194 2012-04-10 Andreas Jaeger <aj@suse.de>
195
196 [BZ #2636]
197 * manual/time.texi (Processor Time): Return type of times is
198 elapsed real time since an arbitrary point in the past.
199 (CPU Time): Move CLK_TCK from here...
200 (Processor Time): ...to here. Correct description.
201 * manual/conf.texi (Constants for Sysconf): Correct description of
202 _SC_CLK_TCK.
203
204 2012-04-10 David S. Miller <davem@davemloft.net>
205
206 [BZ #13967]
207 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
208 where the is a gap between DT_REL(A) and DT_JMPREL.
209
210 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
211
212 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
213 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
214 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
215
216 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
217
218 * elf/dl-support.c (_dl_inhibit_cache): New variable.
219 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
220 (dl_main): Handle --inhibit-cache.
221 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
222 _dl_inhibit_cache.
223 * elf/dl-load.c (_dl_map_object): Use it.
224 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
225
226 2012-04-09 Joseph Myers <joseph@codesourcery.com>
227
228 [BZ #13872]
229 * sysdeps/i386/fpu/e_powl.S (p78): New object.
230 (__ieee754_powl): Saturate large exponents rather than testing for
231 overflow of y*log2(x).
232 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
233 * math/libm-test.inc (pow_test): Do not permit spurious overflow
234 exceptions.
235
236 [BZ #11521]
237 * math/s_ctan.c: Include <float.h>.
238 (__ctan): Avoid internal overflow or cancellation in calculating
239 denominator.
240 * math/s_ctanf.c: Likewise.
241 * math/s_ctanl.c: Likewise.
242 * math/s_ctanh.c: Likewise.
243 * math/s_ctanhf.c: Likewise.
244 * math/s_ctanhl.c: Likewise.
245 * math/libm-test.inc (ctan_test): Add more tests.
246 (ctanh_test): Likewise.
247 * sysdeps/i386/fpu/libm-test-ulps: Update.
248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
249
250 2012-04-09 Andreas Jaeger <aj@suse.de>
251
252 [BZ #6894]
253 * manual/filesys.texi (Directory Entries): Mention that d_namlen
254 is an optional BSD extension.
255
256 [BZ #10254]
257 * manual/stdio.texi (Opening Streams): Document additional fopen
258 parameters.
259
260 2012-04-09 Roland McGrath <roland@hack.frob.com>
261
262 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
263 %eax without telling the compiler.
264
265 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
266
267 [BZ # 13963]
268 * manual/install.texi: Use sourceware.org.
269
270 2012-04-09 Joseph Myers <joseph@codesourcery.com>
271
272 [BZ #13873]
273 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
274 (__ieee754_pow): Generate overflow and underflow using huge*huge
275 and tiny*tiny rather than just returning constant infinity or zero
276 for large exponents.
277 * math/libm-test.inc (pow_test): Require overflow exceptions for
278 applicable cases of large exponents.
279
280 [BZ #706]
281 * sysdeps/i386/fpu/e_pow.S (p10): New object.
282 (__ieee754_pow): Use iterative multiplication algorithm only for
283 integer exponents with absolute value below 1024. Check for odd
284 integer exponents when using algorithm for real exponents.
285 * math/libm-test.inc (pow_test): Add more tests.
286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
287
288 2012-04-08 Joseph Myers <joseph@codesourcery.com>
289
290 [BZ #13705]
291 * math/libm-test.inc (exp_test): Do not allow overflow exception
292 on underflow test.
293
294 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
295
296 [BZ #13705]
297 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
298 instead of __kernel_standard_f.
299
300 2012-04-08 Mike Frysinger <vapier@gentoo.org>
301
302 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
303 * sysdeps/x86_64/memset_chk.S: Likewise.
304
305 2012-04-08 Andreas Jaeger <aj@suse.de>
306
307 [BZ #10153]
308 * manual/startup.texi (Environment Access): Describe return value
309 for putenv and setenv.
310
311 [BZ #6895]
312 * manual/filesys.texi (Directory Entries): Add description for
313 DT_LNK.
314
315 [BZ #6890]
316 * manual/filesys.texi (Directory Entries): Clarify that it's file
317 system not operating system in the description of DT_UNKNOWN.
318
319 [BZ #6578]
320 * manual/syslog.texi (closelog): Fix reference, it's openlog.
321
322 2012-04-08 Stephen Compall <s11@member.fsf.org>
323
324 [BZ #6649]
325 * manual/llio.texi (Opening and Closing Files): Add cross
326 reference to explain mode argument.
327
328 2012-04-07 Mike Frysinger <vapier@gentoo.org>
329
330 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
331 * sysdeps/x86_64/memset_chk.S: Likewise.
332
333 2012-04-07 David S. Miller <davem@davemloft.net>
334
335 * elf/elf.h (R_SPARC_WDISP10): Define.
336 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
337 R_SPARC_SIZE32.
338 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
339 R_SPARC_SIZE64 and R_SPARC_H34.
340
341 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
342
343 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
344 conditions and remove no longer applicable assertion.
345
346 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
347
348 * bits/byteswap.h: Include <features.h>.
349 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
350 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
351
352 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
353
354 * bits/byteswap.h (__bswap_16): Removed.
355 Include <bits/byteswap-16.h> to get __bswap_16.
356 * sysdeps/i386/bits/byteswap.h: Likewise.
357 * sysdeps/s390/bits/byteswap.h: Likewise.
358 * sysdeps/x86_64/bits/byteswap.h: Likewise.
359 * bits/byteswap-16.h: New file.
360 * sysdeps/i386/bits/byteswap-16.h: Likewise.
361 * sysdeps/s390/bits/byteswap-16.h: Likewise.
362 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
363 * string/Makefile (headers): Add bits/byteswap-16.h.
364
365 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
366
367 [BZ #13895]
368 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
369 extra indirection.
370 * nss/Makefile (tests-static, tests): Add tst-nss-static.
371 * nss/tst-nss-static.c: New.
372
373 2012-04-06 Robert Millan <rmh@gnu.org>
374
375 [BZ #6486]
376 * manual/llio.texi (File Position Primitive): lseek
377 refers to WHENCE when it really means OFFSET.
378
379 2012-04-06 Andreas Jaeger <aj@suse.de>
380
381 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
382 strncmp declarations.
383
384 * abilist/libc.abilist: Add __poll and __ppoll.
385
386 2012-04-05 David S. Miller <davem@davemloft.net>
387
388 * scripts/check-local-headers.sh: Accept a host triplet in the
389 path matched by the exclude regexp.
390
391 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
392 definition.
393 * sysdeps/powerpc/powerpc32/dl-machine.h
394 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
395 * sysdeps/s390/s390-32/dl-machine.h
396 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
397 * sysdeps/sparc/sparc32/dl-machine.h
398 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
399 * sysdeps/sparc/sparc64/dl-machine.h
400 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
401
402 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
403 lazy binding.
404 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
405 undefined symbol errors.
406
407 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
408 DT_NEEDED entries.
409
410 2012-04-05 Michael Matz <matz@suse.de>
411
412 [BZ #13592]
413 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
414
415 2012-04-05 Andreas Jaeger <aj@suse.de>
416
417 [BZ #13908]
418 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
419 comment.
420
421 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
422
423 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
424 which ROUND is no valid rounding mode.
425
426 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
427
428 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
429 read again.
430 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
431
432 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
433
434 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
435 an exception using FPU order intentionally.
436
437 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
438
439 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
440 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
441 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
442 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
443
444 2012-04-05 Simon Josefsson <simon@josefsson.org>
445
446 [BZ #12340]
447 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
448 EINVAL when BUFLEN is too smal.
449
450 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
451
452 [BZ #13553]
453 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
454 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
455
456 2012-04-03 Andreas Jaeger <aj@suse.de>
457
458 [BZ #13938]
459 * manual/setjmp.texi (System V contexts): Fix sentence.
460
461 [BZ #13926]
462 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
463 New macro for this case.
464 [!__GNUC__] (__bswap_64): New inline function for this case.
465 * sysdeps/x86_64/bits/byteswap.h: Likewise.
466 * bits/byteswap.h: Likewise.
467 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
468 ull, guard with __GLIBC_HAVE_LONG_LONG.
469
470 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
471 __GLIBC_HAVE_LONG_LONG.
472
473 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
474 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
475
476 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
477
478 [BZ #13691]
479 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
480 inptr and inend, rather than using last_ch.
481
482 2012-04-02 David S. Miller <davem@davemloft.net>
483
484 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
485 * stdio-common/printf-parse.h (read_int): Change return type to
486 'int', return -1 on INT_MAX overflow.
487 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
488 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
489 overflows INT_MAX. Check for overflow of in-format-string precision
490 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
491 SIZE_MAX not INT_MAX for integer overflow test.
492 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
493 skip the construct in the format string but do not record anything.
494 * stdio-common/bug22.c: Adjust to test both width/prevision
495 INT_MAX overflow as well as total length INT_MAX overflow. Check
496 explicitly for proper errno values.
497
498 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
499
500 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
501 CHAR_MAX.
502 * string/test-strcmp.c [! WIDE]: Likewise.
503 * time/tst-mktime2.c: Likewise for INT_MAX.
504 * string/test-string.h: #include <sys/param.h> for MIN.
505
506 * csu/init-first.c (__libc_init_first): Call __ctype_init.
507 * sysdeps/i386/init-first.c (init): Likewise.
508 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
509 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
510 * sysdeps/sh/init-first.c (init): Likewise.
511
512 2012-04-01 Ulrich Drepper <drepper@gmail.com>
513
514 * po/ru.po: Update from translation team.
515 * po/vi.po: Likewise.
516
517 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
518
519 * resolv/nss_dns/dns-host.c: Merge copyright years.
520
521 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
522
523 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
524 Optimize memcpy with prefetch if
525 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
526 src, dst pointers have unequal 16 byte alignments.
527
528 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
529
530 [BZ #13928]
531 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
532 from a CNAME entry and return the minimum ttl for the query.
533 (gaih_getanswer_slice): Likewise.
534
535 2012-03-30 Jeff Law <law@redhat.com>
536
537 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
538 due to long keys.
539 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
540 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
541
542 * resolv/nss_dns/dns-host.c: Update copyright year.
543
544 2012-03-30 Ulrich Drepper <drepper@gmail.com>
545
546 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
547 requests to save a system call. Fix check that all bytes are sent.
548
549 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
550 comments for sendmmsg.
551
552 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
553
554 [BZ #13691]
555 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
556 with only 1 character between 0x0041 and 0x01b0.
557 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
558 * wcsmbs/tst-mbsnrtowcs.c: New file.
559
560 2012-03-29 David S. Miller <davem@davemloft.net>
561
562 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
563 small copies by hand.
564
565 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
566
567 [BZ #13761]
568 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
569 _nss_compat_initgroups_dyn): Fall back to malloc/free
570 for large group memberships.
571
572 2012-03-28 David S. Miller <davem@davemloft.net>
573
574 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
575 that branches into memcpy.
576 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
577 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
578 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
579 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
580 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
581 bits.
582 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
583 implementation too.
584 * sysdeps/sparc/mempcpy.S: New file.
585
586 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
587 the IFUNC routine in the libc case.
588 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
589
590 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
591 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
592 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
593 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
594 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
595 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
596 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
597 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
598
599 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
600 loop to 256 bytes instead of 64 bytes and fix test signedness.
601
602 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
603 * sysdeps/sparc/sparc32/Makefile: rather than here...
604 * sysdeps/sparc/sparc64/Makefile: and here.
605
606 2012-03-28 Ulrich Drepper <drepper@gmail.com>
607
608 * malloc/mallocbug.c: Avoid warnings about unused variables.
609
610 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
611
612 [BZ #13760]
613 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
614 in the right place. Discard and retry query if response is
615 larger than input buffer size.
616
617 2012-03-28 Joseph Myers <joseph@codesourcery.com>
618
619 [BZ #369]
620 [BZ #2678]
621 [BZ #3866]
622 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
623 x for large integer exponent.
624 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
625 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
626 sign of result as needed afterwards.
627 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
628 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
629 result for underflowing pow the same as for overflow.
630 (__kernel_standard_l): Handle powl overflow and underflow here
631 rather than calling __kernel_standard.
632 * math/libm-test.inc (pow_test): Add more tests.
633
634 [BZ #3868]
635 [BZ #13879]
636 [BZ #13910]
637 [BZ #13911]
638 [BZ #13912]
639 [BZ #13913]
640 [BZ #13915]
641 [BZ #13916]
642 [BZ #13917]
643 [BZ #13918]
644 [BZ #13919]
645 [BZ #13920]
646 [BZ #13921]
647 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
648 * sysdeps/ieee754/k_standard.c: Include <float.h>.
649 (__kernel_standard_l): New function.
650 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
651 __kernel_standard.
652 * math/w_acosl.c (__acosl): Likewise.
653 * math/w_asinl.c (__asinl): Likewise.
654 * math/w_atan2l.c (__atan2l): Likewise.
655 * math/w_atanhl.c (__atanhl): Likewise.
656 * math/w_coshl.c (__coshl): Likewise.
657 * math/w_exp10l.c (__exp10l): Likewise.
658 * math/w_exp2l.c (__exp2l): Likewise.
659 * math/w_fmodl.c (__fmodl): Likewise.
660 * math/w_hypotl.c (__hypotl): Likewise.
661 * math/w_j0l.c (__j0l, __y0l): Likewise.
662 * math/w_j1l.c (__j1l, __y1l): Likewise.
663 * math/w_jnl.c (__jnl, __ynl): Likewise.
664 * math/w_lgammal.c (__lgammal): Likewise.
665 * math/w_log10l.c (__log10l): Likewise.
666 * math/w_log2l.c (__log2l): Likewise.
667 * math/w_logl.c (__logl): Likewise.
668 * math/w_powl.c (__powl): Likewise.
669 * math/w_remainderl.c (__remainderl): Likewise.
670 * math/w_scalbl.c (sysv_scalbl): Likewise.
671 * math/w_sinhl.c (__sinhl): Likewise.
672 * math/w_sqrtl.c (__sqrtl): Likewise.
673 * math/w_tgammal.c (__tgammal): Likewise.
674 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
675 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
676 * math/libm-test.inc (acos_test): Add more tests.
677 (acosh_test): Likewise.
678 (asin_test): Likewise.
679 (atanh_test): Likewise.
680 (exp_test): Likewise.
681 (exp10_test): Likewise.
682 (exp2_test): Likewise.
683 (expm1_test): Likewise.
684 (lgamma_test): Likewise.
685 (log_test): Likewise.
686 (log10_test): Likewise.
687 (log1p_test): Likewise.
688 (log2_test): Likewise.
689 (pow_test): Do not allow some spurious overflow exceptions.
690 (sqrt_test): Add more tests.
691 (tgamma_test): Likewise.
692 (y0_test): Likewise.
693 (y1_test): Likewise.
694 (yn_test): Likewise.
695
696 2012-03-27 Anton Blanchard <anton@samba.org>
697
698 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
699 MAP_HUGETLB.
700 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
701 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
702 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
703
704 2012-03-27 David S. Miller <davem@davemloft.net>
705
706 * conform/Makefile: Run run-conformtest.sh using $(BASH).
707
708 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
709 have-as-vis3 check.
710
711 2012-03-27 Andreas Jaeger <aj@suse.de>
712
713 * sysdeps/x86_64/elf/configure.in: Moved to ...
714 * sysdeps/x86_64/configure.in: ... here.
715 * sysdeps/x86_64/elf/start.S: Moved to ...
716 * sysdeps/x86_64/start.S: ... here.
717 * sysdeps/x86_64/elf/configure: Delete.
718
719 * sysdeps/x86_64/configure.in: Merge contents from
720 sysdeps/i386/configure.in (without i686 check).
721
722 * sysdeps/i386/elf/Versions: Merge into ...
723 * sysdeps/i386/Versions: ... this.
724 * sysdeps/i386/elf/Versions: Delete file.
725 * sysdeps/i386/elf/start.S: Moved to ...
726 * sysdeps/i386/start.S: ...here.
727 * sysdeps/i386/elf/configure.in: Merge into...
728 * sysdeps/i386/configure.in: ...here.
729 * sysdeps/i386/elf/configure.in: Delete file.
730 * sysdeps/i386/elf/configure: Delete file.
731
732 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
733 * debug/backtracesyms.c: ... here.
734 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
735 * debug/backtracesymsfd.c: ... here.
736 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
737 * sysdeps/generic/ifunc-sel.h: ... here.
738
739 * sysdeps/unix/i386/start.c: Delete file.
740 * sysdeps/unix/sparc/start.c: Delete file.
741 * sysdeps/unix/start.c: Delete file.
742
743 * sysdeps/sh/elf/configure.in: Moved to ...
744 * sysdeps/sh/configure.in: ... here.
745 * sysdeps/sh/elf/start.S: Moved to ...
746 * sysdeps/sh/start.S: ... here.
747 * sysdeps/sh/elf/configure: Delete file.
748
749 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
750 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
751 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
752 * sysdeps/powerpc/powerpc64/entry.h: ... here.
753 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
754 * sysdeps/powerpc/powerpc64/start.S: here.
755 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
756 * sysdeps/powerpc/powerpc64/Makefile: ... this.
757 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
758 * sysdeps/powerpc/powerpc64/configure.in: ... this.
759 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
760
761 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
762 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
763 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
764 * sysdeps/powerpc/powerpc32/start.S: ... here.
765 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
766 * sysdeps/powerpc/powerpc32/configure.in: ... this.
767 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
768
769 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
770 * sysdeps/powerpc/ifunc-sel.h: ... here.
771 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
772 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
773
774 * sysdeps/sparc/elf/configure.in: Moved to ...
775 * sysdeps/sparc/configure.in: ... here.
776 * sysdeps/sparc/elf/configure: Delete file.
777 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
778 * sysdeps/sparc/sparc32/start.S: ... here.
779 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
780 * sysdeps/sparc/sparc64/start.S: ... here.
781 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
782 * sysdeps/sparc/sparc32/Makefile: ... this.
783 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
784 * sysdeps/sparc/sparc64/Makefile: ... this.
785
786 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
787 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
788 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
789 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
790 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
791 * sysdeps/s390/s390-32/setjmp.S: ... here.
792 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
793 * sysdeps/s390/s390-32/configure.in: ... here.
794 * sysdeps/s390/s390-32/elf/configure: Delete file.
795 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
796 * sysdeps/s390/s390-32/start.S: ... here.
797
798 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
799 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
800 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
801 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
802 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
803 * sysdeps/s390/s390-64/setjmp.S: ... here.
804 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
805 * sysdeps/s390/s390-64/configure.in: ... here
806 * sysdeps/s390/s390-64/elf/configure: Delete file.
807 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
808 * sysdeps/s390/s390-64/start.S: ... here.
809 * sysdeps/s390/s390-64/elf/configure: Delete.
810
811 * configure.in: Remove support for elf directories in sysdeps.
812
813 * configure: Regenerated.
814 * sysdeps/i386/configure: Regenerated.
815 * sysdeps/powerpc/powerpc32/configure: Regenerated.
816 * sysdeps/powerpc/powerpc64/configure: Regenerated.
817 * sysdeps/s390/s390-32/configure: Regenerated.
818 * sysdeps/s390/s390-64/configure: Regenerated.
819 * sysdeps/sh/configure: Regenerated.
820 * sysdeps/sparc/configure: Regenerated.
821 * sysdeps/x86_64/configure: Regenerated.
822
823 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
824
825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
826
827 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
828 denormal result into account.
829
830 2012-03-25 Roland McGrath <roland@hack.frob.com>
831
832 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
833 Reported by Allan McRae <allan@archlinux.org>.
834
835 2012-03-23 Jeff Law <law@redhat.com>
836
837 * nss/getnssent.c (__nss_getent): Fix typo.
838
839 2012-03-23 David S. Miller <davem@davemloft.net>
840
841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
842
843 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
844
845 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
846 to pad to uint64_t for each field.
847 (dl_tls_index): Replace unsigned long with uint64_t.
848
849 2012-03-23 Daniel Jacobowitz <dmj@google.com>
850 Paul Pluzhnikov <ppluzhnikov@google.com>
851
852 [BZ #6528]
853 * grp/Makefile (otherlibs): Don't set it.
854 * inet/Makefile (otherlibs): Likewise.
855 * login/Makefile (otherlibs): Likewise.
856 * nscd/Makefile (otherlibs): Likewise.
857 * posix/Makefile (otherlibs): Likewise.
858 * pwd/Makefile (otherlibs): Likewise.
859 * rt/Makefile (otherlibs): Likewise.
860 * sunrpc/Makefile (otherlibs): Likewise.
861 * nss/Makefile (otherlibs): Likewise.
862 Add libnss_files to routines and static-only-routines.
863 ($(objpfx)getent): Remove rule.
864 * resolv/Makefile: Add libnss_dns and libresolv to routines and
865 static-only-routines.
866
867 2012-03-22 Joseph Myers <joseph@codesourcery.com>
868
869 [BZ #13892]
870 * math/s_cexp.c: Include <float.h>.
871 (__cexp): Handle exp result overflowing not necessarily
872 overflowing both real and imaginary parts of result.
873 * math/s_cexpf.c: Likewise.
874 * math/s_cexpl.c: Likewise.
875 * math/libm-test.inc (cexp_test): Add more tests.
876 * sysdeps/i386/fpu/libm-test-ulps: Update.
877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
878
879 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
880
881 * include/link.h (ELFW): New macro.
882 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
883 Replace ELF64_R_TYPE with ELFW(R_TYPE).
884
885 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
886
887 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
888 with uint64_t.
889
890 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
891
892 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
893 declaration.
894 (struct La_x32_retval): Likewise.
895
896 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
897
898 * sysdeps/x86_64/preconfigure.in: New file.
899 * sysdeps/x86_64/preconfigure: New generated file.
900
901 2012-03-22 Joseph Myers <joseph@codesourcery.com>
902
903 [BZ #13824]
904 * math/e_exp2l.c: Include <float.h>.
905 (__ieee754_exp2l): Handle overflow and underflow cases
906 separately. Only pass fractional part of argument to
907 __ieee754_expl.
908 * math/libm-test.inc (exp2_test): Add more tests.
909
910 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
911 negating x to take absolute value.
912 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
913 Likewise.
914 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
915 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
916 Likewise.
917 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
918 computing low part if x was negated.
919 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
920
921 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
922
923 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
924 la_x32_gnu_pltexit.
925 (pltexit): Cast int_retval to ptrdiff_t.
926 * elf/tst-auditmod3b.c: Likewise.
927 * elf/tst-auditmod4b.c: Likewise.
928 * elf/tst-auditmod5b.c: Likewise.
929 * elf/tst-auditmod6b.c: Likewise.
930 * elf/tst-auditmod6c.c: Likewise.
931 * elf/tst-auditmod7b.c: Likewise.
932
933 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
934 and x32_gnu_pltexit.
935
936 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
937 __ELF_NATIVE_CLASS.
938 (La_x32_regs): New macro.
939 (La_x32_retval): Likewise.
940 (la_x32_gnu_pltenter): New function prototype.
941 (la_x32_gnu_pltexit): Likewise.
942
943 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
944
945 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
946 exponent.
947
948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
949
950 * configure.in (libc_cv_cc_nofma): Check for option to disable
951 generation of FMA instructions.
952 * configure: Regenerate.
953 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
954 * sysdeps/ieee754/dbl-64/Makefile: New file.
955 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
956 Remove brandred-fma4.
957 (CFLAGS-brandred-fma4.c): Remove.
958 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
959 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
960 define.
961 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
962 define.
963
964 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
965
966 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
967 LLONG_MAX != LONG_MAX.
968 (_itoa_word): Use _ITOA_WORD_TYPE on value.
969 (_fitoa_word): Likewise.
970 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
971 LLONG_MAX != LONG_MAX.
972 * stdio-common/_itowa.h: Include <_itoa.h>.
973 (_itowa_word): Use _ITOA_WORD_TYPE on value.
974 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
975 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
976 only if not defined.
977 (_ITOA_WORD_TYPE): Likewise.
978 (_itoa_word): Use _ITOA_WORD_TYPE on value.
979 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
980
981 2012-03-21 David S. Miller <davem@davemloft.net>
982
983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
984
985 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
986
987 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
988 of x86_64 when setting libc_cv_slibdir, libdir and
989 libc_cv_localedir.
990 * sysdeps/unix/sysv/linux/configure: Regenerated.
991
992 2012-03-21 Joseph Myers <joseph@codesourcery.com>
993
994 * manual/lang.texi (Old Varargs): Remove section.
995 (How Variadic): Update menu.
996 (va_start): Do not mention varargs.h.
997
998 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
999 Joseph Myers <joseph@codesourcery.com>
1000
1001 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1002 link test.
1003 * configure: Regenerated.
1004
1005 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1006
1007 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1008 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1009 conformtest.pl
1010
1011 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1012
1013 * NOTES: Remove.
1014 * Makefile (files-for-dist): Remove NOTES.
1015 (NOTES): Remove rule.
1016 * README: Don't refer to NOTES.
1017 * manual/creature.texi: Don't include macros.texi.
1018 * manual/intro.texi (creature.texi): Remove comment referring to
1019 NOTES.
1020
1021 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1022 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1023 * configure: Regenerated.
1024 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1025 LIBC_TRY_CC_OPTION.
1026 (libc_cv_as_i686): Likewise.
1027 (libc_cv_cc_avx): Likewise.
1028 (libc_cv_cc_sse2avx): Likewise.
1029 (libc_cv_cc_fma4): Likewise.
1030 (libc_cv_cc_novzeroupper): Likewise.
1031 * sysdeps/i386/configure: Regenerated.
1032
1033 [BZ #13883]
1034 * sysdeps/i386/fpu/s_cexp.S: Remove.
1035 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1036 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1037 * math/libm-test.inc (cexp_test): Add more tests.
1038 * sysdeps/i386/fpu/libm-test-ulps: Update.
1039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1040
1041 2012-03-21 Allan McRae <allan@archlinux.org>
1042
1043 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1044
1045 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1046
1047 [BZ #13871]
1048 * math/w_exp2.c: Do not include <float.h>.
1049 (o_threshold, u_threshold): Remove.
1050 (__exp2): Calculate result before checking finiteness and calling
1051 __kernel_standard.
1052 * math/w_exp2f.c: Likewise.
1053 * math/w_exp2l.c: Likewise.
1054 * math/libm-test.inc (exp2_test): Require overflow exception for
1055 1e6 input.
1056
1057 [BZ #3866]
1058 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1059 range of signed 64-bit integers before using fistpll. Remove
1060 checks for whether integers fit in mantissa bits.
1061 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1062 the range of signed 32-bit integers before using fistpl. Remove
1063 checks for whether integers fit in mantissa bits.
1064 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1065 (__ieee754_powl): Test for y outside the range of signed 64-bit
1066 integers before using fistpll. Reduce 64-bit values to 63-bit
1067 ones as needed.
1068 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1069 divide-by-zero is raised for zero to large negative powers.
1070 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1071 (__ieee754_powl): Test for y outside the range of signed 64-bit
1072 integers before using fistpll. Reduce 64-bit values to 63-bit
1073 ones as needed.
1074 * math/libm-test.inc (pow_test): Add more tests.
1075
1076 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1077
1078 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1079 <stdio-common/_itoa.h>.
1080 * debug/segfault.c: Likewise.
1081 * elf/dl-cache.c: Likewise.
1082 * elf/dl-minimal.c: Likewise.
1083 * elf/dl-misc.c: Likewise.
1084 * elf/dl-sysdep.c: Likewise.
1085 * elf/dl-version.c: Likewise.
1086 * elf/rtld.c: Likewise.
1087 * hurd/hurdsock.c: Likewise.
1088 * hurd/lookup-retry.c: Likewise.
1089 * malloc/malloc.c: Likewise.
1090 * malloc/mtrace.c: Likewise.
1091 * nscd/nscd_getgr_r.c: Likewise.
1092 * nscd/nscd_getpw_r.c: Likewise.
1093 * nscd/nscd_getserv_r.c: Likewise.
1094 * posix/getopt_init.c: Likewise.
1095 * posix/wordexp.c: Likewise.
1096 * stdio-common/_itoa.c: Likewise.
1097 * stdio-common/printf_fphex.c: Likewise.
1098 * stdio-common/vfprintf.c: Likewise.
1099 * string/_strerror.c: Likewise.
1100 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1101 * sysdeps/i386/i686/hp-timing.h: Likewise.
1102 * sysdeps/mach/_strerror.c: Likewise.
1103 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1104 * sysdeps/mach/hurd/sethostid.c: Likewise.
1105 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1106 * sysdeps/mach/xpg-strerror.c: Likewise.
1107 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1108 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1109 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1110 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1111 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1112 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1113 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1114 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1115 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1116 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1117 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1118 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1119 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1120 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1121 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1122 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1123 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1124 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1125 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1126 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1127 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1128
1129 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1130
1131 * stdio-common/_itoa.h: Moved to ...
1132 * sysdeps/generic/_itoa.h: Here.
1133
1134 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1135
1136 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1137 instead of "_itoa.h" and "_itowa.h".
1138 * stdio-common/vfprintf.: Likewise.
1139
1140 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1141
1142 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1143 <bits/wordsize.h>.
1144 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1145 (__signbit): Likwise.
1146 (llrintf): Likwise.
1147 (llrint): Likwise.
1148
1149 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1150
1151 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1152 __WORDSIZE != 64.
1153
1154 2012-03-20 Joseph Myers <joseph@codesourcery.com>
1155
1156 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1157 OVERFLOW_EXCEPTION_OK.
1158 * math/libm-test.inc ("Philosophy"): Update comment about
1159 exception testing.
1160 (OVERFLOW_EXCEPTION): Define.
1161 (OVERFLOW_EXCEPTION_OK): Likewise.
1162 (INVALID_EXCEPTION_OK): Renumber.
1163 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1164 (IGNORE_ZERO_INF_SIGN): Likewise.
1165 (test_exceptions): Handle FE_OVERFLOW.
1166 (exp10_test): Expect overflow exceptions.
1167 (exp2_test): Likewise.
1168 (expm1_test): Likewise.
1169 (nextafter_test): Likewise.
1170 (pow_test): Likewise.
1171 (scalbn_test): Likewise.
1172 (scalbln_test): Likewise.
1173
1174 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1175
1176 * sysdeps/x86_64/bits/atomic.h
1177 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1178 64bit integer.
1179 (atomic_exchange_acq): Likewise.
1180 (__arch_exchange_and_add_body): Likewise.
1181 (__arch_add_body): Likewise.
1182 (atomic_add_negative): Likewise.
1183 (atomic_add_zero): Likewise.
1184
1185 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1186
1187 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1188 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1189
1190 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1191
1192 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1193 Check __x86_64__ instead of __WORDSIZE.
1194
1195 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1196
1197 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1198
1199 2012-03-19 David S. Miller <davem@davemloft.net>
1200
1201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1202
1203 * sysdeps/sparc/fpu/fenv_private.h: New file.
1204 * sysdeps/sparc/fpu/math_private.h: Use it.
1205 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1206 Remove.
1207 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1208 (libc_feholdexcept_setroundl): Remove.
1209 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1210 Remove.
1211 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1212 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1213
1214 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1215
1216 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1217 int64_t instead of long int.
1218 (INSERT_WORDS64): Likwise.
1219
1220 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1221
1222 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1223 _Unwind_GetCFA return to _Unwind_Ptr first.
1224
1225 2012-03-19 Joseph Myers <joseph@codesourcery.com>
1226
1227 [BZ #13629]
1228 * math/s_clog.c: Include <float.h>.
1229 (__clog): Scale large or subnormal inputs.
1230 * math/s_clogf.c: Likewise.
1231 * math/s_clogl.c: Likewise.
1232 * math/s_clog10.c: Include <float.h>.
1233 (M_LOG10_2): Define.
1234 (__clog10): Scale large or subnormal inputs.
1235 * math/s_clog10f.c: Likewise.
1236 * math/s_clog10l.c: Likewise.
1237 * math/libm-test.inc (clog_test): Add more tests.
1238 (clog10_test): Likewise.
1239 * sysdeps/i386/fpu/libm-test-ulps: Update.
1240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1241
1242 [BZ #11451]
1243 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1244 x and y.
1245 * math/libm-test.inc (atan2_test): Add another test.
1246
1247 * Makerules (common-objdir-compile): Remove.
1248 * sysdeps/unix/Makefile (config-generated): Do not add
1249 $(unix-generated) to variable.
1250 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1251 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1252 Remove rule.
1253 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1254 Likewise.
1255 [generic bits/local_lim.h] (before-compile): Do not append to
1256 variable.
1257 [generic bits/local_lim.h] (common-generated): Likewise.
1258 [generic sys/param.h] (before-compile): Do not append to variable.
1259 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1260 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1261 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1262 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1263 include.
1264 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1265 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1266 [generic sys/param.h] ($(addprefix
1267 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1268 [generic sys/param.h] (common-generated): Do not append to
1269 variable.
1270 [generic sys/param.h] (sysdep_headers): Likewise.
1271 [generic bits/errno.h] (before-compile): Do not append to
1272 variable.
1273 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1274 rule.
1275 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1276 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1277 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1278 [generic bits/errno.h] (common-generated): Do not append to
1279 variable.
1280 [generic bits/ioctls.h] (before-compile): Do not append to
1281 variable.
1282 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1283 rule.
1284 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1285 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1286 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1287 rule.
1288 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1289 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1290 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1291 [generic bits/ioctls.h] (common-generated): Do not append to
1292 variable.
1293 [generic sys/syscall.h] (syscall.h): Remove variable.
1294 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1295 rule.
1296 [generic sys/syscall.h] (before-compile): Do not append to
1297 variable.
1298 [generic sys/syscall.h] (common-generated): Likewise.
1299 * sysdeps/unix/errnos-tmpl.c: Remove file.
1300 * sysdeps/unix/errnos.awk: Likewise.
1301 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1302 * sysdeps/unix/ioctls.awk: Likewise.
1303 * sysdeps/unix/mk-local_lim.c: Likewise.
1304 * sysdeps/unix/snarf-ioctls: Likewise.
1305
1306 2012-03-19 Richard Henderson <rth@twiddle.net>
1307
1308 * sysdeps/i386/fpu/fenv_private.h: New file.
1309 * sysdeps/i386/fpu/math_private.h: Use it.
1310 (math_opt_barrier, math_force_eval): Remove.
1311 (libc_feholdexcept_setround_53bit): Remove.
1312 (libc_feupdateenv_53bit): Remove.
1313 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1314 (math_opt_barrier, math_force_eval): Remove.
1315 (libc_feholdexcept): Remove.
1316 (libc_feholdexcept_setround): Remove.
1317 (libc_fetestexcept, libc_fesetenv): Remove.
1318 (libc_feupdateenv_test): Remove.
1319 (libc_feupdateenv, libc_feholdsetround): Remove.
1320 (libc_feresetround): Remove.
1321
1322 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1323 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1324
1325 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1326 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1327 (libc_feupdateenv_testl): New.
1328 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1329 (libc_feupdateenv_testf): New.
1330 (libc_feupdateenv): Use libc_feupdateenv_test.
1331 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1332 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1333
1334 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1335 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1336 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1337 (libc_feresetround_noex): New.
1338 (libc_feresetround_noexf): New.
1339 (libc_feresetround_noexl): New.
1340 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1341 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1342 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1343 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1344 SET_RESTORE_ROUND.
1345 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1346 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1347 (__cos): Likewise.
1348 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1349 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1350 SET_RESTORE_ROUND_NOEX.
1351 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1352 SET_RESTORE_ROUND_NOEXF.
1353 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1354 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1355 (libc_feholdsetroundf): New.
1356 (libc_feresetround, libc_feresetroundf): New.
1357
1358 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1359 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1360 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1361
1362 * sysdeps/generic/math_private.h: Include <fenv.h>.
1363 (default_libc_feholdexcept): New.
1364 (default_libc_feholdexcept_setround): New.
1365 (default_libc_fesetenv, default_libc_feupdateenv): New.
1366 (libc_feholdexcept): Only define if undefined.
1367 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1368 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1369 (libc_feholdexcept_setroundl): Likewise.
1370 (libc_feholdexcept_setround_53bit): Likewise.
1371 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1372 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1373 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1374 (libc_feupdateenv_53bit): Likewise.
1375 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1376 (libc_feholdexcept): Convert from macro to inline function.
1377 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1378 (libc_fesetenv, libc_feupdateenv): Likewise.
1379
1380 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1381 not previously defined.
1382 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1383 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1384 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1385 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1386 * sysdeps/ieee754/flt-32/math_private.h: New file.
1387 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1388 math_private.h below SET_FLOAT_WORD.
1389 (__isnan, __isinf_ns, __finite): Remove.
1390 (__isnanf, __isinf_nsf, __finitef): Remove.
1391
1392 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1393
1394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1395
1396 2012-03-17 David S. Miller <davem@davemloft.net>
1397
1398 [BZ #6471]
1399 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1400 for 2.16.
1401
1402 2012-03-16 David S. Miller <davem@davemloft.net>
1403
1404 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1405 warnings.
1406
1407 [BZ #6471]
1408 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1409 properly.
1410 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1411 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1412 sysdep_routines when subdir is sysvipc.
1413 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1414 __getshmlba helper.
1415
1416 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1417
1418 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1419
1420 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1421 [__LP64__].
1422
1423 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1424
1425 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1426 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1427 (__lround): Renamed to ...
1428 (__llround): This. Replace long int with long long int.
1429 Define lround functions as aliases of llround functions.
1430 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1431
1432 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1433
1434 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1435 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1436 adresses to uintptr_t. Replace "long int" and "unsigned long
1437 int" with "greg_t" on va_arg.
1438
1439 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1440
1441 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1442 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1443
1444 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1445 Move e_machine check before EI_CLASS check. Handle x32
1446 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1447 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1448 SKIP_EM_IA_64 and include
1449 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1450
1451 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1452 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1453 (add_system_dir): New macro.
1454
1455 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1456 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1457
1458 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1459
1460 [BZ #2551]
1461 [BZ #2552]
1462 [BZ #2553]
1463 [BZ #2554]
1464 [BZ #2562]
1465 [BZ #2563]
1466 [BZ #2565]
1467 [BZ #2566]
1468 [BZ #2576]
1469 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1470 (y0): Likewise.
1471 * math/w_j0f.c (j0f): Likewise.
1472 (y0f): Likewise.
1473 * math/w_j0l.c (__j0l): Likewise.
1474 (__y0l): Likewise.
1475 * math/w_j1.c (j1): Likewise.
1476 (y1): Likewise.
1477 * math/w_j1f.c (j1f): Likewise.
1478 (y1f): Likewise.
1479 * math/w_j1l.c (__j1l): Likewise.
1480 (__y1l): Likewise.
1481 * math/w_jn.c (jn): Likewise.
1482 (yn): Likewise.
1483 * math/w_jnf.c (jnf): Likewise.
1484 (ynf): Likewise.
1485 * math/w_jnl.c (__jnl): Likewise.
1486 (__ynl): Likewise.
1487 * math/libm-test.inc (j0_test): Add more tests.
1488 (j1_test): Likewise.
1489 (jn_test): Likewise. Add trailing semicolon to existing test.
1490 (y0_test): Likewise.
1491 (y1_test): Likewise.
1492 * sysdeps/i386/fpu/libm-test-ulps: Update.
1493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1494
1495 [BZ #13851]
1496 [BZ #13854]
1497 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1498 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1499 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1500 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1501 (__tanl): Set errno for infinite argument.
1502 * sysdeps/i386/fpu/mptan.c: Remove.
1503 * sysdeps/i386/fpu/s_tan.S: Likewise.
1504 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1505 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1506 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1507 * math/libm-test.inc (tan_test): Add more tests and enable more
1508 tests for double and long double.
1509 * sysdeps/i386/fpu/libm-test-ulps: Update.
1510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1511
1512 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1513
1514 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1515 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1516
1517 2012-03-16 Roland McGrath <roland@hack.frob.com>
1518
1519 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1520 * configure.in: Use it for both main tree and add-ons.
1521 * configure: Regenerated.
1522
1523 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1524
1525 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1526
1527 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1528
1529 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1530 in comment.
1531
1532 [BZ #13851]
1533 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1534 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1535 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1536 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1537 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1538 infinite argument.
1539 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1540 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1541 != 0 for prec == 2.
1542 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1543 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1544 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1545 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1546 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1547 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1548 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1549 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1550 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1551 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1552 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1553 * math/libm-test.inc (cos_test): Add more tests and enable more
1554 tests for long double.
1555 (sin_test): Likewise.
1556 (sincos_test): Likewise.
1557 * sysdeps/i386/fpu/libm-test-ulps: Update.
1558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1559
1560 2012-03-16 David S. Miller <davem@davemloft.net>
1561
1562 * sysdeps/sparc/fpu/math_private.h: New file.
1563
1564 2012-03-15 David S. Miller <davem@davemloft.net>
1565
1566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1567 file.
1568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1570 file.
1571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1574 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1575 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1576 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1577 sysdep routines.
1578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1579
1580 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1581 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1582
1583 * sysdeps/sparc/sparc-ifunc.h: New file.
1584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1585 sparc-ifunc.h
1586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1588 Likewise.
1589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1590 Likewise.
1591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1595 Likewise.
1596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1601 Likewise.
1602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1603 Likewise.
1604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1608 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1609 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1610 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1611 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1612 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1613 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1614 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1615 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1616 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1618 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1619 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1620 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1621 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1622 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1623 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1624 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1625 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1626 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1627 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1628
1629 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1630
1631 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1632 scaling.
1633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1634
1635 2012-03-15 Andreas Jaeger <aj@suse.de>
1636
1637 [BZ #13852]
1638 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1639 ieee754/flt-32 implementation for sin, cos and sincos.
1640 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1641 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1642 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1643 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1644 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1645 ieee754/flt-32 implementation for tan.
1646
1647 * math/libm-test.inc (cos_test): Enable some large input tests for
1648 float as well
1649 (sin_test): Likewise.
1650 (sincos_test): Likewise.
1651 (tan_test): Add tests for large input.
1652
1653 * sysdeps/i386/fpu/libm-test-ulps: Update.
1654
1655 2012-03-15 Andreas Jaeger <aj@suse.de>
1656
1657 [BZ #13658]
1658 * math/libm-test.inc (cos_test): Add more test cases.
1659 (sin_test): Likewise.
1660 (sincos_test): Likewise.
1661
1662 2012-03-15 Andreas Jaeger <aj@suse.de>
1663
1664 [BZ #13837]
1665 * math/libm-test.inc (cos_test): Add a test case for large input
1666 value.
1667 (sin_test): Likewise.
1668 (sincos_test): Likewise.
1669
1670 2012-03-15 Andreas Jaeger <aj@suse.de>,
1671 Joseph Myers <joseph@codesourcery.com>
1672
1673 [BZ #13658]
1674 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1675 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1676 * sysdeps/i386/fpu/branred.c: Likewise.
1677 * sysdeps/i386/fpu/dosincos.c: Likewise.
1678 * sysdeps/i386/fpu/mpa.c: Likewise.
1679 * sysdeps/i386/fpu/s_cos.S: Likewise.
1680 * sysdeps/i386/fpu/s_sin.S: Likewise.
1681 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1682 * sysdeps/i386/fpu/sincos32.c: Likewise.
1683
1684 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1685 Define.
1686 (libc_feupdateenv_53bit): Define.
1687 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1688 Define.
1689 (libc_feupdateenv_53bit): Define.
1690
1691 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1692 53 bit (without extend i386 double precision).
1693
1694 * math/libm-test.inc (sincos_test): Add tests for large input.
1695 (sin): Likewise.
1696 (cos): Likewise.
1697
1698 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1699
1700 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1701
1702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1703
1704 2012-03-15 David S. Miller <davem@davemloft.net>
1705
1706 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1707 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1708 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1709 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1713 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1714 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1715 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1716 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1717 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1718 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1722 file.
1723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1725 file.
1726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1728 file.
1729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1731 file.
1732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1733 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1734 fmin/fmax sysdep routines.
1735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1736
1737 2012-03-14 David S. Miller <davem@davemloft.net>
1738
1739 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1740 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1741 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1742 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1743 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1744 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1745 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1746 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1747 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1748 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1749 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1750 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1751 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1752 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1753 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1754 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1755 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1756 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1757 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1759 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1760 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1761 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1762 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1763 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1764 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1765 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1766 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1767 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1768 routines.
1769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1770 file.
1771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1773 file.
1774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1776 file.
1777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1779 file.
1780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1782 file.
1783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1785 file.
1786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1787 file.
1788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1789 file.
1790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1791 file.
1792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1793 New file.
1794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1795 file.
1796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1797 file.
1798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1800 file.
1801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1803 file.
1804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1806 file.
1807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1809 VIS3 routines.
1810
1811 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1812 New file.
1813
1814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1815
1816 * sysdeps/sparc/configure.in: New file.
1817 * sysdeps/sparc/configure: Generate.
1818 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1819 * configure: Regenerate.
1820 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1821 * config.make.in (have-as-vis3): New.
1822 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1823 available use -Av9d instead of -Av9a.
1824 * sysdeps/sparc/sparc64/Makefile: Likewise.
1825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1827 New file.
1828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1829 file.
1830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1831 New file.
1832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1833 file.
1834 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1835 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1836 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1837 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1838 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1839
1840 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1841 fzeros/fnegs to load 0x80000000 into a float register instead of
1842 using the stack.
1843 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1844
1845 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1846
1847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1848 bits/syscall.h.
1849 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1850 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1851 ($(inst_includedir)/bits/syscall.h): Remove rule.
1852 ($(objpfx)bits/syscall.d): Include instead of
1853 $(objpfx)syscall-list.d.
1854 (generated): Change syscall-list.h and syscall-list.d to
1855 bits/syscall.h and bits/syscall.d.
1856
1857 2012-03-14 Roland McGrath <roland@hack.frob.com>
1858
1859 [BZ #13846]
1860 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1861
1862 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1863
1864 [BZ #13841]
1865 * math/s_csqrt.c: Include <float.h>.
1866 (__csqrt): Scale large or subnormal inputs.
1867 * math/s_csqrtf.c: Likewise.
1868 * math/s_csqrtl.c: Likewise.
1869 * math/libm-test.inc (csqrt_test): Add more tests.
1870 * sysdeps/i386/fpu/libm-test-ulps: Update.
1871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1872
1873 [BZ #13840]
1874 * math/libm-test.inc (hypot_test): Add more tests.
1875
1876 2012-03-13 David S. Miller <davem@davemloft.net>
1877
1878 [BZ #13840]
1879 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1880 double-precision for the calculation instead of scaling.
1881
1882 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1883
1884 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1885 manipulate bits before adding and subtracting TWO52[sx].
1886 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1887 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1888 Likewise.
1889 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1890
1891 2012-03-13 David S. Miller <davem@davemloft.net>
1892
1893 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1894 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1895 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1896 rtld-global-offsets.h
1897 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1898
1899 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1900 large parameters.
1901
1902 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1903
1904 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1905 'err' in the ifdef scope in which it is actually used.
1906
1907 * nss/nss_db/db-init.c: Include string.h
1908
1909 2012-03-12 David S. Miller <davem@davemloft.net>
1910
1911 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1912 masking out of the most significant byte of random value used.
1913 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1914 Fix coding style in previous change.
1915
1916 * sysdeps/unix/sysv/linux/kernel-features.h
1917 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1918 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1919 expression.
1920 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1921 later.
1922
1923 2012-03-11 David S. Miller <davem@davemloft.net>
1924
1925 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1926 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1927 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1928 for 'resultvar' otherwise things get truncated on 64-bit.
1929
1930 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1931 Fix masking out of the most significant byte of random value used.
1932
1933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1934
1935 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1936
1937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1938
1939 2012-03-09 David S. Miller <davem@davemloft.net>
1940
1941 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1942 variables with appropriate CPP guards.
1943 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1944 frame pointer, not the stack pointer. Correct layout comments. Fix test
1945 on resulting framesize and the management of the outregs buffer for pltexit.
1946 Preserve floating point return values across _dl_call_pltexit call.
1947 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1948 framesize and the management of the outregs buffer for pltexit.
1949 Preserve floating point return values across _dl_call_pltexit
1950 call.
1951 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1952 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1953 (print_exit): Fix format string for return register value.
1954
1955 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1956
1957 * sunrpc/Makefile (others): Add rpcgen.
1958 ($(objpfx)rpcgen): Remove special build rule and dependency on
1959 libc.
1960 * sunrpc/rpcgen.c: New file.
1961
1962 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1963
1964 [BZ #13673]
1965 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1966 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1967 * sysdeps/i386/crti.S: Likewise.
1968 * sysdeps/i386/crtn.S: Likewise.
1969 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1970 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1971 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1972 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1973 * sysdeps/sh/crti.S: Likewise.
1974 * sysdeps/sh/crtn.S: Likewise.
1975 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1976
1977 [BZ #13673]
1978 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1979 with URL.
1980 * locale/programs/locfile-kw.gperf: Likewise.
1981 * locale/programs/charmap-kw.h: Regenerated.
1982 * locale/programs/locfile-kw.h: Likewise.
1983
1984 [BZ #13673]
1985 * intl/plural.y: Replace FSF snail mail address with URL.
1986 * intl/plural.c: Regenerated.
1987
1988 2012-03-09 Richard Henderson <rth@twiddle.net>
1989
1990 * include/math_private.h: Remove file.
1991 * math/math_private.h: Move file ...
1992 * sysdeps/generic/math_private.h: ... here.
1993
1994 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1995 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1996 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1997
1998 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1999 and <math_private.h>.
2000 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2001 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2002 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2003 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2004 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2005 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2006 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2007 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2008 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2009 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2010 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2011 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2012 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2013 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2014 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2015 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2016 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2017 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2018 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2019 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2020 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2021 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2022 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2023 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2024 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2025 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2026 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2027 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2028 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2029 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2030 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2031 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2032 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2033 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2034 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2035 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2036 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2037 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2038 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2039 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2040 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2041 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2042 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2043 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2044 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2045 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2046 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2047 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2048 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2049 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2050 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2051 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2052 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2053 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2054 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2055 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2056 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2057 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2058 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2059 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2060 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2061 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2062 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2063 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2064 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2065 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2066 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2067 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2068 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2069 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2070 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2071 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2072 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2073 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2074 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2075 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2076 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2077 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2078 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2079 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2080 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2081 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2082 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2083 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2084 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2085 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2086 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2087 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2088 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2089 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2090 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2091 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2092 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2093 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2094 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2095 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2096 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2097 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2098 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2099 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2100 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2101 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2102 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2103 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2104 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2105 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2106 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2107 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2108 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2109 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2110 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2111 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2112 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2113 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2114 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2115 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2116 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2117 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2118 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2119 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2120 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2121 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2122 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2123 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2124 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2125 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2126 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2127 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2128 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2129 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2130 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2131 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2132 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2133 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2134 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2135 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2136 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2137 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2138 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2139 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2140 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2141 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2142 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2143 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2144 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2145 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2146 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2147 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2148 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2149 * sysdeps/ieee754/k_standard.c: Likewise.
2150 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2151 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2152 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2153 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2154 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2155 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2156 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2157 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2158 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2159 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2160 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2161 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2162 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2163 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2164 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2165 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2166 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2167 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2168 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2169 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2170 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2171 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2172 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2173 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2174 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2175 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2176 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2177 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2178 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2179 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2180 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2181 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2182 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2183 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2184 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2185 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2186 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2187 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2188 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2189 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2190 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2191 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2192 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2193 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2194 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2195 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2196 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2197 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2198 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2199 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2200 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2201 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2202 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2203 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2204 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2205 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2206 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2207 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2208 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2209 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2210 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2211 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2212 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2213 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2214 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2215 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2216 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2217 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2218 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2219 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2220 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2221 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2222 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2223 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2224 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2225 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2226 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2227 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2228 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2229 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2230 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2231 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2232 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2233 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2234 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2235 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2236 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2237 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2238 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2239 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2240 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2241 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2242 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2243 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2244 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2245 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2246 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2247 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2248 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2249 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2250 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2251 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2252 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2253 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2254 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2255 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2256 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2257 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2258 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2259 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2260 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2261 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2262 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2263 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2264 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2265 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2266 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2267 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2268 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2269 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2270 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2271 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2272 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2273 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2274 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2275 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2276 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2277 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2278 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2279 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2280 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2281 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2282 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2283 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2284 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2285 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2286 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2287 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2288 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2289 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2290 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2291 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2292 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2293 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2294 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2295 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2296 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2297 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2298 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2299 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2300 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2301 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2302 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2303 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2304 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2305 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2306 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2307 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2308 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2309 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2310 * sysdeps/ieee754/s_lib_version.c: Likewise.
2311 * sysdeps/ieee754/s_matherr.c: Likewise.
2312 * sysdeps/ieee754/s_signgam.c: Likewise.
2313 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2314 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2315 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2316 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2317 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2318 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2319 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2320 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2321 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2322 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2323 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2324 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2325 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2326 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2327 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2328 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2329 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2330 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2331 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2332 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2333 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2334
2335 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2336
2337 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2338 * sunrpc/rpc_main.c: Likewise.
2339 * sunrpc/rpc_svcout.c: Likewise.
2340
2341 2012-03-09 David S. Miller <davem@davemloft.net>
2342
2343 * include/math_private.h: New file.
2344
2345 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2346
2347 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2348 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2349 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2350 from <bits/socket_type.h>.
2351 (enum __socket_type): Don't define here.
2352 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2353 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2354 bits/socket_type.h.
2355
2356 [BZ #13566]
2357 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2358 checking __USE_GNU.
2359
2360 * Makerules ($(inst_includedir)/%.h): New rule.
2361 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2362 (install-others): Remove variable setting.
2363 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2364
2365 2012-03-08 Richard Henderson <rth@twiddle.net>
2366
2367 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2368 from macro to inline function; merge with the
2369 !__LIBC_INTERNAL_MATH_INLINES version.
2370 (__ieee754_sqrtf): Likewise.
2371
2372 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2373 to inline function.
2374 (__rintf, __floor, __floorf): Likewise.
2375
2376 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2377 macro to inline function.
2378 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2379
2380 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2381 not <math/math_private.h>.
2382
2383 2012-03-08 David S. Miller <davem@davemloft.net>
2384
2385 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2386 copyright year.
2387 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2388
2389 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2390
2391 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2392 normalization.
2393 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2394 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2395
2396 2012-03-08 Ulrich Drepper <drepper@gmail.com>
2397
2398 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2399 be defined individually, they must be defined as a block. Define
2400 S for printing a string instead of hidint the different by using a
2401 macro for adding the 'l'.
2402 * stdio-common/tst-fphex-wide.c: Adjust.
2403
2404 2012-03-07 Marek Polacek <polacek@redhat.com>
2405
2406 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2407
2408 2012-03-08 Marek Polacek <polacek@redhat.com>
2409
2410 [BZ #13806]
2411 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2412 * stdio-common/tst-fphex.c: Define a few macros to make the
2413 test reusable. Use them.
2414 * stdio-common/tst-fphex-wide.c: New file.
2415
2416 2012-03-08 Joseph Myers <joseph@codesourcery.com>
2417
2418 [BZ #6911]
2419 * manual/macros.texi (gnusystems): New macro.
2420 (nongnusystems): Likewise.
2421 (gnulinuxhurdsystems): Likewise.
2422 (gnuhurdsystems): Likewise..
2423 (gnulinuxsystems): Likewise.
2424 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2425 variants of the GNU system, not "GNU system".
2426 * manual/conf.texi: Likewise.
2427 * manual/errno.texi: Likewise. Update example of errno macro
2428 expansion.
2429 * manual/filesys.texi: Likewise.
2430 (getumask): Document as specific to GNU/Hurd.
2431 * manual/install.texi: Likewise. Reword some references to
2432 GNU/Linux.
2433 * manual/intro.texi: Likewise.
2434 * manual/io.texi: Likewise.
2435 (File Name Portability): Detail which constraints are inapplicable
2436 to all GNU systems and which are only inapplicable to GNU/Hurd.
2437 * manual/job.texi: Likewise.
2438 * manual/llio.texi: Likewise.
2439 (O_NOCTTY): Document as present on GNU/Linux.
2440 * manual/maint.texi: Likewise.
2441 * manual/memory.texi: Likewise.
2442 * manual/pattern.texi: Likewise.
2443 * manual/pipe.texi: Likewise.
2444 * manual/process.texi: Likewise.
2445 * manual/resource.texi: Likewise.
2446 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2447 child on GNU/Hurd.
2448 * manual/setjmp.texi: Likewise.
2449 * manual/signal.texi: Likewise.
2450 * manual/startup.texi: Likewise.
2451 * manual/stdio.texi: Likewise.
2452 * manual/terminal.texi: Likewise.
2453 (ONLCR): Document as POSIX.
2454 (OXTABS): Document availability on GNU/Linux as XTABS.
2455 (ONOEOT): Document availability separately from other bits.
2456 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2457 * manual/time.texi: Likewise.
2458 * manual/users.texi: Likewise.
2459 * INSTALL: Regenerated.
2460 * sysdeps/gnu/errlist.c: Regenerated.
2461
2462 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2463 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2464 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2465 puts.
2466 * configure: Regenerated.
2467
2468 2012-03-07 Joseph Myers <joseph@codesourcery.com>
2469
2470 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2471 default includes instead of AC_HEADER_CHECK.
2472 * sysdeps/i386/configure: Regenerated.
2473
2474 [BZ #10716]
2475 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2476 * math/s_cacoshf.c (__cacoshf): Likewise.
2477 * math/s_cacoshl.c (__cacoshl): Likewise.
2478 * math/s_casinh.c (__casinh): Set signs of result from argument.
2479 * math/s_casinhf.c (__casinhf): Likewise.
2480 * math/s_casinhl.c (__casinhl): Likewise.
2481 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2482 (casinh_test): Add more tests.
2483 * sysdeps/i386/fpu/libm-test-ulps: Update.
2484 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2485
2486 2012-03-07 Ulrich Drepper <drepper@gmail.com>
2487
2488 * po/zh_TW.po: Update from translation team.
2489
2490 * login/Makefile (distribute): Remove variable.
2491 * catgets/Makefile: Likewise.
2492 * mach/Makefile: Likewise.
2493 * malloc/Makefile: Likewise.
2494 * misc/Makefile: Likewise.
2495 * iconv/Makefile: Likewise.
2496 * nscd/Makefile: Likewise.
2497 * hurd/Makefile: Likewise.
2498 * manual/Makefile: Likewise.
2499 * locale/Makefile: Likewise.
2500 * intl/Makefile: Likewise.
2501 * conform/Makefile: Likewise.
2502 * nss/Makefile: Likewise.
2503 * time/Makefile: Likewise.
2504 * soft-fp/Makefile: Likewise.
2505 * dirent/Makefile: Likewise.
2506 * gmon/Makefile: Likewise.
2507 * po/Makefile: Likewise.
2508 * rt/Makefile: Likewise.
2509 * socket/Makefile: Likewise.
2510 * math/Makefile: Likewise.
2511 * signal/Makefile: Likewise.
2512 * debug/Makefile: Likewise.
2513 * elf/Makefile: Likewise.
2514 * timezone/Makefile: Likewise.
2515 * stdlib/Makefile: Likewise.
2516 * iconvdata/Makefile: Likewise.
2517 * sunrpc/Makefile: Likewise.
2518 * io/Makefile: Likewise.
2519 * argp/Makefile: Likewise.
2520 * inet/Makefile: Likewise.
2521 * hesiod/Makefile: Likewise.
2522 * grp/Makefile: Likewise.
2523 * csu/Makefile: Likewise.
2524 * wctype/Makefile: Likewise.
2525 * crypt/Makefile: Likewise.
2526 * libio/Makefile: Likewise.
2527 * string/Makefile: Likewise.
2528 * nis/Makefile: Likewise.
2529 * resolv/Makefile: Likewise.
2530 * stdio-common/Makefile: Likewise.
2531 * wcsmbs/Makefile: Likewise.
2532 * dlfcn/Makefile: Likewise.
2533 * posix/Makefile: Likewise.
2534
2535 * timezone/Makefile: Don't install timezone files, just the programs
2536 and scripts.
2537
2538 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2539
2540 * nss/databases.def: Add missing gshadow entry.
2541
2542 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2543
2544 2012-03-06 Marek Polacek <polacek@redhat.com>
2545
2546 [BZ #13726]
2547 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2548 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2549 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2550 * stdio-common/tst-long-dbl-fphex.c: New file.
2551
2552 2012-03-06 David S. Miller <davem@davemloft.net>
2553
2554 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2555 (set_obp_int): New function.
2556 (get_obp_int): New function.
2557 (__get_clockfreq_via_dev_openprom): Likewise.
2558 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2559 Avoid unused variable warnings on 'val' and use builtin_expect.
2560 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2561 __builtin_expect.
2562 (INLINE_CLONE_SYSCALL): Likewise.
2563
2564 2012-03-05 David S. Miller <davem@davemloft.net>
2565
2566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2567
2568 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2569
2570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2571
2572 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2573 only for |x| >= 40.
2574 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2575
2576 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2577
2578 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2579 Replace gettimeofday with __vdso_gettimeofday.
2580
2581 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2582 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2583 __vdso_clock_gettime and __vdso_getcpu.
2584
2585 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2586 time with __vdso_time.
2587
2588 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2589
2590 * manual/lang.texi (size_t): Note types to which size_t may be
2591 equivalent with the GNU C Library, but do not describe when
2592 differences between them are significant.
2593
2594 2012-03-05 Andreas Jaeger <aj@suse.de>
2595
2596 * sysdeps/i386/fpu/libm-test-ulps: Update.
2597
2598 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2599
2600 [BZ #3976]
2601 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2602 (__ieee754_pow): Save and restore rounding mode and use
2603 round-to-nearest for main computations.
2604 * math/libm-test.inc (pow_test_tonearest): New function.
2605 (pow_test_towardzero): Likewise.
2606 (pow_test_downward): Likewise.
2607 (pow_test_upward): Likewise.
2608 (main): Call the new functions.
2609 * sysdeps/i386/fpu/libm-test-ulps: Update.
2610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2611
2612 [BZ #3976]
2613 * math/libm-test.inc (cosh_test_tonearest): New function.
2614 (cosh_test_towardzero): Likewise.
2615 (cosh_test_downward): Likewise.
2616 (cosh_test_upward): Likewise.
2617 (sinh_test_tonearest): Likewise.
2618 (sinh_test_towardzero): Likewise.
2619 (sinh_test_downward): Likewise.
2620 (sinh_test_upward): Likewise.
2621 (main): Call the new functions.
2622 * sysdeps/i386/fpu/libm-test-ulps: Update.
2623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2624
2625 2012-03-05 Tom de Vries <tom@codesourcery.com>
2626
2627 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2628 default stack guard is set in last bytes.
2629 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2630
2631 2012-03-05 Kees Cook <keescook@chromium.org>
2632
2633 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2634
2635 [BZ #13656]
2636 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2637 possibly allocate from heap instead of stack.
2638 * stdio-common/bug-vfprintf-nargs.c: New file.
2639 * stdio-common/Makefile (tests): Add nargs overflow test.
2640
2641 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2642
2643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2644
2645 2012-03-03 Marek Polacek <polacek@redhat.com>
2646
2647 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2648 * math/math_private.h: Likewise.
2649 * stdlib/tst-strtod.c: Likewise.
2650 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2651 * sysdeps/x86_64/bits/atomic.h: Likewise.
2652
2653 2012-03-02 David S. Miller <davem@davemloft.net>
2654
2655 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2656 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2657 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2659 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2660 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2661 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2662 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2663
2664 2012-03-02 Roland McGrath <roland@hack.frob.com>
2665
2666 [BZ #13792]
2667 * manual/examples/README: New file, says the example source files
2668 can be used under GPL>=2.
2669 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2670 line containing just "*/".
2671 * manual/examples/add.c: Add copyright header (GPL>=2).
2672 * manual/examples/argp-ex1.c: Likewise.
2673 * manual/examples/argp-ex2.c: Likewise.
2674 * manual/examples/argp-ex3.c: Likewise.
2675 * manual/examples/argp-ex4.c: Likewise.
2676 * manual/examples/atexit.c: Likewise.
2677 * manual/examples/db.c: Likewise.
2678 * manual/examples/dir.c: Likewise.
2679 * manual/examples/dir2.c: Likewise.
2680 * manual/examples/execinfo.c: Likewise.
2681 * manual/examples/filecli.c: Likewise.
2682 * manual/examples/filesrv.c: Likewise.
2683 * manual/examples/fmtmsgexpl.c: Likewise.
2684 * manual/examples/genpass.c: Likewise.
2685 * manual/examples/inetcli.c: Likewise.
2686 * manual/examples/inetsrv.c: Likewise.
2687 * manual/examples/isockad.c: Likewise.
2688 * manual/examples/longopt.c: Likewise.
2689 * manual/examples/memopen.c: Likewise.
2690 * manual/examples/memstrm.c: Likewise.
2691 * manual/examples/mkfsock.c: Likewise.
2692 * manual/examples/mkisock.c: Likewise.
2693 * manual/examples/mygetpass.c: Likewise.
2694 * manual/examples/pipe.c: Likewise.
2695 * manual/examples/popen.c: Likewise.
2696 * manual/examples/rprintf.c: Likewise.
2697 * manual/examples/search.c: Likewise.
2698 * manual/examples/select.c: Likewise.
2699 * manual/examples/setjmp.c: Likewise.
2700 * manual/examples/sigh1.c: Likewise.
2701 * manual/examples/sigusr.c: Likewise.
2702 * manual/examples/stpcpy.c: Likewise.
2703 * manual/examples/strdupa.c: Likewise.
2704 * manual/examples/strftim.c: Likewise.
2705 * manual/examples/strncat.c: Likewise.
2706 * manual/examples/subopt.c: Likewise.
2707 * manual/examples/swapcontext.c: Likewise.
2708 * manual/examples/termios.c: Likewise.
2709 * manual/examples/testopt.c: Likewise.
2710 * manual/examples/testpass.c: Likewise.
2711 * manual/examples/timeval_subtract.c: Likewise.
2712
2713 [BZ #13792]
2714 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2715 function to ...
2716 * manual/timeval_subtract.c.texi: ... here, new file.
2717
2718 2012-03-02 David S. Miller <davem@davemloft.net>
2719
2720 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2721
2722 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2723
2724 [BZ #3976]
2725 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2726 (__sin): Save and restore rounding mode and use round-to-nearest
2727 for all computations.
2728 (__cos): Save and restore rounding mode and use round-to-nearest
2729 for all computations.
2730 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2731 <fenv.h>.
2732 (tan): Save and restore rounding mode and use round-to-nearest for
2733 all computations.
2734 * math/libm-test.inc (cos_test_tonearest): New function.
2735 (cos_test_towardzero): Likewise.
2736 (cos_test_downward): Likewise.
2737 (cos_test_upward): Likewise.
2738 (sin_test_tonearest): Likewise.
2739 (sin_test_towardzero): Likewise.
2740 (sin_test_downward): Likewise.
2741 (sin_test_upward): Likewise.
2742 (tan_test_tonearest): Likewise.
2743 (tan_test_towardzero): Likewise.
2744 (tan_test_downward): Likewise.
2745 (tan_test_upward): Likewise.
2746 (main): Call the new functions.
2747 * sysdeps/i386/fpu/libm-test-ulps: Update.
2748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2749
2750 [BZ #10135]
2751 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2752 small n, then large n, before computing and testing k+n.
2753 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2754 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2755 Likewise.
2756 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2757 Likewise.
2758 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2759 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2760 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2761 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2762 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2763 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2764 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2765 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2766 * math/libm-test.inc (scalbn_test): Add more tests.
2767 (scalbln_test): Likewise.
2768
2769 * manual/filesys.texi (mode_t): Describe constraints on size and
2770 signedness, not exact equivalence to a particular type.
2771 (ino_t): Likewise.
2772 (ino64_t): Likewise.
2773 (dev_t): Likewise.
2774 (nlink_t): Likewise.
2775 (blkcnt_t): Likewise.
2776 (blkcnt64_t): Likewise.
2777 * manual/llio.texi (off_t): Likewise.
2778
2779 [BZ #3976]
2780 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2781 (__ieee754_exp): Save and restore rounding mode and use
2782 round-to-nearest for all computations.
2783 * math/libm-test.inc (exp_test_tonearest): New function.
2784 (exp_test_towardzero): Likewise.
2785 (exp_test_downward): Likewise.
2786 (exp_test_upward): Likewise.
2787 (main): Call the new functions.
2788 * sysdeps/i386/fpu/libm-test-ulps: Update.
2789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2790
2791 2012-03-01 Chris Demetriou <cgd@google.com>
2792
2793 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2794 have predictable order.
2795
2796 2012-03-01 David S. Miller <davem@davemloft.net>
2797
2798 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2799
2800 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2801 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2802 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2803 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2804
2805 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2806 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2807 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2809 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2810 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2811 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2812 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2813 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2814
2815 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2816
2817 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2818 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2819 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2820
2821 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2822 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2823 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2824 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2825 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2826 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2827 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2828 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2829 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2830 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2831 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2832 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2833 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2834 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2835 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2836 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2837 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2838 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2839 * sysdeps/sparc/elf/configure: Regenerated.
2840
2841 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2842
2843 * configure.in (AS, LD): Require binutils 2.20 or later.
2844 * configure: Regenerated.
2845 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2846 as required minimum version.
2847 * INSTALL: Regenerated.
2848
2849 [BZ #2541]
2850 [BZ #4108]
2851 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2852 before squaring exponent.
2853 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2854 bottom long double and 27 bits of top long double before squaring
2855 exponent.
2856 * math/libm-test.inc (erfc_test): Add more tests.
2857 * sysdeps/i386/fpu/libm-test-ulps: Update.
2858 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2860
2861 2012-03-01 Kai Tietz <ktietz@redhat.com>
2862
2863 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2864 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2865 containing bit-fields.
2866 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2867 * soft-fp/single.h (_FP_UNION_S): Likewise.
2868 * soft-fp/double.h (_FP_UNION_D): Likewise.
2869
2870 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2871
2872 [BZ #13786]
2873 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2874 not include ../strcmp.S.
2875 [USE_AS_STRNCASECMP_L]: Likewise.
2876 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2877 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2878 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2879 (__strncasecmp_l_ia32): Define as alias to
2880 __strncasecmp_l_nonascii.
2881
2882 [BZ #5794]
2883 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2884 * sysdeps/i386/fpu/libm-test-ulps: Update.
2885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2886
2887 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2889
2890 2012-02-29 Jeff Law <law@redhat.com>
2891
2892 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2893 out of bounds read.
2894
2895 2012-02-29 Marek Polacek <polacek@redhat.com>
2896
2897 [BZ #13706]
2898 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2899 * elf/Makefile: Add rules to run tst-unused-dep.out.
2900
2901 2012-02-28 David S. Miller <davem@davemloft.net>
2902
2903 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2904 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2905 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2906 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2907 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2908 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2909
2910 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2911
2912 * math/libm-test.inc (llround_test): Move one test from
2913 lround_test. Use TEST_f_L in moved test.
2914 (lround_test): Move misplaced test to llround_test. Add testcase
2915 from bug 2561.
2916
2917 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2918
2919 * sysdeps/x86_64/fpu/e_expf.S: New file.
2920 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2921
2922 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2923
2924 [BZ #13637]
2925 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2926 of remain_len that may cause incomplete multi-byte character and
2927 false match.
2928 * posix/bug-regex33.c: New file.
2929 * posix/Makefile (tests): Add bug-regex33.
2930
2931 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2932
2933 * manual/macros.texi: New file.
2934 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2935 * manual/libc.texinfo: Include macros.texi.
2936 * manual/creatute.texi: Likewise.
2937 * manual/install.texi: Likewise.
2938 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2939 @glibcadj{} in references to the GNU C Library.
2940 * manual/charset.texi: Likewise.
2941 * manual/conf.texi: Likewise.
2942 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2943 when not using those macros.
2944 * manual/creature.texi: Likewise.
2945 * manual/crypt.texi: Likewise.
2946 * manual/errno.texi: Likewise.
2947 * manual/filesys.texi: Likewise.
2948 * manual/header.texi: Likewise.
2949 * manual/install.texi: Likewise.
2950 * manual/intro.texi: Likewise.
2951 * manual/io.texi: Likewise.
2952 * manual/job.texi: Likewise.
2953 * manual/lang.texi: Likewise.
2954 * manual/libc.texiinfo: Likewise.
2955 * manual/llio.texi: Likewise.
2956 * manual/locale.texi: Likewise.
2957 * manual/maint.texi: Likewise.
2958 * manual/math.texi: Likewise.
2959 * manual/memory.texi: Likewise.
2960 * manual/message.texi: Likewise.
2961 * manual/nss.texi: Likewise.
2962 * manual/pattern.texi: Likewise.
2963 * manual/process.texi: Likewise.
2964 * manual/resource.texi: Likewise.
2965 * manual/search.texi: Likewise.
2966 * manual/setjmp.texi: Likewise.
2967 * manual/signal.texi: Likewise.
2968 * manual/socket.texi: Likewise.
2969 * manual/startup.texi: Likewise.
2970 * manual/stdio.texi: Likewise.
2971 * manual/string.texi: Likewise.
2972 * manual/sysinfo.texi: Likewise.
2973 * manual/syslog.texi: Likewise.
2974 * manual/terminal.texi: Likewise.
2975 * manual/time.texi: Likewise.
2976 * manual/users.texi: Likewise.
2977 * INSTALL: Regenerated.
2978 * NOTES: Regenerated.
2979 * sysdeps/gnu/errlist.c: Regenerated.
2980
2981 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2982
2983 * include/dirent.h: Include <dirstream.h> before
2984 <dirent/dirent.h>.
2985
2986 2012-02-28 David S. Miller <davem@davemloft.net>
2987
2988 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2989 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2990 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2991 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2992
2993 2012-02-27 David S. Miller <davem@davemloft.net>
2994
2995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2997 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2998 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2999
3000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3001 frame pointer instead of stack pointer relative arg slot.
3002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3003 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3004 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3005
3006 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3007
3008 [BZ #3992]
3009 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3010
3011 2012-02-27 David S. Miller <davem@davemloft.net>
3012
3013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3017 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3018 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3019 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3020 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3021
3022 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3023
3024 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3025 later. Allow versions 5-9.
3026 * configure: Regenerated.
3027 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3028 required minimum version and 4.6 as recommended version. Do not
3029 mention bugs in GCC 2.7 and 2.8.
3030 * INSTALL: Regenerated.
3031
3032 2012-02-27 David S. Miller <davem@davemloft.net>
3033
3034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3036 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3037 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3038 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3039 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3040 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3041 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3042
3043 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3044 manipulate bits before adding and subtracting TWO112[sx].
3045 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3046
3047 2012-02-27 Roland McGrath <roland@hack.frob.com>
3048
3049 [BZ #13775]
3050 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3051 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3052 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3053 being in POSIX, because they are in 1003.1-2008.
3054
3055 * rt/tst-aio.c: Include <fcntl.h>.
3056 * rt/tst-aio7.c: Likewise.
3057 * rt/tst-aio64.c: Likewise.
3058
3059 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3060
3061 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3062
3063 * manual/install.texi (--with-headers): Describe headers as
3064 interface headers, not private headers.
3065 (Specific advice for GNU/Linux systems): Describe use of headers
3066 from "make headers_install", not private headers from older
3067 kernels.
3068 * INSTALL: Regenerated.
3069 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3070 Change to 2.6.19.
3071 * sysdeps/unix/sysv/linux/configure: Regenerated.
3072
3073 * manual/llio.texi (fclean): Remove documentation.
3074
3075 * manual/Makefile (libc-texi-generated): New variable. Include
3076 version.texi.
3077 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3078 $(libc-texi-generated), not duplicated list of files.
3079 (version.texi, stamp-version): New rules.
3080 (realclean): Remove $(libc-texi-generated), not individual files
3081 from that list. Do not remove dir-add.texinfo.
3082 * manual/libc.texinfo: Comment out uses of edition numbers and
3083 references to printed manual. Remove last-updated dates.
3084 (EDITION): Comment out.
3085 (ISBN): Likewise.
3086 (VERSION, UPDATED): Remove.
3087 (version.texi): Include.
3088
3089 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3090
3091 * sysdeps/posix/spawni.c: Include <signal.h>.
3092 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3093 * sysdeps/pthread/aio_fsync.c: Likewise.
3094
3095 2012-02-26 Ulrich Drepper <drepper@gmail.com>
3096
3097 * conform/Makefile (tests): Run only when not cross-compiling and
3098 when fast-check is not defined.
3099
3100 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3101 * conform/data/limits.h-data: Fixes for POSIX2008.
3102 * conform/run-conformtest.sh: Run all tests.
3103 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3104 headers.
3105 * include/bits/dlfcn.h: Likewise.
3106 * include/langinfo.h: Likewise.
3107 * include/monetary.h: Likewise.
3108 * include/sys/poll.h: Likewise.
3109
3110 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3111 for __USE_GNU.
3112 * posix/spawn.h: Define __need_sigset_t.
3113 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3114 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3115 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3116 to get sigevent_t only.
3117 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3118 only for __USE_GNU.
3119 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3120 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3121 process_vm_writev only for __USE_GNU.
3122 * termios/termios.h: Declare tcgetsid also for POSIX2008.
3123
3124 * conform/Makefile: For now ignore errors from run-conformtest.
3125 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3126 POSIX to avoid namespace pollution. Don't prepend headers.
3127 * conform/data/aio.h-data: Fixes for POSIX testing.
3128 * conform/data/fcntl.h-data: Likewise.
3129 * conform/data/glob.h-data: Likewise.
3130 * conform/data/grp.h-data: Likewise.
3131 * conform/data/pthread.h-data: Likewise.
3132 * conform/data/pwd.h-data: Likewise.
3133 * conform/data/signal.h-data: Likewise.
3134 * conform/data/spawn.h-data: Likewise.
3135 * conform/data/stdio.h-data: Likewise.
3136 * conform/data/stdlib.h-data: Likewise.
3137 * conform/data/stropts.h-data: Likewise.
3138 * conform/data/sys/mman.h-data: Likewise.
3139 * conform/data/sys/stat.h-data: Likewise.
3140 * conform/data/sys/types.h-data: Likewise.
3141 * conform/data/sys/wait.h-data: Likewise.
3142 * conform/data/time.h-data: Likewise.
3143 * conform/data/unistd.h-data: Likewise.
3144 * conform/data/utime.h-data: Likewise.
3145
3146 * io/sys/stat.h: fchmod was always in POSIX.
3147 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3148 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3149 * rt/aio.h: Define __need_timespec before including <time.h>.
3150 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3151 struct. Add forward declaration of pthread_attr_t and use it in
3152 sigevent.
3153 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3154 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3155 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3156 always remove CLK_TCK definition.
3157
3158 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3159
3160 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3161
3162 2012-02-25 Ulrich Drepper <drepper@gmail.com>
3163
3164 * conform/run-conformtest.sh: New file.
3165 * conform/Makefile: Run run-conformtest for tests.
3166 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3167 support.
3168
3169 * conform/data/uchar.h-data: New file.
3170 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3171 * conform/data/arpa/inet.h-data: Likewise.
3172 * conform/data/assert.h-data: Likewise.
3173 * conform/data/complex.h-data: Likewise.
3174 * conform/data/cpio.h-data: Likewise.
3175 * conform/data/ctype.h-data: Likewise.
3176 * conform/data/dirent.h-data: Likewise.
3177 * conform/data/dlfcn.h-data: Likewise.
3178 * conform/data/errno.h-data: Likewise.
3179 * conform/data/fcntl.h-data: Likewise.
3180 * conform/data/float.h-data: Likewise.
3181 * conform/data/fmtmsg.h-data: Likewise.
3182 * conform/data/fnmatch.h-data: Likewise.
3183 * conform/data/ftw.h-data: Likewise.
3184 * conform/data/glob.h-data: Likewise.
3185 * conform/data/grp.h-data: Likewise.
3186 * conform/data/iconv.h-data: Likewise.
3187 * conform/data/inttypes.h-data: Likewise.
3188 * conform/data/langinfo.h-data: Likewise.
3189 * conform/data/libgen.h-data: Likewise.
3190 * conform/data/limits.h-data: Likewise.
3191 * conform/data/locale.h-data: Likewise.
3192 * conform/data/math.h-data: Likewise.
3193 * conform/data/monetary.h-data: Likewise.
3194 * conform/data/mqueue.h-data: Likewise.
3195 * conform/data/ndbm.h-data: Likewise.
3196 * conform/data/net/if.h-data: Likewise.
3197 * conform/data/netdb.h-data: Likewise.
3198 * conform/data/netinet/in.h-data: Likewise.
3199 * conform/data/nl_types.h-data: Likewise.
3200 * conform/data/poll.h-data: Likewise.
3201 * conform/data/pthread.h-data: Likewise.
3202 * conform/data/pwd.h-data: Likewise.
3203 * conform/data/regex.h-data: Likewise.
3204 * conform/data/sched.h-data: Likewise.
3205 * conform/data/search.h-data: Likewise.
3206 * conform/data/semaphore.h-data: Likewise.
3207 * conform/data/setjmp.h-data: Likewise.
3208 * conform/data/signal.h-data: Likewise.
3209 * conform/data/spawn.h-data: Likewise.
3210 * conform/data/stdarg.h-data: Likewise.
3211 * conform/data/stdio.h-data: Likewise.
3212 * conform/data/stdlib.h-data: Likewise.
3213 * conform/data/string.h-data: Likewise.
3214 * conform/data/strings.h-data: Likewise.
3215 * conform/data/stropts.h-data: Likewise.
3216 * conform/data/sys/ipc.h-data: Likewise.
3217 * conform/data/sys/mman.h-data: Likewise.
3218 * conform/data/sys/msg.h-data: Likewise.
3219 * conform/data/sys/resource.h-data: Likewise.
3220 * conform/data/sys/select.h-data: Likewise.
3221 * conform/data/sys/sem.h-data: Likewise.
3222 * conform/data/sys/shm.h-data: Likewise.
3223 * conform/data/sys/socket.h-data: Likewise.
3224 * conform/data/sys/stat.h-data: Likewise.
3225 * conform/data/sys/statvfs.h-data: Likewise.
3226 * conform/data/sys/time.h-data: Likewise.
3227 * conform/data/sys/timeb.h-data: Likewise.
3228 * conform/data/sys/times.h-data: Likewise.
3229 * conform/data/sys/types.h-data: Likewise.
3230 * conform/data/sys/uio.h-data: Likewise.
3231 * conform/data/sys/un.h-data: Likewise.
3232 * conform/data/sys/utsname.h-data: Likewise.
3233 * conform/data/sys/wait.h-data: Likewise.
3234 * conform/data/syslog.h-data: Likewise.
3235 * conform/data/tar.h-data: Likewise.
3236 * conform/data/termios.h-data: Likewise.
3237 * conform/data/utime.h-data: Likewise.
3238 * conform/data/utmpx.h-data: Likewise.
3239 * conform/data/varargs.h-data: Likewise.
3240 * conform/data/wchar.h-data: Likewise.
3241 * conform/data/wctype.h-data: Likewise.
3242 * conform/data/wordexp.h-data: Likewise.
3243
3244 * include/stropts.h: New file.
3245 * include/uchar.h: New file.
3246 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3247 * include/assert.h: Likewise.
3248 * include/ctype.h: Likewise.
3249 * include/dirent.h: Likewise.
3250 * include/dlfcn.h: Likewise.
3251 * include/fcntl.h: Likewise.
3252 * include/fnmatch.h: Likewise.
3253 * include/glob.h: Likewise.
3254 * include/grp.h: Likewise.
3255 * include/libio.h: Likewise.
3256 * include/locale.h: Likewise.
3257 * include/math.h: Likewise.
3258 * include/net/if.h: Likewise.
3259 * include/netdb.h: Likewise.
3260 * include/netinet/in.h: Likewise.
3261 * include/pthread.h: Likewise.
3262 * include/pwd.h: Likewise.
3263 * include/regex.h: Likewise.
3264 * include/sched.h: Likewise.
3265 * include/search.h: Likewise.
3266 * include/setjmp.h: Likewise.
3267 * include/signal.h: Likewise.
3268 * include/stdio.h: Likewise.
3269 * include/stdlib.h: Likewise.
3270 * include/string.h: Likewise.
3271 * include/sys/cdefs.h: Likewise.
3272 * include/sys/mman.h: Likewise.
3273 * include/sys/msg.h: Likewise.
3274 * include/sys/resource.h: Likewise.
3275 * include/sys/select.h: Likewise.
3276 * include/sys/socket.h: Likewise.
3277 * include/sys/stat.h: Likewise.
3278 * include/sys/statvfs.h: Likewise.
3279 * include/sys/time.h: Likewise.
3280 * include/sys/times.h: Likewise.
3281 * include/sys/uio.h: Likewise.
3282 * include/sys/utsname.h: Likewise.
3283 * include/sys/wait.h: Likewise.
3284 * include/termios.h: Likewise.
3285 * include/time.h: Likewise.
3286 * include/ulimit.h: Likewise.
3287 * include/unistd.h: Likewise.
3288 * include/utime.h: Likewise.
3289 * include/wchar.h: Likewise.
3290 * include/wctype.h: Likewise.
3291 * include/wordexp.h: Likewise.
3292
3293 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3294
3295 * time/time.h: TIME_UTC must be a macro.
3296 Make timespec_get available for ISO C11 only as well.
3297
3298 2012-02-24 Ulrich Drepper <drepper@gmail.com>
3299
3300 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3301 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3302
3303 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3304
3305 * configure.in: Use -o not -a in test for unsupported multi-arch.
3306
3307 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3308
3309 * manual/texinfo.tex: Update to version 2012-01-19.16.
3310
3311 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3312
3313 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3314
3315 2012-02-24 Roland McGrath <roland@hack.frob.com>
3316
3317 [BZ #13738]
3318 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3319 * manual/fdl-1.3.texi: New file.
3320 * manual/fdl-1.1.texi: File removed.
3321
3322 [BZ #13738]
3323 * manual/libc.texinfo (FDL_VERSION): New @set.
3324 Use it for mention of FDL in cover text.
3325 (Documentation License): Use it in @include file name.
3326
3327 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3328 Roland McGrath <roland@hack.frob.com>
3329
3330 [BZ #5461]
3331 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3332 not LONG_LONG_MAX and LONG_LONG_MIN.
3333 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3334 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3335 name.
3336 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3337
3338 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3339
3340 [BZ #2547]
3341 [BZ #11365]
3342 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3343 manipulate bits before adding and subtracting TWO23[sx].
3344 * math/libm-test.inc (nearbyint_test): Add more tests.
3345
3346 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3347
3348 [BZ #2548]
3349 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3350 bits before adding and subtracting TWO23[sx].
3351 * math/libm-test.inc (rint_test): Add more tests.
3352 (rint_test_tonearest): Likewise.
3353 (rint_test_towardzero): Likewise.
3354 (rint_test_downward): Likewise.
3355 (rint_test_upward: Likewise.
3356
3357 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3358
3359 [BZ #10110]
3360 * include/stdc-predef.h: New file. Extracted from features.h.
3361 * include/features.h: Include stdc-predef.h.
3362 * Makefile (headers): Add stdc-predef.h.
3363 * CONFORMANCE (Compiler limitations): Update.
3364
3365 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3366
3367 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3368
3369 2012-02-21 David S. Miller <davem@davemloft.net>
3370
3371 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3372 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3373
3374 2012-02-20 David S. Miller <davem@davemloft.net>
3375
3376 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3377 using a normal save/restore sequence, rather than allocating a
3378 dummy stack frame just to store a frame pointer and restore.
3379 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3380
3381 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3382
3383 * manual/install.texi: Fix stray word in line-wrapped comment.
3384
3385 2012-02-20 David S. Miller <davem@davemloft.net>
3386
3387 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3388 both binutils and gcc support GOTDATA.
3389
3390 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3391 "rd %pc" in the PIC register setup sequences.
3392
3393 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3394 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3395 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3396 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3397 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3398 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3399 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3400 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3401 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3402 (SYSCALL_ERROR_HANDLER): Likewise.
3403 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3404 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3405 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3406 (SYSCALL_ERROR_HANDLER): Likewise.
3407
3408 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3409 (HAVE_GCC_GOTDATA): New.
3410 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3411 relocation support in both binutils and gcc.
3412 * sysdeps/sparc/elf/configure: Regenerate.
3413
3414 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3415 * sysdeps/sparc/sparc32/elf/configure: Delete.
3416 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3417 * sysdeps/sparc/sparc64/elf/configure: Delete.
3418 * sysdeps/sparc/elf/configure.in: New file.
3419 * sysdeps/sparc/elf/configure: Generate.
3420
3421 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3422 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3423 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3424 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3425 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3426
3427 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3428
3429 * manual/install.texi: Do not mention specific glibc version
3430 numbers.
3431 * manual/libc.texinfo (VERSION, UPDATED): Update.
3432 (@copying): Use @copyright{} and range of years.
3433
3434 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3435
3436 [BZ #13695]
3437 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3438 [crti.S not in sysdirs] (generated): Do not append.
3439 [crti.S not in sysdirs] (omit-deps): Likewise.
3440 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3441 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3442 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3443 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3444 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3445 Likewise.
3446 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3447 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3448 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3449 * csu/defs.awk: Remove file.
3450 * sysdeps/generic/initfini.c: Likewise.
3451 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3452 variable.
3453 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3454 Likewise.
3455
3456 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3457
3458 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3459 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3460 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3461 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3462 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3463 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3464 <bits/epoll.h>.
3465 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3466 (__EPOLL_PACKED): Define to empty if not defined by
3467 <bits/epoll.h>.
3468 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3469 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3470 bits/epoll.h.
3471
3472 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3473
3474 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3475 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3476 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3477 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3478 <bits/timerfd.h>.
3479 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3480 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3481 bits/timerfd.h.
3482
3483 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3484
3485 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3486 in C locale.
3487 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3488 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3489 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3491
3492 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3493
3494 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3495 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3496
3497 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3498
3499 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3500 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3501 defined.
3502 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3503 Likewise.
3504 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3505 entry for 2.16.
3506
3507 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3508
3509 * math/w_acos.c: Use non-signaling floating-point comparisons.
3510 * math/w_acosf.c: Likewise.
3511 * math/w_acosh.c: Likewise.
3512 * math/w_acoshf.c: Likewise.
3513 * math/w_acoshl.c: Likewise.
3514 * math/w_acosl.c: Likewise.
3515 * math/w_asin.c: Likewise.
3516 * math/w_asinf.c: Likewise.
3517 * math/w_asinl.c: Likewise.
3518 * math/w_atanh.c: Likewise.
3519 * math/w_atanhf.c: Likewise.
3520 * math/w_atanhl.c: Likewise.
3521 * math/w_exp2.c: Likewise.
3522 * math/w_exp2f.c: Likewise.
3523 * math/w_exp2l.c: Likewise.
3524 * math/w_j0.c: Likewise.
3525 * math/w_j0f.c: Likewise.
3526 * math/w_j0l.c: Likewise.
3527 * math/w_j1.c: Likewise.
3528 * math/w_j1f.c: Likewise.
3529 * math/w_j1l.c: Likewise.
3530 * math/w_jn.c: Likewise.
3531 * math/w_jnf.c: Likewise.
3532 * math/w_log.c: Likewise.
3533 * math/w_log10.c: Likewise.
3534 * math/w_log10f.c: Likewise.
3535 * math/w_log10l.c: Likewise.
3536 * math/w_log2.c: Likewise.
3537 * math/w_log2f.c: Likewise.
3538 * math/w_log2l.c: Likewise.
3539 * math/w_logf.c: Likewise.
3540 * math/w_logl.c: Likewise.
3541 * math/w_sqrt.c: Likewise.
3542 * math/w_sqrtf.c: Likewise.
3543 * math/w_sqrtl.c: Likewise.
3544 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3545 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3546 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3547 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3548 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3549
3550 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3551
3552 [BZ #9739]
3553 * manual/string.texi (strnlen): Use correct parameter name in
3554 equivalent expression.
3555
3556 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3557
3558 [BZ #11174]
3559 * manual/users.texi (seteuid): Consistently use neweuid for
3560 argument name.
3561
3562 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3563
3564 [BZ #13704]
3565 * manual/nss.texi (Services in the NSS configuration): Correct
3566 list of services in example configuration file.
3567
3568 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3569
3570 [BZ #11322]
3571 * manual/arith.texi: Remove statements about negative zero
3572 behaving identically to zero.
3573
3574 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3575
3576 [BZ #5993]
3577 * manual/install.texi: Do not document upgrading from libc5.
3578
3579 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3580
3581 [BZ #4596]
3582 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3583
3584 2012-02-18 David S. Miller <davem@davemloft.net>
3585
3586 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3587 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3588 %o7 across the call.
3589 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3590 instead.
3591 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3592 SETUP_PIC_REG_LEAF.
3593 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3594 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3595 * sysdeps/sparc/crtn.S: Likewise.
3596
3597 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3598
3599 * aout/Makefile: Remove.
3600
3601 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3602
3603 [BZ #13058]
3604 * manual/examples/argp-ex1.c (main): Format definition in GNU
3605 style.
3606 * manual/examples/argp-ex2.c (main): Likewise.
3607 * manual/examples/argp-ex3.c (main): Likewise.
3608 * manual/examples/argp-ex4.c (main): Likewise.
3609 * manual/examples/longopt.c (main): Use new-style prototype
3610 definition.
3611 * manual/examples/strncat.c (main): Specify return type and use
3612 (void) for arguments.
3613 * manual/examples/subopt.c (main): Use char **argv argument.
3614
3615 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3616
3617 [BZ #5077]
3618 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3619 rounding modes.
3620
3621 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3622
3623 [BZ #6907]
3624 * manual/string.texi (strchr): Change when strchrnul is
3625 recommended.
3626
3627 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3628
3629 [BZ #174]
3630 * manual/locale.texi (setlocale): Document LOCPATH.
3631
3632 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3633
3634 [BZ #10210]
3635 * manual/process.texi (execle): Move @dots{} before last argument.
3636
3637 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3638
3639 [BZ #12047]
3640 * manual/charset.texi (Generic Charset Conversion): Fix typo
3641 (LC_TYPE -> LC_CTYPE).
3642
3643 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3644
3645 [BZ #5805]
3646 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3647 (scalbnf): Likewise.
3648 (scalbnl): Likewise.
3649 (scalbln): Likewise.
3650 (scalblnf): Likewise.
3651 (scalblnl): Likewise.
3652 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3653 (vwarnx): Likewise.
3654 (verr): Likewise.
3655 (verrx): Likewise.
3656 * manual/filesys.texi (telldir): Use braces around return type.
3657 * manual/llio.texi (mmap): Add space after comma.
3658 (mmap64): Likewise.
3659 * manual/math.texi (jn): Use @var{} on parameter names.
3660 (jnf): Likewise.
3661 (jnl): Likewise.
3662 (yn): Likewise.
3663 (ynf): Likewise.
3664 (ynl): Likewise.
3665 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3666 line.
3667 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3668 "...".
3669 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3670 (sched_get_priority_max): Likewise.
3671 * manual/signal.texi (sigvec): Add space after comma.
3672 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3673 names.
3674 (if_indextoname): Likewise.
3675 (if_freenameindex): Likewise.
3676 (sendto): Use ',' instead of '.' in prototype.
3677 * manual/startup.texi (syscall): Use @dots{} instead of literal
3678 "...".
3679 * manual/stdio.texi (__fpending): Separate initial words of
3680 paragraph from @deftypefun line.
3681 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3682 "...".
3683 (vsyslog): Use @var{} on parameter names.
3684 * manual/terminal.texi (stty): Use @var{} on parameter names.
3685 * manual/users.texi (getutmp): Use @var{} on parameter names.
3686 (getutmpx): Likewise.
3687
3688 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3689
3690 [BZ #6884]
3691 * manual/stdio.texi (fopen): Fix typos in description of
3692 ",ccs=STRING".
3693
3694 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3695
3696 [BZ #4026]
3697 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3698 get clock_id definition.
3699
3700 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3701
3702 [BZ #4822]
3703 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3704 (madvise): Cast every argument to void on its own.
3705
3706 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3707
3708 [BZ #9902]
3709 * manual/startup.texi (Exit Status): Fix typo.
3710
3711 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3712
3713 [BZ #10140]
3714 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3715 * manual/examples/argp-ex2.c: Likewise.
3716 * manual/examples/argp-ex3.c: Likewise.
3717
3718 2012-02-16 Richard Henderson <rth@redhat.com>
3719
3720 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3721 * sysdeps/s390/s390-32/initfini.c: Remove.
3722 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3723 * sysdeps/s390/s390-64/initfini.c: Remove.
3724
3725 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3726
3727 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3728 compiler output for sysdeps/generic/initfini.c.
3729 * sysdeps/sh/elf/initfini.c: Remove file.
3730
3731 2012-02-16 David S. Miller <davem@davemloft.net>
3732
3733 [BZ #11494]
3734 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3735
3736 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3737 * sysdeps/sparc/crti.S: New file.
3738 * sysdeps/sparc/crtn.S: New file.
3739 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3740 * sysdeps/sparc/sparc64/Makefile: Likewise.
3741
3742 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3743
3744 [BZ #3335]
3745 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3746
3747 2012-02-15 Roland McGrath <roland@hack.frob.com>
3748
3749 [BZ #4822]
3750 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3751
3752 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3753 (write, read, close): Likewise.
3754 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3755
3756 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3757
3758 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3759 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3760 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3761 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3762 <bits/signalfd.h>.
3763 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3764 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3765 bits/signalfd.h.
3766
3767 2012-02-14 Marek Polacek <polacek@redhat.com>
3768
3769 * sysdeps/x86_64/crti.S: New file.
3770 * sysdeps/x86_64/crtn.S: New file.
3771 * sysdeps/x86_64/elf/initfini.c: Remove file.
3772
3773 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3774
3775 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3776 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3777 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3778 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3779 <bits/inotify.h>.
3780 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3781 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3782 bits/inotify.h.
3783
3784 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3785
3786 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3787 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3788 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3789 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3790 <bits/eventfd.h>.
3791 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3793 bits/eventfd.h.
3794
3795 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3796
3797 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3798 __feraiseexcept instead of feraiseexcept.
3799
3800 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3801 nanosleep invocations.
3802 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3803 strings, and add error checking for a nanosleep invocations.
3804
3805 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3806
3807 Replace FSF snail mail address with URLs, as per GNU coding standards.
3808 Most of the snail mail addresses were wrong anyway, and omitting
3809 them makes the source code easier to maintain. Almost all of the
3810 changes are to license notices and to locale LC_IDENTIFICATION
3811 addresses, except for this one:
3812 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3813 not its snail mail address.
3814
3815 2012-02-09 Richard Henderson <rth@twiddle.net>
3816
3817 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3818 of kernel-features.h.
3819
3820 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3821
3822 2012-02-08 Marek Polacek <polacek@redhat.com>
3823
3824 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3825 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3826 * sysdeps/gnu/_G_config.h: Likewise.
3827 * sysdeps/generic/_G_config.h: Likewise.
3828
3829 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3830
3831 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3832 tests.
3833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3834
3835 * sysdeps/powerpc/powerpc32/crti.S: New file.
3836 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3837 * sysdeps/powerpc/powerpc64/crti.S: New file.
3838 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3839
3840 * Makeconfig (have-initfini): Don't set.
3841 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3842 * configure.in (nopic_initfini): Don't substitute.
3843 * config.h.in (HAVE_INITFINI): Don't #undef.
3844 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3845 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3846
3847 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3848
3849 Support crti.S and crtn.S provided directly by architectures.
3850 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3851 [crti.S in sysdirs] (omit-deps): Likewise.
3852 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3853 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3854 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3855 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3856 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3857 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3858 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3859 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3860 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3861 compiler output for sysdeps/generic/initfini.c.
3862 * sysdeps/i386/elf/Makefile: Remove file.
3863 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3864
3865 2012-02-07 Marek Polacek <polacek@redhat.com>
3866
3867 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3868 * sysdeps/gnu/_G_config.h: Likewise.
3869 * sysdeps/mach/hurd/_G_config.h: Likewise.
3870
3871 2012-02-07 Marek Polacek <polacek@redhat.com>
3872
3873 * math/Makefile (tests): Add tst-CMPLX2.
3874 * math/tst-CMPLX2.c: New file.
3875
3876 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3877
3878 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3879
3880 * math/libm-test.inc (jn_test): Add missing L suffix.
3881
3882 2012-02-06 Marek Polacek <polacek@redhat.com>
3883
3884 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3885 * sysdeps/i386/fpu/e_powf.S: Likewise.
3886 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3887 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3888 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3889 * sysdeps/i386/fpu/e_pow.S: Likewise.
3890 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3891 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3892 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3893 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3894 * sysdeps/i386/fpu/e_log2.S: Likewise.
3895 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3896 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3897 * sysdeps/i386/fpu/e_powl.S: Likewise.
3898 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3899 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3900 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3901 * sysdeps/i386/fpu/e_logl.S: Likewise.
3902 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3903 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3904 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3905 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3906 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3907 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3908 * sysdeps/i386/fpu/e_log.S: Likewise.
3909 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3910 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3911 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3912 * sysdeps/i386/fpu/e_logf.S: Likewise.
3913 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3914 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3915 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3916 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3917 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3918 * sysdeps/i386/fpu/e_log10.S: Likewise.
3919 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3920 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3921 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3922 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3923 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3924 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3925 * sysdeps/i386/asm-syntax.h: Likewise.
3926 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3927 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3928 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3929 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3930 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3931 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3932 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3933 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3934 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3935 * sysdeps/powerpc/sysdep.h: Likewise.
3936 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3937 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3938
3939 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3940
3941 [BZ #411]
3942 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3943
3944 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3945
3946 * sysdeps/i386/sysdep.h: Include <features.h>.
3947 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3948 version.
3949
3950 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3951
3952 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3953 Define.
3954 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3955 LOAD_PIC_REG_STR.
3956
3957 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3958
3959 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3960 (SETUP_PIC_REG): Use GET_PC_THUNK.
3961 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3962 macro.
3963
3964 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3965
3966 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3967 for non-PIC compilation.
3968 (SETUP_PIC_REG): Add .p2align directive.
3969 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3970 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3971 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3972 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3973 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3974 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3975 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3976 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3977 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3978 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3979 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3980 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3981 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3982 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3983 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3984 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3985 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3986 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3987 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3988 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3989 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3990 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3991 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3992 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3993 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3994 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3995 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3996 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3997 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3998 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3999 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4000 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4001 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4002 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4003 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4004 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4005 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4006 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4007 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4008 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4009 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4010
4011 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4012
4013 * math/tst-CMPLX.c: Include <stdio.h>.
4014
4015 2012-01-31 Joseph Myers <joseph@codesourcery.com>
4016
4017 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4018 float.
4019 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4020 * sysdeps/sparc/bits/mathdef.h: Likewise.
4021
4022 2012-01-31 Marek Polacek <polacek@redhat.com>
4023
4024 * libio/libio.h: Don't define _PARAMS.
4025 * locale/programs/config.h: Don't define PARAMS.
4026 * stdlib/strtol_l.c: Likewise.
4027 (__strtol_l): Remove PARAMS from the prototype.
4028
4029 2012-01-31 Ulrich Drepper <drepper@gmail.com>
4030
4031 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4032 names. Just use the correct names. Remove unnecessary wrapper
4033 functions.
4034 * malloc/arena.c: Likewise.
4035 * malloc/hooks.c: Likewise.
4036
4037 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4038 ARENA_TEST says not to. Simplify test for creation of a new arena.
4039 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4040
4041 2012-01-30 Ulrich Drepper <drepper@gmail.com>
4042
4043 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4044 into tail calls.
4045 (update_get_addr): New function.
4046 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4047 GET_ADDR_MODULE parameter.
4048
4049 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4050
4051 * crypt/cert.c: Remove __STDC__ conditionals.
4052 * crypt/crypt-entry.c: Likewise.
4053 * crypt/crypt_util.c: Likewise.
4054 * libio/filedoalloc.c: Likewise.
4055 * libio/fileops.c: Likewise.
4056 * libio/genops.c: Likewise.
4057 * libio/iofclose.c: Likewise.
4058 * libio/iofdopen.c: Likewise.
4059 * libio/iofopen.c: Likewise.
4060 * libio/iofopen64.c: Likewise.
4061 * libio/iogetdelim.c: Likewise.
4062 * libio/iopopen.c: Likewise.
4063 * libio/obprintf.c: Likewise.
4064 * libio/oldfileops.c: Likewise.
4065 * libio/oldiofclose.c: Likewise.
4066 * libio/oldiofdopen.c: Likewise.
4067 * libio/oldiofopen.c: Likewise.
4068 * libio/oldiopopen.c: Likewise.
4069 * libio/wfiledoalloc.c: Likewise.
4070 * libio/wgenops.c: Likewise.
4071 * locale/programs/xmalloc.c: Likewise.
4072 * misc/syslog.c: Likewise.
4073 * stdio-common/xbug.c: Likewise.
4074 * string/memchr.c: Likewise.
4075 * string/memcmp.c: Likewise.
4076 * string/memrchr.c: Likewise.
4077 * string/rawmemchr.c: Likewise.
4078 * sysdeps/posix/getcwd.c: Likewise.
4079 * time/strftime_l.c: Likewise.
4080
4081 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4082
4083 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4084 * config.make.in (config-cflags-sse2avx): Define.
4085 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4086 Fix typo.
4087
4088 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4089
4090 * scripts/config.guess: Update from upstream config git repository.
4091 * scripts/config.sub: Likewise.
4092
4093 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4094
4095 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4096 (EM_NUM): Update.
4097 (R_TILEPRO_*, R_TILEGX_*): New macros.
4098
4099 * scripts/firstversions.awk: Fix bug in version range handling.
4100
4101 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4102
4103 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4104
4105 * include/sys/epoll.h: New file.
4106 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4107 libc_hidden_def.
4108
4109 2012-01-28 Ulrich Drepper <drepper@gmail.com>
4110
4111 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4112 Avoid unnecessary __WORDSIZE == 64 test.
4113 (fmaxf): Use VEX format if possible.
4114 (fmax): Likewise.
4115 (fminf): Likewise.
4116 (fmin): Likewise.
4117
4118 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4119 * math/math_private.h: Remove libc_fegetround* and
4120 libc_fesetround*.
4121 * sysdeps/i386/configure.in: Check for -msse2avx.
4122 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4123 also if SSE2AVX is defined.
4124 Remove libc_fegetround* and libc_fesetround*.
4125 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4126 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4127 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4128 of HAS_YMM_USABLE.
4129 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4130 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4131 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4132 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4133 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4134
4135 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4136
4137 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4138
4139 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4140 size is not set.
4141 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4142
4143 2012-01-27 Ulrich Drepper <drepper@gmail.com>
4144
4145 [BZ #13618]
4146 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4147 relocation.
4148 * Makeconfig (libm): Define.
4149 * elf/Makefile: Add rules to build and run tst-relsort1.
4150 * elf/tst-relsort1.c: New file.
4151 * elf/tst-relsort1mod1.c: New file.
4152 * elf/tst-relsort1mod2.c: New file.
4153
4154 2012-01-27 Joseph Myers <joseph@codesourcery.com>
4155
4156 * math/s_ldexp.c: Remove __STDC__ conditionals.
4157 * math/s_ldexpf.c: Likewise.
4158 * math/s_ldexpl.c: Likewise.
4159 * math/s_nextafter.c: Likewise.
4160 * math/s_nexttowardf.c: Likewise.
4161 * math/s_significand.c: Likewise.
4162 * math/s_significandf.c: Likewise.
4163 * math/s_significandl.c: Likewise.
4164 * math/w_jnl.c: Likewise.
4165 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4166 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4167 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4168 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4169 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4170 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4171 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4172 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4173 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4174 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4175 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4176 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4177 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4178 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4179 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4180 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4181 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4182 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4183 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4184 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4185 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4186 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4187 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4188 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4189 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4190 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4191 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4192 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4193 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4194 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4195 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4196 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4197 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4198 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4199 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4200 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4201 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4202 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4203 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4204 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4205 * sysdeps/ieee754/k_standard.c: Likewise.
4206 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4207 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4208 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4209 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4210 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4211 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4212 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4213 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4214 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4215 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4216 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4217 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4218 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4219 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4220 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4221 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4222 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4223 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4224 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4225 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4226 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4227 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4228 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4229 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4230 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4231 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4232 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4233 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4234 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4235 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4236 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4237 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4238 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4239 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4240 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4241 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4242 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4243 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4244 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4245 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4246 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4247 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4248 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4249 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4250 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4251 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4252 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4253 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4254 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4255 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4256 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4257 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4258 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4259 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4260 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4261 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4262 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4263 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4264 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4265 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4266 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4267 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4268 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4269 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4270 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4271 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4272 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4273 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4274 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4275 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4276 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4277 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4278 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4279 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4280 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4281 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4282 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4283 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4284 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4285 * sysdeps/ieee754/s_matherr.c: Likewise.
4286 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4287 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4288 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4289 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4290
4291 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4292
4293 * crypt/md5.h: Remove __STDC__ conditionals.
4294 * libio/libioP.h: Likewise.
4295 * locale/programs/config.h: Likewise.
4296 * sysdeps/generic/sysdep.h: Likewise.
4297 * sysdeps/i386/asm-syntax.h: Likewise.
4298 * sysdeps/s390/asm-syntax.h: Likewise.
4299 * sysdeps/unix/sysdep.h: Likewise.
4300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4302
4303 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4304
4305 * libio/libio.h: Remove __STDC__ conditionals.
4306 * malloc/obstack.h: Likewise.
4307 * math/complex.h: Likewise.
4308 * math/math.h: Likewise.
4309 * sysdeps/generic/_G_config.h: Likewise.
4310 * sysdeps/gnu/_G_config.h: Likewise.
4311 * sysdeps/mach/hurd/_G_config.h: Likewise.
4312 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4313 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4314 * sysdeps/sparc/bits/mathdef.h: Likewise.
4315
4316 2012-01-26 Ulrich Drepper <drepper@gmail.com>
4317
4318 [BZ #13583]
4319 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4320 Clean up HAS_* macros.
4321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4322 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4323 possible.
4324 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4325 HAS_AVX.
4326 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4327 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4328 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4329 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4330 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4331
4332 2012-01-25 Joseph Myers <joseph@codesourcery.com>
4333
4334 * elf/tst-unique3.cc (gets): Remove declaration.
4335 * elf/tst-unique3lib.cc (gets): Likewise.
4336 * elf/tst-unique3lib2.cc (gets): Likewise.
4337 * elf/tst-unique4.cc (gets): Likewise.
4338
4339 2012-01-24 Ulrich Drepper <drepper@gmail.com>
4340
4341 * include/stdio.h: Add C++ protection. Add gets declarations and
4342 definitions.
4343 * debug/tst-chk1.c: Don't declare gets here.
4344 * stdio-common/tst-gets.c: Likewise.
4345
4346 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4347
4348 * posix/glob: Remove directory.
4349
4350 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4351
4352 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4353
4354 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4355
4356 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4357 of the non-standard EPFNOSUPPORT.
4358
4359 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4360
4361 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4362 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4363 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4364
4365 2012-01-21 Ulrich Drepper <drepper@gmail.com>
4366
4367 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4368
4369 2012-01-20 Ulrich Drepper <drepper@gmail.com>
4370
4371 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4372 transient errors.
4373 * nscd/grpcache.c (cache_addgr): Likewise.
4374 * nscd/hstcache.c (cache_addhst): Likewise.
4375 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4376 * nscd/pwdcache.c (cache_addpw): Likewise.
4377 * nscd/servicescache.c (cache_addserv): Likewise.
4378
4379 2012-01-16 Ulrich Drepper <drepper@gmail.com>
4380
4381 * malloc/malloc.c: Various cleanups.
4382 * malloc/hooks.c: Likewise.
4383
4384 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4385 * stdlib/bug-fmtmsg1.c: New file.
4386
4387 * stdlib/fmtmsg.c (init): Add missing unlock.
4388 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4389
4390 2012-01-12 Marek Polacek <polacek@redhat.com>
4391
4392 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4393 and _GNU_SOURCE.
4394
4395 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4396
4397 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4398 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4399 macro to ensure uniqueness of label name.
4400 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4401 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4402
4403 2012-01-11 Ulrich Drepper <drepper@gmail.com>
4404
4405 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4406
4407 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4408 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4409 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4410 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4411
4412 2012-01-10 Ulrich Drepper <drepper@gmail.com>
4413
4414 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4415
4416 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4417 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4418 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4419
4420 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4421
4422 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4423 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4424 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4425 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4426
4427 * math/bits/math-finite.h: Add ldexp support.
4428
4429 2012-01-10 Marek Polacek <polacek@redhat.com>
4430
4431 * locale/programs/localedef.h (show_archive_content): Add noreturn
4432 attribute.
4433
4434 2012-01-09 Ulrich Drepper <drepper@gmail.com>
4435
4436 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4437
4438 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4439
4440 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4441
4442 * io/Makefile (headers): Add bits/poll2.h.
4443
4444 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4445
4446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4447 typo #include statement.
4448
4449 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4450
4451 * include/sys/cdefs.h: Define __attribute_alloc_size.
4452 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4453 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4454 * elf/pldd.c: Likewise.
4455 * iconv/iconv_charmap.c: Likewise.
4456 * iconv/iconvconfig.c: Likewise.
4457 * iconv/strtab.c: Likewise.
4458 * locale/programs/locale.c: Likewise.
4459 * locale/programs/localedef.h: Likewise.
4460 * locale/programs/simple-hash.c: Likewise.
4461 * nscd/nscd.h: Likewise.
4462 * nss/makedb.c: Likewise.
4463 * sysdeps/generic/ldconfig.h: Likewise.
4464 * locale/programs/localedef.c: Remove xmalloc prototype.
4465 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4466
4467 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4468
4469 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4470 appropriate.
4471
4472 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4473
4474 * math/Makefile (tests): Add tst-CMPLX.
4475 * math/tst-CMPLX.c: New file.
4476
4477 * math/complex.h (CMPLXL): Fix typo.
4478
4479 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4480 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4481 GLIBC_2.16.
4482 * debug/tst-chk1.c: Add poll and ppoll tests.
4483 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4484 * include/sys/poll.h: Add hidden proto for ppoll.
4485 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4486 * sysdeps/mach/hurd/ppoll.c: Likewise.
4487 * io/ppoll.c: Likewise.
4488 * debug/poll_chk.c: New file.
4489 * debug/ppoll_chk.c: New file.
4490 * include/bits/poll2.h: New file.
4491 * io/bits/poll2.h: New file.
4492
4493 [BZ #1350]
4494 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4495
4496 * configure.in: static is always set to yes. Remove.
4497 * config.make.in: Don't set build-static.
4498 * Makeconfig: Remove use of build-static.
4499 * dlfcn/Makefile: Likewise.
4500 * elf/Makefile: Likewise.
4501 * math/Makefile: Likewise.
4502 * misc/Makefile: Likewise.
4503 * nptl/Makefile: Likewise.
4504 * sysdeps/mach/hurd/Makefile: Likewise.
4505
4506 * configure.in: PWD_P is not used anymore.
4507 * config.make.in: Remove PWD_P entry.
4508
4509 * configure.in: Remove last remnants of RANLIB.
4510 No need to check for signed size_t anymore.
4511 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4512 and IA-64.
4513 Remove __builtin_expect test because we require at least gcc 3.4.
4514 * aclocal.m4: Likewise.
4515
4516 * wcsmbs/mbrtoc16.c: Implement using towc function.
4517 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4518 * wcsmbs/wcsmbsload.c: Likewise.
4519 * iconv/gconv_simple.c: Likewise.
4520 * iconv/gconv_int.h: Likewise.
4521 * iconv/gconv_builtin.h: Likewise.
4522 * iconv/iconv_prog.c: Remove CHAR16 handling.
4523
4524 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4525
4526 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4527
4528 * configure.in: Remove --with-elf and --enable-bounded options.
4529 Dont set base_machine for ia64. More non-ELF conditions removed.
4530 Remove testing and setting of leading underscore information.
4531 * config.make.in (build-bounded): Set to no.
4532 * config.h.in: Remove NO_UNDERSCORES entry.
4533 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4534 them.
4535 * csu/start.c: Remove !NO_UNDERSCORE code.
4536 * locale/localeinfo.h: Likewise.
4537 * sysdeps/generic/machine-gmon.h: Likewise.
4538 * sysdeps/generic/sysdep.h: Likewise.
4539 * sysdeps/i386/sysdep.h: Likewise.
4540 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4541 * sysdeps/mach/sysdep.h: Likewise.
4542 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4543 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4544 * sysdeps/sh/sysdep.h: Likewise.
4545 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4546 * sysdeps/unix/i386/sysdep.S: Likewise.
4547 * sysdeps/unix/sparc/start.c: Likewise.
4548 * sysdeps/unix/sparc/sysdep.S: Likewise.
4549 * sysdeps/unix/sparc/sysdep.h: Likewise.
4550 * sysdeps/unix/start.c: Likewise.
4551 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4552 * sysdeps/x86_64/sysdep.h: Likewise.
4553
4554 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4555
4556 [BZ #13553]
4557 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4558 for non-gcc.
4559 * argp/argp-fmtstream.h: Use const instead __const.
4560 * argp/argp.h: Likewise.
4561 * assert/assert.h: Likewise.
4562 * bits/fenv.h: Likewise.
4563 * bits/sched.h: Likewise.
4564 * bits/sigset.h: Likewise.
4565 * bits/sigthread.h: Likewise.
4566 * catgets/nl_types.h: Likewise.
4567 * conform/data/pthread.h-data: Likewise.
4568 * crypt/crypt-private.h: Likewise.
4569 * crypt/crypt.h: Likewise.
4570 * crypt/crypt_util.c: Likewise.
4571 * ctype/ctype.h: Likewise.
4572 * debug/execinfo.h: Likewise.
4573 * debug/mbsnrtowcs_chk.c: Likewise.
4574 * debug/mbsrtowcs_chk.c: Likewise.
4575 * debug/wcsnrtombs_chk.c: Likewise.
4576 * debug/wcsrtombs_chk.c: Likewise.
4577 * debug/wcstombs_chk.c: Likewise.
4578 * dirent/dirent.h: Likewise.
4579 * dlfcn/dlfcn.h: Likewise.
4580 * elf/neededtest4.c: Likewise.
4581 * grp/grp.h: Likewise.
4582 * gshadow/gshadow.h: Likewise.
4583 * iconv/gconv.h: Likewise.
4584 * iconv/gconv_int.h: Likewise.
4585 * iconv/gconv_simple.c: Likewise.
4586 * iconv/iconv.h: Likewise.
4587 * iconv/loop.c: Likewise.
4588 * iconv/skeleton.c: Likewise.
4589 * include/aio.h: Likewise.
4590 * include/aliases.h: Likewise.
4591 * include/argz.h: Likewise.
4592 * include/arpa/inet.h: Likewise.
4593 * include/assert.h: Likewise.
4594 * include/dirent.h: Likewise.
4595 * include/dlfcn.h: Likewise.
4596 * include/execinfo.h: Likewise.
4597 * include/fcntl.h: Likewise.
4598 * include/fenv.h: Likewise.
4599 * include/glob.h: Likewise.
4600 * include/grp.h: Likewise.
4601 * include/libintl.h: Likewise.
4602 * include/mntent.h: Likewise.
4603 * include/netdb.h: Likewise.
4604 * include/pwd.h: Likewise.
4605 * include/rpc/netdb.h: Likewise.
4606 * include/sched.h: Likewise.
4607 * include/search.h: Likewise.
4608 * include/shadow.h: Likewise.
4609 * include/signal.h: Likewise.
4610 * include/stdio.h: Likewise.
4611 * include/stdlib.h: Likewise.
4612 * include/string.h: Likewise.
4613 * include/sys/socket.h: Likewise.
4614 * include/sys/stat.h: Likewise.
4615 * include/sys/statfs.h: Likewise.
4616 * include/sys/statvfs.h: Likewise.
4617 * include/sys/syslog.h: Likewise.
4618 * include/sys/time.h: Likewise.
4619 * include/sys/uio.h: Likewise.
4620 * include/time.h: Likewise.
4621 * include/unistd.h: Likewise.
4622 * include/utmp.h: Likewise.
4623 * include/wchar.h: Likewise.
4624 * include/wctype.h: Likewise.
4625 * inet/aliases.h: Likewise.
4626 * inet/arpa/inet.h: Likewise.
4627 * inet/netinet/ether.h: Likewise.
4628 * inet/netinet/in.h: Likewise.
4629 * intl/libintl.h: Likewise.
4630 * io/bits/fcntl2.h: Likewise.
4631 * io/fcntl.h: Likewise.
4632 * io/ftw.h: Likewise.
4633 * io/sys/poll.h: Likewise.
4634 * io/sys/stat.h: Likewise.
4635 * io/sys/statfs.h: Likewise.
4636 * io/sys/statvfs.h: Likewise.
4637 * io/utime.h: Likewise.
4638 * libio/bits/stdio.h: Likewise.
4639 * libio/bits/stdio2.h: Likewise.
4640 * libio/libio.h: Likewise.
4641 * libio/libioP.h: Likewise.
4642 * libio/stdio.h: Likewise.
4643 * locale/lc-ctype.c: Likewise.
4644 * locale/locale.h: Likewise.
4645 * login/utmp.h: Likewise.
4646 * malloc/arena.c: Likewise.
4647 * malloc/malloc.c: Likewise.
4648 * malloc/malloc.h: Likewise.
4649 * malloc/mcheck.c: Likewise.
4650 * malloc/mtrace.c: Likewise.
4651 * math/bits/mathcalls.h: Likewise.
4652 * math/fenv.h: Likewise.
4653 * math/math_private.h: Likewise.
4654 * misc/bits/error.h: Likewise.
4655 * misc/bits/syslog.h: Likewise.
4656 * misc/err.h: Likewise.
4657 * misc/error.h: Likewise.
4658 * misc/fstab.h: Likewise.
4659 * misc/mntent.h: Likewise.
4660 * misc/regexp.h: Likewise.
4661 * misc/search.h: Likewise.
4662 * misc/sgtty.h: Likewise.
4663 * misc/sys/mman.h: Likewise.
4664 * misc/sys/syslog.h: Likewise.
4665 * misc/sys/uio.h: Likewise.
4666 * misc/sys/xattr.h: Likewise.
4667 * misc/ttyent.h: Likewise.
4668 * nis/rpcsvc/ypclnt.h: Likewise.
4669 * nss/nss.h: Likewise.
4670 * posix/bits/unistd.h: Likewise.
4671 * posix/fnmatch.h: Likewise.
4672 * posix/glob.h: Likewise.
4673 * posix/sched.h: Likewise.
4674 * posix/spawn.h: Likewise.
4675 * posix/sys/wait.h: Likewise.
4676 * posix/unistd.h: Likewise.
4677 * posix/wordexp.h: Likewise.
4678 * pwd/pwd.h: Likewise.
4679 * resolv/netdb.h: Likewise.
4680 * resource/sys/resource.h: Likewise.
4681 * rt/aio.h: Likewise.
4682 * rt/bits/mqueue2.h: Likewise.
4683 * rt/mqueue.h: Likewise.
4684 * shadow/shadow.h: Likewise.
4685 * signal/signal.h: Likewise.
4686 * socket/send.c: Likewise.
4687 * socket/sendto.c: Likewise.
4688 * socket/sys/socket.h: Likewise.
4689 * stdio-common/printf.h: Likewise.
4690 * stdlib/bits/stdlib.h: Likewise.
4691 * stdlib/fmtmsg.h: Likewise.
4692 * stdlib/monetary.h: Likewise.
4693 * stdlib/stdlib.h: Likewise.
4694 * stdlib/ucontext.h: Likewise.
4695 * streams/stropts.h: Likewise.
4696 * string/argz.h: Likewise.
4697 * string/bits/string2.h: Likewise.
4698 * string/string.h: Likewise.
4699 * string/strings.h: Likewise.
4700 * sunrpc/rpc/auth.h: Likewise.
4701 * sunrpc/rpc/auth_des.h: Likewise.
4702 * sunrpc/rpc/clnt.h: Likewise.
4703 * sunrpc/rpc/netdb.h: Likewise.
4704 * sunrpc/rpc/pmap_clnt.h: Likewise.
4705 * sunrpc/rpc/xdr.h: Likewise.
4706 * sysdeps/generic/inttypes.h: Likewise.
4707 * sysdeps/generic/net/if.h: Likewise.
4708 * sysdeps/generic/sys/swap.h: Likewise.
4709 * sysdeps/gnu/net/if.h: Likewise.
4710 * sysdeps/gnu/utmpx.h: Likewise.
4711 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4712 * sysdeps/i386/i486/bits/string.h: Likewise.
4713 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4714 * sysdeps/s390/bits/string.h: Likewise.
4715 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4716 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4717 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4718 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4719 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4720 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4721 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4722 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4723 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4724 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4725 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4726 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4727 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4728 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4729 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4730 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4731 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4732 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4733 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4734 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4735 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4736 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4737 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4738 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4739 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4740 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4741 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4742 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4743 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4744 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4745 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4746 * sysvipc/sys/ipc.h: Likewise.
4747 * sysvipc/sys/msg.h: Likewise.
4748 * sysvipc/sys/sem.h: Likewise.
4749 * sysvipc/sys/shm.h: Likewise.
4750 * termios/termios.h: Likewise.
4751 * time/sys/time.h: Likewise.
4752 * time/time.h: Likewise.
4753 * wcsmbs/bits/wchar2.h: Likewise.
4754 * wcsmbs/uchar.h: Likewise.
4755 * wcsmbs/wchar.h: Likewise.
4756 * wctype/wctype.h: Likewise.
4757
4758 [BZ #13551]
4759 * Makeconfig: Remove all but ELF support including AIX support.
4760 * Makerules: Likewise.
4761 * config.h.in: Likewise.
4762 * config.make.in: Likewise.
4763 * configure: Likewise.
4764 * configure.in: Likewise.
4765 * csu/Makefile: Likewise.
4766 * csu/version.c: Likewise.
4767 * debug/Makefile: Likewise.
4768 * dlfcn/Makefile: Likewise.
4769 * elf/Makefile: Likewise.
4770 * extra-lib.mk: Likewise.
4771 * iconv/Makefile: Likewise.
4772 * include/libc-symbols.h: Likewise.
4773 * include/shlib-compat.h: Likewise.
4774 * resolv/Makefile: Likewise.
4775 * resolv/res_libc.c: Likewise.
4776 * rt/Makefile: Likewise.
4777 * sysdeps/i386/asm-syntax.h: Likewise.
4778 * sysdeps/i386/sysdep.h: Likewise.
4779 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4780 * sysdeps/mach/sysdep.h: Likewise.
4781 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4782 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4783 * sysdeps/s390/asm-syntax.h: Likewise.
4784 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4785 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4786 * sysdeps/sh/sysdep.h: Likewise.
4787 * sysdeps/unix/sparc/sysdep.h: Likewise.
4788 * sysdeps/wordsize-32/divdi3.c: Likewise.
4789 * sysdeps/x86_64/sysdep.h: Likewise.
4790
4791 * argp/Versions: Remove _argp_unlock_xxx.
4792
4793 [BZ #13559]
4794 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4795 * abilist/libBrokenLocale.abilist: Likewise.
4796 * abilist/libanl.abilist: Likewise.
4797 * abilist/libc.abilist: Likewise.
4798 * abilist/libcrypt.abilist: Likewise.
4799 * abilist/libdl.abilist: Likewise.
4800 * abilist/libm.abilist: Likewise.
4801 * abilist/libnsl.abilist: Likewise.
4802 * abilist/libpthread.abilist: Likewise.
4803 * abilist/libresolv.abilist: Likewise.
4804 * abilist/librt.abilist: Likewise.
4805 * abilist/libthread_db.abilist: Likewise.
4806 * abilist/libutil.abilist: Likewise.
4807 * abilist/libnss_db.abilist: New file.
4808
4809 * scripts/abilist.awk: Add support for indirect functions.
4810
4811 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4812
4813 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4814
4815 * shlib-versions: Remove entries for ports architectures.
4816
4817 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4818 files in ports.
4819 * elf/stackguard-macros.h: Remove support for IA-64.
4820 * elf/tst-auditmod1.c: Likewise.
4821 * sysdeps/generic/ldsodefs.h: Likewise.
4822
4823 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4824 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4825 configure files.
4826
4827 [BZ #13552]
4828 * configure.in: Remove --enable-omitfp support.
4829 * FAQ.in: Adjust.
4830 * config.make.in: Likewise.
4831 * Makeconfig: Likewise.
4832 * manual/install.texi: Likewise.
4833
4834 In case anyone cares, the IA-64 architecture could move to ports.
4835 * sysdeps/ia64/*: Removed.
4836 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4837 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4838
4839 [BZ #13555]
4840 * configure.in: Remove entries for unsupported architectures.
4841
4842 [BZ #13533]
4843 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4844 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4845 routines.
4846 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4847 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4848 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4849 fall back to using wcrtomb.
4850 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4851 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4852 renaming.
4853 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4854 * wcsmbs/tst-c16c32-1.c: New file.
4855
4856 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4857 local variable.
4858
4859 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4860
4861 * elf/tst-unique3.cc: Add explicit declaration of gets.
4862 * elf/tst-unique3lib.cc: Likewise.
4863 * elf/tst-unique3lib2.cc: Likewise.
4864 * elf/tst-unique4.cc: Likewise.
4865
4866 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4867
4868 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4869
4870 [BZ #13566]
4871 * assert/assert.h (static_assert): Don't define for C++.
4872 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4873 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4874
4875 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4876
4877 * iconv/loop.c (single loop): Fix assertion in storing of
4878 remaining bytes.
4879
4880 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4881
4882 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4883
4884 * posix/getconf.c: Update copyright year.
4885 * nss/getent.c: Likewise.
4886 * nss/makedb.c: Likewise.
4887 * iconv/iconvconfig.c: Likewise.
4888 * iconv/iconv_prog.c: Likewise.
4889 * elf/ldconfig.c: Likewise.
4890 * elf/pldd.c: Likewise.
4891 * elf/sotruss.ksh: Likewise.
4892 * catgets/gencat.c: Likewise.
4893 * csu/version.c: Likewise.
4894 * elf/ldd.bash.in: Likewise.
4895 * elf/sprof.c (print_version): Likewise.
4896 * locale/programs/locale.c: Likewise.
4897 * locale/programs/localedef.c: Likewise.
4898 * login/programs/pt_chown.c: Likewise.
4899 * nscd/nscd.c (print_version): Likewise.
4900 * debug/xtrace.sh: Likewise.
4901 * malloc/memusage.sh: Likewise.
4902 * malloc/mtrace.pl: Likewise.
4903 * debug/catchsegv.sh: Likewise.
4904
4905 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4906
4907 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4908 pure attribute.
4909
4910 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4911
4912 [BZ #13533]
4913 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4914 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4915 transformations.
4916 * iconv/gconv_int.h: Likewise.
4917 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4918 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4919 from libc for GLIBC_2.16.
4920 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4921 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4922 * wcsmbs/uchar.h: Really define mbstate_t.
4923 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4924 * wcsmbs/c16rtomb.c: New file.
4925 * wcsmbs/mbrtoc16.c: New file.
4926 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4927 for C/POSIX locale.
4928 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4929 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4930
4931 * wcsmbs/wchar.h: Add missing __restrict.
4932
4933 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4934
4935 [BZ #13532]
4936 * time/Makefile (routines): Add timespec_get.
4937 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4938 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4939 timespec for ISO C11.
4940 * time/timespec_get.c: New file.
4941 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4942 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4943
4944 [BZ #13531]
4945 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4946 * stdlib/stdlib.h: Declare aligned_alloc.
4947 * Versions.def: Add GLIBC_2.16 for libc.
4948 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4949
4950 [BZ 13527]
4951 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4952 ISO C11.
4953
4954 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4955 code.
4956
4957 [BZ #13528]
4958 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4959
4960 [BZ #13529]
4961 * assert/assert.h (static_assert): Define.
4962
4963 * version.h: Update for 2.16 development version.
4964
4965 [BZ #13526]
4966 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4967 _ISOC11_SOURCE.
4968
4969 * version.h (RELEASE): Bump for 2.15 release.
4970 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4971
4972 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4973 Patch by Marek Polacek <mpolacek@redhat.com>.
4974
4975 * bits/byteswap.h: Protect long long constants with __extension__.
4976 * sysdeps/i386/bits/byteswap.h: Likewise.
4977 * sysdeps/ia64/bits/byteswap.h: Likewise.
4978 * sysdeps/s390/bits/byteswap.h: Likewise.
4979 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4980
4981 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4982
4983 [BZ #13540]
4984 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4985 destination buffer.
4986 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4987
4988 2011-12-23 Marek Polacek <polacek@redhat.com>
4989
4990 * elf/dl-addr.c (determine_info): Add inline keyword.
4991 * elf/tst-auditmod4b.c (check_avx): Likewise.
4992 * elf/tst-auditmod6b.c (check_avx): Likewise.
4993 * elf/tst-auditmod6c.c (check_avx): Likewise.
4994 * elf/tst-auditmod7b.c (check_avx): Likewise.
4995
4996 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4997
4998 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4999 !__SSE_MATH__.
5000
5001 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5002
5003 [BZ #13540]
5004 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5005 processing for last bytes.
5006
5007 2011-08-06 Bruno Haible <bruno@clisp.org>
5008
5009 [BZ #13061]
5010 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5011 U+0385, not to U+1FEE.
5012
5013 [BZ #13062]
5014 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5015 entry for U+00A5 U+0301.
5016
5017 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5018
5019 [BZ #13166]
5020 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5021 buffer for the output is too small.
5022
5023 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5024 optimization.
5025
5026 [BZ #13185]
5027 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5028 SSE flags if possible.
5029
5030 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5031
5032 [BZ #13540]
5033 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5034 processing for last bytes.
5035
5036 2011-12-22 Joseph Myers <joseph@codesourcery.com>
5037
5038 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5039 (syscall-list-default-options, syscall-list-default-condition)
5040 (syscall-list-includes): Define.
5041 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5042 list of ABIs and options and #if conditions for each ABI. Do not
5043 handle common syscalls between ABIs specially.
5044 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5045 Remove.
5046 (syscall-list-variants, syscall-list-32bit-options)
5047 (syscall-list-32bit-condition, syscall-list-64bit-options)
5048 (syscall-list-64bit-condition): Define.
5049 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5050 (syscall-list-variants, syscall-list-32bit-options)
5051 (syscall-list-32bit-condition, syscall-list-64bit-options)
5052 (syscall-list-64bit-condition): Define.
5053 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5054 Remove.
5055 (syscall-list-variants, syscall-list-32bit-options)
5056 (syscall-list-32bit-condition, syscall-list-64bit-options)
5057 (syscall-list-64bit-condition): Define.
5058 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5059 Remove.
5060 (syscall-list-variants, syscall-list-32bit-options)
5061 (syscall-list-32bit-condition, syscall-list-64bit-options)
5062 (syscall-list-64bit-condition): Define.
5063
5064 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5065
5066 * locale/iso-639.def: Add brx entry.
5067
5068 [BZ #13328]
5069 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5070 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5071
5072 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5073 __feraiseexcept_renamed.
5074
5075 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5076
5077 [BZ #13538]
5078 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5079 EPOLLET with unsigned values.
5080 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5081 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5082
5083 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5084 to large cancellation.
5085 * math/s_cacoshf.c: Likewise.
5086 * math/s_cacoshl.c: Likewise.
5087
5088 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5089
5090 [BZ #13305]
5091 [BZ #12786]
5092 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5093 * math/s_cacoshf.c: Likewise.
5094 * math/s_cacoshl.c: Likewise.
5095
5096 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5097
5098 [BZ #13439]
5099 * iconv/gconv.h: Define __GCONV_SWAP.
5100 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5101 * iconvdata/utf-16.c: Likewise.
5102 * iconvdata/utf-32.c: Likewise.
5103
5104 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5105
5106 [BZ #13524]
5107 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5108 numerator after shifting it by one limb.
5109
5110 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5111
5112 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5113 under [__USE_EXTERN_INLINES].
5114
5115 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5116
5117 [BZ #13446]
5118 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5119
5120 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5121
5122 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5123 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5124 optimized code.
5125 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5126 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5127 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5128 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5129 for strncasecmp/strncasecmp_l compilation.
5130 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5131 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5132
5133 2011-12-08 Marek Polacek <mpolacek@redhat.com>
5134
5135 [BZ #13484]
5136 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5137 of __asm__.
5138
5139 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5140
5141 [BZ #13506]
5142 * time/tzfile.c (__tzfile_read): Check values from file header.
5143
5144 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5145
5146 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5147 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5148 * powerpc/powerpc32/dl-start.S: Likewise.
5149 * powerpc/powerpc32/elf/start.S: Likewise.
5150 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5151 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5152 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5153 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5154 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5155 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5156 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5157 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5158 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5159 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5160 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5161 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5162 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5163 * powerpc/powerpc32/memset.S: Likewise.
5164 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5165 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5166 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5167 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5168 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5169 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5170 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5171 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5172 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5173 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5174 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5175 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5176 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5177
5178 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5179
5180 * math/libm-test.inc: Added more nearbyint tests.
5181 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5182 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5183 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5184 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5185
5186 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5187
5188 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5189 FD_CLOEXEC.
5190
5191 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5192
5193 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5194 Add wcscpy-ssse3 wcscpy-c.
5195 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5196 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5197 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5198 * sysdeps/x86_64/wcschr.S: New file.
5199 * sysdeps/x86_64/wcsrchr.S: New file.
5200 * string/test-strcmp.c: Remove checking of wcscmp function for
5201 wrong alignments.
5202 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5203 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5204 wcsrchr-sse2 wcsrchr-c.
5205 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5206 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5207 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5208 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5209 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5210 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5211 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5212 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5213 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5214 * wcsmbc/wcschr.c (WCSCHR): New macro.
5215
5216 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5217
5218 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5219 * wcsmbs/test-wcsrchr.c: New file.
5220 * string/test-strrchr.c: Add wcsrchr support.
5221 (WIDE): New macro.
5222 * wcsmbs/test-wcscpy.c: New file.
5223 * string/test-strcpy.c: Add wcscpy support.
5224 (WIDE): New macro.
5225
5226 2011-12-10 Ulrich Drepper <drepper@gmail.com>
5227
5228 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5229 the inner loop.
5230
5231 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5232
5233 [BZ #13472]
5234 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5235
5236 2011-12-04 Ulrich Drepper <drepper@gmail.com>
5237
5238 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5239 Minor optimizations.
5240
5241 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5242 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5243 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5244
5245 2011-12-03 Ulrich Drepper <drepper@gmail.com>
5246
5247 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5248 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5249 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5250 for gcc to avoid warnings.
5251 * inet/Makefile (tests): Add tst-checks.
5252 * inet/tst-checks.c: New file.
5253
5254 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5255 warning.
5256
5257 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5258 __wmemcmp_sse2.
5259
5260 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5261 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5262
5263 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5264
5265 2011-12-02 Ulrich Drepper <drepper@gmail.com>
5266
5267 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5268 problem.
5269
5270 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5271
5272 2011-11-29 Joseph Myers <joseph@codesourcery.com>
5273
5274 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5275 conditional on GCC version.
5276 (__arch_compare_and_exchange_val_8_acq)
5277 (__arch_compare_and_exchange_val_16_acq)
5278 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5279 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5280 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5281
5282 2011-12-02 Joseph Myers <joseph@codesourcery.com>
5283
5284 * sysdeps/sh/backtrace.c: New file.
5285
5286 2011-12-02 Andreas Schwab <schwab@redhat.com>
5287
5288 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5289 parenthesis.
5290
5291 2011-12-01 Andreas Schwab <schwab@redhat.com>
5292
5293 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5294 falling back to utime.
5295
5296 2011-11-30 Andreas Schwab <schwab@redhat.com>
5297
5298 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5299 expectations for float.
5300
5301 2011-11-29 Andreas Schwab <schwab@redhat.com>
5302
5303 * locale/weight.h (findidx): Add parameter len.
5304 * locale/weightwc.h (findidx): Likewise.
5305 * posix/fnmatch_loop.c (FCT): Adjust caller.
5306 * posix/regcomp.c (build_equiv_class): Likewise.
5307 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5308 * posix/regexec.c (check_node_accept_bytes): Likewise.
5309 * string/strcoll_l.c (STRCOLL): Likewise.
5310 * string/strxfrm_l.c (STRXFRM): Likewise.
5311
5312 2011-11-17 Ulrich Drepper <drepper@gmail.com>
5313
5314 * Makefile.in: Remove CVSOPT handling.
5315 * configure.in: Remove use of AC_REVISION.
5316 * iconvdata/Makefile (distribute): No need to filter out CVS.
5317 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5318 handling.
5319
5320 2011-11-16 Andreas Schwab <schwab@redhat.com>
5321
5322 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5323 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5324 [USE_AS_STRNCASECMP_L]: Likewise.
5325 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5326 NO_TLS_DIRECT_SEG_REFS.
5327 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5328 Fix argument offsets for non-PIC.
5329 [USE_AS_STRNCASECMP_L]: Likewise.
5330 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5331 NO_TLS_DIRECT_SEG_REFS.
5332
5333 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5334
5335 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5336 O_CLOEXEC.
5337 * locale/loadlocale.c (_nl_load_locale): Likewise.
5338
5339 2011-11-15 Andreas Schwab <schwab@redhat.com>
5340
5341 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5342 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5343 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5344 (SYSCALL_GETTIME): Set errno on error.
5345
5346 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5347 count references to noai6ai_cached.
5348
5349 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5350
5351 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5352
5353 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5354 FD_CLOEXEC for /proc/self/maps.
5355
5356 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5357 FD_CLOEXEC for /proc/meminfo.
5358
5359 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5360 gai.conf.
5361
5362 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5363 FD_CLOEXEC for given file.
5364
5365 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5366
5367 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5368 FD_CLOEXEC for /etc/hosts.
5369 (_gethtent): Likewise.
5370
5371 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5372
5373 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5374 cancellation and set FD_CLOEXEC for /etc/netgroup.
5375
5376 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5377 reading /etc/publickey.
5378
5379 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5380 allow cancellation when reading /etc/group.
5381
5382 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5383 cancellation.
5384 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5385
5386 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5387 when using data file.
5388
5389 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5390
5391 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5392 (write_nis_obj): Use "c" and "e" in fopen.
5393
5394 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5395
5396 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5397
5398 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5399
5400 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5401
5402 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5403 locale.alias.
5404
5405 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5406
5407 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5408
5409 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5410
5411 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5412 file parsing and set FD_CLOEXEC.
5413
5414 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5415
5416 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5417
5418 2011-11-14 Andreas Schwab <schwab@redhat.com>
5419
5420 * malloc/arena.c (arena_get2): Don't call reused_arena when
5421 _int_new_arena failed.
5422
5423 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5424
5425 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5426 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5427 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5428 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5429 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5430 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5431 to compile strcasecmp and strncasecmp.
5432 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5433 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5434
5435 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5436
5437 2011-11-13 Ulrich Drepper <drepper@gmail.com>
5438
5439 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5440 locale-defines.sym to gen-as-const-headers.
5441 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5442 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5443 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5444 to compile strcasecmp and strncasecmp.
5445 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5446 strcasecmp_l and strncasecmp_l.
5447 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5448 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5449 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5450 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5451 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5452 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5453 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5454 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5455 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5456 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5457 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5458
5459 2011-11-12 Ulrich Drepper <drepper@gmail.com>
5460
5461 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5462 result of SYSDEP_GETTIME_CPU to retval.
5463 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5464 parameter list to macro. Remove trailing semicolon. Adjust users.
5465
5466 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5467 variable.
5468
5469 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5470 mantissa words.
5471 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5472
5473 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5474 from unused variable.
5475
5476 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5477 DWARF definitions.
5478 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5479 for assembling.
5480
5481 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5482 over namespaces.
5483
5484 * sunrpc/rpc_prot.c (rejected): Fix case value.
5485
5486 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5487 unsigned long long int to avoid warnings in shift.
5488
5489 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5490 of use of trans.
5491 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5492 variable tmp.
5493
5494 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5495 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5496 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5497
5498 * nis/nis_table.c (nis_list): Use variable of correct type for
5499 result of __follow_path call.
5500
5501 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5502
5503 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5504 of math functions ceil, trunc, floor, round, and sqrt, when
5505 avaliable on the platform.
5506 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5507 name clash.
5508 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5509 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5510 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5511
5512 2011-10-30 Marek Polacek <mpolacek@redhat.com>
5513
5514 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5515 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5516
5517 2011-11-11 Roland McGrath <roland@hack.frob.com>
5518
5519 * include/unistd.h: Fix __readlink return type.
5520 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5521
5522 2011-11-11 Ulrich Drepper <drepper@gmail.com>
5523
5524 * stdlib/ucontext.h: Undo last change for makecontext.
5525
5526 2011-11-11 Andreas Schwab <schwab@redhat.com>
5527
5528 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5529
5530 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5531 * setjmp/setjmp.h: Mark functions as non-leaf.
5532 * setjmp/bits/setjmp2.h: Likewise.
5533 * stdlib/ucontext.h: Likewise.
5534
5535 2011-11-10 Andreas Schwab <schwab@redhat.com>
5536
5537 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5538 (reused_arena): Don't check arena limit.
5539 (arena_get2): Atomically check arena limit.
5540
5541 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5542
5543 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5544 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5545
5546 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5547 instructions.
5548
5549 2011-11-07 Andreas Schwab <schwab@redhat.com>
5550
5551 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5552 handler when locking.
5553
5554 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5555 Fix size of allocated buffer.
5556
5557 2011-11-04 Andreas Schwab <schwab@redhat.com>
5558
5559 [BZ #10103]
5560 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5561 declarations for long double functions.
5562 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5563
5564 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5565
5566 2011-11-03 Andreas Schwab <schwab@redhat.com>
5567
5568 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5569 installed.
5570
5571 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5572 is disabled.
5573
5574 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5575
5576 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5577
5578 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5579
5580 * include/alloca.h (stackinfo_alloca_round): Define.
5581 (extend_alloca): Use it.
5582 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5583 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5584 here.
5585
5586 * scripts/check-local-headers.sh: Ignore libaudit.h.
5587
5588 * nscd/Makefile (extra-objs): Make recursively expanded.
5589
5590 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5591
5592 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5593 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5594
5595 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5596 * posix/tst-rfc3484-2.c: Likewise.
5597 * posix/tst-rfc3484-3.c: Likewise.
5598
5599 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5600 process_vm_writev.
5601 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5602 process_vm_writev.
5603 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5604 process_vm_writev from libc using GLIBC_2.15 version.
5605
5606 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5607
5608 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5609
5610 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5611 stack usage.
5612
5613 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5614
5615 [BZ #13367]
5616 * nss/getent.c (initgroups_keys): Show error message in case no group
5617 names are given.
5618
5619 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5620 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5621 __bump_nl_timestamp.
5622 * nscd/connections (nscd_init): When host database is served open
5623 netlink socket and request notification about configuration changes.
5624 (main_loop_poll): Track netlink file descriptor and bump timestamp
5625 in case data becomes available.
5626 (main_loop_epoll): Likewise.
5627 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5628 (database_pers_head): Add extra_data fileds.
5629 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5630 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5631 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5632 Adjust caller.
5633 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5634 in6ai data, call __free_in6ai.
5635 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5636 Add -DHAVE_NETLINK.
5637 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5638 interface information. Reuse previous data if netlink timestamp
5639 is not changed.
5640 (__bump_nl_timestamp): New function.
5641 (__free_in6ai): New function.
5642
5643 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5644
5645 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5646 close_not_cancel_no_status here.
5647 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5648
5649 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5650
5651 [BZ #13276]
5652 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5653 return value.
5654
5655 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5656 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5657 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5658
5659 2011-07-03 Andreas Jaeger <aj@suse.de>
5660
5661 [BZ #10709]
5662 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5663 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5664 * math/libm-test.inc (sin_test): Add test case.
5665
5666 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5667
5668 [BZ #13337]
5669 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5670 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5671
5672 * elf/chroot_canon.c (chroot_canon): Cleanups.
5673
5674 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5675
5676 [BZ #13335]
5677 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5678 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5679
5680 * string/test-strchr.c: Make usable for strchrnul testing.
5681 * string/test-strchrnul.c: New file.
5682 * string/Makefile (strop-tests): Add strchrnul.
5683
5684 * po/it.po: Update from translation team.
5685 * po/es.po: Likewise.
5686
5687 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5688
5689 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5690 the three constants needed as parameters. Drop the others.
5691 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5692 __m128i_strloadu_tolower.
5693 Create and initialize variable zero and use it in all the places
5694 where _mm_setzero_si128 was used.
5695
5696 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5697 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5698 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5699 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5700 anymore.
5701 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5702 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5703 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5704 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5705 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5706 __mpranred, __mptan.
5707 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5708 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5709 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5710 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5711 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5712 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5713 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5714 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5715 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5716
5717 2011-10-28 Andreas Schwab <schwab@redhat.com>
5718
5719 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5720 redefine if SHARED.
5721 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5722
5723 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5724 wide char related routines to wcsmbs subdir.
5725
5726 2011-10-27 Andreas Schwab <schwab@redhat.com>
5727
5728 [BZ #13344]
5729 * misc/sys/cdefs.h (__THROWNL): Define.
5730 * posix/unistd.h: Use __THREADNL instead of __THREAD
5731 for memory synchronization functions.
5732
5733 2011-10-26 Roland McGrath <roland@hack.frob.com>
5734
5735 [BZ #13349]
5736 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5737 doesn't exist.
5738 * manual/stdio.texi (Obstack Streams): Node removed.
5739
5740 2011-10-26 Andreas Schwab <schwab@redhat.com>
5741
5742 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5743 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5744 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5745
5746 * math/math_private.h (math_force_eval): Allow non-addressable
5747 arguments.
5748 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5749
5750 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5751
5752 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5753 file is not needed.
5754
5755 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5756 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5757 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5758 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5759 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5760 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5761 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5762 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5763 Add AVX variants.
5764 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5765 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5766 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5767 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5768 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5769 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5770 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5771 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5772 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5773 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5774 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5775 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5776 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5777 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5778 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5779 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5780 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5781 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5782 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5783
5784 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5785 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5786
5787 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5788 place. Use VEX encoding when compiling for AVX.
5789
5790 2011-10-25 Andreas Schwab <schwab@redhat.com>
5791
5792 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5793 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5794
5795 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5796
5797 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5798
5799 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5800 useless if() expression.
5801 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5802 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5803 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5804 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5805 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5806 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5807 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5808 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5809 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5810 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5811 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5812 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5813 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5814 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5815 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5816 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5817 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5818 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5819 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5820
5821 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5822
5823 2011-10-25 Andreas Schwab <schwab@redhat.com>
5824
5825 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5826 condition.
5827 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5828
5829 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5830
5831 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5832 .text section. Avoid duplicate constants.
5833 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5835 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5836 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5837 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5838 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5839 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5840 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5841 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5842 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5843 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5844 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5845 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5846 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5847 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5848 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5849 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5850 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5851 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5852 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5853 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5854 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5855 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5856 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5857 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5858 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5859 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5860 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5861 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5862 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5863 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5864 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5865 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5866 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5867 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5868 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5869 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5870 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5871 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5872 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5873 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5874 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5875 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5876 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5877 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5878
5879 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5880
5881 * sysdeps/x86_64/dla.h: Move to ...
5882 * sysdeps/x86_64/fpu/dla.h: ...here.
5883 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5884 situations. Use __builtin_fma only for gcc 4.6 and up.
5885
5886 * config.make.in: Add have-mfma4 entry.
5887 * configure.in: Substitute libc_cv_cc_fma4.
5888 * math/Makefile (dbl-only-routines): Add sincostab.
5889 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5890 Use __sincostab not sincos.
5891 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5892 name is a macro.
5893 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5894 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5895 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5896 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5897 using __copysign.
5898 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5899 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5900 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5901 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5902 and __inv.
5903 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5904 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5905 __copysign.
5906 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5907 define aliases when function name is a macro.
5908 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5909 sysdeps/ieee754/dbl-64/sincos.tbl.
5910 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5911 fma4-enabled routines.
5912 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5913 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5914 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5915 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5916 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5917 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5918 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5919 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5920 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5921 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5922 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5923 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5924 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5925 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5926 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5927 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5928 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5929 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5930 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5931 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5932 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5933 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5934 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5935 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5936 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5937 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5938 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5939 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5940 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5941 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5942
5943 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5944 rename.
5945 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5946 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5947 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5948 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5949 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5950 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5951 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5952 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5953
5954 2011-10-24 Andreas Schwab <schwab@redhat.com>
5955
5956 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5957
5958 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5959
5960 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5961
5962 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5963 prediction.
5964 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5965
5966 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5967 Remove unused variable magic_bits.
5968 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5969
5970 * string/strnlen.c: Define and use STRNLEN macro.
5971 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5972 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5973 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5974 * wcsmbs/wcslen.c: Define and use WCSLEN.
5975 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5976 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5977 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5978 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5979 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5980 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5981 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5982
5983 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5984
5985 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5986 strnlen-sse2-no-bsf.
5987 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5988 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5989 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5990 Add strnlen support.
5991 (USE_AS_STRNLEN): New macro.
5992 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5993 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5994 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5995 * sysdeps/x86_64/wcslen.S: New file.
5996
5997 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5998
5999 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6000 XMM-moves are used for copying on small sizes.
6001
6002 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6003
6004 * wcsmbs/Makefile (strop-tests): Add wcschr.
6005 * wcsmbs/test-wcschr.c: New file.
6006 * string/test-strchr.c: Update.
6007 Add wcschr support.
6008 (WIDE): New macro.
6009
6010 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6011
6012 * wcsmbs/Makefile (strop-tests): Add wcslen.
6013 * wcsmbs/test-wcslen.c: New file.
6014 * string/test-strlen.c: Update.
6015 Add wcslen support.
6016 (WIDE): New macro.
6017
6018 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6019
6020 * po/it.po: Update from translation team.
6021
6022 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6023
6024 * sysdeps/x86_64/wcscmp.S: Update.
6025 Fix wrong comparison semantics.
6026 wcscmp shall use signed comparison not unsigned.
6027 Don't use substraction to avoid overflow bug.
6028 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6029 * wcsmbc/wcscmp.c: Likewise.
6030 * string/test-strcmp.c: Likewise.
6031 Add new tests to check cases with negative values.
6032
6033 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6034
6035 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6036 * sysdeps/x86_64/dla.h: ...here. New file.
6037 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6038 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6039 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6040 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6041 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6042 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6043 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6044 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6045 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6046
6047 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6048
6049 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6050 __ynl_finite aliases.
6051
6052 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6053
6054 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6055
6056 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6057 define DLA_FMA.
6058 [DLA_FMA] (EMULV): Use DLA_FMA.
6059 [DLA_FMA] (MUL12): Use EMULV.
6060 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6061 that are not needed.
6062 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6063 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6064 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6065 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6066 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6067 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6068 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6069
6070 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6071
6072 * math/s_nan.c: Undef __nan.
6073 * math/s_nanf.c: Undef __nanf.
6074 * math/s_nanl.c: Undef __nanl.
6075 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6076 "math_private.h".
6077
6078 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6079
6080 * math/s_catan.c: Add branch predictions.
6081 * math/s_catanf.c: Likewise.
6082 * math/s_catanh.c: Likewise.
6083 * math/s_catanhf.c: Likewise.
6084 * math/s_catanhl.c: Likewise.
6085 * math/s_catanl.c: Likewise.
6086 * math/s_cexp.c: Likewise.
6087 * math/s_cexpf.c: Likewise.
6088 * math/s_cexpl.c: Likewise.
6089 * math/s_clog.c: Likewise.
6090 * math/s_clog10.c: Likewise.
6091 * math/s_clog10f.c: Likewise.
6092 * math/s_clog10l.c: Likewise.
6093 * math/s_clogf.c: Likewise.
6094 * math/s_clogl.c: Likewise.
6095 * math/s_csqrt.c: Likewise.
6096 * math/s_csqrtf.c: Likewise.
6097 * math/s_csqrtl.c: Likewise.
6098 * math/s_ctanf.c: Likewise.
6099 * math/s_ctanh.c: Likewise.
6100 * math/s_ctanhf.c: Likewise.
6101 * math/s_ctanhl.c: Likewise.
6102 * math/s_ctanl.c: Likewise.
6103
6104 * math/math_private.h: Define __nan, __nanf, __nanl.
6105 * math/s_cacosh.c: Include <math_private.h>.
6106 * math/s_cacoshl.c: Likewise.
6107 * math/s_casinh.c: Likewise.
6108 * math/s_casinhf.c: Likewise.
6109 * math/s_casinhl.c: Likewise.
6110 * math/s_ccos.c: Rely entire on ccosh.
6111 * math/s_ccosf.c: Rely entire on ccoshf.
6112 * math/s_ccosl.c: Rely entirely on ccoshl.
6113 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6114 Remove tests for FE_INVALID.
6115 * math/s_ccoshf.c: Likewise.
6116 * math/s_ccoshl.c: Likewise.
6117 * math/s_csin.c: Likewise.
6118 * math/s_csinf.c: Likewise.
6119 * math/s_csinh.c Likewise.
6120 * math/s_csinhf.c: Likewise.
6121 * math/s_csinhl.c: Likewise.
6122 * math/s_csinl.c: Likewise.
6123 * math/s_ctan.c: Likewise.
6124 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6125 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6126 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6127
6128 2011-10-21 Ulrich Drepper <drepper@gmail.com>
6129
6130 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6131 compilation problems.
6132
6133 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6134 __builtin_expect.
6135
6136 2011-10-20 Ulrich Drepper <drepper@gmail.com>
6137
6138 * sysdeps/i386/configure.in: Test for -mfma4 option.
6139 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6140 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6141 COMMON_CPUID_INDEX_80000001.
6142 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6143 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6144 use it if FMA3 is not supported.
6145 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6146
6147 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6148 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6149
6150 2011-10-20 Andreas Schwab <schwab@redhat.com>
6151
6152 [BZ #12892]
6153 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6154 it would create a cycle with a link time dependency.
6155
6156 2011-10-19 Ulrich Drepper <drepper@gmail.com>
6157
6158 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6159 instruction.
6160 * string/Makefile (strop-tests): Add rawmemchr.
6161 * string/test-rawmemchr.c: New file.
6162
6163 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6164 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6165 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6166 when compiling str{,n}casecmp and when AVX is available. Hook up
6167 new optimized code in initializers.
6168
6169 2011-10-19 Andreas Schwab <schwab@redhat.com>
6170
6171 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6172 __feraiseexcept instead of feraiseexcept.
6173
6174 2011-10-18 Ulrich Drepper <drepper@gmail.com>
6175
6176 * math/math_private.h: Define defaults for libc_fetestexcept and
6177 libc_feupdateenv.
6178 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6179 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6180 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6181 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6182 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6183 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6184 libc_fetestexcept and libc_feupdateenv.
6185
6186 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6187 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6188 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6189 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6190 libc_feholdexcept_setround.
6191
6192 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6193 Add s_nearbyint-c and s_nearbyintf-c.
6194 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6195 nearbyintf inlines.
6196 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6197 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6198 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6199 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6200
6201 * math/math_private.h: Define defaults for libc_fegetround,
6202 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6203 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6204 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6205 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6206 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6207 standard functions.
6208 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6209 Remove comments and hacks for old compiler versions.
6210 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6211 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6212 libc_feholdexceptl.
6213
6214 2011-10-18 Andreas Schwab <schwab@redhat.com>
6215
6216 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6217 (__feraiseexcept_renamed): Add __NTH.
6218 (feraiseexcept): Add __NTH. Rename local variables to fix
6219 namespace violations.
6220
6221 2011-10-17 Ulrich Drepper <drepper@gmail.com>
6222
6223 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6224
6225 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6226
6227 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6228 recently added interfaces.
6229 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6230
6231 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6232 about macro parameter expansion.
6233
6234 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6235 __NO_MATH_INLINES is defined. Cleanups.
6236
6237 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6238 and __floorf is target has SSE4.1.
6239 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6240 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6241 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6242 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6243
6244 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6245 name.
6246 (floorf): Likewise.
6247
6248 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6249
6250 2011-10-17 Andreas Schwab <schwab@redhat.com>
6251
6252 * misc/sys/cdefs.h: Fix last change.
6253
6254 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6255 database lookup.
6256
6257 2011-10-16 Ulrich Drepper <drepper@gmail.com>
6258
6259 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6260
6261 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6262 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6263 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6264 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6265 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6266 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6267 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6268 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6269 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6270 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6271 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6272 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6273 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6274 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6275 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6276 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6277 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6278 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6279 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6280 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6281 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6282 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6283
6284 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6285 ceil, ceilf, floor, floorf.
6286
6287 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6288 Perform IRELATIVE relocations last.
6289
6290 * elf/do-rel.h: Add another parameter nrelative, replacing the
6291 local variable with the same name. Change name of the function
6292 to end in Rel or Rela (uppercase).
6293 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6294 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6295 elf_dynamic_do_##reloc function.
6296
6297 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6298
6299 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6300 is sufficient, at least on modern CPUs.
6301
6302 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6303
6304 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6305 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6306
6307 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6308 __expl_finite.
6309 * math/bits/math-finite.h: Add entries for exp.
6310 * math/e_expl.c: Add __*_finite alias.
6311 * sysdeps/i386/fpu/e_exp.S: Likewise.
6312 * sysdeps/i386/fpu/e_expf.S: Likewise.
6313 * sysdeps/i386/fpu/e_expl.c: Likewise.
6314 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6315 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6316 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6317 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6318 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6319 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6320 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6321
6322 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6323 is sufficient, at least on modern CPUs.
6324
6325 * ctype/ctype-info.c (__ctype_init): Define.
6326 * include/ctype.h (__ctype_init): Declare.
6327 (__ctype_b_loc): The variable is always initialized.
6328 (__ctype_toupper_loc): Likewise.
6329 (__ctype_tolower_loc): Likewise.
6330 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6331 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6332
6333 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6334
6335 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6336
6337 * configure.in: Also look in $cxxmachine/include for C++ system
6338 headers.
6339
6340 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6341
6342 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6343 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6344 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6345 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6346 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6347 (USE_AS_WMEMCMP): New macro.
6348 Fixing indents.
6349 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6350 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6351 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6352 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6353 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6354 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6355 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6356 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6357 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6358 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6359 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6360 (USE_AS_WMEMCMP): New macro.
6361 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6362 * sysdeps/string/test-memcmp.c: Update.
6363 Fix simple_wmemcmp.
6364 Add new tests.
6365 * wcsmbs/wmemcmp.c: Update.
6366 (WMEMCMP): New macro.
6367 Fix overflow bug.
6368
6369 2011-10-12 Andreas Jaeger <aj@suse.de>
6370
6371 [BZ #13268]
6372 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6373
6374 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6375
6376 * libio/iofwide.c (do_length): Avoid warning.
6377
6378 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6379
6380 2011-10-14 Ulrich Drepper <drepper@gmail.com>
6381
6382 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6383
6384 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6385 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6386 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6387 * sysdeps/i386/i686/fpu/e_log.S: New file.
6388 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6389 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6390
6391 * ctype/ctype.h: Add support for inlined isXXX functions when
6392 compiling C++ code.
6393
6394 2011-10-14 Andreas Schwab <schwab@redhat.com>
6395
6396 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6397
6398 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6399
6400 2011-10-13 Roland McGrath <roland@hack.frob.com>
6401
6402 [BZ #13291]
6403 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6404
6405 2011-10-13 Andreas Schwab <schwab@redhat.com>
6406
6407 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6408 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6409 feraiseexcept.
6410
6411 * sysdeps/x86_64/memrchr.S: Check for zero size.
6412
6413 * string/stratcliff.c: Add memrchr tests.
6414
6415 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6416
6417 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6418 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6419 rawmemchr-sse2 rawmemchr-sse2-bsf.
6420 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6421 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6422 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6423 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6424 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6425 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6426 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6427 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6428 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6429 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6430 * string/memrchr.c (MEMRCHR): New macro.
6431
6432 2011-10-12 Ulrich Drepper <drepper@gmail.com>
6433
6434 Add integration with gcc's -ffinite-math-only and optimize wrapper
6435 functions in libm.
6436 * Versions.def: Define GLIBC_2.15 version for libm.
6437 * math/Makefile (headers): Add bits/math-finite.h.
6438 * math/bits/math-finite.h: New file.
6439 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6440 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6441 * math/e_acoshl.c: Add __*_finite alias.
6442 * math/e_acosl.c: Likewise.
6443 * math/e_asinl.c: Likewise.
6444 * math/e_atan2l.c: Likewise.
6445 * math/e_atanhl.c: Likewise.
6446 * math/e_coshl.c: Likewise.
6447 * math/e_exp10.c: Likewise.
6448 * math/e_exp10f.c: Likewise.
6449 * math/e_exp10l.c: Likewise.
6450 * math/e_exp2l.c: Likewise.
6451 * math/e_fmodl.c: Likewise.
6452 * math/e_gammal_r.c: Likewise.
6453 * math/e_hypotl.c: Likewise.
6454 * math/e_j0l.c: Likewise.
6455 * math/e_j1l.c: Likewise.
6456 * math/e_jnl.c: Likewise.
6457 * math/e_lgammal_r.c: Likewise.
6458 * math/e_log10l.c: Likewise.
6459 * math/e_log2l.c: Likewise.
6460 * math/e_logl.c: Likewise.
6461 * math/e_powl.c: Likewise.
6462 * math/e_sinhl.c: Likewise.
6463 * math/e_sqrtl.c: Likewise.
6464 * math/e_scalb.c: Completely rewritten and optimized.
6465 * math/e_scalbf.c: Likewise.
6466 * math/e_scalbl.c: Likewise.
6467 * math/w_acos.c: Likewise.
6468 * math/w_acosf.c: Likewise.
6469 * math/w_acosl.c: Likewise.
6470 * math/w_acosh.c: Likewise.
6471 * math/w_acoshf.c: Likewise.
6472 * math/w_acoshl.c: Likewise.
6473 * math/w_asin.c: Likewise.
6474 * math/w_asinf.c: Likewise.
6475 * math/w_asinl.c: Likewise.
6476 * math/w_atan2.c: Likewise.
6477 * math/w_atan2f.c: Likewise.
6478 * math/w_atan2l.c: Likewise.
6479 * math/w_atanh.c: Likewise.
6480 * math/w_atanhf.c: Likewise.
6481 * math/w_atanhl.c: Likewise.
6482 * math/w_exp10.c: Likewise.
6483 * math/w_exp10f.c: Likewise.
6484 * math/w_exp10l.c: Likewise.
6485 * math/w_fmod.c: Likewise.
6486 * math/w_fmodf.c: Likewise.
6487 * math/w_fmodl.c: Likewise.
6488 * math/w_j0.c: Likewise.
6489 * math/w_j0f.c: Likewise.
6490 * math/w_j0l.c: Likewise.
6491 * math/w_j1.c: Likewise.
6492 * math/w_j1f.c: Likewise.
6493 * math/w_j1l.c: Likewise.
6494 * math/w_jn.c: Likewise.
6495 * math/w_jnf.c: Likewise.
6496 * math/w_log.c: Likewise.
6497 * math/w_logf.c: Likewise.
6498 * math/w_logl.c: Likewise.
6499 * math/w_log10.c: Likewise.
6500 * math/w_log10f.c: Likewise.
6501 * math/w_log10l.c: Likewise.
6502 * math/w_log2.c: Likewise.
6503 * math/w_log2f.c: Likewise.
6504 * math/w_log2l.c: Likewise.
6505 * math/w_pow.c: Likewise.
6506 * math/w_powf.c: Likewise.
6507 * math/w_powl.c: Likewise.
6508 * math/w_remainder.c: Likewise.
6509 * math/w_remainderf.c: Likewise.
6510 * math/w_remainderl.c: Likewise.
6511 * math/w_scalb.c: Likewise.
6512 * math/w_scalbf.c: Likewise.
6513 * math/w_scalbl.c: Likewise.
6514 * math/w_sqrt.c: Likewise.
6515 * math/w_sqrtf.c: Likewise.
6516 * math/w_sqrtl.c: Likewise.
6517 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6518 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6519 used.
6520 * math/math_private.h: Declare __kernel_standard_f.
6521 * math/w_cosh.c: Remove cruft and optimize a bit.
6522 * math/w_coshf.c: Likewise.
6523 * math/w_coshl.c: Likewise.
6524 * math/w_exp2.c: Likewise.
6525 * math/w_exp2f.c: Likewise.
6526 * math/w_exp2l.c: Likewise.
6527 * math/w_hypot.c: Likewise.
6528 * math/w_hypotf.c: Likewise.
6529 * math/w_hypotl.c: Likewise.
6530 * math/w_lgamma.c: Likewise.
6531 * math/w_lgamma_r.c: Likewise.
6532 * math/w_lgammaf.c: Likewise.
6533 * math/w_lgammaf_r.c: Likewise.
6534 * math/w_lgammal.c: Likewise.
6535 * math/w_lgammal_r.c: Likewise.
6536 * math/w_sinh.c: Likewise.
6537 * math/w_sinhf.c: Likewise.
6538 * math/w_sinhl.c: Likewise.
6539 * math/w_tgamma.c: Likewise.
6540 * math/w_tgammaf.c: Likewise.
6541 * math/w_tgammal.c: Likewise.
6542 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6543 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6544 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6545 Minor optimizations. Pretty printing. Remove cruft.
6546 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6547 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6548 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6549 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6550 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6551 * sysdeps/i386/fpu/e_asin.S: Likewise.
6552 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6553 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6554 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6555 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6556 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6557 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6558 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6559 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6560 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6561 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6562 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6563 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6564 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6565 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6566 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6567 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6568 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6569 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6570 * sysdeps/i386/fpu/e_log.S: Likewise.
6571 * sysdeps/i386/fpu/e_log10.S: Likewise.
6572 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6573 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6574 * sysdeps/i386/fpu/e_log2.S: Likewise.
6575 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6576 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6577 * sysdeps/i386/fpu/e_logf.S: Likewise.
6578 * sysdeps/i386/fpu/e_logl.S: Likewise.
6579 * sysdeps/i386/fpu/e_pow.S: Likewise.
6580 * sysdeps/i386/fpu/e_powf.S: Likewise.
6581 * sysdeps/i386/fpu/e_powl.S: Likewise.
6582 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6583 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6584 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6585 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6586 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6587 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6588 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6589 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6590 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6591 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6592 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6593 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6594 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6595 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6596 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6597 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6598 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6599 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6600 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6601 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6602 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6603 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6604 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6605 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6606 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6607 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6608 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6609 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6610 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6611 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6612 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6613 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6614 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6615 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6616 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6617 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6618 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6619 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6620 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6621 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6622 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6623 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6624 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6625 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6626 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6627 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6628 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6629 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6630 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6631 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6632 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6633 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6634 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6635 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6636 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6637 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6638 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6639 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6640 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6641 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6642 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6643 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6644 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6645 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6646 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6647 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6648 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6649 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6650 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6651 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6652 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6653 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6654 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6655 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6656 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6657 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6658 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6659 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6660 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6661 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6662 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6663 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6664 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6665 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6666 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6667 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6668 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6670 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6671 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6672 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6673 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6674 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6675 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6676 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6677 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6678 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6679 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6680 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6681 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6682 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6683 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6684 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6685 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6686 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6687 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6688 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6689 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6690 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6691 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6692 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6693 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6694 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6695 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6696 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6697 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6698 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6699 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6700 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6701 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6702 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6703 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6704 (__isnanf): Likewise.
6705 (__isinf_ns): Likewise.
6706 (__isinf_nsf): Likewise.
6707 (__finite): Likewise.
6708 (__finitef): Likewise.
6709 (__ieee754_sqrt): Define as macro.
6710 (__ieee754_sqrtf): Define as macro.
6711 (__ieee754_sqrtl): Define as macro.
6712 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6713 inlined copy.
6714 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6715 __FINITE_MATH_ONLY__ consistent.
6716 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6717
6718 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6719
6720 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6721 of rawmemchr.
6722
6723 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6724
6725 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6726
6727 * po/ja.po: Update from translation team.
6728
6729 2011-10-08 Roland McGrath <roland@hack.frob.com>
6730
6731 * locale/programs/locarchive.c (prepare_address_space): New function.
6732 (create_archive, enlarge_archive, open_archive): Use it.
6733
6734 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6735 inside [SHARED], where it is used.
6736
6737 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6738
6739 * nss/getent.c (netgroup_keys): Remove unused variable.
6740 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6741
6742 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6743
6744 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6745 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6746 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6747 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6748 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6749 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6750 * math/Makefile (libm-calls): Add s_isinf_ns.
6751 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6752 * math/multc3.c: Likewise.
6753 * math/s_casin.c: Likewise.
6754 * math/s_casinf.c: Likewise.
6755 * math/s_casinl.c: Likewise.
6756 * math/s_ccos.c: Likewise.
6757 * math/s_ccosf.c: Likewise.
6758 * math/s_ccosl.c: Likewise.
6759 * math/s_ctan.c: Likewise.
6760 * math/s_ctanf.c: Likewise.
6761 * math/s_ctanh.c: Likewise.
6762 * math/s_ctanhf.c: Likewise.
6763 * math/s_ctanhl.c: Likewise.
6764 * math/s_ctanl.c: Likewise.
6765 * math/w_fmod.c: Likewise.
6766 * math/w_fmodf.c: Likewise.
6767 * math/w_fmodl.c: Likewise.
6768 * math/w_remainder.c: Likewise.
6769 * math/w_remainderf.c: Likewise.
6770 * math/w_remainderl.c: Likewise.
6771 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6772 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6773 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6774 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6775 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6776 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6777 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6778 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6779
6780 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6781 of the number.
6782 * stdio-common/printf_fphex.c: Likewise.
6783 * stdio-common/printf_size.c: Likewise.
6784
6785 * math/e_exp10.c: Include math_private.h using <...> not "...".
6786 * math/e_exp10f.c: Likewise.
6787 * math/e_exp10l.c: Likewise.
6788 * math/e_exp2l.c: Likewise.
6789 * math/e_j0l.c: Likewise.
6790 * math/e_j1l.c: Likewise.
6791 * math/e_jnl.c: Likewise.
6792 * math/e_lgammal_r.c: Likewise.
6793 * math/e_rem_pio2l.c: Likewise.
6794 * math/e_scalb.c: Likewise.
6795 * math/e_scalbf.c: Likewise.
6796 * math/e_scalbl.c: Likewise.
6797 * math/k_cosl.c: Likewise.
6798 * math/k_sinl.c: Likewise.
6799 * math/k_tanl.c: Likewise.
6800 * math/s_cacoshf.c: Likewise.
6801 * math/s_catan.c: Likewise.
6802 * math/s_catanf.c: Likewise.
6803 * math/s_catanh.c: Likewise.
6804 * math/s_catanhf.c: Likewise.
6805 * math/s_catanhl.c: Likewise.
6806 * math/s_catanl.c: Likewise.
6807 * math/s_ccosh.c: Likewise.
6808 * math/s_ccoshf.c: Likewise.
6809 * math/s_ccoshl.c: Likewise.
6810 * math/s_cexp.c: Likewise.
6811 * math/s_cexpf.c: Likewise.
6812 * math/s_cexpl.c: Likewise.
6813 * math/s_clog.c: Likewise.
6814 * math/s_clog10.c: Likewise.
6815 * math/s_clog10f.c: Likewise.
6816 * math/s_clog10l.c: Likewise.
6817 * math/s_clogf.c: Likewise.
6818 * math/s_clogl.c: Likewise.
6819 * math/s_csin.c: Likewise.
6820 * math/s_csinf.c: Likewise.
6821 * math/s_csinh.c: Likewise.
6822 * math/s_csinhf.c: Likewise.
6823 * math/s_csinhl.c: Likewise.
6824 * math/s_csinl.c: Likewise.
6825 * math/s_csqrt.c: Likewise.
6826 * math/s_csqrtf.c: Likewise.
6827 * math/s_csqrtl.c: Likewise.
6828 * math/s_ctan.c: Likewise.
6829 * math/s_ctanf.c: Likewise.
6830 * math/s_ctanh.c: Likewise.
6831 * math/s_ctanhf.c: Likewise.
6832 * math/s_ctanhl.c: Likewise.
6833 * math/s_ctanl.c: Likewise.
6834 * math/s_ldexp.c: Likewise.
6835 * math/s_ldexpf.c: Likewise.
6836 * math/s_ldexpl.c: Likewise.
6837 * math/s_significand.c: Likewise.
6838 * math/s_significandf.c: Likewise.
6839 * math/s_significandl.c: Likewise.
6840 * math/w_acos.c: Likewise.
6841 * math/w_acosf.c: Likewise.
6842 * math/w_acosh.c: Likewise.
6843 * math/w_acoshf.c: Likewise.
6844 * math/w_acoshl.c: Likewise.
6845 * math/w_acosl.c: Likewise.
6846 * math/w_asin.c: Likewise.
6847 * math/w_asinf.c: Likewise.
6848 * math/w_asinl.c: Likewise.
6849 * math/w_atan2.c: Likewise.
6850 * math/w_atan2f.c: Likewise.
6851 * math/w_atan2l.c: Likewise.
6852 * math/w_atanh.c: Likewise.
6853 * math/w_atanhf.c: Likewise.
6854 * math/w_atanhl.c: Likewise.
6855 * math/w_cosh.c: Likewise.
6856 * math/w_coshf.c: Likewise.
6857 * math/w_coshl.c: Likewise.
6858 * math/w_dremf.c: Likewise.
6859 * math/w_exp10.c: Likewise.
6860 * math/w_exp10f.c: Likewise.
6861 * math/w_exp10l.c: Likewise.
6862 * math/w_exp2.c: Likewise.
6863 * math/w_exp2f.c: Likewise.
6864 * math/w_fmod.c: Likewise.
6865 * math/w_fmodf.c: Likewise.
6866 * math/w_fmodl.c: Likewise.
6867 * math/w_hypot.c: Likewise.
6868 * math/w_hypotf.c: Likewise.
6869 * math/w_hypotl.c: Likewise.
6870 * math/w_j0.c: Likewise.
6871 * math/w_j0f.c: Likewise.
6872 * math/w_j0l.c: Likewise.
6873 * math/w_j1.c: Likewise.
6874 * math/w_j1f.c: Likewise.
6875 * math/w_j1l.c: Likewise.
6876 * math/w_jn.c: Likewise.
6877 * math/w_jnf.c: Likewise.
6878 * math/w_jnl.c: Likewise.
6879 * math/w_lgamma.c: Likewise.
6880 * math/w_lgamma_r.c: Likewise.
6881 * math/w_lgammaf.c: Likewise.
6882 * math/w_lgammaf_r.c: Likewise.
6883 * math/w_lgammal.c: Likewise.
6884 * math/w_lgammal_r.c: Likewise.
6885 * math/w_log.c: Likewise.
6886 * math/w_log10.c: Likewise.
6887 * math/w_log10f.c: Likewise.
6888 * math/w_log10l.c: Likewise.
6889 * math/w_log2.c: Likewise.
6890 * math/w_log2f.c: Likewise.
6891 * math/w_log2l.c: Likewise.
6892 * math/w_logf.c: Likewise.
6893 * math/w_logl.c: Likewise.
6894 * math/w_pow.c: Likewise.
6895 * math/w_powf.c: Likewise.
6896 * math/w_powl.c: Likewise.
6897 * math/w_remainder.c: Likewise.
6898 * math/w_remainderf.c: Likewise.
6899 * math/w_remainderl.c: Likewise.
6900 * math/w_scalb.c: Likewise.
6901 * math/w_scalbf.c: Likewise.
6902 * math/w_scalbl.c: Likewise.
6903 * math/w_sinh.c: Likewise.
6904 * math/w_sinhf.c: Likewise.
6905 * math/w_sinhl.c: Likewise.
6906 * math/w_sqrt.c: Likewise.
6907 * math/w_sqrtf.c: Likewise.
6908 * math/w_sqrtl.c: Likewise.
6909 * math/w_tgamma.c: Likewise.
6910 * math/w_tgammaf.c: Likewise.
6911 * math/w_tgammal.c: Likewise.
6912
6913 * po/ja.po: Update from translation team.
6914
6915 2011-09-29 Andreas Jaeger <aj@suse.de>
6916
6917 [BZ #13179]
6918 * sunrpc/netname.c (netname2host): Fix logic.
6919
6920 [BZ #6779]
6921 [BZ #6783]
6922 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6923 correctly.
6924 * math/w_remainder.c (__remainder): Likewise.
6925 * math/w_remainderf.c (__remainderf): Likewise.
6926 * math/libm-test.inc (remainder_test): Add test cases.
6927
6928 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6929
6930 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6931 sdiv_qrnnd.
6932
6933 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6934
6935 * string/test-memcmp.c: Avoid unncessary #defines.
6936 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6937
6938 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6939
6940 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6941 Use new sse2 version for core i3 - i7 as it's faster
6942 than sse42 version.
6943 (bit_Prefer_PMINUB_for_stringop): New.
6944 * sysdeps/x86_64/rawmemchr.S: Update.
6945 Replace with faster SSE2 version.
6946 * sysdeps/x86_64/memrchr.S: New file.
6947 * sysdeps/x86_64/memchr.S: Update.
6948 Replace with faster SSE2 version.
6949
6950 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6951
6952 * elf/dl-load.c (lose): Add cast to avoid warning.
6953
6954 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6955
6956 * po/ca.po: Update from translation team.
6957
6958 * inet/getnetgrent_r.c: Hook up nscd.
6959 * nscd/Makefile (routines): Add nscd_netgroup.
6960 (nscd-modules): Add netgroupcache.
6961 (CFLAGS-netgroupcache.c): Define.
6962 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6963 (cache_search): Add const to second parameter.
6964 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6965 INNETGR.
6966 (dbs): Add netgrdb entry.
6967 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6968 (verify_persistent_db): Handle netgrdb.
6969 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6970 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6971 GETFDNETGR.
6972 (netgroup_response_header): Define.
6973 (innetgroup_response_header): Define.
6974 (datahead): Add netgroup_response_header and innetgroup_response_header
6975 elements.
6976 * nscd/nscd.conf: Add entries for netgroup cache.
6977 * nscd/nscd.h (dbtype): Add netgrdb.
6978 (_PATH_NSCD_NETGROUP_DB): Define.
6979 (netgroup_iov_disabled): Declare.
6980 (xmalloc, xcalloc, xrealloc): Move declarations here.
6981 (cache_search): Adjust prototype.
6982 Add netgroup-related prototypes.
6983 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6984 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6985 (__nscd_innetgr): Declare.
6986 * nscd/selinux.c (perms): Use access_vector_t as element type and
6987 add netgroup-related initializers.
6988 * nscd/netgroupcache.c: New file.
6989 * nscd/nscd_netgroup.c: New file.
6990 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6991 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6992 For four parameters use innetgr.
6993 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6994 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6995 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6996 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6997
6998 * nscd/connections.c (register_traced_file): Don't register file
6999 for disabled databases.
7000
7001 2011-10-06 Ulrich Drepper <drepper@gmail.com>
7002
7003 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7004
7005 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7006 from tree and freeing node.
7007
7008 2011-09-25 Jiri Olsa <jolsa@redhat.com>
7009
7010 * nss/nsswitch.c (__nss_database_lookup): Handle
7011 nss_parse_service_list out of memory case.
7012
7013 2011-09-15 Jiri Olsa <jolsa@redhat.com>
7014
7015 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7016 out of memory case.
7017
7018 2011-10-04 Andreas Schwab <schwab@redhat.com>
7019
7020 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7021 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7022 pass it down.
7023 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7024 elf_machine_rela, elf_machine_lazy_rel.
7025 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7026 (ELF_DYNAMIC_DO_REL): Likewise.
7027 (ELF_DYNAMIC_DO_RELA): Likewise.
7028 (ELF_DYNAMIC_RELOCATE): Likewise.
7029 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7030 to ELF_DYNAMIC_DO_REL.
7031 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7032 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7033 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7034 elf_machine_rela.
7035 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7036 skip_ifunc, don't call ifunc function if non-zero.
7037 (elf_machine_rela): Likewise.
7038 (elf_machine_lazy_rel): Likewise.
7039 (elf_machine_lazy_rela): Likewise.
7040 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7041 (elf_machine_lazy_rel): Likewise.
7042 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7043 Likewise.
7044 (elf_machine_lazy_rel): Likewise.
7045 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7046 Likewise.
7047 (elf_machine_lazy_rel): Likewise.
7048 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7049 (elf_machine_lazy_rel): Likewise.
7050 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7051 (elf_machine_lazy_rel): Likewise.
7052 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7053 (elf_machine_lazy_rel): Likewise.
7054 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7055 (elf_machine_lazy_rel): Likewise.
7056 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7057 (elf_machine_lazy_rel): Likewise.
7058 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7059 (elf_machine_lazy_rel): Likewise.
7060
7061 2011-09-28 Ulrich Drepper <drepper@gmail.com>
7062
7063 * nss/nss_files/files-init.c (_nss_files_init): Use static
7064 initialization for all the *_traced_file variables.
7065
7066 2011-09-28 Andreas Schwab <schwab@redhat.com>
7067
7068 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7069
7070 2011-09-27 Roland McGrath <roland@hack.frob.com>
7071
7072 [BZ #13226]
7073 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7074
7075 2011-09-27 Andreas Schwab <schwab@redhat.com>
7076
7077 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7078 Reread the line before reparsing it.
7079
7080 2011-09-26 Andreas Schwab <schwab@redhat.com>
7081
7082 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7083
7084 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7085 Maxim Kuvyrkov <maxim@codesourcery.com>
7086 Joseph Myers <joseph@codesourcery.com>
7087
7088 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7089 if needed for __stack_chk_guard.
7090
7091 2011-09-19 Roland McGrath <roland@hack.frob.com>
7092
7093 * sysdeps/posix/spawni.c (script_execute): Always define it.
7094 It will be optimized away if unused.
7095 (maybe_script_execute): New function.
7096 (__spawni): Call it.
7097
7098 * Makerules: Don't include tls.make.
7099 (config-tls): Always set to thread.
7100 * tls.make.c: File removed.
7101
7102 2011-09-19 Mike Frysinger <vapier@gentoo.org>
7103
7104 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7105 * config.make.in (CPPFLAGS-config): New substituted variable.
7106
7107 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7108
7109 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7110
7111 [BZ #13192]
7112 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7113 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7114
7115 2011-09-15 Roland McGrath <roland@hack.frob.com>
7116
7117 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7118 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7119 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7120 (CALL_FAIL): Likewise.
7121 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7122 (CALL_FAIL): Macro removed.
7123 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7124
7125 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7126
7127 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7128 for __FINITE_MATH_ONLY__ == 1.
7129
7130 2011-09-15 Andreas Schwab <schwab@redhat.com>
7131
7132 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7133 __ieee754_sqrt instead of sqrt.
7134 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7135 __ieee754_sqrtf instead of sqrtf.
7136 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7137 __floorf instead of floorf.
7138 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7139 __floorf, __truncf instead of floorf, truncf.
7140
7141 2011-09-14 Ulrich Drepper <drepper@gmail.com>
7142
7143 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7144
7145 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7146 __extern_always_inline.
7147 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7148 32-bit.
7149
7150 2011-09-14 Andreas Schwab <schwab@redhat.com>
7151
7152 * elf/rtld.c (dl_main): Also relocate in dependency order when
7153 doing symbol dependency testing.
7154
7155 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7156
7157 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7158 Always define `refsym'.
7159
7160 2011-09-13 Andreas Schwab <schwab@redhat.com>
7161
7162 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7163 (__FD_ELT): Renamed from __FDELT.
7164 * misc/bits/select2.h (__FD_ELT): Likewise.
7165 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7166 __FD_MASK instead of __FDELT, __FDMASK.
7167 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7168 Likewise.
7169 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7170 Likewise.
7171
7172 * elf/Makefile (gen-ldd): Fix pattern.
7173
7174 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7175 (init_tls): Likewise.
7176
7177 2011-09-12 Ulrich Drepper <drepper@gmail.com>
7178
7179 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7180
7181 2011-09-12 Andreas Schwab <schwab@redhat.com>
7182
7183 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7184 `struct cmsghdr *' instead of `void *'.
7185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7186 Likewise.
7187
7188 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7189
7190 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7191 if non-absolute.
7192 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7193 ldd_rewrite_script.
7194
7195 2011-09-11 Ulrich Drepper <drepper@gmail.com>
7196
7197 * configure.in: Remove --with-tls option.
7198 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7199 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7200 out in case it is missing.
7201 * sysdeps/ia64/elf/configure.in: Likewise.
7202 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7203 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7204 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7205 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7206 * sysdeps/sh/elf/configure.in: Likewise.
7207 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7208 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7209 * sysdeps/x86_64/elf/configure.in: Likewise.
7210 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7211 * sysdeps/mach/hurd/tls.h: Likewise.
7212
7213 [BZ #13067]
7214 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7215
7216 [BZ #13090]
7217 * configure.in: Fix use of AC_INIT.
7218
7219 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7220
7221 2011-09-10 Ulrich Drepper <drepper@gmail.com>
7222
7223 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7224 __set_errno.
7225 * malloc/hooks.c: Likewise.
7226
7227 [BZ #11929]
7228 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7229 variables statically.
7230 (narenas): Initialize.
7231 (list_lock): Initialize.
7232 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7233 initializtion of main_arena and list_lock. Small cleanups.
7234 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7235 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7236 Add initializers to main_arena and mp_.
7237 (malloc_state): Remove pagesize member. Change all users to use
7238 GLRO(dl_pagesize).
7239
7240 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7241 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7242 is always initialized.
7243
7244 * malloc/malloc.c: Removed unused configurations and dead code.
7245 * malloc/arena.c: Likewise.
7246 * malloc/hooks.c: Likewise.
7247 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7248
7249 * include/tls.h: Removed. USE___THREAD must always be defined.
7250 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7251 * elf/dl-libc.c: Likewise.
7252 * elf/dl-tsd.c: Likewise.
7253 * include/errno.h: Likewise.
7254 * include/netdb.h: Likewise.
7255 * include/resolv.h: Likewise.
7256 * inet/herrno-loc.c: Likewise.
7257 * inet/herrno.c: Likewise.
7258 * malloc/arena.c: Likewise.
7259 * malloc/hooks.c: Likewise.
7260 * malloc/malloc.c: Likewise.
7261 * resolv/res-state.c: Likewise.
7262 * resolv/res_libc.c: Likewise.
7263 * sysdeps/i386/dl-machine.h: Likewise.
7264 * sysdeps/ia64/dl-machine.h: Likewise.
7265 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7266 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7267 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7268 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7269 * sysdeps/sh/dl-machine.h: Likewise.
7270 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7271 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7272 * sysdeps/unix/i386/sysdep.S: Likewise.
7273 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7274 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7275 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7276 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7277 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7278 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7279 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7280 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7281 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7282 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7283 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7284 * sysdeps/x86_64/dl-machine.h: Likewise.
7285 * tls.make.c: Likewise.
7286
7287 * configure.in: Remove --with-__thread option. Make tests for
7288 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7289 tls_model attribute fail if no support is available. Remove
7290 USE_IN_LIBIO.
7291 * Makeconfig: Adjust for dropped configure option. All features are
7292 now mandatory.
7293 * Makerules: Likewise.
7294 * Versions.def: Likewise.
7295 * argp/argp-fmtstream.c: Likewise.
7296 * argp/argp-fmtstream.h: Likewise.
7297 * argp/argp-help.c: Likewise.
7298 * assert/assert.c: Likewise.
7299 * config.h.in: Likewise.
7300 * config.make.in: Likewise.
7301 * configure: Likewise.
7302 * configure.in: Likewise.
7303 * csu/Versions: Likewise.
7304 * csu/init.c: Likewise.
7305 * elf/tst-audit2.c: Likewise.
7306 * elf/tst-tls10.c: Likewise.
7307 * elf/tst-tls10.h: Likewise.
7308 * elf/tst-tls11.c: Likewise.
7309 * elf/tst-tls12.c: Likewise.
7310 * elf/tst-tls14.c: Likewise.
7311 * elf/tst-tlsmod11.c: Likewise.
7312 * elf/tst-tlsmod12.c: Likewise.
7313 * elf/tst-tlsmod13.c: Likewise.
7314 * elf/tst-tlsmod13a.c: Likewise.
7315 * elf/tst-tlsmod14a.c: Likewise.
7316 * elf/tst-tlsmod15b.c: Likewise.
7317 * elf/tst-tlsmod16a.c: Likewise.
7318 * elf/tst-tlsmod16b.c: Likewise.
7319 * elf/tst-tlsmod7.c: Likewise.
7320 * elf/tst-tlsmod8.c: Likewise.
7321 * elf/tst-tlsmod9.c: Likewise.
7322 * gmon/gmon.c: Likewise.
7323 * grp/fgetgrent_r.c: Likewise.
7324 * grp/putgrent.c: Likewise.
7325 * hurd/fopenport.c: Likewise.
7326 * include/libc-symbols.h: Likewise.
7327 * include/tls.h: Likewise.
7328 * intl/gettextP.h: Likewise.
7329 * intl/loadinfo.h: Likewise.
7330 * locale/global-locale.c: Likewise.
7331 * locale/localeinfo.h: Likewise.
7332 * mach/devstream.c: Likewise.
7333 * malloc/arena.c: Likewise.
7334 * malloc/set-freeres.c: Likewise.
7335 * misc/err.c: Likewise.
7336 * misc/getttyent.c: Likewise.
7337 * misc/mntent_r.c: Likewise.
7338 * posix/getopt.c: Likewise.
7339 * posix/wordexp.c: Likewise.
7340 * pwd/fgetpwent_r.c: Likewise.
7341 * resolv/Versions: Likewise.
7342 * resolv/res_hconf.c: Likewise.
7343 * shadow/fgetspent_r.c: Likewise.
7344 * shadow/putspent.c: Likewise.
7345 * stdio-common/printf_fphex.c: Likewise.
7346 * stdio-common/tmpfile.c: Likewise.
7347 * stdlib/abort.c: Likewise.
7348 * stdlib/fmtmsg.c: Likewise.
7349 * sunrpc/auth_unix.c: Likewise.
7350 * sunrpc/clnt_perr.c: Likewise.
7351 * sunrpc/clnt_tcp.c: Likewise.
7352 * sunrpc/clnt_udp.c: Likewise.
7353 * sunrpc/clnt_unix.c: Likewise.
7354 * sunrpc/openchild.c: Likewise.
7355 * sunrpc/svc_simple.c: Likewise.
7356 * sunrpc/svc_tcp.c: Likewise.
7357 * sunrpc/svc_udp.c: Likewise.
7358 * sunrpc/svc_unix.c: Likewise.
7359 * sunrpc/xdr.c: Likewise.
7360 * sunrpc/xdr_array.c: Likewise.
7361 * sunrpc/xdr_rec.c: Likewise.
7362 * sunrpc/xdr_ref.c: Likewise.
7363 * sunrpc/xdr_stdio.c: Likewise.
7364
7365 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7366
7367 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7368
7369 2011-07-03 Andreas Jaeger <aj@suse.de>
7370
7371 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7372 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7373 regenerate with gen-libm-tests.pl.
7374
7375 2010-05-12 Petr Baudis <pasky@suse.cz>
7376
7377 [BZ #11589]
7378 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7379 around j0() zero points by switching to j1().
7380 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7381 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7382 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7383 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7384
7385 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7386
7387 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7388 instead of 0.
7389 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7390 instead of 0. .
7391 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7392 Patch in part by Pavel Roskin <proski@gnu.org>.
7393
7394 [BZ #13138]
7395 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7396 realloc.
7397 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7398 Free memory block if necessary.
7399
7400 [BZ #12847]
7401 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7402 be NULL. Don't lock in this case.
7403
7404 2011-09-09 Roland McGrath <roland@hack.frob.com>
7405
7406 * elf/elf.h (ELFOSABI_GNU): New macro.
7407 (ELFOSABI_LINUX): Define to that.
7408
7409 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7410
7411 * string/strncat.c (strncat): Undef the symbol in case it has been
7412 defined in bits/string.h.
7413
7414 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7415
7416 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7417
7418 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7419 link map.
7420
7421 2011-08-17 Andreas Jaeger <aj@suse.de>
7422
7423 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7424
7425 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7426 Ian Lance Taylor <iant@google.com>
7427
7428 * math/libm-test.inc (lround_test): New testcase.
7429 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7430
7431 2011-09-08 Ulrich Drepper <drepper@gmail.com>
7432
7433 * Makefile: Remove support for automatic cvs check-ins.
7434 * Makerules: Likewise.
7435 * config.make.in: Likewise.
7436 * configure.in: Likewise.
7437 * intl/Makefile: Likewise.
7438 * locale/Makefile: Likewise.
7439 * po/Makefile: Likewise.
7440 * posix/Makefile: Likewise.
7441 * sysdeps/gnu/Makefile: Likewise.
7442 * sysdeps/mach/hurd/Makefile: Likewise.
7443 * sysdeps/sparc/sparc32/Makefile: Likewise.
7444
7445 [BZ #13118]
7446 * posix/Makefile (bug-regex32-ENV): Define.
7447 Patch by John Stanley <jpsinthemix@verizon.net>.
7448
7449 * misc/Makefile (headers): Add bits/select2.h.
7450 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7451 * misc/bits/select2.h: New file.
7452 * include/bits/select2.h: New file.
7453 * debug/Makefile (routines): Add fdelt_chk.
7454 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7455 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7456 FD_ISSET.
7457 * debug/fdelt_chk.c: New file.
7458
7459 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7460 * wcsmbs/test-wmemcmp.c: Likewise.
7461 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7462 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7463
7464 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7465
7466 * string/Makefile (strop-tests): Add memcmp.
7467 * string/test-wmemcmp.c: New file.
7468 * string/test-memcmp.c: Add wmemcmp support.
7469
7470 2011-09-08 Roland McGrath <roland@hack.frob.com>
7471
7472 [BZ #13153]
7473 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7474 2011-07-19 change.
7475
7476 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7477 garbage value in a __mach_port_mod_refs call in the cases of the
7478 task-self and thread-self ports.
7479
7480 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7481
7482 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7483
7484 2011-09-08 Andreas Schwab <schwab@redhat.com>
7485
7486 * elf/dl-load.c (lose): Check for non-null L.
7487
7488 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7489
7490 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7491
7492 * elf/dl-libc.c (dlerror_run): Pass back error code from
7493 dl_catch_error.
7494
7495 [BZ #13123]
7496 * elf/dl-load.c (lose): Free l_origin if it is valid.
7497
7498 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7499 names.
7500 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7501 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7502 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7503 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7504 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7505 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7506
7507 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7508
7509 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7510 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7511 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7512 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7513 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7514 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7515 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7516 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7517 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7518 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7519
7520 2011-08-15 Alan Modra <amodra@gmail.com>
7521
7522 [BZ #13092]
7523 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7524 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7525 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7526 ppc_mcount to static-only-routines.
7527 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7528 __mcount_internal.
7529 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7530 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7531
7532 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7533
7534 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7535 for finite and infinity parameters.
7536
7537 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7538
7539 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7540 and add nop instructions for throughput optimization.
7541 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7542
7543 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7544
7545 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7546 aligned copy for power7 with vector-scalar instructions.
7547 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7548
7549 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7550
7551 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7552 AVX check.
7553
7554 2011-09-07 Andreas Schwab <schwab@redhat.com>
7555
7556 [BZ #13144]
7557 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7558 last change.
7559
7560 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7561
7562 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7563 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7564 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7565 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7566 clock_gettime.
7567
7568 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7569
7570 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7571 Forgot to demangle the pointer.
7572
7573 * sysdeps/i386/sysdep.h: Define atom_text_section.
7574 * sysdeps/x86_64/sysdep.h: Likewise.
7575 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7576 section with atom_text_section.
7577 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7578 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7579 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7580 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7581 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7582
7583 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7584 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7585 already be defined. Change to take two parameters and don't assign
7586 result to variable. Adjust all users.
7587 Define INTERNAL_GETTIME if not already defined.
7588 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7589 call.
7590 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7591 HAVE_CLOCK_GETTIME_VSYSCALL.
7592 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7593
7594 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7595 gettimeofday vsyscall, just use time.
7596
7597 2011-09-06 Andreas Schwab <schwab@redhat.com>
7598
7599 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7600 <errno.h>.
7601
7602 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7603
7604 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7605 syscall on x86-64.
7606 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7607 syscall.
7608 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7609 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7610 syscall if possible.
7611
7612 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7613
7614 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7615 e_ident. Don't pass to find_mapsXX.
7616 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7617
7618 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7619
7620 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7621 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7622 * sysdeps/x86_64/multiarch/strchr.S: Update.
7623 Check bit_slow_BSF bit.
7624 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7625 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7626 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7627
7628 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7629
7630 [BZ #13134]
7631 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7632 before glibc 2.15.
7633 (tryshell): Define.
7634 (__spawni): Change last parameter to be flag. Test
7635 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7636 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7637 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7638 * posix/spawni.c: Likewise.
7639 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7640 * posix/spawnp.c: Likewise. Change normal version to use
7641 SPAWN_XFLAGS_USE_PATH.
7642 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7643 SPAWN_XFLAGS_TRY_SHELL.
7644
7645 [BZ #13150]
7646 * posix/glob.h: Remove gcc 1.x support.
7647
7648 [BZ #13068]
7649 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7650
7651 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7652
7653 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7654 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7655 strrchr-sse2-bsf
7656 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7657 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7658 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7659 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7660 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7661 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7662
7663 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7664
7665 * sysdeps/x86_64/wcscmp.S: New file.
7666
7667 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7668 wcscmp-c wcscmp-sse2
7669 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7670 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7671 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7672 * wcsmbs/wcscmp.c: Allow renaming.
7673
7674 2011-09-05 David S. Miller <davem@davemloft.net>
7675
7676 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7677 stack slot, rather than the struct return pointer slot.
7678 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7679 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7681 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7682
7683 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7684
7685 * po/ja.po: Update from translation team.
7686
7687 [BZ #13144]
7688 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7689 kernel in 64-bit binaries.
7690
7691 2011-09-01 David S. Miller <davem@davemloft.net>
7692
7693 * elf/elf.h (HWCAP_SPARC_*): Move to..
7694 * sysdeps/sparc/sysdep.h: this new file and add new values.
7695 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7696 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7697 _DL_HWCAP_COUNT to 24.
7698 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7699 entries.
7700 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7701 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7702 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7703 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7704 instead of magic constants.
7705 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7706
7707 2011-08-31 David S. Miller <davem@davemloft.net>
7708
7709 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7710 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7711 Reimplement to do errno handling inline.
7712 (SYSCALL_ERROR_HANDLER): New macro.
7713 (__SYSCALL_STRING): Do not do errno handling in asm.
7714 (__CLONE_SYSCALL_STRING): Delete.
7715 (__INTERNAL_SYSCALL_STRING): Delete.
7716 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7717 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7718 (PSEUDO): Reimplement to do errno handling inline.
7719 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7720 (SYSCALL_ERROR_HANDLER): New macro.
7721 (__SYSCALL_STRING): Do not do errno handling in asm.
7722 (__CLONE_SYSCALL_STRING): Delete.
7723 (__INTERNAL_SYSCALL_STRING): Delete.
7724 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7725 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7726 i386.
7727 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7728 (inline_syscall*): Add 'err' argument.
7729 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7730 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7731 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7732 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7733
7734 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7735 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7736
7737 2011-08-30 Andreas Schwab <schwab@redhat.com>
7738
7739 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7740
7741 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7742
7743 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7744 directive.
7745
7746 2011-08-24 David S. Miller <davem@davemloft.net>
7747
7748 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7749
7750 2011-08-24 Andreas Schwab <schwab@redhat.com>
7751
7752 * elf/Makefile: Add rules to build and run unload8 test.
7753 * elf/unload8.c: New file.
7754 * elf/unload8mod1.c: New file.
7755 * elf/unload8mod1x.c: New file.
7756 * elf/unload8mod2.c: New file.
7757 * elf/unload8mod3.c: New file.
7758
7759 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7760 it wasn't used.
7761
7762 2011-08-23 David S. Miller <davem@davemloft.net>
7763
7764 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7765 subtract stack bias.
7766 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7767 %sp not %fp in calculations.
7768 (_JMPBUF_UNWINDS_ADJ): Likewise.
7769
7770 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7771 (aio_suspend): Call it to force an exception region around the
7772 AIO_MISC_WAIT() invocation.
7773
7774 2011-08-23 Andreas Schwab <schwab@redhat.com>
7775
7776 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7777 backslash.
7778
7779 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7780
7781 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7782 protection macro.
7783 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7784 and <dl-machine.h>.
7785 (Elf64_FuncDesc): Remove.
7786
7787 2011-08-22 David S. Miller <davem@davemloft.net>
7788
7789 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7790 sigaltstack check, add missing cfi directives.
7791 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7792 missing cfi directives, and sigaltstack handling.
7793
7794 2011-08-16 Andreas Schwab <schwab@redhat.com>
7795
7796 [BZ #11724]
7797 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7798 object is seen twice.
7799 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7800
7801 * elf/Makefile (distribute): Add tst-initorder2.c.
7802 (tests): Add tst-initorder2.
7803 (modules-names): Add tst-initorder2a tst-initorder2b
7804 tst-initorder2c tst-initorder2d. Add rules to build them.
7805 ($(objpfx)tst-initorder2.out): New rule.
7806 * elf/tst-initorder2.c: New file.
7807 * elf/tst-initorder2.exp: New file.
7808
7809 2011-08-22 Andreas Schwab <schwab@redhat.com>
7810
7811 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7812
7813 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7814 dependencies back to end of function.
7815
7816 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7817 $(elfobjdir)/ld.so.
7818
7819 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7820
7821 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7822 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7823 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7824 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7825 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7826 of __vdso_gettimeofday.
7827 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7828 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7829 attribute_hidden.
7830 (_libc_vdso_platform_setup): Remove initialization of
7831 __vdso_gettimeofday and __vdso_time.
7832
7833 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7834
7835 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7836 and fgetc_unlocked.
7837 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7838 getc_unlocked.
7839
7840 * elf/dl-open.c (add_to_global): Report additions to the global scope
7841 for LD_DEBUG=scopes.
7842 (dl_open_worker): Also print scope of newly loaded dependencies.
7843 (_dl_show_scope): Indicate if there is no scope.
7844
7845 [BZ #13114]
7846 * stdio-common/Makefile (tests): Add bug24.
7847 * stdio-common/bug24.c: New file.
7848
7849 2011-08-19 Andreas Jaeger <aj@suse.de>
7850
7851 [BZ #13114]
7852 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7853 non-existant file when using close-on-exec mode.
7854
7855 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7856
7857 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7858 the very first instruction.
7859
7860 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7861 the CFI state in the end.
7862 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7863 inclusion of dl-trampoline.h.
7864 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7865
7866 2011-08-19 Andreas Schwab <schwab@redhat.com>
7867
7868 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7869 expectations for long double.
7870
7871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7872 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7873
7874 2011-08-14 David S. Miller <davem@davemloft.net>
7875
7876 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7877 artificual limit depends upon the system page size.
7878
7879 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7880
7881 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7882 * resolv/Makefile: Define CFLAGS-libresolv.
7883
7884 2011-08-17 Andreas Schwab <schwab@redhat.com>
7885
7886 * nss/makedb.c (compute_tables): Make variables used in nested
7887 function static.
7888
7889 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7890
7891 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7892 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7893 if buffer was too small.
7894
7895 * elf/pldd.c (main): Attach to all threads in the process.
7896 Rewrite /proc handling to use *at functions.
7897
7898 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7899
7900 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7901 specifies first scope to show.
7902 (dl_open_worker): Update callers. Move printing scope of new
7903 object to before the relocation.
7904 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7905 * sysdeps/generic/ldsodefs.h: Update declaration.
7906
7907 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7908 string for the scope number.
7909
7910 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7911
7912 * nscd/servicescache.c (cache_addserv): Make sure written is always
7913 initialized.
7914
7915 2011-08-14 Roland McGrath <roland@hack.frob.com>
7916
7917 * sysdeps/i386/i486/bits/atomic.h
7918 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7919 statement expression, so as to suppress "set but not used" warning.
7920 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7921
7922 * string/strncat.c (STRNCAT): Use prototype definition.
7923
7924 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7925 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7926 -Iprograms here.
7927 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7928 (localedef-modules): Add localedef.
7929 (locale-modules): Add locale.
7930
7931 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7932 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7933 to avoid a warning.
7934
7935 2011-08-14 David S. Miller <davem@davemloft.net>
7936
7937 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7938 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7939
7940 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7941
7942 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7943 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7944 * elf/rtld.c (dl_main): Set l_name of vDSO.
7945 Call _dl_show_scope when DL_DEBUG_SCOPES.
7946 (process_dl_debug): Recognize scopes flag and also set it for all.
7947 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7948 Declare _dl_show_scope.
7949
7950 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7951 (do_dlopen): Pass caller_dlopen to dl_open.
7952 (__libc_dlopen_mode): Initialize caller_dlopen.
7953
7954 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7955 of libc. Make tolower call locale-independent. Optimize a bit by
7956 using isdigit instead of isalnum.
7957 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7958
7959 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7960
7961 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7962 was a dependency or dynamically loaded.
7963
7964 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7965
7966 * intl/l10nflist.c: Allow architecture-specific pop function.
7967 * sysdeps/x86_64/l10nflist.c: New file.
7968
7969 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7970 classification.
7971
7972 2011-08-10 Andreas Schwab <schwab@redhat.com>
7973
7974 * include/dirent.h: Add libc_hidden_proto for scandirat and
7975 scandirat64. Don't declare __scandirat64.
7976 * dirent/scandirat.c: Add libc_hidden_def.
7977 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7978 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7979
7980 2011-08-10 David S. Miller <davem@davemloft.net>
7981
7982 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7983 enum.
7984 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7985 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7986 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7987
7988 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7989
7990 * Versions.def [libc]: Add GLIBC_2.15.
7991 * dirent/Makefile (routines): Add scandirat and scandirat64.
7992 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7993 GLIBC_2.15.
7994 * dirent/dirent.h: Declare scandirat and scandirat64.
7995 * dirent/scandirat.c: New file.
7996 * dirent/scandirat64.c: New file.
7997 * sysdeps/wordsize-64/scandirat.c: New file.
7998 * sysdeps/wordsize-64/scandirat64.c: New file.
7999 * dirent/opendir.c: Define opendirat.
8000 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8001 using scandirat.
8002 * dirent/scandir64.c: Adjust for scandir.c change.
8003 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8004 __scandirat64, and __scandir_cancel_handler.
8005 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8006 additional parameter and use openat instead of open (outside of ld.so).
8007 Add new __opendir as wrapper around __opendirat.
8008 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8009 here without requiring old scandirat implementation.
8010
8011 2011-08-08 Ulrich Drepper <drepper@gmail.com>
8012
8013 * dirent/scandir.c (cancel_handler): Renamed to
8014 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8015 defined. Adjust users.
8016 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8017 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8018
8019 2011-08-04 Ulrich Drepper <drepper@gmail.com>
8020
8021 * string/test-string.h (IMPL): Use __STRING to expand name and then
8022 stringify it.
8023
8024 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8025 of cleanups.
8026
8027 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8028
8029 * string/Makefile: Update.
8030 (strop-tests): Append strncat.
8031 * string/test-wcscmp.c: New file.
8032 New comprehensive test for wcscmp.
8033 * string/test-strcmp.c: Update.
8034 (WIDE): New define.
8035
8036 2011-07-22 Andreas Schwab <schwab@redhat.com>
8037
8038 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8039 line.
8040
8041 2011-07-26 Andreas Schwab <schwab@redhat.com>
8042
8043 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8044 encoding to ACE if AI_IDN.
8045
8046 2011-08-01 Jakub Jelinek <jakub@redhat.com>
8047
8048 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8049 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8050
8051 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8052
8053 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8054 Fix overflow bug in strncat.
8055 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8056
8057 * string/test-strncat.c: Update.
8058 Add new tests for checking overflow bugs.
8059
8060 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8061
8062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8063 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8064 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8065 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8066 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8067 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8068 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8069 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8070 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8071
8072 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8073 (USE_AS_STRCAT): Define.
8074 Add strcat and strncat support.
8075 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8076
8077 2011-07-25 Andreas Schwab <schwab@redhat.com>
8078
8079 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8080 __n bigger than INT_MAX+1.
8081 (__strncmp_g): Likewise.
8082
8083 2011-07-23 Ulrich Drepper <drepper@gmail.com>
8084
8085 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8086 * libio/stido.h: Likewise.
8087
8088 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8089 (AF_NFC): Define.
8090 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8091 (AF_NFC): Define.
8092
8093 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8094 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8095 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8096 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8097 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8098
8099 [BZ #13021]
8100 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8101 installed.
8102
8103 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8104 typo.
8105 (_dl_x86_64_save_sse): Likewise.
8106
8107 2011-07-22 Ulrich Drepper <drepper@gmail.com>
8108
8109 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8110 OSXSAVE.
8111 (_dl_x86_64_save_sse): Likewise.
8112
8113 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8114
8115 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8116
8117 2011-07-21 Andreas Schwab <schwab@redhat.com>
8118
8119 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8120 change.
8121 (_dl_x86_64_save_sse): Use correct AVX check.
8122
8123 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8124
8125 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8126 bug in strncpy/strncat.
8127 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8128
8129 2011-07-21 Ulrich Drepper <drepper@gmail.com>
8130
8131 * string/tester.c (test_strcat): Add tests for different alignments
8132 of source and destination.
8133 (test_strncat): Likewise.
8134
8135 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8136
8137 [BZ #12852]
8138 * posix/glob.c (glob): Check passed in values before using them in
8139 expressions to avoid some overflows.
8140 (glob_in_dir): Likewise.
8141
8142 [BZ #13007]
8143 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8144 check for AVX enablement so that we don't crash with old kernels and
8145 new hardware.
8146 * elf/tst-audit4.c: Add same checks here.
8147 * elf/tst-audit6.c: Likewise.
8148
8149 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8150
8151 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8152
8153 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8154
8155 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8156
8157 * po/cs.po: Update from translation team.
8158 * po/bg.po: Likewise.
8159
8160 2011-07-12 Marek Polacek <mpolacek@redhat.com>
8161
8162 * misc/sys/cdefs.h: Add support for const attribute.
8163 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8164 to gnu_dev_{major,minor,makedev} functions.
8165
8166 2011-07-20 Marek Polacek <mpolacek@redhat.com>
8167
8168 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8169
8170 2011-07-20 Andreas Schwab <schwab@redhat.com>
8171
8172 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8173 strlen results.
8174
8175 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8176
8177 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8178 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8179 register in order to avoid conflicts with the soft frame pointer
8180 being held in r11 when necessary.
8181 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8182 (INTERNAL_VSYSCALL_NCS): Likewise.
8183
8184 2011-07-14 Marek Polacek <mpolacek@redhat.com>
8185
8186 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8187 * elf/dl-fini.c (_dl_fini): Adjust caller.
8188 * elf/dl-close.c (_dl_close_worker): Likewise.
8189 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8190
8191 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8192
8193 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8194 "aux_cache->nlibs < 0".
8195
8196 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8197 in the reload-count case.
8198
8199 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8200
8201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8202 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8203 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8204 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8205 * sysdeps/x86_64/multiarch/strcat.S: New file.
8206 * sysdeps/x86_64/multiarch/strncat.S: New file.
8207 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8208 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8209 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8210 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8211 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8212 (USE_AS_STRCAT): Define.
8213 Add strcat and strncat support.
8214 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8215 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8216 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8217 * string/strncat.c: Update.
8218 (USE_AS_STRNCAT): Define.
8219 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8220 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8221 and i7.
8222 * sysdeps/x86_64/multiarch/init-arch.h
8223 (bit_Prefer_PMINUB_for_stringop): New.
8224 (index_Prefer_PMINUB_for_stringop): Likewise.
8225 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8226 bit_Prefer_PMINUB_for_stringop.
8227
8228 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8229
8230 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8231 buffer64.
8232 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8233 of casting of buffer.
8234 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8235 buffer32 and buffer64.
8236 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8237 writes instead of casting of buffer.
8238 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8239 buffer32.
8240 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8241 casting of buffer.
8242
8243 2011-07-19 Andreas Schwab <schwab@redhat.com>
8244
8245 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8246
8247 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8248
8249 * nscd/nscd.c (termination_handler): Don't do anything for a database
8250 if it has not yet been initialized.
8251
8252 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8253
8254 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8255
8256 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8257
8258 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8259
8260 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8261
8262 * po/nl.po: Update from translation team.
8263 * po/sv.po: Likewise.
8264
8265 2011-07-16 Roland McGrath <roland@hack.frob.com>
8266
8267 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8268 now disallowed by GCC.
8269
8270 * configure.in (use-default-link): Default to yes if a test -shared
8271 link meets our qualifications.
8272 * configure: Regenerated.
8273
8274 * config.make.in (output-format): New variable.
8275 * configure.in: Check for ld --print-output-format support.
8276 * configure: Regenerated.
8277 * Makerules ($(common-objpfx)format.lds)
8278 [$(output-format) != unknown]: Just use $(output-format),
8279 instead of the linker-script munging.
8280
8281 2011-07-14 Roland McGrath <roland@hack.frob.com>
8282
8283 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8284 of $(common-objpfx)shlib.lds.
8285 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8286
8287 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8288 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8289
8290 * configure.in (-z relro check): Adjust test code to add a large
8291 writable data section after it.
8292 * configure: Regenerated.
8293
8294 2011-07-11 Roland McGrath <roland@hack.frob.com>
8295
8296 * configure.in (-z relro check): Fix test code to make the variable
8297 truly const.
8298 * configure: Regenerated.
8299
8300 2011-07-11 Ulrich Drepper <drepper@gmail.com>
8301
8302 * nscd/nscd.h (struct traced_file): Define.
8303 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8304 elements. Add traced_files.
8305 (inotify_fd): Declare.
8306 (register_traced_file): Declare.
8307 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8308 (inotify_fd): Export.
8309 (resolv_conf_descr): Remove.
8310 (nscd_init): Move inotify descriptor creation to main.
8311 Don't register files for notification here.
8312 (register_traced_file): New function.
8313 (invalidate_cache): Don't use reset_res to determine whether to call
8314 res_init, go through the list of registered files.
8315 (main_loop_poll): The inotify descriptors are now stored in the
8316 structures for the traced files.
8317 (main_loop_epoll): Likewise
8318 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8319 to __nss_disable_nscd.
8320 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8321 for a database anymore. Check the records for all the registered
8322 files instead.
8323 * nss/Makefile (libnss_files-routines): Add files-init.
8324 (libnss_db-routines): Add db-init.
8325 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8326 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8327 * nss/nss_db/db-init.c: New file.
8328 * nss/nss_files/files-init.c: New file.
8329 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8330 __nss_lookup_function.
8331 (__nss_lookup_function): Call nss_load_library.
8332 (nss_load_all_libraries): New function.
8333 (__nss_disable_nscd): Take parameter with callback function for files
8334 to register. Set is_nscd. Load all the DSOs for the NSS modules
8335 used for the cached services.
8336 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8337 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8338 options for features to all the files in nscd.
8339
8340 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8341
8342 2011-07-10 Roland McGrath <roland@hack.frob.com>
8343
8344 * csu/elf-init.c (__libc_csu_init): Comment typo.
8345
8346 2011-07-09 Ulrich Drepper <drepper@gmail.com>
8347
8348 * po/pl.po: Update from translation team.
8349 * po/ja.po: Likewise.
8350 * po/ru.po: Likewise.
8351 * po/ko.po: Likewise.
8352 * po/fr.po: Likewise.
8353
8354 2011-07-09 Roland McGrath <roland@hack.frob.com>
8355
8356 * configure.in (.ctors/.dtors header and trailer check):
8357 Use an empirical test on a built program.
8358 * configure: Regenerated.
8359
8360 * configure.in (-z relro check): Use an empirical test on a built DSO.
8361 Detect, but do not require, on ia64.
8362 * configure: Regenerated.
8363
8364 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8365 Update tests that use readelf to use $READELF instead.
8366 * configure: Regenerated.
8367
8368 2011-07-08 Ulrich Drepper <drepper@gmail.com>
8369
8370 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8371 if the result is not used.
8372
8373 2011-07-05 Andreas Jaeger <aj@suse.de>
8374
8375 [BZ#9696]
8376 * stdlib/tst-strtod.c: Add testcase.
8377
8378 2011-07-07 Ulrich Drepper <drepper@gmail.com>
8379
8380 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8381 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8382 The latter has a higher limit. Take additional parameter to pass to
8383 the new function.
8384 (__pathconf): Pass file to __statfs_link_max.
8385 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8386 __statfs_link_max.
8387 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8388 __statfs_link_max.
8389
8390 [BZ #12868]
8391 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8392 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8393 Handle Lustre.
8394 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8395 (__statfs_filesize_max): Likewise.
8396 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8397
8398 2011-07-05 Andreas Jaeger <aj@suse.de>
8399
8400 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8401
8402 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8403
8404 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8405 `status' variable.
8406 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8407 Likewise.
8408
8409 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8410
8411 * Makefile (strop-tests): Add strncat.
8412 * string/test-strncat.c: New file.
8413
8414 2011-06-30 Marek Polacek <mpolacek@redhat.com>
8415
8416 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8417
8418 2011-06-21 Andreas Jaeger <aj@suse.de>
8419
8420 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8421 Copy rule from iconvdata/Makefile.
8422
8423 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8424
8425 [BZ #12922]
8426 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8427 but no long options are defined, just return 'W'.
8428
8429 2011-06-22 Marek Polacek <mpolacek@redhat.com>
8430
8431 [BZ #9696]
8432 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8433
8434 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8435
8436 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8437 netgroups to read.
8438 (innetgr): Likewise.
8439
8440 2011-07-05 Roland McGrath <roland@hack.frob.com>
8441
8442 * config.make.in (install_root): Default to $(DESTDIR).
8443
8444 2011-07-05 Ulrich Drepper <drepper@gmail.com>
8445
8446 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8447
8448 2011-07-02 Roland McGrath <roland@hack.frob.com>
8449
8450 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8451
8452 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8453 containing directory rather than embedding absolute directory names.
8454
8455 * scripts/check-local-headers.sh: Rewritten using awk.
8456 Match by word, not by line. Print error messages for matches.
8457 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8458
8459 * Makerules [shlib-lds-flags empty]:
8460 ($(common-objpfx)libc_pic.opts): New target.
8461 ($(common-objpfx)libc_pic.os.clean): New target.
8462 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8463
8464 * config.make.in (OBJCOPY): New variable.
8465 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8466 * configure: Regenerated.
8467
8468 * config.make.in (use-default-link): New variable.
8469 * configure.in (use_default_link): Grok --with-default-link to set it.
8470 * configure: Regenerated.
8471 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8472 (shlib-lds, shlib-lds-flags): Define to empty.
8473
8474 * Makerules (shlib-lds): New variable.
8475 (shlib-lds-flags): New variable.
8476 (build-shlib, build-moduile, build-module-asneeded): Use it.
8477 ($(common-objpfx)libc.so): Use $(shlib-lds).
8478 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8479 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8480
8481 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8482 DT_FLAGS/DT_FLAGS_1 with zero flags.
8483
8484 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8485 linker script munging.
8486
8487 2011-07-02 Ulrich Drepper <drepper@gmail.com>
8488
8489 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8490 as 128-bit value.
8491 * crypt/sha512.c (sha512_process_block): Perform total addition using
8492 128-bit if possible.
8493 (__sha512_finish_ctx): Likewise.
8494 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8495 as 64-bit value.
8496 * crypt/sha256.c (SWAP64): Define.
8497 (sha256_process_block): Perform total addition using 64-bit if
8498 possible.
8499 (__sha256_finish_ctx): Likewise.
8500
8501 2011-07-01 Ulrich Drepper <drepper@gmail.com>
8502
8503 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8504 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8505 * nscd/hstcache.c (cache_addhst): Likewise.
8506 * nscd/grpcache.c (cache_addgr): Likewise.
8507 * nscd/aicache.c (addhstaiX): Likewise
8508 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8509
8510 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
8511
8512 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8513 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8514 * nscd/hstcache.c (cache_addhst): Likewise.
8515 * nscd/grpcache.c (cache_addgr): Likewise.
8516 * nscd/aicache.c (addhstaiX): Likewise
8517
8518 2011-07-01 Andreas Schwab <schwab@redhat.com>
8519
8520 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8521 domain only when needed.
8522
8523 2011-06-30 Andreas Schwab <schwab@redhat.com>
8524
8525 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8526 is always restored.
8527
8528 2011-06-29 Ulrich Drepper <drepper@gmail.com>
8529
8530 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8531 are re-adding the entry.
8532 * nscd/servicescache.c (cache_addserv): Likewise.
8533
8534 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8535
8536 * sysdeps/generic/dl-irel.h: fix protection against multiple
8537 inclusions.
8538 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8539
8540 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8541
8542 [BZ #12935]
8543 * malloc/memusage.sh: Fix quoting in message.
8544 * debug/xtrace.sh: Likewise.
8545
8546 * configure.in: Remove support for --experimental-malloc option, make
8547 it the default.
8548 * config.make.in: Likewise.
8549 * malloc/Makefile: Likewise.
8550
8551 2011-06-27 Andreas Schwab <schwab@redhat.com>
8552
8553 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8554 two-byte characters.
8555
8556 2011-06-27 Roland McGrath <roland@hack.frob.com>
8557
8558 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8559 AC_CACHE_CHECK invocation.
8560 * configure: Regenerated.
8561
8562 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8563
8564 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8565
8566 [BZ #12350]
8567 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8568 bit from old_res_options.
8569
8570 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8571
8572 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8573 value type for setfct.
8574
8575 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8576
8577 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8578 __gettimeofday instead of gettimeofday.
8579
8580 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8581
8582 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8583
8584 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8585
8586 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8587
8588 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8589 info.
8590
8591 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8592
8593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8594 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8595 strcpy-sse2-unaligned strncpy-sse2-unaligned
8596 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8597 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8598 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8599 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8600 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8601 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8602 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8603 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8604 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8605 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8606 (STRCPY): Support SSE2 and SSSE3 versions.
8607
8608 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8609
8610 [BZ #12874]
8611 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8612 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8613 kernels which artificially limit size of requests.
8614
8615 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8616
8617 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8618 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8619 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8620 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8621 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8622 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8623 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8624 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8625 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8626 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8627 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8628 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8629 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8630 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8631 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8633 Enable unaligned load optimization for Intel Core i3, i5 and i7
8634 processors.
8635 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8636 Define.
8637 (index_Fast_Unaligned_Load): Define.
8638 (HAS_FAST_UNALIGNED_LOAD): Define.
8639
8640 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8641
8642 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8643
8644 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8645
8646 [BZ #12907]
8647 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8648 until it is clear that the information is realy needed.
8649 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8650
8651 2011-06-22 Andreas Schwab <schwab@redhat.com>
8652
8653 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8654
8655 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8656
8657 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8658 /sys/devices/system/cpu/online if it is usable.
8659
8660 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8661 reading the information from the /proc filesystem to once a second.
8662
8663 2011-06-21 Andreas Jaeger <aj@suse.de>
8664
8665 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8666 NULL after inclusion of kernel headers.
8667
8668 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8669
8670 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8671 calls to internal_setent.
8672
8673 [BZ #12885]
8674 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8675 addresses using gethostbyname4_r ignore IPv4 addresses.
8676
8677 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8678 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8679
8680 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8681
8682 2011-06-20 David S. Miller <davem@davemloft.net>
8683
8684 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8685 inclusions.
8686 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8687
8688 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8689 (elf_irel): Use it.
8690 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8691 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8692 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8693 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8694 * sysdeps/x86_64/dl-irel.h: Likewise.
8695
8696 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8697 * elf/dl-sym.c: Likewise.
8698
8699 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8700
8701 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8702 need to dereference resplen2.
8703
8704 2011-06-14 Andreas Schwab <schwab@redhat.com>
8705
8706 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8707
8708 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8709
8710 * Makeconfig: Define vardbdir and inst_vardbdir.
8711 * nss/Makefile: Add rules to install db-Makefile.
8712
8713 * nss/nss_db/db-XXX.c: Cleanup.
8714
8715 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8716 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8717 GLIBC_PRIVATE.
8718 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8719 * nss/makedb.c: Implement -g option to specify that value strings
8720 are generated and should not be added to table iterated over for
8721 get*ent calls.
8722 * nss/nss_db/db-initgroups.c: New file.
8723
8724 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8725 interface.
8726
8727 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8728 (internal_getgrouplist): Adjust to name change.
8729 Update use_initgroups_entry if this is not the first call.
8730 * nss/databases.def: Add initgroups entry.
8731
8732 * nss/makedb.c (compute_tables): Check result of multiple hash table
8733 sizes to minimize maximum chain length.
8734
8735 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8736
8737 * Versions.def: Add entry for libnss_db.
8738 * shlib-versions: Likewise.
8739 * nss/Makefile: Add rules to build libnss_db.
8740 * nss/Versions: Add libnss_db information. Organize libnss_files
8741 entries better.
8742 * nss/db-Makefile: Add gshadow support. Change rules for the new
8743 makedb progra. Some minor improvements to generate smaller files.
8744 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8745 here from...
8746 * nss/makedb.c: ...here.
8747 Improve database format to be smaller and require less memory at
8748 runtime.
8749 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8750 db anymore.
8751 * nss/nss_db/db-netgrp.c: Likewise.
8752 * nss/nss_db/db-open.c: Likewise.
8753 * nss/nss_files/flies-XXX.x: Adjust comments.
8754 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8755 * nss/nss_files/files-grp.c: Likewise.
8756 * nss/nss_files/files-hosts.c: Likewise.
8757 * nss/nss_files/files-network.c: Likewise.
8758 * nss/nss_files/files-proto.c: Likewise.
8759 * nss/nss_files/files-pwd.c: Likewise.
8760 * nss/nss_files/files-rpc.c: Likewise.
8761 * nss/nss_files/files-service.c: Likewise.
8762 * nss/nss_files/files-sgrp.c: Likewise.
8763 * nss/nss_files/files-spwd.c: Likewise.
8764 * nss/nss_db/db-alias.c: Removed.
8765 * nss/nss_db/dummy-db.h: Removed.
8766
8767 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8768
8769 * nss/makedb.c: Rewritten to not use database library.
8770 * nss/Makefile: Update to build new makedb program.
8771
8772 2011-06-14 Andreas Jaeger <aj@suse.de>
8773
8774 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8775 memset declaration.
8776
8777 2011-06-10 Andreas Schwab <schwab@redhat.com>
8778
8779 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8780 tmpbuf.
8781
8782 2011-06-10 Roland McGrath <roland@hack.frob.com>
8783
8784 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8785 * elf/Makefile ($(objpfx)ld.so): Likewise.
8786
8787 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8788 Don't list ld.so twice in dependencies.
8789
8790 * posix/bug-regex31.c: Include <stdlib.h>.
8791
8792 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8793
8794 * nis/nss_compat/compat-spwd.c
8795 (getspent_next_nss_netgr): Remove unused variable.
8796 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8797
8798 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8799 nonmembers" output to use the right array.
8800
8801 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8802
8803 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8804
8805 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8806 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8807 * catgets/gencat.c (read_input_file): Likewise.
8808 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8809
8810 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8811 variable definition inside #if's controlling its use.
8812
8813 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8814
8815 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8816
8817 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8818
8819 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8820 unreachable code.
8821
8822 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8823
8824 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8825 * configure: Regenerated.
8826
8827 * Makerules: Revert last change.
8828 * elf/Makefile: Likewise.
8829
8830 2011-06-09 Roland McGrath <roland@hack.frob.com>
8831
8832 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8833 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8834 (reloc-link): Likewise.
8835
8836 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8837
8838 * elf/Makefile: Add rules to build pldd.
8839 * elf/pldd.c: New file.
8840 * elf/pldd-xx.c: New file.
8841
8842 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8843
8844 * version.h: Update for 2.15 development version.
8845
8846 2011-06-07 David S. Miller <davem@davemloft.net>
8847
8848 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8849 ifuncs.
8850 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8851 elf_machine_lazy_rel): Likewise.
8852 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8853 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8854 elf_machine_lazy_rel): Likewise.
8855 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8856 dl_hwcap via passed in argument.
8857 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8858 Likewise.
8859
8860 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8861
8862 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8863
8864 2011-06-06 Roland McGrath <roland@hack.frob.com>
8865
8866 [BZ #12849]
8867 * manual/fdl-1.1.texi: New file, verbatim from:
8868 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8869 * manual/lgpl-2.1.texi: New file, verbatim from:
8870 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8871 * manual/Makefile (licenses): New variable, list those new file names.
8872 (texis): Use it.
8873 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8874
8875 * manual/fdl.texi: File removed.
8876 * manual/lesser.texi: File removed.
8877 * manual/libc.texinfo (Copying, Documentation License):
8878 Use new @include file names, put @appendix directive before @include.
8879
8880 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8881
8882 [BZ #12841]
8883 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8884 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8885 (mq_open): Add __NTH.
8886
8887 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8888
8889 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8890 Assume Intel Core i3/i5/i7 processor if AVX is available.
8891
8892 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8893
8894 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8895 typo.
8896
8897 2011-05-31 Andreas Schwab <schwab@redhat.com>
8898
8899 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8900 memory. Use alloca_account. Fix memory leak when retrying.
8901
8902 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8903
8904 * version.h (RELEASE): Bump for 2.14 release.
8905 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8906
8907 * config.make.in (RANLIB): Remove entry.
8908
8909 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8910
8911 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8912 (libc.pot): Work around missing support for .ksh extension in xgettext.
8913
8914 [BZ #12684]
8915 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8916 if both request failed.
8917 (send_dg): In case of server errors clear resplen or *resplen2.
8918
8919 [BZ #12454]
8920 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8921 when there are multiple maps.
8922 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8923 (_dl_fini): Remove test here.
8924
8925 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8926
8927 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8928
8929 [BZ #12350]
8930 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8931 bit from old_res_options.
8932 (gaih_inet): Likewise.
8933
8934 [BZ #11099]
8935 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8936 as signed.
8937
8938 * resolv/res_init.c (res_setoptions): Make the code more compact.
8939
8940 [BZ #11558]
8941 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8942 set RES_USEVC.
8943
8944 [BZ #11634]
8945 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8946
8947 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8948
8949 [BZ #11781]
8950 * malloc/malloc.h: Declare malloc hook variables as volatile.
8951
8952 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8953 in last patch.
8954
8955 [BZ #11799]
8956 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8957 raise in the comment.
8958 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8959 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8960 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8961
8962 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8963
8964 [BZ #12811]
8965 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8966 grow the buffers more if it already has to be sufficient.
8967 (build_wcs_upper_buffer): Likewise.
8968 * posix/regexec.c (check_matching): Likewise.
8969 (clean_state_log_if_needed): Likewise.
8970 (extend_buffers): Don't enlarge buffers beyond size of the input
8971 buffer.
8972 Patches mostly by Emil Wojak <emil@wojak.eu>.
8973 * posix/bug-regex32.c: New file.
8974 * posix/Makefile (tests): Add bug-regex32.
8975
8976 * locale/findlocale.c (_nl_find_locale): Return right away if
8977 _nl_explode_name failed.
8978 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8979
8980 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8981
8982 * debug/xtrace.sh: Unify messages.
8983 * malloc/memusage.sh: Likewise.
8984
8985 [BZ #12813]
8986 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8987 time symbol from vDSO. Substitute with vsyscall if not available.
8988 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8989 __vdso_time.
8990
8991 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8992 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8993 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8994 Add sendmmsg and internal_sendmmsg.
8995 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8996 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8997 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8998
8999 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9000 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9001 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9002
9003 2011-05-27 Ulrich Drepper <drepper@gmail.com>
9004
9005 [BZ #12813]
9006 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9007 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9008 available.
9009 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9010 __vdso_getcpu.
9011
9012 [BZ #12814]
9013 * iconvdata/Makefile (tests): Add bug-iconv9.
9014 * iconvdata/bug-iconv9.c: New file.
9015
9016 2011-05-27 Andreas Schwab <schwab@redhat.com>
9017
9018 [BZ #12814]
9019 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9020
9021 2011-05-25 Jakub Jelinek <jakub@redhat.com>
9022
9023 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9024 (struct user_regs_struct): Change intcs field back to cs.
9025
9026 2011-05-25 Ulrich Drepper <drepper@gmail.com>
9027
9028 * po/ja.po: Update from translation team.
9029
9030 2011-05-23 Ulrich Drepper <drepper@gmail.com>
9031
9032 [BZ #12795]
9033 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9034 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9035
9036 2011-05-20 Andreas Schwab <schwab@redhat.com>
9037
9038 * stdlib/longlong.h: Update from GCC.
9039
9040 2011-05-23 Andreas Schwab <schwab@redhat.com>
9041
9042 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9043 parameter name.
9044 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9045 Add parameter name.
9046 (__sysconf): Pass it down.
9047
9048 2011-05-22 Ulrich Drepper <drepper@gmail.com>
9049
9050 [BZ #12671]
9051 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9052 some situations.
9053 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9054 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9055 add in in __libc_use_alloca calls. Adjust callers.
9056 (glob): Use malloc in some situations.
9057
9058 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9059 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9060 pltexit.
9061
9062 2011-05-21 Ulrich Drepper <drepper@gmail.com>
9063
9064 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9065 and CLOCK_BOOTTIME_ALARM.
9066
9067 [BZ #12782]
9068 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9069 is returned.
9070
9071 * string/_strerror.c (__strerror_r): Print negative errors as signed
9072 numbers.
9073
9074 [BZ #12777]
9075 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9076 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9077 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9078
9079 * configure.in: Fix typo in redirection and correct removal of test
9080 files in two cases.
9081
9082 [BZ #12788]
9083 * locale/setlocale.c (new_composite_name): Fix test to check for
9084 identical name of all categories.
9085
9086 [BZ #12792]
9087 * libio/filedoalloc.c (local_isatty): New function.
9088 (_IO_file_doallocate): Use local_isatty.
9089 * stdio-common/perror.c (perror): In case a new stream is used
9090 forward the stream error.
9091 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9092 error flag.
9093
9094 2011-05-20 Ulrich Drepper <drepper@gmail.com>
9095
9096 [BZ #11869]
9097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9098 alloca.
9099 * include/alloca.h (extend_alloca_account): Define.
9100
9101 [BZ #11857]
9102 * posix/regex.h: Fix comments with documentation of user-accessible
9103 fields after compilation and describe correct free'ing of pattern
9104 after re_compile_pattern.
9105 Patch by Reuben Thomas <rrt@sc3d.org>.
9106
9107 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9108
9109 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9110 and -mno-altivec to prevent the compiler from using Altivec and/or
9111 VSX instructions when the corresponding registers are not available.
9112
9113 2011-05-19 Andreas Schwab <schwab@redhat.com>
9114
9115 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9116
9117 2011-05-19 Ulrich Drepper <drepper@gmail.com>
9118
9119 * libio/freopen.c (freopen): Use __dup2, not dup2.
9120 * libio/freopen64.c (freopen64): Likewise.
9121
9122 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9123
9124 [BZ #12775]
9125 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9126 * math/Makefile (tests): Add test-powl.
9127 (CFLAGS-test-powl.c): Define.
9128 * math/test-powl.c: New file.
9129
9130 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9131
9132 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9133
9134 2011-05-17 Ulrich Drepper <drepper@gmail.com>
9135
9136 [BZ #11837]
9137 * iconvdata/gb18030.c: Update to GB18020-2005.
9138
9139 2011-05-16 Ulrich Drepper <drepper@gmail.com>
9140
9141 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9142 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9143 Patch by Aharon Robbins <arnold@skeeve.com>.
9144
9145 [BZ #11892]
9146 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9147 on the stack.
9148
9149 [BZ #11895]
9150 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9151 through underflows.
9152
9153 [BZ #12766]
9154 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9155 point to strings before performing equality test for error_one_per_line
9156 mode.
9157
9158 [BZ #11697]
9159 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9160
9161 [BZ #11820]
9162 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9163 (struct user_fpregs_struct): Avoid __uint*_t types.
9164
9165 [BZ #6420]
9166 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9167 symbol info. Use it instead of calling _dl_addr locally.
9168 (lock_and_info): New function.
9169 (tr_freehook): Call lock_and_info and pass symbol info as additional
9170 parameter to tr_where.
9171 (tr_mallochook): Likewise.
9172 (tr_reallochook): Likewise.
9173 (tr_memalignhook): Likewise.
9174
9175 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9176 used and couldn't be at all thread-safe.
9177
9178 2011-05-15 Ulrich Drepper <drepper@gmail.com>
9179
9180 * libio/freopen.c (freopen): Don't close old file descriptor
9181 before the new one is opened. Instead dup the new file descriptor
9182 to the old one after the new stream is created.
9183 * libio/freopen64.c (freopen64): Likewise.
9184 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9185 * libio/fileops.c (_IO_new_file_close_it): Handle new
9186 _IO_FLAGS2_NOCLOSE flag.
9187 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9188 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9189 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9190 _IO_FLAGS2_NOCLOSE flag.
9191 * include/unistd.h: Add hidden_proto for dup3.
9192 Define __have_dup3.
9193 * io/dup3.c: Define hidden symbol.
9194 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9195
9196 [BZ #7101]
9197 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9198 when an incomplete long option is used.
9199 * posix/tst-getopt_long1.c: New file.
9200 * posix/Makefile (tests): Add tst-getopt_long1.
9201
9202 [BZ #10138]
9203 * scripts/config.guess: Update from autoconf-2.68.
9204 * scripts/config.sub: Likewise.
9205
9206 [BZ #10157]
9207 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9208 tests into ...
9209 (has_cpuclock): ...this. New function.
9210 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9211 macro here based on has_cpuclock code.
9212
9213 [BZ #10149]
9214 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9215 First byte (not low byte) is now always NUL.
9216 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9217
9218 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9219 Use non-cancelable interfaces.
9220
9221 [BZ #9809]
9222 * locale/iso-639.def: Add entry for Sorani.
9223
9224 [BZ #11901]
9225 * include/stdlib.h: Move include protection to the right place.
9226 Define abort_msg_s. Declare __abort_msg with it.
9227 * stdlib/abort.c (__abort_msg): Adjust type.
9228 * assert/assert.c (__assert_fail_base): New function. Majority
9229 of code from __assert_fail. Allocate memory for __abort_msg with
9230 mmap.
9231 (__assert_fail): Now call __assert_fail_base.
9232 * assert/assert-perr.c: Remove bulk of implementation. Use
9233 __assert_fail_base.
9234 * include/assert.hL Declare __assert_fail_base.
9235 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9236 mmap.
9237 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9238
9239 2011-05-14 Ulrich Drepper <drepper@gmail.com>
9240
9241 [BZ #11952]
9242 [BZ #12453]
9243 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9244 until all modules are registered in the DTV.
9245 * elf/Makefile: Add rules to build and run tst-tls19.
9246 * elf/tst-tls19.c: New file.
9247 * elf/tst-tls19mod1.c: New file.
9248 * elf/tst-tls19mod2.c: New file.
9249 * elf/tst-tls19mod3.c: New file.
9250 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9251
9252 [BZ #12083]
9253 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9254 correctly.
9255
9256 [BZ #12601]
9257 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9258 two-byte sequence errors.
9259 * iconvdata/Makefile (tests): Add bug-iconv8.
9260 * iconvdata/bug-iconv8.c: New file.
9261
9262 [BZ #12626]
9263 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9264 buf2 definition.
9265
9266 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9267
9268 [BZ #12432]
9269 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9270 (dummy_getcfa): New function.
9271 (init): Get _Unwind_GetCFA address, use dummy if not found.
9272 (backtrace_helper): In recursion check, also check whether CFA changes.
9273 (__backtrace): Completely initialize arg.
9274
9275 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9276 storing incomplete byte sequence in state object. Avoid testing for
9277 guaranteed too small input if we know there is enough data available.
9278
9279 2011-05-11 Andreas Schwab <schwab@redhat.com>
9280
9281 * Makeconfig (+link-pie): Indent.
9282 * Rules (binaries-pie): Define if $(have-fpie) and
9283 $(build-shared).
9284 (binaries-shared): Also filter out $(binaries-pie).
9285 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9286 * nscd/Makefile (others-pie): Add nscd.
9287 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9288 ($(objpfx)nscd): Remove command override.
9289 * login/Makefile (others-pie): Add pt_chown.
9290 ($(objpfx)pt_chown): Remove command override.
9291 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9292 remove command overrides.
9293
9294 2011-05-13 Ulrich Drepper <drepper@gmail.com>
9295
9296 * libio/tst_putwc.c: Fix error messages.
9297
9298 [BZ #12724]
9299 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9300 currently writing and seek to current position when not.
9301 * libio/Makefile (tests): Add bug-fclose1.
9302 * libio/bug-fclose1.c: New file.
9303
9304 2011-05-12 Ulrich Drepper <drepper@gmail.com>
9305
9306 [BZ #12511]
9307 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9308 don't set DF_1_NODELETE here.
9309 (do_lookup_x): When entering new entry test for copy relocation
9310 and if necessary set DF_1_NODELETE flag.
9311 * elf/tst-unique4.cc: New file.
9312 * elf/tst-unique4.h: New file.
9313 * elf/tst-unique4lib.cc: New file.
9314 * elf/Makefile: Add rules to build and run tst-unique4.
9315 Patch by Piotr Bury <pbury@goahead.com>.
9316
9317 2011-05-11 Ulrich Drepper <drepper@gmail.com>
9318
9319 [BZ #12052]
9320 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9321
9322 [BZ #12625]
9323 * misc/mntent_r.c (addmntent): Flush the stream after the output
9324
9325 [BZ #12393]
9326 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9327 (is_trusted_path_normalize): Skip initial colon. Append slash
9328 to empty buffer. Duplicate is_trusted_path code but allow
9329 constructed patch to be prefix.
9330 (is_dst): Allow $ORIGIN followed by /.
9331 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9332 Correct testing of result of is_trusted_path_normalize
9333 (decompose_rpath): Fix warning.
9334
9335 2011-05-10 Ulrich Drepper <drepper@gmail.com>
9336
9337 [BZ #11257]
9338 * grp/initgroups.c (internal_getgrouplist): When we found the service
9339 list through the initgroups entry in nsswitch.conf do not always
9340 continue on a successful lookup. Don't always use the
9341 __nss_group_database value if it is set.
9342 * nss/nsswitch.conf (initgroups): Change action for successful db
9343 lookup to continue for compatibility.
9344
9345 2011-05-09 Ulrich Drepper <drepper@gmail.com>
9346
9347 [BZ #11532]
9348 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9349 and CP774 modules.
9350 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9351 and CP774 modules.
9352 * iconvdata/tst-tables.sh: Likewise.
9353 * iconvdata/cp770.c: New file.
9354 * iconvdata/cp771.c: New file.
9355 * iconvdata/cp772.c: New file.
9356 * iconvdata/cp773.c: New file.
9357 * iconvdata/cp774.c: New file.
9358 * iconvdata/testdata/CP770: New file.
9359 * iconvdata/testdata/CP770..UTF8: New file.
9360 * iconvdata/testdata/CP771: New file.
9361 * iconvdata/testdata/CP771..UTF8: New file.
9362 * iconvdata/testdata/CP772: New file.
9363 * iconvdata/testdata/CP772..UTF8: New file.
9364 * iconvdata/testdata/CP773: New file.
9365 * iconvdata/testdata/CP773..UTF8: New file.
9366 * iconvdata/testdata/CP774: New file.
9367 * iconvdata/testdata/CP774..UTF8: New file.
9368
9369 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9370 END CHARMAP line.
9371 * iconvdata/gen-8bit-gap.sh: Likewise.
9372 * iconvdata/gen-8bit.sh: Likewise.
9373
9374 * locale/iso-639.def: Add ary entry.
9375
9376 [BZ #11258]
9377 * locale/C-translit.h.in: Add U20A1 transliteration.
9378
9379 [BZ #12178]
9380 * locale/iso-639.def: Add wae entry.
9381 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9382
9383 [BZ #12545]
9384 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9385 for n.
9386
9387 [BZ #12711]
9388 * locale/C-translit.h.in: Add entry for U20B9.
9389 Patch by pravin.d.s@gmail.com.
9390
9391 2011-05-08 Ulrich Drepper <drepper@gmail.com>
9392
9393 [BZ #12713]
9394 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9395 ENAMETOOLONG use generic getcwd.
9396 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9397 in rtld. Use *stat64.
9398 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9399 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9400 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9401 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9402 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9403 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9404 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9405 __fstatat64 macros.
9406 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9407 * dirent/rewinddir.c: Add libc_hidden_def.
9408 * sysdeps/mach/hurd/rewinddir.c: Likewise.
9409 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
9410
9411 * include/dirent.h (__alloc_dir): Add flags parameter.
9412 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9413 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9414 __alloc_dir.
9415 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9416 from fdopendir if O_CLOEXEC is already set.
9417
9418 2011-03-15 Alan Modra <amodra@gmail.com>
9419
9420 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9421 l_tls_firstbyte_offset non-zero. Save padding offset in
9422 l_tls_firstbyte_offset for later use.
9423 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9424 freeing static tls block.
9425
9426 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9427
9428 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9429 where #ifdef was intended. The intent is to prevent ARG_MAX from
9430 being defined by the kernel headers.
9431
9432 2011-05-07 Ulrich Drepper <drepper@gmail.com>
9433
9434 [BZ #12734]
9435 * resolv/resolv.h: Define RES_NOTLDQUERY.
9436 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9437 no-tld-query and set RES_NOTLDQUERY.
9438 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9439 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9440 modern BIND to search name as TLD unless forbidden.
9441
9442 2011-05-07 Petr Baudis <pasky@suse.cz>
9443 Ulrich Drepper <drepper@gmail.com>
9444
9445 [BZ #12393]
9446 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9447 (is_trusted_path): ...to here.
9448 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9449 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9450 using is_trusted_path_normalize() in setuid scripts.
9451
9452 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9453
9454 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9455 __BEGIN/__END_DECLS.
9456
9457 2011-05-06 Ulrich Drepper <drepper@gmail.com>
9458
9459 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9460 NSS_STATUS_NOTFOUND if no record was found.
9461
9462 2011-05-05 Andreas Schwab <schwab@redhat.com>
9463
9464 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9465 (headers-not-in-tirpc): Remove rpc/netdb.h
9466 * resolv/netdb.h: Revert last change.
9467
9468 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9469
9470 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9471 circular dependency between libgcc.a and libc.a.
9472
9473 2011-05-05 Andreas Schwab <schwab@redhat.com>
9474
9475 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9476 * nis/Makefile: Don't install rpcsvc/*.
9477 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9478 instead of <rpc/types.h>.
9479 (MAXHOSTNAMELEN): Define.
9480
9481 2011-05-03 Andreas Schwab <schwab@redhat.com>
9482
9483 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9484
9485 2011-04-28 Maciej Babinski <mbabinski@google.com>
9486
9487 [BZ #12714]
9488 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9489 gethostbyname4_r when IPv6 results are possible.
9490
9491 2011-05-02 Ulrich Drepper <drepper@gmail.com>
9492
9493 [BZ #12723]
9494 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9495 _PC_PIPE_BUF handling.
9496
9497 2011-04-30 Bruno Haible <bruno@clisp.org>
9498
9499 [BZ #12717]
9500 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9501 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9502 to 'int'.
9503 * inet/getnameinfo.c (getnameinfo): Likewise.
9504
9505 2011-04-29 Ulrich Drepper <drepper@gmail.com>
9506
9507 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9508 to groups setting in database lookup.
9509 * nss/nsswitch.conf: Add initgroups entry.
9510
9511 2011-04-22 Ulrich Drepper <drepper@gmail.com>
9512
9513 [BZ #12685]
9514 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9515 mode string.
9516 Patch by Eric Blake <eblake@redhat.com>.
9517
9518 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9519
9520 * sunrpc/Makefile (need-export-routines): Add svc_run.
9521 (routines): Remove svc_run.
9522 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9523 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9524 * sunrpc/svc_run.c (svc_run): Likewise.
9525 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9526
9527 2011-04-21 Ulrich Drepper <drepper@gmail.com>
9528
9529 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9530 problem in reallocation in last patch.
9531
9532 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9533
9534 * sunrpc/Makefile: Move inclusion of Rules.
9535
9536 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9537
9538 * nss/nss_files/files-initgroups.c: New file.
9539 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9540 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9541 _nss_files_initgroups_dyn.
9542
9543 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9544
9545 * elf/elf.h (R_ARM_IRELATIVE): Define.
9546
9547 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9548
9549 * po/ru.po: Update from translation team.
9550
9551 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9552
9553 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9554 dependencies.
9555
9556 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9557
9558 [BZ #12653]
9559 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9560 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9561 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9562 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9563 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9564
9565 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9566
9567 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9568 differing bytes.
9569 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9570 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9571 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9572
9573 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9574
9575 [BZ #12420]
9576 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9577 storing it.
9578 * stdlib/bug-getcontext.c: New file.
9579 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9580
9581 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9582
9583 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9584 instructions into .machine "z9-109".
9585 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9586 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9587
9588 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9589
9590 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9591 between environment variables and auxiliary vector.
9592
9593 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9594
9595 * Makefile: Add rules to build linkobj/libc.so.
9596 * include/libc-symbols.h: Define libc_hidden_nolink.
9597 * include/rpc/auth.h: Mark functions which are to be hidden.
9598 * include/rpc/auth_des.h: Likewise.
9599 * include/rpc/auth_unix.h: Likewise.
9600 * include/rpc/clnt.h: Likewise.
9601 * include/rpc/des_crypt.h: Likewise.
9602 * include/rpc/key_prot.h: Likewise.
9603 * include/rpc/pmap_clnt.h: Likewise.
9604 * include/rpc/pmap_prot.h: Likewise.
9605 * include/rpc/pmap_rmt.h: Likewise.
9606 * include/rpc/rpc_msg.h: Likewise.
9607 * include/rpc/svc.h: Likewise.
9608 * include/rpc/svc_auth.h: Likewise.
9609 * include/rpc/xdr.h: Likewise.
9610 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9611 * nss/Makefile: Likewise.
9612 * sunrpc/Makefile: Don't install headers. Build library with normal
9613 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9614 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9615 for the compat linking library. Remove use of INTDEF/INTUSE.
9616 * sunrpc/auth_none.c: Likewise.
9617 * sunrpc/auth_unix.c: Likewise.
9618 * sunrpc/authdes_prot.c: Likewise.
9619 * sunrpc/authuxprot.c: Likewise.
9620 * sunrpc/clnt_gen.c: Likewise.
9621 * sunrpc/clnt_perr.c: Likewise.
9622 * sunrpc/clnt_raw.c: Likewise.
9623 * sunrpc/clnt_simp.c: Likewise.
9624 * sunrpc/clnt_tcp.c: Likewise.
9625 * sunrpc/clnt_udp.c: Likewise.
9626 * sunrpc/clnt_unix.c: Likewise.
9627 * sunrpc/des_crypt.c: Likewise.
9628 * sunrpc/des_soft.c: Likewise.
9629 * sunrpc/get_myaddr.c: Likewise.
9630 * sunrpc/key_call.c: Likewise.
9631 * sunrpc/key_prot.c: Likewise.
9632 * sunrpc/netname.c: Likewise.
9633 * sunrpc/pm_getmaps.c: Likewise.
9634 * sunrpc/pm_getport.c: Likewise.
9635 * sunrpc/pmap_clnt.c: Likewise.
9636 * sunrpc/pmap_prot.c: Likewise.
9637 * sunrpc/pmap_prot2.c: Likewise.
9638 * sunrpc/pmap_rmt.c: Likewise.
9639 * sunrpc/publickey.c: Likewise.
9640 * sunrpc/rpc_cmsg.c: Likewise.
9641 * sunrpc/rpc_common.c: Likewise.
9642 * sunrpc/rpc_dtable.c: Likewise.
9643 * sunrpc/rpc_prot.c: Likewise.
9644 * sunrpc/rpc_thread.c: Likewise.
9645 * sunrpc/rtime.c: Likewise.
9646 * sunrpc/svc.c: Likewise.
9647 * sunrpc/svc_auth.c: Likewise.
9648 * sunrpc/svc_authux.c: Likewise.
9649 * sunrpc/svc_raw.c: Likewise.
9650 * sunrpc/svc_run.c: Likewise.
9651 * sunrpc/svc_simple.c: Likewise.
9652 * sunrpc/svc_tcp.c: Likewise.
9653 * sunrpc/svc_udp.c: Likewise.
9654 * sunrpc/svc_unix.c: Likewise.
9655 * sunrpc/svcauth_des.c: Likewise.
9656 * sunrpc/xcrypt.c: Likewise.
9657 * sunrpc/xdr.c: Likewise.
9658 * sunrpc/xdr_array.c: Likewise.
9659 * sunrpc/xdr_float.c: Likewise.
9660 * sunrpc/xdr_intXX_t.c: Likewise.
9661 * sunrpc/xdr_mem.c: Likewise.
9662 * sunrpc/xdr_rec.c: Likewise.
9663 * sunrpc/xdr_ref.c: Likewise.
9664 * sunrpc/xdr_sizeof.c: Likewise.
9665 * sunrpc/xdr_stdio.c: Likewise.
9666
9667 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9668
9669 [BZ #12650]
9670 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9671 * sysdeps/ia64/dl-tls.h: Likewise.
9672 * sysdeps/powerpc/dl-tls.h: Likewise.
9673 * sysdeps/s390/dl-tls.h: Likewise.
9674 * sysdeps/sh/dl-tls.h: Likewise.
9675 * sysdeps/sparc/dl-tls.h: Likewise.
9676 * sysdeps/x86_64/dl-tls.h: Likewise.
9677 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9678
9679 2011-03-14 Andreas Schwab <schwab@redhat.com>
9680
9681 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9682 rpath element also skip the following colon.
9683 (expand_dynamic_string_token): Add is_path parameter and pass
9684 down to DL_DST_REQUIRED and _dl_dst_substitute.
9685 (decompose_rpath): Call expand_dynamic_string_token with
9686 non-zero is_path. Ignore empty rpaths.
9687 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9688 with zero is_path.
9689
9690 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9691
9692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9693 Make cancelable.
9694
9695 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9696
9697 [BZ #12655]
9698 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9699 Patch by Filipe David Manana <fdmanana@apache.org>.
9700
9701 2011-04-07 Andreas Schwab <schwab@redhat.com>
9702
9703 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9704 Maintain aligned stack.
9705 (CHECK_RSP): Remove unused macro.
9706
9707 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9708
9709 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9710 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9711
9712 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9713
9714 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9715
9716 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9717
9718 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9719
9720 [BZ #12518]
9721 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9722 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9723 * sysdeps/x86_64/memmove.c: New file.
9724 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9725 (memcpy): Renamed to ...
9726 (__new_memcpy): This.
9727 (memcpy): Provide GLIBC_2_14 memcpy.
9728 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9729 (memcpy): Provide GLIBC_2_2_5 memcpy.
9730
9731 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9732
9733 [BZ #12631]
9734 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9735
9736 2011-03-30 Andreas Schwab <schwab@redhat.com>
9737
9738 * misc/syncfs.c: New file.
9739 * misc/Makefile (routines): Add syncfs.
9740 * posix/unistd.h: Declare syncfs.
9741 * sysdeps/unix/syscalls.list: Add syncfs.
9742
9743 2011-04-01 Andreas Schwab <schwab@redhat.com>
9744
9745 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9746 open_by_handle_at.
9747 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9748 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9749 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9750 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9751 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9752 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9753 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9754
9755 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9756
9757 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9758 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9759 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9760 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9761 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9762 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9763 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9764
9765 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9766 sync_file_range.c with -fexceptions.
9767 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9768 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9769 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9770 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9771 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9772 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9773 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9774 sync_file_range as cancellation point
9775 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9776 now a wrapper around __call_sync_file_range with cancellation handling.
9777 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9778 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9779 function name to __call_sync_file_range.
9780 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9781 Add call_sync_file_range.
9782
9783 2011-04-01 Andreas Schwab <schwab@redhat.com>
9784
9785 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9786 bits/timex.h.
9787
9788 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9789
9790 * iconv/iconv.h: Fix typo in comment.
9791 * io/fcntl.h: Likewise.
9792 * libio/stdio.h: Likewise.
9793 * posix/spawn.h: Likewise.
9794 * posix/unistd.h: Likewise.
9795 * stdlib/stdlib.h: Likewise.
9796 * time/time.h: Likewise.
9797 * wcsmbs/wchar.h: Likewise.
9798
9799 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9800 open_by_handle): Add.
9801 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9802 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9803 Augment a few comments.
9804 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9805 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9806 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9807 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9808 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9809 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9810 open_by_handle.
9811
9812 * io/fcntl.h (AT_EMPTY_PATH): Define.
9813
9814 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9815
9816 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9817 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9818 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9819 to...
9820 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9821 * Versions.def: Add GLIBC_2.14.
9822 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9823 Export.
9824
9825 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9826
9827 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9828 round counter.
9829 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9830
9831 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9832
9833 [BZ #12597]
9834 * string/test-strncmp.c (do_page_test): New function.
9835 (check2): Likewise.
9836 (test_main): Call check2.
9837 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9838
9839 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9840
9841 [BZ #12587]
9842 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9843 Handle cache information in CPU leaf 4.
9844 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9845
9846 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9847
9848 [BZ #12583]
9849 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9850 character representation.
9851 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9852
9853 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9854
9855 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9856 END(__isnan) to END(__isnanf) to match function entry point/label
9857 EALIGN(__isnanf,...).
9858
9859 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9860
9861 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9862
9863 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9864
9865 [BZ #12510]
9866 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9867 copy from the symbol referenced in the relocation to initialize the
9868 used variable.
9869 Patch by Piotr Bury <pbury@goahead.com>.
9870 * elf/Makefile: Add rules to build and tst-unique3.
9871 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9872 * elf/tst-unique3.cc: New file.
9873 * elf/tst-unique3.h: New file.
9874 * elf/tst-unique3lib.cc: New file.
9875 * elf/tst-unique3lib2.cc: New file.
9876
9877 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9878
9879 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9880
9881 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9882 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9883 to _start.
9884
9885 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9886
9887 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9888 to-be-loaded object along a path to loader is ld.so.
9889
9890 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9891 Ulrich Drepper <drepper@gmail.com>
9892
9893 * sysdeps/x86_64/memset.S: After aligning destination, code
9894 branches to different locations depending on the value of
9895 misalignment, when multiarch is enabled. Fix this.
9896
9897 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9898
9899 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9900 Set _x86_64_preferred_memory_instruction for AMD processsors.
9901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9902 Set bit_Prefer_SSE_for_memop for AMD processors.
9903
9904 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9905
9906 * libio/fmemopen.c (fmemopen): Optimize a bit.
9907
9908 2011-03-03 Andreas Schwab <schwab@redhat.com>
9909
9910 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9911
9912 2011-03-03 Roland McGrath <roland@redhat.com>
9913
9914 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9915
9916 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9917
9918 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9919 __bzero_ultra1 instead of __memset_ultra1.
9920
9921 2011-02-23 Andreas Schwab <schwab@redhat.com>
9922 Ulrich Drepper <drepper@gmail.com>
9923
9924 [BZ #12509]
9925 * include/link.h (struct link_map): Add l_orig_initfini.
9926 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9927 returning unsuccessfully.
9928 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9929 close of a file loaded at startup, restore the original l_initfini
9930 list.
9931 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9932 list, store the pointer.
9933 * elf/Makefile ($(objpfx)noload-mem): New rule.
9934 (noload-ENV): Define.
9935 (tests): Add $(objpfx)noload-mem.
9936 * elf/noload.c: Include <memcheck.h>.
9937 (main): Call mtrace. Close all opened handles.
9938
9939 2011-02-17 Andreas Schwab <schwab@redhat.com>
9940
9941 [BZ #12454]
9942 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9943 dependencies are missing.
9944
9945 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9946
9947 Fix __if_freereq crash: Unlike the generic version which uses free,
9948 Hurd needs munmap.
9949 * sysdeps/mach/hurd/ifreq.h: New file.
9950
9951 2011-01-27 Petr Baudis <pasky@suse.cz>
9952 Ulrich Drepper <drepper@gmail.com>
9953
9954 [BZ 12445]#
9955 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9956 to extend_alloca().
9957 * stdio-common/bug23.c: New file.
9958 * stdio-common/Makefile (tests): Add bug23.
9959
9960 2010-09-28 Andreas Schwab <schwab@redhat.com>
9961 Ulrich Drepper <drepper@gmail.com>
9962
9963 [BZ #12489]
9964 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9965 before performing relro protection. At old place add assertion
9966 to make sure nothing changed.
9967
9968 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9969 Glauber de Oliveira Costa <glommer@gmail.com>
9970
9971 * elf/elf.h: Add new ARM TLS relocs.
9972
9973 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9974
9975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9976 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9977 cast from r3.
9978 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9979 'tests' variable.
9980 * sysdeps/wordsize-64/tst-writev.c: New file.
9981
9982 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9983
9984 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9985 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9986 insns in _dl_start to prevent a TOC reference before relocs are
9987 resolved.
9988
9989 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9990
9991 [BZ #12469]
9992 * Makeconfig: Remove RANLIB definition.
9993 * Makerules: Don't use RANLIB.
9994 * aclocal.m4: Remove ranlib test.
9995 * configure.in: No need to check for ranlib.
9996 * elf/rtld-Rules: Don't use RANLIB.
9997
9998 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9999
10000 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10001 protection macro.
10002 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10003 inclusion protection macro.
10004
10005 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10006 SIGRTMIN and SIGRTMAX and print information in that case only when
10007 SIGRTMIN is defined.
10008
10009 2011-02-11 Jakub Jelinek <jakub@redhat.com>
10010
10011 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10012 arginfo fn returning -1.
10013
10014 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10015 and thousands string is zero terminated.
10016
10017 2011-02-03 Andreas Schwab <schwab@redhat.com>
10018
10019 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10020 sysdeps/unix/sysv/linux/bits/socket.h.
10021
10022 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10023
10024 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10025 (__CPU_COUNT): Remove old macros.
10026 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10027 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10028 (__CPU_ALLOC, __CPU_FREE): Add macros.
10029 (__sched_cpualloc, __sched_cpufree): Add declarations.
10030
10031 2011-02-05 Ulrich Drepper <drepper@gmail.com>
10032
10033 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10034 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10035 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10036 (readdhstai): Return value of addhstaiX call.
10037 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10038 (addgrbyX): Return value returned by cache_addgr.
10039 (readdgrbyname): Return value returned by addgrbyX.
10040 (readdgrbygid): Likewise.
10041 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10042 (addpwbyX): Return value returned by cache_addpw.
10043 (readdpwbyname): Return value returned by addhstbyX.
10044 (readdpwbyuid): Likewise.
10045 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10046 (addservbyX): Return value returned by cache_addserv.
10047 (readdservbyname): Return value returned by addservbyX:
10048 (readdservbyport): Likewise.
10049 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10050 (addhstbyX): Return value returned by cache_addhst.
10051 (readdhstbyname): Return value returned by addhstbyX.
10052 (readdhstbyaddr): Likewise.
10053 (readdhstbynamev6): Likewise.
10054 (readdhstbyaddrv6): Likewise.
10055 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10056 (readdinitgroups): Return value returned by addinitgroupsX.
10057 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10058 (prune_cache): Keep track of timeout value of re-added entries.
10059 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10060 * nscd/nscd.h: Adjust prototypes of readd* functions.
10061
10062 2011-02-04 Roland McGrath <roland@redhat.com>
10063
10064 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10065 (nis_stats): Likewise.
10066 * nis/nis_modify.c (nis_modify): Likewise.
10067 * nis/nis_remove.c (nis_remove): Likewise.
10068 * nis/nis_add.c (nis_add): Likewise.
10069
10070 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10071
10072 * posix/fnmatch_loop.c: Add some consts.
10073
10074 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10075
10076 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10077
10078 [BZ #12460]
10079 * config.make.in (config-cflags-novzeroupper): Define.
10080 * configure.in: Substitute libc_cv_cc_novzeroupper.
10081 * elf/Makefile (AVX-CFLAGS): Define.
10082 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10083 (CFLAGS-tst-auditmod4a.c): Likewise.
10084 (CFLAGS-tst-auditmod4b.c): Likewise.
10085 (CFLAGS-tst-auditmod6b.c): Likewise.
10086 (CFLAGS-tst-auditmod6c.c): Likewise.
10087 (CFLAGS-tst-auditmod7b.c): Likewise.
10088 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10089
10090 2011-02-02 Ulrich Drepper <drepper@gmail.com>
10091
10092 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10093 function to the callback.
10094 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10095
10096 2011-02-02 Andreas Schwab <schwab@redhat.com>
10097
10098 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10099 of errno.
10100
10101 2011-01-19 Ulrich Drepper <drepper@gmail.com>
10102
10103 [BZ #11724]
10104 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10105 of constructors.
10106 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10107 of destructors.
10108 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10109
10110 [BZ #11724]
10111 * elf/Makefile: Add rules to build and run new test.
10112 * elf/tst-initorder.c: New file.
10113 * elf/tst-initorder.exp: New file.
10114 * elf/tst-initordera1.c: New file.
10115 * elf/tst-initordera2.c: New file.
10116 * elf/tst-initordera3.c: New file.
10117 * elf/tst-initordera4.c: New file.
10118 * elf/tst-initorderb1.c: New file.
10119 * elf/tst-initorderb2.c: New file.
10120 * elf/tst-order-a1.c: New file.
10121 * elf/tst-order-a2.c: New file.
10122 * elf/tst-order-a3.c: New file.
10123 * elf/tst-order-a4.c: New file.
10124 * elf/tst-order-b1.c: New file.
10125 * elf/tst-order-b2.c: New file.
10126 * elf/tst-order-main.c: New file.
10127 New test case by George Gensure <werkt0@gmail.com>.
10128
10129 2010-10-01 Andreas Schwab <schwab@redhat.com>
10130
10131 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10132 decoding ACE if AI_CANONIDN.
10133
10134 2011-01-18 Ulrich Drepper <drepper@gmail.com>
10135
10136 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10137
10138 2011-01-17 Ulrich Drepper <drepper@gmail.com>
10139
10140 * version.h (RELEASE): Bump for 2.13 release.
10141 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10142
10143 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10144
10145 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10146 MADV_NOHUGEPAGE.
10147 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10148 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10149 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10150 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10151 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10152 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10153
10154 * posix/getconf.c: Update copyright year.
10155 * catgets/gencat.c: Likewise.
10156 * csu/version.c: Likewise.
10157 * debug/catchsegv.sh: Likewise.
10158 * debug/xtrace.sh: Likewise.
10159 * elf/ldconfig.c: Likewise.
10160 * elf/ldd.bash.in: Likewise.
10161 * elf/sprof.c (print_version): Likewise.
10162 * iconv/iconv_prog.c: Likewise.
10163 * iconv/iconvconfig.c: Likewise.
10164 * locale/programs/locale.c: Likewise.
10165 * locale/programs/localedef.c: Likewise.
10166 * malloc/memusage.sh: Likewise.
10167 * malloc/mtrace.pl: Likewise.
10168 * nscd/nscd.c (print_version): Likewise.
10169 * nss/getent.c: Likewise.
10170
10171 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10172 PF_CAIF, and PF_ALG.
10173 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10174
10175 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10176
10177 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10178 (modules-names): Use them.
10179 (ifunc-test-modules, ifunc-pie-tests): Define.
10180 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10181 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10182 (test-extras): Likewise.
10183 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10184 $(compile-command.c).
10185 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10186 (all-built-dso): Define.
10187 (check-textrel.out, check-execstack.out): Depend on it.
10188
10189 * configure.in: Don't override --enable-multi-arch.
10190
10191 2011-01-15 Ulrich Drepper <drepper@gmail.com>
10192
10193 [BZ #6812]
10194 * nscd/hstcache.c (tryagain): Define.
10195 (cache_addhst): Return tryagain not notfound for temporary errors.
10196 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10197 failed.
10198
10199 2011-01-14 Ulrich Drepper <drepper@gmail.com>
10200
10201 [BZ #10563]
10202 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10203 to make the syscall.
10204 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10205
10206 [BZ #12378]
10207 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10208 and fall back to matching as normal character if the string ends before
10209 the matching ']' is found. This is what POSIX requires.
10210 * posix/testfnm.c: Adjust test result.
10211 * posix/globtest.sh: Adjust test result. Add new test.
10212 * posix/tst-fnmatch.input: Likewise.
10213 * posix/tst-fnmatch2.c: Add new test.
10214
10215 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10216
10217 * elf/Makefile (check-execstack): Revert last change. Depend on
10218 check-execstack.h.
10219 (check-execstack.h): New target.
10220 (generated): Add check-execstack.h.
10221 * elf/check-execstack.c: Include "check-execstack.h".
10222 (main): Revert last change.
10223 (handle_file): Return zero if GNU_STACK is absent and
10224 DEFAULT_STACK_PERMS doesn't include PF_X.
10225
10226 2011-01-13 Ulrich Drepper <drepper@gmail.com>
10227
10228 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10229 in child fails because the descriptor is already closed.
10230 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10231 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10232 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10233
10234 [BZ #12397]
10235 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10236 syscall.
10237
10238 [BZ #10484]
10239 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10240 temporary buffer used to handle multi lookups locally.
10241 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10242
10243 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10244
10245 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10246 loader is ld.so.
10247
10248 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10249
10250 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10251 alignment for SSE2.
10252
10253 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10254
10255 [BZ #12394]
10256 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10257 characters. When rounding increased number of integer digits recompute
10258 number of groups.
10259 * stdio-common/tst-grouping.c: New file.
10260 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10261
10262 2011-01-09 Ulrich Drepper <drepper@gmail.com>
10263
10264 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10265 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10266
10267 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10268 void.
10269 * bits/select.h: Likewise.
10270
10271 2011-01-08 Ulrich Drepper <drepper@gmail.com>
10272
10273 * po/ja.po: Update from translation team.
10274
10275 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
10276
10277 [BZ #11155]
10278 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10279 implementation just like for lxstat, fxstatat, et al.
10280
10281 2010-12-27 Jim Meyering <meyering@redhat.com>
10282
10283 [BZ #12348]
10284 * posix/regexec.c (build_trtable): Return failure indication upon
10285 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10286
10287 2010-12-25 Ulrich Drepper <drepper@gmail.com>
10288
10289 [BZ #12201]
10290 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10291 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10292 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10293 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10294
10295 [BZ #12207]
10296 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10297
10298 [BZ #12204]
10299 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10300 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10301
10302 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10303
10304 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10305 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10306 script has SORT_BY_INIT_PRIORITY.
10307 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10308 NO_CTORS_DTORS_SECTIONS is defined.
10309 * elf/soinit.c: Likewise.
10310 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10311 NO_CTORS_DTORS_SECTIONS is defined.
10312 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10313 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10314 * sysdeps/sh/init-first.c: Likewise.
10315 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10316
10317 2010-12-24 Ulrich Drepper <drepper@gmail.com>
10318
10319 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10320 always use the slow path.
10321
10322 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10323
10324 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10325 similar rule which adds the sysdep directories to the header search in
10326 order to pick up the correct platform stackinfo.h.
10327 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10328 perform test if it is, otherwise return successfully without testing.
10329 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10330 DEFAULT_STACK_PERMS define in stackinfo.h.
10331 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10332 defined in stackinfo.h.
10333 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10334 DEFAULT_STACK_PERMS defined in stackinfo.h.
10335 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10336 * sysdeps/ia64/stackinfo.h: Likewise.
10337 * sysdeps/s390/stackinfo.h: Likewise.
10338 * sysdeps/sh/stackinfo.h: Likewise.
10339 * sysdeps/sparc/stackinfo.h: Likewise.
10340 * sysdeps/x86_64/stackinfo.h: Likewise.
10341 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10342 PF_X for powerpc64. Retain PF_X for powerpc32.
10343
10344 2010-12-19 Ulrich Drepper <drepper@gmail.com>
10345
10346 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10347 accurately.
10348 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10349 GETDENTS_64BIT_ALIGNED.
10350
10351 2010-12-14 Ulrich Drepper <dreper@gmail.com>
10352
10353 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10354
10355 2010-12-10 Andreas Schwab <schwab@redhat.com>
10356
10357 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10358 _GNU_SOURCE.
10359
10360 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10361 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10362 Remove __restrict.
10363 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10364 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10365
10366 2010-12-09 Ulrich Drepper <drepper@gmail.com>
10367
10368 [BZ #11655]
10369 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10370 are initialized.
10371
10372 2010-12-09 Jakub Jelinek <jakub@redhat.com>
10373
10374 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10375
10376 2010-12-03 Ulrich Drepper <drepper@gmail.com>
10377
10378 * po/it.po: Update from translation team.
10379
10380 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10381
10382 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10383 unused codes.
10384
10385 2010-11-30 Ulrich Drepper <drepper@gmail.com>
10386
10387 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10388
10389 2010-11-24 Andreas Schwab <schwab@redhat.com>
10390
10391 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10392 specially.
10393 (gaih_getanswer_slice): Likewise.
10394
10395 2010-10-20 Jakub Jelinek <jakub@redhat.com>
10396
10397 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10398
10399 2010-05-31 Petr Baudis <pasky@suse.cz>
10400
10401 [BZ #11149]
10402 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10403 silently even in the chroot mode.
10404
10405 2010-11-22 Ulrich Drepper <drepper@gmail.com>
10406
10407 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10408 last patch a bit. Pretty printing
10409
10410 2010-05-31 Petr Baudis <pasky@suse.cz>
10411
10412 [BZ #10085]
10413 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10414 initialization of skip_initgroups_dyn.
10415
10416 2010-11-19 Ulrich Drepper <drepper@gmail.com>
10417
10418 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10419 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10420
10421 2010-11-16 Ulrich Drepper <drepper@gmail.com>
10422
10423 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10424
10425 2010-11-11 Andreas Schwab <schwab@redhat.com>
10426
10427 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10428 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10429 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10430 ($(objpfx)tst-fnmatch-mem): New rule.
10431 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10432 * posix/tst-fnmatch.c (main): Call mtrace.
10433
10434 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10435
10436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10437 Support Intel processor model 6 and model 0x2c.
10438
10439 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
10440
10441 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10442 signed comparison.
10443
10444 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10445
10446 [BZ #12205]
10447 * string/test-strncasecmp.c (check_result): New function.
10448 (do_one_test): Use it.
10449 (check1): New function.
10450 (test_main): Use it.
10451 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10452 Support strcasecmp and strncasecmp.
10453
10454 2010-11-08 Ulrich Drepper <drepper@gmail.com>
10455
10456 [BZ #12194]
10457 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10458 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10459
10460 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10461
10462 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10463 IFUNC support.
10464 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10465 memset-x86-64.
10466 * sysdeps/x86_64/multiarch/bzero.S: New file.
10467 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10468 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10469 * sysdeps/x86_64/multiarch/memset.S: New file.
10470 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10471 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10472 Set bit_Prefer_SSE_for_memop for Intel processors.
10473 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10474 Define.
10475 (index_Prefer_SSE_for_memop): Define.
10476 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10477
10478 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
10479
10480 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10481 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10482
10483 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10484
10485 [BZ #12191]
10486 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10487 (__x86_64_raw_data_cache_size_half): Likewise.
10488 (__x86_64_raw_shared_cache_size): Likewise.
10489 (__x86_64_raw_shared_cache_size_half): Likewise.
10490
10491 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10492 (__x86_64_raw_data_cache_size_half): Likewise.
10493 (__x86_64_raw_shared_cache_size): Likewise.
10494 (__x86_64_raw_shared_cache_size_half): Likewise.
10495 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10496 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10497 and __x86_64_raw_shared_cache_size_half. Round
10498 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10499 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10500 to multiple of 256 bytes.
10501
10502 2010-11-03 Ulrich Drepper <drepper@gmail.com>
10503
10504 [BZ #12167]
10505 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10506 of inacessible symlinks. Verify result of symlink before returning it.
10507 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10508 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10509
10510 2010-10-28 Erich Ritz <erichritz@gmail.com>
10511
10512 * math/math.h (isinf): Fix typo in comment.
10513
10514 2010-11-01 Ulrich Drepper <drepper@gmail.com>
10515
10516 * po/da.po: Update from translation team.
10517
10518 2010-10-26 Ulrich Drepper <drepper@gmail.com>
10519
10520 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10521 is added to the list.
10522
10523 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10524 Ulrich Drepper <drepper@gmail.com>
10525
10526 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10527 the global list here. Move code to...
10528 (_dl_add_to_namespace_list): ...here. New function.
10529 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10530 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10531 * elf/dl-load.c (lose): Don't remove the element from the list.
10532 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10533 (_dl_map_object): Likewise.
10534
10535 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10536
10537 [BZ #12159]
10538 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10539 into all bytes of SSE register.
10540 Patch by Richard Li <richardpku@gmail.com>.
10541
10542 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10543
10544 [BZ #12140]
10545 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10546 perturbing.
10547
10548 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10549
10550 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10551 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10552 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10553 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10555 submachine.
10556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10557
10558 2010-10-22 Andreas Schwab <schwab@redhat.com>
10559
10560 * include/dlfcn.h (__RTLD_SECURE): Define.
10561 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10562 mode & __RTLD_SECURE instead.
10563 (open_path): Rename preloaded parameter to secure.
10564 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10565 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10566 * elf/dl-deps.c (openaux): Likewise.
10567 * elf/rtld.c (struct map_args): Remove is_preloaded.
10568 (map_doit): Don't use it.
10569 (dl_main): Likewise.
10570 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10571 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10572
10573 2010-09-09 Andreas Schwab <schwab@redhat.com>
10574
10575 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10576 (sysd-rules-targets): Remove duplicates.
10577 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10578 rtld-%.$o dependency.
10579
10580 2010-10-18 Andreas Schwab <schwab@redhat.com>
10581
10582 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10583 _dl_map_object do it.
10584
10585 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10586
10587 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10588 fast fma builtins, define the macros in the C99 standard.
10589 (FP_FAST_FMAF): Likewise.
10590 (FP_FAST_FMAL): Likewise.
10591 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10592
10593 * bits/mathdef.h: Update copyright year.
10594 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10595
10596 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10597
10598 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10599 builtins, define the macros in the C99 standard.
10600 (FP_FAST_FMAF): Likewise.
10601 (FP_FAST_FMAL): Likewise.
10602 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10603 multiply/add.
10604 (FP_FAST_FMAF): Likewise.
10605
10606 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10607
10608 [BZ #3268]
10609 * math/libm-test.inc (fma_test): Some new testcases.
10610 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10611 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10612 y and infinite z. Do multiplication by C already in long double.
10613 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10614 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10615 y and infinite z. Do bitwise or of inexact bit into u.d.
10616 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10617 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10618 * sysdeps/i386/fpu/s_fma.S: Removed.
10619 * sysdeps/i386/fpu/s_fmal.S: Removed.
10620
10621 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10622
10623 [BZ #3268]
10624 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10626 computation is not scheduled after fetestexcept. Fix value
10627 of minimum denormal long double.
10628
10629 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10630
10631 [BZ #3268]
10632 * math/libm-test.inc (fma_test): Add some more tests.
10633 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10634 correctly.
10635
10636 2010-10-15 Andreas Schwab <schwab@redhat.com>
10637
10638 * scripts/data/localplt-s390-linux-gnu.data: New file.
10639 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10640
10641 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10642
10643 [BZ #3268]
10644 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10645 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10646 instead of dbl-64.
10647 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10648 inlines.
10649 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10650 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10651 if one of x and y is very large and the other is subnormal.
10652 * sysdeps/s390/fpu/s_fmaf.c: New file.
10653 * sysdeps/s390/fpu/s_fma.c: New file.
10654 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10655 * sysdeps/powerpc/fpu/s_fma.S: New file.
10656 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10657 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10658 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10659
10660 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10661
10662 [BZ #3268]
10663 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10664 fma tests.
10665 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10666 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10667 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10668 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10669 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10670 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10671 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10672
10673 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10674
10675 [BZ #12078]
10676 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10677 * posix/bug-regex31.input: Add test case.
10678
10679 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10680
10681 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10682 * posix/bug-regex31.input: New file.
10683
10684 [BZ #12078]
10685 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10686 (parse_sub_exp): Fix last change, use postorder.
10687
10688 * posix/bug-regex31.c: New file.
10689 * posix/Makefile: Add rules to build and run bug-regex31.
10690
10691 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10692
10693 [BZ #12078]
10694 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10695
10696 [BZ #12108]
10697 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10698 to have entries in sys_siglist.
10699
10700 [BZ #12093]
10701 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10702 be NULL.
10703
10704 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10705
10706 [BZ #3268]
10707 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10708 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10709 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10710 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10711 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10712 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10713 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10714 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10715 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10716 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10717 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10718 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10719 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10720 * math/ftestexcept.c (fetestexcept): Likewise.
10721 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10722 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10723 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10724 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10725 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10726 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10727 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10728
10729 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10730
10731 [BZ #12107]
10732 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10733 newline.
10734
10735 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10736
10737 * string/bug-strstr1.c: New file.
10738 * string/Makefile: Add rules to build and run bug-strstr1.
10739
10740 2010-10-05 Eric Blake <eblake@redhat.com>
10741
10742 [BZ #12092]
10743 * string/str-two-way.h (two_way_long_needle): Always clear memory
10744 when skipping input due to the shift table.
10745
10746 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10747
10748 [BZ #12005]
10749 * malloc/mcheck.c: Handle large requests.
10750
10751 [BZ #12077]
10752 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10753 for strncmp and strncasecmp.
10754 * string/stratcliff.c: Add tests for strcmp and strncmp.
10755 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10756
10757 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10758
10759 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10760 __set_fpscr.
10761
10762 2010-09-30 Andreas Jaeger <aj@suse.de>
10763
10764 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10765 (CGROUP_SUPER_MAGIC): Define.
10766 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10767 Handle btrfs and cgroup file systems.
10768 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10769 Likewise.
10770
10771 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10772
10773 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10774 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10775
10776 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10777
10778 [BZ #12067]
10779 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10780 trying to locate the ELF header.
10781
10782 2010-09-27 Andreas Schwab <schwab@redhat.com>
10783
10784 [BZ #11611]
10785 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10786 Mask out sign-bit copies when constructing f_fsid.
10787
10788 2010-09-24 Petr Baudis <pasky@suse.cz>
10789
10790 * debug/stack_chk_fail_local.c: Add missing licence exception.
10791 * debug/warning-nop.c: Likewise.
10792
10793 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10794
10795 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10796 implementing getdents64 using getdents syscall, set d_type if
10797 __ASSUME_GETDENTS32_D_TYPE.
10798
10799 2010-09-16 Andreas Schwab <schwab@redhat.com>
10800
10801 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10802 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10803
10804 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10805
10806 [BZ #12037]
10807 * posix/unistd.h: Undo change of feature selection for ftruncate from
10808 2010-01-11.
10809
10810 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10811
10812 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10813 detection.
10814
10815 2010-09-20 Andreas Schwab <schwab@redhat.com>
10816
10817 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10818 fanotify_mark.
10819 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10820
10821 2010-09-14 Andreas Schwab <schwab@redhat.com>
10822
10823 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10824 variables after CHECK_SP call.
10825 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10826
10827 2010-09-13 Andreas Schwab <schwab@redhat.com>
10828 Ulrich Drepper <drepper@redhat.com>
10829
10830 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10831 re-relocationg ld.so.
10832 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10833 _dl_init_paths call.
10834 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10835 here anymore.
10836
10837 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10838
10839 * resolv/res_init.c (__res_vinit): Count the default server we added.
10840
10841 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10842 Ulrich Drepper <drepper@redhat.com>
10843
10844 [BZ #11968]
10845 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10846 (____longjmp_chk): Use %ebx for saving value across system call.
10847 Add unwind info.
10848
10849 2010-09-06 Andreas Schwab <schwab@redhat.com>
10850
10851 * manual/Makefile: Don't mix pattern rules with normal rules.
10852
10853 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10854
10855 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10856 operation.
10857 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10858 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10859 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10860 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10861 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10862 Likewise.
10863
10864 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10865
10866 [BZ #11979]
10867 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10868 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10869
10870 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10871
10872 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10873 * sysdeps/x86_64/addmul_1.S: Likewise.
10874 * sysdeps/x86_64/lshift.S: Likewise.
10875 * sysdeps/x86_64/mul_1.S: Likewise.
10876 * sysdeps/x86_64/rshift.S: Likewise.
10877 * sysdeps/x86_64/sub_n.S: Likewise.
10878 * sysdeps/x86_64/submul_1.S: Likewise.
10879
10880 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10881
10882 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10883 Define __sched_param instead of SCHED_* and sched_param when
10884 <bits/sched.h> is included with __need_schedparam defined.
10885 * bits/sched.h [__need_schedparam]
10886 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10887 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10888 (__defined_schedparam): Define to 1.
10889 (__sched_param): New structure, identical to sched_param.
10890 (__need_schedparam): Undefine.
10891
10892 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10893
10894 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10895 (epoll_create1): Declare.
10896
10897 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10898
10899 2010-08-31 Andreas Schwab <schwab@redhat.com>
10900
10901 [BZ #7066]
10902 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10903 shifting retval into place.
10904
10905 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10906
10907 * nis/rpcsvc/nis.h: Update copyright notice.
10908 * nis/rpcsvc/nis.x: Likewise.
10909 * nis/rpcsvc/nis_callback.h: Likewise.
10910 * nis/rpcsvc/nis_callback.x: Likewise.
10911 * nis/rpcsvc/nis_object.x: Likewise.
10912 * nis/rpcsvc/nis_tags.h: Likewise.
10913 * nis/rpcsvc/yp.h: Likewise.
10914 * nis/rpcsvc/yp.x: Likewise.
10915 * nis/rpcsvc/ypupd.h: Likewise.
10916 * nis/yp_xdr.c: Likewise.
10917 * nis/ypupdate_xdr.c: Likewise.
10918
10919 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10920 mainly the body of pmap_getport. Add parameters to specify timeouts.
10921 (pmap_getport): Use __libc_rpc_getport.
10922 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10923 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10924 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10925
10926 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10927
10928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10929 fanotify_mark.
10930
10931 2010-08-27 Roland McGrath <roland@redhat.com>
10932
10933 * sysdeps/i386/i686/multiarch/Makefile
10934 (CFLAGS-varshift.c): New variable.
10935
10936 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10937
10938 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10939 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10940
10941 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10942
10943 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10944
10945 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10946
10947 * sysdeps/x86_64/strlen.S: Unroll the loop.
10948 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10949 strlen-sse2 strlen-sse2-bsf.
10950 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10951 __strlen_no_bsf if bit_Slow_BSF is set.
10952 (__strlen_sse42): Removed.
10953 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10954 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10955
10956 2010-08-25 Roland McGrath <roland@redhat.com>
10957
10958 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10959 * sysdeps/x86_64/multiarch/varshift.c: New file.
10960 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10961 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10962 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10963 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10964
10965 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10966
10967 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10968 strlen-sse2 strlen-sse2-bsf.
10969 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10970 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10971 (__strlen_sse2): Removed.
10972 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10973 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10974 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10975 bit_Slow_BSF for Atom.
10976 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10977 (index_Slow_BSF): Define.
10978 (HAS_SLOW_BSF): Define.
10979
10980 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10981
10982 [BZ #10851]
10983 * resolv/res_init.c (__res_vinit): When no server address at all
10984 is given default to loopback.
10985
10986 2010-08-24 Roland McGrath <roland@redhat.com>
10987
10988 * configure.in: Remove config-name.h generation.
10989 * configure: Regenerated.
10990 * config-name.in: File removed.
10991 * scripts/config-uname.sh: New file.
10992 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10993 ($(objdir)config-name.h): New target.
10994
10995 * sunrpc/rpc_parse.h: Avoid nested comment.
10996
10997 2010-08-24 Richard Henderson <rth@redhat.com>
10998 Ulrich Drepper <drepper@redhat.com>
10999 H.J. Lu <hongjiu.lu@intel.com>
11000
11001 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11003 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11004 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11005 _mm_alignr_epi8 with _mm_loadu_si128.
11006 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11007 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11008 (__m128i_shift_right): Removed.
11009 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11010 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11011 * sysdeps/x86_64/multiarch/varshift.h: New file.
11012 * sysdeps/x86_64/multiarch/varshift.S: New file.
11013
11014 2010-08-21 Mike Frysinger <vapier@gentoo.org>
11015
11016 * configure.in: Move assembler checks to before sysdep dir checking.
11017
11018 2010-08-20 Petr Baudis <pasky@suse.cz>
11019
11020 * LICENSES: Sync the sunrpc license.
11021
11022 2010-08-19 Ulrich Drepper <drepper@redhat.com>
11023
11024 * sunrpc/auth_des.c: Update copyright notice once again.
11025 * sunrpc/auth_none.c: Likewise.
11026 * sunrpc/auth_unix.c: Likewise.
11027 * sunrpc/authdes_prot.c: Likewise.
11028 * sunrpc/authuxprot.c: Likewise.
11029 * sunrpc/bindrsvprt.c: Likewise.
11030 * sunrpc/clnt_gen.c: Likewise.
11031 * sunrpc/clnt_perr.c: Likewise.
11032 * sunrpc/clnt_raw.c: Likewise.
11033 * sunrpc/clnt_simp.c: Likewise.
11034 * sunrpc/clnt_tcp.c: Likewise.
11035 * sunrpc/clnt_udp.c: Likewise.
11036 * sunrpc/clnt_unix.c: Likewise.
11037 * sunrpc/des_crypt.c: Likewise.
11038 * sunrpc/des_soft.c: Likewise.
11039 * sunrpc/get_myaddr.c: Likewise.
11040 * sunrpc/getrpcport.c: Likewise.
11041 * sunrpc/key_call.c: Likewise.
11042 * sunrpc/key_prot.c: Likewise.
11043 * sunrpc/openchild.c: Likewise.
11044 * sunrpc/pm_getmaps.c: Likewise.
11045 * sunrpc/pm_getport.c: Likewise.
11046 * sunrpc/pmap_clnt.c: Likewise.
11047 * sunrpc/pmap_prot.c: Likewise.
11048 * sunrpc/pmap_prot2.c: Likewise.
11049 * sunrpc/pmap_rmt.c: Likewise.
11050 * sunrpc/rpc/auth.h: Likewise.
11051 * sunrpc/rpc/auth_unix.h: Likewise.
11052 * sunrpc/rpc/clnt.h: Likewise.
11053 * sunrpc/rpc/des_crypt.h: Likewise.
11054 * sunrpc/rpc/key_prot.h: Likewise.
11055 * sunrpc/rpc/netdb.h: Likewise.
11056 * sunrpc/rpc/pmap_clnt.h: Likewise.
11057 * sunrpc/rpc/pmap_prot.h: Likewise.
11058 * sunrpc/rpc/pmap_rmt.h: Likewise.
11059 * sunrpc/rpc/rpc.h: Likewise.
11060 * sunrpc/rpc/rpc_des.h: Likewise.
11061 * sunrpc/rpc/rpc_msg.h: Likewise.
11062 * sunrpc/rpc/svc.h: Likewise.
11063 * sunrpc/rpc/svc_auth.h: Likewise.
11064 * sunrpc/rpc/types.h: Likewise.
11065 * sunrpc/rpc/xdr.h: Likewise.
11066 * sunrpc/rpc_clntout.c: Likewise.
11067 * sunrpc/rpc_cmsg.c: Likewise.
11068 * sunrpc/rpc_common.c: Likewise.
11069 * sunrpc/rpc_cout.c: Likewise.
11070 * sunrpc/rpc_dtable.c: Likewise.
11071 * sunrpc/rpc_hout.c: Likewise.
11072 * sunrpc/rpc_main.c: Likewise.
11073 * sunrpc/rpc_parse.c: Likewise.
11074 * sunrpc/rpc_parse.h: Likewise.
11075 * sunrpc/rpc_prot.c: Likewise.
11076 * sunrpc/rpc_sample.c: Likewise.
11077 * sunrpc/rpc_scan.c: Likewise.
11078 * sunrpc/rpc_scan.h: Likewise.
11079 * sunrpc/rpc_svcout.c: Likewise.
11080 * sunrpc/rpc_tblout.c: Likewise.
11081 * sunrpc/rpc_util.c: Likewise.
11082 * sunrpc/rpc_util.h: Likewise.
11083 * sunrpc/rpcinfo.c: Likewise.
11084 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11085 * sunrpc/rpcsvc/key_prot.x: Likewise.
11086 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11087 * sunrpc/rpcsvc/mount.x: Likewise.
11088 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11089 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11090 * sunrpc/rpcsvc/rex.x: Likewise.
11091 * sunrpc/rpcsvc/rstat.x: Likewise.
11092 * sunrpc/rpcsvc/rusers.x: Likewise.
11093 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11094 * sunrpc/rpcsvc/spray.x: Likewise.
11095 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11096 * sunrpc/rtime.c: Likewise.
11097 * sunrpc/svc.c: Likewise.
11098 * sunrpc/svc_auth.c: Likewise.
11099 * sunrpc/svc_authux.c: Likewise.
11100 * sunrpc/svc_raw.c: Likewise.
11101 * sunrpc/svc_run.c: Likewise.
11102 * sunrpc/svc_simple.c: Likewise.
11103 * sunrpc/svc_tcp.c: Likewise.
11104 * sunrpc/svc_udp.c: Likewise.
11105 * sunrpc/svc_unix.c: Likewise.
11106 * sunrpc/svcauth_des.c: Likewise.
11107 * sunrpc/xcrypt.c: Likewise.
11108 * sunrpc/xdr.c: Likewise.
11109 * sunrpc/xdr_array.c: Likewise.
11110 * sunrpc/xdr_float.c: Likewise.
11111 * sunrpc/xdr_mem.c: Likewise.
11112 * sunrpc/xdr_rec.c: Likewise.
11113 * sunrpc/xdr_ref.c: Likewise.
11114 * sunrpc/xdr_sizeof.c: Likewise.
11115 * sunrpc/xdr_stdio.c: Likewise.
11116
11117 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11118 handling.
11119
11120 2010-08-19 Andreas Schwab <schwab@redhat.com>
11121
11122 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11123
11124 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
11125
11126 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11127 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11128 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11129 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11130 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11131 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11132 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11133 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11134 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11135 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11136 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11137 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11138 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11139 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11140
11141 2010-07-26 Anton Blanchard <anton@samba.org>
11142
11143 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11144 * malloc/arena.c (heap_trim): Likewise.
11145
11146 2010-08-16 Ulrich Drepper <drepper@redhat.com>
11147
11148 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11149 here. Not...
11150 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11151 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11152
11153 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11154
11155 * sysdeps/i386/elf/Makefile: New file.
11156
11157 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11158
11159 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11160 from fanotify_init.
11161 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11162 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11163
11164 2010-08-15 Ulrich Drepper <drepper@redhat.com>
11165
11166 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11167 of strncasecmp_l.
11168 * sysdeps/multiarch/strcmp.S: Likewise.
11169
11170 2010-08-14 Ulrich Drepper <drepper@redhat.com>
11171
11172 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11173 strncase_l-nonascii.
11174 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11175 Add strncase_l-ssse3.
11176 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11177 * sysdeps/x86_64/strcmp.S: Likewise.
11178 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11179 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11180 * sysdeps/x86_64/strncase.S: New file.
11181 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11182 * sysdeps/x86_64/strncase_l.S: New file.
11183 * string/Makefile (strop-tests): Add strncasecmp.
11184 * string/test-strncasecmp.c: New file.
11185
11186 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11187 warning.
11188
11189 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11190 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11191
11192 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11193
11194 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11195
11196 2010-08-12 Ulrich Drepper <drepper@redhat.com>
11197
11198 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11199 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11200 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11201
11202 2010-05-01 Alan Modra <amodra@gmail.com>
11203
11204 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11205 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11206 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11207 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11208 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11209 tidying. Don't tail-call __sigjmp_save for static lib.
11210 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11211 save location.
11212 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11213 (CALL_MCOUNT): Add eh info, and nop after bl.
11214 (TAIL_CALL_SYSCALL_ERROR): New macro.
11215 (PSEUDO_RET): Use it.
11216 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11217 Correct save location of integer regs and cr.
11218 (_dl_profile_resolve): Correct cr save location. Delete nops
11219 after bl when SHARED. Reduce cfi size a little by better
11220 placement of cfi directives.
11221 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11222 make a stack frame. Instead use parm save area as a temp.
11223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11224 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11226 Don't make a stack frame for parent, use parm save area.
11227 Increase child stack frame to 112 bytes. Don't save unused reg,
11228 and adjust reg usage. Set up cfi on error recovery and
11229 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11231 (__makecontext): Add dummy nop after jump to exit.
11232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11233 Use correct parm save area and cr save, reduce stack frame.
11234 Correct cfi for possible PSEUDO_RET frame setup.
11235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11236 Branch to local label emitted by PSEUDO_RET rather than
11237 __syscall_error.
11238
11239 2010-08-12 Andreas Schwab <schwab@redhat.com>
11240
11241 [BZ #11904]
11242 * locale/programs/locale.c (print_assignment): New function.
11243 (show_locale_vars): Use it.
11244
11245 2010-08-11 Ulrich Drepper <drepper@redhat.com>
11246
11247 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11248 field.
11249 (struct statfs64): Likewise.
11250 (_STATFS_F_FLAGS): Define.
11251 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11252 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11253 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11254 (ST_VALID): Define locally.
11255 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11256 __statvfs_getflags, use the provided value.
11257 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11258 __ASSUME_STATFS_F_FLAGS.
11259
11260 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11261
11262 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11263 Add sys/fanotify.h.
11264 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11265 fanotify_mask for GLIBC_2.13.
11266 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11267 fanotify_init and fanotify_mark.
11268 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11269 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11270
11271 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11272 Add prlimit.
11273 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11274 prlimit64 for GLIBC_2.13.
11275 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11276 prlimit64.
11277 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11278 syscall.
11279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11280 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11281 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11282 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11283 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11284 add prlimit alias.
11285 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11286
11287 [BZ #11903]
11288 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11289 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11290
11291 * nss/Makefile: Add rules to build and run tst-nss-test1.
11292 * shlib-versions: Add entry for libnss_test1.
11293 * nss/nss_test1.c: New file.
11294 * nss/tst-nss-test1.c: New file.
11295
11296 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11297 (__nss_configure_lookup): Set appropriate entry in
11298 __nss_configure_lookup to true.
11299 * nss/nsswitch.h: Define enum with indeces of databases in
11300 databases and __nss_database_custom arrays. Declare
11301 __nss_database_custom.
11302 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11303 to avoid using nscd when custom rules are installed.
11304 * nss/getXXbyYY_r.c: Likewise.
11305 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11306
11307 * nss/nss_files/files-parse.c: Whitespace fixes.
11308
11309 2010-08-09 Ulrich Drepper <drepper@redhat.com>
11310
11311 [BZ #11883]
11312 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11313 * posix/fnmatch_loop.c: Likewise.
11314
11315 2010-07-17 Andi Kleen <ak@linux.intel.com>
11316
11317 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11318 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11319 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11320 * Versions.def [GLIBC_2.13]: Add.
11321
11322 2010-08-06 Ulrich Drepper <drepper@redhat.com>
11323
11324 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11325 Also fail if tpwd after pwuid call is NULL.
11326
11327 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11328
11329 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11330 when converting to ms.
11331
11332 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11333
11334 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11335 EOPNOTSUPP errors with ENOTTY.
11336 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11337 EOPNOTSUPP errors with ENOTTY.
11338
11339 2010-07-31 Ulrich Drepper <drepper@redhat.com>
11340
11341 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11342 Add strcasecmp_l-ssse3.
11343 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11344 strcasecmp.
11345 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11346 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11347 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11348
11349 2010-07-30 Ulrich Drepper <drepper@redhat.com>
11350
11351 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11352
11353 * string/Makefile (strop-tests): Add strcasecmp.
11354 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11355 strcasecmp_l-nonascii.
11356 (gen-as-const-headers): Add locale-defines.sym.
11357 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11358 * sysdeps/x86_64/strcasecmp.S: New file.
11359 * sysdeps/x86_64/strcasecmp_l.S: New file.
11360 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11361 * sysdeps/x86_64/locale-defines.sym: New file.
11362 * string/test-strcasecmp.c: New file.
11363
11364 * string/test-strcasestr.c: Test both ends of the range of characters.
11365 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11366
11367 2010-07-29 Roland McGrath <roland@redhat.com>
11368
11369 [BZ #11856]
11370 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11371
11372 2010-07-27 Ulrich Drepper <drepper@redhat.com>
11373
11374 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11375 for ld.so.
11376
11377 2010-07-27 Andreas Schwab <schwab@redhat.com>
11378
11379 * manual/memory.texi (Malloc Tunable Parameters): Document
11380 M_PERTURB.
11381
11382 2010-07-26 Roland McGrath <roland@redhat.com>
11383
11384 [BZ #11840]
11385 * configure.in (-fgnu89-inline check): Set and substitute
11386 gnu89_inline, not libc_cv_gnu89_inline.
11387 * configure: Regenerated.
11388 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11389
11390 2010-07-26 Ulrich Drepper <drepper@redhat.com>
11391
11392 * string/test-strnlen.c: New file.
11393 * string/Makefile (strop-tests): Add strnlen.
11394 * string/tester.c (test_strnlen): Add a few more test cases.
11395 * string/tst-strlen.c: Better error reporting.
11396
11397 * sysdeps/x86_64/strnlen.S: New file.
11398
11399 2010-07-24 Ulrich Drepper <drepper@redhat.com>
11400
11401 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11402 lower-latency instructions.
11403
11404 2010-07-23 Ulrich Drepper <drepper@redhat.com>
11405
11406 * string/test-strcasestr.c: New file.
11407 * string/test-strstr.c: New file.
11408 * string/Makefile (strop-tests): Add strstr and strcasestr.
11409 * string/str-two-way.h: Don't undefine MAX.
11410 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11411
11412 2010-07-21 Andreas Schwab <schwab@redhat.com>
11413
11414 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11415 strcasestr-nonascii.
11416 (CFLAGS-strcasestr-nonascii.c): Define.
11417 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11418 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11419 Remove unused attribute.
11420
11421 2010-07-20 Roland McGrath <roland@redhat.com>
11422
11423 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11424 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11425 ld.so.cache was broken. With it, there is no way to disable dsocaps
11426 like LD_HWCAP_MASK can disable hwcaps.
11427
11428 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11429
11430 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11431
11432 2010-07-16 Ulrich Drepper <drepper@redhat.com>
11433
11434 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11435 call in strcasestr.
11436 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11437 __strcasestr_sse42_nonascii.
11438 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11439 strcasestr-nonascii.c.
11440 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11441
11442 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
11443
11444 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11445 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11446 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11447 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11448
11449 2010-07-09 Ulrich Drepper <drepper@redhat.com>
11450
11451 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11452 fcntl.
11453
11454 2010-07-06 Andreas Schwab <schwab@redhat.com>
11455
11456 [BZ #11577]
11457 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11458 dl_signal_cerror.
11459
11460 2010-07-06 Ulrich Drepper <drepper@redhat.com>
11461
11462 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11463 _PC_PIPE_BUF using F_GETPIPE_SZ.
11464
11465 2010-07-05 Roland McGrath <roland@redhat.com>
11466
11467 * manual/arith.texi (Rounding Functions): Fix rint description
11468 implicit in round description.
11469
11470 2010-07-02 Ulrich Drepper <drepper@redhat.com>
11471
11472 * elf/Makefile: Fix linking for a few tests to make recent linker
11473 happy.
11474
11475 2010-06-30 Andreas Schwab <schwab@redhat.com>
11476
11477 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11478 $(common-objpfx)libc_nonshared.a.
11479
11480 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
11481
11482 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11483 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11484 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11485 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11486 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11487 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11488 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11489 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11504 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11505 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11506 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11507 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11508 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11509 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11510 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11511 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11512 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11513 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11514 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11515 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11530
11531 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11532
11533 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11534 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11535 * string/memmove.c (memmove): Renamed to ...
11536 (MEMMOVE): ...this. Default to memmove.
11537 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11538 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11539 (END_CHK): Define.
11540 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11541 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11542 mempcpy-ssse3-back memmove-ssse3-back.
11543 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11544 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11545 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11546 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11547 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11548 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11549 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11550 * sysdeps/x86_64/multiarch/memmove.c: New file.
11551 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11552 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11553 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11554 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11555 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11556 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11557 Define.
11558 (index_Fast_Copy_Backward): Define.
11559 (HAS_ARCH_FEATURE): Define.
11560 (HAS_FAST_REP_STRING): Define.
11561 (HAS_FAST_COPY_BACKWARD): Define.
11562
11563 2010-06-21 Andreas Schwab <schwab@redhat.com>
11564
11565 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11566 Restore proper fallback handling.
11567
11568 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11569
11570 [BZ #11701]
11571 * posix/group_member.c (__group_member): Correct checking loop.
11572
11573 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11574 OOM in getpwuid_r correctly. Return error number when the caller
11575 should return, otherwise -1.
11576 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11577 call returning > 0 value.
11578 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11579
11580 2010-06-07 Andreas Schwab <schwab@redhat.com>
11581
11582 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11583 libc_nonshared.a from targets in modules-names.
11584
11585 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11586
11587 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11588 requires it.
11589
11590 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11591
11592 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11593 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11594 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11595 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11596
11597 2010-06-02 Andreas Schwab <schwab@redhat.com>
11598
11599 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11600
11601 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11602
11603 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11604 and F_GETPIPE_SZ.
11605 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11606 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11607 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11608 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11609 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11610 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11611
11612 2010-06-14 Roland McGrath <roland@redhat.com>
11613
11614 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11615
11616 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11617
11618 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11619 __REDIRECT followed by __THROW.
11620 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11621 * posix/getopt.h (getopt): Likewise.
11622
11623 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11624
11625 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11626 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11627 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11628 in AT_FLAGS.
11629 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11630 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11631
11632 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11633
11634 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11635
11636 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11637
11638 [BZ #11640]
11639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11640 Properly check family and model.
11641
11642 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11643
11644 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11645
11646 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11647
11648 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11649
11650 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11651
11652 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11653 symbol reference.
11654
11655 2010-05-19 Andreas Schwab <schwab@redhat.com>
11656
11657 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11658 symbol reference.
11659
11660 2010-05-21 Andreas Schwab <schwab@redhat.com>
11661
11662 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11663 and internal_recvmmsg.
11664 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11665 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11666 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11667 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11668
11669 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11670 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11671 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11672
11673 2010-05-20 Andreas Schwab <schwab@redhat.com>
11674
11675 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11676
11677 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11678
11679 POWER7 optimizations.
11680 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11681 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11682
11683 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11684
11685 * version.h: Update for 2.13 development version.
11686
11687 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11688
11689 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11690 exceptions. Return 0.
11691
11692 2010-05-07 Roland McGrath <roland@redhat.com>
11693
11694 * elf/ldconfig.c (main): Add a const.
11695
11696 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11697
11698 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11699 (args_options): Add no-idn option.
11700 (ahosts_keys_int): Add idn_flags to ai_flags.
11701 (parse_option): Handle 'i' option to clear idn_flags.
11702
11703 * malloc/malloc.c (_int_free): Possible race in the most recently
11704 added check. Only act on the data if no current modification
11705 happened.
11706
11707 See ChangeLog.17 for earlier changes.
This page took 0.511881 seconds and 4 git commands to generate.