]> sourceware.org Git - glibc.git/blob - ChangeLog
Fix computation of inflated errlist size
[glibc.git] / ChangeLog
1 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2
3 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
4 ERR_MAX value.
5 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6 errlist-compat value.
7
8 2012-04-18 David S. Miller <davem@davemloft.net>
9
10 * sysdeps/generic/memcopy.h (reg_char): Delete.
11 * debug/strcat_chk.c: Use char, not reg_char.
12 * debug/strcpy_chk.c: Likewise.
13 * debug/strncat_chk.c: Likewise.
14 * debug/strncpy_chk.c: Likewise.
15 * string/memchr.c: Likewise.
16 * string/memrchr.c: Likewise.
17 * string/rawmemchr.c: Likewise.
18 * string/strcat.c: Likewise.
19 * string/strchr.c: Likewise.
20 * string/strchrnul.c: Likewise.
21 * string/strcmp.c: Likewise.
22 * string/strcpy.c: Likewise.
23 * string/strncat.c: Likewise.
24 * string/strncmp.c: Likewise.
25 * string/strncpy.c: Likewise.
26
27 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28
29 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30 __builtin_memcopy is called when src and dest ranges are known to not
31 overlap.
32
33 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
34
35 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
37 fwd_align_merge macro call.
38 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
39 bwd_align_merge macro call.
40 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41
42 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43
44 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45 bwd_align_merge macros.
46 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
47 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
48 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49
50 2012-04-18 David S. Miller <davem@davemloft.net>
51
52 * sysdeps/sparc/sparc64/memcopy.h: Delete.
53
54 2012-04-18 Andreas Jaeger <aj@suse.de>
55
56 [BZ# 6794]
57 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
58 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
59 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
60
61 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
62 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
63 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64
65 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
66 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
67 Adjust for changed ldbl-128 files.
68
69 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
70 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
71 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
72
73 2012-04-17 David S. Miller <davem@davemloft.net>
74
75 * sysdeps/sparc/sparc32/memcopy.h: Delete.
76
77 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
78
79 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
80 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
81 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
82 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
83 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
84 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
85
86 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
87
88 [BZ #6794]
89 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
90 * math/libm-test.inc: Add ilogb errno and exception tests.
91 * math/w_ilogb.c: New file: ilogb wrapper.
92 * math/w_ilogbf.c: New file: ilogbf wrapper.
93 * math/w_ilogbl.c: New file: ilogbl wrapper.
94 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
95 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
96 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
97 exception being thrown with 0.0 as argument.
98 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
99 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
100 exception being thrown with 0.0 as argument.
101 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
102 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
103 exception being thrown with 0.0 as argument.
104 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
105 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
106 exception being thrown with 0.0 as argument.
107 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
108 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
109 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
110 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
111 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
112 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
113 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
114 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
115 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
116
117 2012-04-17 Petr Baudis <pasky@ucw.cz>
118
119 * include/sys/uio.h: Change __vector to __iovec to avoid clash
120 with altivec.
121
122 2012-04-16 Marek Polacek <polacek@redhat.com>
123
124 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
125
126 2012-04-16 Marek Polacek <polacek@redhat.com>
127
128 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
129 operands of fdivp instruction.
130
131 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
132
133 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
134 * elf/tst-auditmod3b.c: Likewise.
135 * elf/tst-auditmod4b.c: Likewise.
136 * elf/tst-auditmod5b.c: Likewise.
137 * elf/tst-auditmod6b.c: Likewise.
138 * elf/tst-auditmod6c.c: Likewise.
139 * elf/tst-auditmod7b.c: Likewise.
140 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
141 * sysdeps/x86_64/preconfigure.in: Likewise.
142 * sysdeps/x86_64/preconfigure: Regenerated.
143
144 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
145
146 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
147 __ILP32__.
148
149 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
150
151 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
152 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
153
154 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
155
156 [BZ #13973]
157 * locale/iso-639.def: Fix gl language name. Spotted by
158 Yaron Shahrabani.
159
160 2012-04-12 Roland McGrath <roland@hack.frob.com>
161
162 [BZ #2074]
163 * libio/libio.h (__io_write_fn): Update comment.
164
165 2012-04-12 Petr Baudis <pasky@ucw.cz>
166
167 [BZ #2074]
168 * stdio.texi (Hook Functions): The user provided writer function
169 is not allowed to return -1.
170
171 2012-04-11 David S. Miller <davem@davemloft.net>
172
173 * sysdeps/sparc/fpu/libm-test-ulps: Update.
174
175 2012-04-11 Mike Frysinger <vapier@gentoo.org>
176
177 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
178 Add a leading slash to rtkaio.
179
180 2012-04-11 Jim Meyering <meyering@redhat.com>
181
182 [BZ #11959]
183 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
184 It is not necessarily an error to ignore fwrite's return
185 value. One can reliably use ferror to test for errors after
186 the fact.
187
188 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
189
190 * bits/types.h (__snseconds_t): New type.
191 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
192
193 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
194 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
195 (__SNSECONDS_T_TYPE): Likewise.
196 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
197 (__SNSECONDS_T_TYPE): Likewise.
198 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
199 (__SNSECONDS_T_TYPE): Likewise.
200
201 2012-04-10 Andreas Jaeger <aj@suse.de>
202
203 [BZ #2636]
204 * manual/time.texi (Processor Time): Return type of times is
205 elapsed real time since an arbitrary point in the past.
206 (CPU Time): Move CLK_TCK from here...
207 (Processor Time): ...to here. Correct description.
208 * manual/conf.texi (Constants for Sysconf): Correct description of
209 _SC_CLK_TCK.
210
211 2012-04-10 David S. Miller <davem@davemloft.net>
212
213 [BZ #13967]
214 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
215 where the is a gap between DT_REL(A) and DT_JMPREL.
216
217 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
218
219 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
220 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
221 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
222
223 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
224
225 * elf/dl-support.c (_dl_inhibit_cache): New variable.
226 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
227 (dl_main): Handle --inhibit-cache.
228 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
229 _dl_inhibit_cache.
230 * elf/dl-load.c (_dl_map_object): Use it.
231 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
232
233 2012-04-09 Joseph Myers <joseph@codesourcery.com>
234
235 [BZ #13872]
236 * sysdeps/i386/fpu/e_powl.S (p78): New object.
237 (__ieee754_powl): Saturate large exponents rather than testing for
238 overflow of y*log2(x).
239 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
240 * math/libm-test.inc (pow_test): Do not permit spurious overflow
241 exceptions.
242
243 [BZ #11521]
244 * math/s_ctan.c: Include <float.h>.
245 (__ctan): Avoid internal overflow or cancellation in calculating
246 denominator.
247 * math/s_ctanf.c: Likewise.
248 * math/s_ctanl.c: Likewise.
249 * math/s_ctanh.c: Likewise.
250 * math/s_ctanhf.c: Likewise.
251 * math/s_ctanhl.c: Likewise.
252 * math/libm-test.inc (ctan_test): Add more tests.
253 (ctanh_test): Likewise.
254 * sysdeps/i386/fpu/libm-test-ulps: Update.
255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
256
257 2012-04-09 Andreas Jaeger <aj@suse.de>
258
259 [BZ #6894]
260 * manual/filesys.texi (Directory Entries): Mention that d_namlen
261 is an optional BSD extension.
262
263 [BZ #10254]
264 * manual/stdio.texi (Opening Streams): Document additional fopen
265 parameters.
266
267 2012-04-09 Roland McGrath <roland@hack.frob.com>
268
269 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
270 %eax without telling the compiler.
271
272 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
273
274 [BZ # 13963]
275 * manual/install.texi: Use sourceware.org.
276
277 2012-04-09 Joseph Myers <joseph@codesourcery.com>
278
279 [BZ #13873]
280 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
281 (__ieee754_pow): Generate overflow and underflow using huge*huge
282 and tiny*tiny rather than just returning constant infinity or zero
283 for large exponents.
284 * math/libm-test.inc (pow_test): Require overflow exceptions for
285 applicable cases of large exponents.
286
287 [BZ #706]
288 * sysdeps/i386/fpu/e_pow.S (p10): New object.
289 (__ieee754_pow): Use iterative multiplication algorithm only for
290 integer exponents with absolute value below 1024. Check for odd
291 integer exponents when using algorithm for real exponents.
292 * math/libm-test.inc (pow_test): Add more tests.
293 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
294
295 2012-04-08 Joseph Myers <joseph@codesourcery.com>
296
297 [BZ #13705]
298 * math/libm-test.inc (exp_test): Do not allow overflow exception
299 on underflow test.
300
301 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
302
303 [BZ #13705]
304 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
305 instead of __kernel_standard_f.
306
307 2012-04-08 Mike Frysinger <vapier@gentoo.org>
308
309 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
310 * sysdeps/x86_64/memset_chk.S: Likewise.
311
312 2012-04-08 Andreas Jaeger <aj@suse.de>
313
314 [BZ #10153]
315 * manual/startup.texi (Environment Access): Describe return value
316 for putenv and setenv.
317
318 [BZ #6895]
319 * manual/filesys.texi (Directory Entries): Add description for
320 DT_LNK.
321
322 [BZ #6890]
323 * manual/filesys.texi (Directory Entries): Clarify that it's file
324 system not operating system in the description of DT_UNKNOWN.
325
326 [BZ #6578]
327 * manual/syslog.texi (closelog): Fix reference, it's openlog.
328
329 2012-04-08 Stephen Compall <s11@member.fsf.org>
330
331 [BZ #6649]
332 * manual/llio.texi (Opening and Closing Files): Add cross
333 reference to explain mode argument.
334
335 2012-04-07 Mike Frysinger <vapier@gentoo.org>
336
337 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
338 * sysdeps/x86_64/memset_chk.S: Likewise.
339
340 2012-04-07 David S. Miller <davem@davemloft.net>
341
342 * elf/elf.h (R_SPARC_WDISP10): Define.
343 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
344 R_SPARC_SIZE32.
345 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
346 R_SPARC_SIZE64 and R_SPARC_H34.
347
348 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
349
350 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
351 conditions and remove no longer applicable assertion.
352
353 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
354
355 * bits/byteswap.h: Include <features.h>.
356 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
357 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
358
359 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
360
361 * bits/byteswap.h (__bswap_16): Removed.
362 Include <bits/byteswap-16.h> to get __bswap_16.
363 * sysdeps/i386/bits/byteswap.h: Likewise.
364 * sysdeps/s390/bits/byteswap.h: Likewise.
365 * sysdeps/x86_64/bits/byteswap.h: Likewise.
366 * bits/byteswap-16.h: New file.
367 * sysdeps/i386/bits/byteswap-16.h: Likewise.
368 * sysdeps/s390/bits/byteswap-16.h: Likewise.
369 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
370 * string/Makefile (headers): Add bits/byteswap-16.h.
371
372 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
373
374 [BZ #13895]
375 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
376 extra indirection.
377 * nss/Makefile (tests-static, tests): Add tst-nss-static.
378 * nss/tst-nss-static.c: New.
379
380 2012-04-06 Robert Millan <rmh@gnu.org>
381
382 [BZ #6486]
383 * manual/llio.texi (File Position Primitive): lseek
384 refers to WHENCE when it really means OFFSET.
385
386 2012-04-06 Andreas Jaeger <aj@suse.de>
387
388 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
389 strncmp declarations.
390
391 * abilist/libc.abilist: Add __poll and __ppoll.
392
393 2012-04-05 David S. Miller <davem@davemloft.net>
394
395 * scripts/check-local-headers.sh: Accept a host triplet in the
396 path matched by the exclude regexp.
397
398 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
399 definition.
400 * sysdeps/powerpc/powerpc32/dl-machine.h
401 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
402 * sysdeps/s390/s390-32/dl-machine.h
403 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
404 * sysdeps/sparc/sparc32/dl-machine.h
405 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
406 * sysdeps/sparc/sparc64/dl-machine.h
407 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
408
409 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
410 lazy binding.
411 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
412 undefined symbol errors.
413
414 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
415 DT_NEEDED entries.
416
417 2012-04-05 Michael Matz <matz@suse.de>
418
419 [BZ #13592]
420 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
421
422 2012-04-05 Andreas Jaeger <aj@suse.de>
423
424 [BZ #13908]
425 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
426 comment.
427
428 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
429
430 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
431 which ROUND is no valid rounding mode.
432
433 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
434
435 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
436 read again.
437 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
438
439 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
440
441 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
442 an exception using FPU order intentionally.
443
444 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
445
446 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
447 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
448 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
449 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
450
451 2012-04-05 Simon Josefsson <simon@josefsson.org>
452
453 [BZ #12340]
454 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
455 EINVAL when BUFLEN is too smal.
456
457 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
458
459 [BZ #13553]
460 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
461 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
462
463 2012-04-03 Andreas Jaeger <aj@suse.de>
464
465 [BZ #13938]
466 * manual/setjmp.texi (System V contexts): Fix sentence.
467
468 [BZ #13926]
469 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
470 New macro for this case.
471 [!__GNUC__] (__bswap_64): New inline function for this case.
472 * sysdeps/x86_64/bits/byteswap.h: Likewise.
473 * bits/byteswap.h: Likewise.
474 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
475 ull, guard with __GLIBC_HAVE_LONG_LONG.
476
477 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
478 __GLIBC_HAVE_LONG_LONG.
479
480 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
481 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
482
483 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
484
485 [BZ #13691]
486 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
487 inptr and inend, rather than using last_ch.
488
489 2012-04-02 David S. Miller <davem@davemloft.net>
490
491 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
492 * stdio-common/printf-parse.h (read_int): Change return type to
493 'int', return -1 on INT_MAX overflow.
494 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
495 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
496 overflows INT_MAX. Check for overflow of in-format-string precision
497 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
498 SIZE_MAX not INT_MAX for integer overflow test.
499 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
500 skip the construct in the format string but do not record anything.
501 * stdio-common/bug22.c: Adjust to test both width/prevision
502 INT_MAX overflow as well as total length INT_MAX overflow. Check
503 explicitly for proper errno values.
504
505 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
506
507 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
508 CHAR_MAX.
509 * string/test-strcmp.c [! WIDE]: Likewise.
510 * time/tst-mktime2.c: Likewise for INT_MAX.
511 * string/test-string.h: #include <sys/param.h> for MIN.
512
513 * csu/init-first.c (__libc_init_first): Call __ctype_init.
514 * sysdeps/i386/init-first.c (init): Likewise.
515 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
516 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
517 * sysdeps/sh/init-first.c (init): Likewise.
518
519 2012-04-01 Ulrich Drepper <drepper@gmail.com>
520
521 * po/ru.po: Update from translation team.
522 * po/vi.po: Likewise.
523
524 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
525
526 * resolv/nss_dns/dns-host.c: Merge copyright years.
527
528 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
529
530 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
531 Optimize memcpy with prefetch if
532 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
533 src, dst pointers have unequal 16 byte alignments.
534
535 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
536
537 [BZ #13928]
538 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
539 from a CNAME entry and return the minimum ttl for the query.
540 (gaih_getanswer_slice): Likewise.
541
542 2012-03-30 Jeff Law <law@redhat.com>
543
544 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
545 due to long keys.
546 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
547 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
548
549 * resolv/nss_dns/dns-host.c: Update copyright year.
550
551 2012-03-30 Ulrich Drepper <drepper@gmail.com>
552
553 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
554 requests to save a system call. Fix check that all bytes are sent.
555
556 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
557 comments for sendmmsg.
558
559 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
560
561 [BZ #13691]
562 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
563 with only 1 character between 0x0041 and 0x01b0.
564 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
565 * wcsmbs/tst-mbsnrtowcs.c: New file.
566
567 2012-03-29 David S. Miller <davem@davemloft.net>
568
569 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
570 small copies by hand.
571
572 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
573
574 [BZ #13761]
575 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
576 _nss_compat_initgroups_dyn): Fall back to malloc/free
577 for large group memberships.
578
579 2012-03-28 David S. Miller <davem@davemloft.net>
580
581 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
582 that branches into memcpy.
583 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
584 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
585 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
586 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
587 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
588 bits.
589 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
590 implementation too.
591 * sysdeps/sparc/mempcpy.S: New file.
592
593 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
594 the IFUNC routine in the libc case.
595 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
596
597 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
598 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
599 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
600 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
601 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
602 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
603 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
604 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
605
606 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
607 loop to 256 bytes instead of 64 bytes and fix test signedness.
608
609 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
610 * sysdeps/sparc/sparc32/Makefile: rather than here...
611 * sysdeps/sparc/sparc64/Makefile: and here.
612
613 2012-03-28 Ulrich Drepper <drepper@gmail.com>
614
615 * malloc/mallocbug.c: Avoid warnings about unused variables.
616
617 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
618
619 [BZ #13760]
620 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
621 in the right place. Discard and retry query if response is
622 larger than input buffer size.
623
624 2012-03-28 Joseph Myers <joseph@codesourcery.com>
625
626 [BZ #369]
627 [BZ #2678]
628 [BZ #3866]
629 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
630 x for large integer exponent.
631 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
632 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
633 sign of result as needed afterwards.
634 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
635 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
636 result for underflowing pow the same as for overflow.
637 (__kernel_standard_l): Handle powl overflow and underflow here
638 rather than calling __kernel_standard.
639 * math/libm-test.inc (pow_test): Add more tests.
640
641 [BZ #3868]
642 [BZ #13879]
643 [BZ #13910]
644 [BZ #13911]
645 [BZ #13912]
646 [BZ #13913]
647 [BZ #13915]
648 [BZ #13916]
649 [BZ #13917]
650 [BZ #13918]
651 [BZ #13919]
652 [BZ #13920]
653 [BZ #13921]
654 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
655 * sysdeps/ieee754/k_standard.c: Include <float.h>.
656 (__kernel_standard_l): New function.
657 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
658 __kernel_standard.
659 * math/w_acosl.c (__acosl): Likewise.
660 * math/w_asinl.c (__asinl): Likewise.
661 * math/w_atan2l.c (__atan2l): Likewise.
662 * math/w_atanhl.c (__atanhl): Likewise.
663 * math/w_coshl.c (__coshl): Likewise.
664 * math/w_exp10l.c (__exp10l): Likewise.
665 * math/w_exp2l.c (__exp2l): Likewise.
666 * math/w_fmodl.c (__fmodl): Likewise.
667 * math/w_hypotl.c (__hypotl): Likewise.
668 * math/w_j0l.c (__j0l, __y0l): Likewise.
669 * math/w_j1l.c (__j1l, __y1l): Likewise.
670 * math/w_jnl.c (__jnl, __ynl): Likewise.
671 * math/w_lgammal.c (__lgammal): Likewise.
672 * math/w_log10l.c (__log10l): Likewise.
673 * math/w_log2l.c (__log2l): Likewise.
674 * math/w_logl.c (__logl): Likewise.
675 * math/w_powl.c (__powl): Likewise.
676 * math/w_remainderl.c (__remainderl): Likewise.
677 * math/w_scalbl.c (sysv_scalbl): Likewise.
678 * math/w_sinhl.c (__sinhl): Likewise.
679 * math/w_sqrtl.c (__sqrtl): Likewise.
680 * math/w_tgammal.c (__tgammal): Likewise.
681 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
682 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
683 * math/libm-test.inc (acos_test): Add more tests.
684 (acosh_test): Likewise.
685 (asin_test): Likewise.
686 (atanh_test): Likewise.
687 (exp_test): Likewise.
688 (exp10_test): Likewise.
689 (exp2_test): Likewise.
690 (expm1_test): Likewise.
691 (lgamma_test): Likewise.
692 (log_test): Likewise.
693 (log10_test): Likewise.
694 (log1p_test): Likewise.
695 (log2_test): Likewise.
696 (pow_test): Do not allow some spurious overflow exceptions.
697 (sqrt_test): Add more tests.
698 (tgamma_test): Likewise.
699 (y0_test): Likewise.
700 (y1_test): Likewise.
701 (yn_test): Likewise.
702
703 2012-03-27 Anton Blanchard <anton@samba.org>
704
705 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
706 MAP_HUGETLB.
707 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
708 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
709 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
710
711 2012-03-27 David S. Miller <davem@davemloft.net>
712
713 * conform/Makefile: Run run-conformtest.sh using $(BASH).
714
715 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
716 have-as-vis3 check.
717
718 2012-03-27 Andreas Jaeger <aj@suse.de>
719
720 * sysdeps/x86_64/elf/configure.in: Moved to ...
721 * sysdeps/x86_64/configure.in: ... here.
722 * sysdeps/x86_64/elf/start.S: Moved to ...
723 * sysdeps/x86_64/start.S: ... here.
724 * sysdeps/x86_64/elf/configure: Delete.
725
726 * sysdeps/x86_64/configure.in: Merge contents from
727 sysdeps/i386/configure.in (without i686 check).
728
729 * sysdeps/i386/elf/Versions: Merge into ...
730 * sysdeps/i386/Versions: ... this.
731 * sysdeps/i386/elf/Versions: Delete file.
732 * sysdeps/i386/elf/start.S: Moved to ...
733 * sysdeps/i386/start.S: ...here.
734 * sysdeps/i386/elf/configure.in: Merge into...
735 * sysdeps/i386/configure.in: ...here.
736 * sysdeps/i386/elf/configure.in: Delete file.
737 * sysdeps/i386/elf/configure: Delete file.
738
739 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
740 * debug/backtracesyms.c: ... here.
741 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
742 * debug/backtracesymsfd.c: ... here.
743 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
744 * sysdeps/generic/ifunc-sel.h: ... here.
745
746 * sysdeps/unix/i386/start.c: Delete file.
747 * sysdeps/unix/sparc/start.c: Delete file.
748 * sysdeps/unix/start.c: Delete file.
749
750 * sysdeps/sh/elf/configure.in: Moved to ...
751 * sysdeps/sh/configure.in: ... here.
752 * sysdeps/sh/elf/start.S: Moved to ...
753 * sysdeps/sh/start.S: ... here.
754 * sysdeps/sh/elf/configure: Delete file.
755
756 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
757 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
758 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
759 * sysdeps/powerpc/powerpc64/entry.h: ... here.
760 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
761 * sysdeps/powerpc/powerpc64/start.S: here.
762 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
763 * sysdeps/powerpc/powerpc64/Makefile: ... this.
764 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
765 * sysdeps/powerpc/powerpc64/configure.in: ... this.
766 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
767
768 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
769 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
770 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
771 * sysdeps/powerpc/powerpc32/start.S: ... here.
772 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
773 * sysdeps/powerpc/powerpc32/configure.in: ... this.
774 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
775
776 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
777 * sysdeps/powerpc/ifunc-sel.h: ... here.
778 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
779 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
780
781 * sysdeps/sparc/elf/configure.in: Moved to ...
782 * sysdeps/sparc/configure.in: ... here.
783 * sysdeps/sparc/elf/configure: Delete file.
784 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
785 * sysdeps/sparc/sparc32/start.S: ... here.
786 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
787 * sysdeps/sparc/sparc64/start.S: ... here.
788 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
789 * sysdeps/sparc/sparc32/Makefile: ... this.
790 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
791 * sysdeps/sparc/sparc64/Makefile: ... this.
792
793 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
794 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
795 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
796 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
797 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
798 * sysdeps/s390/s390-32/setjmp.S: ... here.
799 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
800 * sysdeps/s390/s390-32/configure.in: ... here.
801 * sysdeps/s390/s390-32/elf/configure: Delete file.
802 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
803 * sysdeps/s390/s390-32/start.S: ... here.
804
805 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
806 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
807 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
808 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
809 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
810 * sysdeps/s390/s390-64/setjmp.S: ... here.
811 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
812 * sysdeps/s390/s390-64/configure.in: ... here
813 * sysdeps/s390/s390-64/elf/configure: Delete file.
814 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
815 * sysdeps/s390/s390-64/start.S: ... here.
816 * sysdeps/s390/s390-64/elf/configure: Delete.
817
818 * configure.in: Remove support for elf directories in sysdeps.
819
820 * configure: Regenerated.
821 * sysdeps/i386/configure: Regenerated.
822 * sysdeps/powerpc/powerpc32/configure: Regenerated.
823 * sysdeps/powerpc/powerpc64/configure: Regenerated.
824 * sysdeps/s390/s390-32/configure: Regenerated.
825 * sysdeps/s390/s390-64/configure: Regenerated.
826 * sysdeps/sh/configure: Regenerated.
827 * sysdeps/sparc/configure: Regenerated.
828 * sysdeps/x86_64/configure: Regenerated.
829
830 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
831
832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
833
834 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
835 denormal result into account.
836
837 2012-03-25 Roland McGrath <roland@hack.frob.com>
838
839 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
840 Reported by Allan McRae <allan@archlinux.org>.
841
842 2012-03-23 Jeff Law <law@redhat.com>
843
844 * nss/getnssent.c (__nss_getent): Fix typo.
845
846 2012-03-23 David S. Miller <davem@davemloft.net>
847
848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
849
850 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
851
852 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
853 to pad to uint64_t for each field.
854 (dl_tls_index): Replace unsigned long with uint64_t.
855
856 2012-03-23 Daniel Jacobowitz <dmj@google.com>
857 Paul Pluzhnikov <ppluzhnikov@google.com>
858
859 [BZ #6528]
860 * grp/Makefile (otherlibs): Don't set it.
861 * inet/Makefile (otherlibs): Likewise.
862 * login/Makefile (otherlibs): Likewise.
863 * nscd/Makefile (otherlibs): Likewise.
864 * posix/Makefile (otherlibs): Likewise.
865 * pwd/Makefile (otherlibs): Likewise.
866 * rt/Makefile (otherlibs): Likewise.
867 * sunrpc/Makefile (otherlibs): Likewise.
868 * nss/Makefile (otherlibs): Likewise.
869 Add libnss_files to routines and static-only-routines.
870 ($(objpfx)getent): Remove rule.
871 * resolv/Makefile: Add libnss_dns and libresolv to routines and
872 static-only-routines.
873
874 2012-03-22 Joseph Myers <joseph@codesourcery.com>
875
876 [BZ #13892]
877 * math/s_cexp.c: Include <float.h>.
878 (__cexp): Handle exp result overflowing not necessarily
879 overflowing both real and imaginary parts of result.
880 * math/s_cexpf.c: Likewise.
881 * math/s_cexpl.c: Likewise.
882 * math/libm-test.inc (cexp_test): Add more tests.
883 * sysdeps/i386/fpu/libm-test-ulps: Update.
884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
885
886 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
887
888 * include/link.h (ELFW): New macro.
889 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
890 Replace ELF64_R_TYPE with ELFW(R_TYPE).
891
892 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
893
894 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
895 with uint64_t.
896
897 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
898
899 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
900 declaration.
901 (struct La_x32_retval): Likewise.
902
903 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
904
905 * sysdeps/x86_64/preconfigure.in: New file.
906 * sysdeps/x86_64/preconfigure: New generated file.
907
908 2012-03-22 Joseph Myers <joseph@codesourcery.com>
909
910 [BZ #13824]
911 * math/e_exp2l.c: Include <float.h>.
912 (__ieee754_exp2l): Handle overflow and underflow cases
913 separately. Only pass fractional part of argument to
914 __ieee754_expl.
915 * math/libm-test.inc (exp2_test): Add more tests.
916
917 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
918 negating x to take absolute value.
919 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
920 Likewise.
921 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
922 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
923 Likewise.
924 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
925 computing low part if x was negated.
926 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
927
928 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
929
930 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
931 la_x32_gnu_pltexit.
932 (pltexit): Cast int_retval to ptrdiff_t.
933 * elf/tst-auditmod3b.c: Likewise.
934 * elf/tst-auditmod4b.c: Likewise.
935 * elf/tst-auditmod5b.c: Likewise.
936 * elf/tst-auditmod6b.c: Likewise.
937 * elf/tst-auditmod6c.c: Likewise.
938 * elf/tst-auditmod7b.c: Likewise.
939
940 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
941 and x32_gnu_pltexit.
942
943 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
944 __ELF_NATIVE_CLASS.
945 (La_x32_regs): New macro.
946 (La_x32_retval): Likewise.
947 (la_x32_gnu_pltenter): New function prototype.
948 (la_x32_gnu_pltexit): Likewise.
949
950 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
951
952 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
953 exponent.
954
955 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
956
957 * configure.in (libc_cv_cc_nofma): Check for option to disable
958 generation of FMA instructions.
959 * configure: Regenerate.
960 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
961 * sysdeps/ieee754/dbl-64/Makefile: New file.
962 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
963 Remove brandred-fma4.
964 (CFLAGS-brandred-fma4.c): Remove.
965 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
966 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
967 define.
968 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
969 define.
970
971 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
972
973 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
974 LLONG_MAX != LONG_MAX.
975 (_itoa_word): Use _ITOA_WORD_TYPE on value.
976 (_fitoa_word): Likewise.
977 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
978 LLONG_MAX != LONG_MAX.
979 * stdio-common/_itowa.h: Include <_itoa.h>.
980 (_itowa_word): Use _ITOA_WORD_TYPE on value.
981 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
982 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
983 only if not defined.
984 (_ITOA_WORD_TYPE): Likewise.
985 (_itoa_word): Use _ITOA_WORD_TYPE on value.
986 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
987
988 2012-03-21 David S. Miller <davem@davemloft.net>
989
990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
991
992 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
993
994 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
995 of x86_64 when setting libc_cv_slibdir, libdir and
996 libc_cv_localedir.
997 * sysdeps/unix/sysv/linux/configure: Regenerated.
998
999 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1000
1001 * manual/lang.texi (Old Varargs): Remove section.
1002 (How Variadic): Update menu.
1003 (va_start): Do not mention varargs.h.
1004
1005 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1006 Joseph Myers <joseph@codesourcery.com>
1007
1008 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
1009 link test.
1010 * configure: Regenerated.
1011
1012 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1013
1014 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
1015 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
1016 conformtest.pl
1017
1018 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1019
1020 * NOTES: Remove.
1021 * Makefile (files-for-dist): Remove NOTES.
1022 (NOTES): Remove rule.
1023 * README: Don't refer to NOTES.
1024 * manual/creature.texi: Don't include macros.texi.
1025 * manual/intro.texi (creature.texi): Remove comment referring to
1026 NOTES.
1027
1028 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
1029 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
1030 * configure: Regenerated.
1031 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
1032 LIBC_TRY_CC_OPTION.
1033 (libc_cv_as_i686): Likewise.
1034 (libc_cv_cc_avx): Likewise.
1035 (libc_cv_cc_sse2avx): Likewise.
1036 (libc_cv_cc_fma4): Likewise.
1037 (libc_cv_cc_novzeroupper): Likewise.
1038 * sysdeps/i386/configure: Regenerated.
1039
1040 [BZ #13883]
1041 * sysdeps/i386/fpu/s_cexp.S: Remove.
1042 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
1043 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
1044 * math/libm-test.inc (cexp_test): Add more tests.
1045 * sysdeps/i386/fpu/libm-test-ulps: Update.
1046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1047
1048 2012-03-21 Allan McRae <allan@archlinux.org>
1049
1050 * timezone/Makefile: Do not install iso3166.tab and zone.tab
1051
1052 2012-03-21 Joseph Myers <joseph@codesourcery.com>
1053
1054 [BZ #13871]
1055 * math/w_exp2.c: Do not include <float.h>.
1056 (o_threshold, u_threshold): Remove.
1057 (__exp2): Calculate result before checking finiteness and calling
1058 __kernel_standard.
1059 * math/w_exp2f.c: Likewise.
1060 * math/w_exp2l.c: Likewise.
1061 * math/libm-test.inc (exp2_test): Require overflow exception for
1062 1e6 input.
1063
1064 [BZ #3866]
1065 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
1066 range of signed 64-bit integers before using fistpll. Remove
1067 checks for whether integers fit in mantissa bits.
1068 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
1069 the range of signed 32-bit integers before using fistpl. Remove
1070 checks for whether integers fit in mantissa bits.
1071 * sysdeps/i386/fpu/e_powl.S (p64): New object.
1072 (__ieee754_powl): Test for y outside the range of signed 64-bit
1073 integers before using fistpll. Reduce 64-bit values to 63-bit
1074 ones as needed.
1075 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
1076 divide-by-zero is raised for zero to large negative powers.
1077 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
1078 (__ieee754_powl): Test for y outside the range of signed 64-bit
1079 integers before using fistpll. Reduce 64-bit values to 63-bit
1080 ones as needed.
1081 * math/libm-test.inc (pow_test): Add more tests.
1082
1083 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1084
1085 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
1086 <stdio-common/_itoa.h>.
1087 * debug/segfault.c: Likewise.
1088 * elf/dl-cache.c: Likewise.
1089 * elf/dl-minimal.c: Likewise.
1090 * elf/dl-misc.c: Likewise.
1091 * elf/dl-sysdep.c: Likewise.
1092 * elf/dl-version.c: Likewise.
1093 * elf/rtld.c: Likewise.
1094 * hurd/hurdsock.c: Likewise.
1095 * hurd/lookup-retry.c: Likewise.
1096 * malloc/malloc.c: Likewise.
1097 * malloc/mtrace.c: Likewise.
1098 * nscd/nscd_getgr_r.c: Likewise.
1099 * nscd/nscd_getpw_r.c: Likewise.
1100 * nscd/nscd_getserv_r.c: Likewise.
1101 * posix/getopt_init.c: Likewise.
1102 * posix/wordexp.c: Likewise.
1103 * stdio-common/_itoa.c: Likewise.
1104 * stdio-common/printf_fphex.c: Likewise.
1105 * stdio-common/vfprintf.c: Likewise.
1106 * string/_strerror.c: Likewise.
1107 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
1108 * sysdeps/i386/i686/hp-timing.h: Likewise.
1109 * sysdeps/mach/_strerror.c: Likewise.
1110 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
1111 * sysdeps/mach/hurd/sethostid.c: Likewise.
1112 * sysdeps/mach/hurd/xmknodat.c: Likewise.
1113 * sysdeps/mach/xpg-strerror.c: Likewise.
1114 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1115 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1116 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
1117 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
1118 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1119 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
1120 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1121 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1122 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
1123 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
1124 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
1125 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
1126 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
1127 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1128 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1129 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1130 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1131 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1132 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1133 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1134 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1135
1136 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1137
1138 * stdio-common/_itoa.h: Moved to ...
1139 * sysdeps/generic/_itoa.h: Here.
1140
1141 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1142
1143 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1144 instead of "_itoa.h" and "_itowa.h".
1145 * stdio-common/vfprintf.: Likewise.
1146
1147 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1148
1149 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1150 <bits/wordsize.h>.
1151 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1152 (__signbit): Likwise.
1153 (llrintf): Likwise.
1154 (llrint): Likwise.
1155
1156 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1157
1158 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1159 __WORDSIZE != 64.
1160
1161 2012-03-20 Joseph Myers <joseph@codesourcery.com>
1162
1163 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1164 OVERFLOW_EXCEPTION_OK.
1165 * math/libm-test.inc ("Philosophy"): Update comment about
1166 exception testing.
1167 (OVERFLOW_EXCEPTION): Define.
1168 (OVERFLOW_EXCEPTION_OK): Likewise.
1169 (INVALID_EXCEPTION_OK): Renumber.
1170 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1171 (IGNORE_ZERO_INF_SIGN): Likewise.
1172 (test_exceptions): Handle FE_OVERFLOW.
1173 (exp10_test): Expect overflow exceptions.
1174 (exp2_test): Likewise.
1175 (expm1_test): Likewise.
1176 (nextafter_test): Likewise.
1177 (pow_test): Likewise.
1178 (scalbn_test): Likewise.
1179 (scalbln_test): Likewise.
1180
1181 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1182
1183 * sysdeps/x86_64/bits/atomic.h
1184 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1185 64bit integer.
1186 (atomic_exchange_acq): Likewise.
1187 (__arch_exchange_and_add_body): Likewise.
1188 (__arch_add_body): Likewise.
1189 (atomic_add_negative): Likewise.
1190 (atomic_add_zero): Likewise.
1191
1192 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1193
1194 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1195 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1196
1197 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1198
1199 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1200 Check __x86_64__ instead of __WORDSIZE.
1201
1202 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1203
1204 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1205
1206 2012-03-19 David S. Miller <davem@davemloft.net>
1207
1208 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1209
1210 * sysdeps/sparc/fpu/fenv_private.h: New file.
1211 * sysdeps/sparc/fpu/math_private.h: Use it.
1212 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1213 Remove.
1214 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1215 (libc_feholdexcept_setroundl): Remove.
1216 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1217 Remove.
1218 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1219 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1220
1221 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1222
1223 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1224 int64_t instead of long int.
1225 (INSERT_WORDS64): Likwise.
1226
1227 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1228
1229 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1230 _Unwind_GetCFA return to _Unwind_Ptr first.
1231
1232 2012-03-19 Joseph Myers <joseph@codesourcery.com>
1233
1234 [BZ #13629]
1235 * math/s_clog.c: Include <float.h>.
1236 (__clog): Scale large or subnormal inputs.
1237 * math/s_clogf.c: Likewise.
1238 * math/s_clogl.c: Likewise.
1239 * math/s_clog10.c: Include <float.h>.
1240 (M_LOG10_2): Define.
1241 (__clog10): Scale large or subnormal inputs.
1242 * math/s_clog10f.c: Likewise.
1243 * math/s_clog10l.c: Likewise.
1244 * math/libm-test.inc (clog_test): Add more tests.
1245 (clog10_test): Likewise.
1246 * sysdeps/i386/fpu/libm-test-ulps: Update.
1247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1248
1249 [BZ #11451]
1250 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1251 x and y.
1252 * math/libm-test.inc (atan2_test): Add another test.
1253
1254 * Makerules (common-objdir-compile): Remove.
1255 * sysdeps/unix/Makefile (config-generated): Do not add
1256 $(unix-generated) to variable.
1257 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1258 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1259 Remove rule.
1260 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1261 Likewise.
1262 [generic bits/local_lim.h] (before-compile): Do not append to
1263 variable.
1264 [generic bits/local_lim.h] (common-generated): Likewise.
1265 [generic sys/param.h] (before-compile): Do not append to variable.
1266 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1267 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1268 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1269 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1270 include.
1271 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1272 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1273 [generic sys/param.h] ($(addprefix
1274 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1275 [generic sys/param.h] (common-generated): Do not append to
1276 variable.
1277 [generic sys/param.h] (sysdep_headers): Likewise.
1278 [generic bits/errno.h] (before-compile): Do not append to
1279 variable.
1280 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1281 rule.
1282 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1283 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1284 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1285 [generic bits/errno.h] (common-generated): Do not append to
1286 variable.
1287 [generic bits/ioctls.h] (before-compile): Do not append to
1288 variable.
1289 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1290 rule.
1291 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1292 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1293 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1294 rule.
1295 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1296 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1297 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1298 [generic bits/ioctls.h] (common-generated): Do not append to
1299 variable.
1300 [generic sys/syscall.h] (syscall.h): Remove variable.
1301 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1302 rule.
1303 [generic sys/syscall.h] (before-compile): Do not append to
1304 variable.
1305 [generic sys/syscall.h] (common-generated): Likewise.
1306 * sysdeps/unix/errnos-tmpl.c: Remove file.
1307 * sysdeps/unix/errnos.awk: Likewise.
1308 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1309 * sysdeps/unix/ioctls.awk: Likewise.
1310 * sysdeps/unix/mk-local_lim.c: Likewise.
1311 * sysdeps/unix/snarf-ioctls: Likewise.
1312
1313 2012-03-19 Richard Henderson <rth@twiddle.net>
1314
1315 * sysdeps/i386/fpu/fenv_private.h: New file.
1316 * sysdeps/i386/fpu/math_private.h: Use it.
1317 (math_opt_barrier, math_force_eval): Remove.
1318 (libc_feholdexcept_setround_53bit): Remove.
1319 (libc_feupdateenv_53bit): Remove.
1320 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1321 (math_opt_barrier, math_force_eval): Remove.
1322 (libc_feholdexcept): Remove.
1323 (libc_feholdexcept_setround): Remove.
1324 (libc_fetestexcept, libc_fesetenv): Remove.
1325 (libc_feupdateenv_test): Remove.
1326 (libc_feupdateenv, libc_feholdsetround): Remove.
1327 (libc_feresetround): Remove.
1328
1329 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1330 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1331
1332 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1333 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1334 (libc_feupdateenv_testl): New.
1335 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1336 (libc_feupdateenv_testf): New.
1337 (libc_feupdateenv): Use libc_feupdateenv_test.
1338 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1339 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1340
1341 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1342 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1343 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1344 (libc_feresetround_noex): New.
1345 (libc_feresetround_noexf): New.
1346 (libc_feresetround_noexl): New.
1347 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1348 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1349 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1350 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1351 SET_RESTORE_ROUND.
1352 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1353 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1354 (__cos): Likewise.
1355 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1356 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1357 SET_RESTORE_ROUND_NOEX.
1358 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1359 SET_RESTORE_ROUND_NOEXF.
1360 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1361 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1362 (libc_feholdsetroundf): New.
1363 (libc_feresetround, libc_feresetroundf): New.
1364
1365 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1366 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1367 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1368
1369 * sysdeps/generic/math_private.h: Include <fenv.h>.
1370 (default_libc_feholdexcept): New.
1371 (default_libc_feholdexcept_setround): New.
1372 (default_libc_fesetenv, default_libc_feupdateenv): New.
1373 (libc_feholdexcept): Only define if undefined.
1374 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1375 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1376 (libc_feholdexcept_setroundl): Likewise.
1377 (libc_feholdexcept_setround_53bit): Likewise.
1378 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1379 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1380 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1381 (libc_feupdateenv_53bit): Likewise.
1382 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1383 (libc_feholdexcept): Convert from macro to inline function.
1384 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1385 (libc_fesetenv, libc_feupdateenv): Likewise.
1386
1387 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1388 not previously defined.
1389 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1390 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1391 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1392 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1393 * sysdeps/ieee754/flt-32/math_private.h: New file.
1394 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1395 math_private.h below SET_FLOAT_WORD.
1396 (__isnan, __isinf_ns, __finite): Remove.
1397 (__isnanf, __isinf_nsf, __finitef): Remove.
1398
1399 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1400
1401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1402
1403 2012-03-17 David S. Miller <davem@davemloft.net>
1404
1405 [BZ #6471]
1406 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1407 for 2.16.
1408
1409 2012-03-16 David S. Miller <davem@davemloft.net>
1410
1411 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1412 warnings.
1413
1414 [BZ #6471]
1415 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1416 properly.
1417 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1418 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1419 sysdep_routines when subdir is sysvipc.
1420 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1421 __getshmlba helper.
1422
1423 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1424
1425 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1426
1427 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1428 [__LP64__].
1429
1430 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1431
1432 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1433 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1434 (__lround): Renamed to ...
1435 (__llround): This. Replace long int with long long int.
1436 Define lround functions as aliases of llround functions.
1437 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1438
1439 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1440
1441 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1442 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1443 adresses to uintptr_t. Replace "long int" and "unsigned long
1444 int" with "greg_t" on va_arg.
1445
1446 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1447
1448 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1449 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1450
1451 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1452 Move e_machine check before EI_CLASS check. Handle x32
1453 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1454 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1455 SKIP_EM_IA_64 and include
1456 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1457
1458 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1459 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1460 (add_system_dir): New macro.
1461
1462 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1463 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1464
1465 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1466
1467 [BZ #2551]
1468 [BZ #2552]
1469 [BZ #2553]
1470 [BZ #2554]
1471 [BZ #2562]
1472 [BZ #2563]
1473 [BZ #2565]
1474 [BZ #2566]
1475 [BZ #2576]
1476 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1477 (y0): Likewise.
1478 * math/w_j0f.c (j0f): Likewise.
1479 (y0f): Likewise.
1480 * math/w_j0l.c (__j0l): Likewise.
1481 (__y0l): Likewise.
1482 * math/w_j1.c (j1): Likewise.
1483 (y1): Likewise.
1484 * math/w_j1f.c (j1f): Likewise.
1485 (y1f): Likewise.
1486 * math/w_j1l.c (__j1l): Likewise.
1487 (__y1l): Likewise.
1488 * math/w_jn.c (jn): Likewise.
1489 (yn): Likewise.
1490 * math/w_jnf.c (jnf): Likewise.
1491 (ynf): Likewise.
1492 * math/w_jnl.c (__jnl): Likewise.
1493 (__ynl): Likewise.
1494 * math/libm-test.inc (j0_test): Add more tests.
1495 (j1_test): Likewise.
1496 (jn_test): Likewise. Add trailing semicolon to existing test.
1497 (y0_test): Likewise.
1498 (y1_test): Likewise.
1499 * sysdeps/i386/fpu/libm-test-ulps: Update.
1500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1501
1502 [BZ #13851]
1503 [BZ #13854]
1504 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1505 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1506 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1507 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1508 (__tanl): Set errno for infinite argument.
1509 * sysdeps/i386/fpu/mptan.c: Remove.
1510 * sysdeps/i386/fpu/s_tan.S: Likewise.
1511 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1512 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1513 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1514 * math/libm-test.inc (tan_test): Add more tests and enable more
1515 tests for double and long double.
1516 * sysdeps/i386/fpu/libm-test-ulps: Update.
1517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1518
1519 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1520
1521 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1522 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1523
1524 2012-03-16 Roland McGrath <roland@hack.frob.com>
1525
1526 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1527 * configure.in: Use it for both main tree and add-ons.
1528 * configure: Regenerated.
1529
1530 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1531
1532 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1533
1534 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1535
1536 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1537 in comment.
1538
1539 [BZ #13851]
1540 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1541 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1542 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1543 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1544 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1545 infinite argument.
1546 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1547 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1548 != 0 for prec == 2.
1549 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1550 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1551 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1552 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1553 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1554 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1555 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1556 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1557 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1558 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1559 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1560 * math/libm-test.inc (cos_test): Add more tests and enable more
1561 tests for long double.
1562 (sin_test): Likewise.
1563 (sincos_test): Likewise.
1564 * sysdeps/i386/fpu/libm-test-ulps: Update.
1565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1566
1567 2012-03-16 David S. Miller <davem@davemloft.net>
1568
1569 * sysdeps/sparc/fpu/math_private.h: New file.
1570
1571 2012-03-15 David S. Miller <davem@davemloft.net>
1572
1573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1574 file.
1575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1577 file.
1578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1579 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1583 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1584 sysdep routines.
1585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1586
1587 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1588 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1589
1590 * sysdeps/sparc/sparc-ifunc.h: New file.
1591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1592 sparc-ifunc.h
1593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1595 Likewise.
1596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1597 Likewise.
1598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1602 Likewise.
1603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1608 Likewise.
1609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1610 Likewise.
1611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1615 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1617 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1618 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1620 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1629 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1630 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1631 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1632 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1633 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1634 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1635
1636 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1637
1638 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1639 scaling.
1640 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1641
1642 2012-03-15 Andreas Jaeger <aj@suse.de>
1643
1644 [BZ #13852]
1645 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1646 ieee754/flt-32 implementation for sin, cos and sincos.
1647 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1648 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1649 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1650 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1651 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1652 ieee754/flt-32 implementation for tan.
1653
1654 * math/libm-test.inc (cos_test): Enable some large input tests for
1655 float as well
1656 (sin_test): Likewise.
1657 (sincos_test): Likewise.
1658 (tan_test): Add tests for large input.
1659
1660 * sysdeps/i386/fpu/libm-test-ulps: Update.
1661
1662 2012-03-15 Andreas Jaeger <aj@suse.de>
1663
1664 [BZ #13658]
1665 * math/libm-test.inc (cos_test): Add more test cases.
1666 (sin_test): Likewise.
1667 (sincos_test): Likewise.
1668
1669 2012-03-15 Andreas Jaeger <aj@suse.de>
1670
1671 [BZ #13837]
1672 * math/libm-test.inc (cos_test): Add a test case for large input
1673 value.
1674 (sin_test): Likewise.
1675 (sincos_test): Likewise.
1676
1677 2012-03-15 Andreas Jaeger <aj@suse.de>,
1678 Joseph Myers <joseph@codesourcery.com>
1679
1680 [BZ #13658]
1681 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1682 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1683 * sysdeps/i386/fpu/branred.c: Likewise.
1684 * sysdeps/i386/fpu/dosincos.c: Likewise.
1685 * sysdeps/i386/fpu/mpa.c: Likewise.
1686 * sysdeps/i386/fpu/s_cos.S: Likewise.
1687 * sysdeps/i386/fpu/s_sin.S: Likewise.
1688 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1689 * sysdeps/i386/fpu/sincos32.c: Likewise.
1690
1691 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1692 Define.
1693 (libc_feupdateenv_53bit): Define.
1694 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1695 Define.
1696 (libc_feupdateenv_53bit): Define.
1697
1698 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1699 53 bit (without extend i386 double precision).
1700
1701 * math/libm-test.inc (sincos_test): Add tests for large input.
1702 (sin): Likewise.
1703 (cos): Likewise.
1704
1705 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1706
1707 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1708
1709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1710
1711 2012-03-15 David S. Miller <davem@davemloft.net>
1712
1713 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1714 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1715 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1716 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1729 file.
1730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1732 file.
1733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1735 file.
1736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1738 file.
1739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1740 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1741 fmin/fmax sysdep routines.
1742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1743
1744 2012-03-14 David S. Miller <davem@davemloft.net>
1745
1746 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1747 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1748 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1750 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1751 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1752 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1753 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1754 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1758 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1765 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1766 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1767 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1768 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1769 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1770 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1771 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1772 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1773 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1774 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1775 routines.
1776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1777 file.
1778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1780 file.
1781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1783 file.
1784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1786 file.
1787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1789 file.
1790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1792 file.
1793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1794 file.
1795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1796 file.
1797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1798 file.
1799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1800 New file.
1801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1802 file.
1803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1804 file.
1805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1807 file.
1808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1810 file.
1811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1813 file.
1814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1816 VIS3 routines.
1817
1818 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1819 New file.
1820
1821 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1822
1823 * sysdeps/sparc/configure.in: New file.
1824 * sysdeps/sparc/configure: Generate.
1825 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1826 * configure: Regenerate.
1827 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1828 * config.make.in (have-as-vis3): New.
1829 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1830 available use -Av9d instead of -Av9a.
1831 * sysdeps/sparc/sparc64/Makefile: Likewise.
1832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1834 New file.
1835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1836 file.
1837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1838 New file.
1839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1840 file.
1841 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1842 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1843 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1844 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1845 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1846
1847 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1848 fzeros/fnegs to load 0x80000000 into a float register instead of
1849 using the stack.
1850 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1851
1852 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1853
1854 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1855 bits/syscall.h.
1856 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1857 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1858 ($(inst_includedir)/bits/syscall.h): Remove rule.
1859 ($(objpfx)bits/syscall.d): Include instead of
1860 $(objpfx)syscall-list.d.
1861 (generated): Change syscall-list.h and syscall-list.d to
1862 bits/syscall.h and bits/syscall.d.
1863
1864 2012-03-14 Roland McGrath <roland@hack.frob.com>
1865
1866 [BZ #13846]
1867 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1868
1869 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1870
1871 [BZ #13841]
1872 * math/s_csqrt.c: Include <float.h>.
1873 (__csqrt): Scale large or subnormal inputs.
1874 * math/s_csqrtf.c: Likewise.
1875 * math/s_csqrtl.c: Likewise.
1876 * math/libm-test.inc (csqrt_test): Add more tests.
1877 * sysdeps/i386/fpu/libm-test-ulps: Update.
1878 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1879
1880 [BZ #13840]
1881 * math/libm-test.inc (hypot_test): Add more tests.
1882
1883 2012-03-13 David S. Miller <davem@davemloft.net>
1884
1885 [BZ #13840]
1886 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1887 double-precision for the calculation instead of scaling.
1888
1889 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1890
1891 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1892 manipulate bits before adding and subtracting TWO52[sx].
1893 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1894 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1895 Likewise.
1896 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1897
1898 2012-03-13 David S. Miller <davem@davemloft.net>
1899
1900 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1901 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1902 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1903 rtld-global-offsets.h
1904 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1905
1906 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1907 large parameters.
1908
1909 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1910
1911 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1912 'err' in the ifdef scope in which it is actually used.
1913
1914 * nss/nss_db/db-init.c: Include string.h
1915
1916 2012-03-12 David S. Miller <davem@davemloft.net>
1917
1918 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1919 masking out of the most significant byte of random value used.
1920 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1921 Fix coding style in previous change.
1922
1923 * sysdeps/unix/sysv/linux/kernel-features.h
1924 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1925 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1926 expression.
1927 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1928 later.
1929
1930 2012-03-11 David S. Miller <davem@davemloft.net>
1931
1932 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1933 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1934 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1935 for 'resultvar' otherwise things get truncated on 64-bit.
1936
1937 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1938 Fix masking out of the most significant byte of random value used.
1939
1940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1941
1942 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1943
1944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1945
1946 2012-03-09 David S. Miller <davem@davemloft.net>
1947
1948 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1949 variables with appropriate CPP guards.
1950 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1951 frame pointer, not the stack pointer. Correct layout comments. Fix test
1952 on resulting framesize and the management of the outregs buffer for pltexit.
1953 Preserve floating point return values across _dl_call_pltexit call.
1954 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1955 framesize and the management of the outregs buffer for pltexit.
1956 Preserve floating point return values across _dl_call_pltexit
1957 call.
1958 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1959 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1960 (print_exit): Fix format string for return register value.
1961
1962 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1963
1964 * sunrpc/Makefile (others): Add rpcgen.
1965 ($(objpfx)rpcgen): Remove special build rule and dependency on
1966 libc.
1967 * sunrpc/rpcgen.c: New file.
1968
1969 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1970
1971 [BZ #13673]
1972 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1973 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1974 * sysdeps/i386/crti.S: Likewise.
1975 * sysdeps/i386/crtn.S: Likewise.
1976 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1977 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1978 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1979 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1980 * sysdeps/sh/crti.S: Likewise.
1981 * sysdeps/sh/crtn.S: Likewise.
1982 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1983
1984 [BZ #13673]
1985 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1986 with URL.
1987 * locale/programs/locfile-kw.gperf: Likewise.
1988 * locale/programs/charmap-kw.h: Regenerated.
1989 * locale/programs/locfile-kw.h: Likewise.
1990
1991 [BZ #13673]
1992 * intl/plural.y: Replace FSF snail mail address with URL.
1993 * intl/plural.c: Regenerated.
1994
1995 2012-03-09 Richard Henderson <rth@twiddle.net>
1996
1997 * include/math_private.h: Remove file.
1998 * math/math_private.h: Move file ...
1999 * sysdeps/generic/math_private.h: ... here.
2000
2001 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
2002 * sysdeps/powerpc/fpu/math_private.h: Likewise.
2003 * sysdeps/x86_64/fpu/math_private.h: Likewise.
2004
2005 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
2006 and <math_private.h>.
2007 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
2008 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
2009 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
2010 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
2011 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
2012 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
2013 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
2014 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2015 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2016 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
2017 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2018 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
2019 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2020 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2021 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2022 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2023 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2024 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2025 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2026 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
2027 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2028 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2029 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2030 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2031 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2032 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2033 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2034 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2035 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2036 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2037 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2038 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2039 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2040 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2041 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2042 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2043 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2044 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2045 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2046 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2047 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
2048 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2049 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
2050 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2051 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2052 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2053 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
2054 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2055 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2056 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2057 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2058 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
2059 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2060 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2061 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2062 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2063 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
2064 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2065 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2066 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
2067 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2068 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2069 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2070 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2071 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
2072 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
2073 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
2074 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
2075 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
2076 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
2077 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2078 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
2079 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2080 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2081 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
2082 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2083 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
2084 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2085 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
2086 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
2087 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2088 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
2089 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2090 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
2091 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2092 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
2093 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
2094 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
2095 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
2096 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
2097 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
2098 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
2099 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
2100 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
2101 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
2102 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
2103 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
2104 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2105 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2106 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
2107 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
2108 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
2109 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
2110 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
2111 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
2112 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
2113 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
2114 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
2115 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
2116 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
2117 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
2118 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
2119 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
2120 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
2121 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
2122 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
2123 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
2124 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
2125 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
2126 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
2127 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
2128 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
2129 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2130 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2131 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2132 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2133 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2134 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2135 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2136 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2137 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2138 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2139 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2140 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2141 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2142 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2143 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2144 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2145 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2146 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2147 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2148 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2149 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2150 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2151 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2152 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2153 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2154 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2155 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2156 * sysdeps/ieee754/k_standard.c: Likewise.
2157 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2158 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2159 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2160 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2161 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2162 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2163 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2164 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2165 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2166 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2167 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2168 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2169 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2170 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2171 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2172 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2173 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2174 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2175 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2176 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2177 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2178 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2179 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2180 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2181 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2182 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2183 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2184 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2185 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2186 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2187 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2188 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2189 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2190 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2191 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2192 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2193 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2194 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2195 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2196 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2197 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2198 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2199 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2200 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2201 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2202 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2203 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2204 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2205 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2206 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2207 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2208 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2209 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2210 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2211 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2212 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2213 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2214 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2215 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2216 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2217 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2218 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2219 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2220 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2221 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2222 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2223 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2224 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2225 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2226 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2227 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2228 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2229 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2230 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2231 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2232 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2233 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2234 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2235 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2236 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2237 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2238 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2239 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2240 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2241 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2242 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2243 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2244 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2245 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2246 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2247 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2248 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2249 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2250 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2251 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2252 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2253 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2254 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2255 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2256 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2257 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2258 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2259 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2260 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2261 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2262 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2263 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2264 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2265 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2266 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2267 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2268 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2269 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2270 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2271 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2272 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2273 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2274 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2275 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2276 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2277 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2278 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2279 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2280 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2281 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2282 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2283 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2284 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2285 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2286 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2287 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2288 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2289 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2290 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2291 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2292 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2293 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2294 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2295 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2296 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2297 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2298 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2299 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2300 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2301 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2302 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2303 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2304 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2305 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2306 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2307 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2308 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2309 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2310 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2311 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2312 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2313 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2314 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2315 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2316 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2317 * sysdeps/ieee754/s_lib_version.c: Likewise.
2318 * sysdeps/ieee754/s_matherr.c: Likewise.
2319 * sysdeps/ieee754/s_signgam.c: Likewise.
2320 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2321 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2322 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2323 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2324 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2325 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2326 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2327 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2328 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2329 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2330 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2331 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2332 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2333 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2334 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2335 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2336 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2337 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2338 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2339 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2340 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2341
2342 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2343
2344 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2345 * sunrpc/rpc_main.c: Likewise.
2346 * sunrpc/rpc_svcout.c: Likewise.
2347
2348 2012-03-09 David S. Miller <davem@davemloft.net>
2349
2350 * include/math_private.h: New file.
2351
2352 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2353
2354 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2355 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2356 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2357 from <bits/socket_type.h>.
2358 (enum __socket_type): Don't define here.
2359 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2360 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2361 bits/socket_type.h.
2362
2363 [BZ #13566]
2364 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2365 checking __USE_GNU.
2366
2367 * Makerules ($(inst_includedir)/%.h): New rule.
2368 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2369 (install-others): Remove variable setting.
2370 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2371
2372 2012-03-08 Richard Henderson <rth@twiddle.net>
2373
2374 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2375 from macro to inline function; merge with the
2376 !__LIBC_INTERNAL_MATH_INLINES version.
2377 (__ieee754_sqrtf): Likewise.
2378
2379 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2380 to inline function.
2381 (__rintf, __floor, __floorf): Likewise.
2382
2383 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2384 macro to inline function.
2385 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2386
2387 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2388 not <math/math_private.h>.
2389
2390 2012-03-08 David S. Miller <davem@davemloft.net>
2391
2392 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2393 copyright year.
2394 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2395
2396 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2397
2398 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2399 normalization.
2400 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2401 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2402
2403 2012-03-08 Ulrich Drepper <drepper@gmail.com>
2404
2405 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2406 be defined individually, they must be defined as a block. Define
2407 S for printing a string instead of hidint the different by using a
2408 macro for adding the 'l'.
2409 * stdio-common/tst-fphex-wide.c: Adjust.
2410
2411 2012-03-07 Marek Polacek <polacek@redhat.com>
2412
2413 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2414
2415 2012-03-08 Marek Polacek <polacek@redhat.com>
2416
2417 [BZ #13806]
2418 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2419 * stdio-common/tst-fphex.c: Define a few macros to make the
2420 test reusable. Use them.
2421 * stdio-common/tst-fphex-wide.c: New file.
2422
2423 2012-03-08 Joseph Myers <joseph@codesourcery.com>
2424
2425 [BZ #6911]
2426 * manual/macros.texi (gnusystems): New macro.
2427 (nongnusystems): Likewise.
2428 (gnulinuxhurdsystems): Likewise.
2429 (gnuhurdsystems): Likewise..
2430 (gnulinuxsystems): Likewise.
2431 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2432 variants of the GNU system, not "GNU system".
2433 * manual/conf.texi: Likewise.
2434 * manual/errno.texi: Likewise. Update example of errno macro
2435 expansion.
2436 * manual/filesys.texi: Likewise.
2437 (getumask): Document as specific to GNU/Hurd.
2438 * manual/install.texi: Likewise. Reword some references to
2439 GNU/Linux.
2440 * manual/intro.texi: Likewise.
2441 * manual/io.texi: Likewise.
2442 (File Name Portability): Detail which constraints are inapplicable
2443 to all GNU systems and which are only inapplicable to GNU/Hurd.
2444 * manual/job.texi: Likewise.
2445 * manual/llio.texi: Likewise.
2446 (O_NOCTTY): Document as present on GNU/Linux.
2447 * manual/maint.texi: Likewise.
2448 * manual/memory.texi: Likewise.
2449 * manual/pattern.texi: Likewise.
2450 * manual/pipe.texi: Likewise.
2451 * manual/process.texi: Likewise.
2452 * manual/resource.texi: Likewise.
2453 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2454 child on GNU/Hurd.
2455 * manual/setjmp.texi: Likewise.
2456 * manual/signal.texi: Likewise.
2457 * manual/startup.texi: Likewise.
2458 * manual/stdio.texi: Likewise.
2459 * manual/terminal.texi: Likewise.
2460 (ONLCR): Document as POSIX.
2461 (OXTABS): Document availability on GNU/Linux as XTABS.
2462 (ONOEOT): Document availability separately from other bits.
2463 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2464 * manual/time.texi: Likewise.
2465 * manual/users.texi: Likewise.
2466 * INSTALL: Regenerated.
2467 * sysdeps/gnu/errlist.c: Regenerated.
2468
2469 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2470 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2471 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2472 puts.
2473 * configure: Regenerated.
2474
2475 2012-03-07 Joseph Myers <joseph@codesourcery.com>
2476
2477 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2478 default includes instead of AC_HEADER_CHECK.
2479 * sysdeps/i386/configure: Regenerated.
2480
2481 [BZ #10716]
2482 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2483 * math/s_cacoshf.c (__cacoshf): Likewise.
2484 * math/s_cacoshl.c (__cacoshl): Likewise.
2485 * math/s_casinh.c (__casinh): Set signs of result from argument.
2486 * math/s_casinhf.c (__casinhf): Likewise.
2487 * math/s_casinhl.c (__casinhl): Likewise.
2488 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2489 (casinh_test): Add more tests.
2490 * sysdeps/i386/fpu/libm-test-ulps: Update.
2491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2492
2493 2012-03-07 Ulrich Drepper <drepper@gmail.com>
2494
2495 * po/zh_TW.po: Update from translation team.
2496
2497 * login/Makefile (distribute): Remove variable.
2498 * catgets/Makefile: Likewise.
2499 * mach/Makefile: Likewise.
2500 * malloc/Makefile: Likewise.
2501 * misc/Makefile: Likewise.
2502 * iconv/Makefile: Likewise.
2503 * nscd/Makefile: Likewise.
2504 * hurd/Makefile: Likewise.
2505 * manual/Makefile: Likewise.
2506 * locale/Makefile: Likewise.
2507 * intl/Makefile: Likewise.
2508 * conform/Makefile: Likewise.
2509 * nss/Makefile: Likewise.
2510 * time/Makefile: Likewise.
2511 * soft-fp/Makefile: Likewise.
2512 * dirent/Makefile: Likewise.
2513 * gmon/Makefile: Likewise.
2514 * po/Makefile: Likewise.
2515 * rt/Makefile: Likewise.
2516 * socket/Makefile: Likewise.
2517 * math/Makefile: Likewise.
2518 * signal/Makefile: Likewise.
2519 * debug/Makefile: Likewise.
2520 * elf/Makefile: Likewise.
2521 * timezone/Makefile: Likewise.
2522 * stdlib/Makefile: Likewise.
2523 * iconvdata/Makefile: Likewise.
2524 * sunrpc/Makefile: Likewise.
2525 * io/Makefile: Likewise.
2526 * argp/Makefile: Likewise.
2527 * inet/Makefile: Likewise.
2528 * hesiod/Makefile: Likewise.
2529 * grp/Makefile: Likewise.
2530 * csu/Makefile: Likewise.
2531 * wctype/Makefile: Likewise.
2532 * crypt/Makefile: Likewise.
2533 * libio/Makefile: Likewise.
2534 * string/Makefile: Likewise.
2535 * nis/Makefile: Likewise.
2536 * resolv/Makefile: Likewise.
2537 * stdio-common/Makefile: Likewise.
2538 * wcsmbs/Makefile: Likewise.
2539 * dlfcn/Makefile: Likewise.
2540 * posix/Makefile: Likewise.
2541
2542 * timezone/Makefile: Don't install timezone files, just the programs
2543 and scripts.
2544
2545 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2546
2547 * nss/databases.def: Add missing gshadow entry.
2548
2549 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2550
2551 2012-03-06 Marek Polacek <polacek@redhat.com>
2552
2553 [BZ #13726]
2554 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2555 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2556 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2557 * stdio-common/tst-long-dbl-fphex.c: New file.
2558
2559 2012-03-06 David S. Miller <davem@davemloft.net>
2560
2561 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2562 (set_obp_int): New function.
2563 (get_obp_int): New function.
2564 (__get_clockfreq_via_dev_openprom): Likewise.
2565 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2566 Avoid unused variable warnings on 'val' and use builtin_expect.
2567 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2568 __builtin_expect.
2569 (INLINE_CLONE_SYSCALL): Likewise.
2570
2571 2012-03-05 David S. Miller <davem@davemloft.net>
2572
2573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2574
2575 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2576
2577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2578
2579 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2580 only for |x| >= 40.
2581 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2582
2583 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2584
2585 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2586 Replace gettimeofday with __vdso_gettimeofday.
2587
2588 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2589 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2590 __vdso_clock_gettime and __vdso_getcpu.
2591
2592 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2593 time with __vdso_time.
2594
2595 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2596
2597 * manual/lang.texi (size_t): Note types to which size_t may be
2598 equivalent with the GNU C Library, but do not describe when
2599 differences between them are significant.
2600
2601 2012-03-05 Andreas Jaeger <aj@suse.de>
2602
2603 * sysdeps/i386/fpu/libm-test-ulps: Update.
2604
2605 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2606
2607 [BZ #3976]
2608 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2609 (__ieee754_pow): Save and restore rounding mode and use
2610 round-to-nearest for main computations.
2611 * math/libm-test.inc (pow_test_tonearest): New function.
2612 (pow_test_towardzero): Likewise.
2613 (pow_test_downward): Likewise.
2614 (pow_test_upward): Likewise.
2615 (main): Call the new functions.
2616 * sysdeps/i386/fpu/libm-test-ulps: Update.
2617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2618
2619 [BZ #3976]
2620 * math/libm-test.inc (cosh_test_tonearest): New function.
2621 (cosh_test_towardzero): Likewise.
2622 (cosh_test_downward): Likewise.
2623 (cosh_test_upward): Likewise.
2624 (sinh_test_tonearest): Likewise.
2625 (sinh_test_towardzero): Likewise.
2626 (sinh_test_downward): Likewise.
2627 (sinh_test_upward): Likewise.
2628 (main): Call the new functions.
2629 * sysdeps/i386/fpu/libm-test-ulps: Update.
2630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2631
2632 2012-03-05 Tom de Vries <tom@codesourcery.com>
2633
2634 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2635 default stack guard is set in last bytes.
2636 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2637
2638 2012-03-05 Kees Cook <keescook@chromium.org>
2639
2640 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2641
2642 [BZ #13656]
2643 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2644 possibly allocate from heap instead of stack.
2645 * stdio-common/bug-vfprintf-nargs.c: New file.
2646 * stdio-common/Makefile (tests): Add nargs overflow test.
2647
2648 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2649
2650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2651
2652 2012-03-03 Marek Polacek <polacek@redhat.com>
2653
2654 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2655 * math/math_private.h: Likewise.
2656 * stdlib/tst-strtod.c: Likewise.
2657 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2658 * sysdeps/x86_64/bits/atomic.h: Likewise.
2659
2660 2012-03-02 David S. Miller <davem@davemloft.net>
2661
2662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2666 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2667 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2668 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2669 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2670
2671 2012-03-02 Roland McGrath <roland@hack.frob.com>
2672
2673 [BZ #13792]
2674 * manual/examples/README: New file, says the example source files
2675 can be used under GPL>=2.
2676 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2677 line containing just "*/".
2678 * manual/examples/add.c: Add copyright header (GPL>=2).
2679 * manual/examples/argp-ex1.c: Likewise.
2680 * manual/examples/argp-ex2.c: Likewise.
2681 * manual/examples/argp-ex3.c: Likewise.
2682 * manual/examples/argp-ex4.c: Likewise.
2683 * manual/examples/atexit.c: Likewise.
2684 * manual/examples/db.c: Likewise.
2685 * manual/examples/dir.c: Likewise.
2686 * manual/examples/dir2.c: Likewise.
2687 * manual/examples/execinfo.c: Likewise.
2688 * manual/examples/filecli.c: Likewise.
2689 * manual/examples/filesrv.c: Likewise.
2690 * manual/examples/fmtmsgexpl.c: Likewise.
2691 * manual/examples/genpass.c: Likewise.
2692 * manual/examples/inetcli.c: Likewise.
2693 * manual/examples/inetsrv.c: Likewise.
2694 * manual/examples/isockad.c: Likewise.
2695 * manual/examples/longopt.c: Likewise.
2696 * manual/examples/memopen.c: Likewise.
2697 * manual/examples/memstrm.c: Likewise.
2698 * manual/examples/mkfsock.c: Likewise.
2699 * manual/examples/mkisock.c: Likewise.
2700 * manual/examples/mygetpass.c: Likewise.
2701 * manual/examples/pipe.c: Likewise.
2702 * manual/examples/popen.c: Likewise.
2703 * manual/examples/rprintf.c: Likewise.
2704 * manual/examples/search.c: Likewise.
2705 * manual/examples/select.c: Likewise.
2706 * manual/examples/setjmp.c: Likewise.
2707 * manual/examples/sigh1.c: Likewise.
2708 * manual/examples/sigusr.c: Likewise.
2709 * manual/examples/stpcpy.c: Likewise.
2710 * manual/examples/strdupa.c: Likewise.
2711 * manual/examples/strftim.c: Likewise.
2712 * manual/examples/strncat.c: Likewise.
2713 * manual/examples/subopt.c: Likewise.
2714 * manual/examples/swapcontext.c: Likewise.
2715 * manual/examples/termios.c: Likewise.
2716 * manual/examples/testopt.c: Likewise.
2717 * manual/examples/testpass.c: Likewise.
2718 * manual/examples/timeval_subtract.c: Likewise.
2719
2720 [BZ #13792]
2721 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2722 function to ...
2723 * manual/timeval_subtract.c.texi: ... here, new file.
2724
2725 2012-03-02 David S. Miller <davem@davemloft.net>
2726
2727 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2728
2729 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2730
2731 [BZ #3976]
2732 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2733 (__sin): Save and restore rounding mode and use round-to-nearest
2734 for all computations.
2735 (__cos): Save and restore rounding mode and use round-to-nearest
2736 for all computations.
2737 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2738 <fenv.h>.
2739 (tan): Save and restore rounding mode and use round-to-nearest for
2740 all computations.
2741 * math/libm-test.inc (cos_test_tonearest): New function.
2742 (cos_test_towardzero): Likewise.
2743 (cos_test_downward): Likewise.
2744 (cos_test_upward): Likewise.
2745 (sin_test_tonearest): Likewise.
2746 (sin_test_towardzero): Likewise.
2747 (sin_test_downward): Likewise.
2748 (sin_test_upward): Likewise.
2749 (tan_test_tonearest): Likewise.
2750 (tan_test_towardzero): Likewise.
2751 (tan_test_downward): Likewise.
2752 (tan_test_upward): Likewise.
2753 (main): Call the new functions.
2754 * sysdeps/i386/fpu/libm-test-ulps: Update.
2755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2756
2757 [BZ #10135]
2758 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2759 small n, then large n, before computing and testing k+n.
2760 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2761 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2762 Likewise.
2763 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2764 Likewise.
2765 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2766 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2767 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2768 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2769 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2770 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2771 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2772 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2773 * math/libm-test.inc (scalbn_test): Add more tests.
2774 (scalbln_test): Likewise.
2775
2776 * manual/filesys.texi (mode_t): Describe constraints on size and
2777 signedness, not exact equivalence to a particular type.
2778 (ino_t): Likewise.
2779 (ino64_t): Likewise.
2780 (dev_t): Likewise.
2781 (nlink_t): Likewise.
2782 (blkcnt_t): Likewise.
2783 (blkcnt64_t): Likewise.
2784 * manual/llio.texi (off_t): Likewise.
2785
2786 [BZ #3976]
2787 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2788 (__ieee754_exp): Save and restore rounding mode and use
2789 round-to-nearest for all computations.
2790 * math/libm-test.inc (exp_test_tonearest): New function.
2791 (exp_test_towardzero): Likewise.
2792 (exp_test_downward): Likewise.
2793 (exp_test_upward): Likewise.
2794 (main): Call the new functions.
2795 * sysdeps/i386/fpu/libm-test-ulps: Update.
2796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2797
2798 2012-03-01 Chris Demetriou <cgd@google.com>
2799
2800 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2801 have predictable order.
2802
2803 2012-03-01 David S. Miller <davem@davemloft.net>
2804
2805 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2806
2807 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2808 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2809 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2810 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2811
2812 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2813 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2814 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2816 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2817 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2818 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2819 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2820 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2821
2822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2823
2824 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2825 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2826 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2827
2828 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2829 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2830 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2831 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2832 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2833 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2834 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2835 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2836 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2837 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2838 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2839 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2840 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2841 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2842 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2843 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2844 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2845 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2846 * sysdeps/sparc/elf/configure: Regenerated.
2847
2848 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2849
2850 * configure.in (AS, LD): Require binutils 2.20 or later.
2851 * configure: Regenerated.
2852 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2853 as required minimum version.
2854 * INSTALL: Regenerated.
2855
2856 [BZ #2541]
2857 [BZ #4108]
2858 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2859 before squaring exponent.
2860 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2861 bottom long double and 27 bits of top long double before squaring
2862 exponent.
2863 * math/libm-test.inc (erfc_test): Add more tests.
2864 * sysdeps/i386/fpu/libm-test-ulps: Update.
2865 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2867
2868 2012-03-01 Kai Tietz <ktietz@redhat.com>
2869
2870 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2871 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2872 containing bit-fields.
2873 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2874 * soft-fp/single.h (_FP_UNION_S): Likewise.
2875 * soft-fp/double.h (_FP_UNION_D): Likewise.
2876
2877 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2878
2879 [BZ #13786]
2880 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2881 not include ../strcmp.S.
2882 [USE_AS_STRNCASECMP_L]: Likewise.
2883 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2884 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2885 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2886 (__strncasecmp_l_ia32): Define as alias to
2887 __strncasecmp_l_nonascii.
2888
2889 [BZ #5794]
2890 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2891 * sysdeps/i386/fpu/libm-test-ulps: Update.
2892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2893
2894 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2896
2897 2012-02-29 Jeff Law <law@redhat.com>
2898
2899 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2900 out of bounds read.
2901
2902 2012-02-29 Marek Polacek <polacek@redhat.com>
2903
2904 [BZ #13706]
2905 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2906 * elf/Makefile: Add rules to run tst-unused-dep.out.
2907
2908 2012-02-28 David S. Miller <davem@davemloft.net>
2909
2910 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2911 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2912 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2913 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2914 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2915 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2916
2917 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2918
2919 * math/libm-test.inc (llround_test): Move one test from
2920 lround_test. Use TEST_f_L in moved test.
2921 (lround_test): Move misplaced test to llround_test. Add testcase
2922 from bug 2561.
2923
2924 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2925
2926 * sysdeps/x86_64/fpu/e_expf.S: New file.
2927 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2928
2929 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2930
2931 [BZ #13637]
2932 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2933 of remain_len that may cause incomplete multi-byte character and
2934 false match.
2935 * posix/bug-regex33.c: New file.
2936 * posix/Makefile (tests): Add bug-regex33.
2937
2938 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2939
2940 * manual/macros.texi: New file.
2941 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2942 * manual/libc.texinfo: Include macros.texi.
2943 * manual/creatute.texi: Likewise.
2944 * manual/install.texi: Likewise.
2945 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2946 @glibcadj{} in references to the GNU C Library.
2947 * manual/charset.texi: Likewise.
2948 * manual/conf.texi: Likewise.
2949 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2950 when not using those macros.
2951 * manual/creature.texi: Likewise.
2952 * manual/crypt.texi: Likewise.
2953 * manual/errno.texi: Likewise.
2954 * manual/filesys.texi: Likewise.
2955 * manual/header.texi: Likewise.
2956 * manual/install.texi: Likewise.
2957 * manual/intro.texi: Likewise.
2958 * manual/io.texi: Likewise.
2959 * manual/job.texi: Likewise.
2960 * manual/lang.texi: Likewise.
2961 * manual/libc.texiinfo: Likewise.
2962 * manual/llio.texi: Likewise.
2963 * manual/locale.texi: Likewise.
2964 * manual/maint.texi: Likewise.
2965 * manual/math.texi: Likewise.
2966 * manual/memory.texi: Likewise.
2967 * manual/message.texi: Likewise.
2968 * manual/nss.texi: Likewise.
2969 * manual/pattern.texi: Likewise.
2970 * manual/process.texi: Likewise.
2971 * manual/resource.texi: Likewise.
2972 * manual/search.texi: Likewise.
2973 * manual/setjmp.texi: Likewise.
2974 * manual/signal.texi: Likewise.
2975 * manual/socket.texi: Likewise.
2976 * manual/startup.texi: Likewise.
2977 * manual/stdio.texi: Likewise.
2978 * manual/string.texi: Likewise.
2979 * manual/sysinfo.texi: Likewise.
2980 * manual/syslog.texi: Likewise.
2981 * manual/terminal.texi: Likewise.
2982 * manual/time.texi: Likewise.
2983 * manual/users.texi: Likewise.
2984 * INSTALL: Regenerated.
2985 * NOTES: Regenerated.
2986 * sysdeps/gnu/errlist.c: Regenerated.
2987
2988 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2989
2990 * include/dirent.h: Include <dirstream.h> before
2991 <dirent/dirent.h>.
2992
2993 2012-02-28 David S. Miller <davem@davemloft.net>
2994
2995 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2996 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2997 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2998 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2999
3000 2012-02-27 David S. Miller <davem@davemloft.net>
3001
3002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
3003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
3004 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
3005 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
3006
3007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
3008 frame pointer instead of stack pointer relative arg slot.
3009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3010 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3011 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3012
3013 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
3014
3015 [BZ #3992]
3016 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
3017
3018 2012-02-27 David S. Miller <davem@davemloft.net>
3019
3020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
3021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
3022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
3023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
3024 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
3025 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
3026 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
3027 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
3028
3029 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3030
3031 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
3032 later. Allow versions 5-9.
3033 * configure: Regenerated.
3034 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
3035 required minimum version and 4.6 as recommended version. Do not
3036 mention bugs in GCC 2.7 and 2.8.
3037 * INSTALL: Regenerated.
3038
3039 2012-02-27 David S. Miller <davem@davemloft.net>
3040
3041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
3042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
3043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
3044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
3045 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
3046 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
3047 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
3048 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
3049
3050 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
3051 manipulate bits before adding and subtracting TWO112[sx].
3052 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
3053
3054 2012-02-27 Roland McGrath <roland@hack.frob.com>
3055
3056 [BZ #13775]
3057 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
3058 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
3059 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
3060 being in POSIX, because they are in 1003.1-2008.
3061
3062 * rt/tst-aio.c: Include <fcntl.h>.
3063 * rt/tst-aio7.c: Likewise.
3064 * rt/tst-aio64.c: Likewise.
3065
3066 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
3067
3068 2012-02-27 Joseph Myers <joseph@codesourcery.com>
3069
3070 * manual/install.texi (--with-headers): Describe headers as
3071 interface headers, not private headers.
3072 (Specific advice for GNU/Linux systems): Describe use of headers
3073 from "make headers_install", not private headers from older
3074 kernels.
3075 * INSTALL: Regenerated.
3076 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
3077 Change to 2.6.19.
3078 * sysdeps/unix/sysv/linux/configure: Regenerated.
3079
3080 * manual/llio.texi (fclean): Remove documentation.
3081
3082 * manual/Makefile (libc-texi-generated): New variable. Include
3083 version.texi.
3084 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
3085 $(libc-texi-generated), not duplicated list of files.
3086 (version.texi, stamp-version): New rules.
3087 (realclean): Remove $(libc-texi-generated), not individual files
3088 from that list. Do not remove dir-add.texinfo.
3089 * manual/libc.texinfo: Comment out uses of edition numbers and
3090 references to printed manual. Remove last-updated dates.
3091 (EDITION): Comment out.
3092 (ISBN): Likewise.
3093 (VERSION, UPDATED): Remove.
3094 (version.texi): Include.
3095
3096 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
3097
3098 * sysdeps/posix/spawni.c: Include <signal.h>.
3099 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
3100 * sysdeps/pthread/aio_fsync.c: Likewise.
3101
3102 2012-02-26 Ulrich Drepper <drepper@gmail.com>
3103
3104 * conform/Makefile (tests): Run only when not cross-compiling and
3105 when fast-check is not defined.
3106
3107 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
3108 * conform/data/limits.h-data: Fixes for POSIX2008.
3109 * conform/run-conformtest.sh: Run all tests.
3110 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
3111 headers.
3112 * include/bits/dlfcn.h: Likewise.
3113 * include/langinfo.h: Likewise.
3114 * include/monetary.h: Likewise.
3115 * include/sys/poll.h: Likewise.
3116
3117 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
3118 for __USE_GNU.
3119 * posix/spawn.h: Define __need_sigset_t.
3120 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
3121 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
3122 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
3123 to get sigevent_t only.
3124 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
3125 only for __USE_GNU.
3126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
3127 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
3128 process_vm_writev only for __USE_GNU.
3129 * termios/termios.h: Declare tcgetsid also for POSIX2008.
3130
3131 * conform/Makefile: For now ignore errors from run-conformtest.
3132 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3133 POSIX to avoid namespace pollution. Don't prepend headers.
3134 * conform/data/aio.h-data: Fixes for POSIX testing.
3135 * conform/data/fcntl.h-data: Likewise.
3136 * conform/data/glob.h-data: Likewise.
3137 * conform/data/grp.h-data: Likewise.
3138 * conform/data/pthread.h-data: Likewise.
3139 * conform/data/pwd.h-data: Likewise.
3140 * conform/data/signal.h-data: Likewise.
3141 * conform/data/spawn.h-data: Likewise.
3142 * conform/data/stdio.h-data: Likewise.
3143 * conform/data/stdlib.h-data: Likewise.
3144 * conform/data/stropts.h-data: Likewise.
3145 * conform/data/sys/mman.h-data: Likewise.
3146 * conform/data/sys/stat.h-data: Likewise.
3147 * conform/data/sys/types.h-data: Likewise.
3148 * conform/data/sys/wait.h-data: Likewise.
3149 * conform/data/time.h-data: Likewise.
3150 * conform/data/unistd.h-data: Likewise.
3151 * conform/data/utime.h-data: Likewise.
3152
3153 * io/sys/stat.h: fchmod was always in POSIX.
3154 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3155 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3156 * rt/aio.h: Define __need_timespec before including <time.h>.
3157 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3158 struct. Add forward declaration of pthread_attr_t and use it in
3159 sigevent.
3160 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3161 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3162 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3163 always remove CLK_TCK definition.
3164
3165 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3166
3167 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3168
3169 2012-02-25 Ulrich Drepper <drepper@gmail.com>
3170
3171 * conform/run-conformtest.sh: New file.
3172 * conform/Makefile: Run run-conformtest for tests.
3173 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3174 support.
3175
3176 * conform/data/uchar.h-data: New file.
3177 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3178 * conform/data/arpa/inet.h-data: Likewise.
3179 * conform/data/assert.h-data: Likewise.
3180 * conform/data/complex.h-data: Likewise.
3181 * conform/data/cpio.h-data: Likewise.
3182 * conform/data/ctype.h-data: Likewise.
3183 * conform/data/dirent.h-data: Likewise.
3184 * conform/data/dlfcn.h-data: Likewise.
3185 * conform/data/errno.h-data: Likewise.
3186 * conform/data/fcntl.h-data: Likewise.
3187 * conform/data/float.h-data: Likewise.
3188 * conform/data/fmtmsg.h-data: Likewise.
3189 * conform/data/fnmatch.h-data: Likewise.
3190 * conform/data/ftw.h-data: Likewise.
3191 * conform/data/glob.h-data: Likewise.
3192 * conform/data/grp.h-data: Likewise.
3193 * conform/data/iconv.h-data: Likewise.
3194 * conform/data/inttypes.h-data: Likewise.
3195 * conform/data/langinfo.h-data: Likewise.
3196 * conform/data/libgen.h-data: Likewise.
3197 * conform/data/limits.h-data: Likewise.
3198 * conform/data/locale.h-data: Likewise.
3199 * conform/data/math.h-data: Likewise.
3200 * conform/data/monetary.h-data: Likewise.
3201 * conform/data/mqueue.h-data: Likewise.
3202 * conform/data/ndbm.h-data: Likewise.
3203 * conform/data/net/if.h-data: Likewise.
3204 * conform/data/netdb.h-data: Likewise.
3205 * conform/data/netinet/in.h-data: Likewise.
3206 * conform/data/nl_types.h-data: Likewise.
3207 * conform/data/poll.h-data: Likewise.
3208 * conform/data/pthread.h-data: Likewise.
3209 * conform/data/pwd.h-data: Likewise.
3210 * conform/data/regex.h-data: Likewise.
3211 * conform/data/sched.h-data: Likewise.
3212 * conform/data/search.h-data: Likewise.
3213 * conform/data/semaphore.h-data: Likewise.
3214 * conform/data/setjmp.h-data: Likewise.
3215 * conform/data/signal.h-data: Likewise.
3216 * conform/data/spawn.h-data: Likewise.
3217 * conform/data/stdarg.h-data: Likewise.
3218 * conform/data/stdio.h-data: Likewise.
3219 * conform/data/stdlib.h-data: Likewise.
3220 * conform/data/string.h-data: Likewise.
3221 * conform/data/strings.h-data: Likewise.
3222 * conform/data/stropts.h-data: Likewise.
3223 * conform/data/sys/ipc.h-data: Likewise.
3224 * conform/data/sys/mman.h-data: Likewise.
3225 * conform/data/sys/msg.h-data: Likewise.
3226 * conform/data/sys/resource.h-data: Likewise.
3227 * conform/data/sys/select.h-data: Likewise.
3228 * conform/data/sys/sem.h-data: Likewise.
3229 * conform/data/sys/shm.h-data: Likewise.
3230 * conform/data/sys/socket.h-data: Likewise.
3231 * conform/data/sys/stat.h-data: Likewise.
3232 * conform/data/sys/statvfs.h-data: Likewise.
3233 * conform/data/sys/time.h-data: Likewise.
3234 * conform/data/sys/timeb.h-data: Likewise.
3235 * conform/data/sys/times.h-data: Likewise.
3236 * conform/data/sys/types.h-data: Likewise.
3237 * conform/data/sys/uio.h-data: Likewise.
3238 * conform/data/sys/un.h-data: Likewise.
3239 * conform/data/sys/utsname.h-data: Likewise.
3240 * conform/data/sys/wait.h-data: Likewise.
3241 * conform/data/syslog.h-data: Likewise.
3242 * conform/data/tar.h-data: Likewise.
3243 * conform/data/termios.h-data: Likewise.
3244 * conform/data/utime.h-data: Likewise.
3245 * conform/data/utmpx.h-data: Likewise.
3246 * conform/data/varargs.h-data: Likewise.
3247 * conform/data/wchar.h-data: Likewise.
3248 * conform/data/wctype.h-data: Likewise.
3249 * conform/data/wordexp.h-data: Likewise.
3250
3251 * include/stropts.h: New file.
3252 * include/uchar.h: New file.
3253 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3254 * include/assert.h: Likewise.
3255 * include/ctype.h: Likewise.
3256 * include/dirent.h: Likewise.
3257 * include/dlfcn.h: Likewise.
3258 * include/fcntl.h: Likewise.
3259 * include/fnmatch.h: Likewise.
3260 * include/glob.h: Likewise.
3261 * include/grp.h: Likewise.
3262 * include/libio.h: Likewise.
3263 * include/locale.h: Likewise.
3264 * include/math.h: Likewise.
3265 * include/net/if.h: Likewise.
3266 * include/netdb.h: Likewise.
3267 * include/netinet/in.h: Likewise.
3268 * include/pthread.h: Likewise.
3269 * include/pwd.h: Likewise.
3270 * include/regex.h: Likewise.
3271 * include/sched.h: Likewise.
3272 * include/search.h: Likewise.
3273 * include/setjmp.h: Likewise.
3274 * include/signal.h: Likewise.
3275 * include/stdio.h: Likewise.
3276 * include/stdlib.h: Likewise.
3277 * include/string.h: Likewise.
3278 * include/sys/cdefs.h: Likewise.
3279 * include/sys/mman.h: Likewise.
3280 * include/sys/msg.h: Likewise.
3281 * include/sys/resource.h: Likewise.
3282 * include/sys/select.h: Likewise.
3283 * include/sys/socket.h: Likewise.
3284 * include/sys/stat.h: Likewise.
3285 * include/sys/statvfs.h: Likewise.
3286 * include/sys/time.h: Likewise.
3287 * include/sys/times.h: Likewise.
3288 * include/sys/uio.h: Likewise.
3289 * include/sys/utsname.h: Likewise.
3290 * include/sys/wait.h: Likewise.
3291 * include/termios.h: Likewise.
3292 * include/time.h: Likewise.
3293 * include/ulimit.h: Likewise.
3294 * include/unistd.h: Likewise.
3295 * include/utime.h: Likewise.
3296 * include/wchar.h: Likewise.
3297 * include/wctype.h: Likewise.
3298 * include/wordexp.h: Likewise.
3299
3300 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3301
3302 * time/time.h: TIME_UTC must be a macro.
3303 Make timespec_get available for ISO C11 only as well.
3304
3305 2012-02-24 Ulrich Drepper <drepper@gmail.com>
3306
3307 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3308 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3309
3310 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3311
3312 * configure.in: Use -o not -a in test for unsupported multi-arch.
3313
3314 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3315
3316 * manual/texinfo.tex: Update to version 2012-01-19.16.
3317
3318 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3319
3320 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3321
3322 2012-02-24 Roland McGrath <roland@hack.frob.com>
3323
3324 [BZ #13738]
3325 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3326 * manual/fdl-1.3.texi: New file.
3327 * manual/fdl-1.1.texi: File removed.
3328
3329 [BZ #13738]
3330 * manual/libc.texinfo (FDL_VERSION): New @set.
3331 Use it for mention of FDL in cover text.
3332 (Documentation License): Use it in @include file name.
3333
3334 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3335 Roland McGrath <roland@hack.frob.com>
3336
3337 [BZ #5461]
3338 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3339 not LONG_LONG_MAX and LONG_LONG_MIN.
3340 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3341 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3342 name.
3343 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3344
3345 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3346
3347 [BZ #2547]
3348 [BZ #11365]
3349 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3350 manipulate bits before adding and subtracting TWO23[sx].
3351 * math/libm-test.inc (nearbyint_test): Add more tests.
3352
3353 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3354
3355 [BZ #2548]
3356 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3357 bits before adding and subtracting TWO23[sx].
3358 * math/libm-test.inc (rint_test): Add more tests.
3359 (rint_test_tonearest): Likewise.
3360 (rint_test_towardzero): Likewise.
3361 (rint_test_downward): Likewise.
3362 (rint_test_upward: Likewise.
3363
3364 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3365
3366 [BZ #10110]
3367 * include/stdc-predef.h: New file. Extracted from features.h.
3368 * include/features.h: Include stdc-predef.h.
3369 * Makefile (headers): Add stdc-predef.h.
3370 * CONFORMANCE (Compiler limitations): Update.
3371
3372 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3373
3374 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3375
3376 2012-02-21 David S. Miller <davem@davemloft.net>
3377
3378 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3379 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3380
3381 2012-02-20 David S. Miller <davem@davemloft.net>
3382
3383 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3384 using a normal save/restore sequence, rather than allocating a
3385 dummy stack frame just to store a frame pointer and restore.
3386 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3387
3388 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3389
3390 * manual/install.texi: Fix stray word in line-wrapped comment.
3391
3392 2012-02-20 David S. Miller <davem@davemloft.net>
3393
3394 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3395 both binutils and gcc support GOTDATA.
3396
3397 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3398 "rd %pc" in the PIC register setup sequences.
3399
3400 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3401 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3402 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3403 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3404 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3405 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3406 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3407 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3408 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3409 (SYSCALL_ERROR_HANDLER): Likewise.
3410 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3411 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3412 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3413 (SYSCALL_ERROR_HANDLER): Likewise.
3414
3415 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3416 (HAVE_GCC_GOTDATA): New.
3417 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3418 relocation support in both binutils and gcc.
3419 * sysdeps/sparc/elf/configure: Regenerate.
3420
3421 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3422 * sysdeps/sparc/sparc32/elf/configure: Delete.
3423 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3424 * sysdeps/sparc/sparc64/elf/configure: Delete.
3425 * sysdeps/sparc/elf/configure.in: New file.
3426 * sysdeps/sparc/elf/configure: Generate.
3427
3428 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3429 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3430 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3431 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3432 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3433
3434 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3435
3436 * manual/install.texi: Do not mention specific glibc version
3437 numbers.
3438 * manual/libc.texinfo (VERSION, UPDATED): Update.
3439 (@copying): Use @copyright{} and range of years.
3440
3441 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3442
3443 [BZ #13695]
3444 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3445 [crti.S not in sysdirs] (generated): Do not append.
3446 [crti.S not in sysdirs] (omit-deps): Likewise.
3447 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3448 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3449 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3450 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3451 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3452 Likewise.
3453 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3454 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3455 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3456 * csu/defs.awk: Remove file.
3457 * sysdeps/generic/initfini.c: Likewise.
3458 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3459 variable.
3460 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3461 Likewise.
3462
3463 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3464
3465 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3466 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3467 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3468 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3469 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3470 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3471 <bits/epoll.h>.
3472 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3473 (__EPOLL_PACKED): Define to empty if not defined by
3474 <bits/epoll.h>.
3475 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3476 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3477 bits/epoll.h.
3478
3479 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3480
3481 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3482 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3483 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3484 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3485 <bits/timerfd.h>.
3486 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3487 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3488 bits/timerfd.h.
3489
3490 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3491
3492 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3493 in C locale.
3494 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3495 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3496 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3498
3499 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3500
3501 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3502 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3503
3504 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3505
3506 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3507 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3508 defined.
3509 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3510 Likewise.
3511 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3512 entry for 2.16.
3513
3514 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3515
3516 * math/w_acos.c: Use non-signaling floating-point comparisons.
3517 * math/w_acosf.c: Likewise.
3518 * math/w_acosh.c: Likewise.
3519 * math/w_acoshf.c: Likewise.
3520 * math/w_acoshl.c: Likewise.
3521 * math/w_acosl.c: Likewise.
3522 * math/w_asin.c: Likewise.
3523 * math/w_asinf.c: Likewise.
3524 * math/w_asinl.c: Likewise.
3525 * math/w_atanh.c: Likewise.
3526 * math/w_atanhf.c: Likewise.
3527 * math/w_atanhl.c: Likewise.
3528 * math/w_exp2.c: Likewise.
3529 * math/w_exp2f.c: Likewise.
3530 * math/w_exp2l.c: Likewise.
3531 * math/w_j0.c: Likewise.
3532 * math/w_j0f.c: Likewise.
3533 * math/w_j0l.c: Likewise.
3534 * math/w_j1.c: Likewise.
3535 * math/w_j1f.c: Likewise.
3536 * math/w_j1l.c: Likewise.
3537 * math/w_jn.c: Likewise.
3538 * math/w_jnf.c: Likewise.
3539 * math/w_log.c: Likewise.
3540 * math/w_log10.c: Likewise.
3541 * math/w_log10f.c: Likewise.
3542 * math/w_log10l.c: Likewise.
3543 * math/w_log2.c: Likewise.
3544 * math/w_log2f.c: Likewise.
3545 * math/w_log2l.c: Likewise.
3546 * math/w_logf.c: Likewise.
3547 * math/w_logl.c: Likewise.
3548 * math/w_sqrt.c: Likewise.
3549 * math/w_sqrtf.c: Likewise.
3550 * math/w_sqrtl.c: Likewise.
3551 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3552 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3553 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3554 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3555 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3556
3557 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3558
3559 [BZ #9739]
3560 * manual/string.texi (strnlen): Use correct parameter name in
3561 equivalent expression.
3562
3563 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3564
3565 [BZ #11174]
3566 * manual/users.texi (seteuid): Consistently use neweuid for
3567 argument name.
3568
3569 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3570
3571 [BZ #13704]
3572 * manual/nss.texi (Services in the NSS configuration): Correct
3573 list of services in example configuration file.
3574
3575 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3576
3577 [BZ #11322]
3578 * manual/arith.texi: Remove statements about negative zero
3579 behaving identically to zero.
3580
3581 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3582
3583 [BZ #5993]
3584 * manual/install.texi: Do not document upgrading from libc5.
3585
3586 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3587
3588 [BZ #4596]
3589 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3590
3591 2012-02-18 David S. Miller <davem@davemloft.net>
3592
3593 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3594 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3595 %o7 across the call.
3596 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3597 instead.
3598 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3599 SETUP_PIC_REG_LEAF.
3600 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3601 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3602 * sysdeps/sparc/crtn.S: Likewise.
3603
3604 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3605
3606 * aout/Makefile: Remove.
3607
3608 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3609
3610 [BZ #13058]
3611 * manual/examples/argp-ex1.c (main): Format definition in GNU
3612 style.
3613 * manual/examples/argp-ex2.c (main): Likewise.
3614 * manual/examples/argp-ex3.c (main): Likewise.
3615 * manual/examples/argp-ex4.c (main): Likewise.
3616 * manual/examples/longopt.c (main): Use new-style prototype
3617 definition.
3618 * manual/examples/strncat.c (main): Specify return type and use
3619 (void) for arguments.
3620 * manual/examples/subopt.c (main): Use char **argv argument.
3621
3622 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3623
3624 [BZ #5077]
3625 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3626 rounding modes.
3627
3628 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3629
3630 [BZ #6907]
3631 * manual/string.texi (strchr): Change when strchrnul is
3632 recommended.
3633
3634 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3635
3636 [BZ #174]
3637 * manual/locale.texi (setlocale): Document LOCPATH.
3638
3639 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3640
3641 [BZ #10210]
3642 * manual/process.texi (execle): Move @dots{} before last argument.
3643
3644 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3645
3646 [BZ #12047]
3647 * manual/charset.texi (Generic Charset Conversion): Fix typo
3648 (LC_TYPE -> LC_CTYPE).
3649
3650 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3651
3652 [BZ #5805]
3653 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3654 (scalbnf): Likewise.
3655 (scalbnl): Likewise.
3656 (scalbln): Likewise.
3657 (scalblnf): Likewise.
3658 (scalblnl): Likewise.
3659 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3660 (vwarnx): Likewise.
3661 (verr): Likewise.
3662 (verrx): Likewise.
3663 * manual/filesys.texi (telldir): Use braces around return type.
3664 * manual/llio.texi (mmap): Add space after comma.
3665 (mmap64): Likewise.
3666 * manual/math.texi (jn): Use @var{} on parameter names.
3667 (jnf): Likewise.
3668 (jnl): Likewise.
3669 (yn): Likewise.
3670 (ynf): Likewise.
3671 (ynl): Likewise.
3672 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3673 line.
3674 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3675 "...".
3676 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3677 (sched_get_priority_max): Likewise.
3678 * manual/signal.texi (sigvec): Add space after comma.
3679 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3680 names.
3681 (if_indextoname): Likewise.
3682 (if_freenameindex): Likewise.
3683 (sendto): Use ',' instead of '.' in prototype.
3684 * manual/startup.texi (syscall): Use @dots{} instead of literal
3685 "...".
3686 * manual/stdio.texi (__fpending): Separate initial words of
3687 paragraph from @deftypefun line.
3688 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3689 "...".
3690 (vsyslog): Use @var{} on parameter names.
3691 * manual/terminal.texi (stty): Use @var{} on parameter names.
3692 * manual/users.texi (getutmp): Use @var{} on parameter names.
3693 (getutmpx): Likewise.
3694
3695 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3696
3697 [BZ #6884]
3698 * manual/stdio.texi (fopen): Fix typos in description of
3699 ",ccs=STRING".
3700
3701 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3702
3703 [BZ #4026]
3704 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3705 get clock_id definition.
3706
3707 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3708
3709 [BZ #4822]
3710 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3711 (madvise): Cast every argument to void on its own.
3712
3713 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3714
3715 [BZ #9902]
3716 * manual/startup.texi (Exit Status): Fix typo.
3717
3718 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3719
3720 [BZ #10140]
3721 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3722 * manual/examples/argp-ex2.c: Likewise.
3723 * manual/examples/argp-ex3.c: Likewise.
3724
3725 2012-02-16 Richard Henderson <rth@redhat.com>
3726
3727 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3728 * sysdeps/s390/s390-32/initfini.c: Remove.
3729 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3730 * sysdeps/s390/s390-64/initfini.c: Remove.
3731
3732 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3733
3734 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3735 compiler output for sysdeps/generic/initfini.c.
3736 * sysdeps/sh/elf/initfini.c: Remove file.
3737
3738 2012-02-16 David S. Miller <davem@davemloft.net>
3739
3740 [BZ #11494]
3741 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3742
3743 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3744 * sysdeps/sparc/crti.S: New file.
3745 * sysdeps/sparc/crtn.S: New file.
3746 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3747 * sysdeps/sparc/sparc64/Makefile: Likewise.
3748
3749 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3750
3751 [BZ #3335]
3752 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3753
3754 2012-02-15 Roland McGrath <roland@hack.frob.com>
3755
3756 [BZ #4822]
3757 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3758
3759 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3760 (write, read, close): Likewise.
3761 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3762
3763 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3764
3765 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3766 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3767 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3768 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3769 <bits/signalfd.h>.
3770 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3771 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3772 bits/signalfd.h.
3773
3774 2012-02-14 Marek Polacek <polacek@redhat.com>
3775
3776 * sysdeps/x86_64/crti.S: New file.
3777 * sysdeps/x86_64/crtn.S: New file.
3778 * sysdeps/x86_64/elf/initfini.c: Remove file.
3779
3780 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3781
3782 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3783 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3784 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3785 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3786 <bits/inotify.h>.
3787 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3788 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3789 bits/inotify.h.
3790
3791 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3792
3793 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3794 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3795 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3796 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3797 <bits/eventfd.h>.
3798 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3799 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3800 bits/eventfd.h.
3801
3802 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3803
3804 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3805 __feraiseexcept instead of feraiseexcept.
3806
3807 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3808 nanosleep invocations.
3809 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3810 strings, and add error checking for a nanosleep invocations.
3811
3812 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3813
3814 Replace FSF snail mail address with URLs, as per GNU coding standards.
3815 Most of the snail mail addresses were wrong anyway, and omitting
3816 them makes the source code easier to maintain. Almost all of the
3817 changes are to license notices and to locale LC_IDENTIFICATION
3818 addresses, except for this one:
3819 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3820 not its snail mail address.
3821
3822 2012-02-09 Richard Henderson <rth@twiddle.net>
3823
3824 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3825 of kernel-features.h.
3826
3827 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3828
3829 2012-02-08 Marek Polacek <polacek@redhat.com>
3830
3831 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3832 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3833 * sysdeps/gnu/_G_config.h: Likewise.
3834 * sysdeps/generic/_G_config.h: Likewise.
3835
3836 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3837
3838 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3839 tests.
3840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3841
3842 * sysdeps/powerpc/powerpc32/crti.S: New file.
3843 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3844 * sysdeps/powerpc/powerpc64/crti.S: New file.
3845 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3846
3847 * Makeconfig (have-initfini): Don't set.
3848 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3849 * configure.in (nopic_initfini): Don't substitute.
3850 * config.h.in (HAVE_INITFINI): Don't #undef.
3851 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3852 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3853
3854 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3855
3856 Support crti.S and crtn.S provided directly by architectures.
3857 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3858 [crti.S in sysdirs] (omit-deps): Likewise.
3859 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3860 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3861 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3862 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3863 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3864 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3865 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3866 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3867 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3868 compiler output for sysdeps/generic/initfini.c.
3869 * sysdeps/i386/elf/Makefile: Remove file.
3870 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3871
3872 2012-02-07 Marek Polacek <polacek@redhat.com>
3873
3874 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3875 * sysdeps/gnu/_G_config.h: Likewise.
3876 * sysdeps/mach/hurd/_G_config.h: Likewise.
3877
3878 2012-02-07 Marek Polacek <polacek@redhat.com>
3879
3880 * math/Makefile (tests): Add tst-CMPLX2.
3881 * math/tst-CMPLX2.c: New file.
3882
3883 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3884
3885 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3886
3887 * math/libm-test.inc (jn_test): Add missing L suffix.
3888
3889 2012-02-06 Marek Polacek <polacek@redhat.com>
3890
3891 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3892 * sysdeps/i386/fpu/e_powf.S: Likewise.
3893 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3894 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3895 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3896 * sysdeps/i386/fpu/e_pow.S: Likewise.
3897 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3898 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3899 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3900 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3901 * sysdeps/i386/fpu/e_log2.S: Likewise.
3902 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3903 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3904 * sysdeps/i386/fpu/e_powl.S: Likewise.
3905 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3906 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3907 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3908 * sysdeps/i386/fpu/e_logl.S: Likewise.
3909 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3910 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3911 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3912 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3913 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3914 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3915 * sysdeps/i386/fpu/e_log.S: Likewise.
3916 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3917 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3918 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3919 * sysdeps/i386/fpu/e_logf.S: Likewise.
3920 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3921 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3922 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3923 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3924 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3925 * sysdeps/i386/fpu/e_log10.S: Likewise.
3926 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3927 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3928 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3929 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3930 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3931 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3932 * sysdeps/i386/asm-syntax.h: Likewise.
3933 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3934 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3935 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3936 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3937 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3938 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3939 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3940 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3941 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3942 * sysdeps/powerpc/sysdep.h: Likewise.
3943 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3944 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3945
3946 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3947
3948 [BZ #411]
3949 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3950
3951 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3952
3953 * sysdeps/i386/sysdep.h: Include <features.h>.
3954 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3955 version.
3956
3957 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3958
3959 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3960 Define.
3961 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3962 LOAD_PIC_REG_STR.
3963
3964 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3965
3966 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3967 (SETUP_PIC_REG): Use GET_PC_THUNK.
3968 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3969 macro.
3970
3971 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3972
3973 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3974 for non-PIC compilation.
3975 (SETUP_PIC_REG): Add .p2align directive.
3976 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3977 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3978 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3979 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3980 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3981 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3982 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3983 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3984 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3985 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3986 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3987 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3988 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3989 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3990 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3991 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3992 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3993 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3994 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3995 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3996 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3997 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3998 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3999 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4000 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4001 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4002 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4003 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4004 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4005 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4006 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4007 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4008 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4009 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4010 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4011 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4012 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4013 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4014 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4015 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4016 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4017
4018 2012-02-03 Joseph Myers <joseph@codesourcery.com>
4019
4020 * math/tst-CMPLX.c: Include <stdio.h>.
4021
4022 2012-01-31 Joseph Myers <joseph@codesourcery.com>
4023
4024 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
4025 float.
4026 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4027 * sysdeps/sparc/bits/mathdef.h: Likewise.
4028
4029 2012-01-31 Marek Polacek <polacek@redhat.com>
4030
4031 * libio/libio.h: Don't define _PARAMS.
4032 * locale/programs/config.h: Don't define PARAMS.
4033 * stdlib/strtol_l.c: Likewise.
4034 (__strtol_l): Remove PARAMS from the prototype.
4035
4036 2012-01-31 Ulrich Drepper <drepper@gmail.com>
4037
4038 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
4039 names. Just use the correct names. Remove unnecessary wrapper
4040 functions.
4041 * malloc/arena.c: Likewise.
4042 * malloc/hooks.c: Likewise.
4043
4044 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
4045 ARENA_TEST says not to. Simplify test for creation of a new arena.
4046 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
4047
4048 2012-01-30 Ulrich Drepper <drepper@gmail.com>
4049
4050 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
4051 into tail calls.
4052 (update_get_addr): New function.
4053 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
4054 GET_ADDR_MODULE parameter.
4055
4056 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4057
4058 * crypt/cert.c: Remove __STDC__ conditionals.
4059 * crypt/crypt-entry.c: Likewise.
4060 * crypt/crypt_util.c: Likewise.
4061 * libio/filedoalloc.c: Likewise.
4062 * libio/fileops.c: Likewise.
4063 * libio/genops.c: Likewise.
4064 * libio/iofclose.c: Likewise.
4065 * libio/iofdopen.c: Likewise.
4066 * libio/iofopen.c: Likewise.
4067 * libio/iofopen64.c: Likewise.
4068 * libio/iogetdelim.c: Likewise.
4069 * libio/iopopen.c: Likewise.
4070 * libio/obprintf.c: Likewise.
4071 * libio/oldfileops.c: Likewise.
4072 * libio/oldiofclose.c: Likewise.
4073 * libio/oldiofdopen.c: Likewise.
4074 * libio/oldiofopen.c: Likewise.
4075 * libio/oldiopopen.c: Likewise.
4076 * libio/wfiledoalloc.c: Likewise.
4077 * libio/wgenops.c: Likewise.
4078 * locale/programs/xmalloc.c: Likewise.
4079 * misc/syslog.c: Likewise.
4080 * stdio-common/xbug.c: Likewise.
4081 * string/memchr.c: Likewise.
4082 * string/memcmp.c: Likewise.
4083 * string/memrchr.c: Likewise.
4084 * string/rawmemchr.c: Likewise.
4085 * sysdeps/posix/getcwd.c: Likewise.
4086 * time/strftime_l.c: Likewise.
4087
4088 2012-01-30 Joseph Myers <joseph@codesourcery.com>
4089
4090 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
4091 * config.make.in (config-cflags-sse2avx): Define.
4092 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
4093 Fix typo.
4094
4095 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
4096
4097 * scripts/config.guess: Update from upstream config git repository.
4098 * scripts/config.sub: Likewise.
4099
4100 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
4101
4102 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
4103 (EM_NUM): Update.
4104 (R_TILEPRO_*, R_TILEGX_*): New macros.
4105
4106 * scripts/firstversions.awk: Fix bug in version range handling.
4107
4108 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
4109
4110 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
4111
4112 * include/sys/epoll.h: New file.
4113 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
4114 libc_hidden_def.
4115
4116 2012-01-28 Ulrich Drepper <drepper@gmail.com>
4117
4118 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
4119 Avoid unnecessary __WORDSIZE == 64 test.
4120 (fmaxf): Use VEX format if possible.
4121 (fmax): Likewise.
4122 (fminf): Likewise.
4123 (fmin): Likewise.
4124
4125 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
4126 * math/math_private.h: Remove libc_fegetround* and
4127 libc_fesetround*.
4128 * sysdeps/i386/configure.in: Check for -msse2avx.
4129 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4130 also if SSE2AVX is defined.
4131 Remove libc_fegetround* and libc_fesetround*.
4132 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4133 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4134 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4135 of HAS_YMM_USABLE.
4136 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4137 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4138 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4139 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4140 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4141
4142 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4143
4144 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4145
4146 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4147 size is not set.
4148 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4149
4150 2012-01-27 Ulrich Drepper <drepper@gmail.com>
4151
4152 [BZ #13618]
4153 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4154 relocation.
4155 * Makeconfig (libm): Define.
4156 * elf/Makefile: Add rules to build and run tst-relsort1.
4157 * elf/tst-relsort1.c: New file.
4158 * elf/tst-relsort1mod1.c: New file.
4159 * elf/tst-relsort1mod2.c: New file.
4160
4161 2012-01-27 Joseph Myers <joseph@codesourcery.com>
4162
4163 * math/s_ldexp.c: Remove __STDC__ conditionals.
4164 * math/s_ldexpf.c: Likewise.
4165 * math/s_ldexpl.c: Likewise.
4166 * math/s_nextafter.c: Likewise.
4167 * math/s_nexttowardf.c: Likewise.
4168 * math/s_significand.c: Likewise.
4169 * math/s_significandf.c: Likewise.
4170 * math/s_significandl.c: Likewise.
4171 * math/w_jnl.c: Likewise.
4172 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4173 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4174 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4175 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4176 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4177 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4178 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4179 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4180 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4181 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4182 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4183 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4184 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4185 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4186 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4187 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4188 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4189 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4190 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4191 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4192 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4193 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4194 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4195 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4196 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4197 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4198 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4199 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4200 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4201 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4202 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4203 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4204 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4205 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4206 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4207 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4208 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4209 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4210 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4211 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4212 * sysdeps/ieee754/k_standard.c: Likewise.
4213 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4214 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4215 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4216 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4217 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4218 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4219 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4220 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4221 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4222 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4223 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4224 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4225 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4226 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4227 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4228 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4229 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4230 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4231 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4232 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4233 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4234 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4235 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4236 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4237 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4238 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4239 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4240 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4241 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4242 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4243 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4244 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4245 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4246 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4247 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4248 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4249 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4250 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4251 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4252 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4253 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4254 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4255 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4256 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4257 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4258 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4259 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4260 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4261 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4262 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4263 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4264 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4265 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4266 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4267 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4268 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4269 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4270 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4271 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4272 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4273 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4274 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4275 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4276 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4277 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4278 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4279 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4280 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4281 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4282 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4283 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4284 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4285 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4286 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4287 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4288 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4289 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4290 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4291 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4292 * sysdeps/ieee754/s_matherr.c: Likewise.
4293 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4294 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4295 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4296 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4297
4298 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4299
4300 * crypt/md5.h: Remove __STDC__ conditionals.
4301 * libio/libioP.h: Likewise.
4302 * locale/programs/config.h: Likewise.
4303 * sysdeps/generic/sysdep.h: Likewise.
4304 * sysdeps/i386/asm-syntax.h: Likewise.
4305 * sysdeps/s390/asm-syntax.h: Likewise.
4306 * sysdeps/unix/sysdep.h: Likewise.
4307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4309
4310 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4311
4312 * libio/libio.h: Remove __STDC__ conditionals.
4313 * malloc/obstack.h: Likewise.
4314 * math/complex.h: Likewise.
4315 * math/math.h: Likewise.
4316 * sysdeps/generic/_G_config.h: Likewise.
4317 * sysdeps/gnu/_G_config.h: Likewise.
4318 * sysdeps/mach/hurd/_G_config.h: Likewise.
4319 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4320 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4321 * sysdeps/sparc/bits/mathdef.h: Likewise.
4322
4323 2012-01-26 Ulrich Drepper <drepper@gmail.com>
4324
4325 [BZ #13583]
4326 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4327 Clean up HAS_* macros.
4328 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4329 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4330 possible.
4331 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4332 HAS_AVX.
4333 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4334 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4335 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4336 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4337 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4338
4339 2012-01-25 Joseph Myers <joseph@codesourcery.com>
4340
4341 * elf/tst-unique3.cc (gets): Remove declaration.
4342 * elf/tst-unique3lib.cc (gets): Likewise.
4343 * elf/tst-unique3lib2.cc (gets): Likewise.
4344 * elf/tst-unique4.cc (gets): Likewise.
4345
4346 2012-01-24 Ulrich Drepper <drepper@gmail.com>
4347
4348 * include/stdio.h: Add C++ protection. Add gets declarations and
4349 definitions.
4350 * debug/tst-chk1.c: Don't declare gets here.
4351 * stdio-common/tst-gets.c: Likewise.
4352
4353 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4354
4355 * posix/glob: Remove directory.
4356
4357 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4358
4359 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4360
4361 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4362
4363 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4364 of the non-standard EPFNOSUPPORT.
4365
4366 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4367
4368 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4369 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4370 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4371
4372 2012-01-21 Ulrich Drepper <drepper@gmail.com>
4373
4374 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4375
4376 2012-01-20 Ulrich Drepper <drepper@gmail.com>
4377
4378 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4379 transient errors.
4380 * nscd/grpcache.c (cache_addgr): Likewise.
4381 * nscd/hstcache.c (cache_addhst): Likewise.
4382 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4383 * nscd/pwdcache.c (cache_addpw): Likewise.
4384 * nscd/servicescache.c (cache_addserv): Likewise.
4385
4386 2012-01-16 Ulrich Drepper <drepper@gmail.com>
4387
4388 * malloc/malloc.c: Various cleanups.
4389 * malloc/hooks.c: Likewise.
4390
4391 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4392 * stdlib/bug-fmtmsg1.c: New file.
4393
4394 * stdlib/fmtmsg.c (init): Add missing unlock.
4395 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4396
4397 2012-01-12 Marek Polacek <polacek@redhat.com>
4398
4399 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4400 and _GNU_SOURCE.
4401
4402 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4403
4404 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4405 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4406 macro to ensure uniqueness of label name.
4407 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4408 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4409
4410 2012-01-11 Ulrich Drepper <drepper@gmail.com>
4411
4412 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4413
4414 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4415 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4416 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4417 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4418
4419 2012-01-10 Ulrich Drepper <drepper@gmail.com>
4420
4421 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4422
4423 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4424 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4425 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4426
4427 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4428
4429 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4430 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4431 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4432 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4433
4434 * math/bits/math-finite.h: Add ldexp support.
4435
4436 2012-01-10 Marek Polacek <polacek@redhat.com>
4437
4438 * locale/programs/localedef.h (show_archive_content): Add noreturn
4439 attribute.
4440
4441 2012-01-09 Ulrich Drepper <drepper@gmail.com>
4442
4443 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4444
4445 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4446
4447 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4448
4449 * io/Makefile (headers): Add bits/poll2.h.
4450
4451 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4452
4453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4454 typo #include statement.
4455
4456 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4457
4458 * include/sys/cdefs.h: Define __attribute_alloc_size.
4459 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4460 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4461 * elf/pldd.c: Likewise.
4462 * iconv/iconv_charmap.c: Likewise.
4463 * iconv/iconvconfig.c: Likewise.
4464 * iconv/strtab.c: Likewise.
4465 * locale/programs/locale.c: Likewise.
4466 * locale/programs/localedef.h: Likewise.
4467 * locale/programs/simple-hash.c: Likewise.
4468 * nscd/nscd.h: Likewise.
4469 * nss/makedb.c: Likewise.
4470 * sysdeps/generic/ldconfig.h: Likewise.
4471 * locale/programs/localedef.c: Remove xmalloc prototype.
4472 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4473
4474 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4475
4476 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4477 appropriate.
4478
4479 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4480
4481 * math/Makefile (tests): Add tst-CMPLX.
4482 * math/tst-CMPLX.c: New file.
4483
4484 * math/complex.h (CMPLXL): Fix typo.
4485
4486 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4487 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4488 GLIBC_2.16.
4489 * debug/tst-chk1.c: Add poll and ppoll tests.
4490 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4491 * include/sys/poll.h: Add hidden proto for ppoll.
4492 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4493 * sysdeps/mach/hurd/ppoll.c: Likewise.
4494 * io/ppoll.c: Likewise.
4495 * debug/poll_chk.c: New file.
4496 * debug/ppoll_chk.c: New file.
4497 * include/bits/poll2.h: New file.
4498 * io/bits/poll2.h: New file.
4499
4500 [BZ #1350]
4501 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4502
4503 * configure.in: static is always set to yes. Remove.
4504 * config.make.in: Don't set build-static.
4505 * Makeconfig: Remove use of build-static.
4506 * dlfcn/Makefile: Likewise.
4507 * elf/Makefile: Likewise.
4508 * math/Makefile: Likewise.
4509 * misc/Makefile: Likewise.
4510 * nptl/Makefile: Likewise.
4511 * sysdeps/mach/hurd/Makefile: Likewise.
4512
4513 * configure.in: PWD_P is not used anymore.
4514 * config.make.in: Remove PWD_P entry.
4515
4516 * configure.in: Remove last remnants of RANLIB.
4517 No need to check for signed size_t anymore.
4518 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4519 and IA-64.
4520 Remove __builtin_expect test because we require at least gcc 3.4.
4521 * aclocal.m4: Likewise.
4522
4523 * wcsmbs/mbrtoc16.c: Implement using towc function.
4524 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4525 * wcsmbs/wcsmbsload.c: Likewise.
4526 * iconv/gconv_simple.c: Likewise.
4527 * iconv/gconv_int.h: Likewise.
4528 * iconv/gconv_builtin.h: Likewise.
4529 * iconv/iconv_prog.c: Remove CHAR16 handling.
4530
4531 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4532
4533 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4534
4535 * configure.in: Remove --with-elf and --enable-bounded options.
4536 Dont set base_machine for ia64. More non-ELF conditions removed.
4537 Remove testing and setting of leading underscore information.
4538 * config.make.in (build-bounded): Set to no.
4539 * config.h.in: Remove NO_UNDERSCORES entry.
4540 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4541 them.
4542 * csu/start.c: Remove !NO_UNDERSCORE code.
4543 * locale/localeinfo.h: Likewise.
4544 * sysdeps/generic/machine-gmon.h: Likewise.
4545 * sysdeps/generic/sysdep.h: Likewise.
4546 * sysdeps/i386/sysdep.h: Likewise.
4547 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4548 * sysdeps/mach/sysdep.h: Likewise.
4549 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4550 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4551 * sysdeps/sh/sysdep.h: Likewise.
4552 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4553 * sysdeps/unix/i386/sysdep.S: Likewise.
4554 * sysdeps/unix/sparc/start.c: Likewise.
4555 * sysdeps/unix/sparc/sysdep.S: Likewise.
4556 * sysdeps/unix/sparc/sysdep.h: Likewise.
4557 * sysdeps/unix/start.c: Likewise.
4558 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4559 * sysdeps/x86_64/sysdep.h: Likewise.
4560
4561 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4562
4563 [BZ #13553]
4564 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4565 for non-gcc.
4566 * argp/argp-fmtstream.h: Use const instead __const.
4567 * argp/argp.h: Likewise.
4568 * assert/assert.h: Likewise.
4569 * bits/fenv.h: Likewise.
4570 * bits/sched.h: Likewise.
4571 * bits/sigset.h: Likewise.
4572 * bits/sigthread.h: Likewise.
4573 * catgets/nl_types.h: Likewise.
4574 * conform/data/pthread.h-data: Likewise.
4575 * crypt/crypt-private.h: Likewise.
4576 * crypt/crypt.h: Likewise.
4577 * crypt/crypt_util.c: Likewise.
4578 * ctype/ctype.h: Likewise.
4579 * debug/execinfo.h: Likewise.
4580 * debug/mbsnrtowcs_chk.c: Likewise.
4581 * debug/mbsrtowcs_chk.c: Likewise.
4582 * debug/wcsnrtombs_chk.c: Likewise.
4583 * debug/wcsrtombs_chk.c: Likewise.
4584 * debug/wcstombs_chk.c: Likewise.
4585 * dirent/dirent.h: Likewise.
4586 * dlfcn/dlfcn.h: Likewise.
4587 * elf/neededtest4.c: Likewise.
4588 * grp/grp.h: Likewise.
4589 * gshadow/gshadow.h: Likewise.
4590 * iconv/gconv.h: Likewise.
4591 * iconv/gconv_int.h: Likewise.
4592 * iconv/gconv_simple.c: Likewise.
4593 * iconv/iconv.h: Likewise.
4594 * iconv/loop.c: Likewise.
4595 * iconv/skeleton.c: Likewise.
4596 * include/aio.h: Likewise.
4597 * include/aliases.h: Likewise.
4598 * include/argz.h: Likewise.
4599 * include/arpa/inet.h: Likewise.
4600 * include/assert.h: Likewise.
4601 * include/dirent.h: Likewise.
4602 * include/dlfcn.h: Likewise.
4603 * include/execinfo.h: Likewise.
4604 * include/fcntl.h: Likewise.
4605 * include/fenv.h: Likewise.
4606 * include/glob.h: Likewise.
4607 * include/grp.h: Likewise.
4608 * include/libintl.h: Likewise.
4609 * include/mntent.h: Likewise.
4610 * include/netdb.h: Likewise.
4611 * include/pwd.h: Likewise.
4612 * include/rpc/netdb.h: Likewise.
4613 * include/sched.h: Likewise.
4614 * include/search.h: Likewise.
4615 * include/shadow.h: Likewise.
4616 * include/signal.h: Likewise.
4617 * include/stdio.h: Likewise.
4618 * include/stdlib.h: Likewise.
4619 * include/string.h: Likewise.
4620 * include/sys/socket.h: Likewise.
4621 * include/sys/stat.h: Likewise.
4622 * include/sys/statfs.h: Likewise.
4623 * include/sys/statvfs.h: Likewise.
4624 * include/sys/syslog.h: Likewise.
4625 * include/sys/time.h: Likewise.
4626 * include/sys/uio.h: Likewise.
4627 * include/time.h: Likewise.
4628 * include/unistd.h: Likewise.
4629 * include/utmp.h: Likewise.
4630 * include/wchar.h: Likewise.
4631 * include/wctype.h: Likewise.
4632 * inet/aliases.h: Likewise.
4633 * inet/arpa/inet.h: Likewise.
4634 * inet/netinet/ether.h: Likewise.
4635 * inet/netinet/in.h: Likewise.
4636 * intl/libintl.h: Likewise.
4637 * io/bits/fcntl2.h: Likewise.
4638 * io/fcntl.h: Likewise.
4639 * io/ftw.h: Likewise.
4640 * io/sys/poll.h: Likewise.
4641 * io/sys/stat.h: Likewise.
4642 * io/sys/statfs.h: Likewise.
4643 * io/sys/statvfs.h: Likewise.
4644 * io/utime.h: Likewise.
4645 * libio/bits/stdio.h: Likewise.
4646 * libio/bits/stdio2.h: Likewise.
4647 * libio/libio.h: Likewise.
4648 * libio/libioP.h: Likewise.
4649 * libio/stdio.h: Likewise.
4650 * locale/lc-ctype.c: Likewise.
4651 * locale/locale.h: Likewise.
4652 * login/utmp.h: Likewise.
4653 * malloc/arena.c: Likewise.
4654 * malloc/malloc.c: Likewise.
4655 * malloc/malloc.h: Likewise.
4656 * malloc/mcheck.c: Likewise.
4657 * malloc/mtrace.c: Likewise.
4658 * math/bits/mathcalls.h: Likewise.
4659 * math/fenv.h: Likewise.
4660 * math/math_private.h: Likewise.
4661 * misc/bits/error.h: Likewise.
4662 * misc/bits/syslog.h: Likewise.
4663 * misc/err.h: Likewise.
4664 * misc/error.h: Likewise.
4665 * misc/fstab.h: Likewise.
4666 * misc/mntent.h: Likewise.
4667 * misc/regexp.h: Likewise.
4668 * misc/search.h: Likewise.
4669 * misc/sgtty.h: Likewise.
4670 * misc/sys/mman.h: Likewise.
4671 * misc/sys/syslog.h: Likewise.
4672 * misc/sys/uio.h: Likewise.
4673 * misc/sys/xattr.h: Likewise.
4674 * misc/ttyent.h: Likewise.
4675 * nis/rpcsvc/ypclnt.h: Likewise.
4676 * nss/nss.h: Likewise.
4677 * posix/bits/unistd.h: Likewise.
4678 * posix/fnmatch.h: Likewise.
4679 * posix/glob.h: Likewise.
4680 * posix/sched.h: Likewise.
4681 * posix/spawn.h: Likewise.
4682 * posix/sys/wait.h: Likewise.
4683 * posix/unistd.h: Likewise.
4684 * posix/wordexp.h: Likewise.
4685 * pwd/pwd.h: Likewise.
4686 * resolv/netdb.h: Likewise.
4687 * resource/sys/resource.h: Likewise.
4688 * rt/aio.h: Likewise.
4689 * rt/bits/mqueue2.h: Likewise.
4690 * rt/mqueue.h: Likewise.
4691 * shadow/shadow.h: Likewise.
4692 * signal/signal.h: Likewise.
4693 * socket/send.c: Likewise.
4694 * socket/sendto.c: Likewise.
4695 * socket/sys/socket.h: Likewise.
4696 * stdio-common/printf.h: Likewise.
4697 * stdlib/bits/stdlib.h: Likewise.
4698 * stdlib/fmtmsg.h: Likewise.
4699 * stdlib/monetary.h: Likewise.
4700 * stdlib/stdlib.h: Likewise.
4701 * stdlib/ucontext.h: Likewise.
4702 * streams/stropts.h: Likewise.
4703 * string/argz.h: Likewise.
4704 * string/bits/string2.h: Likewise.
4705 * string/string.h: Likewise.
4706 * string/strings.h: Likewise.
4707 * sunrpc/rpc/auth.h: Likewise.
4708 * sunrpc/rpc/auth_des.h: Likewise.
4709 * sunrpc/rpc/clnt.h: Likewise.
4710 * sunrpc/rpc/netdb.h: Likewise.
4711 * sunrpc/rpc/pmap_clnt.h: Likewise.
4712 * sunrpc/rpc/xdr.h: Likewise.
4713 * sysdeps/generic/inttypes.h: Likewise.
4714 * sysdeps/generic/net/if.h: Likewise.
4715 * sysdeps/generic/sys/swap.h: Likewise.
4716 * sysdeps/gnu/net/if.h: Likewise.
4717 * sysdeps/gnu/utmpx.h: Likewise.
4718 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4719 * sysdeps/i386/i486/bits/string.h: Likewise.
4720 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4721 * sysdeps/s390/bits/string.h: Likewise.
4722 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4723 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4724 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4725 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4726 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4727 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4728 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4729 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4730 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4731 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4732 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4733 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4734 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4735 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4736 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4737 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4738 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4739 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4740 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4741 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4742 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4743 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4744 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4745 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4746 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4747 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4748 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4749 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4750 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4751 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4752 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4753 * sysvipc/sys/ipc.h: Likewise.
4754 * sysvipc/sys/msg.h: Likewise.
4755 * sysvipc/sys/sem.h: Likewise.
4756 * sysvipc/sys/shm.h: Likewise.
4757 * termios/termios.h: Likewise.
4758 * time/sys/time.h: Likewise.
4759 * time/time.h: Likewise.
4760 * wcsmbs/bits/wchar2.h: Likewise.
4761 * wcsmbs/uchar.h: Likewise.
4762 * wcsmbs/wchar.h: Likewise.
4763 * wctype/wctype.h: Likewise.
4764
4765 [BZ #13551]
4766 * Makeconfig: Remove all but ELF support including AIX support.
4767 * Makerules: Likewise.
4768 * config.h.in: Likewise.
4769 * config.make.in: Likewise.
4770 * configure: Likewise.
4771 * configure.in: Likewise.
4772 * csu/Makefile: Likewise.
4773 * csu/version.c: Likewise.
4774 * debug/Makefile: Likewise.
4775 * dlfcn/Makefile: Likewise.
4776 * elf/Makefile: Likewise.
4777 * extra-lib.mk: Likewise.
4778 * iconv/Makefile: Likewise.
4779 * include/libc-symbols.h: Likewise.
4780 * include/shlib-compat.h: Likewise.
4781 * resolv/Makefile: Likewise.
4782 * resolv/res_libc.c: Likewise.
4783 * rt/Makefile: Likewise.
4784 * sysdeps/i386/asm-syntax.h: Likewise.
4785 * sysdeps/i386/sysdep.h: Likewise.
4786 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4787 * sysdeps/mach/sysdep.h: Likewise.
4788 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4789 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4790 * sysdeps/s390/asm-syntax.h: Likewise.
4791 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4792 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4793 * sysdeps/sh/sysdep.h: Likewise.
4794 * sysdeps/unix/sparc/sysdep.h: Likewise.
4795 * sysdeps/wordsize-32/divdi3.c: Likewise.
4796 * sysdeps/x86_64/sysdep.h: Likewise.
4797
4798 * argp/Versions: Remove _argp_unlock_xxx.
4799
4800 [BZ #13559]
4801 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4802 * abilist/libBrokenLocale.abilist: Likewise.
4803 * abilist/libanl.abilist: Likewise.
4804 * abilist/libc.abilist: Likewise.
4805 * abilist/libcrypt.abilist: Likewise.
4806 * abilist/libdl.abilist: Likewise.
4807 * abilist/libm.abilist: Likewise.
4808 * abilist/libnsl.abilist: Likewise.
4809 * abilist/libpthread.abilist: Likewise.
4810 * abilist/libresolv.abilist: Likewise.
4811 * abilist/librt.abilist: Likewise.
4812 * abilist/libthread_db.abilist: Likewise.
4813 * abilist/libutil.abilist: Likewise.
4814 * abilist/libnss_db.abilist: New file.
4815
4816 * scripts/abilist.awk: Add support for indirect functions.
4817
4818 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4819
4820 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4821
4822 * shlib-versions: Remove entries for ports architectures.
4823
4824 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4825 files in ports.
4826 * elf/stackguard-macros.h: Remove support for IA-64.
4827 * elf/tst-auditmod1.c: Likewise.
4828 * sysdeps/generic/ldsodefs.h: Likewise.
4829
4830 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4831 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4832 configure files.
4833
4834 [BZ #13552]
4835 * configure.in: Remove --enable-omitfp support.
4836 * FAQ.in: Adjust.
4837 * config.make.in: Likewise.
4838 * Makeconfig: Likewise.
4839 * manual/install.texi: Likewise.
4840
4841 In case anyone cares, the IA-64 architecture could move to ports.
4842 * sysdeps/ia64/*: Removed.
4843 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4844 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4845
4846 [BZ #13555]
4847 * configure.in: Remove entries for unsupported architectures.
4848
4849 [BZ #13533]
4850 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4851 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4852 routines.
4853 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4854 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4855 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4856 fall back to using wcrtomb.
4857 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4858 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4859 renaming.
4860 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4861 * wcsmbs/tst-c16c32-1.c: New file.
4862
4863 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4864 local variable.
4865
4866 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4867
4868 * elf/tst-unique3.cc: Add explicit declaration of gets.
4869 * elf/tst-unique3lib.cc: Likewise.
4870 * elf/tst-unique3lib2.cc: Likewise.
4871 * elf/tst-unique4.cc: Likewise.
4872
4873 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4874
4875 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4876
4877 [BZ #13566]
4878 * assert/assert.h (static_assert): Don't define for C++.
4879 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4880 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4881
4882 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4883
4884 * iconv/loop.c (single loop): Fix assertion in storing of
4885 remaining bytes.
4886
4887 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4888
4889 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4890
4891 * posix/getconf.c: Update copyright year.
4892 * nss/getent.c: Likewise.
4893 * nss/makedb.c: Likewise.
4894 * iconv/iconvconfig.c: Likewise.
4895 * iconv/iconv_prog.c: Likewise.
4896 * elf/ldconfig.c: Likewise.
4897 * elf/pldd.c: Likewise.
4898 * elf/sotruss.ksh: Likewise.
4899 * catgets/gencat.c: Likewise.
4900 * csu/version.c: Likewise.
4901 * elf/ldd.bash.in: Likewise.
4902 * elf/sprof.c (print_version): Likewise.
4903 * locale/programs/locale.c: Likewise.
4904 * locale/programs/localedef.c: Likewise.
4905 * login/programs/pt_chown.c: Likewise.
4906 * nscd/nscd.c (print_version): Likewise.
4907 * debug/xtrace.sh: Likewise.
4908 * malloc/memusage.sh: Likewise.
4909 * malloc/mtrace.pl: Likewise.
4910 * debug/catchsegv.sh: Likewise.
4911
4912 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4913
4914 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4915 pure attribute.
4916
4917 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4918
4919 [BZ #13533]
4920 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4921 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4922 transformations.
4923 * iconv/gconv_int.h: Likewise.
4924 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4925 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4926 from libc for GLIBC_2.16.
4927 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4928 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4929 * wcsmbs/uchar.h: Really define mbstate_t.
4930 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4931 * wcsmbs/c16rtomb.c: New file.
4932 * wcsmbs/mbrtoc16.c: New file.
4933 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4934 for C/POSIX locale.
4935 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4936 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4937
4938 * wcsmbs/wchar.h: Add missing __restrict.
4939
4940 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4941
4942 [BZ #13532]
4943 * time/Makefile (routines): Add timespec_get.
4944 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4945 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4946 timespec for ISO C11.
4947 * time/timespec_get.c: New file.
4948 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4949 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4950
4951 [BZ #13531]
4952 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4953 * stdlib/stdlib.h: Declare aligned_alloc.
4954 * Versions.def: Add GLIBC_2.16 for libc.
4955 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4956
4957 [BZ 13527]
4958 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4959 ISO C11.
4960
4961 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4962 code.
4963
4964 [BZ #13528]
4965 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4966
4967 [BZ #13529]
4968 * assert/assert.h (static_assert): Define.
4969
4970 * version.h: Update for 2.16 development version.
4971
4972 [BZ #13526]
4973 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4974 _ISOC11_SOURCE.
4975
4976 * version.h (RELEASE): Bump for 2.15 release.
4977 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4978
4979 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4980 Patch by Marek Polacek <mpolacek@redhat.com>.
4981
4982 * bits/byteswap.h: Protect long long constants with __extension__.
4983 * sysdeps/i386/bits/byteswap.h: Likewise.
4984 * sysdeps/ia64/bits/byteswap.h: Likewise.
4985 * sysdeps/s390/bits/byteswap.h: Likewise.
4986 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4987
4988 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4989
4990 [BZ #13540]
4991 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4992 destination buffer.
4993 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4994
4995 2011-12-23 Marek Polacek <polacek@redhat.com>
4996
4997 * elf/dl-addr.c (determine_info): Add inline keyword.
4998 * elf/tst-auditmod4b.c (check_avx): Likewise.
4999 * elf/tst-auditmod6b.c (check_avx): Likewise.
5000 * elf/tst-auditmod6c.c (check_avx): Likewise.
5001 * elf/tst-auditmod7b.c (check_avx): Likewise.
5002
5003 2011-12-23 Ulrich Drepper <drepper@gmail.com>
5004
5005 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
5006 !__SSE_MATH__.
5007
5008 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5009
5010 [BZ #13540]
5011 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
5012 processing for last bytes.
5013
5014 2011-08-06 Bruno Haible <bruno@clisp.org>
5015
5016 [BZ #13061]
5017 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
5018 U+0385, not to U+1FEE.
5019
5020 [BZ #13062]
5021 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
5022 entry for U+00A5 U+0301.
5023
5024 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5025
5026 [BZ #13166]
5027 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
5028 buffer for the output is too small.
5029
5030 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
5031 optimization.
5032
5033 [BZ #13185]
5034 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
5035 SSE flags if possible.
5036
5037 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5038
5039 [BZ #13540]
5040 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
5041 processing for last bytes.
5042
5043 2011-12-22 Joseph Myers <joseph@codesourcery.com>
5044
5045 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
5046 (syscall-list-default-options, syscall-list-default-condition)
5047 (syscall-list-includes): Define.
5048 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
5049 list of ABIs and options and #if conditions for each ABI. Do not
5050 handle common syscalls between ABIs specially.
5051 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
5052 Remove.
5053 (syscall-list-variants, syscall-list-32bit-options)
5054 (syscall-list-32bit-condition, syscall-list-64bit-options)
5055 (syscall-list-64bit-condition): Define.
5056 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
5057 (syscall-list-variants, syscall-list-32bit-options)
5058 (syscall-list-32bit-condition, syscall-list-64bit-options)
5059 (syscall-list-64bit-condition): Define.
5060 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
5061 Remove.
5062 (syscall-list-variants, syscall-list-32bit-options)
5063 (syscall-list-32bit-condition, syscall-list-64bit-options)
5064 (syscall-list-64bit-condition): Define.
5065 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
5066 Remove.
5067 (syscall-list-variants, syscall-list-32bit-options)
5068 (syscall-list-32bit-condition, syscall-list-64bit-options)
5069 (syscall-list-64bit-condition): Define.
5070
5071 2011-12-22 Ulrich Drepper <drepper@gmail.com>
5072
5073 * locale/iso-639.def: Add brx entry.
5074
5075 [BZ #13328]
5076 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
5077 Proposed by Mariusz_Cukr <marcukr@op.pl>.
5078
5079 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
5080 __feraiseexcept_renamed.
5081
5082 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5083
5084 [BZ #13538]
5085 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
5086 EPOLLET with unsigned values.
5087 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5088 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
5089
5090 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
5091 to large cancellation.
5092 * math/s_cacoshf.c: Likewise.
5093 * math/s_cacoshl.c: Likewise.
5094
5095 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
5096
5097 [BZ #13305]
5098 [BZ #12786]
5099 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
5100 * math/s_cacoshf.c: Likewise.
5101 * math/s_cacoshl.c: Likewise.
5102
5103 2011-12-21 Ulrich Drepper <drepper@gmail.com>
5104
5105 [BZ #13439]
5106 * iconv/gconv.h: Define __GCONV_SWAP.
5107 * iconvdata/unicode.c: The swap bit must be stored in __flags.
5108 * iconvdata/utf-16.c: Likewise.
5109 * iconvdata/utf-32.c: Likewise.
5110
5111 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
5112
5113 [BZ #13524]
5114 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
5115 numerator after shifting it by one limb.
5116
5117 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
5118
5119 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
5120 under [__USE_EXTERN_INLINES].
5121
5122 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5123
5124 [BZ #13446]
5125 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
5126
5127 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5128
5129 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5130 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5131 optimized code.
5132 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5133 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5134 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5135 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5136 for strncasecmp/strncasecmp_l compilation.
5137 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5138 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5139
5140 2011-12-08 Marek Polacek <mpolacek@redhat.com>
5141
5142 [BZ #13484]
5143 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5144 of __asm__.
5145
5146 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5147
5148 [BZ #13506]
5149 * time/tzfile.c (__tzfile_read): Check values from file header.
5150
5151 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5152
5153 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5154 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5155 * powerpc/powerpc32/dl-start.S: Likewise.
5156 * powerpc/powerpc32/elf/start.S: Likewise.
5157 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5158 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5159 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5160 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5161 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5162 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5163 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5164 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5165 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5166 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5167 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5168 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5169 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5170 * powerpc/powerpc32/memset.S: Likewise.
5171 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5172 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5173 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5174 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5175 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5176 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5177 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5178 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5179 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5180 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5181 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5182 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5183 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5184
5185 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5186
5187 * math/libm-test.inc: Added more nearbyint tests.
5188 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5189 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5190 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5191 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5192
5193 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5194
5195 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5196 FD_CLOEXEC.
5197
5198 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5199
5200 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5201 Add wcscpy-ssse3 wcscpy-c.
5202 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5203 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5204 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5205 * sysdeps/x86_64/wcschr.S: New file.
5206 * sysdeps/x86_64/wcsrchr.S: New file.
5207 * string/test-strcmp.c: Remove checking of wcscmp function for
5208 wrong alignments.
5209 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5210 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5211 wcsrchr-sse2 wcsrchr-c.
5212 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5213 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5214 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5215 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5216 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5217 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5218 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5219 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5220 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5221 * wcsmbc/wcschr.c (WCSCHR): New macro.
5222
5223 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5224
5225 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5226 * wcsmbs/test-wcsrchr.c: New file.
5227 * string/test-strrchr.c: Add wcsrchr support.
5228 (WIDE): New macro.
5229 * wcsmbs/test-wcscpy.c: New file.
5230 * string/test-strcpy.c: Add wcscpy support.
5231 (WIDE): New macro.
5232
5233 2011-12-10 Ulrich Drepper <drepper@gmail.com>
5234
5235 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5236 the inner loop.
5237
5238 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5239
5240 [BZ #13472]
5241 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5242
5243 2011-12-04 Ulrich Drepper <drepper@gmail.com>
5244
5245 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5246 Minor optimizations.
5247
5248 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5249 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5250 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5251
5252 2011-12-03 Ulrich Drepper <drepper@gmail.com>
5253
5254 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5255 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5256 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5257 for gcc to avoid warnings.
5258 * inet/Makefile (tests): Add tst-checks.
5259 * inet/tst-checks.c: New file.
5260
5261 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5262 warning.
5263
5264 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5265 __wmemcmp_sse2.
5266
5267 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5268 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5269
5270 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5271
5272 2011-12-02 Ulrich Drepper <drepper@gmail.com>
5273
5274 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5275 problem.
5276
5277 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5278
5279 2011-11-29 Joseph Myers <joseph@codesourcery.com>
5280
5281 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5282 conditional on GCC version.
5283 (__arch_compare_and_exchange_val_8_acq)
5284 (__arch_compare_and_exchange_val_16_acq)
5285 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5286 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5287 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5288
5289 2011-12-02 Joseph Myers <joseph@codesourcery.com>
5290
5291 * sysdeps/sh/backtrace.c: New file.
5292
5293 2011-12-02 Andreas Schwab <schwab@redhat.com>
5294
5295 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5296 parenthesis.
5297
5298 2011-12-01 Andreas Schwab <schwab@redhat.com>
5299
5300 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5301 falling back to utime.
5302
5303 2011-11-30 Andreas Schwab <schwab@redhat.com>
5304
5305 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5306 expectations for float.
5307
5308 2011-11-29 Andreas Schwab <schwab@redhat.com>
5309
5310 * locale/weight.h (findidx): Add parameter len.
5311 * locale/weightwc.h (findidx): Likewise.
5312 * posix/fnmatch_loop.c (FCT): Adjust caller.
5313 * posix/regcomp.c (build_equiv_class): Likewise.
5314 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5315 * posix/regexec.c (check_node_accept_bytes): Likewise.
5316 * string/strcoll_l.c (STRCOLL): Likewise.
5317 * string/strxfrm_l.c (STRXFRM): Likewise.
5318
5319 2011-11-17 Ulrich Drepper <drepper@gmail.com>
5320
5321 * Makefile.in: Remove CVSOPT handling.
5322 * configure.in: Remove use of AC_REVISION.
5323 * iconvdata/Makefile (distribute): No need to filter out CVS.
5324 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5325 handling.
5326
5327 2011-11-16 Andreas Schwab <schwab@redhat.com>
5328
5329 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5330 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5331 [USE_AS_STRNCASECMP_L]: Likewise.
5332 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5333 NO_TLS_DIRECT_SEG_REFS.
5334 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5335 Fix argument offsets for non-PIC.
5336 [USE_AS_STRNCASECMP_L]: Likewise.
5337 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5338 NO_TLS_DIRECT_SEG_REFS.
5339
5340 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5341
5342 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5343 O_CLOEXEC.
5344 * locale/loadlocale.c (_nl_load_locale): Likewise.
5345
5346 2011-11-15 Andreas Schwab <schwab@redhat.com>
5347
5348 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5349 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5350 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5351 (SYSCALL_GETTIME): Set errno on error.
5352
5353 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5354 count references to noai6ai_cached.
5355
5356 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5357
5358 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5359
5360 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5361 FD_CLOEXEC for /proc/self/maps.
5362
5363 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5364 FD_CLOEXEC for /proc/meminfo.
5365
5366 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5367 gai.conf.
5368
5369 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5370 FD_CLOEXEC for given file.
5371
5372 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5373
5374 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5375 FD_CLOEXEC for /etc/hosts.
5376 (_gethtent): Likewise.
5377
5378 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5379
5380 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5381 cancellation and set FD_CLOEXEC for /etc/netgroup.
5382
5383 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5384 reading /etc/publickey.
5385
5386 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5387 allow cancellation when reading /etc/group.
5388
5389 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5390 cancellation.
5391 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5392
5393 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5394 when using data file.
5395
5396 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5397
5398 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5399 (write_nis_obj): Use "c" and "e" in fopen.
5400
5401 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5402
5403 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5404
5405 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5406
5407 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5408
5409 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5410 locale.alias.
5411
5412 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5413
5414 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5415
5416 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5417
5418 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5419 file parsing and set FD_CLOEXEC.
5420
5421 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5422
5423 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5424
5425 2011-11-14 Andreas Schwab <schwab@redhat.com>
5426
5427 * malloc/arena.c (arena_get2): Don't call reused_arena when
5428 _int_new_arena failed.
5429
5430 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5431
5432 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5433 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5434 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5435 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5436 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5437 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5438 to compile strcasecmp and strncasecmp.
5439 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5440 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5441
5442 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5443
5444 2011-11-13 Ulrich Drepper <drepper@gmail.com>
5445
5446 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5447 locale-defines.sym to gen-as-const-headers.
5448 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5449 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5450 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5451 to compile strcasecmp and strncasecmp.
5452 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5453 strcasecmp_l and strncasecmp_l.
5454 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5455 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5456 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5457 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5458 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5459 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5460 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5461 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5462 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5463 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5464 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5465
5466 2011-11-12 Ulrich Drepper <drepper@gmail.com>
5467
5468 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5469 result of SYSDEP_GETTIME_CPU to retval.
5470 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5471 parameter list to macro. Remove trailing semicolon. Adjust users.
5472
5473 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5474 variable.
5475
5476 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5477 mantissa words.
5478 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5479
5480 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5481 from unused variable.
5482
5483 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5484 DWARF definitions.
5485 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5486 for assembling.
5487
5488 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5489 over namespaces.
5490
5491 * sunrpc/rpc_prot.c (rejected): Fix case value.
5492
5493 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5494 unsigned long long int to avoid warnings in shift.
5495
5496 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5497 of use of trans.
5498 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5499 variable tmp.
5500
5501 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5502 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5503 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5504
5505 * nis/nis_table.c (nis_list): Use variable of correct type for
5506 result of __follow_path call.
5507
5508 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5509
5510 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5511 of math functions ceil, trunc, floor, round, and sqrt, when
5512 avaliable on the platform.
5513 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5514 name clash.
5515 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5516 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5517 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5518
5519 2011-10-30 Marek Polacek <mpolacek@redhat.com>
5520
5521 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5522 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5523
5524 2011-11-11 Roland McGrath <roland@hack.frob.com>
5525
5526 * include/unistd.h: Fix __readlink return type.
5527 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5528
5529 2011-11-11 Ulrich Drepper <drepper@gmail.com>
5530
5531 * stdlib/ucontext.h: Undo last change for makecontext.
5532
5533 2011-11-11 Andreas Schwab <schwab@redhat.com>
5534
5535 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5536
5537 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5538 * setjmp/setjmp.h: Mark functions as non-leaf.
5539 * setjmp/bits/setjmp2.h: Likewise.
5540 * stdlib/ucontext.h: Likewise.
5541
5542 2011-11-10 Andreas Schwab <schwab@redhat.com>
5543
5544 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5545 (reused_arena): Don't check arena limit.
5546 (arena_get2): Atomically check arena limit.
5547
5548 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5549
5550 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5551 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5552
5553 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5554 instructions.
5555
5556 2011-11-07 Andreas Schwab <schwab@redhat.com>
5557
5558 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5559 handler when locking.
5560
5561 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5562 Fix size of allocated buffer.
5563
5564 2011-11-04 Andreas Schwab <schwab@redhat.com>
5565
5566 [BZ #10103]
5567 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5568 declarations for long double functions.
5569 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5570
5571 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5572
5573 2011-11-03 Andreas Schwab <schwab@redhat.com>
5574
5575 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5576 installed.
5577
5578 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5579 is disabled.
5580
5581 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5582
5583 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5584
5585 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5586
5587 * include/alloca.h (stackinfo_alloca_round): Define.
5588 (extend_alloca): Use it.
5589 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5590 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5591 here.
5592
5593 * scripts/check-local-headers.sh: Ignore libaudit.h.
5594
5595 * nscd/Makefile (extra-objs): Make recursively expanded.
5596
5597 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5598
5599 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5600 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5601
5602 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5603 * posix/tst-rfc3484-2.c: Likewise.
5604 * posix/tst-rfc3484-3.c: Likewise.
5605
5606 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5607 process_vm_writev.
5608 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5609 process_vm_writev.
5610 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5611 process_vm_writev from libc using GLIBC_2.15 version.
5612
5613 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5614
5615 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5616
5617 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5618 stack usage.
5619
5620 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5621
5622 [BZ #13367]
5623 * nss/getent.c (initgroups_keys): Show error message in case no group
5624 names are given.
5625
5626 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5627 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5628 __bump_nl_timestamp.
5629 * nscd/connections (nscd_init): When host database is served open
5630 netlink socket and request notification about configuration changes.
5631 (main_loop_poll): Track netlink file descriptor and bump timestamp
5632 in case data becomes available.
5633 (main_loop_epoll): Likewise.
5634 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5635 (database_pers_head): Add extra_data fileds.
5636 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5637 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5638 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5639 Adjust caller.
5640 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5641 in6ai data, call __free_in6ai.
5642 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5643 Add -DHAVE_NETLINK.
5644 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5645 interface information. Reuse previous data if netlink timestamp
5646 is not changed.
5647 (__bump_nl_timestamp): New function.
5648 (__free_in6ai): New function.
5649
5650 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5651
5652 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5653 close_not_cancel_no_status here.
5654 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5655
5656 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5657
5658 [BZ #13276]
5659 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5660 return value.
5661
5662 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5663 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5664 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5665
5666 2011-07-03 Andreas Jaeger <aj@suse.de>
5667
5668 [BZ #10709]
5669 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5670 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5671 * math/libm-test.inc (sin_test): Add test case.
5672
5673 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5674
5675 [BZ #13337]
5676 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5677 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5678
5679 * elf/chroot_canon.c (chroot_canon): Cleanups.
5680
5681 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5682
5683 [BZ #13335]
5684 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5685 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5686
5687 * string/test-strchr.c: Make usable for strchrnul testing.
5688 * string/test-strchrnul.c: New file.
5689 * string/Makefile (strop-tests): Add strchrnul.
5690
5691 * po/it.po: Update from translation team.
5692 * po/es.po: Likewise.
5693
5694 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5695
5696 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5697 the three constants needed as parameters. Drop the others.
5698 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5699 __m128i_strloadu_tolower.
5700 Create and initialize variable zero and use it in all the places
5701 where _mm_setzero_si128 was used.
5702
5703 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5704 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5705 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5706 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5707 anymore.
5708 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5709 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5710 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5711 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5712 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5713 __mpranred, __mptan.
5714 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5715 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5716 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5717 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5718 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5719 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5720 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5721 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5722 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5723
5724 2011-10-28 Andreas Schwab <schwab@redhat.com>
5725
5726 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5727 redefine if SHARED.
5728 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5729
5730 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5731 wide char related routines to wcsmbs subdir.
5732
5733 2011-10-27 Andreas Schwab <schwab@redhat.com>
5734
5735 [BZ #13344]
5736 * misc/sys/cdefs.h (__THROWNL): Define.
5737 * posix/unistd.h: Use __THREADNL instead of __THREAD
5738 for memory synchronization functions.
5739
5740 2011-10-26 Roland McGrath <roland@hack.frob.com>
5741
5742 [BZ #13349]
5743 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5744 doesn't exist.
5745 * manual/stdio.texi (Obstack Streams): Node removed.
5746
5747 2011-10-26 Andreas Schwab <schwab@redhat.com>
5748
5749 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5750 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5751 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5752
5753 * math/math_private.h (math_force_eval): Allow non-addressable
5754 arguments.
5755 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5756
5757 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5758
5759 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5760 file is not needed.
5761
5762 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5763 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5764 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5765 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5766 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5767 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5768 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5769 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5770 Add AVX variants.
5771 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5772 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5773 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5774 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5775 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5776 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5777 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5778 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5779 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5780 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5781 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5782 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5783 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5784 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5785 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5786 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5787 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5788 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5789 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5790
5791 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5792 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5793
5794 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5795 place. Use VEX encoding when compiling for AVX.
5796
5797 2011-10-25 Andreas Schwab <schwab@redhat.com>
5798
5799 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5800 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5801
5802 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5803
5804 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5805
5806 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5807 useless if() expression.
5808 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5809 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5810 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5811 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5812 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5813 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5814 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5815 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5816 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5817 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5818 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5819 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5820 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5821 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5822 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5823 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5824 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5825 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5826 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5827
5828 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5829
5830 2011-10-25 Andreas Schwab <schwab@redhat.com>
5831
5832 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5833 condition.
5834 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5835
5836 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5837
5838 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5839 .text section. Avoid duplicate constants.
5840 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5841 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5842 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5843 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5844 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5845 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5846 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5847 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5848 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5849 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5850 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5851 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5852 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5853 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5854 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5855 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5856 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5857 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5858 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5859 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5860 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5861 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5862 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5863 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5864 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5865 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5866 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5867 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5868 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5869 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5870 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5871 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5872 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5873 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5874 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5875 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5876 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5877 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5878 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5879 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5880 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5881 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5882 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5883 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5884 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5885
5886 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5887
5888 * sysdeps/x86_64/dla.h: Move to ...
5889 * sysdeps/x86_64/fpu/dla.h: ...here.
5890 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5891 situations. Use __builtin_fma only for gcc 4.6 and up.
5892
5893 * config.make.in: Add have-mfma4 entry.
5894 * configure.in: Substitute libc_cv_cc_fma4.
5895 * math/Makefile (dbl-only-routines): Add sincostab.
5896 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5897 Use __sincostab not sincos.
5898 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5899 name is a macro.
5900 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5901 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5902 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5903 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5904 using __copysign.
5905 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5906 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5907 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5908 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5909 and __inv.
5910 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5911 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5912 __copysign.
5913 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5914 define aliases when function name is a macro.
5915 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5916 sysdeps/ieee754/dbl-64/sincos.tbl.
5917 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5918 fma4-enabled routines.
5919 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5920 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5921 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5922 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5923 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5924 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5925 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5926 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5927 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5928 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5929 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5930 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5931 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5932 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5933 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5934 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5935 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5936 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5937 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5938 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5939 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5940 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5941 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5942 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5943 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5944 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5945 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5946 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5947 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5948 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5949
5950 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5951 rename.
5952 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5953 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5954 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5955 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5956 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5957 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5958 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5959 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5960
5961 2011-10-24 Andreas Schwab <schwab@redhat.com>
5962
5963 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5964
5965 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5966
5967 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5968
5969 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5970 prediction.
5971 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5972
5973 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5974 Remove unused variable magic_bits.
5975 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5976
5977 * string/strnlen.c: Define and use STRNLEN macro.
5978 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5979 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5980 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5981 * wcsmbs/wcslen.c: Define and use WCSLEN.
5982 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5983 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5984 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5985 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5986 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5987 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5988 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5989
5990 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5991
5992 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5993 strnlen-sse2-no-bsf.
5994 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5995 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5996 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5997 Add strnlen support.
5998 (USE_AS_STRNLEN): New macro.
5999 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
6000 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
6001 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
6002 * sysdeps/x86_64/wcslen.S: New file.
6003
6004 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
6005
6006 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6007 XMM-moves are used for copying on small sizes.
6008
6009 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6010
6011 * wcsmbs/Makefile (strop-tests): Add wcschr.
6012 * wcsmbs/test-wcschr.c: New file.
6013 * string/test-strchr.c: Update.
6014 Add wcschr support.
6015 (WIDE): New macro.
6016
6017 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6018
6019 * wcsmbs/Makefile (strop-tests): Add wcslen.
6020 * wcsmbs/test-wcslen.c: New file.
6021 * string/test-strlen.c: Update.
6022 Add wcslen support.
6023 (WIDE): New macro.
6024
6025 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6026
6027 * po/it.po: Update from translation team.
6028
6029 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6030
6031 * sysdeps/x86_64/wcscmp.S: Update.
6032 Fix wrong comparison semantics.
6033 wcscmp shall use signed comparison not unsigned.
6034 Don't use substraction to avoid overflow bug.
6035 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6036 * wcsmbc/wcscmp.c: Likewise.
6037 * string/test-strcmp.c: Likewise.
6038 Add new tests to check cases with negative values.
6039
6040 2011-10-23 Ulrich Drepper <drepper@gmail.com>
6041
6042 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
6043 * sysdeps/x86_64/dla.h: ...here. New file.
6044 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
6045 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6046 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6047 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6048 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6049 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6050 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6051 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6052 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6053
6054 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
6055
6056 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
6057 __ynl_finite aliases.
6058
6059 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6060
6061 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6062
6063 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
6064 define DLA_FMA.
6065 [DLA_FMA] (EMULV): Use DLA_FMA.
6066 [DLA_FMA] (MUL12): Use EMULV.
6067 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
6068 that are not needed.
6069 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6070 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6071 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6072 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6073 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6074 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6075 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6076
6077 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
6078
6079 * math/s_nan.c: Undef __nan.
6080 * math/s_nanf.c: Undef __nanf.
6081 * math/s_nanl.c: Undef __nanl.
6082 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
6083 "math_private.h".
6084
6085 2011-10-22 Ulrich Drepper <drepper@gmail.com>
6086
6087 * math/s_catan.c: Add branch predictions.
6088 * math/s_catanf.c: Likewise.
6089 * math/s_catanh.c: Likewise.
6090 * math/s_catanhf.c: Likewise.
6091 * math/s_catanhl.c: Likewise.
6092 * math/s_catanl.c: Likewise.
6093 * math/s_cexp.c: Likewise.
6094 * math/s_cexpf.c: Likewise.
6095 * math/s_cexpl.c: Likewise.
6096 * math/s_clog.c: Likewise.
6097 * math/s_clog10.c: Likewise.
6098 * math/s_clog10f.c: Likewise.
6099 * math/s_clog10l.c: Likewise.
6100 * math/s_clogf.c: Likewise.
6101 * math/s_clogl.c: Likewise.
6102 * math/s_csqrt.c: Likewise.
6103 * math/s_csqrtf.c: Likewise.
6104 * math/s_csqrtl.c: Likewise.
6105 * math/s_ctanf.c: Likewise.
6106 * math/s_ctanh.c: Likewise.
6107 * math/s_ctanhf.c: Likewise.
6108 * math/s_ctanhl.c: Likewise.
6109 * math/s_ctanl.c: Likewise.
6110
6111 * math/math_private.h: Define __nan, __nanf, __nanl.
6112 * math/s_cacosh.c: Include <math_private.h>.
6113 * math/s_cacoshl.c: Likewise.
6114 * math/s_casinh.c: Likewise.
6115 * math/s_casinhf.c: Likewise.
6116 * math/s_casinhl.c: Likewise.
6117 * math/s_ccos.c: Rely entire on ccosh.
6118 * math/s_ccosf.c: Rely entire on ccoshf.
6119 * math/s_ccosl.c: Rely entirely on ccoshl.
6120 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
6121 Remove tests for FE_INVALID.
6122 * math/s_ccoshf.c: Likewise.
6123 * math/s_ccoshl.c: Likewise.
6124 * math/s_csin.c: Likewise.
6125 * math/s_csinf.c: Likewise.
6126 * math/s_csinh.c Likewise.
6127 * math/s_csinhf.c: Likewise.
6128 * math/s_csinhl.c: Likewise.
6129 * math/s_csinl.c: Likewise.
6130 * math/s_ctan.c: Likewise.
6131 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6132 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6133 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6134
6135 2011-10-21 Ulrich Drepper <drepper@gmail.com>
6136
6137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6138 compilation problems.
6139
6140 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6141 __builtin_expect.
6142
6143 2011-10-20 Ulrich Drepper <drepper@gmail.com>
6144
6145 * sysdeps/i386/configure.in: Test for -mfma4 option.
6146 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6147 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6148 COMMON_CPUID_INDEX_80000001.
6149 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6150 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6151 use it if FMA3 is not supported.
6152 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6153
6154 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6155 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6156
6157 2011-10-20 Andreas Schwab <schwab@redhat.com>
6158
6159 [BZ #12892]
6160 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6161 it would create a cycle with a link time dependency.
6162
6163 2011-10-19 Ulrich Drepper <drepper@gmail.com>
6164
6165 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6166 instruction.
6167 * string/Makefile (strop-tests): Add rawmemchr.
6168 * string/test-rawmemchr.c: New file.
6169
6170 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6171 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6172 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6173 when compiling str{,n}casecmp and when AVX is available. Hook up
6174 new optimized code in initializers.
6175
6176 2011-10-19 Andreas Schwab <schwab@redhat.com>
6177
6178 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6179 __feraiseexcept instead of feraiseexcept.
6180
6181 2011-10-18 Ulrich Drepper <drepper@gmail.com>
6182
6183 * math/math_private.h: Define defaults for libc_fetestexcept and
6184 libc_feupdateenv.
6185 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6186 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6187 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6188 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6189 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6190 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6191 libc_fetestexcept and libc_feupdateenv.
6192
6193 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6194 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6195 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6196 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6197 libc_feholdexcept_setround.
6198
6199 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6200 Add s_nearbyint-c and s_nearbyintf-c.
6201 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6202 nearbyintf inlines.
6203 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6204 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6205 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6206 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6207
6208 * math/math_private.h: Define defaults for libc_fegetround,
6209 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6210 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6211 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6212 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6213 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6214 standard functions.
6215 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6216 Remove comments and hacks for old compiler versions.
6217 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6218 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6219 libc_feholdexceptl.
6220
6221 2011-10-18 Andreas Schwab <schwab@redhat.com>
6222
6223 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6224 (__feraiseexcept_renamed): Add __NTH.
6225 (feraiseexcept): Add __NTH. Rename local variables to fix
6226 namespace violations.
6227
6228 2011-10-17 Ulrich Drepper <drepper@gmail.com>
6229
6230 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6231
6232 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6233
6234 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6235 recently added interfaces.
6236 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6237
6238 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6239 about macro parameter expansion.
6240
6241 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6242 __NO_MATH_INLINES is defined. Cleanups.
6243
6244 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6245 and __floorf is target has SSE4.1.
6246 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6247 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6248 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6249 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6250
6251 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6252 name.
6253 (floorf): Likewise.
6254
6255 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6256
6257 2011-10-17 Andreas Schwab <schwab@redhat.com>
6258
6259 * misc/sys/cdefs.h: Fix last change.
6260
6261 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6262 database lookup.
6263
6264 2011-10-16 Ulrich Drepper <drepper@gmail.com>
6265
6266 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6267
6268 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6269 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6270 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6271 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6272 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6273 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6274 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6275 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6276 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6277 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6278 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6279 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6280 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6281 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6282 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6283 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6284 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6285 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6286 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6287 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6288 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6289 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6290
6291 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6292 ceil, ceilf, floor, floorf.
6293
6294 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6295 Perform IRELATIVE relocations last.
6296
6297 * elf/do-rel.h: Add another parameter nrelative, replacing the
6298 local variable with the same name. Change name of the function
6299 to end in Rel or Rela (uppercase).
6300 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6301 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6302 elf_dynamic_do_##reloc function.
6303
6304 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6305
6306 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6307 is sufficient, at least on modern CPUs.
6308
6309 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6310
6311 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6312 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6313
6314 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6315 __expl_finite.
6316 * math/bits/math-finite.h: Add entries for exp.
6317 * math/e_expl.c: Add __*_finite alias.
6318 * sysdeps/i386/fpu/e_exp.S: Likewise.
6319 * sysdeps/i386/fpu/e_expf.S: Likewise.
6320 * sysdeps/i386/fpu/e_expl.c: Likewise.
6321 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6322 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6323 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6324 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6325 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6326 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6327 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6328
6329 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6330 is sufficient, at least on modern CPUs.
6331
6332 * ctype/ctype-info.c (__ctype_init): Define.
6333 * include/ctype.h (__ctype_init): Declare.
6334 (__ctype_b_loc): The variable is always initialized.
6335 (__ctype_toupper_loc): Likewise.
6336 (__ctype_tolower_loc): Likewise.
6337 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6338 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6339
6340 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6341
6342 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6343
6344 * configure.in: Also look in $cxxmachine/include for C++ system
6345 headers.
6346
6347 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6348
6349 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6350 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6351 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6352 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6353 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6354 (USE_AS_WMEMCMP): New macro.
6355 Fixing indents.
6356 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6357 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6358 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6359 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6360 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6361 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6362 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6363 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6364 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6365 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6366 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6367 (USE_AS_WMEMCMP): New macro.
6368 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6369 * sysdeps/string/test-memcmp.c: Update.
6370 Fix simple_wmemcmp.
6371 Add new tests.
6372 * wcsmbs/wmemcmp.c: Update.
6373 (WMEMCMP): New macro.
6374 Fix overflow bug.
6375
6376 2011-10-12 Andreas Jaeger <aj@suse.de>
6377
6378 [BZ #13268]
6379 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6380
6381 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6382
6383 * libio/iofwide.c (do_length): Avoid warning.
6384
6385 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6386
6387 2011-10-14 Ulrich Drepper <drepper@gmail.com>
6388
6389 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6390
6391 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6392 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6393 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6394 * sysdeps/i386/i686/fpu/e_log.S: New file.
6395 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6396 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6397
6398 * ctype/ctype.h: Add support for inlined isXXX functions when
6399 compiling C++ code.
6400
6401 2011-10-14 Andreas Schwab <schwab@redhat.com>
6402
6403 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6404
6405 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6406
6407 2011-10-13 Roland McGrath <roland@hack.frob.com>
6408
6409 [BZ #13291]
6410 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6411
6412 2011-10-13 Andreas Schwab <schwab@redhat.com>
6413
6414 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6415 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6416 feraiseexcept.
6417
6418 * sysdeps/x86_64/memrchr.S: Check for zero size.
6419
6420 * string/stratcliff.c: Add memrchr tests.
6421
6422 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6423
6424 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6425 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6426 rawmemchr-sse2 rawmemchr-sse2-bsf.
6427 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6428 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6429 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6430 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6431 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6432 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6433 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6434 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6435 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6436 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6437 * string/memrchr.c (MEMRCHR): New macro.
6438
6439 2011-10-12 Ulrich Drepper <drepper@gmail.com>
6440
6441 Add integration with gcc's -ffinite-math-only and optimize wrapper
6442 functions in libm.
6443 * Versions.def: Define GLIBC_2.15 version for libm.
6444 * math/Makefile (headers): Add bits/math-finite.h.
6445 * math/bits/math-finite.h: New file.
6446 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6447 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6448 * math/e_acoshl.c: Add __*_finite alias.
6449 * math/e_acosl.c: Likewise.
6450 * math/e_asinl.c: Likewise.
6451 * math/e_atan2l.c: Likewise.
6452 * math/e_atanhl.c: Likewise.
6453 * math/e_coshl.c: Likewise.
6454 * math/e_exp10.c: Likewise.
6455 * math/e_exp10f.c: Likewise.
6456 * math/e_exp10l.c: Likewise.
6457 * math/e_exp2l.c: Likewise.
6458 * math/e_fmodl.c: Likewise.
6459 * math/e_gammal_r.c: Likewise.
6460 * math/e_hypotl.c: Likewise.
6461 * math/e_j0l.c: Likewise.
6462 * math/e_j1l.c: Likewise.
6463 * math/e_jnl.c: Likewise.
6464 * math/e_lgammal_r.c: Likewise.
6465 * math/e_log10l.c: Likewise.
6466 * math/e_log2l.c: Likewise.
6467 * math/e_logl.c: Likewise.
6468 * math/e_powl.c: Likewise.
6469 * math/e_sinhl.c: Likewise.
6470 * math/e_sqrtl.c: Likewise.
6471 * math/e_scalb.c: Completely rewritten and optimized.
6472 * math/e_scalbf.c: Likewise.
6473 * math/e_scalbl.c: Likewise.
6474 * math/w_acos.c: Likewise.
6475 * math/w_acosf.c: Likewise.
6476 * math/w_acosl.c: Likewise.
6477 * math/w_acosh.c: Likewise.
6478 * math/w_acoshf.c: Likewise.
6479 * math/w_acoshl.c: Likewise.
6480 * math/w_asin.c: Likewise.
6481 * math/w_asinf.c: Likewise.
6482 * math/w_asinl.c: Likewise.
6483 * math/w_atan2.c: Likewise.
6484 * math/w_atan2f.c: Likewise.
6485 * math/w_atan2l.c: Likewise.
6486 * math/w_atanh.c: Likewise.
6487 * math/w_atanhf.c: Likewise.
6488 * math/w_atanhl.c: Likewise.
6489 * math/w_exp10.c: Likewise.
6490 * math/w_exp10f.c: Likewise.
6491 * math/w_exp10l.c: Likewise.
6492 * math/w_fmod.c: Likewise.
6493 * math/w_fmodf.c: Likewise.
6494 * math/w_fmodl.c: Likewise.
6495 * math/w_j0.c: Likewise.
6496 * math/w_j0f.c: Likewise.
6497 * math/w_j0l.c: Likewise.
6498 * math/w_j1.c: Likewise.
6499 * math/w_j1f.c: Likewise.
6500 * math/w_j1l.c: Likewise.
6501 * math/w_jn.c: Likewise.
6502 * math/w_jnf.c: Likewise.
6503 * math/w_log.c: Likewise.
6504 * math/w_logf.c: Likewise.
6505 * math/w_logl.c: Likewise.
6506 * math/w_log10.c: Likewise.
6507 * math/w_log10f.c: Likewise.
6508 * math/w_log10l.c: Likewise.
6509 * math/w_log2.c: Likewise.
6510 * math/w_log2f.c: Likewise.
6511 * math/w_log2l.c: Likewise.
6512 * math/w_pow.c: Likewise.
6513 * math/w_powf.c: Likewise.
6514 * math/w_powl.c: Likewise.
6515 * math/w_remainder.c: Likewise.
6516 * math/w_remainderf.c: Likewise.
6517 * math/w_remainderl.c: Likewise.
6518 * math/w_scalb.c: Likewise.
6519 * math/w_scalbf.c: Likewise.
6520 * math/w_scalbl.c: Likewise.
6521 * math/w_sqrt.c: Likewise.
6522 * math/w_sqrtf.c: Likewise.
6523 * math/w_sqrtl.c: Likewise.
6524 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6525 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6526 used.
6527 * math/math_private.h: Declare __kernel_standard_f.
6528 * math/w_cosh.c: Remove cruft and optimize a bit.
6529 * math/w_coshf.c: Likewise.
6530 * math/w_coshl.c: Likewise.
6531 * math/w_exp2.c: Likewise.
6532 * math/w_exp2f.c: Likewise.
6533 * math/w_exp2l.c: Likewise.
6534 * math/w_hypot.c: Likewise.
6535 * math/w_hypotf.c: Likewise.
6536 * math/w_hypotl.c: Likewise.
6537 * math/w_lgamma.c: Likewise.
6538 * math/w_lgamma_r.c: Likewise.
6539 * math/w_lgammaf.c: Likewise.
6540 * math/w_lgammaf_r.c: Likewise.
6541 * math/w_lgammal.c: Likewise.
6542 * math/w_lgammal_r.c: Likewise.
6543 * math/w_sinh.c: Likewise.
6544 * math/w_sinhf.c: Likewise.
6545 * math/w_sinhl.c: Likewise.
6546 * math/w_tgamma.c: Likewise.
6547 * math/w_tgammaf.c: Likewise.
6548 * math/w_tgammal.c: Likewise.
6549 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6550 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6551 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6552 Minor optimizations. Pretty printing. Remove cruft.
6553 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6554 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6555 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6556 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6557 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6558 * sysdeps/i386/fpu/e_asin.S: Likewise.
6559 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6560 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6561 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6562 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6563 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6564 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6565 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6566 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6567 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6568 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6569 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6570 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6571 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6572 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6573 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6574 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6575 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6576 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6577 * sysdeps/i386/fpu/e_log.S: Likewise.
6578 * sysdeps/i386/fpu/e_log10.S: Likewise.
6579 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6580 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6581 * sysdeps/i386/fpu/e_log2.S: Likewise.
6582 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6583 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6584 * sysdeps/i386/fpu/e_logf.S: Likewise.
6585 * sysdeps/i386/fpu/e_logl.S: Likewise.
6586 * sysdeps/i386/fpu/e_pow.S: Likewise.
6587 * sysdeps/i386/fpu/e_powf.S: Likewise.
6588 * sysdeps/i386/fpu/e_powl.S: Likewise.
6589 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6590 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6591 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6592 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6593 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6594 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6595 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6596 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6597 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6598 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6599 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6600 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6601 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6602 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6603 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6604 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6605 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6606 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6607 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6608 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6609 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6610 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6611 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6612 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6613 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6614 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6615 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6616 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6617 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6618 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6619 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6620 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6621 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6622 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6623 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6624 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6625 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6626 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6627 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6628 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6629 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6630 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6631 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6632 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6633 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6634 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6635 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6636 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6637 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6638 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6639 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6640 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6641 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6642 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6643 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6644 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6645 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6646 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6647 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6648 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6649 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6650 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6651 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6652 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6653 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6654 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6655 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6656 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6657 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6658 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6659 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6660 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6661 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6662 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6663 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6664 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6665 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6666 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6667 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6668 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6669 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6670 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6675 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6676 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6677 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6678 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6680 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6681 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6682 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6683 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6684 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6685 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6686 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6687 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6689 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6690 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6691 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6692 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6693 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6694 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6695 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6696 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6697 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6698 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6699 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6700 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6701 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6702 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6703 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6704 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6705 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6706 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6707 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6708 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6709 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6710 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6711 (__isnanf): Likewise.
6712 (__isinf_ns): Likewise.
6713 (__isinf_nsf): Likewise.
6714 (__finite): Likewise.
6715 (__finitef): Likewise.
6716 (__ieee754_sqrt): Define as macro.
6717 (__ieee754_sqrtf): Define as macro.
6718 (__ieee754_sqrtl): Define as macro.
6719 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6720 inlined copy.
6721 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6722 __FINITE_MATH_ONLY__ consistent.
6723 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6724
6725 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6726
6727 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6728 of rawmemchr.
6729
6730 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6731
6732 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6733
6734 * po/ja.po: Update from translation team.
6735
6736 2011-10-08 Roland McGrath <roland@hack.frob.com>
6737
6738 * locale/programs/locarchive.c (prepare_address_space): New function.
6739 (create_archive, enlarge_archive, open_archive): Use it.
6740
6741 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6742 inside [SHARED], where it is used.
6743
6744 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6745
6746 * nss/getent.c (netgroup_keys): Remove unused variable.
6747 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6748
6749 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6750
6751 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6752 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6753 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6754 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6755 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6756 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6757 * math/Makefile (libm-calls): Add s_isinf_ns.
6758 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6759 * math/multc3.c: Likewise.
6760 * math/s_casin.c: Likewise.
6761 * math/s_casinf.c: Likewise.
6762 * math/s_casinl.c: Likewise.
6763 * math/s_ccos.c: Likewise.
6764 * math/s_ccosf.c: Likewise.
6765 * math/s_ccosl.c: Likewise.
6766 * math/s_ctan.c: Likewise.
6767 * math/s_ctanf.c: Likewise.
6768 * math/s_ctanh.c: Likewise.
6769 * math/s_ctanhf.c: Likewise.
6770 * math/s_ctanhl.c: Likewise.
6771 * math/s_ctanl.c: Likewise.
6772 * math/w_fmod.c: Likewise.
6773 * math/w_fmodf.c: Likewise.
6774 * math/w_fmodl.c: Likewise.
6775 * math/w_remainder.c: Likewise.
6776 * math/w_remainderf.c: Likewise.
6777 * math/w_remainderl.c: Likewise.
6778 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6779 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6780 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6781 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6782 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6783 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6784 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6785 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6786
6787 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6788 of the number.
6789 * stdio-common/printf_fphex.c: Likewise.
6790 * stdio-common/printf_size.c: Likewise.
6791
6792 * math/e_exp10.c: Include math_private.h using <...> not "...".
6793 * math/e_exp10f.c: Likewise.
6794 * math/e_exp10l.c: Likewise.
6795 * math/e_exp2l.c: Likewise.
6796 * math/e_j0l.c: Likewise.
6797 * math/e_j1l.c: Likewise.
6798 * math/e_jnl.c: Likewise.
6799 * math/e_lgammal_r.c: Likewise.
6800 * math/e_rem_pio2l.c: Likewise.
6801 * math/e_scalb.c: Likewise.
6802 * math/e_scalbf.c: Likewise.
6803 * math/e_scalbl.c: Likewise.
6804 * math/k_cosl.c: Likewise.
6805 * math/k_sinl.c: Likewise.
6806 * math/k_tanl.c: Likewise.
6807 * math/s_cacoshf.c: Likewise.
6808 * math/s_catan.c: Likewise.
6809 * math/s_catanf.c: Likewise.
6810 * math/s_catanh.c: Likewise.
6811 * math/s_catanhf.c: Likewise.
6812 * math/s_catanhl.c: Likewise.
6813 * math/s_catanl.c: Likewise.
6814 * math/s_ccosh.c: Likewise.
6815 * math/s_ccoshf.c: Likewise.
6816 * math/s_ccoshl.c: Likewise.
6817 * math/s_cexp.c: Likewise.
6818 * math/s_cexpf.c: Likewise.
6819 * math/s_cexpl.c: Likewise.
6820 * math/s_clog.c: Likewise.
6821 * math/s_clog10.c: Likewise.
6822 * math/s_clog10f.c: Likewise.
6823 * math/s_clog10l.c: Likewise.
6824 * math/s_clogf.c: Likewise.
6825 * math/s_clogl.c: Likewise.
6826 * math/s_csin.c: Likewise.
6827 * math/s_csinf.c: Likewise.
6828 * math/s_csinh.c: Likewise.
6829 * math/s_csinhf.c: Likewise.
6830 * math/s_csinhl.c: Likewise.
6831 * math/s_csinl.c: Likewise.
6832 * math/s_csqrt.c: Likewise.
6833 * math/s_csqrtf.c: Likewise.
6834 * math/s_csqrtl.c: Likewise.
6835 * math/s_ctan.c: Likewise.
6836 * math/s_ctanf.c: Likewise.
6837 * math/s_ctanh.c: Likewise.
6838 * math/s_ctanhf.c: Likewise.
6839 * math/s_ctanhl.c: Likewise.
6840 * math/s_ctanl.c: Likewise.
6841 * math/s_ldexp.c: Likewise.
6842 * math/s_ldexpf.c: Likewise.
6843 * math/s_ldexpl.c: Likewise.
6844 * math/s_significand.c: Likewise.
6845 * math/s_significandf.c: Likewise.
6846 * math/s_significandl.c: Likewise.
6847 * math/w_acos.c: Likewise.
6848 * math/w_acosf.c: Likewise.
6849 * math/w_acosh.c: Likewise.
6850 * math/w_acoshf.c: Likewise.
6851 * math/w_acoshl.c: Likewise.
6852 * math/w_acosl.c: Likewise.
6853 * math/w_asin.c: Likewise.
6854 * math/w_asinf.c: Likewise.
6855 * math/w_asinl.c: Likewise.
6856 * math/w_atan2.c: Likewise.
6857 * math/w_atan2f.c: Likewise.
6858 * math/w_atan2l.c: Likewise.
6859 * math/w_atanh.c: Likewise.
6860 * math/w_atanhf.c: Likewise.
6861 * math/w_atanhl.c: Likewise.
6862 * math/w_cosh.c: Likewise.
6863 * math/w_coshf.c: Likewise.
6864 * math/w_coshl.c: Likewise.
6865 * math/w_dremf.c: Likewise.
6866 * math/w_exp10.c: Likewise.
6867 * math/w_exp10f.c: Likewise.
6868 * math/w_exp10l.c: Likewise.
6869 * math/w_exp2.c: Likewise.
6870 * math/w_exp2f.c: Likewise.
6871 * math/w_fmod.c: Likewise.
6872 * math/w_fmodf.c: Likewise.
6873 * math/w_fmodl.c: Likewise.
6874 * math/w_hypot.c: Likewise.
6875 * math/w_hypotf.c: Likewise.
6876 * math/w_hypotl.c: Likewise.
6877 * math/w_j0.c: Likewise.
6878 * math/w_j0f.c: Likewise.
6879 * math/w_j0l.c: Likewise.
6880 * math/w_j1.c: Likewise.
6881 * math/w_j1f.c: Likewise.
6882 * math/w_j1l.c: Likewise.
6883 * math/w_jn.c: Likewise.
6884 * math/w_jnf.c: Likewise.
6885 * math/w_jnl.c: Likewise.
6886 * math/w_lgamma.c: Likewise.
6887 * math/w_lgamma_r.c: Likewise.
6888 * math/w_lgammaf.c: Likewise.
6889 * math/w_lgammaf_r.c: Likewise.
6890 * math/w_lgammal.c: Likewise.
6891 * math/w_lgammal_r.c: Likewise.
6892 * math/w_log.c: Likewise.
6893 * math/w_log10.c: Likewise.
6894 * math/w_log10f.c: Likewise.
6895 * math/w_log10l.c: Likewise.
6896 * math/w_log2.c: Likewise.
6897 * math/w_log2f.c: Likewise.
6898 * math/w_log2l.c: Likewise.
6899 * math/w_logf.c: Likewise.
6900 * math/w_logl.c: Likewise.
6901 * math/w_pow.c: Likewise.
6902 * math/w_powf.c: Likewise.
6903 * math/w_powl.c: Likewise.
6904 * math/w_remainder.c: Likewise.
6905 * math/w_remainderf.c: Likewise.
6906 * math/w_remainderl.c: Likewise.
6907 * math/w_scalb.c: Likewise.
6908 * math/w_scalbf.c: Likewise.
6909 * math/w_scalbl.c: Likewise.
6910 * math/w_sinh.c: Likewise.
6911 * math/w_sinhf.c: Likewise.
6912 * math/w_sinhl.c: Likewise.
6913 * math/w_sqrt.c: Likewise.
6914 * math/w_sqrtf.c: Likewise.
6915 * math/w_sqrtl.c: Likewise.
6916 * math/w_tgamma.c: Likewise.
6917 * math/w_tgammaf.c: Likewise.
6918 * math/w_tgammal.c: Likewise.
6919
6920 * po/ja.po: Update from translation team.
6921
6922 2011-09-29 Andreas Jaeger <aj@suse.de>
6923
6924 [BZ #13179]
6925 * sunrpc/netname.c (netname2host): Fix logic.
6926
6927 [BZ #6779]
6928 [BZ #6783]
6929 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6930 correctly.
6931 * math/w_remainder.c (__remainder): Likewise.
6932 * math/w_remainderf.c (__remainderf): Likewise.
6933 * math/libm-test.inc (remainder_test): Add test cases.
6934
6935 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6936
6937 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6938 sdiv_qrnnd.
6939
6940 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6941
6942 * string/test-memcmp.c: Avoid unncessary #defines.
6943 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6944
6945 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6946
6947 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6948 Use new sse2 version for core i3 - i7 as it's faster
6949 than sse42 version.
6950 (bit_Prefer_PMINUB_for_stringop): New.
6951 * sysdeps/x86_64/rawmemchr.S: Update.
6952 Replace with faster SSE2 version.
6953 * sysdeps/x86_64/memrchr.S: New file.
6954 * sysdeps/x86_64/memchr.S: Update.
6955 Replace with faster SSE2 version.
6956
6957 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6958
6959 * elf/dl-load.c (lose): Add cast to avoid warning.
6960
6961 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6962
6963 * po/ca.po: Update from translation team.
6964
6965 * inet/getnetgrent_r.c: Hook up nscd.
6966 * nscd/Makefile (routines): Add nscd_netgroup.
6967 (nscd-modules): Add netgroupcache.
6968 (CFLAGS-netgroupcache.c): Define.
6969 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6970 (cache_search): Add const to second parameter.
6971 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6972 INNETGR.
6973 (dbs): Add netgrdb entry.
6974 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6975 (verify_persistent_db): Handle netgrdb.
6976 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6977 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6978 GETFDNETGR.
6979 (netgroup_response_header): Define.
6980 (innetgroup_response_header): Define.
6981 (datahead): Add netgroup_response_header and innetgroup_response_header
6982 elements.
6983 * nscd/nscd.conf: Add entries for netgroup cache.
6984 * nscd/nscd.h (dbtype): Add netgrdb.
6985 (_PATH_NSCD_NETGROUP_DB): Define.
6986 (netgroup_iov_disabled): Declare.
6987 (xmalloc, xcalloc, xrealloc): Move declarations here.
6988 (cache_search): Adjust prototype.
6989 Add netgroup-related prototypes.
6990 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6991 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6992 (__nscd_innetgr): Declare.
6993 * nscd/selinux.c (perms): Use access_vector_t as element type and
6994 add netgroup-related initializers.
6995 * nscd/netgroupcache.c: New file.
6996 * nscd/nscd_netgroup.c: New file.
6997 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6998 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6999 For four parameters use innetgr.
7000 * nss/nss_files/files-init.c: Add definition and callback for netgr.
7001 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
7002 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
7003 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
7004
7005 * nscd/connections.c (register_traced_file): Don't register file
7006 for disabled databases.
7007
7008 2011-10-06 Ulrich Drepper <drepper@gmail.com>
7009
7010 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
7011
7012 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
7013 from tree and freeing node.
7014
7015 2011-09-25 Jiri Olsa <jolsa@redhat.com>
7016
7017 * nss/nsswitch.c (__nss_database_lookup): Handle
7018 nss_parse_service_list out of memory case.
7019
7020 2011-09-15 Jiri Olsa <jolsa@redhat.com>
7021
7022 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
7023 out of memory case.
7024
7025 2011-10-04 Andreas Schwab <schwab@redhat.com>
7026
7027 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
7028 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
7029 pass it down.
7030 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
7031 elf_machine_rela, elf_machine_lazy_rel.
7032 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
7033 (ELF_DYNAMIC_DO_REL): Likewise.
7034 (ELF_DYNAMIC_DO_RELA): Likewise.
7035 (ELF_DYNAMIC_RELOCATE): Likewise.
7036 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
7037 to ELF_DYNAMIC_DO_REL.
7038 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
7039 (dl_main): In trace mode always set __RTLD_NOIFUNC.
7040 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
7041 elf_machine_rela.
7042 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
7043 skip_ifunc, don't call ifunc function if non-zero.
7044 (elf_machine_rela): Likewise.
7045 (elf_machine_lazy_rel): Likewise.
7046 (elf_machine_lazy_rela): Likewise.
7047 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
7048 (elf_machine_lazy_rel): Likewise.
7049 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
7050 Likewise.
7051 (elf_machine_lazy_rel): Likewise.
7052 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7053 Likewise.
7054 (elf_machine_lazy_rel): Likewise.
7055 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
7056 (elf_machine_lazy_rel): Likewise.
7057 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
7058 (elf_machine_lazy_rel): Likewise.
7059 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7060 (elf_machine_lazy_rel): Likewise.
7061 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
7062 (elf_machine_lazy_rel): Likewise.
7063 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
7064 (elf_machine_lazy_rel): Likewise.
7065 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7066 (elf_machine_lazy_rel): Likewise.
7067
7068 2011-09-28 Ulrich Drepper <drepper@gmail.com>
7069
7070 * nss/nss_files/files-init.c (_nss_files_init): Use static
7071 initialization for all the *_traced_file variables.
7072
7073 2011-09-28 Andreas Schwab <schwab@redhat.com>
7074
7075 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7076
7077 2011-09-27 Roland McGrath <roland@hack.frob.com>
7078
7079 [BZ #13226]
7080 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
7081
7082 2011-09-27 Andreas Schwab <schwab@redhat.com>
7083
7084 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7085 Reread the line before reparsing it.
7086
7087 2011-09-26 Andreas Schwab <schwab@redhat.com>
7088
7089 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
7090
7091 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
7092 Maxim Kuvyrkov <maxim@codesourcery.com>
7093 Joseph Myers <joseph@codesourcery.com>
7094
7095 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
7096 if needed for __stack_chk_guard.
7097
7098 2011-09-19 Roland McGrath <roland@hack.frob.com>
7099
7100 * sysdeps/posix/spawni.c (script_execute): Always define it.
7101 It will be optimized away if unused.
7102 (maybe_script_execute): New function.
7103 (__spawni): Call it.
7104
7105 * Makerules: Don't include tls.make.
7106 (config-tls): Always set to thread.
7107 * tls.make.c: File removed.
7108
7109 2011-09-19 Mike Frysinger <vapier@gentoo.org>
7110
7111 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
7112 * config.make.in (CPPFLAGS-config): New substituted variable.
7113
7114 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7115
7116 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
7117
7118 [BZ #13192]
7119 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
7120 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
7121
7122 2011-09-15 Roland McGrath <roland@hack.frob.com>
7123
7124 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
7125 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
7126 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
7127 (CALL_FAIL): Likewise.
7128 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
7129 (CALL_FAIL): Macro removed.
7130 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7131
7132 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7133
7134 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7135 for __FINITE_MATH_ONLY__ == 1.
7136
7137 2011-09-15 Andreas Schwab <schwab@redhat.com>
7138
7139 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7140 __ieee754_sqrt instead of sqrt.
7141 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7142 __ieee754_sqrtf instead of sqrtf.
7143 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7144 __floorf instead of floorf.
7145 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7146 __floorf, __truncf instead of floorf, truncf.
7147
7148 2011-09-14 Ulrich Drepper <drepper@gmail.com>
7149
7150 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7151
7152 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7153 __extern_always_inline.
7154 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7155 32-bit.
7156
7157 2011-09-14 Andreas Schwab <schwab@redhat.com>
7158
7159 * elf/rtld.c (dl_main): Also relocate in dependency order when
7160 doing symbol dependency testing.
7161
7162 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7163
7164 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7165 Always define `refsym'.
7166
7167 2011-09-13 Andreas Schwab <schwab@redhat.com>
7168
7169 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7170 (__FD_ELT): Renamed from __FDELT.
7171 * misc/bits/select2.h (__FD_ELT): Likewise.
7172 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7173 __FD_MASK instead of __FDELT, __FDMASK.
7174 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7175 Likewise.
7176 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7177 Likewise.
7178
7179 * elf/Makefile (gen-ldd): Fix pattern.
7180
7181 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7182 (init_tls): Likewise.
7183
7184 2011-09-12 Ulrich Drepper <drepper@gmail.com>
7185
7186 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7187
7188 2011-09-12 Andreas Schwab <schwab@redhat.com>
7189
7190 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7191 `struct cmsghdr *' instead of `void *'.
7192 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7193 Likewise.
7194
7195 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7196
7197 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7198 if non-absolute.
7199 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7200 ldd_rewrite_script.
7201
7202 2011-09-11 Ulrich Drepper <drepper@gmail.com>
7203
7204 * configure.in: Remove --with-tls option.
7205 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7206 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7207 out in case it is missing.
7208 * sysdeps/ia64/elf/configure.in: Likewise.
7209 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7210 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7211 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7212 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7213 * sysdeps/sh/elf/configure.in: Likewise.
7214 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7215 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7216 * sysdeps/x86_64/elf/configure.in: Likewise.
7217 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7218 * sysdeps/mach/hurd/tls.h: Likewise.
7219
7220 [BZ #13067]
7221 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7222
7223 [BZ #13090]
7224 * configure.in: Fix use of AC_INIT.
7225
7226 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7227
7228 2011-09-10 Ulrich Drepper <drepper@gmail.com>
7229
7230 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7231 __set_errno.
7232 * malloc/hooks.c: Likewise.
7233
7234 [BZ #11929]
7235 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7236 variables statically.
7237 (narenas): Initialize.
7238 (list_lock): Initialize.
7239 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7240 initializtion of main_arena and list_lock. Small cleanups.
7241 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7242 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7243 Add initializers to main_arena and mp_.
7244 (malloc_state): Remove pagesize member. Change all users to use
7245 GLRO(dl_pagesize).
7246
7247 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7248 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7249 is always initialized.
7250
7251 * malloc/malloc.c: Removed unused configurations and dead code.
7252 * malloc/arena.c: Likewise.
7253 * malloc/hooks.c: Likewise.
7254 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7255
7256 * include/tls.h: Removed. USE___THREAD must always be defined.
7257 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7258 * elf/dl-libc.c: Likewise.
7259 * elf/dl-tsd.c: Likewise.
7260 * include/errno.h: Likewise.
7261 * include/netdb.h: Likewise.
7262 * include/resolv.h: Likewise.
7263 * inet/herrno-loc.c: Likewise.
7264 * inet/herrno.c: Likewise.
7265 * malloc/arena.c: Likewise.
7266 * malloc/hooks.c: Likewise.
7267 * malloc/malloc.c: Likewise.
7268 * resolv/res-state.c: Likewise.
7269 * resolv/res_libc.c: Likewise.
7270 * sysdeps/i386/dl-machine.h: Likewise.
7271 * sysdeps/ia64/dl-machine.h: Likewise.
7272 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7273 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7274 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7275 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7276 * sysdeps/sh/dl-machine.h: Likewise.
7277 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7278 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7279 * sysdeps/unix/i386/sysdep.S: Likewise.
7280 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7281 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7282 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7283 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7284 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7285 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7286 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7287 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7288 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7289 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7290 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7291 * sysdeps/x86_64/dl-machine.h: Likewise.
7292 * tls.make.c: Likewise.
7293
7294 * configure.in: Remove --with-__thread option. Make tests for
7295 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7296 tls_model attribute fail if no support is available. Remove
7297 USE_IN_LIBIO.
7298 * Makeconfig: Adjust for dropped configure option. All features are
7299 now mandatory.
7300 * Makerules: Likewise.
7301 * Versions.def: Likewise.
7302 * argp/argp-fmtstream.c: Likewise.
7303 * argp/argp-fmtstream.h: Likewise.
7304 * argp/argp-help.c: Likewise.
7305 * assert/assert.c: Likewise.
7306 * config.h.in: Likewise.
7307 * config.make.in: Likewise.
7308 * configure: Likewise.
7309 * configure.in: Likewise.
7310 * csu/Versions: Likewise.
7311 * csu/init.c: Likewise.
7312 * elf/tst-audit2.c: Likewise.
7313 * elf/tst-tls10.c: Likewise.
7314 * elf/tst-tls10.h: Likewise.
7315 * elf/tst-tls11.c: Likewise.
7316 * elf/tst-tls12.c: Likewise.
7317 * elf/tst-tls14.c: Likewise.
7318 * elf/tst-tlsmod11.c: Likewise.
7319 * elf/tst-tlsmod12.c: Likewise.
7320 * elf/tst-tlsmod13.c: Likewise.
7321 * elf/tst-tlsmod13a.c: Likewise.
7322 * elf/tst-tlsmod14a.c: Likewise.
7323 * elf/tst-tlsmod15b.c: Likewise.
7324 * elf/tst-tlsmod16a.c: Likewise.
7325 * elf/tst-tlsmod16b.c: Likewise.
7326 * elf/tst-tlsmod7.c: Likewise.
7327 * elf/tst-tlsmod8.c: Likewise.
7328 * elf/tst-tlsmod9.c: Likewise.
7329 * gmon/gmon.c: Likewise.
7330 * grp/fgetgrent_r.c: Likewise.
7331 * grp/putgrent.c: Likewise.
7332 * hurd/fopenport.c: Likewise.
7333 * include/libc-symbols.h: Likewise.
7334 * include/tls.h: Likewise.
7335 * intl/gettextP.h: Likewise.
7336 * intl/loadinfo.h: Likewise.
7337 * locale/global-locale.c: Likewise.
7338 * locale/localeinfo.h: Likewise.
7339 * mach/devstream.c: Likewise.
7340 * malloc/arena.c: Likewise.
7341 * malloc/set-freeres.c: Likewise.
7342 * misc/err.c: Likewise.
7343 * misc/getttyent.c: Likewise.
7344 * misc/mntent_r.c: Likewise.
7345 * posix/getopt.c: Likewise.
7346 * posix/wordexp.c: Likewise.
7347 * pwd/fgetpwent_r.c: Likewise.
7348 * resolv/Versions: Likewise.
7349 * resolv/res_hconf.c: Likewise.
7350 * shadow/fgetspent_r.c: Likewise.
7351 * shadow/putspent.c: Likewise.
7352 * stdio-common/printf_fphex.c: Likewise.
7353 * stdio-common/tmpfile.c: Likewise.
7354 * stdlib/abort.c: Likewise.
7355 * stdlib/fmtmsg.c: Likewise.
7356 * sunrpc/auth_unix.c: Likewise.
7357 * sunrpc/clnt_perr.c: Likewise.
7358 * sunrpc/clnt_tcp.c: Likewise.
7359 * sunrpc/clnt_udp.c: Likewise.
7360 * sunrpc/clnt_unix.c: Likewise.
7361 * sunrpc/openchild.c: Likewise.
7362 * sunrpc/svc_simple.c: Likewise.
7363 * sunrpc/svc_tcp.c: Likewise.
7364 * sunrpc/svc_udp.c: Likewise.
7365 * sunrpc/svc_unix.c: Likewise.
7366 * sunrpc/xdr.c: Likewise.
7367 * sunrpc/xdr_array.c: Likewise.
7368 * sunrpc/xdr_rec.c: Likewise.
7369 * sunrpc/xdr_ref.c: Likewise.
7370 * sunrpc/xdr_stdio.c: Likewise.
7371
7372 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7373
7374 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7375
7376 2011-07-03 Andreas Jaeger <aj@suse.de>
7377
7378 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7379 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7380 regenerate with gen-libm-tests.pl.
7381
7382 2010-05-12 Petr Baudis <pasky@suse.cz>
7383
7384 [BZ #11589]
7385 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7386 around j0() zero points by switching to j1().
7387 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7388 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7389 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7390 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7391
7392 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7393
7394 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7395 instead of 0.
7396 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7397 instead of 0. .
7398 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7399 Patch in part by Pavel Roskin <proski@gnu.org>.
7400
7401 [BZ #13138]
7402 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7403 realloc.
7404 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7405 Free memory block if necessary.
7406
7407 [BZ #12847]
7408 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7409 be NULL. Don't lock in this case.
7410
7411 2011-09-09 Roland McGrath <roland@hack.frob.com>
7412
7413 * elf/elf.h (ELFOSABI_GNU): New macro.
7414 (ELFOSABI_LINUX): Define to that.
7415
7416 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7417
7418 * string/strncat.c (strncat): Undef the symbol in case it has been
7419 defined in bits/string.h.
7420
7421 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7422
7423 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7424
7425 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7426 link map.
7427
7428 2011-08-17 Andreas Jaeger <aj@suse.de>
7429
7430 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7431
7432 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7433 Ian Lance Taylor <iant@google.com>
7434
7435 * math/libm-test.inc (lround_test): New testcase.
7436 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7437
7438 2011-09-08 Ulrich Drepper <drepper@gmail.com>
7439
7440 * Makefile: Remove support for automatic cvs check-ins.
7441 * Makerules: Likewise.
7442 * config.make.in: Likewise.
7443 * configure.in: Likewise.
7444 * intl/Makefile: Likewise.
7445 * locale/Makefile: Likewise.
7446 * po/Makefile: Likewise.
7447 * posix/Makefile: Likewise.
7448 * sysdeps/gnu/Makefile: Likewise.
7449 * sysdeps/mach/hurd/Makefile: Likewise.
7450 * sysdeps/sparc/sparc32/Makefile: Likewise.
7451
7452 [BZ #13118]
7453 * posix/Makefile (bug-regex32-ENV): Define.
7454 Patch by John Stanley <jpsinthemix@verizon.net>.
7455
7456 * misc/Makefile (headers): Add bits/select2.h.
7457 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7458 * misc/bits/select2.h: New file.
7459 * include/bits/select2.h: New file.
7460 * debug/Makefile (routines): Add fdelt_chk.
7461 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7462 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7463 FD_ISSET.
7464 * debug/fdelt_chk.c: New file.
7465
7466 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7467 * wcsmbs/test-wmemcmp.c: Likewise.
7468 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7469 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7470
7471 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7472
7473 * string/Makefile (strop-tests): Add memcmp.
7474 * string/test-wmemcmp.c: New file.
7475 * string/test-memcmp.c: Add wmemcmp support.
7476
7477 2011-09-08 Roland McGrath <roland@hack.frob.com>
7478
7479 [BZ #13153]
7480 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7481 2011-07-19 change.
7482
7483 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7484 garbage value in a __mach_port_mod_refs call in the cases of the
7485 task-self and thread-self ports.
7486
7487 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7488
7489 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7490
7491 2011-09-08 Andreas Schwab <schwab@redhat.com>
7492
7493 * elf/dl-load.c (lose): Check for non-null L.
7494
7495 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7496
7497 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7498
7499 * elf/dl-libc.c (dlerror_run): Pass back error code from
7500 dl_catch_error.
7501
7502 [BZ #13123]
7503 * elf/dl-load.c (lose): Free l_origin if it is valid.
7504
7505 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7506 names.
7507 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7508 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7509 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7510 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7511 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7512 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7513
7514 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7515
7516 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7517 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7518 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7519 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7520 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7521 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7522 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7523 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7524 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7525 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7526
7527 2011-08-15 Alan Modra <amodra@gmail.com>
7528
7529 [BZ #13092]
7530 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7531 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7532 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7533 ppc_mcount to static-only-routines.
7534 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7535 __mcount_internal.
7536 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7537 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7538
7539 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7540
7541 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7542 for finite and infinity parameters.
7543
7544 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7545
7546 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7547 and add nop instructions for throughput optimization.
7548 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7549
7550 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7551
7552 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7553 aligned copy for power7 with vector-scalar instructions.
7554 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7555
7556 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7557
7558 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7559 AVX check.
7560
7561 2011-09-07 Andreas Schwab <schwab@redhat.com>
7562
7563 [BZ #13144]
7564 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7565 last change.
7566
7567 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7568
7569 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7570 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7571 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7572 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7573 clock_gettime.
7574
7575 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7576
7577 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7578 Forgot to demangle the pointer.
7579
7580 * sysdeps/i386/sysdep.h: Define atom_text_section.
7581 * sysdeps/x86_64/sysdep.h: Likewise.
7582 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7583 section with atom_text_section.
7584 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7585 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7586 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7587 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7588 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7589
7590 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7591 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7592 already be defined. Change to take two parameters and don't assign
7593 result to variable. Adjust all users.
7594 Define INTERNAL_GETTIME if not already defined.
7595 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7596 call.
7597 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7598 HAVE_CLOCK_GETTIME_VSYSCALL.
7599 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7600
7601 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7602 gettimeofday vsyscall, just use time.
7603
7604 2011-09-06 Andreas Schwab <schwab@redhat.com>
7605
7606 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7607 <errno.h>.
7608
7609 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7610
7611 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7612 syscall on x86-64.
7613 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7614 syscall.
7615 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7616 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7617 syscall if possible.
7618
7619 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7620
7621 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7622 e_ident. Don't pass to find_mapsXX.
7623 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7624
7625 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7626
7627 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7628 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7629 * sysdeps/x86_64/multiarch/strchr.S: Update.
7630 Check bit_slow_BSF bit.
7631 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7632 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7633 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7634
7635 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7636
7637 [BZ #13134]
7638 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7639 before glibc 2.15.
7640 (tryshell): Define.
7641 (__spawni): Change last parameter to be flag. Test
7642 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7643 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7644 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7645 * posix/spawni.c: Likewise.
7646 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7647 * posix/spawnp.c: Likewise. Change normal version to use
7648 SPAWN_XFLAGS_USE_PATH.
7649 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7650 SPAWN_XFLAGS_TRY_SHELL.
7651
7652 [BZ #13150]
7653 * posix/glob.h: Remove gcc 1.x support.
7654
7655 [BZ #13068]
7656 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7657
7658 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7659
7660 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7661 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7662 strrchr-sse2-bsf
7663 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7664 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7665 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7666 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7667 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7668 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7669
7670 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7671
7672 * sysdeps/x86_64/wcscmp.S: New file.
7673
7674 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7675 wcscmp-c wcscmp-sse2
7676 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7677 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7678 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7679 * wcsmbs/wcscmp.c: Allow renaming.
7680
7681 2011-09-05 David S. Miller <davem@davemloft.net>
7682
7683 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7684 stack slot, rather than the struct return pointer slot.
7685 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7686 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7688 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7689
7690 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7691
7692 * po/ja.po: Update from translation team.
7693
7694 [BZ #13144]
7695 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7696 kernel in 64-bit binaries.
7697
7698 2011-09-01 David S. Miller <davem@davemloft.net>
7699
7700 * elf/elf.h (HWCAP_SPARC_*): Move to..
7701 * sysdeps/sparc/sysdep.h: this new file and add new values.
7702 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7703 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7704 _DL_HWCAP_COUNT to 24.
7705 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7706 entries.
7707 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7708 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7709 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7710 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7711 instead of magic constants.
7712 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7713
7714 2011-08-31 David S. Miller <davem@davemloft.net>
7715
7716 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7717 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7718 Reimplement to do errno handling inline.
7719 (SYSCALL_ERROR_HANDLER): New macro.
7720 (__SYSCALL_STRING): Do not do errno handling in asm.
7721 (__CLONE_SYSCALL_STRING): Delete.
7722 (__INTERNAL_SYSCALL_STRING): Delete.
7723 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7724 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7725 (PSEUDO): Reimplement to do errno handling inline.
7726 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7727 (SYSCALL_ERROR_HANDLER): New macro.
7728 (__SYSCALL_STRING): Do not do errno handling in asm.
7729 (__CLONE_SYSCALL_STRING): Delete.
7730 (__INTERNAL_SYSCALL_STRING): Delete.
7731 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7732 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7733 i386.
7734 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7735 (inline_syscall*): Add 'err' argument.
7736 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7737 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7738 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7739 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7740
7741 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7742 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7743
7744 2011-08-30 Andreas Schwab <schwab@redhat.com>
7745
7746 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7747
7748 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7749
7750 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7751 directive.
7752
7753 2011-08-24 David S. Miller <davem@davemloft.net>
7754
7755 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7756
7757 2011-08-24 Andreas Schwab <schwab@redhat.com>
7758
7759 * elf/Makefile: Add rules to build and run unload8 test.
7760 * elf/unload8.c: New file.
7761 * elf/unload8mod1.c: New file.
7762 * elf/unload8mod1x.c: New file.
7763 * elf/unload8mod2.c: New file.
7764 * elf/unload8mod3.c: New file.
7765
7766 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7767 it wasn't used.
7768
7769 2011-08-23 David S. Miller <davem@davemloft.net>
7770
7771 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7772 subtract stack bias.
7773 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7774 %sp not %fp in calculations.
7775 (_JMPBUF_UNWINDS_ADJ): Likewise.
7776
7777 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7778 (aio_suspend): Call it to force an exception region around the
7779 AIO_MISC_WAIT() invocation.
7780
7781 2011-08-23 Andreas Schwab <schwab@redhat.com>
7782
7783 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7784 backslash.
7785
7786 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7787
7788 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7789 protection macro.
7790 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7791 and <dl-machine.h>.
7792 (Elf64_FuncDesc): Remove.
7793
7794 2011-08-22 David S. Miller <davem@davemloft.net>
7795
7796 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7797 sigaltstack check, add missing cfi directives.
7798 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7799 missing cfi directives, and sigaltstack handling.
7800
7801 2011-08-16 Andreas Schwab <schwab@redhat.com>
7802
7803 [BZ #11724]
7804 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7805 object is seen twice.
7806 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7807
7808 * elf/Makefile (distribute): Add tst-initorder2.c.
7809 (tests): Add tst-initorder2.
7810 (modules-names): Add tst-initorder2a tst-initorder2b
7811 tst-initorder2c tst-initorder2d. Add rules to build them.
7812 ($(objpfx)tst-initorder2.out): New rule.
7813 * elf/tst-initorder2.c: New file.
7814 * elf/tst-initorder2.exp: New file.
7815
7816 2011-08-22 Andreas Schwab <schwab@redhat.com>
7817
7818 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7819
7820 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7821 dependencies back to end of function.
7822
7823 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7824 $(elfobjdir)/ld.so.
7825
7826 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7827
7828 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7829 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7830 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7831 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7832 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7833 of __vdso_gettimeofday.
7834 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7835 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7836 attribute_hidden.
7837 (_libc_vdso_platform_setup): Remove initialization of
7838 __vdso_gettimeofday and __vdso_time.
7839
7840 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7841
7842 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7843 and fgetc_unlocked.
7844 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7845 getc_unlocked.
7846
7847 * elf/dl-open.c (add_to_global): Report additions to the global scope
7848 for LD_DEBUG=scopes.
7849 (dl_open_worker): Also print scope of newly loaded dependencies.
7850 (_dl_show_scope): Indicate if there is no scope.
7851
7852 [BZ #13114]
7853 * stdio-common/Makefile (tests): Add bug24.
7854 * stdio-common/bug24.c: New file.
7855
7856 2011-08-19 Andreas Jaeger <aj@suse.de>
7857
7858 [BZ #13114]
7859 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7860 non-existant file when using close-on-exec mode.
7861
7862 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7863
7864 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7865 the very first instruction.
7866
7867 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7868 the CFI state in the end.
7869 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7870 inclusion of dl-trampoline.h.
7871 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7872
7873 2011-08-19 Andreas Schwab <schwab@redhat.com>
7874
7875 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7876 expectations for long double.
7877
7878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7879 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7880
7881 2011-08-14 David S. Miller <davem@davemloft.net>
7882
7883 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7884 artificual limit depends upon the system page size.
7885
7886 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7887
7888 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7889 * resolv/Makefile: Define CFLAGS-libresolv.
7890
7891 2011-08-17 Andreas Schwab <schwab@redhat.com>
7892
7893 * nss/makedb.c (compute_tables): Make variables used in nested
7894 function static.
7895
7896 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7897
7898 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7899 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7900 if buffer was too small.
7901
7902 * elf/pldd.c (main): Attach to all threads in the process.
7903 Rewrite /proc handling to use *at functions.
7904
7905 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7906
7907 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7908 specifies first scope to show.
7909 (dl_open_worker): Update callers. Move printing scope of new
7910 object to before the relocation.
7911 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7912 * sysdeps/generic/ldsodefs.h: Update declaration.
7913
7914 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7915 string for the scope number.
7916
7917 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7918
7919 * nscd/servicescache.c (cache_addserv): Make sure written is always
7920 initialized.
7921
7922 2011-08-14 Roland McGrath <roland@hack.frob.com>
7923
7924 * sysdeps/i386/i486/bits/atomic.h
7925 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7926 statement expression, so as to suppress "set but not used" warning.
7927 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7928
7929 * string/strncat.c (STRNCAT): Use prototype definition.
7930
7931 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7932 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7933 -Iprograms here.
7934 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7935 (localedef-modules): Add localedef.
7936 (locale-modules): Add locale.
7937
7938 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7939 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7940 to avoid a warning.
7941
7942 2011-08-14 David S. Miller <davem@davemloft.net>
7943
7944 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7945 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7946
7947 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7948
7949 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7950 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7951 * elf/rtld.c (dl_main): Set l_name of vDSO.
7952 Call _dl_show_scope when DL_DEBUG_SCOPES.
7953 (process_dl_debug): Recognize scopes flag and also set it for all.
7954 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7955 Declare _dl_show_scope.
7956
7957 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7958 (do_dlopen): Pass caller_dlopen to dl_open.
7959 (__libc_dlopen_mode): Initialize caller_dlopen.
7960
7961 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7962 of libc. Make tolower call locale-independent. Optimize a bit by
7963 using isdigit instead of isalnum.
7964 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7965
7966 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7967
7968 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7969 was a dependency or dynamically loaded.
7970
7971 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7972
7973 * intl/l10nflist.c: Allow architecture-specific pop function.
7974 * sysdeps/x86_64/l10nflist.c: New file.
7975
7976 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7977 classification.
7978
7979 2011-08-10 Andreas Schwab <schwab@redhat.com>
7980
7981 * include/dirent.h: Add libc_hidden_proto for scandirat and
7982 scandirat64. Don't declare __scandirat64.
7983 * dirent/scandirat.c: Add libc_hidden_def.
7984 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7985 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7986
7987 2011-08-10 David S. Miller <davem@davemloft.net>
7988
7989 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7990 enum.
7991 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7992 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7993 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7994
7995 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7996
7997 * Versions.def [libc]: Add GLIBC_2.15.
7998 * dirent/Makefile (routines): Add scandirat and scandirat64.
7999 * dirent/Versions [libc]: Export scandirat and scandirat64 for
8000 GLIBC_2.15.
8001 * dirent/dirent.h: Declare scandirat and scandirat64.
8002 * dirent/scandirat.c: New file.
8003 * dirent/scandirat64.c: New file.
8004 * sysdeps/wordsize-64/scandirat.c: New file.
8005 * sysdeps/wordsize-64/scandirat64.c: New file.
8006 * dirent/opendir.c: Define opendirat.
8007 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
8008 using scandirat.
8009 * dirent/scandir64.c: Adjust for scandir.c change.
8010 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
8011 __scandirat64, and __scandir_cancel_handler.
8012 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
8013 additional parameter and use openat instead of open (outside of ld.so).
8014 Add new __opendir as wrapper around __opendirat.
8015 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
8016 here without requiring old scandirat implementation.
8017
8018 2011-08-08 Ulrich Drepper <drepper@gmail.com>
8019
8020 * dirent/scandir.c (cancel_handler): Renamed to
8021 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
8022 defined. Adjust users.
8023 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
8024 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
8025
8026 2011-08-04 Ulrich Drepper <drepper@gmail.com>
8027
8028 * string/test-string.h (IMPL): Use __STRING to expand name and then
8029 stringify it.
8030
8031 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
8032 of cleanups.
8033
8034 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8035
8036 * string/Makefile: Update.
8037 (strop-tests): Append strncat.
8038 * string/test-wcscmp.c: New file.
8039 New comprehensive test for wcscmp.
8040 * string/test-strcmp.c: Update.
8041 (WIDE): New define.
8042
8043 2011-07-22 Andreas Schwab <schwab@redhat.com>
8044
8045 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
8046 line.
8047
8048 2011-07-26 Andreas Schwab <schwab@redhat.com>
8049
8050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
8051 encoding to ACE if AI_IDN.
8052
8053 2011-08-01 Jakub Jelinek <jakub@redhat.com>
8054
8055 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
8056 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
8057
8058 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8059
8060 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
8061 Fix overflow bug in strncat.
8062 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8063
8064 * string/test-strncat.c: Update.
8065 Add new tests for checking overflow bugs.
8066
8067 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8068
8069 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8070 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
8071 * sysdeps/i386/i686/multiarch/strcat.S: New file.
8072 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
8073 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
8074 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
8075 * sysdeps/i386/i686/multiarch/strncat.S: New file.
8076 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
8077 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
8078
8079 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
8080 (USE_AS_STRCAT): Define.
8081 Add strcat and strncat support.
8082 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8083
8084 2011-07-25 Andreas Schwab <schwab@redhat.com>
8085
8086 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
8087 __n bigger than INT_MAX+1.
8088 (__strncmp_g): Likewise.
8089
8090 2011-07-23 Ulrich Drepper <drepper@gmail.com>
8091
8092 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
8093 * libio/stido.h: Likewise.
8094
8095 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
8096 (AF_NFC): Define.
8097 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
8098 (AF_NFC): Define.
8099
8100 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
8101 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8102 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8103 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8104 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8105
8106 [BZ #13021]
8107 * scripts/test-installation.pl: Don't expect libnss_test1 to be
8108 installed.
8109
8110 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
8111 typo.
8112 (_dl_x86_64_save_sse): Likewise.
8113
8114 2011-07-22 Ulrich Drepper <drepper@gmail.com>
8115
8116 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
8117 OSXSAVE.
8118 (_dl_x86_64_save_sse): Likewise.
8119
8120 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
8121
8122 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
8123
8124 2011-07-21 Andreas Schwab <schwab@redhat.com>
8125
8126 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
8127 change.
8128 (_dl_x86_64_save_sse): Use correct AVX check.
8129
8130 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8131
8132 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8133 bug in strncpy/strncat.
8134 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8135
8136 2011-07-21 Ulrich Drepper <drepper@gmail.com>
8137
8138 * string/tester.c (test_strcat): Add tests for different alignments
8139 of source and destination.
8140 (test_strncat): Likewise.
8141
8142 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8143
8144 [BZ #12852]
8145 * posix/glob.c (glob): Check passed in values before using them in
8146 expressions to avoid some overflows.
8147 (glob_in_dir): Likewise.
8148
8149 [BZ #13007]
8150 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8151 check for AVX enablement so that we don't crash with old kernels and
8152 new hardware.
8153 * elf/tst-audit4.c: Add same checks here.
8154 * elf/tst-audit6.c: Likewise.
8155
8156 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8157
8158 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8159
8160 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8161
8162 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8163
8164 * po/cs.po: Update from translation team.
8165 * po/bg.po: Likewise.
8166
8167 2011-07-12 Marek Polacek <mpolacek@redhat.com>
8168
8169 * misc/sys/cdefs.h: Add support for const attribute.
8170 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8171 to gnu_dev_{major,minor,makedev} functions.
8172
8173 2011-07-20 Marek Polacek <mpolacek@redhat.com>
8174
8175 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8176
8177 2011-07-20 Andreas Schwab <schwab@redhat.com>
8178
8179 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8180 strlen results.
8181
8182 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8183
8184 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8185 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8186 register in order to avoid conflicts with the soft frame pointer
8187 being held in r11 when necessary.
8188 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8189 (INTERNAL_VSYSCALL_NCS): Likewise.
8190
8191 2011-07-14 Marek Polacek <mpolacek@redhat.com>
8192
8193 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8194 * elf/dl-fini.c (_dl_fini): Adjust caller.
8195 * elf/dl-close.c (_dl_close_worker): Likewise.
8196 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8197
8198 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8199
8200 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8201 "aux_cache->nlibs < 0".
8202
8203 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8204 in the reload-count case.
8205
8206 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8207
8208 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8209 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8210 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8211 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8212 * sysdeps/x86_64/multiarch/strcat.S: New file.
8213 * sysdeps/x86_64/multiarch/strncat.S: New file.
8214 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8215 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8216 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8217 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8218 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8219 (USE_AS_STRCAT): Define.
8220 Add strcat and strncat support.
8221 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8222 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8223 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8224 * string/strncat.c: Update.
8225 (USE_AS_STRNCAT): Define.
8226 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8227 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8228 and i7.
8229 * sysdeps/x86_64/multiarch/init-arch.h
8230 (bit_Prefer_PMINUB_for_stringop): New.
8231 (index_Prefer_PMINUB_for_stringop): Likewise.
8232 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8233 bit_Prefer_PMINUB_for_stringop.
8234
8235 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8236
8237 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8238 buffer64.
8239 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8240 of casting of buffer.
8241 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8242 buffer32 and buffer64.
8243 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8244 writes instead of casting of buffer.
8245 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8246 buffer32.
8247 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8248 casting of buffer.
8249
8250 2011-07-19 Andreas Schwab <schwab@redhat.com>
8251
8252 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8253
8254 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8255
8256 * nscd/nscd.c (termination_handler): Don't do anything for a database
8257 if it has not yet been initialized.
8258
8259 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8260
8261 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8262
8263 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8264
8265 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8266
8267 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8268
8269 * po/nl.po: Update from translation team.
8270 * po/sv.po: Likewise.
8271
8272 2011-07-16 Roland McGrath <roland@hack.frob.com>
8273
8274 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8275 now disallowed by GCC.
8276
8277 * configure.in (use-default-link): Default to yes if a test -shared
8278 link meets our qualifications.
8279 * configure: Regenerated.
8280
8281 * config.make.in (output-format): New variable.
8282 * configure.in: Check for ld --print-output-format support.
8283 * configure: Regenerated.
8284 * Makerules ($(common-objpfx)format.lds)
8285 [$(output-format) != unknown]: Just use $(output-format),
8286 instead of the linker-script munging.
8287
8288 2011-07-14 Roland McGrath <roland@hack.frob.com>
8289
8290 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8291 of $(common-objpfx)shlib.lds.
8292 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8293
8294 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8295 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8296
8297 * configure.in (-z relro check): Adjust test code to add a large
8298 writable data section after it.
8299 * configure: Regenerated.
8300
8301 2011-07-11 Roland McGrath <roland@hack.frob.com>
8302
8303 * configure.in (-z relro check): Fix test code to make the variable
8304 truly const.
8305 * configure: Regenerated.
8306
8307 2011-07-11 Ulrich Drepper <drepper@gmail.com>
8308
8309 * nscd/nscd.h (struct traced_file): Define.
8310 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8311 elements. Add traced_files.
8312 (inotify_fd): Declare.
8313 (register_traced_file): Declare.
8314 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8315 (inotify_fd): Export.
8316 (resolv_conf_descr): Remove.
8317 (nscd_init): Move inotify descriptor creation to main.
8318 Don't register files for notification here.
8319 (register_traced_file): New function.
8320 (invalidate_cache): Don't use reset_res to determine whether to call
8321 res_init, go through the list of registered files.
8322 (main_loop_poll): The inotify descriptors are now stored in the
8323 structures for the traced files.
8324 (main_loop_epoll): Likewise
8325 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8326 to __nss_disable_nscd.
8327 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8328 for a database anymore. Check the records for all the registered
8329 files instead.
8330 * nss/Makefile (libnss_files-routines): Add files-init.
8331 (libnss_db-routines): Add db-init.
8332 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8333 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8334 * nss/nss_db/db-init.c: New file.
8335 * nss/nss_files/files-init.c: New file.
8336 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8337 __nss_lookup_function.
8338 (__nss_lookup_function): Call nss_load_library.
8339 (nss_load_all_libraries): New function.
8340 (__nss_disable_nscd): Take parameter with callback function for files
8341 to register. Set is_nscd. Load all the DSOs for the NSS modules
8342 used for the cached services.
8343 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8344 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8345 options for features to all the files in nscd.
8346
8347 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8348
8349 2011-07-10 Roland McGrath <roland@hack.frob.com>
8350
8351 * csu/elf-init.c (__libc_csu_init): Comment typo.
8352
8353 2011-07-09 Ulrich Drepper <drepper@gmail.com>
8354
8355 * po/pl.po: Update from translation team.
8356 * po/ja.po: Likewise.
8357 * po/ru.po: Likewise.
8358 * po/ko.po: Likewise.
8359 * po/fr.po: Likewise.
8360
8361 2011-07-09 Roland McGrath <roland@hack.frob.com>
8362
8363 * configure.in (.ctors/.dtors header and trailer check):
8364 Use an empirical test on a built program.
8365 * configure: Regenerated.
8366
8367 * configure.in (-z relro check): Use an empirical test on a built DSO.
8368 Detect, but do not require, on ia64.
8369 * configure: Regenerated.
8370
8371 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8372 Update tests that use readelf to use $READELF instead.
8373 * configure: Regenerated.
8374
8375 2011-07-08 Ulrich Drepper <drepper@gmail.com>
8376
8377 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8378 if the result is not used.
8379
8380 2011-07-05 Andreas Jaeger <aj@suse.de>
8381
8382 [BZ#9696]
8383 * stdlib/tst-strtod.c: Add testcase.
8384
8385 2011-07-07 Ulrich Drepper <drepper@gmail.com>
8386
8387 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8388 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8389 The latter has a higher limit. Take additional parameter to pass to
8390 the new function.
8391 (__pathconf): Pass file to __statfs_link_max.
8392 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8393 __statfs_link_max.
8394 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8395 __statfs_link_max.
8396
8397 [BZ #12868]
8398 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8399 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8400 Handle Lustre.
8401 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8402 (__statfs_filesize_max): Likewise.
8403 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8404
8405 2011-07-05 Andreas Jaeger <aj@suse.de>
8406
8407 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8408
8409 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8410
8411 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8412 `status' variable.
8413 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8414 Likewise.
8415
8416 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8417
8418 * Makefile (strop-tests): Add strncat.
8419 * string/test-strncat.c: New file.
8420
8421 2011-06-30 Marek Polacek <mpolacek@redhat.com>
8422
8423 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8424
8425 2011-06-21 Andreas Jaeger <aj@suse.de>
8426
8427 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8428 Copy rule from iconvdata/Makefile.
8429
8430 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8431
8432 [BZ #12922]
8433 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8434 but no long options are defined, just return 'W'.
8435
8436 2011-06-22 Marek Polacek <mpolacek@redhat.com>
8437
8438 [BZ #9696]
8439 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8440
8441 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8442
8443 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8444 netgroups to read.
8445 (innetgr): Likewise.
8446
8447 2011-07-05 Roland McGrath <roland@hack.frob.com>
8448
8449 * config.make.in (install_root): Default to $(DESTDIR).
8450
8451 2011-07-05 Ulrich Drepper <drepper@gmail.com>
8452
8453 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8454
8455 2011-07-02 Roland McGrath <roland@hack.frob.com>
8456
8457 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8458
8459 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8460 containing directory rather than embedding absolute directory names.
8461
8462 * scripts/check-local-headers.sh: Rewritten using awk.
8463 Match by word, not by line. Print error messages for matches.
8464 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8465
8466 * Makerules [shlib-lds-flags empty]:
8467 ($(common-objpfx)libc_pic.opts): New target.
8468 ($(common-objpfx)libc_pic.os.clean): New target.
8469 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8470
8471 * config.make.in (OBJCOPY): New variable.
8472 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8473 * configure: Regenerated.
8474
8475 * config.make.in (use-default-link): New variable.
8476 * configure.in (use_default_link): Grok --with-default-link to set it.
8477 * configure: Regenerated.
8478 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8479 (shlib-lds, shlib-lds-flags): Define to empty.
8480
8481 * Makerules (shlib-lds): New variable.
8482 (shlib-lds-flags): New variable.
8483 (build-shlib, build-moduile, build-module-asneeded): Use it.
8484 ($(common-objpfx)libc.so): Use $(shlib-lds).
8485 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8486 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8487
8488 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8489 DT_FLAGS/DT_FLAGS_1 with zero flags.
8490
8491 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8492 linker script munging.
8493
8494 2011-07-02 Ulrich Drepper <drepper@gmail.com>
8495
8496 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8497 as 128-bit value.
8498 * crypt/sha512.c (sha512_process_block): Perform total addition using
8499 128-bit if possible.
8500 (__sha512_finish_ctx): Likewise.
8501 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8502 as 64-bit value.
8503 * crypt/sha256.c (SWAP64): Define.
8504 (sha256_process_block): Perform total addition using 64-bit if
8505 possible.
8506 (__sha256_finish_ctx): Likewise.
8507
8508 2011-07-01 Ulrich Drepper <drepper@gmail.com>
8509
8510 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8511 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8512 * nscd/hstcache.c (cache_addhst): Likewise.
8513 * nscd/grpcache.c (cache_addgr): Likewise.
8514 * nscd/aicache.c (addhstaiX): Likewise
8515 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8516
8517 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
8518
8519 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8520 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8521 * nscd/hstcache.c (cache_addhst): Likewise.
8522 * nscd/grpcache.c (cache_addgr): Likewise.
8523 * nscd/aicache.c (addhstaiX): Likewise
8524
8525 2011-07-01 Andreas Schwab <schwab@redhat.com>
8526
8527 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8528 domain only when needed.
8529
8530 2011-06-30 Andreas Schwab <schwab@redhat.com>
8531
8532 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8533 is always restored.
8534
8535 2011-06-29 Ulrich Drepper <drepper@gmail.com>
8536
8537 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8538 are re-adding the entry.
8539 * nscd/servicescache.c (cache_addserv): Likewise.
8540
8541 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8542
8543 * sysdeps/generic/dl-irel.h: fix protection against multiple
8544 inclusions.
8545 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8546
8547 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8548
8549 [BZ #12935]
8550 * malloc/memusage.sh: Fix quoting in message.
8551 * debug/xtrace.sh: Likewise.
8552
8553 * configure.in: Remove support for --experimental-malloc option, make
8554 it the default.
8555 * config.make.in: Likewise.
8556 * malloc/Makefile: Likewise.
8557
8558 2011-06-27 Andreas Schwab <schwab@redhat.com>
8559
8560 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8561 two-byte characters.
8562
8563 2011-06-27 Roland McGrath <roland@hack.frob.com>
8564
8565 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8566 AC_CACHE_CHECK invocation.
8567 * configure: Regenerated.
8568
8569 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8570
8571 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8572
8573 [BZ #12350]
8574 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8575 bit from old_res_options.
8576
8577 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8578
8579 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8580 value type for setfct.
8581
8582 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8583
8584 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8585 __gettimeofday instead of gettimeofday.
8586
8587 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8588
8589 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8590
8591 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8592
8593 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8594
8595 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8596 info.
8597
8598 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8599
8600 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8601 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8602 strcpy-sse2-unaligned strncpy-sse2-unaligned
8603 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8604 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8605 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8606 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8607 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8608 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8609 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8610 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8611 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8612 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8613 (STRCPY): Support SSE2 and SSSE3 versions.
8614
8615 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8616
8617 [BZ #12874]
8618 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8619 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8620 kernels which artificially limit size of requests.
8621
8622 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8623
8624 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8625 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8626 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8627 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8628 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8629 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8630 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8631 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8632 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8633 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8634 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8635 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8636 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8637 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8638 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8639 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8640 Enable unaligned load optimization for Intel Core i3, i5 and i7
8641 processors.
8642 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8643 Define.
8644 (index_Fast_Unaligned_Load): Define.
8645 (HAS_FAST_UNALIGNED_LOAD): Define.
8646
8647 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8648
8649 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8650
8651 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8652
8653 [BZ #12907]
8654 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8655 until it is clear that the information is realy needed.
8656 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8657
8658 2011-06-22 Andreas Schwab <schwab@redhat.com>
8659
8660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8661
8662 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8663
8664 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8665 /sys/devices/system/cpu/online if it is usable.
8666
8667 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8668 reading the information from the /proc filesystem to once a second.
8669
8670 2011-06-21 Andreas Jaeger <aj@suse.de>
8671
8672 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8673 NULL after inclusion of kernel headers.
8674
8675 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8676
8677 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8678 calls to internal_setent.
8679
8680 [BZ #12885]
8681 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8682 addresses using gethostbyname4_r ignore IPv4 addresses.
8683
8684 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8685 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8686
8687 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8688
8689 2011-06-20 David S. Miller <davem@davemloft.net>
8690
8691 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8692 inclusions.
8693 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8694
8695 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8696 (elf_irel): Use it.
8697 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8698 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8699 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8700 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8701 * sysdeps/x86_64/dl-irel.h: Likewise.
8702
8703 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8704 * elf/dl-sym.c: Likewise.
8705
8706 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8707
8708 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8709 need to dereference resplen2.
8710
8711 2011-06-14 Andreas Schwab <schwab@redhat.com>
8712
8713 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8714
8715 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8716
8717 * Makeconfig: Define vardbdir and inst_vardbdir.
8718 * nss/Makefile: Add rules to install db-Makefile.
8719
8720 * nss/nss_db/db-XXX.c: Cleanup.
8721
8722 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8723 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8724 GLIBC_PRIVATE.
8725 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8726 * nss/makedb.c: Implement -g option to specify that value strings
8727 are generated and should not be added to table iterated over for
8728 get*ent calls.
8729 * nss/nss_db/db-initgroups.c: New file.
8730
8731 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8732 interface.
8733
8734 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8735 (internal_getgrouplist): Adjust to name change.
8736 Update use_initgroups_entry if this is not the first call.
8737 * nss/databases.def: Add initgroups entry.
8738
8739 * nss/makedb.c (compute_tables): Check result of multiple hash table
8740 sizes to minimize maximum chain length.
8741
8742 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8743
8744 * Versions.def: Add entry for libnss_db.
8745 * shlib-versions: Likewise.
8746 * nss/Makefile: Add rules to build libnss_db.
8747 * nss/Versions: Add libnss_db information. Organize libnss_files
8748 entries better.
8749 * nss/db-Makefile: Add gshadow support. Change rules for the new
8750 makedb progra. Some minor improvements to generate smaller files.
8751 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8752 here from...
8753 * nss/makedb.c: ...here.
8754 Improve database format to be smaller and require less memory at
8755 runtime.
8756 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8757 db anymore.
8758 * nss/nss_db/db-netgrp.c: Likewise.
8759 * nss/nss_db/db-open.c: Likewise.
8760 * nss/nss_files/flies-XXX.x: Adjust comments.
8761 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8762 * nss/nss_files/files-grp.c: Likewise.
8763 * nss/nss_files/files-hosts.c: Likewise.
8764 * nss/nss_files/files-network.c: Likewise.
8765 * nss/nss_files/files-proto.c: Likewise.
8766 * nss/nss_files/files-pwd.c: Likewise.
8767 * nss/nss_files/files-rpc.c: Likewise.
8768 * nss/nss_files/files-service.c: Likewise.
8769 * nss/nss_files/files-sgrp.c: Likewise.
8770 * nss/nss_files/files-spwd.c: Likewise.
8771 * nss/nss_db/db-alias.c: Removed.
8772 * nss/nss_db/dummy-db.h: Removed.
8773
8774 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8775
8776 * nss/makedb.c: Rewritten to not use database library.
8777 * nss/Makefile: Update to build new makedb program.
8778
8779 2011-06-14 Andreas Jaeger <aj@suse.de>
8780
8781 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8782 memset declaration.
8783
8784 2011-06-10 Andreas Schwab <schwab@redhat.com>
8785
8786 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8787 tmpbuf.
8788
8789 2011-06-10 Roland McGrath <roland@hack.frob.com>
8790
8791 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8792 * elf/Makefile ($(objpfx)ld.so): Likewise.
8793
8794 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8795 Don't list ld.so twice in dependencies.
8796
8797 * posix/bug-regex31.c: Include <stdlib.h>.
8798
8799 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8800
8801 * nis/nss_compat/compat-spwd.c
8802 (getspent_next_nss_netgr): Remove unused variable.
8803 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8804
8805 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8806 nonmembers" output to use the right array.
8807
8808 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8809
8810 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8811
8812 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8813 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8814 * catgets/gencat.c (read_input_file): Likewise.
8815 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8816
8817 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8818 variable definition inside #if's controlling its use.
8819
8820 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8821
8822 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8823
8824 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8825
8826 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8827 unreachable code.
8828
8829 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8830
8831 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8832 * configure: Regenerated.
8833
8834 * Makerules: Revert last change.
8835 * elf/Makefile: Likewise.
8836
8837 2011-06-09 Roland McGrath <roland@hack.frob.com>
8838
8839 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8840 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8841 (reloc-link): Likewise.
8842
8843 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8844
8845 * elf/Makefile: Add rules to build pldd.
8846 * elf/pldd.c: New file.
8847 * elf/pldd-xx.c: New file.
8848
8849 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8850
8851 * version.h: Update for 2.15 development version.
8852
8853 2011-06-07 David S. Miller <davem@davemloft.net>
8854
8855 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8856 ifuncs.
8857 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8858 elf_machine_lazy_rel): Likewise.
8859 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8860 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8861 elf_machine_lazy_rel): Likewise.
8862 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8863 dl_hwcap via passed in argument.
8864 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8865 Likewise.
8866
8867 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8868
8869 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8870
8871 2011-06-06 Roland McGrath <roland@hack.frob.com>
8872
8873 [BZ #12849]
8874 * manual/fdl-1.1.texi: New file, verbatim from:
8875 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8876 * manual/lgpl-2.1.texi: New file, verbatim from:
8877 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8878 * manual/Makefile (licenses): New variable, list those new file names.
8879 (texis): Use it.
8880 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8881
8882 * manual/fdl.texi: File removed.
8883 * manual/lesser.texi: File removed.
8884 * manual/libc.texinfo (Copying, Documentation License):
8885 Use new @include file names, put @appendix directive before @include.
8886
8887 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8888
8889 [BZ #12841]
8890 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8891 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8892 (mq_open): Add __NTH.
8893
8894 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8895
8896 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8897 Assume Intel Core i3/i5/i7 processor if AVX is available.
8898
8899 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8900
8901 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8902 typo.
8903
8904 2011-05-31 Andreas Schwab <schwab@redhat.com>
8905
8906 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8907 memory. Use alloca_account. Fix memory leak when retrying.
8908
8909 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8910
8911 * version.h (RELEASE): Bump for 2.14 release.
8912 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8913
8914 * config.make.in (RANLIB): Remove entry.
8915
8916 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8917
8918 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8919 (libc.pot): Work around missing support for .ksh extension in xgettext.
8920
8921 [BZ #12684]
8922 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8923 if both request failed.
8924 (send_dg): In case of server errors clear resplen or *resplen2.
8925
8926 [BZ #12454]
8927 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8928 when there are multiple maps.
8929 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8930 (_dl_fini): Remove test here.
8931
8932 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8933
8934 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8935
8936 [BZ #12350]
8937 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8938 bit from old_res_options.
8939 (gaih_inet): Likewise.
8940
8941 [BZ #11099]
8942 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8943 as signed.
8944
8945 * resolv/res_init.c (res_setoptions): Make the code more compact.
8946
8947 [BZ #11558]
8948 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8949 set RES_USEVC.
8950
8951 [BZ #11634]
8952 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8953
8954 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8955
8956 [BZ #11781]
8957 * malloc/malloc.h: Declare malloc hook variables as volatile.
8958
8959 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8960 in last patch.
8961
8962 [BZ #11799]
8963 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8964 raise in the comment.
8965 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8966 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8967 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8968
8969 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8970
8971 [BZ #12811]
8972 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8973 grow the buffers more if it already has to be sufficient.
8974 (build_wcs_upper_buffer): Likewise.
8975 * posix/regexec.c (check_matching): Likewise.
8976 (clean_state_log_if_needed): Likewise.
8977 (extend_buffers): Don't enlarge buffers beyond size of the input
8978 buffer.
8979 Patches mostly by Emil Wojak <emil@wojak.eu>.
8980 * posix/bug-regex32.c: New file.
8981 * posix/Makefile (tests): Add bug-regex32.
8982
8983 * locale/findlocale.c (_nl_find_locale): Return right away if
8984 _nl_explode_name failed.
8985 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8986
8987 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8988
8989 * debug/xtrace.sh: Unify messages.
8990 * malloc/memusage.sh: Likewise.
8991
8992 [BZ #12813]
8993 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8994 time symbol from vDSO. Substitute with vsyscall if not available.
8995 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8996 __vdso_time.
8997
8998 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8999 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
9000 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
9001 Add sendmmsg and internal_sendmmsg.
9002 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
9003 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
9004 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
9005
9006 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
9007 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
9008 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
9009
9010 2011-05-27 Ulrich Drepper <drepper@gmail.com>
9011
9012 [BZ #12813]
9013 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
9014 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
9015 available.
9016 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
9017 __vdso_getcpu.
9018
9019 [BZ #12814]
9020 * iconvdata/Makefile (tests): Add bug-iconv9.
9021 * iconvdata/bug-iconv9.c: New file.
9022
9023 2011-05-27 Andreas Schwab <schwab@redhat.com>
9024
9025 [BZ #12814]
9026 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
9027
9028 2011-05-25 Jakub Jelinek <jakub@redhat.com>
9029
9030 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9031 (struct user_regs_struct): Change intcs field back to cs.
9032
9033 2011-05-25 Ulrich Drepper <drepper@gmail.com>
9034
9035 * po/ja.po: Update from translation team.
9036
9037 2011-05-23 Ulrich Drepper <drepper@gmail.com>
9038
9039 [BZ #12795]
9040 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
9041 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
9042
9043 2011-05-20 Andreas Schwab <schwab@redhat.com>
9044
9045 * stdlib/longlong.h: Update from GCC.
9046
9047 2011-05-23 Andreas Schwab <schwab@redhat.com>
9048
9049 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
9050 parameter name.
9051 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
9052 Add parameter name.
9053 (__sysconf): Pass it down.
9054
9055 2011-05-22 Ulrich Drepper <drepper@gmail.com>
9056
9057 [BZ #12671]
9058 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
9059 some situations.
9060 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9061 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
9062 add in in __libc_use_alloca calls. Adjust callers.
9063 (glob): Use malloc in some situations.
9064
9065 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
9066 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
9067 pltexit.
9068
9069 2011-05-21 Ulrich Drepper <drepper@gmail.com>
9070
9071 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
9072 and CLOCK_BOOTTIME_ALARM.
9073
9074 [BZ #12782]
9075 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
9076 is returned.
9077
9078 * string/_strerror.c (__strerror_r): Print negative errors as signed
9079 numbers.
9080
9081 [BZ #12777]
9082 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
9083 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
9084 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
9085
9086 * configure.in: Fix typo in redirection and correct removal of test
9087 files in two cases.
9088
9089 [BZ #12788]
9090 * locale/setlocale.c (new_composite_name): Fix test to check for
9091 identical name of all categories.
9092
9093 [BZ #12792]
9094 * libio/filedoalloc.c (local_isatty): New function.
9095 (_IO_file_doallocate): Use local_isatty.
9096 * stdio-common/perror.c (perror): In case a new stream is used
9097 forward the stream error.
9098 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
9099 error flag.
9100
9101 2011-05-20 Ulrich Drepper <drepper@gmail.com>
9102
9103 [BZ #11869]
9104 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
9105 alloca.
9106 * include/alloca.h (extend_alloca_account): Define.
9107
9108 [BZ #11857]
9109 * posix/regex.h: Fix comments with documentation of user-accessible
9110 fields after compilation and describe correct free'ing of pattern
9111 after re_compile_pattern.
9112 Patch by Reuben Thomas <rrt@sc3d.org>.
9113
9114 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
9115
9116 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
9117 and -mno-altivec to prevent the compiler from using Altivec and/or
9118 VSX instructions when the corresponding registers are not available.
9119
9120 2011-05-19 Andreas Schwab <schwab@redhat.com>
9121
9122 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
9123
9124 2011-05-19 Ulrich Drepper <drepper@gmail.com>
9125
9126 * libio/freopen.c (freopen): Use __dup2, not dup2.
9127 * libio/freopen64.c (freopen64): Likewise.
9128
9129 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9130
9131 [BZ #12775]
9132 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9133 * math/Makefile (tests): Add test-powl.
9134 (CFLAGS-test-powl.c): Define.
9135 * math/test-powl.c: New file.
9136
9137 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9138
9139 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9140
9141 2011-05-17 Ulrich Drepper <drepper@gmail.com>
9142
9143 [BZ #11837]
9144 * iconvdata/gb18030.c: Update to GB18020-2005.
9145
9146 2011-05-16 Ulrich Drepper <drepper@gmail.com>
9147
9148 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9149 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9150 Patch by Aharon Robbins <arnold@skeeve.com>.
9151
9152 [BZ #11892]
9153 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9154 on the stack.
9155
9156 [BZ #11895]
9157 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9158 through underflows.
9159
9160 [BZ #12766]
9161 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9162 point to strings before performing equality test for error_one_per_line
9163 mode.
9164
9165 [BZ #11697]
9166 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9167
9168 [BZ #11820]
9169 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9170 (struct user_fpregs_struct): Avoid __uint*_t types.
9171
9172 [BZ #6420]
9173 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9174 symbol info. Use it instead of calling _dl_addr locally.
9175 (lock_and_info): New function.
9176 (tr_freehook): Call lock_and_info and pass symbol info as additional
9177 parameter to tr_where.
9178 (tr_mallochook): Likewise.
9179 (tr_reallochook): Likewise.
9180 (tr_memalignhook): Likewise.
9181
9182 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9183 used and couldn't be at all thread-safe.
9184
9185 2011-05-15 Ulrich Drepper <drepper@gmail.com>
9186
9187 * libio/freopen.c (freopen): Don't close old file descriptor
9188 before the new one is opened. Instead dup the new file descriptor
9189 to the old one after the new stream is created.
9190 * libio/freopen64.c (freopen64): Likewise.
9191 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9192 * libio/fileops.c (_IO_new_file_close_it): Handle new
9193 _IO_FLAGS2_NOCLOSE flag.
9194 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9195 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9196 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9197 _IO_FLAGS2_NOCLOSE flag.
9198 * include/unistd.h: Add hidden_proto for dup3.
9199 Define __have_dup3.
9200 * io/dup3.c: Define hidden symbol.
9201 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9202
9203 [BZ #7101]
9204 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9205 when an incomplete long option is used.
9206 * posix/tst-getopt_long1.c: New file.
9207 * posix/Makefile (tests): Add tst-getopt_long1.
9208
9209 [BZ #10138]
9210 * scripts/config.guess: Update from autoconf-2.68.
9211 * scripts/config.sub: Likewise.
9212
9213 [BZ #10157]
9214 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9215 tests into ...
9216 (has_cpuclock): ...this. New function.
9217 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9218 macro here based on has_cpuclock code.
9219
9220 [BZ #10149]
9221 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9222 First byte (not low byte) is now always NUL.
9223 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9224
9225 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9226 Use non-cancelable interfaces.
9227
9228 [BZ #9809]
9229 * locale/iso-639.def: Add entry for Sorani.
9230
9231 [BZ #11901]
9232 * include/stdlib.h: Move include protection to the right place.
9233 Define abort_msg_s. Declare __abort_msg with it.
9234 * stdlib/abort.c (__abort_msg): Adjust type.
9235 * assert/assert.c (__assert_fail_base): New function. Majority
9236 of code from __assert_fail. Allocate memory for __abort_msg with
9237 mmap.
9238 (__assert_fail): Now call __assert_fail_base.
9239 * assert/assert-perr.c: Remove bulk of implementation. Use
9240 __assert_fail_base.
9241 * include/assert.hL Declare __assert_fail_base.
9242 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9243 mmap.
9244 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9245
9246 2011-05-14 Ulrich Drepper <drepper@gmail.com>
9247
9248 [BZ #11952]
9249 [BZ #12453]
9250 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9251 until all modules are registered in the DTV.
9252 * elf/Makefile: Add rules to build and run tst-tls19.
9253 * elf/tst-tls19.c: New file.
9254 * elf/tst-tls19mod1.c: New file.
9255 * elf/tst-tls19mod2.c: New file.
9256 * elf/tst-tls19mod3.c: New file.
9257 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9258
9259 [BZ #12083]
9260 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9261 correctly.
9262
9263 [BZ #12601]
9264 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9265 two-byte sequence errors.
9266 * iconvdata/Makefile (tests): Add bug-iconv8.
9267 * iconvdata/bug-iconv8.c: New file.
9268
9269 [BZ #12626]
9270 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9271 buf2 definition.
9272
9273 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9274
9275 [BZ #12432]
9276 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9277 (dummy_getcfa): New function.
9278 (init): Get _Unwind_GetCFA address, use dummy if not found.
9279 (backtrace_helper): In recursion check, also check whether CFA changes.
9280 (__backtrace): Completely initialize arg.
9281
9282 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9283 storing incomplete byte sequence in state object. Avoid testing for
9284 guaranteed too small input if we know there is enough data available.
9285
9286 2011-05-11 Andreas Schwab <schwab@redhat.com>
9287
9288 * Makeconfig (+link-pie): Indent.
9289 * Rules (binaries-pie): Define if $(have-fpie) and
9290 $(build-shared).
9291 (binaries-shared): Also filter out $(binaries-pie).
9292 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9293 * nscd/Makefile (others-pie): Add nscd.
9294 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9295 ($(objpfx)nscd): Remove command override.
9296 * login/Makefile (others-pie): Add pt_chown.
9297 ($(objpfx)pt_chown): Remove command override.
9298 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9299 remove command overrides.
9300
9301 2011-05-13 Ulrich Drepper <drepper@gmail.com>
9302
9303 * libio/tst_putwc.c: Fix error messages.
9304
9305 [BZ #12724]
9306 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9307 currently writing and seek to current position when not.
9308 * libio/Makefile (tests): Add bug-fclose1.
9309 * libio/bug-fclose1.c: New file.
9310
9311 2011-05-12 Ulrich Drepper <drepper@gmail.com>
9312
9313 [BZ #12511]
9314 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9315 don't set DF_1_NODELETE here.
9316 (do_lookup_x): When entering new entry test for copy relocation
9317 and if necessary set DF_1_NODELETE flag.
9318 * elf/tst-unique4.cc: New file.
9319 * elf/tst-unique4.h: New file.
9320 * elf/tst-unique4lib.cc: New file.
9321 * elf/Makefile: Add rules to build and run tst-unique4.
9322 Patch by Piotr Bury <pbury@goahead.com>.
9323
9324 2011-05-11 Ulrich Drepper <drepper@gmail.com>
9325
9326 [BZ #12052]
9327 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9328
9329 [BZ #12625]
9330 * misc/mntent_r.c (addmntent): Flush the stream after the output
9331
9332 [BZ #12393]
9333 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9334 (is_trusted_path_normalize): Skip initial colon. Append slash
9335 to empty buffer. Duplicate is_trusted_path code but allow
9336 constructed patch to be prefix.
9337 (is_dst): Allow $ORIGIN followed by /.
9338 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9339 Correct testing of result of is_trusted_path_normalize
9340 (decompose_rpath): Fix warning.
9341
9342 2011-05-10 Ulrich Drepper <drepper@gmail.com>
9343
9344 [BZ #11257]
9345 * grp/initgroups.c (internal_getgrouplist): When we found the service
9346 list through the initgroups entry in nsswitch.conf do not always
9347 continue on a successful lookup. Don't always use the
9348 __nss_group_database value if it is set.
9349 * nss/nsswitch.conf (initgroups): Change action for successful db
9350 lookup to continue for compatibility.
9351
9352 2011-05-09 Ulrich Drepper <drepper@gmail.com>
9353
9354 [BZ #11532]
9355 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9356 and CP774 modules.
9357 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9358 and CP774 modules.
9359 * iconvdata/tst-tables.sh: Likewise.
9360 * iconvdata/cp770.c: New file.
9361 * iconvdata/cp771.c: New file.
9362 * iconvdata/cp772.c: New file.
9363 * iconvdata/cp773.c: New file.
9364 * iconvdata/cp774.c: New file.
9365 * iconvdata/testdata/CP770: New file.
9366 * iconvdata/testdata/CP770..UTF8: New file.
9367 * iconvdata/testdata/CP771: New file.
9368 * iconvdata/testdata/CP771..UTF8: New file.
9369 * iconvdata/testdata/CP772: New file.
9370 * iconvdata/testdata/CP772..UTF8: New file.
9371 * iconvdata/testdata/CP773: New file.
9372 * iconvdata/testdata/CP773..UTF8: New file.
9373 * iconvdata/testdata/CP774: New file.
9374 * iconvdata/testdata/CP774..UTF8: New file.
9375
9376 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9377 END CHARMAP line.
9378 * iconvdata/gen-8bit-gap.sh: Likewise.
9379 * iconvdata/gen-8bit.sh: Likewise.
9380
9381 * locale/iso-639.def: Add ary entry.
9382
9383 [BZ #11258]
9384 * locale/C-translit.h.in: Add U20A1 transliteration.
9385
9386 [BZ #12178]
9387 * locale/iso-639.def: Add wae entry.
9388 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9389
9390 [BZ #12545]
9391 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9392 for n.
9393
9394 [BZ #12711]
9395 * locale/C-translit.h.in: Add entry for U20B9.
9396 Patch by pravin.d.s@gmail.com.
9397
9398 2011-05-08 Ulrich Drepper <drepper@gmail.com>
9399
9400 [BZ #12713]
9401 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9402 ENAMETOOLONG use generic getcwd.
9403 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9404 in rtld. Use *stat64.
9405 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9406 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9407 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9408 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9409 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9410 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9411 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9412 __fstatat64 macros.
9413 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9414 * dirent/rewinddir.c: Add libc_hidden_def.
9415 * sysdeps/mach/hurd/rewinddir.c: Likewise.
9416 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
9417
9418 * include/dirent.h (__alloc_dir): Add flags parameter.
9419 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9420 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9421 __alloc_dir.
9422 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9423 from fdopendir if O_CLOEXEC is already set.
9424
9425 2011-03-15 Alan Modra <amodra@gmail.com>
9426
9427 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9428 l_tls_firstbyte_offset non-zero. Save padding offset in
9429 l_tls_firstbyte_offset for later use.
9430 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9431 freeing static tls block.
9432
9433 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9434
9435 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9436 where #ifdef was intended. The intent is to prevent ARG_MAX from
9437 being defined by the kernel headers.
9438
9439 2011-05-07 Ulrich Drepper <drepper@gmail.com>
9440
9441 [BZ #12734]
9442 * resolv/resolv.h: Define RES_NOTLDQUERY.
9443 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9444 no-tld-query and set RES_NOTLDQUERY.
9445 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9446 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9447 modern BIND to search name as TLD unless forbidden.
9448
9449 2011-05-07 Petr Baudis <pasky@suse.cz>
9450 Ulrich Drepper <drepper@gmail.com>
9451
9452 [BZ #12393]
9453 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9454 (is_trusted_path): ...to here.
9455 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9456 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9457 using is_trusted_path_normalize() in setuid scripts.
9458
9459 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9460
9461 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9462 __BEGIN/__END_DECLS.
9463
9464 2011-05-06 Ulrich Drepper <drepper@gmail.com>
9465
9466 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9467 NSS_STATUS_NOTFOUND if no record was found.
9468
9469 2011-05-05 Andreas Schwab <schwab@redhat.com>
9470
9471 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9472 (headers-not-in-tirpc): Remove rpc/netdb.h
9473 * resolv/netdb.h: Revert last change.
9474
9475 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9476
9477 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9478 circular dependency between libgcc.a and libc.a.
9479
9480 2011-05-05 Andreas Schwab <schwab@redhat.com>
9481
9482 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9483 * nis/Makefile: Don't install rpcsvc/*.
9484 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9485 instead of <rpc/types.h>.
9486 (MAXHOSTNAMELEN): Define.
9487
9488 2011-05-03 Andreas Schwab <schwab@redhat.com>
9489
9490 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9491
9492 2011-04-28 Maciej Babinski <mbabinski@google.com>
9493
9494 [BZ #12714]
9495 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9496 gethostbyname4_r when IPv6 results are possible.
9497
9498 2011-05-02 Ulrich Drepper <drepper@gmail.com>
9499
9500 [BZ #12723]
9501 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9502 _PC_PIPE_BUF handling.
9503
9504 2011-04-30 Bruno Haible <bruno@clisp.org>
9505
9506 [BZ #12717]
9507 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9508 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9509 to 'int'.
9510 * inet/getnameinfo.c (getnameinfo): Likewise.
9511
9512 2011-04-29 Ulrich Drepper <drepper@gmail.com>
9513
9514 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9515 to groups setting in database lookup.
9516 * nss/nsswitch.conf: Add initgroups entry.
9517
9518 2011-04-22 Ulrich Drepper <drepper@gmail.com>
9519
9520 [BZ #12685]
9521 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9522 mode string.
9523 Patch by Eric Blake <eblake@redhat.com>.
9524
9525 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9526
9527 * sunrpc/Makefile (need-export-routines): Add svc_run.
9528 (routines): Remove svc_run.
9529 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9530 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9531 * sunrpc/svc_run.c (svc_run): Likewise.
9532 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9533
9534 2011-04-21 Ulrich Drepper <drepper@gmail.com>
9535
9536 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9537 problem in reallocation in last patch.
9538
9539 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9540
9541 * sunrpc/Makefile: Move inclusion of Rules.
9542
9543 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9544
9545 * nss/nss_files/files-initgroups.c: New file.
9546 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9547 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9548 _nss_files_initgroups_dyn.
9549
9550 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9551
9552 * elf/elf.h (R_ARM_IRELATIVE): Define.
9553
9554 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9555
9556 * po/ru.po: Update from translation team.
9557
9558 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9559
9560 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9561 dependencies.
9562
9563 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9564
9565 [BZ #12653]
9566 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9567 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9568 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9569 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9570 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9571
9572 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9573
9574 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9575 differing bytes.
9576 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9577 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9578 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9579
9580 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9581
9582 [BZ #12420]
9583 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9584 storing it.
9585 * stdlib/bug-getcontext.c: New file.
9586 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9587
9588 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9589
9590 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9591 instructions into .machine "z9-109".
9592 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9593 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9594
9595 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9596
9597 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9598 between environment variables and auxiliary vector.
9599
9600 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9601
9602 * Makefile: Add rules to build linkobj/libc.so.
9603 * include/libc-symbols.h: Define libc_hidden_nolink.
9604 * include/rpc/auth.h: Mark functions which are to be hidden.
9605 * include/rpc/auth_des.h: Likewise.
9606 * include/rpc/auth_unix.h: Likewise.
9607 * include/rpc/clnt.h: Likewise.
9608 * include/rpc/des_crypt.h: Likewise.
9609 * include/rpc/key_prot.h: Likewise.
9610 * include/rpc/pmap_clnt.h: Likewise.
9611 * include/rpc/pmap_prot.h: Likewise.
9612 * include/rpc/pmap_rmt.h: Likewise.
9613 * include/rpc/rpc_msg.h: Likewise.
9614 * include/rpc/svc.h: Likewise.
9615 * include/rpc/svc_auth.h: Likewise.
9616 * include/rpc/xdr.h: Likewise.
9617 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9618 * nss/Makefile: Likewise.
9619 * sunrpc/Makefile: Don't install headers. Build library with normal
9620 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9621 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9622 for the compat linking library. Remove use of INTDEF/INTUSE.
9623 * sunrpc/auth_none.c: Likewise.
9624 * sunrpc/auth_unix.c: Likewise.
9625 * sunrpc/authdes_prot.c: Likewise.
9626 * sunrpc/authuxprot.c: Likewise.
9627 * sunrpc/clnt_gen.c: Likewise.
9628 * sunrpc/clnt_perr.c: Likewise.
9629 * sunrpc/clnt_raw.c: Likewise.
9630 * sunrpc/clnt_simp.c: Likewise.
9631 * sunrpc/clnt_tcp.c: Likewise.
9632 * sunrpc/clnt_udp.c: Likewise.
9633 * sunrpc/clnt_unix.c: Likewise.
9634 * sunrpc/des_crypt.c: Likewise.
9635 * sunrpc/des_soft.c: Likewise.
9636 * sunrpc/get_myaddr.c: Likewise.
9637 * sunrpc/key_call.c: Likewise.
9638 * sunrpc/key_prot.c: Likewise.
9639 * sunrpc/netname.c: Likewise.
9640 * sunrpc/pm_getmaps.c: Likewise.
9641 * sunrpc/pm_getport.c: Likewise.
9642 * sunrpc/pmap_clnt.c: Likewise.
9643 * sunrpc/pmap_prot.c: Likewise.
9644 * sunrpc/pmap_prot2.c: Likewise.
9645 * sunrpc/pmap_rmt.c: Likewise.
9646 * sunrpc/publickey.c: Likewise.
9647 * sunrpc/rpc_cmsg.c: Likewise.
9648 * sunrpc/rpc_common.c: Likewise.
9649 * sunrpc/rpc_dtable.c: Likewise.
9650 * sunrpc/rpc_prot.c: Likewise.
9651 * sunrpc/rpc_thread.c: Likewise.
9652 * sunrpc/rtime.c: Likewise.
9653 * sunrpc/svc.c: Likewise.
9654 * sunrpc/svc_auth.c: Likewise.
9655 * sunrpc/svc_authux.c: Likewise.
9656 * sunrpc/svc_raw.c: Likewise.
9657 * sunrpc/svc_run.c: Likewise.
9658 * sunrpc/svc_simple.c: Likewise.
9659 * sunrpc/svc_tcp.c: Likewise.
9660 * sunrpc/svc_udp.c: Likewise.
9661 * sunrpc/svc_unix.c: Likewise.
9662 * sunrpc/svcauth_des.c: Likewise.
9663 * sunrpc/xcrypt.c: Likewise.
9664 * sunrpc/xdr.c: Likewise.
9665 * sunrpc/xdr_array.c: Likewise.
9666 * sunrpc/xdr_float.c: Likewise.
9667 * sunrpc/xdr_intXX_t.c: Likewise.
9668 * sunrpc/xdr_mem.c: Likewise.
9669 * sunrpc/xdr_rec.c: Likewise.
9670 * sunrpc/xdr_ref.c: Likewise.
9671 * sunrpc/xdr_sizeof.c: Likewise.
9672 * sunrpc/xdr_stdio.c: Likewise.
9673
9674 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9675
9676 [BZ #12650]
9677 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9678 * sysdeps/ia64/dl-tls.h: Likewise.
9679 * sysdeps/powerpc/dl-tls.h: Likewise.
9680 * sysdeps/s390/dl-tls.h: Likewise.
9681 * sysdeps/sh/dl-tls.h: Likewise.
9682 * sysdeps/sparc/dl-tls.h: Likewise.
9683 * sysdeps/x86_64/dl-tls.h: Likewise.
9684 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9685
9686 2011-03-14 Andreas Schwab <schwab@redhat.com>
9687
9688 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9689 rpath element also skip the following colon.
9690 (expand_dynamic_string_token): Add is_path parameter and pass
9691 down to DL_DST_REQUIRED and _dl_dst_substitute.
9692 (decompose_rpath): Call expand_dynamic_string_token with
9693 non-zero is_path. Ignore empty rpaths.
9694 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9695 with zero is_path.
9696
9697 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9698
9699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9700 Make cancelable.
9701
9702 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9703
9704 [BZ #12655]
9705 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9706 Patch by Filipe David Manana <fdmanana@apache.org>.
9707
9708 2011-04-07 Andreas Schwab <schwab@redhat.com>
9709
9710 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9711 Maintain aligned stack.
9712 (CHECK_RSP): Remove unused macro.
9713
9714 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9715
9716 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9717 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9718
9719 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9720
9721 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9722
9723 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9724
9725 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9726
9727 [BZ #12518]
9728 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9729 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9730 * sysdeps/x86_64/memmove.c: New file.
9731 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9732 (memcpy): Renamed to ...
9733 (__new_memcpy): This.
9734 (memcpy): Provide GLIBC_2_14 memcpy.
9735 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9736 (memcpy): Provide GLIBC_2_2_5 memcpy.
9737
9738 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9739
9740 [BZ #12631]
9741 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9742
9743 2011-03-30 Andreas Schwab <schwab@redhat.com>
9744
9745 * misc/syncfs.c: New file.
9746 * misc/Makefile (routines): Add syncfs.
9747 * posix/unistd.h: Declare syncfs.
9748 * sysdeps/unix/syscalls.list: Add syncfs.
9749
9750 2011-04-01 Andreas Schwab <schwab@redhat.com>
9751
9752 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9753 open_by_handle_at.
9754 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9755 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9756 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9757 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9758 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9759 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9760 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9761
9762 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9763
9764 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9765 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9766 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9767 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9768 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9769 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9770 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9771
9772 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9773 sync_file_range.c with -fexceptions.
9774 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9775 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9776 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9777 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9778 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9779 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9780 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9781 sync_file_range as cancellation point
9782 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9783 now a wrapper around __call_sync_file_range with cancellation handling.
9784 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9785 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9786 function name to __call_sync_file_range.
9787 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9788 Add call_sync_file_range.
9789
9790 2011-04-01 Andreas Schwab <schwab@redhat.com>
9791
9792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9793 bits/timex.h.
9794
9795 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9796
9797 * iconv/iconv.h: Fix typo in comment.
9798 * io/fcntl.h: Likewise.
9799 * libio/stdio.h: Likewise.
9800 * posix/spawn.h: Likewise.
9801 * posix/unistd.h: Likewise.
9802 * stdlib/stdlib.h: Likewise.
9803 * time/time.h: Likewise.
9804 * wcsmbs/wchar.h: Likewise.
9805
9806 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9807 open_by_handle): Add.
9808 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9809 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9810 Augment a few comments.
9811 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9812 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9813 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9814 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9815 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9816 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9817 open_by_handle.
9818
9819 * io/fcntl.h (AT_EMPTY_PATH): Define.
9820
9821 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9822
9823 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9824 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9825 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9826 to...
9827 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9828 * Versions.def: Add GLIBC_2.14.
9829 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9830 Export.
9831
9832 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9833
9834 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9835 round counter.
9836 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9837
9838 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9839
9840 [BZ #12597]
9841 * string/test-strncmp.c (do_page_test): New function.
9842 (check2): Likewise.
9843 (test_main): Call check2.
9844 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9845
9846 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9847
9848 [BZ #12587]
9849 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9850 Handle cache information in CPU leaf 4.
9851 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9852
9853 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9854
9855 [BZ #12583]
9856 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9857 character representation.
9858 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9859
9860 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9861
9862 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9863 END(__isnan) to END(__isnanf) to match function entry point/label
9864 EALIGN(__isnanf,...).
9865
9866 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9867
9868 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9869
9870 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9871
9872 [BZ #12510]
9873 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9874 copy from the symbol referenced in the relocation to initialize the
9875 used variable.
9876 Patch by Piotr Bury <pbury@goahead.com>.
9877 * elf/Makefile: Add rules to build and tst-unique3.
9878 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9879 * elf/tst-unique3.cc: New file.
9880 * elf/tst-unique3.h: New file.
9881 * elf/tst-unique3lib.cc: New file.
9882 * elf/tst-unique3lib2.cc: New file.
9883
9884 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9885
9886 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9887
9888 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9889 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9890 to _start.
9891
9892 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9893
9894 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9895 to-be-loaded object along a path to loader is ld.so.
9896
9897 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9898 Ulrich Drepper <drepper@gmail.com>
9899
9900 * sysdeps/x86_64/memset.S: After aligning destination, code
9901 branches to different locations depending on the value of
9902 misalignment, when multiarch is enabled. Fix this.
9903
9904 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9905
9906 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9907 Set _x86_64_preferred_memory_instruction for AMD processsors.
9908 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9909 Set bit_Prefer_SSE_for_memop for AMD processors.
9910
9911 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9912
9913 * libio/fmemopen.c (fmemopen): Optimize a bit.
9914
9915 2011-03-03 Andreas Schwab <schwab@redhat.com>
9916
9917 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9918
9919 2011-03-03 Roland McGrath <roland@redhat.com>
9920
9921 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9922
9923 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9924
9925 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9926 __bzero_ultra1 instead of __memset_ultra1.
9927
9928 2011-02-23 Andreas Schwab <schwab@redhat.com>
9929 Ulrich Drepper <drepper@gmail.com>
9930
9931 [BZ #12509]
9932 * include/link.h (struct link_map): Add l_orig_initfini.
9933 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9934 returning unsuccessfully.
9935 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9936 close of a file loaded at startup, restore the original l_initfini
9937 list.
9938 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9939 list, store the pointer.
9940 * elf/Makefile ($(objpfx)noload-mem): New rule.
9941 (noload-ENV): Define.
9942 (tests): Add $(objpfx)noload-mem.
9943 * elf/noload.c: Include <memcheck.h>.
9944 (main): Call mtrace. Close all opened handles.
9945
9946 2011-02-17 Andreas Schwab <schwab@redhat.com>
9947
9948 [BZ #12454]
9949 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9950 dependencies are missing.
9951
9952 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9953
9954 Fix __if_freereq crash: Unlike the generic version which uses free,
9955 Hurd needs munmap.
9956 * sysdeps/mach/hurd/ifreq.h: New file.
9957
9958 2011-01-27 Petr Baudis <pasky@suse.cz>
9959 Ulrich Drepper <drepper@gmail.com>
9960
9961 [BZ 12445]#
9962 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9963 to extend_alloca().
9964 * stdio-common/bug23.c: New file.
9965 * stdio-common/Makefile (tests): Add bug23.
9966
9967 2010-09-28 Andreas Schwab <schwab@redhat.com>
9968 Ulrich Drepper <drepper@gmail.com>
9969
9970 [BZ #12489]
9971 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9972 before performing relro protection. At old place add assertion
9973 to make sure nothing changed.
9974
9975 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9976 Glauber de Oliveira Costa <glommer@gmail.com>
9977
9978 * elf/elf.h: Add new ARM TLS relocs.
9979
9980 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9981
9982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9983 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9984 cast from r3.
9985 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9986 'tests' variable.
9987 * sysdeps/wordsize-64/tst-writev.c: New file.
9988
9989 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9990
9991 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9992 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9993 insns in _dl_start to prevent a TOC reference before relocs are
9994 resolved.
9995
9996 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9997
9998 [BZ #12469]
9999 * Makeconfig: Remove RANLIB definition.
10000 * Makerules: Don't use RANLIB.
10001 * aclocal.m4: Remove ranlib test.
10002 * configure.in: No need to check for ranlib.
10003 * elf/rtld-Rules: Don't use RANLIB.
10004
10005 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
10006
10007 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
10008 protection macro.
10009 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
10010 inclusion protection macro.
10011
10012 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
10013 SIGRTMIN and SIGRTMAX and print information in that case only when
10014 SIGRTMIN is defined.
10015
10016 2011-02-11 Jakub Jelinek <jakub@redhat.com>
10017
10018 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
10019 arginfo fn returning -1.
10020
10021 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
10022 and thousands string is zero terminated.
10023
10024 2011-02-03 Andreas Schwab <schwab@redhat.com>
10025
10026 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
10027 sysdeps/unix/sysv/linux/bits/socket.h.
10028
10029 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10030
10031 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
10032 (__CPU_COUNT): Remove old macros.
10033 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
10034 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
10035 (__CPU_ALLOC, __CPU_FREE): Add macros.
10036 (__sched_cpualloc, __sched_cpufree): Add declarations.
10037
10038 2011-02-05 Ulrich Drepper <drepper@gmail.com>
10039
10040 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
10041 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
10042 * nscd/aicache.c (addhstaiX): Return timeout of added value.
10043 (readdhstai): Return value of addhstaiX call.
10044 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
10045 (addgrbyX): Return value returned by cache_addgr.
10046 (readdgrbyname): Return value returned by addgrbyX.
10047 (readdgrbygid): Likewise.
10048 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
10049 (addpwbyX): Return value returned by cache_addpw.
10050 (readdpwbyname): Return value returned by addhstbyX.
10051 (readdpwbyuid): Likewise.
10052 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
10053 (addservbyX): Return value returned by cache_addserv.
10054 (readdservbyname): Return value returned by addservbyX:
10055 (readdservbyport): Likewise.
10056 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
10057 (addhstbyX): Return value returned by cache_addhst.
10058 (readdhstbyname): Return value returned by addhstbyX.
10059 (readdhstbyaddr): Likewise.
10060 (readdhstbynamev6): Likewise.
10061 (readdhstbyaddrv6): Likewise.
10062 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
10063 (readdinitgroups): Return value returned by addinitgroupsX.
10064 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
10065 (prune_cache): Keep track of timeout value of re-added entries.
10066 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
10067 * nscd/nscd.h: Adjust prototypes of readd* functions.
10068
10069 2011-02-04 Roland McGrath <roland@redhat.com>
10070
10071 * nis/nis_server.c (nis_servstate): Use the right name for 0.
10072 (nis_stats): Likewise.
10073 * nis/nis_modify.c (nis_modify): Likewise.
10074 * nis/nis_remove.c (nis_remove): Likewise.
10075 * nis/nis_add.c (nis_add): Likewise.
10076
10077 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
10078
10079 * posix/fnmatch_loop.c: Add some consts.
10080
10081 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
10082
10083 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
10084
10085 [BZ #12460]
10086 * config.make.in (config-cflags-novzeroupper): Define.
10087 * configure.in: Substitute libc_cv_cc_novzeroupper.
10088 * elf/Makefile (AVX-CFLAGS): Define.
10089 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
10090 (CFLAGS-tst-auditmod4a.c): Likewise.
10091 (CFLAGS-tst-auditmod4b.c): Likewise.
10092 (CFLAGS-tst-auditmod6b.c): Likewise.
10093 (CFLAGS-tst-auditmod6c.c): Likewise.
10094 (CFLAGS-tst-auditmod7b.c): Likewise.
10095 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
10096
10097 2011-02-02 Ulrich Drepper <drepper@gmail.com>
10098
10099 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
10100 function to the callback.
10101 Patch partly by Jiri Olsa <jolsa@redhat.com>.
10102
10103 2011-02-02 Andreas Schwab <schwab@redhat.com>
10104
10105 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
10106 of errno.
10107
10108 2011-01-19 Ulrich Drepper <drepper@gmail.com>
10109
10110 [BZ #11724]
10111 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
10112 of constructors.
10113 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
10114 of destructors.
10115 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
10116
10117 [BZ #11724]
10118 * elf/Makefile: Add rules to build and run new test.
10119 * elf/tst-initorder.c: New file.
10120 * elf/tst-initorder.exp: New file.
10121 * elf/tst-initordera1.c: New file.
10122 * elf/tst-initordera2.c: New file.
10123 * elf/tst-initordera3.c: New file.
10124 * elf/tst-initordera4.c: New file.
10125 * elf/tst-initorderb1.c: New file.
10126 * elf/tst-initorderb2.c: New file.
10127 * elf/tst-order-a1.c: New file.
10128 * elf/tst-order-a2.c: New file.
10129 * elf/tst-order-a3.c: New file.
10130 * elf/tst-order-a4.c: New file.
10131 * elf/tst-order-b1.c: New file.
10132 * elf/tst-order-b2.c: New file.
10133 * elf/tst-order-main.c: New file.
10134 New test case by George Gensure <werkt0@gmail.com>.
10135
10136 2010-10-01 Andreas Schwab <schwab@redhat.com>
10137
10138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10139 decoding ACE if AI_CANONIDN.
10140
10141 2011-01-18 Ulrich Drepper <drepper@gmail.com>
10142
10143 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10144
10145 2011-01-17 Ulrich Drepper <drepper@gmail.com>
10146
10147 * version.h (RELEASE): Bump for 2.13 release.
10148 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10149
10150 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10151
10152 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10153 MADV_NOHUGEPAGE.
10154 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10155 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10156 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10157 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10158 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10159 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10160
10161 * posix/getconf.c: Update copyright year.
10162 * catgets/gencat.c: Likewise.
10163 * csu/version.c: Likewise.
10164 * debug/catchsegv.sh: Likewise.
10165 * debug/xtrace.sh: Likewise.
10166 * elf/ldconfig.c: Likewise.
10167 * elf/ldd.bash.in: Likewise.
10168 * elf/sprof.c (print_version): Likewise.
10169 * iconv/iconv_prog.c: Likewise.
10170 * iconv/iconvconfig.c: Likewise.
10171 * locale/programs/locale.c: Likewise.
10172 * locale/programs/localedef.c: Likewise.
10173 * malloc/memusage.sh: Likewise.
10174 * malloc/mtrace.pl: Likewise.
10175 * nscd/nscd.c (print_version): Likewise.
10176 * nss/getent.c: Likewise.
10177
10178 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10179 PF_CAIF, and PF_ALG.
10180 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10181
10182 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10183
10184 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10185 (modules-names): Use them.
10186 (ifunc-test-modules, ifunc-pie-tests): Define.
10187 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10188 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10189 (test-extras): Likewise.
10190 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10191 $(compile-command.c).
10192 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10193 (all-built-dso): Define.
10194 (check-textrel.out, check-execstack.out): Depend on it.
10195
10196 * configure.in: Don't override --enable-multi-arch.
10197
10198 2011-01-15 Ulrich Drepper <drepper@gmail.com>
10199
10200 [BZ #6812]
10201 * nscd/hstcache.c (tryagain): Define.
10202 (cache_addhst): Return tryagain not notfound for temporary errors.
10203 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10204 failed.
10205
10206 2011-01-14 Ulrich Drepper <drepper@gmail.com>
10207
10208 [BZ #10563]
10209 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10210 to make the syscall.
10211 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10212
10213 [BZ #12378]
10214 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10215 and fall back to matching as normal character if the string ends before
10216 the matching ']' is found. This is what POSIX requires.
10217 * posix/testfnm.c: Adjust test result.
10218 * posix/globtest.sh: Adjust test result. Add new test.
10219 * posix/tst-fnmatch.input: Likewise.
10220 * posix/tst-fnmatch2.c: Add new test.
10221
10222 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10223
10224 * elf/Makefile (check-execstack): Revert last change. Depend on
10225 check-execstack.h.
10226 (check-execstack.h): New target.
10227 (generated): Add check-execstack.h.
10228 * elf/check-execstack.c: Include "check-execstack.h".
10229 (main): Revert last change.
10230 (handle_file): Return zero if GNU_STACK is absent and
10231 DEFAULT_STACK_PERMS doesn't include PF_X.
10232
10233 2011-01-13 Ulrich Drepper <drepper@gmail.com>
10234
10235 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10236 in child fails because the descriptor is already closed.
10237 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10238 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10239 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10240
10241 [BZ #12397]
10242 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10243 syscall.
10244
10245 [BZ #10484]
10246 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10247 temporary buffer used to handle multi lookups locally.
10248 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10249
10250 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10251
10252 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10253 loader is ld.so.
10254
10255 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10256
10257 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10258 alignment for SSE2.
10259
10260 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10261
10262 [BZ #12394]
10263 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10264 characters. When rounding increased number of integer digits recompute
10265 number of groups.
10266 * stdio-common/tst-grouping.c: New file.
10267 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10268
10269 2011-01-09 Ulrich Drepper <drepper@gmail.com>
10270
10271 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10272 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10273
10274 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10275 void.
10276 * bits/select.h: Likewise.
10277
10278 2011-01-08 Ulrich Drepper <drepper@gmail.com>
10279
10280 * po/ja.po: Update from translation team.
10281
10282 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
10283
10284 [BZ #11155]
10285 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10286 implementation just like for lxstat, fxstatat, et al.
10287
10288 2010-12-27 Jim Meyering <meyering@redhat.com>
10289
10290 [BZ #12348]
10291 * posix/regexec.c (build_trtable): Return failure indication upon
10292 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10293
10294 2010-12-25 Ulrich Drepper <drepper@gmail.com>
10295
10296 [BZ #12201]
10297 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10298 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10299 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10300 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10301
10302 [BZ #12207]
10303 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10304
10305 [BZ #12204]
10306 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10307 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10308
10309 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10310
10311 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10312 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10313 script has SORT_BY_INIT_PRIORITY.
10314 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10315 NO_CTORS_DTORS_SECTIONS is defined.
10316 * elf/soinit.c: Likewise.
10317 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10318 NO_CTORS_DTORS_SECTIONS is defined.
10319 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10320 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10321 * sysdeps/sh/init-first.c: Likewise.
10322 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10323
10324 2010-12-24 Ulrich Drepper <drepper@gmail.com>
10325
10326 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10327 always use the slow path.
10328
10329 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10330
10331 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10332 similar rule which adds the sysdep directories to the header search in
10333 order to pick up the correct platform stackinfo.h.
10334 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10335 perform test if it is, otherwise return successfully without testing.
10336 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10337 DEFAULT_STACK_PERMS define in stackinfo.h.
10338 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10339 defined in stackinfo.h.
10340 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10341 DEFAULT_STACK_PERMS defined in stackinfo.h.
10342 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10343 * sysdeps/ia64/stackinfo.h: Likewise.
10344 * sysdeps/s390/stackinfo.h: Likewise.
10345 * sysdeps/sh/stackinfo.h: Likewise.
10346 * sysdeps/sparc/stackinfo.h: Likewise.
10347 * sysdeps/x86_64/stackinfo.h: Likewise.
10348 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10349 PF_X for powerpc64. Retain PF_X for powerpc32.
10350
10351 2010-12-19 Ulrich Drepper <drepper@gmail.com>
10352
10353 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10354 accurately.
10355 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10356 GETDENTS_64BIT_ALIGNED.
10357
10358 2010-12-14 Ulrich Drepper <dreper@gmail.com>
10359
10360 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10361
10362 2010-12-10 Andreas Schwab <schwab@redhat.com>
10363
10364 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10365 _GNU_SOURCE.
10366
10367 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10368 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10369 Remove __restrict.
10370 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10371 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10372
10373 2010-12-09 Ulrich Drepper <drepper@gmail.com>
10374
10375 [BZ #11655]
10376 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10377 are initialized.
10378
10379 2010-12-09 Jakub Jelinek <jakub@redhat.com>
10380
10381 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10382
10383 2010-12-03 Ulrich Drepper <drepper@gmail.com>
10384
10385 * po/it.po: Update from translation team.
10386
10387 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10388
10389 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10390 unused codes.
10391
10392 2010-11-30 Ulrich Drepper <drepper@gmail.com>
10393
10394 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10395
10396 2010-11-24 Andreas Schwab <schwab@redhat.com>
10397
10398 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10399 specially.
10400 (gaih_getanswer_slice): Likewise.
10401
10402 2010-10-20 Jakub Jelinek <jakub@redhat.com>
10403
10404 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10405
10406 2010-05-31 Petr Baudis <pasky@suse.cz>
10407
10408 [BZ #11149]
10409 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10410 silently even in the chroot mode.
10411
10412 2010-11-22 Ulrich Drepper <drepper@gmail.com>
10413
10414 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10415 last patch a bit. Pretty printing
10416
10417 2010-05-31 Petr Baudis <pasky@suse.cz>
10418
10419 [BZ #10085]
10420 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10421 initialization of skip_initgroups_dyn.
10422
10423 2010-11-19 Ulrich Drepper <drepper@gmail.com>
10424
10425 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10426 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10427
10428 2010-11-16 Ulrich Drepper <drepper@gmail.com>
10429
10430 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10431
10432 2010-11-11 Andreas Schwab <schwab@redhat.com>
10433
10434 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10435 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10436 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10437 ($(objpfx)tst-fnmatch-mem): New rule.
10438 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10439 * posix/tst-fnmatch.c (main): Call mtrace.
10440
10441 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10442
10443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10444 Support Intel processor model 6 and model 0x2c.
10445
10446 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
10447
10448 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10449 signed comparison.
10450
10451 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10452
10453 [BZ #12205]
10454 * string/test-strncasecmp.c (check_result): New function.
10455 (do_one_test): Use it.
10456 (check1): New function.
10457 (test_main): Use it.
10458 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10459 Support strcasecmp and strncasecmp.
10460
10461 2010-11-08 Ulrich Drepper <drepper@gmail.com>
10462
10463 [BZ #12194]
10464 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10465 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10466
10467 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10468
10469 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10470 IFUNC support.
10471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10472 memset-x86-64.
10473 * sysdeps/x86_64/multiarch/bzero.S: New file.
10474 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10475 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10476 * sysdeps/x86_64/multiarch/memset.S: New file.
10477 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10478 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10479 Set bit_Prefer_SSE_for_memop for Intel processors.
10480 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10481 Define.
10482 (index_Prefer_SSE_for_memop): Define.
10483 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10484
10485 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
10486
10487 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10488 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10489
10490 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10491
10492 [BZ #12191]
10493 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10494 (__x86_64_raw_data_cache_size_half): Likewise.
10495 (__x86_64_raw_shared_cache_size): Likewise.
10496 (__x86_64_raw_shared_cache_size_half): Likewise.
10497
10498 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10499 (__x86_64_raw_data_cache_size_half): Likewise.
10500 (__x86_64_raw_shared_cache_size): Likewise.
10501 (__x86_64_raw_shared_cache_size_half): Likewise.
10502 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10503 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10504 and __x86_64_raw_shared_cache_size_half. Round
10505 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10506 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10507 to multiple of 256 bytes.
10508
10509 2010-11-03 Ulrich Drepper <drepper@gmail.com>
10510
10511 [BZ #12167]
10512 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10513 of inacessible symlinks. Verify result of symlink before returning it.
10514 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10515 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10516
10517 2010-10-28 Erich Ritz <erichritz@gmail.com>
10518
10519 * math/math.h (isinf): Fix typo in comment.
10520
10521 2010-11-01 Ulrich Drepper <drepper@gmail.com>
10522
10523 * po/da.po: Update from translation team.
10524
10525 2010-10-26 Ulrich Drepper <drepper@gmail.com>
10526
10527 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10528 is added to the list.
10529
10530 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10531 Ulrich Drepper <drepper@gmail.com>
10532
10533 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10534 the global list here. Move code to...
10535 (_dl_add_to_namespace_list): ...here. New function.
10536 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10537 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10538 * elf/dl-load.c (lose): Don't remove the element from the list.
10539 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10540 (_dl_map_object): Likewise.
10541
10542 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10543
10544 [BZ #12159]
10545 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10546 into all bytes of SSE register.
10547 Patch by Richard Li <richardpku@gmail.com>.
10548
10549 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10550
10551 [BZ #12140]
10552 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10553 perturbing.
10554
10555 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10556
10557 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10558 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10559 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10560 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10562 submachine.
10563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10564
10565 2010-10-22 Andreas Schwab <schwab@redhat.com>
10566
10567 * include/dlfcn.h (__RTLD_SECURE): Define.
10568 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10569 mode & __RTLD_SECURE instead.
10570 (open_path): Rename preloaded parameter to secure.
10571 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10572 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10573 * elf/dl-deps.c (openaux): Likewise.
10574 * elf/rtld.c (struct map_args): Remove is_preloaded.
10575 (map_doit): Don't use it.
10576 (dl_main): Likewise.
10577 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10578 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10579
10580 2010-09-09 Andreas Schwab <schwab@redhat.com>
10581
10582 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10583 (sysd-rules-targets): Remove duplicates.
10584 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10585 rtld-%.$o dependency.
10586
10587 2010-10-18 Andreas Schwab <schwab@redhat.com>
10588
10589 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10590 _dl_map_object do it.
10591
10592 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10593
10594 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10595 fast fma builtins, define the macros in the C99 standard.
10596 (FP_FAST_FMAF): Likewise.
10597 (FP_FAST_FMAL): Likewise.
10598 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10599
10600 * bits/mathdef.h: Update copyright year.
10601 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10602
10603 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10604
10605 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10606 builtins, define the macros in the C99 standard.
10607 (FP_FAST_FMAF): Likewise.
10608 (FP_FAST_FMAL): Likewise.
10609 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10610 multiply/add.
10611 (FP_FAST_FMAF): Likewise.
10612
10613 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10614
10615 [BZ #3268]
10616 * math/libm-test.inc (fma_test): Some new testcases.
10617 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10618 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10619 y and infinite z. Do multiplication by C already in long double.
10620 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10621 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10622 y and infinite z. Do bitwise or of inexact bit into u.d.
10623 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10624 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10625 * sysdeps/i386/fpu/s_fma.S: Removed.
10626 * sysdeps/i386/fpu/s_fmal.S: Removed.
10627
10628 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10629
10630 [BZ #3268]
10631 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10632 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10633 computation is not scheduled after fetestexcept. Fix value
10634 of minimum denormal long double.
10635
10636 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10637
10638 [BZ #3268]
10639 * math/libm-test.inc (fma_test): Add some more tests.
10640 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10641 correctly.
10642
10643 2010-10-15 Andreas Schwab <schwab@redhat.com>
10644
10645 * scripts/data/localplt-s390-linux-gnu.data: New file.
10646 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10647
10648 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10649
10650 [BZ #3268]
10651 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10652 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10653 instead of dbl-64.
10654 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10655 inlines.
10656 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10657 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10658 if one of x and y is very large and the other is subnormal.
10659 * sysdeps/s390/fpu/s_fmaf.c: New file.
10660 * sysdeps/s390/fpu/s_fma.c: New file.
10661 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10662 * sysdeps/powerpc/fpu/s_fma.S: New file.
10663 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10664 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10665 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10666
10667 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10668
10669 [BZ #3268]
10670 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10671 fma tests.
10672 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10673 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10674 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10675 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10676 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10677 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10678 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10679
10680 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10681
10682 [BZ #12078]
10683 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10684 * posix/bug-regex31.input: Add test case.
10685
10686 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10687
10688 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10689 * posix/bug-regex31.input: New file.
10690
10691 [BZ #12078]
10692 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10693 (parse_sub_exp): Fix last change, use postorder.
10694
10695 * posix/bug-regex31.c: New file.
10696 * posix/Makefile: Add rules to build and run bug-regex31.
10697
10698 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10699
10700 [BZ #12078]
10701 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10702
10703 [BZ #12108]
10704 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10705 to have entries in sys_siglist.
10706
10707 [BZ #12093]
10708 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10709 be NULL.
10710
10711 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10712
10713 [BZ #3268]
10714 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10715 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10716 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10717 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10718 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10719 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10720 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10721 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10722 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10723 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10724 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10725 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10726 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10727 * math/ftestexcept.c (fetestexcept): Likewise.
10728 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10729 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10730 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10731 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10732 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10733 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10734 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10735
10736 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10737
10738 [BZ #12107]
10739 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10740 newline.
10741
10742 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10743
10744 * string/bug-strstr1.c: New file.
10745 * string/Makefile: Add rules to build and run bug-strstr1.
10746
10747 2010-10-05 Eric Blake <eblake@redhat.com>
10748
10749 [BZ #12092]
10750 * string/str-two-way.h (two_way_long_needle): Always clear memory
10751 when skipping input due to the shift table.
10752
10753 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10754
10755 [BZ #12005]
10756 * malloc/mcheck.c: Handle large requests.
10757
10758 [BZ #12077]
10759 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10760 for strncmp and strncasecmp.
10761 * string/stratcliff.c: Add tests for strcmp and strncmp.
10762 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10763
10764 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10765
10766 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10767 __set_fpscr.
10768
10769 2010-09-30 Andreas Jaeger <aj@suse.de>
10770
10771 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10772 (CGROUP_SUPER_MAGIC): Define.
10773 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10774 Handle btrfs and cgroup file systems.
10775 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10776 Likewise.
10777
10778 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10779
10780 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10781 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10782
10783 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10784
10785 [BZ #12067]
10786 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10787 trying to locate the ELF header.
10788
10789 2010-09-27 Andreas Schwab <schwab@redhat.com>
10790
10791 [BZ #11611]
10792 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10793 Mask out sign-bit copies when constructing f_fsid.
10794
10795 2010-09-24 Petr Baudis <pasky@suse.cz>
10796
10797 * debug/stack_chk_fail_local.c: Add missing licence exception.
10798 * debug/warning-nop.c: Likewise.
10799
10800 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10801
10802 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10803 implementing getdents64 using getdents syscall, set d_type if
10804 __ASSUME_GETDENTS32_D_TYPE.
10805
10806 2010-09-16 Andreas Schwab <schwab@redhat.com>
10807
10808 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10809 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10810
10811 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10812
10813 [BZ #12037]
10814 * posix/unistd.h: Undo change of feature selection for ftruncate from
10815 2010-01-11.
10816
10817 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10818
10819 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10820 detection.
10821
10822 2010-09-20 Andreas Schwab <schwab@redhat.com>
10823
10824 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10825 fanotify_mark.
10826 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10827
10828 2010-09-14 Andreas Schwab <schwab@redhat.com>
10829
10830 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10831 variables after CHECK_SP call.
10832 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10833
10834 2010-09-13 Andreas Schwab <schwab@redhat.com>
10835 Ulrich Drepper <drepper@redhat.com>
10836
10837 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10838 re-relocationg ld.so.
10839 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10840 _dl_init_paths call.
10841 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10842 here anymore.
10843
10844 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10845
10846 * resolv/res_init.c (__res_vinit): Count the default server we added.
10847
10848 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10849 Ulrich Drepper <drepper@redhat.com>
10850
10851 [BZ #11968]
10852 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10853 (____longjmp_chk): Use %ebx for saving value across system call.
10854 Add unwind info.
10855
10856 2010-09-06 Andreas Schwab <schwab@redhat.com>
10857
10858 * manual/Makefile: Don't mix pattern rules with normal rules.
10859
10860 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10861
10862 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10863 operation.
10864 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10865 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10866 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10867 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10868 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10869 Likewise.
10870
10871 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10872
10873 [BZ #11979]
10874 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10875 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10876
10877 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10878
10879 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10880 * sysdeps/x86_64/addmul_1.S: Likewise.
10881 * sysdeps/x86_64/lshift.S: Likewise.
10882 * sysdeps/x86_64/mul_1.S: Likewise.
10883 * sysdeps/x86_64/rshift.S: Likewise.
10884 * sysdeps/x86_64/sub_n.S: Likewise.
10885 * sysdeps/x86_64/submul_1.S: Likewise.
10886
10887 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10888
10889 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10890 Define __sched_param instead of SCHED_* and sched_param when
10891 <bits/sched.h> is included with __need_schedparam defined.
10892 * bits/sched.h [__need_schedparam]
10893 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10894 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10895 (__defined_schedparam): Define to 1.
10896 (__sched_param): New structure, identical to sched_param.
10897 (__need_schedparam): Undefine.
10898
10899 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10900
10901 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10902 (epoll_create1): Declare.
10903
10904 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10905
10906 2010-08-31 Andreas Schwab <schwab@redhat.com>
10907
10908 [BZ #7066]
10909 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10910 shifting retval into place.
10911
10912 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10913
10914 * nis/rpcsvc/nis.h: Update copyright notice.
10915 * nis/rpcsvc/nis.x: Likewise.
10916 * nis/rpcsvc/nis_callback.h: Likewise.
10917 * nis/rpcsvc/nis_callback.x: Likewise.
10918 * nis/rpcsvc/nis_object.x: Likewise.
10919 * nis/rpcsvc/nis_tags.h: Likewise.
10920 * nis/rpcsvc/yp.h: Likewise.
10921 * nis/rpcsvc/yp.x: Likewise.
10922 * nis/rpcsvc/ypupd.h: Likewise.
10923 * nis/yp_xdr.c: Likewise.
10924 * nis/ypupdate_xdr.c: Likewise.
10925
10926 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10927 mainly the body of pmap_getport. Add parameters to specify timeouts.
10928 (pmap_getport): Use __libc_rpc_getport.
10929 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10930 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10931 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10932
10933 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10934
10935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10936 fanotify_mark.
10937
10938 2010-08-27 Roland McGrath <roland@redhat.com>
10939
10940 * sysdeps/i386/i686/multiarch/Makefile
10941 (CFLAGS-varshift.c): New variable.
10942
10943 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10944
10945 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10946 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10947
10948 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10949
10950 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10951
10952 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10953
10954 * sysdeps/x86_64/strlen.S: Unroll the loop.
10955 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10956 strlen-sse2 strlen-sse2-bsf.
10957 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10958 __strlen_no_bsf if bit_Slow_BSF is set.
10959 (__strlen_sse42): Removed.
10960 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10961 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10962
10963 2010-08-25 Roland McGrath <roland@redhat.com>
10964
10965 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10966 * sysdeps/x86_64/multiarch/varshift.c: New file.
10967 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10968 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10969 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10970 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10971
10972 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10973
10974 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10975 strlen-sse2 strlen-sse2-bsf.
10976 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10977 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10978 (__strlen_sse2): Removed.
10979 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10980 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10981 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10982 bit_Slow_BSF for Atom.
10983 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10984 (index_Slow_BSF): Define.
10985 (HAS_SLOW_BSF): Define.
10986
10987 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10988
10989 [BZ #10851]
10990 * resolv/res_init.c (__res_vinit): When no server address at all
10991 is given default to loopback.
10992
10993 2010-08-24 Roland McGrath <roland@redhat.com>
10994
10995 * configure.in: Remove config-name.h generation.
10996 * configure: Regenerated.
10997 * config-name.in: File removed.
10998 * scripts/config-uname.sh: New file.
10999 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
11000 ($(objdir)config-name.h): New target.
11001
11002 * sunrpc/rpc_parse.h: Avoid nested comment.
11003
11004 2010-08-24 Richard Henderson <rth@redhat.com>
11005 Ulrich Drepper <drepper@redhat.com>
11006 H.J. Lu <hongjiu.lu@intel.com>
11007
11008 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
11009 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
11010 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
11011 Replace _mm_srli_si128 with __m128i_shift_right. Replace
11012 _mm_alignr_epi8 with _mm_loadu_si128.
11013 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
11014 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
11015 (__m128i_shift_right): Removed.
11016 * sysdeps/i386/i686/multiarch/varshift.h: New file.
11017 * sysdeps/i386/i686/multiarch/varshift.S: New file.
11018 * sysdeps/x86_64/multiarch/varshift.h: New file.
11019 * sysdeps/x86_64/multiarch/varshift.S: New file.
11020
11021 2010-08-21 Mike Frysinger <vapier@gentoo.org>
11022
11023 * configure.in: Move assembler checks to before sysdep dir checking.
11024
11025 2010-08-20 Petr Baudis <pasky@suse.cz>
11026
11027 * LICENSES: Sync the sunrpc license.
11028
11029 2010-08-19 Ulrich Drepper <drepper@redhat.com>
11030
11031 * sunrpc/auth_des.c: Update copyright notice once again.
11032 * sunrpc/auth_none.c: Likewise.
11033 * sunrpc/auth_unix.c: Likewise.
11034 * sunrpc/authdes_prot.c: Likewise.
11035 * sunrpc/authuxprot.c: Likewise.
11036 * sunrpc/bindrsvprt.c: Likewise.
11037 * sunrpc/clnt_gen.c: Likewise.
11038 * sunrpc/clnt_perr.c: Likewise.
11039 * sunrpc/clnt_raw.c: Likewise.
11040 * sunrpc/clnt_simp.c: Likewise.
11041 * sunrpc/clnt_tcp.c: Likewise.
11042 * sunrpc/clnt_udp.c: Likewise.
11043 * sunrpc/clnt_unix.c: Likewise.
11044 * sunrpc/des_crypt.c: Likewise.
11045 * sunrpc/des_soft.c: Likewise.
11046 * sunrpc/get_myaddr.c: Likewise.
11047 * sunrpc/getrpcport.c: Likewise.
11048 * sunrpc/key_call.c: Likewise.
11049 * sunrpc/key_prot.c: Likewise.
11050 * sunrpc/openchild.c: Likewise.
11051 * sunrpc/pm_getmaps.c: Likewise.
11052 * sunrpc/pm_getport.c: Likewise.
11053 * sunrpc/pmap_clnt.c: Likewise.
11054 * sunrpc/pmap_prot.c: Likewise.
11055 * sunrpc/pmap_prot2.c: Likewise.
11056 * sunrpc/pmap_rmt.c: Likewise.
11057 * sunrpc/rpc/auth.h: Likewise.
11058 * sunrpc/rpc/auth_unix.h: Likewise.
11059 * sunrpc/rpc/clnt.h: Likewise.
11060 * sunrpc/rpc/des_crypt.h: Likewise.
11061 * sunrpc/rpc/key_prot.h: Likewise.
11062 * sunrpc/rpc/netdb.h: Likewise.
11063 * sunrpc/rpc/pmap_clnt.h: Likewise.
11064 * sunrpc/rpc/pmap_prot.h: Likewise.
11065 * sunrpc/rpc/pmap_rmt.h: Likewise.
11066 * sunrpc/rpc/rpc.h: Likewise.
11067 * sunrpc/rpc/rpc_des.h: Likewise.
11068 * sunrpc/rpc/rpc_msg.h: Likewise.
11069 * sunrpc/rpc/svc.h: Likewise.
11070 * sunrpc/rpc/svc_auth.h: Likewise.
11071 * sunrpc/rpc/types.h: Likewise.
11072 * sunrpc/rpc/xdr.h: Likewise.
11073 * sunrpc/rpc_clntout.c: Likewise.
11074 * sunrpc/rpc_cmsg.c: Likewise.
11075 * sunrpc/rpc_common.c: Likewise.
11076 * sunrpc/rpc_cout.c: Likewise.
11077 * sunrpc/rpc_dtable.c: Likewise.
11078 * sunrpc/rpc_hout.c: Likewise.
11079 * sunrpc/rpc_main.c: Likewise.
11080 * sunrpc/rpc_parse.c: Likewise.
11081 * sunrpc/rpc_parse.h: Likewise.
11082 * sunrpc/rpc_prot.c: Likewise.
11083 * sunrpc/rpc_sample.c: Likewise.
11084 * sunrpc/rpc_scan.c: Likewise.
11085 * sunrpc/rpc_scan.h: Likewise.
11086 * sunrpc/rpc_svcout.c: Likewise.
11087 * sunrpc/rpc_tblout.c: Likewise.
11088 * sunrpc/rpc_util.c: Likewise.
11089 * sunrpc/rpc_util.h: Likewise.
11090 * sunrpc/rpcinfo.c: Likewise.
11091 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
11092 * sunrpc/rpcsvc/key_prot.x: Likewise.
11093 * sunrpc/rpcsvc/klm_prot.x: Likewise.
11094 * sunrpc/rpcsvc/mount.x: Likewise.
11095 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
11096 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
11097 * sunrpc/rpcsvc/rex.x: Likewise.
11098 * sunrpc/rpcsvc/rstat.x: Likewise.
11099 * sunrpc/rpcsvc/rusers.x: Likewise.
11100 * sunrpc/rpcsvc/sm_inter.x: Likewise.
11101 * sunrpc/rpcsvc/spray.x: Likewise.
11102 * sunrpc/rpcsvc/yppasswd.x: Likewise.
11103 * sunrpc/rtime.c: Likewise.
11104 * sunrpc/svc.c: Likewise.
11105 * sunrpc/svc_auth.c: Likewise.
11106 * sunrpc/svc_authux.c: Likewise.
11107 * sunrpc/svc_raw.c: Likewise.
11108 * sunrpc/svc_run.c: Likewise.
11109 * sunrpc/svc_simple.c: Likewise.
11110 * sunrpc/svc_tcp.c: Likewise.
11111 * sunrpc/svc_udp.c: Likewise.
11112 * sunrpc/svc_unix.c: Likewise.
11113 * sunrpc/svcauth_des.c: Likewise.
11114 * sunrpc/xcrypt.c: Likewise.
11115 * sunrpc/xdr.c: Likewise.
11116 * sunrpc/xdr_array.c: Likewise.
11117 * sunrpc/xdr_float.c: Likewise.
11118 * sunrpc/xdr_mem.c: Likewise.
11119 * sunrpc/xdr_rec.c: Likewise.
11120 * sunrpc/xdr_ref.c: Likewise.
11121 * sunrpc/xdr_sizeof.c: Likewise.
11122 * sunrpc/xdr_stdio.c: Likewise.
11123
11124 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
11125 handling.
11126
11127 2010-08-19 Andreas Schwab <schwab@redhat.com>
11128
11129 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11130
11131 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
11132
11133 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11134 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11135 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11136 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11137 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11138 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11139 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11140 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11141 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11142 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11143 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11144 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11145 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11146 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11147
11148 2010-07-26 Anton Blanchard <anton@samba.org>
11149
11150 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11151 * malloc/arena.c (heap_trim): Likewise.
11152
11153 2010-08-16 Ulrich Drepper <drepper@redhat.com>
11154
11155 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11156 here. Not...
11157 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11158 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11159
11160 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11161
11162 * sysdeps/i386/elf/Makefile: New file.
11163
11164 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11165
11166 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11167 from fanotify_init.
11168 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11169 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11170
11171 2010-08-15 Ulrich Drepper <drepper@redhat.com>
11172
11173 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11174 of strncasecmp_l.
11175 * sysdeps/multiarch/strcmp.S: Likewise.
11176
11177 2010-08-14 Ulrich Drepper <drepper@redhat.com>
11178
11179 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11180 strncase_l-nonascii.
11181 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11182 Add strncase_l-ssse3.
11183 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11184 * sysdeps/x86_64/strcmp.S: Likewise.
11185 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11186 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11187 * sysdeps/x86_64/strncase.S: New file.
11188 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11189 * sysdeps/x86_64/strncase_l.S: New file.
11190 * string/Makefile (strop-tests): Add strncasecmp.
11191 * string/test-strncasecmp.c: New file.
11192
11193 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11194 warning.
11195
11196 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11197 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11198
11199 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11200
11201 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11202
11203 2010-08-12 Ulrich Drepper <drepper@redhat.com>
11204
11205 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11206 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11207 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11208
11209 2010-05-01 Alan Modra <amodra@gmail.com>
11210
11211 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11212 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11213 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11214 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11215 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11216 tidying. Don't tail-call __sigjmp_save for static lib.
11217 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11218 save location.
11219 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11220 (CALL_MCOUNT): Add eh info, and nop after bl.
11221 (TAIL_CALL_SYSCALL_ERROR): New macro.
11222 (PSEUDO_RET): Use it.
11223 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11224 Correct save location of integer regs and cr.
11225 (_dl_profile_resolve): Correct cr save location. Delete nops
11226 after bl when SHARED. Reduce cfi size a little by better
11227 placement of cfi directives.
11228 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11229 make a stack frame. Instead use parm save area as a temp.
11230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11231 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11233 Don't make a stack frame for parent, use parm save area.
11234 Increase child stack frame to 112 bytes. Don't save unused reg,
11235 and adjust reg usage. Set up cfi on error recovery and
11236 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11238 (__makecontext): Add dummy nop after jump to exit.
11239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11240 Use correct parm save area and cr save, reduce stack frame.
11241 Correct cfi for possible PSEUDO_RET frame setup.
11242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11243 Branch to local label emitted by PSEUDO_RET rather than
11244 __syscall_error.
11245
11246 2010-08-12 Andreas Schwab <schwab@redhat.com>
11247
11248 [BZ #11904]
11249 * locale/programs/locale.c (print_assignment): New function.
11250 (show_locale_vars): Use it.
11251
11252 2010-08-11 Ulrich Drepper <drepper@redhat.com>
11253
11254 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11255 field.
11256 (struct statfs64): Likewise.
11257 (_STATFS_F_FLAGS): Define.
11258 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11259 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11260 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11261 (ST_VALID): Define locally.
11262 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11263 __statvfs_getflags, use the provided value.
11264 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11265 __ASSUME_STATFS_F_FLAGS.
11266
11267 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11268
11269 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11270 Add sys/fanotify.h.
11271 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11272 fanotify_mask for GLIBC_2.13.
11273 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11274 fanotify_init and fanotify_mark.
11275 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11276 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11277
11278 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11279 Add prlimit.
11280 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11281 prlimit64 for GLIBC_2.13.
11282 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11283 prlimit64.
11284 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11285 syscall.
11286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11287 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11288 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11289 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11290 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11291 add prlimit alias.
11292 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11293
11294 [BZ #11903]
11295 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11296 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11297
11298 * nss/Makefile: Add rules to build and run tst-nss-test1.
11299 * shlib-versions: Add entry for libnss_test1.
11300 * nss/nss_test1.c: New file.
11301 * nss/tst-nss-test1.c: New file.
11302
11303 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11304 (__nss_configure_lookup): Set appropriate entry in
11305 __nss_configure_lookup to true.
11306 * nss/nsswitch.h: Define enum with indeces of databases in
11307 databases and __nss_database_custom arrays. Declare
11308 __nss_database_custom.
11309 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11310 to avoid using nscd when custom rules are installed.
11311 * nss/getXXbyYY_r.c: Likewise.
11312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11313
11314 * nss/nss_files/files-parse.c: Whitespace fixes.
11315
11316 2010-08-09 Ulrich Drepper <drepper@redhat.com>
11317
11318 [BZ #11883]
11319 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11320 * posix/fnmatch_loop.c: Likewise.
11321
11322 2010-07-17 Andi Kleen <ak@linux.intel.com>
11323
11324 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11325 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11326 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11327 * Versions.def [GLIBC_2.13]: Add.
11328
11329 2010-08-06 Ulrich Drepper <drepper@redhat.com>
11330
11331 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11332 Also fail if tpwd after pwuid call is NULL.
11333
11334 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11335
11336 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11337 when converting to ms.
11338
11339 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11340
11341 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11342 EOPNOTSUPP errors with ENOTTY.
11343 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11344 EOPNOTSUPP errors with ENOTTY.
11345
11346 2010-07-31 Ulrich Drepper <drepper@redhat.com>
11347
11348 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11349 Add strcasecmp_l-ssse3.
11350 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11351 strcasecmp.
11352 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11353 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11354 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11355
11356 2010-07-30 Ulrich Drepper <drepper@redhat.com>
11357
11358 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11359
11360 * string/Makefile (strop-tests): Add strcasecmp.
11361 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11362 strcasecmp_l-nonascii.
11363 (gen-as-const-headers): Add locale-defines.sym.
11364 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11365 * sysdeps/x86_64/strcasecmp.S: New file.
11366 * sysdeps/x86_64/strcasecmp_l.S: New file.
11367 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11368 * sysdeps/x86_64/locale-defines.sym: New file.
11369 * string/test-strcasecmp.c: New file.
11370
11371 * string/test-strcasestr.c: Test both ends of the range of characters.
11372 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11373
11374 2010-07-29 Roland McGrath <roland@redhat.com>
11375
11376 [BZ #11856]
11377 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11378
11379 2010-07-27 Ulrich Drepper <drepper@redhat.com>
11380
11381 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11382 for ld.so.
11383
11384 2010-07-27 Andreas Schwab <schwab@redhat.com>
11385
11386 * manual/memory.texi (Malloc Tunable Parameters): Document
11387 M_PERTURB.
11388
11389 2010-07-26 Roland McGrath <roland@redhat.com>
11390
11391 [BZ #11840]
11392 * configure.in (-fgnu89-inline check): Set and substitute
11393 gnu89_inline, not libc_cv_gnu89_inline.
11394 * configure: Regenerated.
11395 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11396
11397 2010-07-26 Ulrich Drepper <drepper@redhat.com>
11398
11399 * string/test-strnlen.c: New file.
11400 * string/Makefile (strop-tests): Add strnlen.
11401 * string/tester.c (test_strnlen): Add a few more test cases.
11402 * string/tst-strlen.c: Better error reporting.
11403
11404 * sysdeps/x86_64/strnlen.S: New file.
11405
11406 2010-07-24 Ulrich Drepper <drepper@redhat.com>
11407
11408 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11409 lower-latency instructions.
11410
11411 2010-07-23 Ulrich Drepper <drepper@redhat.com>
11412
11413 * string/test-strcasestr.c: New file.
11414 * string/test-strstr.c: New file.
11415 * string/Makefile (strop-tests): Add strstr and strcasestr.
11416 * string/str-two-way.h: Don't undefine MAX.
11417 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11418
11419 2010-07-21 Andreas Schwab <schwab@redhat.com>
11420
11421 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11422 strcasestr-nonascii.
11423 (CFLAGS-strcasestr-nonascii.c): Define.
11424 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11425 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11426 Remove unused attribute.
11427
11428 2010-07-20 Roland McGrath <roland@redhat.com>
11429
11430 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11431 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11432 ld.so.cache was broken. With it, there is no way to disable dsocaps
11433 like LD_HWCAP_MASK can disable hwcaps.
11434
11435 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11436
11437 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11438
11439 2010-07-16 Ulrich Drepper <drepper@redhat.com>
11440
11441 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11442 call in strcasestr.
11443 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11444 __strcasestr_sse42_nonascii.
11445 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11446 strcasestr-nonascii.c.
11447 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11448
11449 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
11450
11451 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11452 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11453 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11454 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11455
11456 2010-07-09 Ulrich Drepper <drepper@redhat.com>
11457
11458 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11459 fcntl.
11460
11461 2010-07-06 Andreas Schwab <schwab@redhat.com>
11462
11463 [BZ #11577]
11464 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11465 dl_signal_cerror.
11466
11467 2010-07-06 Ulrich Drepper <drepper@redhat.com>
11468
11469 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11470 _PC_PIPE_BUF using F_GETPIPE_SZ.
11471
11472 2010-07-05 Roland McGrath <roland@redhat.com>
11473
11474 * manual/arith.texi (Rounding Functions): Fix rint description
11475 implicit in round description.
11476
11477 2010-07-02 Ulrich Drepper <drepper@redhat.com>
11478
11479 * elf/Makefile: Fix linking for a few tests to make recent linker
11480 happy.
11481
11482 2010-06-30 Andreas Schwab <schwab@redhat.com>
11483
11484 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11485 $(common-objpfx)libc_nonshared.a.
11486
11487 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
11488
11489 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11490 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11491 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11492 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11493 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11494 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11495 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11496 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11511 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11512 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11513 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11514 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11515 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11516 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11517 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11518 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11519 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11520 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11521 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11522 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11537
11538 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11539
11540 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11541 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11542 * string/memmove.c (memmove): Renamed to ...
11543 (MEMMOVE): ...this. Default to memmove.
11544 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11545 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11546 (END_CHK): Define.
11547 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11548 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11549 mempcpy-ssse3-back memmove-ssse3-back.
11550 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11551 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11552 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11553 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11554 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11555 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11556 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11557 * sysdeps/x86_64/multiarch/memmove.c: New file.
11558 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11559 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11560 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11561 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11562 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11563 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11564 Define.
11565 (index_Fast_Copy_Backward): Define.
11566 (HAS_ARCH_FEATURE): Define.
11567 (HAS_FAST_REP_STRING): Define.
11568 (HAS_FAST_COPY_BACKWARD): Define.
11569
11570 2010-06-21 Andreas Schwab <schwab@redhat.com>
11571
11572 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11573 Restore proper fallback handling.
11574
11575 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11576
11577 [BZ #11701]
11578 * posix/group_member.c (__group_member): Correct checking loop.
11579
11580 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11581 OOM in getpwuid_r correctly. Return error number when the caller
11582 should return, otherwise -1.
11583 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11584 call returning > 0 value.
11585 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11586
11587 2010-06-07 Andreas Schwab <schwab@redhat.com>
11588
11589 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11590 libc_nonshared.a from targets in modules-names.
11591
11592 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11593
11594 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11595 requires it.
11596
11597 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11598
11599 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11600 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11601 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11602 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11603
11604 2010-06-02 Andreas Schwab <schwab@redhat.com>
11605
11606 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11607
11608 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11609
11610 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11611 and F_GETPIPE_SZ.
11612 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11613 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11614 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11615 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11616 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11617 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11618
11619 2010-06-14 Roland McGrath <roland@redhat.com>
11620
11621 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11622
11623 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11624
11625 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11626 __REDIRECT followed by __THROW.
11627 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11628 * posix/getopt.h (getopt): Likewise.
11629
11630 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11631
11632 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11633 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11634 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11635 in AT_FLAGS.
11636 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11637 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11638
11639 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11640
11641 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11642
11643 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11644
11645 [BZ #11640]
11646 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11647 Properly check family and model.
11648
11649 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11650
11651 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11652
11653 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11654
11655 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11656
11657 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11658
11659 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11660 symbol reference.
11661
11662 2010-05-19 Andreas Schwab <schwab@redhat.com>
11663
11664 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11665 symbol reference.
11666
11667 2010-05-21 Andreas Schwab <schwab@redhat.com>
11668
11669 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11670 and internal_recvmmsg.
11671 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11672 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11673 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11674 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11675
11676 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11677 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11678 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11679
11680 2010-05-20 Andreas Schwab <schwab@redhat.com>
11681
11682 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11683
11684 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11685
11686 POWER7 optimizations.
11687 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11688 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11689
11690 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11691
11692 * version.h: Update for 2.13 development version.
11693
11694 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11695
11696 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11697 exceptions. Return 0.
11698
11699 2010-05-07 Roland McGrath <roland@redhat.com>
11700
11701 * elf/ldconfig.c (main): Add a const.
11702
11703 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11704
11705 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11706 (args_options): Add no-idn option.
11707 (ahosts_keys_int): Add idn_flags to ai_flags.
11708 (parse_option): Handle 'i' option to clear idn_flags.
11709
11710 * malloc/malloc.c (_int_free): Possible race in the most recently
11711 added check. Only act on the data if no current modification
11712 happened.
11713
11714 See ChangeLog.17 for earlier changes.
This page took 0.54729 seconds and 5 git commands to generate.