]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Check __ILP32__ instead of __LP64__
[thirdparty/glibc.git] / ChangeLog
1 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2
3 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
4 * elf/tst-auditmod3b.c: Likewise.
5 * elf/tst-auditmod4b.c: Likewise.
6 * elf/tst-auditmod5b.c: Likewise.
7 * elf/tst-auditmod6b.c: Likewise.
8 * elf/tst-auditmod6c.c: Likewise.
9 * elf/tst-auditmod7b.c: Likewise.
10 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
11 * sysdeps/x86_64/preconfigure.in: Likewise.
12 * sysdeps/x86_64/preconfigure: Regenerated.
13
14 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15
16 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
17 __ILP32__.
18
19 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
20
21 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23
24 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
25
26 [BZ #13973]
27 * locale/iso-639.def: Fix gl language name. Spotted by
28 Yaron Shahrabani.
29
30 2012-04-12 Roland McGrath <roland@hack.frob.com>
31
32 [BZ #2074]
33 * libio/libio.h (__io_write_fn): Update comment.
34
35 2012-04-12 Petr Baudis <pasky@ucw.cz>
36
37 [BZ #2074]
38 * stdio.texi (Hook Functions): The user provided writer function
39 is not allowed to return -1.
40
41 2012-04-11 David S. Miller <davem@davemloft.net>
42
43 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44
45 2012-04-11 Mike Frysinger <vapier@gentoo.org>
46
47 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48 Add a leading slash to rtkaio.
49
50 2012-04-11 Jim Meyering <meyering@redhat.com>
51
52 [BZ #11959]
53 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
54 It is not necessarily an error to ignore fwrite's return
55 value. One can reliably use ferror to test for errors after
56 the fact.
57
58 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
59
60 * bits/types.h (__snseconds_t): New type.
61 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
62
63 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
64 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65 (__SNSECONDS_T_TYPE): Likewise.
66 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67 (__SNSECONDS_T_TYPE): Likewise.
68 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69 (__SNSECONDS_T_TYPE): Likewise.
70
71 2012-04-10 Andreas Jaeger <aj@suse.de>
72
73 [BZ #2636]
74 * manual/time.texi (Processor Time): Return type of times is
75 elapsed real time since an arbitrary point in the past.
76 (CPU Time): Move CLK_TCK from here...
77 (Processor Time): ...to here. Correct description.
78 * manual/conf.texi (Constants for Sysconf): Correct description of
79 _SC_CLK_TCK.
80
81 2012-04-10 David S. Miller <davem@davemloft.net>
82
83 [BZ #13967]
84 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
85 where the is a gap between DT_REL(A) and DT_JMPREL.
86
87 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
88
89 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
90 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
91 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
92
93 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
94
95 * elf/dl-support.c (_dl_inhibit_cache): New variable.
96 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
97 (dl_main): Handle --inhibit-cache.
98 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
99 _dl_inhibit_cache.
100 * elf/dl-load.c (_dl_map_object): Use it.
101 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
102
103 2012-04-09 Joseph Myers <joseph@codesourcery.com>
104
105 [BZ #13872]
106 * sysdeps/i386/fpu/e_powl.S (p78): New object.
107 (__ieee754_powl): Saturate large exponents rather than testing for
108 overflow of y*log2(x).
109 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
110 * math/libm-test.inc (pow_test): Do not permit spurious overflow
111 exceptions.
112
113 [BZ #11521]
114 * math/s_ctan.c: Include <float.h>.
115 (__ctan): Avoid internal overflow or cancellation in calculating
116 denominator.
117 * math/s_ctanf.c: Likewise.
118 * math/s_ctanl.c: Likewise.
119 * math/s_ctanh.c: Likewise.
120 * math/s_ctanhf.c: Likewise.
121 * math/s_ctanhl.c: Likewise.
122 * math/libm-test.inc (ctan_test): Add more tests.
123 (ctanh_test): Likewise.
124 * sysdeps/i386/fpu/libm-test-ulps: Update.
125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
126
127 2012-04-09 Andreas Jaeger <aj@suse.de>
128
129 [BZ #6894]
130 * manual/filesys.texi (Directory Entries): Mention that d_namlen
131 is an optional BSD extension.
132
133 [BZ #10254]
134 * manual/stdio.texi (Opening Streams): Document additional fopen
135 parameters.
136
137 2012-04-09 Roland McGrath <roland@hack.frob.com>
138
139 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
140 %eax without telling the compiler.
141
142 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
143
144 [BZ # 13963]
145 * manual/install.texi: Use sourceware.org.
146
147 2012-04-09 Joseph Myers <joseph@codesourcery.com>
148
149 [BZ #13873]
150 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
151 (__ieee754_pow): Generate overflow and underflow using huge*huge
152 and tiny*tiny rather than just returning constant infinity or zero
153 for large exponents.
154 * math/libm-test.inc (pow_test): Require overflow exceptions for
155 applicable cases of large exponents.
156
157 [BZ #706]
158 * sysdeps/i386/fpu/e_pow.S (p10): New object.
159 (__ieee754_pow): Use iterative multiplication algorithm only for
160 integer exponents with absolute value below 1024. Check for odd
161 integer exponents when using algorithm for real exponents.
162 * math/libm-test.inc (pow_test): Add more tests.
163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
164
165 2012-04-08 Joseph Myers <joseph@codesourcery.com>
166
167 [BZ #13705]
168 * math/libm-test.inc (exp_test): Do not allow overflow exception
169 on underflow test.
170
171 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
172
173 [BZ #13705]
174 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
175 instead of __kernel_standard_f.
176
177 2012-04-08 Mike Frysinger <vapier@gentoo.org>
178
179 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
180 * sysdeps/x86_64/memset_chk.S: Likewise.
181
182 2012-04-08 Andreas Jaeger <aj@suse.de>
183
184 [BZ #10153]
185 * manual/startup.texi (Environment Access): Describe return value
186 for putenv and setenv.
187
188 [BZ #6895]
189 * manual/filesys.texi (Directory Entries): Add description for
190 DT_LNK.
191
192 [BZ #6890]
193 * manual/filesys.texi (Directory Entries): Clarify that it's file
194 system not operating system in the description of DT_UNKNOWN.
195
196 [BZ #6578]
197 * manual/syslog.texi (closelog): Fix reference, it's openlog.
198
199 2012-04-08 Stephen Compall <s11@member.fsf.org>
200
201 [BZ #6649]
202 * manual/llio.texi (Opening and Closing Files): Add cross
203 reference to explain mode argument.
204
205 2012-04-07 Mike Frysinger <vapier@gentoo.org>
206
207 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
208 * sysdeps/x86_64/memset_chk.S: Likewise.
209
210 2012-04-07 David S. Miller <davem@davemloft.net>
211
212 * elf/elf.h (R_SPARC_WDISP10): Define.
213 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
214 R_SPARC_SIZE32.
215 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
216 R_SPARC_SIZE64 and R_SPARC_H34.
217
218 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
219
220 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
221 conditions and remove no longer applicable assertion.
222
223 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
224
225 * bits/byteswap.h: Include <features.h>.
226 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
227 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
228
229 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
230
231 * bits/byteswap.h (__bswap_16): Removed.
232 Include <bits/byteswap-16.h> to get __bswap_16.
233 * sysdeps/i386/bits/byteswap.h: Likewise.
234 * sysdeps/s390/bits/byteswap.h: Likewise.
235 * sysdeps/x86_64/bits/byteswap.h: Likewise.
236 * bits/byteswap-16.h: New file.
237 * sysdeps/i386/bits/byteswap-16.h: Likewise.
238 * sysdeps/s390/bits/byteswap-16.h: Likewise.
239 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
240 * string/Makefile (headers): Add bits/byteswap-16.h.
241
242 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
243
244 [BZ #13895]
245 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
246 extra indirection.
247 * nss/Makefile (tests-static, tests): Add tst-nss-static.
248 * nss/tst-nss-static.c: New.
249
250 2012-04-06 Robert Millan <rmh@gnu.org>
251
252 [BZ #6486]
253 * manual/llio.texi (File Position Primitive): lseek
254 refers to WHENCE when it really means OFFSET.
255
256 2012-04-06 Andreas Jaeger <aj@suse.de>
257
258 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
259 strncmp declarations.
260
261 * abilist/libc.abilist: Add __poll and __ppoll.
262
263 2012-04-05 David S. Miller <davem@davemloft.net>
264
265 * scripts/check-local-headers.sh: Accept a host triplet in the
266 path matched by the exclude regexp.
267
268 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
269 definition.
270 * sysdeps/powerpc/powerpc32/dl-machine.h
271 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
272 * sysdeps/s390/s390-32/dl-machine.h
273 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
274 * sysdeps/sparc/sparc32/dl-machine.h
275 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
276 * sysdeps/sparc/sparc64/dl-machine.h
277 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
278
279 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
280 lazy binding.
281 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
282 undefined symbol errors.
283
284 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
285 DT_NEEDED entries.
286
287 2012-04-05 Michael Matz <matz@suse.de>
288
289 [BZ #13592]
290 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
291
292 2012-04-05 Andreas Jaeger <aj@suse.de>
293
294 [BZ #13908]
295 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
296 comment.
297
298 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
299
300 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
301 which ROUND is no valid rounding mode.
302
303 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
304
305 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
306 read again.
307 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
308
309 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
310
311 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
312 an exception using FPU order intentionally.
313
314 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
315
316 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
317 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
318 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
319 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
320
321 2012-04-05 Simon Josefsson <simon@josefsson.org>
322
323 [BZ #12340]
324 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
325 EINVAL when BUFLEN is too smal.
326
327 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
328
329 [BZ #13553]
330 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
331 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
332
333 2012-04-03 Andreas Jaeger <aj@suse.de>
334
335 [BZ #13938]
336 * manual/setjmp.texi (System V contexts): Fix sentence.
337
338 [BZ #13926]
339 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
340 New macro for this case.
341 [!__GNUC__] (__bswap_64): New inline function for this case.
342 * sysdeps/x86_64/bits/byteswap.h: Likewise.
343 * bits/byteswap.h: Likewise.
344 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
345 ull, guard with __GLIBC_HAVE_LONG_LONG.
346
347 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
348 __GLIBC_HAVE_LONG_LONG.
349
350 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
351 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
352
353 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
354
355 [BZ #13691]
356 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
357 inptr and inend, rather than using last_ch.
358
359 2012-04-02 David S. Miller <davem@davemloft.net>
360
361 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
362 * stdio-common/printf-parse.h (read_int): Change return type to
363 'int', return -1 on INT_MAX overflow.
364 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
365 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
366 overflows INT_MAX. Check for overflow of in-format-string precision
367 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
368 SIZE_MAX not INT_MAX for integer overflow test.
369 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
370 skip the construct in the format string but do not record anything.
371 * stdio-common/bug22.c: Adjust to test both width/prevision
372 INT_MAX overflow as well as total length INT_MAX overflow. Check
373 explicitly for proper errno values.
374
375 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
376
377 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
378 CHAR_MAX.
379 * string/test-strcmp.c [! WIDE]: Likewise.
380 * time/tst-mktime2.c: Likewise for INT_MAX.
381 * string/test-string.h: #include <sys/param.h> for MIN.
382
383 * csu/init-first.c (__libc_init_first): Call __ctype_init.
384 * sysdeps/i386/init-first.c (init): Likewise.
385 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
386 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
387 * sysdeps/sh/init-first.c (init): Likewise.
388
389 2012-04-01 Ulrich Drepper <drepper@gmail.com>
390
391 * po/ru.po: Update from translation team.
392 * po/vi.po: Likewise.
393
394 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
395
396 * resolv/nss_dns/dns-host.c: Merge copyright years.
397
398 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
399
400 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
401 Optimize memcpy with prefetch if
402 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
403 src, dst pointers have unequal 16 byte alignments.
404
405 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
406
407 [BZ #13928]
408 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
409 from a CNAME entry and return the minimum ttl for the query.
410 (gaih_getanswer_slice): Likewise.
411
412 2012-03-30 Jeff Law <law@redhat.com>
413
414 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
415 due to long keys.
416 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
417 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
418
419 * resolv/nss_dns/dns-host.c: Update copyright year.
420
421 2012-03-30 Ulrich Drepper <drepper@gmail.com>
422
423 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
424 requests to save a system call. Fix check that all bytes are sent.
425
426 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
427 comments for sendmmsg.
428
429 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
430
431 [BZ #13691]
432 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
433 with only 1 character between 0x0041 and 0x01b0.
434 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
435 * wcsmbs/tst-mbsnrtowcs.c: New file.
436
437 2012-03-29 David S. Miller <davem@davemloft.net>
438
439 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
440 small copies by hand.
441
442 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
443
444 [BZ #13761]
445 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
446 _nss_compat_initgroups_dyn): Fall back to malloc/free
447 for large group memberships.
448
449 2012-03-28 David S. Miller <davem@davemloft.net>
450
451 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
452 that branches into memcpy.
453 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
454 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
455 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
456 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
457 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
458 bits.
459 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
460 implementation too.
461 * sysdeps/sparc/mempcpy.S: New file.
462
463 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
464 the IFUNC routine in the libc case.
465 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
466
467 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
468 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
469 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
470 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
471 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
472 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
473 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
474 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
475
476 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
477 loop to 256 bytes instead of 64 bytes and fix test signedness.
478
479 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
480 * sysdeps/sparc/sparc32/Makefile: rather than here...
481 * sysdeps/sparc/sparc64/Makefile: and here.
482
483 2012-03-28 Ulrich Drepper <drepper@gmail.com>
484
485 * malloc/mallocbug.c: Avoid warnings about unused variables.
486
487 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
488
489 [BZ #13760]
490 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
491 in the right place. Discard and retry query if response is
492 larger than input buffer size.
493
494 2012-03-28 Joseph Myers <joseph@codesourcery.com>
495
496 [BZ #369]
497 [BZ #2678]
498 [BZ #3866]
499 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
500 x for large integer exponent.
501 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
502 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
503 sign of result as needed afterwards.
504 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
505 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
506 result for underflowing pow the same as for overflow.
507 (__kernel_standard_l): Handle powl overflow and underflow here
508 rather than calling __kernel_standard.
509 * math/libm-test.inc (pow_test): Add more tests.
510
511 [BZ #3868]
512 [BZ #13879]
513 [BZ #13910]
514 [BZ #13911]
515 [BZ #13912]
516 [BZ #13913]
517 [BZ #13915]
518 [BZ #13916]
519 [BZ #13917]
520 [BZ #13918]
521 [BZ #13919]
522 [BZ #13920]
523 [BZ #13921]
524 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
525 * sysdeps/ieee754/k_standard.c: Include <float.h>.
526 (__kernel_standard_l): New function.
527 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
528 __kernel_standard.
529 * math/w_acosl.c (__acosl): Likewise.
530 * math/w_asinl.c (__asinl): Likewise.
531 * math/w_atan2l.c (__atan2l): Likewise.
532 * math/w_atanhl.c (__atanhl): Likewise.
533 * math/w_coshl.c (__coshl): Likewise.
534 * math/w_exp10l.c (__exp10l): Likewise.
535 * math/w_exp2l.c (__exp2l): Likewise.
536 * math/w_fmodl.c (__fmodl): Likewise.
537 * math/w_hypotl.c (__hypotl): Likewise.
538 * math/w_j0l.c (__j0l, __y0l): Likewise.
539 * math/w_j1l.c (__j1l, __y1l): Likewise.
540 * math/w_jnl.c (__jnl, __ynl): Likewise.
541 * math/w_lgammal.c (__lgammal): Likewise.
542 * math/w_log10l.c (__log10l): Likewise.
543 * math/w_log2l.c (__log2l): Likewise.
544 * math/w_logl.c (__logl): Likewise.
545 * math/w_powl.c (__powl): Likewise.
546 * math/w_remainderl.c (__remainderl): Likewise.
547 * math/w_scalbl.c (sysv_scalbl): Likewise.
548 * math/w_sinhl.c (__sinhl): Likewise.
549 * math/w_sqrtl.c (__sqrtl): Likewise.
550 * math/w_tgammal.c (__tgammal): Likewise.
551 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
552 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
553 * math/libm-test.inc (acos_test): Add more tests.
554 (acosh_test): Likewise.
555 (asin_test): Likewise.
556 (atanh_test): Likewise.
557 (exp_test): Likewise.
558 (exp10_test): Likewise.
559 (exp2_test): Likewise.
560 (expm1_test): Likewise.
561 (lgamma_test): Likewise.
562 (log_test): Likewise.
563 (log10_test): Likewise.
564 (log1p_test): Likewise.
565 (log2_test): Likewise.
566 (pow_test): Do not allow some spurious overflow exceptions.
567 (sqrt_test): Add more tests.
568 (tgamma_test): Likewise.
569 (y0_test): Likewise.
570 (y1_test): Likewise.
571 (yn_test): Likewise.
572
573 2012-03-27 Anton Blanchard <anton@samba.org>
574
575 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
576 MAP_HUGETLB.
577 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
578 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
579 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
580
581 2012-03-27 David S. Miller <davem@davemloft.net>
582
583 * conform/Makefile: Run run-conformtest.sh using $(BASH).
584
585 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
586 have-as-vis3 check.
587
588 2012-03-27 Andreas Jaeger <aj@suse.de>
589
590 * sysdeps/x86_64/elf/configure.in: Moved to ...
591 * sysdeps/x86_64/configure.in: ... here.
592 * sysdeps/x86_64/elf/start.S: Moved to ...
593 * sysdeps/x86_64/start.S: ... here.
594 * sysdeps/x86_64/elf/configure: Delete.
595
596 * sysdeps/x86_64/configure.in: Merge contents from
597 sysdeps/i386/configure.in (without i686 check).
598
599 * sysdeps/i386/elf/Versions: Merge into ...
600 * sysdeps/i386/Versions: ... this.
601 * sysdeps/i386/elf/Versions: Delete file.
602 * sysdeps/i386/elf/start.S: Moved to ...
603 * sysdeps/i386/start.S: ...here.
604 * sysdeps/i386/elf/configure.in: Merge into...
605 * sysdeps/i386/configure.in: ...here.
606 * sysdeps/i386/elf/configure.in: Delete file.
607 * sysdeps/i386/elf/configure: Delete file.
608
609 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
610 * debug/backtracesyms.c: ... here.
611 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
612 * debug/backtracesymsfd.c: ... here.
613 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
614 * sysdeps/generic/ifunc-sel.h: ... here.
615
616 * sysdeps/unix/i386/start.c: Delete file.
617 * sysdeps/unix/sparc/start.c: Delete file.
618 * sysdeps/unix/start.c: Delete file.
619
620 * sysdeps/sh/elf/configure.in: Moved to ...
621 * sysdeps/sh/configure.in: ... here.
622 * sysdeps/sh/elf/start.S: Moved to ...
623 * sysdeps/sh/start.S: ... here.
624 * sysdeps/sh/elf/configure: Delete file.
625
626 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
627 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
628 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
629 * sysdeps/powerpc/powerpc64/entry.h: ... here.
630 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
631 * sysdeps/powerpc/powerpc64/start.S: here.
632 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
633 * sysdeps/powerpc/powerpc64/Makefile: ... this.
634 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
635 * sysdeps/powerpc/powerpc64/configure.in: ... this.
636 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
637
638 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
639 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
640 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
641 * sysdeps/powerpc/powerpc32/start.S: ... here.
642 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
643 * sysdeps/powerpc/powerpc32/configure.in: ... this.
644 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
645
646 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
647 * sysdeps/powerpc/ifunc-sel.h: ... here.
648 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
649 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
650
651 * sysdeps/sparc/elf/configure.in: Moved to ...
652 * sysdeps/sparc/configure.in: ... here.
653 * sysdeps/sparc/elf/configure: Delete file.
654 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
655 * sysdeps/sparc/sparc32/start.S: ... here.
656 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
657 * sysdeps/sparc/sparc64/start.S: ... here.
658 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
659 * sysdeps/sparc/sparc32/Makefile: ... this.
660 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
661 * sysdeps/sparc/sparc64/Makefile: ... this.
662
663 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
664 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
665 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
666 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
667 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
668 * sysdeps/s390/s390-32/setjmp.S: ... here.
669 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
670 * sysdeps/s390/s390-32/configure.in: ... here.
671 * sysdeps/s390/s390-32/elf/configure: Delete file.
672 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
673 * sysdeps/s390/s390-32/start.S: ... here.
674
675 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
676 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
677 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
678 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
679 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
680 * sysdeps/s390/s390-64/setjmp.S: ... here.
681 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
682 * sysdeps/s390/s390-64/configure.in: ... here
683 * sysdeps/s390/s390-64/elf/configure: Delete file.
684 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
685 * sysdeps/s390/s390-64/start.S: ... here.
686 * sysdeps/s390/s390-64/elf/configure: Delete.
687
688 * configure.in: Remove support for elf directories in sysdeps.
689
690 * configure: Regenerated.
691 * sysdeps/i386/configure: Regenerated.
692 * sysdeps/powerpc/powerpc32/configure: Regenerated.
693 * sysdeps/powerpc/powerpc64/configure: Regenerated.
694 * sysdeps/s390/s390-32/configure: Regenerated.
695 * sysdeps/s390/s390-64/configure: Regenerated.
696 * sysdeps/sh/configure: Regenerated.
697 * sysdeps/sparc/configure: Regenerated.
698 * sysdeps/x86_64/configure: Regenerated.
699
700 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
701
702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
703
704 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
705 denormal result into account.
706
707 2012-03-25 Roland McGrath <roland@hack.frob.com>
708
709 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
710 Reported by Allan McRae <allan@archlinux.org>.
711
712 2012-03-23 Jeff Law <law@redhat.com>
713
714 * nss/getnssent.c (__nss_getent): Fix typo.
715
716 2012-03-23 David S. Miller <davem@davemloft.net>
717
718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
719
720 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
721
722 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
723 to pad to uint64_t for each field.
724 (dl_tls_index): Replace unsigned long with uint64_t.
725
726 2012-03-23 Daniel Jacobowitz <dmj@google.com>
727 Paul Pluzhnikov <ppluzhnikov@google.com>
728
729 [BZ #6528]
730 * grp/Makefile (otherlibs): Don't set it.
731 * inet/Makefile (otherlibs): Likewise.
732 * login/Makefile (otherlibs): Likewise.
733 * nscd/Makefile (otherlibs): Likewise.
734 * posix/Makefile (otherlibs): Likewise.
735 * pwd/Makefile (otherlibs): Likewise.
736 * rt/Makefile (otherlibs): Likewise.
737 * sunrpc/Makefile (otherlibs): Likewise.
738 * nss/Makefile (otherlibs): Likewise.
739 Add libnss_files to routines and static-only-routines.
740 ($(objpfx)getent): Remove rule.
741 * resolv/Makefile: Add libnss_dns and libresolv to routines and
742 static-only-routines.
743
744 2012-03-22 Joseph Myers <joseph@codesourcery.com>
745
746 [BZ #13892]
747 * math/s_cexp.c: Include <float.h>.
748 (__cexp): Handle exp result overflowing not necessarily
749 overflowing both real and imaginary parts of result.
750 * math/s_cexpf.c: Likewise.
751 * math/s_cexpl.c: Likewise.
752 * math/libm-test.inc (cexp_test): Add more tests.
753 * sysdeps/i386/fpu/libm-test-ulps: Update.
754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
755
756 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
757
758 * include/link.h (ELFW): New macro.
759 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
760 Replace ELF64_R_TYPE with ELFW(R_TYPE).
761
762 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
763
764 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
765 with uint64_t.
766
767 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
768
769 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
770 declaration.
771 (struct La_x32_retval): Likewise.
772
773 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
774
775 * sysdeps/x86_64/preconfigure.in: New file.
776 * sysdeps/x86_64/preconfigure: New generated file.
777
778 2012-03-22 Joseph Myers <joseph@codesourcery.com>
779
780 [BZ #13824]
781 * math/e_exp2l.c: Include <float.h>.
782 (__ieee754_exp2l): Handle overflow and underflow cases
783 separately. Only pass fractional part of argument to
784 __ieee754_expl.
785 * math/libm-test.inc (exp2_test): Add more tests.
786
787 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
788 negating x to take absolute value.
789 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
790 Likewise.
791 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
792 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
793 Likewise.
794 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
795 computing low part if x was negated.
796 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
797
798 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
799
800 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
801 la_x32_gnu_pltexit.
802 (pltexit): Cast int_retval to ptrdiff_t.
803 * elf/tst-auditmod3b.c: Likewise.
804 * elf/tst-auditmod4b.c: Likewise.
805 * elf/tst-auditmod5b.c: Likewise.
806 * elf/tst-auditmod6b.c: Likewise.
807 * elf/tst-auditmod6c.c: Likewise.
808 * elf/tst-auditmod7b.c: Likewise.
809
810 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
811 and x32_gnu_pltexit.
812
813 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
814 __ELF_NATIVE_CLASS.
815 (La_x32_regs): New macro.
816 (La_x32_retval): Likewise.
817 (la_x32_gnu_pltenter): New function prototype.
818 (la_x32_gnu_pltexit): Likewise.
819
820 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
821
822 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
823 exponent.
824
825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
826
827 * configure.in (libc_cv_cc_nofma): Check for option to disable
828 generation of FMA instructions.
829 * configure: Regenerate.
830 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
831 * sysdeps/ieee754/dbl-64/Makefile: New file.
832 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
833 Remove brandred-fma4.
834 (CFLAGS-brandred-fma4.c): Remove.
835 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
836 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
837 define.
838 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
839 define.
840
841 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
842
843 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
844 LLONG_MAX != LONG_MAX.
845 (_itoa_word): Use _ITOA_WORD_TYPE on value.
846 (_fitoa_word): Likewise.
847 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
848 LLONG_MAX != LONG_MAX.
849 * stdio-common/_itowa.h: Include <_itoa.h>.
850 (_itowa_word): Use _ITOA_WORD_TYPE on value.
851 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
852 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
853 only if not defined.
854 (_ITOA_WORD_TYPE): Likewise.
855 (_itoa_word): Use _ITOA_WORD_TYPE on value.
856 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
857
858 2012-03-21 David S. Miller <davem@davemloft.net>
859
860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
861
862 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
863
864 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
865 of x86_64 when setting libc_cv_slibdir, libdir and
866 libc_cv_localedir.
867 * sysdeps/unix/sysv/linux/configure: Regenerated.
868
869 2012-03-21 Joseph Myers <joseph@codesourcery.com>
870
871 * manual/lang.texi (Old Varargs): Remove section.
872 (How Variadic): Update menu.
873 (va_start): Do not mention varargs.h.
874
875 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
876 Joseph Myers <joseph@codesourcery.com>
877
878 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
879 link test.
880 * configure: Regenerated.
881
882 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
883
884 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
885 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
886 conformtest.pl
887
888 2012-03-21 Joseph Myers <joseph@codesourcery.com>
889
890 * NOTES: Remove.
891 * Makefile (files-for-dist): Remove NOTES.
892 (NOTES): Remove rule.
893 * README: Don't refer to NOTES.
894 * manual/creature.texi: Don't include macros.texi.
895 * manual/intro.texi (creature.texi): Remove comment referring to
896 NOTES.
897
898 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
899 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
900 * configure: Regenerated.
901 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
902 LIBC_TRY_CC_OPTION.
903 (libc_cv_as_i686): Likewise.
904 (libc_cv_cc_avx): Likewise.
905 (libc_cv_cc_sse2avx): Likewise.
906 (libc_cv_cc_fma4): Likewise.
907 (libc_cv_cc_novzeroupper): Likewise.
908 * sysdeps/i386/configure: Regenerated.
909
910 [BZ #13883]
911 * sysdeps/i386/fpu/s_cexp.S: Remove.
912 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
913 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
914 * math/libm-test.inc (cexp_test): Add more tests.
915 * sysdeps/i386/fpu/libm-test-ulps: Update.
916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
917
918 2012-03-21 Allan McRae <allan@archlinux.org>
919
920 * timezone/Makefile: Do not install iso3166.tab and zone.tab
921
922 2012-03-21 Joseph Myers <joseph@codesourcery.com>
923
924 [BZ #13871]
925 * math/w_exp2.c: Do not include <float.h>.
926 (o_threshold, u_threshold): Remove.
927 (__exp2): Calculate result before checking finiteness and calling
928 __kernel_standard.
929 * math/w_exp2f.c: Likewise.
930 * math/w_exp2l.c: Likewise.
931 * math/libm-test.inc (exp2_test): Require overflow exception for
932 1e6 input.
933
934 [BZ #3866]
935 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
936 range of signed 64-bit integers before using fistpll. Remove
937 checks for whether integers fit in mantissa bits.
938 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
939 the range of signed 32-bit integers before using fistpl. Remove
940 checks for whether integers fit in mantissa bits.
941 * sysdeps/i386/fpu/e_powl.S (p64): New object.
942 (__ieee754_powl): Test for y outside the range of signed 64-bit
943 integers before using fistpll. Reduce 64-bit values to 63-bit
944 ones as needed.
945 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
946 divide-by-zero is raised for zero to large negative powers.
947 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
948 (__ieee754_powl): Test for y outside the range of signed 64-bit
949 integers before using fistpll. Reduce 64-bit values to 63-bit
950 ones as needed.
951 * math/libm-test.inc (pow_test): Add more tests.
952
953 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
954
955 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
956 <stdio-common/_itoa.h>.
957 * debug/segfault.c: Likewise.
958 * elf/dl-cache.c: Likewise.
959 * elf/dl-minimal.c: Likewise.
960 * elf/dl-misc.c: Likewise.
961 * elf/dl-sysdep.c: Likewise.
962 * elf/dl-version.c: Likewise.
963 * elf/rtld.c: Likewise.
964 * hurd/hurdsock.c: Likewise.
965 * hurd/lookup-retry.c: Likewise.
966 * malloc/malloc.c: Likewise.
967 * malloc/mtrace.c: Likewise.
968 * nscd/nscd_getgr_r.c: Likewise.
969 * nscd/nscd_getpw_r.c: Likewise.
970 * nscd/nscd_getserv_r.c: Likewise.
971 * posix/getopt_init.c: Likewise.
972 * posix/wordexp.c: Likewise.
973 * stdio-common/_itoa.c: Likewise.
974 * stdio-common/printf_fphex.c: Likewise.
975 * stdio-common/vfprintf.c: Likewise.
976 * string/_strerror.c: Likewise.
977 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
978 * sysdeps/i386/i686/hp-timing.h: Likewise.
979 * sysdeps/mach/_strerror.c: Likewise.
980 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
981 * sysdeps/mach/hurd/sethostid.c: Likewise.
982 * sysdeps/mach/hurd/xmknodat.c: Likewise.
983 * sysdeps/mach/xpg-strerror.c: Likewise.
984 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
985 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
986 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
987 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
988 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
989 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
990 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
991 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
992 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
993 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
994 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
995 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
996 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
997 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
998 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
999 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
1000 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
1001 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
1002 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
1003 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
1004 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
1005
1006 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
1007
1008 * stdio-common/_itoa.h: Moved to ...
1009 * sysdeps/generic/_itoa.h: Here.
1010
1011 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
1012
1013 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
1014 instead of "_itoa.h" and "_itowa.h".
1015 * stdio-common/vfprintf.: Likewise.
1016
1017 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1018
1019 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
1020 <bits/wordsize.h>.
1021 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
1022 (__signbit): Likwise.
1023 (llrintf): Likwise.
1024 (llrint): Likwise.
1025
1026 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
1027
1028 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
1029 __WORDSIZE != 64.
1030
1031 2012-03-20 Joseph Myers <joseph@codesourcery.com>
1032
1033 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
1034 OVERFLOW_EXCEPTION_OK.
1035 * math/libm-test.inc ("Philosophy"): Update comment about
1036 exception testing.
1037 (OVERFLOW_EXCEPTION): Define.
1038 (OVERFLOW_EXCEPTION_OK): Likewise.
1039 (INVALID_EXCEPTION_OK): Renumber.
1040 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1041 (IGNORE_ZERO_INF_SIGN): Likewise.
1042 (test_exceptions): Handle FE_OVERFLOW.
1043 (exp10_test): Expect overflow exceptions.
1044 (exp2_test): Likewise.
1045 (expm1_test): Likewise.
1046 (nextafter_test): Likewise.
1047 (pow_test): Likewise.
1048 (scalbn_test): Likewise.
1049 (scalbln_test): Likewise.
1050
1051 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1052
1053 * sysdeps/x86_64/bits/atomic.h
1054 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1055 64bit integer.
1056 (atomic_exchange_acq): Likewise.
1057 (__arch_exchange_and_add_body): Likewise.
1058 (__arch_add_body): Likewise.
1059 (atomic_add_negative): Likewise.
1060 (atomic_add_zero): Likewise.
1061
1062 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1063
1064 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1065 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1066
1067 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1068
1069 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1070 Check __x86_64__ instead of __WORDSIZE.
1071
1072 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1073
1074 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1075
1076 2012-03-19 David S. Miller <davem@davemloft.net>
1077
1078 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1079
1080 * sysdeps/sparc/fpu/fenv_private.h: New file.
1081 * sysdeps/sparc/fpu/math_private.h: Use it.
1082 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1083 Remove.
1084 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1085 (libc_feholdexcept_setroundl): Remove.
1086 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1087 Remove.
1088 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1089 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1090
1091 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1092
1093 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1094 int64_t instead of long int.
1095 (INSERT_WORDS64): Likwise.
1096
1097 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1098
1099 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1100 _Unwind_GetCFA return to _Unwind_Ptr first.
1101
1102 2012-03-19 Joseph Myers <joseph@codesourcery.com>
1103
1104 [BZ #13629]
1105 * math/s_clog.c: Include <float.h>.
1106 (__clog): Scale large or subnormal inputs.
1107 * math/s_clogf.c: Likewise.
1108 * math/s_clogl.c: Likewise.
1109 * math/s_clog10.c: Include <float.h>.
1110 (M_LOG10_2): Define.
1111 (__clog10): Scale large or subnormal inputs.
1112 * math/s_clog10f.c: Likewise.
1113 * math/s_clog10l.c: Likewise.
1114 * math/libm-test.inc (clog_test): Add more tests.
1115 (clog10_test): Likewise.
1116 * sysdeps/i386/fpu/libm-test-ulps: Update.
1117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1118
1119 [BZ #11451]
1120 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1121 x and y.
1122 * math/libm-test.inc (atan2_test): Add another test.
1123
1124 * Makerules (common-objdir-compile): Remove.
1125 * sysdeps/unix/Makefile (config-generated): Do not add
1126 $(unix-generated) to variable.
1127 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1128 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1129 Remove rule.
1130 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1131 Likewise.
1132 [generic bits/local_lim.h] (before-compile): Do not append to
1133 variable.
1134 [generic bits/local_lim.h] (common-generated): Likewise.
1135 [generic sys/param.h] (before-compile): Do not append to variable.
1136 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1137 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1138 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1139 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1140 include.
1141 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1142 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1143 [generic sys/param.h] ($(addprefix
1144 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1145 [generic sys/param.h] (common-generated): Do not append to
1146 variable.
1147 [generic sys/param.h] (sysdep_headers): Likewise.
1148 [generic bits/errno.h] (before-compile): Do not append to
1149 variable.
1150 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1151 rule.
1152 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1153 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1154 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1155 [generic bits/errno.h] (common-generated): Do not append to
1156 variable.
1157 [generic bits/ioctls.h] (before-compile): Do not append to
1158 variable.
1159 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1160 rule.
1161 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1162 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1163 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1164 rule.
1165 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1166 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1167 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1168 [generic bits/ioctls.h] (common-generated): Do not append to
1169 variable.
1170 [generic sys/syscall.h] (syscall.h): Remove variable.
1171 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1172 rule.
1173 [generic sys/syscall.h] (before-compile): Do not append to
1174 variable.
1175 [generic sys/syscall.h] (common-generated): Likewise.
1176 * sysdeps/unix/errnos-tmpl.c: Remove file.
1177 * sysdeps/unix/errnos.awk: Likewise.
1178 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1179 * sysdeps/unix/ioctls.awk: Likewise.
1180 * sysdeps/unix/mk-local_lim.c: Likewise.
1181 * sysdeps/unix/snarf-ioctls: Likewise.
1182
1183 2012-03-19 Richard Henderson <rth@twiddle.net>
1184
1185 * sysdeps/i386/fpu/fenv_private.h: New file.
1186 * sysdeps/i386/fpu/math_private.h: Use it.
1187 (math_opt_barrier, math_force_eval): Remove.
1188 (libc_feholdexcept_setround_53bit): Remove.
1189 (libc_feupdateenv_53bit): Remove.
1190 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1191 (math_opt_barrier, math_force_eval): Remove.
1192 (libc_feholdexcept): Remove.
1193 (libc_feholdexcept_setround): Remove.
1194 (libc_fetestexcept, libc_fesetenv): Remove.
1195 (libc_feupdateenv_test): Remove.
1196 (libc_feupdateenv, libc_feholdsetround): Remove.
1197 (libc_feresetround): Remove.
1198
1199 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1200 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1201
1202 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1203 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1204 (libc_feupdateenv_testl): New.
1205 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1206 (libc_feupdateenv_testf): New.
1207 (libc_feupdateenv): Use libc_feupdateenv_test.
1208 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1209 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1210
1211 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1212 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1213 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1214 (libc_feresetround_noex): New.
1215 (libc_feresetround_noexf): New.
1216 (libc_feresetround_noexl): New.
1217 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1218 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1219 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1220 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1221 SET_RESTORE_ROUND.
1222 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1223 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1224 (__cos): Likewise.
1225 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1226 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1227 SET_RESTORE_ROUND_NOEX.
1228 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1229 SET_RESTORE_ROUND_NOEXF.
1230 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1231 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1232 (libc_feholdsetroundf): New.
1233 (libc_feresetround, libc_feresetroundf): New.
1234
1235 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1236 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1237 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1238
1239 * sysdeps/generic/math_private.h: Include <fenv.h>.
1240 (default_libc_feholdexcept): New.
1241 (default_libc_feholdexcept_setround): New.
1242 (default_libc_fesetenv, default_libc_feupdateenv): New.
1243 (libc_feholdexcept): Only define if undefined.
1244 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1245 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1246 (libc_feholdexcept_setroundl): Likewise.
1247 (libc_feholdexcept_setround_53bit): Likewise.
1248 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1249 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1250 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1251 (libc_feupdateenv_53bit): Likewise.
1252 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1253 (libc_feholdexcept): Convert from macro to inline function.
1254 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1255 (libc_fesetenv, libc_feupdateenv): Likewise.
1256
1257 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1258 not previously defined.
1259 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1260 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1261 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1262 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1263 * sysdeps/ieee754/flt-32/math_private.h: New file.
1264 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1265 math_private.h below SET_FLOAT_WORD.
1266 (__isnan, __isinf_ns, __finite): Remove.
1267 (__isnanf, __isinf_nsf, __finitef): Remove.
1268
1269 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1270
1271 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1272
1273 2012-03-17 David S. Miller <davem@davemloft.net>
1274
1275 [BZ #6471]
1276 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1277 for 2.16.
1278
1279 2012-03-16 David S. Miller <davem@davemloft.net>
1280
1281 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1282 warnings.
1283
1284 [BZ #6471]
1285 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1286 properly.
1287 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1288 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1289 sysdep_routines when subdir is sysvipc.
1290 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1291 __getshmlba helper.
1292
1293 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1294
1295 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1296
1297 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1298 [__LP64__].
1299
1300 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1301
1302 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1303 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1304 (__lround): Renamed to ...
1305 (__llround): This. Replace long int with long long int.
1306 Define lround functions as aliases of llround functions.
1307 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1308
1309 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1310
1311 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1312 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1313 adresses to uintptr_t. Replace "long int" and "unsigned long
1314 int" with "greg_t" on va_arg.
1315
1316 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1317
1318 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1319 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1320
1321 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1322 Move e_machine check before EI_CLASS check. Handle x32
1323 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1324 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1325 SKIP_EM_IA_64 and include
1326 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1327
1328 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1329 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1330 (add_system_dir): New macro.
1331
1332 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1333 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1334
1335 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1336
1337 [BZ #2551]
1338 [BZ #2552]
1339 [BZ #2553]
1340 [BZ #2554]
1341 [BZ #2562]
1342 [BZ #2563]
1343 [BZ #2565]
1344 [BZ #2566]
1345 [BZ #2576]
1346 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1347 (y0): Likewise.
1348 * math/w_j0f.c (j0f): Likewise.
1349 (y0f): Likewise.
1350 * math/w_j0l.c (__j0l): Likewise.
1351 (__y0l): Likewise.
1352 * math/w_j1.c (j1): Likewise.
1353 (y1): Likewise.
1354 * math/w_j1f.c (j1f): Likewise.
1355 (y1f): Likewise.
1356 * math/w_j1l.c (__j1l): Likewise.
1357 (__y1l): Likewise.
1358 * math/w_jn.c (jn): Likewise.
1359 (yn): Likewise.
1360 * math/w_jnf.c (jnf): Likewise.
1361 (ynf): Likewise.
1362 * math/w_jnl.c (__jnl): Likewise.
1363 (__ynl): Likewise.
1364 * math/libm-test.inc (j0_test): Add more tests.
1365 (j1_test): Likewise.
1366 (jn_test): Likewise. Add trailing semicolon to existing test.
1367 (y0_test): Likewise.
1368 (y1_test): Likewise.
1369 * sysdeps/i386/fpu/libm-test-ulps: Update.
1370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1371
1372 [BZ #13851]
1373 [BZ #13854]
1374 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1375 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1376 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1377 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1378 (__tanl): Set errno for infinite argument.
1379 * sysdeps/i386/fpu/mptan.c: Remove.
1380 * sysdeps/i386/fpu/s_tan.S: Likewise.
1381 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1382 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1383 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1384 * math/libm-test.inc (tan_test): Add more tests and enable more
1385 tests for double and long double.
1386 * sysdeps/i386/fpu/libm-test-ulps: Update.
1387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1388
1389 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1390
1391 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1392 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1393
1394 2012-03-16 Roland McGrath <roland@hack.frob.com>
1395
1396 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1397 * configure.in: Use it for both main tree and add-ons.
1398 * configure: Regenerated.
1399
1400 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1401
1402 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1403
1404 2012-03-16 Joseph Myers <joseph@codesourcery.com>
1405
1406 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1407 in comment.
1408
1409 [BZ #13851]
1410 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1411 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1412 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1413 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1414 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1415 infinite argument.
1416 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1417 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1418 != 0 for prec == 2.
1419 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1420 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1421 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1422 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1423 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1424 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1425 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1426 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1427 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1428 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1429 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1430 * math/libm-test.inc (cos_test): Add more tests and enable more
1431 tests for long double.
1432 (sin_test): Likewise.
1433 (sincos_test): Likewise.
1434 * sysdeps/i386/fpu/libm-test-ulps: Update.
1435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1436
1437 2012-03-16 David S. Miller <davem@davemloft.net>
1438
1439 * sysdeps/sparc/fpu/math_private.h: New file.
1440
1441 2012-03-15 David S. Miller <davem@davemloft.net>
1442
1443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1444 file.
1445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1447 file.
1448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1449 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1450 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1453 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1454 sysdep routines.
1455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1456
1457 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1458 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1459
1460 * sysdeps/sparc/sparc-ifunc.h: New file.
1461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1462 sparc-ifunc.h
1463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1465 Likewise.
1466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1467 Likewise.
1468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1472 Likewise.
1473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1478 Likewise.
1479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1480 Likewise.
1481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1485 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1486 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1487 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1488 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1489 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1490 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1494 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1495 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1496 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1497 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1498 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1499 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1500 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1501 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1502 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1503 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1504 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1505
1506 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1507
1508 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1509 scaling.
1510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1511
1512 2012-03-15 Andreas Jaeger <aj@suse.de>
1513
1514 [BZ #13852]
1515 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1516 ieee754/flt-32 implementation for sin, cos and sincos.
1517 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1518 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1519 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1520 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1521 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1522 ieee754/flt-32 implementation for tan.
1523
1524 * math/libm-test.inc (cos_test): Enable some large input tests for
1525 float as well
1526 (sin_test): Likewise.
1527 (sincos_test): Likewise.
1528 (tan_test): Add tests for large input.
1529
1530 * sysdeps/i386/fpu/libm-test-ulps: Update.
1531
1532 2012-03-15 Andreas Jaeger <aj@suse.de>
1533
1534 [BZ #13658]
1535 * math/libm-test.inc (cos_test): Add more test cases.
1536 (sin_test): Likewise.
1537 (sincos_test): Likewise.
1538
1539 2012-03-15 Andreas Jaeger <aj@suse.de>
1540
1541 [BZ #13837]
1542 * math/libm-test.inc (cos_test): Add a test case for large input
1543 value.
1544 (sin_test): Likewise.
1545 (sincos_test): Likewise.
1546
1547 2012-03-15 Andreas Jaeger <aj@suse.de>,
1548 Joseph Myers <joseph@codesourcery.com>
1549
1550 [BZ #13658]
1551 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1552 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1553 * sysdeps/i386/fpu/branred.c: Likewise.
1554 * sysdeps/i386/fpu/dosincos.c: Likewise.
1555 * sysdeps/i386/fpu/mpa.c: Likewise.
1556 * sysdeps/i386/fpu/s_cos.S: Likewise.
1557 * sysdeps/i386/fpu/s_sin.S: Likewise.
1558 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1559 * sysdeps/i386/fpu/sincos32.c: Likewise.
1560
1561 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1562 Define.
1563 (libc_feupdateenv_53bit): Define.
1564 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1565 Define.
1566 (libc_feupdateenv_53bit): Define.
1567
1568 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1569 53 bit (without extend i386 double precision).
1570
1571 * math/libm-test.inc (sincos_test): Add tests for large input.
1572 (sin): Likewise.
1573 (cos): Likewise.
1574
1575 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1576
1577 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1578
1579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1580
1581 2012-03-15 David S. Miller <davem@davemloft.net>
1582
1583 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1584 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1585 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1586 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1587 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1590 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1593 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1594 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1599 file.
1600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1602 file.
1603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1605 file.
1606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1608 file.
1609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1610 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1611 fmin/fmax sysdep routines.
1612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1613
1614 2012-03-14 David S. Miller <davem@davemloft.net>
1615
1616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1618 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1619 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1620 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1621 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1622 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1623 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1624 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1626 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1627 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1635 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1636 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1637 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1638 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1639 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1640 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1641 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1642 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1643 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1644 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1645 routines.
1646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1647 file.
1648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1650 file.
1651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1653 file.
1654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1656 file.
1657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1659 file.
1660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1662 file.
1663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1664 file.
1665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1666 file.
1667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1668 file.
1669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1670 New file.
1671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1672 file.
1673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1674 file.
1675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1677 file.
1678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1680 file.
1681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1683 file.
1684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1686 VIS3 routines.
1687
1688 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1689 New file.
1690
1691 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1692
1693 * sysdeps/sparc/configure.in: New file.
1694 * sysdeps/sparc/configure: Generate.
1695 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1696 * configure: Regenerate.
1697 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1698 * config.make.in (have-as-vis3): New.
1699 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1700 available use -Av9d instead of -Av9a.
1701 * sysdeps/sparc/sparc64/Makefile: Likewise.
1702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1704 New file.
1705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1706 file.
1707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1708 New file.
1709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1710 file.
1711 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1712 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1713 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1714 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1715 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1716
1717 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1718 fzeros/fnegs to load 0x80000000 into a float register instead of
1719 using the stack.
1720 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1721
1722 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1723
1724 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1725 bits/syscall.h.
1726 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1727 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1728 ($(inst_includedir)/bits/syscall.h): Remove rule.
1729 ($(objpfx)bits/syscall.d): Include instead of
1730 $(objpfx)syscall-list.d.
1731 (generated): Change syscall-list.h and syscall-list.d to
1732 bits/syscall.h and bits/syscall.d.
1733
1734 2012-03-14 Roland McGrath <roland@hack.frob.com>
1735
1736 [BZ #13846]
1737 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1738
1739 2012-03-14 Joseph Myers <joseph@codesourcery.com>
1740
1741 [BZ #13841]
1742 * math/s_csqrt.c: Include <float.h>.
1743 (__csqrt): Scale large or subnormal inputs.
1744 * math/s_csqrtf.c: Likewise.
1745 * math/s_csqrtl.c: Likewise.
1746 * math/libm-test.inc (csqrt_test): Add more tests.
1747 * sysdeps/i386/fpu/libm-test-ulps: Update.
1748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1749
1750 [BZ #13840]
1751 * math/libm-test.inc (hypot_test): Add more tests.
1752
1753 2012-03-13 David S. Miller <davem@davemloft.net>
1754
1755 [BZ #13840]
1756 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1757 double-precision for the calculation instead of scaling.
1758
1759 2012-03-13 Joseph Myers <joseph@codesourcery.com>
1760
1761 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1762 manipulate bits before adding and subtracting TWO52[sx].
1763 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1764 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1765 Likewise.
1766 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1767
1768 2012-03-13 David S. Miller <davem@davemloft.net>
1769
1770 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1771 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1772 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1773 rtld-global-offsets.h
1774 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1775
1776 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1777 large parameters.
1778
1779 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1780
1781 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1782 'err' in the ifdef scope in which it is actually used.
1783
1784 * nss/nss_db/db-init.c: Include string.h
1785
1786 2012-03-12 David S. Miller <davem@davemloft.net>
1787
1788 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1789 masking out of the most significant byte of random value used.
1790 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1791 Fix coding style in previous change.
1792
1793 * sysdeps/unix/sysv/linux/kernel-features.h
1794 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1795 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1796 expression.
1797 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1798 later.
1799
1800 2012-03-11 David S. Miller <davem@davemloft.net>
1801
1802 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1803 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1804 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1805 for 'resultvar' otherwise things get truncated on 64-bit.
1806
1807 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1808 Fix masking out of the most significant byte of random value used.
1809
1810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1811
1812 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1813
1814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1815
1816 2012-03-09 David S. Miller <davem@davemloft.net>
1817
1818 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1819 variables with appropriate CPP guards.
1820 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1821 frame pointer, not the stack pointer. Correct layout comments. Fix test
1822 on resulting framesize and the management of the outregs buffer for pltexit.
1823 Preserve floating point return values across _dl_call_pltexit call.
1824 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1825 framesize and the management of the outregs buffer for pltexit.
1826 Preserve floating point return values across _dl_call_pltexit
1827 call.
1828 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1829 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1830 (print_exit): Fix format string for return register value.
1831
1832 2012-03-10 Joseph Myers <joseph@codesourcery.com>
1833
1834 * sunrpc/Makefile (others): Add rpcgen.
1835 ($(objpfx)rpcgen): Remove special build rule and dependency on
1836 libc.
1837 * sunrpc/rpcgen.c: New file.
1838
1839 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1840
1841 [BZ #13673]
1842 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1843 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1844 * sysdeps/i386/crti.S: Likewise.
1845 * sysdeps/i386/crtn.S: Likewise.
1846 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1847 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1848 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1849 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1850 * sysdeps/sh/crti.S: Likewise.
1851 * sysdeps/sh/crtn.S: Likewise.
1852 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1853
1854 [BZ #13673]
1855 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1856 with URL.
1857 * locale/programs/locfile-kw.gperf: Likewise.
1858 * locale/programs/charmap-kw.h: Regenerated.
1859 * locale/programs/locfile-kw.h: Likewise.
1860
1861 [BZ #13673]
1862 * intl/plural.y: Replace FSF snail mail address with URL.
1863 * intl/plural.c: Regenerated.
1864
1865 2012-03-09 Richard Henderson <rth@twiddle.net>
1866
1867 * include/math_private.h: Remove file.
1868 * math/math_private.h: Move file ...
1869 * sysdeps/generic/math_private.h: ... here.
1870
1871 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1872 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1873 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1874
1875 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1876 and <math_private.h>.
1877 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1878 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1879 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1880 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1881 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1882 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1883 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1884 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1885 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1886 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1887 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1888 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1889 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1890 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1891 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1892 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1893 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1894 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1895 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1896 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1897 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1898 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1899 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1900 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1901 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1902 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1903 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1904 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1905 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1906 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1907 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1908 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1909 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1910 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1911 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1912 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1913 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1914 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1915 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1916 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1917 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1918 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1919 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1920 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1921 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1922 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1923 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1924 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1925 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1926 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1927 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1928 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1929 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1930 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1931 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1932 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1933 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1934 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1935 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1936 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1937 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1938 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1939 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1940 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1941 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1942 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1943 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1944 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1945 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1946 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1947 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1948 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1949 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1950 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1951 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1952 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1953 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1954 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1955 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1956 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1957 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1958 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1959 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1960 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1961 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1962 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1963 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1964 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1965 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1966 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1967 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1968 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1969 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1970 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1971 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1972 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1973 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1974 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1975 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1976 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1977 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1978 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1979 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1980 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1981 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1982 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1983 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1984 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1985 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1986 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1987 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1988 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1989 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1990 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1991 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1992 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1993 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1994 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1995 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1996 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1997 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1998 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1999 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
2000 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
2001 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
2002 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
2003 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
2004 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
2005 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
2006 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
2007 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
2008 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
2009 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
2010 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
2011 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
2012 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
2013 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
2014 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
2015 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
2016 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
2017 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
2018 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
2019 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
2020 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
2021 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
2022 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
2023 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
2024 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
2025 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
2026 * sysdeps/ieee754/k_standard.c: Likewise.
2027 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
2028 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2029 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2030 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2031 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2032 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2033 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2034 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2035 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2036 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2037 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2038 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2039 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2040 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2041 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2042 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2043 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2044 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2045 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2046 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2047 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2048 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2049 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2050 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2051 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2052 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2053 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2054 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2055 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2056 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2057 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2058 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2059 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2060 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2061 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2062 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2063 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2064 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2065 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2066 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2067 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2068 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2069 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2070 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2071 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2072 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2073 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2074 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2075 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2076 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2077 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2078 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2079 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2080 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2081 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2082 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2083 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2084 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2085 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2086 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2087 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2088 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2089 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2090 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2091 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2092 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2093 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2094 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2095 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2096 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2097 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2098 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2099 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2100 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2101 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2102 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2103 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2104 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2105 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2106 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2107 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2108 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2109 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2110 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2111 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2112 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2113 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2114 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2115 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2116 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2117 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2118 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2119 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2120 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2121 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2122 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2123 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2124 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2125 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2126 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2127 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2128 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2129 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2130 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2131 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2132 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2133 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2134 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2135 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2136 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2137 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2138 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2139 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2140 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2141 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2142 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2143 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2144 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2145 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2146 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2147 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2148 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2149 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2150 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2151 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2152 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2153 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2154 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2155 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2156 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2157 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2158 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2159 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2160 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2161 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2162 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2163 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2164 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2165 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2166 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2167 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2168 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2169 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2170 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2171 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2172 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2173 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2174 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2175 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2176 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2177 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2178 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2179 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2180 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2181 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2182 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2183 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2184 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2185 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2186 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2187 * sysdeps/ieee754/s_lib_version.c: Likewise.
2188 * sysdeps/ieee754/s_matherr.c: Likewise.
2189 * sysdeps/ieee754/s_signgam.c: Likewise.
2190 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2191 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2192 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2193 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2194 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2195 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2196 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2197 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2198 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2199 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2200 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2201 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2202 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2203 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2204 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2205 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2206 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2207 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2208 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2209 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2210 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2211
2212 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2213
2214 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2215 * sunrpc/rpc_main.c: Likewise.
2216 * sunrpc/rpc_svcout.c: Likewise.
2217
2218 2012-03-09 David S. Miller <davem@davemloft.net>
2219
2220 * include/math_private.h: New file.
2221
2222 2012-03-09 Joseph Myers <joseph@codesourcery.com>
2223
2224 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2225 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2226 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2227 from <bits/socket_type.h>.
2228 (enum __socket_type): Don't define here.
2229 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2230 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2231 bits/socket_type.h.
2232
2233 [BZ #13566]
2234 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2235 checking __USE_GNU.
2236
2237 * Makerules ($(inst_includedir)/%.h): New rule.
2238 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2239 (install-others): Remove variable setting.
2240 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2241
2242 2012-03-08 Richard Henderson <rth@twiddle.net>
2243
2244 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2245 from macro to inline function; merge with the
2246 !__LIBC_INTERNAL_MATH_INLINES version.
2247 (__ieee754_sqrtf): Likewise.
2248
2249 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2250 to inline function.
2251 (__rintf, __floor, __floorf): Likewise.
2252
2253 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2254 macro to inline function.
2255 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2256
2257 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2258 not <math/math_private.h>.
2259
2260 2012-03-08 David S. Miller <davem@davemloft.net>
2261
2262 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2263 copyright year.
2264 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2265
2266 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2267
2268 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2269 normalization.
2270 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2271 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2272
2273 2012-03-08 Ulrich Drepper <drepper@gmail.com>
2274
2275 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2276 be defined individually, they must be defined as a block. Define
2277 S for printing a string instead of hidint the different by using a
2278 macro for adding the 'l'.
2279 * stdio-common/tst-fphex-wide.c: Adjust.
2280
2281 2012-03-07 Marek Polacek <polacek@redhat.com>
2282
2283 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2284
2285 2012-03-08 Marek Polacek <polacek@redhat.com>
2286
2287 [BZ #13806]
2288 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2289 * stdio-common/tst-fphex.c: Define a few macros to make the
2290 test reusable. Use them.
2291 * stdio-common/tst-fphex-wide.c: New file.
2292
2293 2012-03-08 Joseph Myers <joseph@codesourcery.com>
2294
2295 [BZ #6911]
2296 * manual/macros.texi (gnusystems): New macro.
2297 (nongnusystems): Likewise.
2298 (gnulinuxhurdsystems): Likewise.
2299 (gnuhurdsystems): Likewise..
2300 (gnulinuxsystems): Likewise.
2301 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2302 variants of the GNU system, not "GNU system".
2303 * manual/conf.texi: Likewise.
2304 * manual/errno.texi: Likewise. Update example of errno macro
2305 expansion.
2306 * manual/filesys.texi: Likewise.
2307 (getumask): Document as specific to GNU/Hurd.
2308 * manual/install.texi: Likewise. Reword some references to
2309 GNU/Linux.
2310 * manual/intro.texi: Likewise.
2311 * manual/io.texi: Likewise.
2312 (File Name Portability): Detail which constraints are inapplicable
2313 to all GNU systems and which are only inapplicable to GNU/Hurd.
2314 * manual/job.texi: Likewise.
2315 * manual/llio.texi: Likewise.
2316 (O_NOCTTY): Document as present on GNU/Linux.
2317 * manual/maint.texi: Likewise.
2318 * manual/memory.texi: Likewise.
2319 * manual/pattern.texi: Likewise.
2320 * manual/pipe.texi: Likewise.
2321 * manual/process.texi: Likewise.
2322 * manual/resource.texi: Likewise.
2323 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2324 child on GNU/Hurd.
2325 * manual/setjmp.texi: Likewise.
2326 * manual/signal.texi: Likewise.
2327 * manual/startup.texi: Likewise.
2328 * manual/stdio.texi: Likewise.
2329 * manual/terminal.texi: Likewise.
2330 (ONLCR): Document as POSIX.
2331 (OXTABS): Document availability on GNU/Linux as XTABS.
2332 (ONOEOT): Document availability separately from other bits.
2333 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2334 * manual/time.texi: Likewise.
2335 * manual/users.texi: Likewise.
2336 * INSTALL: Regenerated.
2337 * sysdeps/gnu/errlist.c: Regenerated.
2338
2339 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2340 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2341 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2342 puts.
2343 * configure: Regenerated.
2344
2345 2012-03-07 Joseph Myers <joseph@codesourcery.com>
2346
2347 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2348 default includes instead of AC_HEADER_CHECK.
2349 * sysdeps/i386/configure: Regenerated.
2350
2351 [BZ #10716]
2352 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2353 * math/s_cacoshf.c (__cacoshf): Likewise.
2354 * math/s_cacoshl.c (__cacoshl): Likewise.
2355 * math/s_casinh.c (__casinh): Set signs of result from argument.
2356 * math/s_casinhf.c (__casinhf): Likewise.
2357 * math/s_casinhl.c (__casinhl): Likewise.
2358 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2359 (casinh_test): Add more tests.
2360 * sysdeps/i386/fpu/libm-test-ulps: Update.
2361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2362
2363 2012-03-07 Ulrich Drepper <drepper@gmail.com>
2364
2365 * po/zh_TW.po: Update from translation team.
2366
2367 * login/Makefile (distribute): Remove variable.
2368 * catgets/Makefile: Likewise.
2369 * mach/Makefile: Likewise.
2370 * malloc/Makefile: Likewise.
2371 * misc/Makefile: Likewise.
2372 * iconv/Makefile: Likewise.
2373 * nscd/Makefile: Likewise.
2374 * hurd/Makefile: Likewise.
2375 * manual/Makefile: Likewise.
2376 * locale/Makefile: Likewise.
2377 * intl/Makefile: Likewise.
2378 * conform/Makefile: Likewise.
2379 * nss/Makefile: Likewise.
2380 * time/Makefile: Likewise.
2381 * soft-fp/Makefile: Likewise.
2382 * dirent/Makefile: Likewise.
2383 * gmon/Makefile: Likewise.
2384 * po/Makefile: Likewise.
2385 * rt/Makefile: Likewise.
2386 * socket/Makefile: Likewise.
2387 * math/Makefile: Likewise.
2388 * signal/Makefile: Likewise.
2389 * debug/Makefile: Likewise.
2390 * elf/Makefile: Likewise.
2391 * timezone/Makefile: Likewise.
2392 * stdlib/Makefile: Likewise.
2393 * iconvdata/Makefile: Likewise.
2394 * sunrpc/Makefile: Likewise.
2395 * io/Makefile: Likewise.
2396 * argp/Makefile: Likewise.
2397 * inet/Makefile: Likewise.
2398 * hesiod/Makefile: Likewise.
2399 * grp/Makefile: Likewise.
2400 * csu/Makefile: Likewise.
2401 * wctype/Makefile: Likewise.
2402 * crypt/Makefile: Likewise.
2403 * libio/Makefile: Likewise.
2404 * string/Makefile: Likewise.
2405 * nis/Makefile: Likewise.
2406 * resolv/Makefile: Likewise.
2407 * stdio-common/Makefile: Likewise.
2408 * wcsmbs/Makefile: Likewise.
2409 * dlfcn/Makefile: Likewise.
2410 * posix/Makefile: Likewise.
2411
2412 * timezone/Makefile: Don't install timezone files, just the programs
2413 and scripts.
2414
2415 2012-03-06 Ulrich Drepper <drepper@gmail.com>
2416
2417 * nss/databases.def: Add missing gshadow entry.
2418
2419 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2420
2421 2012-03-06 Marek Polacek <polacek@redhat.com>
2422
2423 [BZ #13726]
2424 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2425 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2426 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2427 * stdio-common/tst-long-dbl-fphex.c: New file.
2428
2429 2012-03-06 David S. Miller <davem@davemloft.net>
2430
2431 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2432 (set_obp_int): New function.
2433 (get_obp_int): New function.
2434 (__get_clockfreq_via_dev_openprom): Likewise.
2435 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2436 Avoid unused variable warnings on 'val' and use builtin_expect.
2437 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2438 __builtin_expect.
2439 (INLINE_CLONE_SYSCALL): Likewise.
2440
2441 2012-03-05 David S. Miller <davem@davemloft.net>
2442
2443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2444
2445 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2446
2447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2448
2449 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2450 only for |x| >= 40.
2451 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2452
2453 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2454
2455 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2456 Replace gettimeofday with __vdso_gettimeofday.
2457
2458 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2459 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2460 __vdso_clock_gettime and __vdso_getcpu.
2461
2462 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2463 time with __vdso_time.
2464
2465 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2466
2467 * manual/lang.texi (size_t): Note types to which size_t may be
2468 equivalent with the GNU C Library, but do not describe when
2469 differences between them are significant.
2470
2471 2012-03-05 Andreas Jaeger <aj@suse.de>
2472
2473 * sysdeps/i386/fpu/libm-test-ulps: Update.
2474
2475 2012-03-05 Joseph Myers <joseph@codesourcery.com>
2476
2477 [BZ #3976]
2478 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2479 (__ieee754_pow): Save and restore rounding mode and use
2480 round-to-nearest for main computations.
2481 * math/libm-test.inc (pow_test_tonearest): New function.
2482 (pow_test_towardzero): Likewise.
2483 (pow_test_downward): Likewise.
2484 (pow_test_upward): Likewise.
2485 (main): Call the new functions.
2486 * sysdeps/i386/fpu/libm-test-ulps: Update.
2487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2488
2489 [BZ #3976]
2490 * math/libm-test.inc (cosh_test_tonearest): New function.
2491 (cosh_test_towardzero): Likewise.
2492 (cosh_test_downward): Likewise.
2493 (cosh_test_upward): Likewise.
2494 (sinh_test_tonearest): Likewise.
2495 (sinh_test_towardzero): Likewise.
2496 (sinh_test_downward): Likewise.
2497 (sinh_test_upward): Likewise.
2498 (main): Call the new functions.
2499 * sysdeps/i386/fpu/libm-test-ulps: Update.
2500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2501
2502 2012-03-05 Tom de Vries <tom@codesourcery.com>
2503
2504 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2505 default stack guard is set in last bytes.
2506 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2507
2508 2012-03-05 Kees Cook <keescook@chromium.org>
2509
2510 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2511
2512 [BZ #13656]
2513 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2514 possibly allocate from heap instead of stack.
2515 * stdio-common/bug-vfprintf-nargs.c: New file.
2516 * stdio-common/Makefile (tests): Add nargs overflow test.
2517
2518 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2519
2520 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2521
2522 2012-03-03 Marek Polacek <polacek@redhat.com>
2523
2524 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2525 * math/math_private.h: Likewise.
2526 * stdlib/tst-strtod.c: Likewise.
2527 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2528 * sysdeps/x86_64/bits/atomic.h: Likewise.
2529
2530 2012-03-02 David S. Miller <davem@davemloft.net>
2531
2532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2536 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2537 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2538 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2539 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2540
2541 2012-03-02 Roland McGrath <roland@hack.frob.com>
2542
2543 [BZ #13792]
2544 * manual/examples/README: New file, says the example source files
2545 can be used under GPL>=2.
2546 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2547 line containing just "*/".
2548 * manual/examples/add.c: Add copyright header (GPL>=2).
2549 * manual/examples/argp-ex1.c: Likewise.
2550 * manual/examples/argp-ex2.c: Likewise.
2551 * manual/examples/argp-ex3.c: Likewise.
2552 * manual/examples/argp-ex4.c: Likewise.
2553 * manual/examples/atexit.c: Likewise.
2554 * manual/examples/db.c: Likewise.
2555 * manual/examples/dir.c: Likewise.
2556 * manual/examples/dir2.c: Likewise.
2557 * manual/examples/execinfo.c: Likewise.
2558 * manual/examples/filecli.c: Likewise.
2559 * manual/examples/filesrv.c: Likewise.
2560 * manual/examples/fmtmsgexpl.c: Likewise.
2561 * manual/examples/genpass.c: Likewise.
2562 * manual/examples/inetcli.c: Likewise.
2563 * manual/examples/inetsrv.c: Likewise.
2564 * manual/examples/isockad.c: Likewise.
2565 * manual/examples/longopt.c: Likewise.
2566 * manual/examples/memopen.c: Likewise.
2567 * manual/examples/memstrm.c: Likewise.
2568 * manual/examples/mkfsock.c: Likewise.
2569 * manual/examples/mkisock.c: Likewise.
2570 * manual/examples/mygetpass.c: Likewise.
2571 * manual/examples/pipe.c: Likewise.
2572 * manual/examples/popen.c: Likewise.
2573 * manual/examples/rprintf.c: Likewise.
2574 * manual/examples/search.c: Likewise.
2575 * manual/examples/select.c: Likewise.
2576 * manual/examples/setjmp.c: Likewise.
2577 * manual/examples/sigh1.c: Likewise.
2578 * manual/examples/sigusr.c: Likewise.
2579 * manual/examples/stpcpy.c: Likewise.
2580 * manual/examples/strdupa.c: Likewise.
2581 * manual/examples/strftim.c: Likewise.
2582 * manual/examples/strncat.c: Likewise.
2583 * manual/examples/subopt.c: Likewise.
2584 * manual/examples/swapcontext.c: Likewise.
2585 * manual/examples/termios.c: Likewise.
2586 * manual/examples/testopt.c: Likewise.
2587 * manual/examples/testpass.c: Likewise.
2588 * manual/examples/timeval_subtract.c: Likewise.
2589
2590 [BZ #13792]
2591 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2592 function to ...
2593 * manual/timeval_subtract.c.texi: ... here, new file.
2594
2595 2012-03-02 David S. Miller <davem@davemloft.net>
2596
2597 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2598
2599 2012-03-02 Joseph Myers <joseph@codesourcery.com>
2600
2601 [BZ #3976]
2602 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2603 (__sin): Save and restore rounding mode and use round-to-nearest
2604 for all computations.
2605 (__cos): Save and restore rounding mode and use round-to-nearest
2606 for all computations.
2607 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2608 <fenv.h>.
2609 (tan): Save and restore rounding mode and use round-to-nearest for
2610 all computations.
2611 * math/libm-test.inc (cos_test_tonearest): New function.
2612 (cos_test_towardzero): Likewise.
2613 (cos_test_downward): Likewise.
2614 (cos_test_upward): Likewise.
2615 (sin_test_tonearest): Likewise.
2616 (sin_test_towardzero): Likewise.
2617 (sin_test_downward): Likewise.
2618 (sin_test_upward): Likewise.
2619 (tan_test_tonearest): Likewise.
2620 (tan_test_towardzero): Likewise.
2621 (tan_test_downward): Likewise.
2622 (tan_test_upward): Likewise.
2623 (main): Call the new functions.
2624 * sysdeps/i386/fpu/libm-test-ulps: Update.
2625 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2626
2627 [BZ #10135]
2628 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2629 small n, then large n, before computing and testing k+n.
2630 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2631 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2632 Likewise.
2633 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2634 Likewise.
2635 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2636 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2637 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2638 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2639 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2640 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2641 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2642 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2643 * math/libm-test.inc (scalbn_test): Add more tests.
2644 (scalbln_test): Likewise.
2645
2646 * manual/filesys.texi (mode_t): Describe constraints on size and
2647 signedness, not exact equivalence to a particular type.
2648 (ino_t): Likewise.
2649 (ino64_t): Likewise.
2650 (dev_t): Likewise.
2651 (nlink_t): Likewise.
2652 (blkcnt_t): Likewise.
2653 (blkcnt64_t): Likewise.
2654 * manual/llio.texi (off_t): Likewise.
2655
2656 [BZ #3976]
2657 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2658 (__ieee754_exp): Save and restore rounding mode and use
2659 round-to-nearest for all computations.
2660 * math/libm-test.inc (exp_test_tonearest): New function.
2661 (exp_test_towardzero): Likewise.
2662 (exp_test_downward): Likewise.
2663 (exp_test_upward): Likewise.
2664 (main): Call the new functions.
2665 * sysdeps/i386/fpu/libm-test-ulps: Update.
2666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2667
2668 2012-03-01 Chris Demetriou <cgd@google.com>
2669
2670 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2671 have predictable order.
2672
2673 2012-03-01 David S. Miller <davem@davemloft.net>
2674
2675 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2676
2677 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2678 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2679 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2680 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2681
2682 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2683 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2684 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2686 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2687 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2688 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2689 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2690 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2691
2692 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2693
2694 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2695 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2696 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2697
2698 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2699 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2700 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2701 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2702 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2703 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2704 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2705 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2706 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2707 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2708 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2709 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2710 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2711 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2712 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2713 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2714 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2715 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2716 * sysdeps/sparc/elf/configure: Regenerated.
2717
2718 2012-03-01 Joseph Myers <joseph@codesourcery.com>
2719
2720 * configure.in (AS, LD): Require binutils 2.20 or later.
2721 * configure: Regenerated.
2722 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2723 as required minimum version.
2724 * INSTALL: Regenerated.
2725
2726 [BZ #2541]
2727 [BZ #4108]
2728 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2729 before squaring exponent.
2730 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2731 bottom long double and 27 bits of top long double before squaring
2732 exponent.
2733 * math/libm-test.inc (erfc_test): Add more tests.
2734 * sysdeps/i386/fpu/libm-test-ulps: Update.
2735 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2737
2738 2012-03-01 Kai Tietz <ktietz@redhat.com>
2739
2740 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2741 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2742 containing bit-fields.
2743 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2744 * soft-fp/single.h (_FP_UNION_S): Likewise.
2745 * soft-fp/double.h (_FP_UNION_D): Likewise.
2746
2747 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2748
2749 [BZ #13786]
2750 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2751 not include ../strcmp.S.
2752 [USE_AS_STRNCASECMP_L]: Likewise.
2753 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2754 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2755 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2756 (__strncasecmp_l_ia32): Define as alias to
2757 __strncasecmp_l_nonascii.
2758
2759 [BZ #5794]
2760 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2761 * sysdeps/i386/fpu/libm-test-ulps: Update.
2762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2763
2764 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2766
2767 2012-02-29 Jeff Law <law@redhat.com>
2768
2769 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2770 out of bounds read.
2771
2772 2012-02-29 Marek Polacek <polacek@redhat.com>
2773
2774 [BZ #13706]
2775 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2776 * elf/Makefile: Add rules to run tst-unused-dep.out.
2777
2778 2012-02-28 David S. Miller <davem@davemloft.net>
2779
2780 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2781 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2782 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2783 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2784 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2785 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2786
2787 2012-02-29 Joseph Myers <joseph@codesourcery.com>
2788
2789 * math/libm-test.inc (llround_test): Move one test from
2790 lround_test. Use TEST_f_L in moved test.
2791 (lround_test): Move misplaced test to llround_test. Add testcase
2792 from bug 2561.
2793
2794 2012-02-28 Ulrich Drepper <drepper@gmail.com>
2795
2796 * sysdeps/x86_64/fpu/e_expf.S: New file.
2797 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2798
2799 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2800
2801 [BZ #13637]
2802 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2803 of remain_len that may cause incomplete multi-byte character and
2804 false match.
2805 * posix/bug-regex33.c: New file.
2806 * posix/Makefile (tests): Add bug-regex33.
2807
2808 2012-02-28 Joseph Myers <joseph@codesourcery.com>
2809
2810 * manual/macros.texi: New file.
2811 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2812 * manual/libc.texinfo: Include macros.texi.
2813 * manual/creatute.texi: Likewise.
2814 * manual/install.texi: Likewise.
2815 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2816 @glibcadj{} in references to the GNU C Library.
2817 * manual/charset.texi: Likewise.
2818 * manual/conf.texi: Likewise.
2819 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2820 when not using those macros.
2821 * manual/creature.texi: Likewise.
2822 * manual/crypt.texi: Likewise.
2823 * manual/errno.texi: Likewise.
2824 * manual/filesys.texi: Likewise.
2825 * manual/header.texi: Likewise.
2826 * manual/install.texi: Likewise.
2827 * manual/intro.texi: Likewise.
2828 * manual/io.texi: Likewise.
2829 * manual/job.texi: Likewise.
2830 * manual/lang.texi: Likewise.
2831 * manual/libc.texiinfo: Likewise.
2832 * manual/llio.texi: Likewise.
2833 * manual/locale.texi: Likewise.
2834 * manual/maint.texi: Likewise.
2835 * manual/math.texi: Likewise.
2836 * manual/memory.texi: Likewise.
2837 * manual/message.texi: Likewise.
2838 * manual/nss.texi: Likewise.
2839 * manual/pattern.texi: Likewise.
2840 * manual/process.texi: Likewise.
2841 * manual/resource.texi: Likewise.
2842 * manual/search.texi: Likewise.
2843 * manual/setjmp.texi: Likewise.
2844 * manual/signal.texi: Likewise.
2845 * manual/socket.texi: Likewise.
2846 * manual/startup.texi: Likewise.
2847 * manual/stdio.texi: Likewise.
2848 * manual/string.texi: Likewise.
2849 * manual/sysinfo.texi: Likewise.
2850 * manual/syslog.texi: Likewise.
2851 * manual/terminal.texi: Likewise.
2852 * manual/time.texi: Likewise.
2853 * manual/users.texi: Likewise.
2854 * INSTALL: Regenerated.
2855 * NOTES: Regenerated.
2856 * sysdeps/gnu/errlist.c: Regenerated.
2857
2858 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2859
2860 * include/dirent.h: Include <dirstream.h> before
2861 <dirent/dirent.h>.
2862
2863 2012-02-28 David S. Miller <davem@davemloft.net>
2864
2865 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2866 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2867 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2868 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2869
2870 2012-02-27 David S. Miller <davem@davemloft.net>
2871
2872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2874 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2875 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2876
2877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2878 frame pointer instead of stack pointer relative arg slot.
2879 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2880 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2881 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2882
2883 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2884
2885 [BZ #3992]
2886 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2887
2888 2012-02-27 David S. Miller <davem@davemloft.net>
2889
2890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2892 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2894 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2895 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2896 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2897 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2898
2899 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2900
2901 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2902 later. Allow versions 5-9.
2903 * configure: Regenerated.
2904 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2905 required minimum version and 4.6 as recommended version. Do not
2906 mention bugs in GCC 2.7 and 2.8.
2907 * INSTALL: Regenerated.
2908
2909 2012-02-27 David S. Miller <davem@davemloft.net>
2910
2911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2913 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2914 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2915 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2916 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2917 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2918 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2919
2920 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2921 manipulate bits before adding and subtracting TWO112[sx].
2922 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2923
2924 2012-02-27 Roland McGrath <roland@hack.frob.com>
2925
2926 [BZ #13775]
2927 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2928 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2929 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2930 being in POSIX, because they are in 1003.1-2008.
2931
2932 * rt/tst-aio.c: Include <fcntl.h>.
2933 * rt/tst-aio7.c: Likewise.
2934 * rt/tst-aio64.c: Likewise.
2935
2936 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2937
2938 2012-02-27 Joseph Myers <joseph@codesourcery.com>
2939
2940 * manual/install.texi (--with-headers): Describe headers as
2941 interface headers, not private headers.
2942 (Specific advice for GNU/Linux systems): Describe use of headers
2943 from "make headers_install", not private headers from older
2944 kernels.
2945 * INSTALL: Regenerated.
2946 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2947 Change to 2.6.19.
2948 * sysdeps/unix/sysv/linux/configure: Regenerated.
2949
2950 * manual/llio.texi (fclean): Remove documentation.
2951
2952 * manual/Makefile (libc-texi-generated): New variable. Include
2953 version.texi.
2954 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2955 $(libc-texi-generated), not duplicated list of files.
2956 (version.texi, stamp-version): New rules.
2957 (realclean): Remove $(libc-texi-generated), not individual files
2958 from that list. Do not remove dir-add.texinfo.
2959 * manual/libc.texinfo: Comment out uses of edition numbers and
2960 references to printed manual. Remove last-updated dates.
2961 (EDITION): Comment out.
2962 (ISBN): Likewise.
2963 (VERSION, UPDATED): Remove.
2964 (version.texi): Include.
2965
2966 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2967
2968 * sysdeps/posix/spawni.c: Include <signal.h>.
2969 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2970 * sysdeps/pthread/aio_fsync.c: Likewise.
2971
2972 2012-02-26 Ulrich Drepper <drepper@gmail.com>
2973
2974 * conform/Makefile (tests): Run only when not cross-compiling and
2975 when fast-check is not defined.
2976
2977 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2978 * conform/data/limits.h-data: Fixes for POSIX2008.
2979 * conform/run-conformtest.sh: Run all tests.
2980 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2981 headers.
2982 * include/bits/dlfcn.h: Likewise.
2983 * include/langinfo.h: Likewise.
2984 * include/monetary.h: Likewise.
2985 * include/sys/poll.h: Likewise.
2986
2987 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2988 for __USE_GNU.
2989 * posix/spawn.h: Define __need_sigset_t.
2990 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2991 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2992 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2993 to get sigevent_t only.
2994 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2995 only for __USE_GNU.
2996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2997 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2998 process_vm_writev only for __USE_GNU.
2999 * termios/termios.h: Declare tcgetsid also for POSIX2008.
3000
3001 * conform/Makefile: For now ignore errors from run-conformtest.
3002 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
3003 POSIX to avoid namespace pollution. Don't prepend headers.
3004 * conform/data/aio.h-data: Fixes for POSIX testing.
3005 * conform/data/fcntl.h-data: Likewise.
3006 * conform/data/glob.h-data: Likewise.
3007 * conform/data/grp.h-data: Likewise.
3008 * conform/data/pthread.h-data: Likewise.
3009 * conform/data/pwd.h-data: Likewise.
3010 * conform/data/signal.h-data: Likewise.
3011 * conform/data/spawn.h-data: Likewise.
3012 * conform/data/stdio.h-data: Likewise.
3013 * conform/data/stdlib.h-data: Likewise.
3014 * conform/data/stropts.h-data: Likewise.
3015 * conform/data/sys/mman.h-data: Likewise.
3016 * conform/data/sys/stat.h-data: Likewise.
3017 * conform/data/sys/types.h-data: Likewise.
3018 * conform/data/sys/wait.h-data: Likewise.
3019 * conform/data/time.h-data: Likewise.
3020 * conform/data/unistd.h-data: Likewise.
3021 * conform/data/utime.h-data: Likewise.
3022
3023 * io/sys/stat.h: fchmod was always in POSIX.
3024 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
3025 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
3026 * rt/aio.h: Define __need_timespec before including <time.h>.
3027 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
3028 struct. Add forward declaration of pthread_attr_t and use it in
3029 sigevent.
3030 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
3031 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
3032 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
3033 always remove CLK_TCK definition.
3034
3035 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
3036
3037 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
3038
3039 2012-02-25 Ulrich Drepper <drepper@gmail.com>
3040
3041 * conform/run-conformtest.sh: New file.
3042 * conform/Makefile: Run run-conformtest for tests.
3043 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3044 support.
3045
3046 * conform/data/uchar.h-data: New file.
3047 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3048 * conform/data/arpa/inet.h-data: Likewise.
3049 * conform/data/assert.h-data: Likewise.
3050 * conform/data/complex.h-data: Likewise.
3051 * conform/data/cpio.h-data: Likewise.
3052 * conform/data/ctype.h-data: Likewise.
3053 * conform/data/dirent.h-data: Likewise.
3054 * conform/data/dlfcn.h-data: Likewise.
3055 * conform/data/errno.h-data: Likewise.
3056 * conform/data/fcntl.h-data: Likewise.
3057 * conform/data/float.h-data: Likewise.
3058 * conform/data/fmtmsg.h-data: Likewise.
3059 * conform/data/fnmatch.h-data: Likewise.
3060 * conform/data/ftw.h-data: Likewise.
3061 * conform/data/glob.h-data: Likewise.
3062 * conform/data/grp.h-data: Likewise.
3063 * conform/data/iconv.h-data: Likewise.
3064 * conform/data/inttypes.h-data: Likewise.
3065 * conform/data/langinfo.h-data: Likewise.
3066 * conform/data/libgen.h-data: Likewise.
3067 * conform/data/limits.h-data: Likewise.
3068 * conform/data/locale.h-data: Likewise.
3069 * conform/data/math.h-data: Likewise.
3070 * conform/data/monetary.h-data: Likewise.
3071 * conform/data/mqueue.h-data: Likewise.
3072 * conform/data/ndbm.h-data: Likewise.
3073 * conform/data/net/if.h-data: Likewise.
3074 * conform/data/netdb.h-data: Likewise.
3075 * conform/data/netinet/in.h-data: Likewise.
3076 * conform/data/nl_types.h-data: Likewise.
3077 * conform/data/poll.h-data: Likewise.
3078 * conform/data/pthread.h-data: Likewise.
3079 * conform/data/pwd.h-data: Likewise.
3080 * conform/data/regex.h-data: Likewise.
3081 * conform/data/sched.h-data: Likewise.
3082 * conform/data/search.h-data: Likewise.
3083 * conform/data/semaphore.h-data: Likewise.
3084 * conform/data/setjmp.h-data: Likewise.
3085 * conform/data/signal.h-data: Likewise.
3086 * conform/data/spawn.h-data: Likewise.
3087 * conform/data/stdarg.h-data: Likewise.
3088 * conform/data/stdio.h-data: Likewise.
3089 * conform/data/stdlib.h-data: Likewise.
3090 * conform/data/string.h-data: Likewise.
3091 * conform/data/strings.h-data: Likewise.
3092 * conform/data/stropts.h-data: Likewise.
3093 * conform/data/sys/ipc.h-data: Likewise.
3094 * conform/data/sys/mman.h-data: Likewise.
3095 * conform/data/sys/msg.h-data: Likewise.
3096 * conform/data/sys/resource.h-data: Likewise.
3097 * conform/data/sys/select.h-data: Likewise.
3098 * conform/data/sys/sem.h-data: Likewise.
3099 * conform/data/sys/shm.h-data: Likewise.
3100 * conform/data/sys/socket.h-data: Likewise.
3101 * conform/data/sys/stat.h-data: Likewise.
3102 * conform/data/sys/statvfs.h-data: Likewise.
3103 * conform/data/sys/time.h-data: Likewise.
3104 * conform/data/sys/timeb.h-data: Likewise.
3105 * conform/data/sys/times.h-data: Likewise.
3106 * conform/data/sys/types.h-data: Likewise.
3107 * conform/data/sys/uio.h-data: Likewise.
3108 * conform/data/sys/un.h-data: Likewise.
3109 * conform/data/sys/utsname.h-data: Likewise.
3110 * conform/data/sys/wait.h-data: Likewise.
3111 * conform/data/syslog.h-data: Likewise.
3112 * conform/data/tar.h-data: Likewise.
3113 * conform/data/termios.h-data: Likewise.
3114 * conform/data/utime.h-data: Likewise.
3115 * conform/data/utmpx.h-data: Likewise.
3116 * conform/data/varargs.h-data: Likewise.
3117 * conform/data/wchar.h-data: Likewise.
3118 * conform/data/wctype.h-data: Likewise.
3119 * conform/data/wordexp.h-data: Likewise.
3120
3121 * include/stropts.h: New file.
3122 * include/uchar.h: New file.
3123 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3124 * include/assert.h: Likewise.
3125 * include/ctype.h: Likewise.
3126 * include/dirent.h: Likewise.
3127 * include/dlfcn.h: Likewise.
3128 * include/fcntl.h: Likewise.
3129 * include/fnmatch.h: Likewise.
3130 * include/glob.h: Likewise.
3131 * include/grp.h: Likewise.
3132 * include/libio.h: Likewise.
3133 * include/locale.h: Likewise.
3134 * include/math.h: Likewise.
3135 * include/net/if.h: Likewise.
3136 * include/netdb.h: Likewise.
3137 * include/netinet/in.h: Likewise.
3138 * include/pthread.h: Likewise.
3139 * include/pwd.h: Likewise.
3140 * include/regex.h: Likewise.
3141 * include/sched.h: Likewise.
3142 * include/search.h: Likewise.
3143 * include/setjmp.h: Likewise.
3144 * include/signal.h: Likewise.
3145 * include/stdio.h: Likewise.
3146 * include/stdlib.h: Likewise.
3147 * include/string.h: Likewise.
3148 * include/sys/cdefs.h: Likewise.
3149 * include/sys/mman.h: Likewise.
3150 * include/sys/msg.h: Likewise.
3151 * include/sys/resource.h: Likewise.
3152 * include/sys/select.h: Likewise.
3153 * include/sys/socket.h: Likewise.
3154 * include/sys/stat.h: Likewise.
3155 * include/sys/statvfs.h: Likewise.
3156 * include/sys/time.h: Likewise.
3157 * include/sys/times.h: Likewise.
3158 * include/sys/uio.h: Likewise.
3159 * include/sys/utsname.h: Likewise.
3160 * include/sys/wait.h: Likewise.
3161 * include/termios.h: Likewise.
3162 * include/time.h: Likewise.
3163 * include/ulimit.h: Likewise.
3164 * include/unistd.h: Likewise.
3165 * include/utime.h: Likewise.
3166 * include/wchar.h: Likewise.
3167 * include/wctype.h: Likewise.
3168 * include/wordexp.h: Likewise.
3169
3170 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3171
3172 * time/time.h: TIME_UTC must be a macro.
3173 Make timespec_get available for ISO C11 only as well.
3174
3175 2012-02-24 Ulrich Drepper <drepper@gmail.com>
3176
3177 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3178 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3179
3180 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3181
3182 * configure.in: Use -o not -a in test for unsupported multi-arch.
3183
3184 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3185
3186 * manual/texinfo.tex: Update to version 2012-01-19.16.
3187
3188 2012-02-24 Joseph Myers <joseph@codesourcery.com>
3189
3190 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3191
3192 2012-02-24 Roland McGrath <roland@hack.frob.com>
3193
3194 [BZ #13738]
3195 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3196 * manual/fdl-1.3.texi: New file.
3197 * manual/fdl-1.1.texi: File removed.
3198
3199 [BZ #13738]
3200 * manual/libc.texinfo (FDL_VERSION): New @set.
3201 Use it for mention of FDL in cover text.
3202 (Documentation License): Use it in @include file name.
3203
3204 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3205 Roland McGrath <roland@hack.frob.com>
3206
3207 [BZ #5461]
3208 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3209 not LONG_LONG_MAX and LONG_LONG_MIN.
3210 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3211 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3212 name.
3213 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3214
3215 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3216
3217 [BZ #2547]
3218 [BZ #11365]
3219 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3220 manipulate bits before adding and subtracting TWO23[sx].
3221 * math/libm-test.inc (nearbyint_test): Add more tests.
3222
3223 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3224
3225 [BZ #2548]
3226 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3227 bits before adding and subtracting TWO23[sx].
3228 * math/libm-test.inc (rint_test): Add more tests.
3229 (rint_test_tonearest): Likewise.
3230 (rint_test_towardzero): Likewise.
3231 (rint_test_downward): Likewise.
3232 (rint_test_upward: Likewise.
3233
3234 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3235
3236 [BZ #10110]
3237 * include/stdc-predef.h: New file. Extracted from features.h.
3238 * include/features.h: Include stdc-predef.h.
3239 * Makefile (headers): Add stdc-predef.h.
3240 * CONFORMANCE (Compiler limitations): Update.
3241
3242 2012-02-22 Joseph Myers <joseph@codesourcery.com>
3243
3244 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3245
3246 2012-02-21 David S. Miller <davem@davemloft.net>
3247
3248 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3249 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3250
3251 2012-02-20 David S. Miller <davem@davemloft.net>
3252
3253 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3254 using a normal save/restore sequence, rather than allocating a
3255 dummy stack frame just to store a frame pointer and restore.
3256 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3257
3258 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3259
3260 * manual/install.texi: Fix stray word in line-wrapped comment.
3261
3262 2012-02-20 David S. Miller <davem@davemloft.net>
3263
3264 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3265 both binutils and gcc support GOTDATA.
3266
3267 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3268 "rd %pc" in the PIC register setup sequences.
3269
3270 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3271 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3272 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3273 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3274 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3275 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3276 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3277 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3278 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3279 (SYSCALL_ERROR_HANDLER): Likewise.
3280 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3281 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3283 (SYSCALL_ERROR_HANDLER): Likewise.
3284
3285 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3286 (HAVE_GCC_GOTDATA): New.
3287 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3288 relocation support in both binutils and gcc.
3289 * sysdeps/sparc/elf/configure: Regenerate.
3290
3291 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3292 * sysdeps/sparc/sparc32/elf/configure: Delete.
3293 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3294 * sysdeps/sparc/sparc64/elf/configure: Delete.
3295 * sysdeps/sparc/elf/configure.in: New file.
3296 * sysdeps/sparc/elf/configure: Generate.
3297
3298 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3299 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3300 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3301 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3302 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3303
3304 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3305
3306 * manual/install.texi: Do not mention specific glibc version
3307 numbers.
3308 * manual/libc.texinfo (VERSION, UPDATED): Update.
3309 (@copying): Use @copyright{} and range of years.
3310
3311 2012-02-21 Joseph Myers <joseph@codesourcery.com>
3312
3313 [BZ #13695]
3314 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3315 [crti.S not in sysdirs] (generated): Do not append.
3316 [crti.S not in sysdirs] (omit-deps): Likewise.
3317 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3318 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3319 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3320 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3321 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3322 Likewise.
3323 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3324 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3325 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3326 * csu/defs.awk: Remove file.
3327 * sysdeps/generic/initfini.c: Likewise.
3328 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3329 variable.
3330 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3331 Likewise.
3332
3333 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3334
3335 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3336 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3337 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3338 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3339 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3340 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3341 <bits/epoll.h>.
3342 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3343 (__EPOLL_PACKED): Define to empty if not defined by
3344 <bits/epoll.h>.
3345 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3346 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3347 bits/epoll.h.
3348
3349 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3350
3351 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3352 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3353 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3354 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3355 <bits/timerfd.h>.
3356 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3358 bits/timerfd.h.
3359
3360 2012-02-20 Joseph Myers <joseph@codesourcery.com>
3361
3362 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3363 in C locale.
3364 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3365 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3366 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3368
3369 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3370
3371 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3372 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3373
3374 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3375
3376 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3377 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3378 defined.
3379 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3380 Likewise.
3381 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3382 entry for 2.16.
3383
3384 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3385
3386 * math/w_acos.c: Use non-signaling floating-point comparisons.
3387 * math/w_acosf.c: Likewise.
3388 * math/w_acosh.c: Likewise.
3389 * math/w_acoshf.c: Likewise.
3390 * math/w_acoshl.c: Likewise.
3391 * math/w_acosl.c: Likewise.
3392 * math/w_asin.c: Likewise.
3393 * math/w_asinf.c: Likewise.
3394 * math/w_asinl.c: Likewise.
3395 * math/w_atanh.c: Likewise.
3396 * math/w_atanhf.c: Likewise.
3397 * math/w_atanhl.c: Likewise.
3398 * math/w_exp2.c: Likewise.
3399 * math/w_exp2f.c: Likewise.
3400 * math/w_exp2l.c: Likewise.
3401 * math/w_j0.c: Likewise.
3402 * math/w_j0f.c: Likewise.
3403 * math/w_j0l.c: Likewise.
3404 * math/w_j1.c: Likewise.
3405 * math/w_j1f.c: Likewise.
3406 * math/w_j1l.c: Likewise.
3407 * math/w_jn.c: Likewise.
3408 * math/w_jnf.c: Likewise.
3409 * math/w_log.c: Likewise.
3410 * math/w_log10.c: Likewise.
3411 * math/w_log10f.c: Likewise.
3412 * math/w_log10l.c: Likewise.
3413 * math/w_log2.c: Likewise.
3414 * math/w_log2f.c: Likewise.
3415 * math/w_log2l.c: Likewise.
3416 * math/w_logf.c: Likewise.
3417 * math/w_logl.c: Likewise.
3418 * math/w_sqrt.c: Likewise.
3419 * math/w_sqrtf.c: Likewise.
3420 * math/w_sqrtl.c: Likewise.
3421 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3422 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3423 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3424 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3425 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3426
3427 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3428
3429 [BZ #9739]
3430 * manual/string.texi (strnlen): Use correct parameter name in
3431 equivalent expression.
3432
3433 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3434
3435 [BZ #11174]
3436 * manual/users.texi (seteuid): Consistently use neweuid for
3437 argument name.
3438
3439 2012-02-19 Joseph Myers <joseph@codesourcery.com>
3440
3441 [BZ #13704]
3442 * manual/nss.texi (Services in the NSS configuration): Correct
3443 list of services in example configuration file.
3444
3445 2012-02-19 Nick Bowler <nbowler@draconx.ca>
3446
3447 [BZ #11322]
3448 * manual/arith.texi: Remove statements about negative zero
3449 behaving identically to zero.
3450
3451 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3452
3453 [BZ #5993]
3454 * manual/install.texi: Do not document upgrading from libc5.
3455
3456 2012-02-18 Joseph Myers <joseph@codesourcery.com>
3457
3458 [BZ #4596]
3459 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3460
3461 2012-02-18 David S. Miller <davem@davemloft.net>
3462
3463 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3464 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3465 %o7 across the call.
3466 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3467 instead.
3468 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3469 SETUP_PIC_REG_LEAF.
3470 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3471 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3472 * sysdeps/sparc/crtn.S: Likewise.
3473
3474 2012-02-17 Ulrich Drepper <drepper@gmail.com>
3475
3476 * aout/Makefile: Remove.
3477
3478 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3479
3480 [BZ #13058]
3481 * manual/examples/argp-ex1.c (main): Format definition in GNU
3482 style.
3483 * manual/examples/argp-ex2.c (main): Likewise.
3484 * manual/examples/argp-ex3.c (main): Likewise.
3485 * manual/examples/argp-ex4.c (main): Likewise.
3486 * manual/examples/longopt.c (main): Use new-style prototype
3487 definition.
3488 * manual/examples/strncat.c (main): Specify return type and use
3489 (void) for arguments.
3490 * manual/examples/subopt.c (main): Use char **argv argument.
3491
3492 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3493
3494 [BZ #5077]
3495 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3496 rounding modes.
3497
3498 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3499
3500 [BZ #6907]
3501 * manual/string.texi (strchr): Change when strchrnul is
3502 recommended.
3503
3504 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3505
3506 [BZ #174]
3507 * manual/locale.texi (setlocale): Document LOCPATH.
3508
3509 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3510
3511 [BZ #10210]
3512 * manual/process.texi (execle): Move @dots{} before last argument.
3513
3514 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
3515
3516 [BZ #12047]
3517 * manual/charset.texi (Generic Charset Conversion): Fix typo
3518 (LC_TYPE -> LC_CTYPE).
3519
3520 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3521
3522 [BZ #5805]
3523 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3524 (scalbnf): Likewise.
3525 (scalbnl): Likewise.
3526 (scalbln): Likewise.
3527 (scalblnf): Likewise.
3528 (scalblnl): Likewise.
3529 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3530 (vwarnx): Likewise.
3531 (verr): Likewise.
3532 (verrx): Likewise.
3533 * manual/filesys.texi (telldir): Use braces around return type.
3534 * manual/llio.texi (mmap): Add space after comma.
3535 (mmap64): Likewise.
3536 * manual/math.texi (jn): Use @var{} on parameter names.
3537 (jnf): Likewise.
3538 (jnl): Likewise.
3539 (yn): Likewise.
3540 (ynf): Likewise.
3541 (ynl): Likewise.
3542 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3543 line.
3544 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3545 "...".
3546 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3547 (sched_get_priority_max): Likewise.
3548 * manual/signal.texi (sigvec): Add space after comma.
3549 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3550 names.
3551 (if_indextoname): Likewise.
3552 (if_freenameindex): Likewise.
3553 (sendto): Use ',' instead of '.' in prototype.
3554 * manual/startup.texi (syscall): Use @dots{} instead of literal
3555 "...".
3556 * manual/stdio.texi (__fpending): Separate initial words of
3557 paragraph from @deftypefun line.
3558 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3559 "...".
3560 (vsyslog): Use @var{} on parameter names.
3561 * manual/terminal.texi (stty): Use @var{} on parameter names.
3562 * manual/users.texi (getutmp): Use @var{} on parameter names.
3563 (getutmpx): Likewise.
3564
3565 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3566
3567 [BZ #6884]
3568 * manual/stdio.texi (fopen): Fix typos in description of
3569 ",ccs=STRING".
3570
3571 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3572
3573 [BZ #4026]
3574 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3575 get clock_id definition.
3576
3577 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
3578
3579 [BZ #4822]
3580 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3581 (madvise): Cast every argument to void on its own.
3582
3583 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3584
3585 [BZ #9902]
3586 * manual/startup.texi (Exit Status): Fix typo.
3587
3588 2012-02-17 Joseph Myers <joseph@codesourcery.com>
3589
3590 [BZ #10140]
3591 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3592 * manual/examples/argp-ex2.c: Likewise.
3593 * manual/examples/argp-ex3.c: Likewise.
3594
3595 2012-02-16 Richard Henderson <rth@redhat.com>
3596
3597 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3598 * sysdeps/s390/s390-32/initfini.c: Remove.
3599 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3600 * sysdeps/s390/s390-64/initfini.c: Remove.
3601
3602 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3603
3604 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3605 compiler output for sysdeps/generic/initfini.c.
3606 * sysdeps/sh/elf/initfini.c: Remove file.
3607
3608 2012-02-16 David S. Miller <davem@davemloft.net>
3609
3610 [BZ #11494]
3611 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3612
3613 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3614 * sysdeps/sparc/crti.S: New file.
3615 * sysdeps/sparc/crtn.S: New file.
3616 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3617 * sysdeps/sparc/sparc64/Makefile: Likewise.
3618
3619 2012-02-15 Mike Frysinger <vapier@gentoo.org>
3620
3621 [BZ #3335]
3622 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3623
3624 2012-02-15 Roland McGrath <roland@hack.frob.com>
3625
3626 [BZ #4822]
3627 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3628
3629 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3630 (write, read, close): Likewise.
3631 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3632
3633 2012-02-15 Joseph Myers <joseph@codesourcery.com>
3634
3635 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3636 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3637 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3638 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3639 <bits/signalfd.h>.
3640 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3642 bits/signalfd.h.
3643
3644 2012-02-14 Marek Polacek <polacek@redhat.com>
3645
3646 * sysdeps/x86_64/crti.S: New file.
3647 * sysdeps/x86_64/crtn.S: New file.
3648 * sysdeps/x86_64/elf/initfini.c: Remove file.
3649
3650 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3651
3652 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3653 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3654 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3655 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3656 <bits/inotify.h>.
3657 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3658 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3659 bits/inotify.h.
3660
3661 2012-02-13 Joseph Myers <joseph@codesourcery.com>
3662
3663 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3664 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3665 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3666 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3667 <bits/eventfd.h>.
3668 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3670 bits/eventfd.h.
3671
3672 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3673
3674 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3675 __feraiseexcept instead of feraiseexcept.
3676
3677 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3678 nanosleep invocations.
3679 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3680 strings, and add error checking for a nanosleep invocations.
3681
3682 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3683
3684 Replace FSF snail mail address with URLs, as per GNU coding standards.
3685 Most of the snail mail addresses were wrong anyway, and omitting
3686 them makes the source code easier to maintain. Almost all of the
3687 changes are to license notices and to locale LC_IDENTIFICATION
3688 addresses, except for this one:
3689 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3690 not its snail mail address.
3691
3692 2012-02-09 Richard Henderson <rth@twiddle.net>
3693
3694 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3695 of kernel-features.h.
3696
3697 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3698
3699 2012-02-08 Marek Polacek <polacek@redhat.com>
3700
3701 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3702 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3703 * sysdeps/gnu/_G_config.h: Likewise.
3704 * sysdeps/generic/_G_config.h: Likewise.
3705
3706 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3707
3708 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3709 tests.
3710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3711
3712 * sysdeps/powerpc/powerpc32/crti.S: New file.
3713 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3714 * sysdeps/powerpc/powerpc64/crti.S: New file.
3715 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3716
3717 * Makeconfig (have-initfini): Don't set.
3718 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3719 * configure.in (nopic_initfini): Don't substitute.
3720 * config.h.in (HAVE_INITFINI): Don't #undef.
3721 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3722 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3723
3724 2012-02-08 Joseph Myers <joseph@codesourcery.com>
3725
3726 Support crti.S and crtn.S provided directly by architectures.
3727 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3728 [crti.S in sysdirs] (omit-deps): Likewise.
3729 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3730 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3731 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3732 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3733 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3734 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3735 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3736 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3737 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3738 compiler output for sysdeps/generic/initfini.c.
3739 * sysdeps/i386/elf/Makefile: Remove file.
3740 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3741
3742 2012-02-07 Marek Polacek <polacek@redhat.com>
3743
3744 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3745 * sysdeps/gnu/_G_config.h: Likewise.
3746 * sysdeps/mach/hurd/_G_config.h: Likewise.
3747
3748 2012-02-07 Marek Polacek <polacek@redhat.com>
3749
3750 * math/Makefile (tests): Add tst-CMPLX2.
3751 * math/tst-CMPLX2.c: New file.
3752
3753 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3754
3755 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3756
3757 * math/libm-test.inc (jn_test): Add missing L suffix.
3758
3759 2012-02-06 Marek Polacek <polacek@redhat.com>
3760
3761 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3762 * sysdeps/i386/fpu/e_powf.S: Likewise.
3763 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3764 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3765 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3766 * sysdeps/i386/fpu/e_pow.S: Likewise.
3767 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3768 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3769 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3770 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3771 * sysdeps/i386/fpu/e_log2.S: Likewise.
3772 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3773 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3774 * sysdeps/i386/fpu/e_powl.S: Likewise.
3775 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3776 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3777 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3778 * sysdeps/i386/fpu/e_logl.S: Likewise.
3779 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3780 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3781 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3782 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3783 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3784 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3785 * sysdeps/i386/fpu/e_log.S: Likewise.
3786 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3787 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3788 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3789 * sysdeps/i386/fpu/e_logf.S: Likewise.
3790 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3791 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3792 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3793 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3794 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3795 * sysdeps/i386/fpu/e_log10.S: Likewise.
3796 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3797 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3798 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3799 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3800 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3801 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3802 * sysdeps/i386/asm-syntax.h: Likewise.
3803 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3804 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3805 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3806 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3807 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3808 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3809 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3810 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3811 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3812 * sysdeps/powerpc/sysdep.h: Likewise.
3813 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3814 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3815
3816 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3817
3818 [BZ #411]
3819 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3820
3821 2012-02-06 Joseph Myers <joseph@codesourcery.com>
3822
3823 * sysdeps/i386/sysdep.h: Include <features.h>.
3824 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3825 version.
3826
3827 2012-02-05 Joseph Myers <joseph@codesourcery.com>
3828
3829 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3830 Define.
3831 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3832 LOAD_PIC_REG_STR.
3833
3834 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3835
3836 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3837 (SETUP_PIC_REG): Use GET_PC_THUNK.
3838 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3839 macro.
3840
3841 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3842
3843 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3844 for non-PIC compilation.
3845 (SETUP_PIC_REG): Add .p2align directive.
3846 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3847 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3848 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3849 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3850 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3851 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3852 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3853 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3854 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3855 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3856 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3857 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3858 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3859 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3860 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3861 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3862 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3863 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3864 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3865 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3866 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3867 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3868 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3869 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3870 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3871 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3872 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3873 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3874 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3875 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3876 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3877 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3878 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3879 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3880 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3881 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3882 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3883 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3884 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3885 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3886 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3887
3888 2012-02-03 Joseph Myers <joseph@codesourcery.com>
3889
3890 * math/tst-CMPLX.c: Include <stdio.h>.
3891
3892 2012-01-31 Joseph Myers <joseph@codesourcery.com>
3893
3894 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3895 float.
3896 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3897 * sysdeps/sparc/bits/mathdef.h: Likewise.
3898
3899 2012-01-31 Marek Polacek <polacek@redhat.com>
3900
3901 * libio/libio.h: Don't define _PARAMS.
3902 * locale/programs/config.h: Don't define PARAMS.
3903 * stdlib/strtol_l.c: Likewise.
3904 (__strtol_l): Remove PARAMS from the prototype.
3905
3906 2012-01-31 Ulrich Drepper <drepper@gmail.com>
3907
3908 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3909 names. Just use the correct names. Remove unnecessary wrapper
3910 functions.
3911 * malloc/arena.c: Likewise.
3912 * malloc/hooks.c: Likewise.
3913
3914 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3915 ARENA_TEST says not to. Simplify test for creation of a new arena.
3916 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3917
3918 2012-01-30 Ulrich Drepper <drepper@gmail.com>
3919
3920 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3921 into tail calls.
3922 (update_get_addr): New function.
3923 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3924 GET_ADDR_MODULE parameter.
3925
3926 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3927
3928 * crypt/cert.c: Remove __STDC__ conditionals.
3929 * crypt/crypt-entry.c: Likewise.
3930 * crypt/crypt_util.c: Likewise.
3931 * libio/filedoalloc.c: Likewise.
3932 * libio/fileops.c: Likewise.
3933 * libio/genops.c: Likewise.
3934 * libio/iofclose.c: Likewise.
3935 * libio/iofdopen.c: Likewise.
3936 * libio/iofopen.c: Likewise.
3937 * libio/iofopen64.c: Likewise.
3938 * libio/iogetdelim.c: Likewise.
3939 * libio/iopopen.c: Likewise.
3940 * libio/obprintf.c: Likewise.
3941 * libio/oldfileops.c: Likewise.
3942 * libio/oldiofclose.c: Likewise.
3943 * libio/oldiofdopen.c: Likewise.
3944 * libio/oldiofopen.c: Likewise.
3945 * libio/oldiopopen.c: Likewise.
3946 * libio/wfiledoalloc.c: Likewise.
3947 * libio/wgenops.c: Likewise.
3948 * locale/programs/xmalloc.c: Likewise.
3949 * misc/syslog.c: Likewise.
3950 * stdio-common/xbug.c: Likewise.
3951 * string/memchr.c: Likewise.
3952 * string/memcmp.c: Likewise.
3953 * string/memrchr.c: Likewise.
3954 * string/rawmemchr.c: Likewise.
3955 * sysdeps/posix/getcwd.c: Likewise.
3956 * time/strftime_l.c: Likewise.
3957
3958 2012-01-30 Joseph Myers <joseph@codesourcery.com>
3959
3960 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3961 * config.make.in (config-cflags-sse2avx): Define.
3962 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3963 Fix typo.
3964
3965 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3966
3967 * scripts/config.guess: Update from upstream config git repository.
3968 * scripts/config.sub: Likewise.
3969
3970 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3971
3972 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3973 (EM_NUM): Update.
3974 (R_TILEPRO_*, R_TILEGX_*): New macros.
3975
3976 * scripts/firstversions.awk: Fix bug in version range handling.
3977
3978 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3979
3980 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3981
3982 * include/sys/epoll.h: New file.
3983 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3984 libc_hidden_def.
3985
3986 2012-01-28 Ulrich Drepper <drepper@gmail.com>
3987
3988 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3989 Avoid unnecessary __WORDSIZE == 64 test.
3990 (fmaxf): Use VEX format if possible.
3991 (fmax): Likewise.
3992 (fminf): Likewise.
3993 (fmin): Likewise.
3994
3995 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3996 * math/math_private.h: Remove libc_fegetround* and
3997 libc_fesetround*.
3998 * sysdeps/i386/configure.in: Check for -msse2avx.
3999 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
4000 also if SSE2AVX is defined.
4001 Remove libc_fegetround* and libc_fesetround*.
4002 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
4003 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
4004 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
4005 of HAS_YMM_USABLE.
4006 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4007 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4008 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4009 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4010 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4011
4012 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
4013
4014 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4015
4016 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
4017 size is not set.
4018 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
4019
4020 2012-01-27 Ulrich Drepper <drepper@gmail.com>
4021
4022 [BZ #13618]
4023 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
4024 relocation.
4025 * Makeconfig (libm): Define.
4026 * elf/Makefile: Add rules to build and run tst-relsort1.
4027 * elf/tst-relsort1.c: New file.
4028 * elf/tst-relsort1mod1.c: New file.
4029 * elf/tst-relsort1mod2.c: New file.
4030
4031 2012-01-27 Joseph Myers <joseph@codesourcery.com>
4032
4033 * math/s_ldexp.c: Remove __STDC__ conditionals.
4034 * math/s_ldexpf.c: Likewise.
4035 * math/s_ldexpl.c: Likewise.
4036 * math/s_nextafter.c: Likewise.
4037 * math/s_nexttowardf.c: Likewise.
4038 * math/s_significand.c: Likewise.
4039 * math/s_significandf.c: Likewise.
4040 * math/s_significandl.c: Likewise.
4041 * math/w_jnl.c: Likewise.
4042 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4043 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4044 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4045 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4046 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4047 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4048 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4049 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4050 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4051 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4052 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4053 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4054 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4055 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4056 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4057 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4058 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4059 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4060 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4061 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4062 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4063 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4064 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4065 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4066 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4067 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4068 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4069 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4070 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4071 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4072 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4073 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4074 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4075 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4076 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4077 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4078 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4079 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4080 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4081 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4082 * sysdeps/ieee754/k_standard.c: Likewise.
4083 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4084 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4085 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4086 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4087 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4088 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4089 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4090 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4091 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4092 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4093 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4094 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4095 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4096 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4097 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4098 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4099 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4100 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4101 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4102 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4103 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4104 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4105 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4106 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4107 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4108 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4109 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4110 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4111 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4112 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4113 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4114 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4115 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4116 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4117 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4118 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4119 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4120 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4121 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4122 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4123 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4124 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4125 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4126 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4127 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4128 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4129 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4130 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4131 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4132 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4133 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4134 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4135 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4136 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4137 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4138 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4139 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4140 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4141 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4142 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4143 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4144 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4145 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4146 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4147 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4148 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4149 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4150 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4151 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4152 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4153 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4154 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4155 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4156 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4157 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4158 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4159 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4160 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4161 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4162 * sysdeps/ieee754/s_matherr.c: Likewise.
4163 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4164 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4165 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4166 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4167
4168 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4169
4170 * crypt/md5.h: Remove __STDC__ conditionals.
4171 * libio/libioP.h: Likewise.
4172 * locale/programs/config.h: Likewise.
4173 * sysdeps/generic/sysdep.h: Likewise.
4174 * sysdeps/i386/asm-syntax.h: Likewise.
4175 * sysdeps/s390/asm-syntax.h: Likewise.
4176 * sysdeps/unix/sysdep.h: Likewise.
4177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4179
4180 2012-01-26 Joseph Myers <joseph@codesourcery.com>
4181
4182 * libio/libio.h: Remove __STDC__ conditionals.
4183 * malloc/obstack.h: Likewise.
4184 * math/complex.h: Likewise.
4185 * math/math.h: Likewise.
4186 * sysdeps/generic/_G_config.h: Likewise.
4187 * sysdeps/gnu/_G_config.h: Likewise.
4188 * sysdeps/mach/hurd/_G_config.h: Likewise.
4189 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4190 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4191 * sysdeps/sparc/bits/mathdef.h: Likewise.
4192
4193 2012-01-26 Ulrich Drepper <drepper@gmail.com>
4194
4195 [BZ #13583]
4196 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4197 Clean up HAS_* macros.
4198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4199 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4200 possible.
4201 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4202 HAS_AVX.
4203 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4204 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4205 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4206 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4207 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4208
4209 2012-01-25 Joseph Myers <joseph@codesourcery.com>
4210
4211 * elf/tst-unique3.cc (gets): Remove declaration.
4212 * elf/tst-unique3lib.cc (gets): Likewise.
4213 * elf/tst-unique3lib2.cc (gets): Likewise.
4214 * elf/tst-unique4.cc (gets): Likewise.
4215
4216 2012-01-24 Ulrich Drepper <drepper@gmail.com>
4217
4218 * include/stdio.h: Add C++ protection. Add gets declarations and
4219 definitions.
4220 * debug/tst-chk1.c: Don't declare gets here.
4221 * stdio-common/tst-gets.c: Likewise.
4222
4223 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4224
4225 * posix/glob: Remove directory.
4226
4227 2012-01-24 Joseph Myers <joseph@codesourcery.com>
4228
4229 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4230
4231 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4232
4233 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4234 of the non-standard EPFNOSUPPORT.
4235
4236 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4237
4238 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4239 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4240 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4241
4242 2012-01-21 Ulrich Drepper <drepper@gmail.com>
4243
4244 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4245
4246 2012-01-20 Ulrich Drepper <drepper@gmail.com>
4247
4248 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4249 transient errors.
4250 * nscd/grpcache.c (cache_addgr): Likewise.
4251 * nscd/hstcache.c (cache_addhst): Likewise.
4252 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4253 * nscd/pwdcache.c (cache_addpw): Likewise.
4254 * nscd/servicescache.c (cache_addserv): Likewise.
4255
4256 2012-01-16 Ulrich Drepper <drepper@gmail.com>
4257
4258 * malloc/malloc.c: Various cleanups.
4259 * malloc/hooks.c: Likewise.
4260
4261 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4262 * stdlib/bug-fmtmsg1.c: New file.
4263
4264 * stdlib/fmtmsg.c (init): Add missing unlock.
4265 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4266
4267 2012-01-12 Marek Polacek <polacek@redhat.com>
4268
4269 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4270 and _GNU_SOURCE.
4271
4272 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4273
4274 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4275 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4276 macro to ensure uniqueness of label name.
4277 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4278 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4279
4280 2012-01-11 Ulrich Drepper <drepper@gmail.com>
4281
4282 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4283
4284 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4285 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4286 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4287 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4288
4289 2012-01-10 Ulrich Drepper <drepper@gmail.com>
4290
4291 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4292
4293 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4294 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4295 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4296
4297 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4298
4299 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4300 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4301 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4302 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4303
4304 * math/bits/math-finite.h: Add ldexp support.
4305
4306 2012-01-10 Marek Polacek <polacek@redhat.com>
4307
4308 * locale/programs/localedef.h (show_archive_content): Add noreturn
4309 attribute.
4310
4311 2012-01-09 Ulrich Drepper <drepper@gmail.com>
4312
4313 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4314
4315 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4316
4317 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4318
4319 * io/Makefile (headers): Add bits/poll2.h.
4320
4321 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4322
4323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4324 typo #include statement.
4325
4326 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4327
4328 * include/sys/cdefs.h: Define __attribute_alloc_size.
4329 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4330 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4331 * elf/pldd.c: Likewise.
4332 * iconv/iconv_charmap.c: Likewise.
4333 * iconv/iconvconfig.c: Likewise.
4334 * iconv/strtab.c: Likewise.
4335 * locale/programs/locale.c: Likewise.
4336 * locale/programs/localedef.h: Likewise.
4337 * locale/programs/simple-hash.c: Likewise.
4338 * nscd/nscd.h: Likewise.
4339 * nss/makedb.c: Likewise.
4340 * sysdeps/generic/ldconfig.h: Likewise.
4341 * locale/programs/localedef.c: Remove xmalloc prototype.
4342 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4343
4344 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4345
4346 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4347 appropriate.
4348
4349 2012-01-08 Ulrich Drepper <drepper@gmail.com>
4350
4351 * math/Makefile (tests): Add tst-CMPLX.
4352 * math/tst-CMPLX.c: New file.
4353
4354 * math/complex.h (CMPLXL): Fix typo.
4355
4356 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4357 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4358 GLIBC_2.16.
4359 * debug/tst-chk1.c: Add poll and ppoll tests.
4360 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4361 * include/sys/poll.h: Add hidden proto for ppoll.
4362 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4363 * sysdeps/mach/hurd/ppoll.c: Likewise.
4364 * io/ppoll.c: Likewise.
4365 * debug/poll_chk.c: New file.
4366 * debug/ppoll_chk.c: New file.
4367 * include/bits/poll2.h: New file.
4368 * io/bits/poll2.h: New file.
4369
4370 [BZ #1350]
4371 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4372
4373 * configure.in: static is always set to yes. Remove.
4374 * config.make.in: Don't set build-static.
4375 * Makeconfig: Remove use of build-static.
4376 * dlfcn/Makefile: Likewise.
4377 * elf/Makefile: Likewise.
4378 * math/Makefile: Likewise.
4379 * misc/Makefile: Likewise.
4380 * nptl/Makefile: Likewise.
4381 * sysdeps/mach/hurd/Makefile: Likewise.
4382
4383 * configure.in: PWD_P is not used anymore.
4384 * config.make.in: Remove PWD_P entry.
4385
4386 * configure.in: Remove last remnants of RANLIB.
4387 No need to check for signed size_t anymore.
4388 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4389 and IA-64.
4390 Remove __builtin_expect test because we require at least gcc 3.4.
4391 * aclocal.m4: Likewise.
4392
4393 * wcsmbs/mbrtoc16.c: Implement using towc function.
4394 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4395 * wcsmbs/wcsmbsload.c: Likewise.
4396 * iconv/gconv_simple.c: Likewise.
4397 * iconv/gconv_int.h: Likewise.
4398 * iconv/gconv_builtin.h: Likewise.
4399 * iconv/iconv_prog.c: Remove CHAR16 handling.
4400
4401 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4402
4403 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4404
4405 * configure.in: Remove --with-elf and --enable-bounded options.
4406 Dont set base_machine for ia64. More non-ELF conditions removed.
4407 Remove testing and setting of leading underscore information.
4408 * config.make.in (build-bounded): Set to no.
4409 * config.h.in: Remove NO_UNDERSCORES entry.
4410 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4411 them.
4412 * csu/start.c: Remove !NO_UNDERSCORE code.
4413 * locale/localeinfo.h: Likewise.
4414 * sysdeps/generic/machine-gmon.h: Likewise.
4415 * sysdeps/generic/sysdep.h: Likewise.
4416 * sysdeps/i386/sysdep.h: Likewise.
4417 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4418 * sysdeps/mach/sysdep.h: Likewise.
4419 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4420 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4421 * sysdeps/sh/sysdep.h: Likewise.
4422 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4423 * sysdeps/unix/i386/sysdep.S: Likewise.
4424 * sysdeps/unix/sparc/start.c: Likewise.
4425 * sysdeps/unix/sparc/sysdep.S: Likewise.
4426 * sysdeps/unix/sparc/sysdep.h: Likewise.
4427 * sysdeps/unix/start.c: Likewise.
4428 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4429 * sysdeps/x86_64/sysdep.h: Likewise.
4430
4431 2012-01-07 Ulrich Drepper <drepper@gmail.com>
4432
4433 [BZ #13553]
4434 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4435 for non-gcc.
4436 * argp/argp-fmtstream.h: Use const instead __const.
4437 * argp/argp.h: Likewise.
4438 * assert/assert.h: Likewise.
4439 * bits/fenv.h: Likewise.
4440 * bits/sched.h: Likewise.
4441 * bits/sigset.h: Likewise.
4442 * bits/sigthread.h: Likewise.
4443 * catgets/nl_types.h: Likewise.
4444 * conform/data/pthread.h-data: Likewise.
4445 * crypt/crypt-private.h: Likewise.
4446 * crypt/crypt.h: Likewise.
4447 * crypt/crypt_util.c: Likewise.
4448 * ctype/ctype.h: Likewise.
4449 * debug/execinfo.h: Likewise.
4450 * debug/mbsnrtowcs_chk.c: Likewise.
4451 * debug/mbsrtowcs_chk.c: Likewise.
4452 * debug/wcsnrtombs_chk.c: Likewise.
4453 * debug/wcsrtombs_chk.c: Likewise.
4454 * debug/wcstombs_chk.c: Likewise.
4455 * dirent/dirent.h: Likewise.
4456 * dlfcn/dlfcn.h: Likewise.
4457 * elf/neededtest4.c: Likewise.
4458 * grp/grp.h: Likewise.
4459 * gshadow/gshadow.h: Likewise.
4460 * iconv/gconv.h: Likewise.
4461 * iconv/gconv_int.h: Likewise.
4462 * iconv/gconv_simple.c: Likewise.
4463 * iconv/iconv.h: Likewise.
4464 * iconv/loop.c: Likewise.
4465 * iconv/skeleton.c: Likewise.
4466 * include/aio.h: Likewise.
4467 * include/aliases.h: Likewise.
4468 * include/argz.h: Likewise.
4469 * include/arpa/inet.h: Likewise.
4470 * include/assert.h: Likewise.
4471 * include/dirent.h: Likewise.
4472 * include/dlfcn.h: Likewise.
4473 * include/execinfo.h: Likewise.
4474 * include/fcntl.h: Likewise.
4475 * include/fenv.h: Likewise.
4476 * include/glob.h: Likewise.
4477 * include/grp.h: Likewise.
4478 * include/libintl.h: Likewise.
4479 * include/mntent.h: Likewise.
4480 * include/netdb.h: Likewise.
4481 * include/pwd.h: Likewise.
4482 * include/rpc/netdb.h: Likewise.
4483 * include/sched.h: Likewise.
4484 * include/search.h: Likewise.
4485 * include/shadow.h: Likewise.
4486 * include/signal.h: Likewise.
4487 * include/stdio.h: Likewise.
4488 * include/stdlib.h: Likewise.
4489 * include/string.h: Likewise.
4490 * include/sys/socket.h: Likewise.
4491 * include/sys/stat.h: Likewise.
4492 * include/sys/statfs.h: Likewise.
4493 * include/sys/statvfs.h: Likewise.
4494 * include/sys/syslog.h: Likewise.
4495 * include/sys/time.h: Likewise.
4496 * include/sys/uio.h: Likewise.
4497 * include/time.h: Likewise.
4498 * include/unistd.h: Likewise.
4499 * include/utmp.h: Likewise.
4500 * include/wchar.h: Likewise.
4501 * include/wctype.h: Likewise.
4502 * inet/aliases.h: Likewise.
4503 * inet/arpa/inet.h: Likewise.
4504 * inet/netinet/ether.h: Likewise.
4505 * inet/netinet/in.h: Likewise.
4506 * intl/libintl.h: Likewise.
4507 * io/bits/fcntl2.h: Likewise.
4508 * io/fcntl.h: Likewise.
4509 * io/ftw.h: Likewise.
4510 * io/sys/poll.h: Likewise.
4511 * io/sys/stat.h: Likewise.
4512 * io/sys/statfs.h: Likewise.
4513 * io/sys/statvfs.h: Likewise.
4514 * io/utime.h: Likewise.
4515 * libio/bits/stdio.h: Likewise.
4516 * libio/bits/stdio2.h: Likewise.
4517 * libio/libio.h: Likewise.
4518 * libio/libioP.h: Likewise.
4519 * libio/stdio.h: Likewise.
4520 * locale/lc-ctype.c: Likewise.
4521 * locale/locale.h: Likewise.
4522 * login/utmp.h: Likewise.
4523 * malloc/arena.c: Likewise.
4524 * malloc/malloc.c: Likewise.
4525 * malloc/malloc.h: Likewise.
4526 * malloc/mcheck.c: Likewise.
4527 * malloc/mtrace.c: Likewise.
4528 * math/bits/mathcalls.h: Likewise.
4529 * math/fenv.h: Likewise.
4530 * math/math_private.h: Likewise.
4531 * misc/bits/error.h: Likewise.
4532 * misc/bits/syslog.h: Likewise.
4533 * misc/err.h: Likewise.
4534 * misc/error.h: Likewise.
4535 * misc/fstab.h: Likewise.
4536 * misc/mntent.h: Likewise.
4537 * misc/regexp.h: Likewise.
4538 * misc/search.h: Likewise.
4539 * misc/sgtty.h: Likewise.
4540 * misc/sys/mman.h: Likewise.
4541 * misc/sys/syslog.h: Likewise.
4542 * misc/sys/uio.h: Likewise.
4543 * misc/sys/xattr.h: Likewise.
4544 * misc/ttyent.h: Likewise.
4545 * nis/rpcsvc/ypclnt.h: Likewise.
4546 * nss/nss.h: Likewise.
4547 * posix/bits/unistd.h: Likewise.
4548 * posix/fnmatch.h: Likewise.
4549 * posix/glob.h: Likewise.
4550 * posix/sched.h: Likewise.
4551 * posix/spawn.h: Likewise.
4552 * posix/sys/wait.h: Likewise.
4553 * posix/unistd.h: Likewise.
4554 * posix/wordexp.h: Likewise.
4555 * pwd/pwd.h: Likewise.
4556 * resolv/netdb.h: Likewise.
4557 * resource/sys/resource.h: Likewise.
4558 * rt/aio.h: Likewise.
4559 * rt/bits/mqueue2.h: Likewise.
4560 * rt/mqueue.h: Likewise.
4561 * shadow/shadow.h: Likewise.
4562 * signal/signal.h: Likewise.
4563 * socket/send.c: Likewise.
4564 * socket/sendto.c: Likewise.
4565 * socket/sys/socket.h: Likewise.
4566 * stdio-common/printf.h: Likewise.
4567 * stdlib/bits/stdlib.h: Likewise.
4568 * stdlib/fmtmsg.h: Likewise.
4569 * stdlib/monetary.h: Likewise.
4570 * stdlib/stdlib.h: Likewise.
4571 * stdlib/ucontext.h: Likewise.
4572 * streams/stropts.h: Likewise.
4573 * string/argz.h: Likewise.
4574 * string/bits/string2.h: Likewise.
4575 * string/string.h: Likewise.
4576 * string/strings.h: Likewise.
4577 * sunrpc/rpc/auth.h: Likewise.
4578 * sunrpc/rpc/auth_des.h: Likewise.
4579 * sunrpc/rpc/clnt.h: Likewise.
4580 * sunrpc/rpc/netdb.h: Likewise.
4581 * sunrpc/rpc/pmap_clnt.h: Likewise.
4582 * sunrpc/rpc/xdr.h: Likewise.
4583 * sysdeps/generic/inttypes.h: Likewise.
4584 * sysdeps/generic/net/if.h: Likewise.
4585 * sysdeps/generic/sys/swap.h: Likewise.
4586 * sysdeps/gnu/net/if.h: Likewise.
4587 * sysdeps/gnu/utmpx.h: Likewise.
4588 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4589 * sysdeps/i386/i486/bits/string.h: Likewise.
4590 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4591 * sysdeps/s390/bits/string.h: Likewise.
4592 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4593 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4594 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4595 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4596 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4597 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4598 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4599 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4600 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4601 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4602 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4603 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4604 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4605 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4606 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4607 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4608 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4609 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4610 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4611 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4612 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4613 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4614 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4615 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4616 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4617 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4618 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4619 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4620 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4621 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4622 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4623 * sysvipc/sys/ipc.h: Likewise.
4624 * sysvipc/sys/msg.h: Likewise.
4625 * sysvipc/sys/sem.h: Likewise.
4626 * sysvipc/sys/shm.h: Likewise.
4627 * termios/termios.h: Likewise.
4628 * time/sys/time.h: Likewise.
4629 * time/time.h: Likewise.
4630 * wcsmbs/bits/wchar2.h: Likewise.
4631 * wcsmbs/uchar.h: Likewise.
4632 * wcsmbs/wchar.h: Likewise.
4633 * wctype/wctype.h: Likewise.
4634
4635 [BZ #13551]
4636 * Makeconfig: Remove all but ELF support including AIX support.
4637 * Makerules: Likewise.
4638 * config.h.in: Likewise.
4639 * config.make.in: Likewise.
4640 * configure: Likewise.
4641 * configure.in: Likewise.
4642 * csu/Makefile: Likewise.
4643 * csu/version.c: Likewise.
4644 * debug/Makefile: Likewise.
4645 * dlfcn/Makefile: Likewise.
4646 * elf/Makefile: Likewise.
4647 * extra-lib.mk: Likewise.
4648 * iconv/Makefile: Likewise.
4649 * include/libc-symbols.h: Likewise.
4650 * include/shlib-compat.h: Likewise.
4651 * resolv/Makefile: Likewise.
4652 * resolv/res_libc.c: Likewise.
4653 * rt/Makefile: Likewise.
4654 * sysdeps/i386/asm-syntax.h: Likewise.
4655 * sysdeps/i386/sysdep.h: Likewise.
4656 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4657 * sysdeps/mach/sysdep.h: Likewise.
4658 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4659 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4660 * sysdeps/s390/asm-syntax.h: Likewise.
4661 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4662 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4663 * sysdeps/sh/sysdep.h: Likewise.
4664 * sysdeps/unix/sparc/sysdep.h: Likewise.
4665 * sysdeps/wordsize-32/divdi3.c: Likewise.
4666 * sysdeps/x86_64/sysdep.h: Likewise.
4667
4668 * argp/Versions: Remove _argp_unlock_xxx.
4669
4670 [BZ #13559]
4671 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4672 * abilist/libBrokenLocale.abilist: Likewise.
4673 * abilist/libanl.abilist: Likewise.
4674 * abilist/libc.abilist: Likewise.
4675 * abilist/libcrypt.abilist: Likewise.
4676 * abilist/libdl.abilist: Likewise.
4677 * abilist/libm.abilist: Likewise.
4678 * abilist/libnsl.abilist: Likewise.
4679 * abilist/libpthread.abilist: Likewise.
4680 * abilist/libresolv.abilist: Likewise.
4681 * abilist/librt.abilist: Likewise.
4682 * abilist/libthread_db.abilist: Likewise.
4683 * abilist/libutil.abilist: Likewise.
4684 * abilist/libnss_db.abilist: New file.
4685
4686 * scripts/abilist.awk: Add support for indirect functions.
4687
4688 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4689
4690 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4691
4692 * shlib-versions: Remove entries for ports architectures.
4693
4694 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4695 files in ports.
4696 * elf/stackguard-macros.h: Remove support for IA-64.
4697 * elf/tst-auditmod1.c: Likewise.
4698 * sysdeps/generic/ldsodefs.h: Likewise.
4699
4700 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4701 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4702 configure files.
4703
4704 [BZ #13552]
4705 * configure.in: Remove --enable-omitfp support.
4706 * FAQ.in: Adjust.
4707 * config.make.in: Likewise.
4708 * Makeconfig: Likewise.
4709 * manual/install.texi: Likewise.
4710
4711 In case anyone cares, the IA-64 architecture could move to ports.
4712 * sysdeps/ia64/*: Removed.
4713 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4714 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4715
4716 [BZ #13555]
4717 * configure.in: Remove entries for unsupported architectures.
4718
4719 [BZ #13533]
4720 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4721 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4722 routines.
4723 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4724 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4725 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4726 fall back to using wcrtomb.
4727 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4728 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4729 renaming.
4730 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4731 * wcsmbs/tst-c16c32-1.c: New file.
4732
4733 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4734 local variable.
4735
4736 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4737
4738 * elf/tst-unique3.cc: Add explicit declaration of gets.
4739 * elf/tst-unique3lib.cc: Likewise.
4740 * elf/tst-unique3lib2.cc: Likewise.
4741 * elf/tst-unique4.cc: Likewise.
4742
4743 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4744
4745 2012-01-06 Joseph Myers <joseph@codesourcery.com>
4746
4747 [BZ #13566]
4748 * assert/assert.h (static_assert): Don't define for C++.
4749 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4750 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4751
4752 2012-01-03 Ulrich Drepper <drepper@gmail.com>
4753
4754 * iconv/loop.c (single loop): Fix assertion in storing of
4755 remaining bytes.
4756
4757 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4758
4759 2012-01-01 Ulrich Drepper <drepper@gmail.com>
4760
4761 * posix/getconf.c: Update copyright year.
4762 * nss/getent.c: Likewise.
4763 * nss/makedb.c: Likewise.
4764 * iconv/iconvconfig.c: Likewise.
4765 * iconv/iconv_prog.c: Likewise.
4766 * elf/ldconfig.c: Likewise.
4767 * elf/pldd.c: Likewise.
4768 * elf/sotruss.ksh: Likewise.
4769 * catgets/gencat.c: Likewise.
4770 * csu/version.c: Likewise.
4771 * elf/ldd.bash.in: Likewise.
4772 * elf/sprof.c (print_version): Likewise.
4773 * locale/programs/locale.c: Likewise.
4774 * locale/programs/localedef.c: Likewise.
4775 * login/programs/pt_chown.c: Likewise.
4776 * nscd/nscd.c (print_version): Likewise.
4777 * debug/xtrace.sh: Likewise.
4778 * malloc/memusage.sh: Likewise.
4779 * malloc/mtrace.pl: Likewise.
4780 * debug/catchsegv.sh: Likewise.
4781
4782 2011-12-30 Jakub Jelinek <jakub@redhat.com>
4783
4784 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4785 pure attribute.
4786
4787 2011-12-24 Ulrich Drepper <drepper@gmail.com>
4788
4789 [BZ #13533]
4790 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4791 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4792 transformations.
4793 * iconv/gconv_int.h: Likewise.
4794 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4795 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4796 from libc for GLIBC_2.16.
4797 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4798 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4799 * wcsmbs/uchar.h: Really define mbstate_t.
4800 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4801 * wcsmbs/c16rtomb.c: New file.
4802 * wcsmbs/mbrtoc16.c: New file.
4803 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4804 for C/POSIX locale.
4805 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4806 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4807
4808 * wcsmbs/wchar.h: Add missing __restrict.
4809
4810 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4811
4812 [BZ #13532]
4813 * time/Makefile (routines): Add timespec_get.
4814 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4815 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4816 timespec for ISO C11.
4817 * time/timespec_get.c: New file.
4818 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4819 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4820
4821 [BZ #13531]
4822 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4823 * stdlib/stdlib.h: Declare aligned_alloc.
4824 * Versions.def: Add GLIBC_2.16 for libc.
4825 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4826
4827 [BZ 13527]
4828 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4829 ISO C11.
4830
4831 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4832 code.
4833
4834 [BZ #13528]
4835 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4836
4837 [BZ #13529]
4838 * assert/assert.h (static_assert): Define.
4839
4840 * version.h: Update for 2.16 development version.
4841
4842 [BZ #13526]
4843 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4844 _ISOC11_SOURCE.
4845
4846 * version.h (RELEASE): Bump for 2.15 release.
4847 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4848
4849 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4850 Patch by Marek Polacek <mpolacek@redhat.com>.
4851
4852 * bits/byteswap.h: Protect long long constants with __extension__.
4853 * sysdeps/i386/bits/byteswap.h: Likewise.
4854 * sysdeps/ia64/bits/byteswap.h: Likewise.
4855 * sysdeps/s390/bits/byteswap.h: Likewise.
4856 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4857
4858 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4859
4860 [BZ #13540]
4861 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4862 destination buffer.
4863 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4864
4865 2011-12-23 Marek Polacek <polacek@redhat.com>
4866
4867 * elf/dl-addr.c (determine_info): Add inline keyword.
4868 * elf/tst-auditmod4b.c (check_avx): Likewise.
4869 * elf/tst-auditmod6b.c (check_avx): Likewise.
4870 * elf/tst-auditmod6c.c (check_avx): Likewise.
4871 * elf/tst-auditmod7b.c (check_avx): Likewise.
4872
4873 2011-12-23 Ulrich Drepper <drepper@gmail.com>
4874
4875 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4876 !__SSE_MATH__.
4877
4878 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4879
4880 [BZ #13540]
4881 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4882 processing for last bytes.
4883
4884 2011-08-06 Bruno Haible <bruno@clisp.org>
4885
4886 [BZ #13061]
4887 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4888 U+0385, not to U+1FEE.
4889
4890 [BZ #13062]
4891 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4892 entry for U+00A5 U+0301.
4893
4894 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4895
4896 [BZ #13166]
4897 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4898 buffer for the output is too small.
4899
4900 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4901 optimization.
4902
4903 [BZ #13185]
4904 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4905 SSE flags if possible.
4906
4907 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4908
4909 [BZ #13540]
4910 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4911 processing for last bytes.
4912
4913 2011-12-22 Joseph Myers <joseph@codesourcery.com>
4914
4915 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4916 (syscall-list-default-options, syscall-list-default-condition)
4917 (syscall-list-includes): Define.
4918 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4919 list of ABIs and options and #if conditions for each ABI. Do not
4920 handle common syscalls between ABIs specially.
4921 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4922 Remove.
4923 (syscall-list-variants, syscall-list-32bit-options)
4924 (syscall-list-32bit-condition, syscall-list-64bit-options)
4925 (syscall-list-64bit-condition): Define.
4926 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4927 (syscall-list-variants, syscall-list-32bit-options)
4928 (syscall-list-32bit-condition, syscall-list-64bit-options)
4929 (syscall-list-64bit-condition): Define.
4930 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4931 Remove.
4932 (syscall-list-variants, syscall-list-32bit-options)
4933 (syscall-list-32bit-condition, syscall-list-64bit-options)
4934 (syscall-list-64bit-condition): Define.
4935 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4936 Remove.
4937 (syscall-list-variants, syscall-list-32bit-options)
4938 (syscall-list-32bit-condition, syscall-list-64bit-options)
4939 (syscall-list-64bit-condition): Define.
4940
4941 2011-12-22 Ulrich Drepper <drepper@gmail.com>
4942
4943 * locale/iso-639.def: Add brx entry.
4944
4945 [BZ #13328]
4946 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4947 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4948
4949 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4950 __feraiseexcept_renamed.
4951
4952 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4953
4954 [BZ #13538]
4955 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4956 EPOLLET with unsigned values.
4957 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4958 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4959
4960 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4961 to large cancellation.
4962 * math/s_cacoshf.c: Likewise.
4963 * math/s_cacoshl.c: Likewise.
4964
4965 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4966
4967 [BZ #13305]
4968 [BZ #12786]
4969 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4970 * math/s_cacoshf.c: Likewise.
4971 * math/s_cacoshl.c: Likewise.
4972
4973 2011-12-21 Ulrich Drepper <drepper@gmail.com>
4974
4975 [BZ #13439]
4976 * iconv/gconv.h: Define __GCONV_SWAP.
4977 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4978 * iconvdata/utf-16.c: Likewise.
4979 * iconvdata/utf-32.c: Likewise.
4980
4981 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4982
4983 [BZ #13524]
4984 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4985 numerator after shifting it by one limb.
4986
4987 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4988
4989 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4990 under [__USE_EXTERN_INLINES].
4991
4992 2011-12-17 Ulrich Drepper <drepper@gmail.com>
4993
4994 [BZ #13446]
4995 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4996
4997 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4998
4999 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
5000 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
5001 optimized code.
5002 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
5003 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
5004 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
5005 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
5006 for strncasecmp/strncasecmp_l compilation.
5007 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
5008 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
5009
5010 2011-12-08 Marek Polacek <mpolacek@redhat.com>
5011
5012 [BZ #13484]
5013 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
5014 of __asm__.
5015
5016 2011-12-17 Ulrich Drepper <drepper@gmail.com>
5017
5018 [BZ #13506]
5019 * time/tzfile.c (__tzfile_read): Check values from file header.
5020
5021 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5022
5023 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
5024 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
5025 * powerpc/powerpc32/dl-start.S: Likewise.
5026 * powerpc/powerpc32/elf/start.S: Likewise.
5027 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5028 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
5029 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
5030 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
5031 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5032 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
5033 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
5034 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
5035 * powerpc/powerpc32/fpu/s_round.S: Likewise.
5036 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5037 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5038 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5039 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5040 * powerpc/powerpc32/memset.S: Likewise.
5041 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5042 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5043 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5044 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5045 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5046 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5047 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5048 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5049 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5050 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5051 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5052 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5053 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5054
5055 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5056
5057 * math/libm-test.inc: Added more nearbyint tests.
5058 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5059 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5060 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5061 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5062
5063 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5064
5065 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5066 FD_CLOEXEC.
5067
5068 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5069
5070 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5071 Add wcscpy-ssse3 wcscpy-c.
5072 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5073 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5074 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5075 * sysdeps/x86_64/wcschr.S: New file.
5076 * sysdeps/x86_64/wcsrchr.S: New file.
5077 * string/test-strcmp.c: Remove checking of wcscmp function for
5078 wrong alignments.
5079 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5080 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5081 wcsrchr-sse2 wcsrchr-c.
5082 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5083 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5084 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5085 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5086 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5087 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5088 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5089 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5090 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5091 * wcsmbc/wcschr.c (WCSCHR): New macro.
5092
5093 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5094
5095 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5096 * wcsmbs/test-wcsrchr.c: New file.
5097 * string/test-strrchr.c: Add wcsrchr support.
5098 (WIDE): New macro.
5099 * wcsmbs/test-wcscpy.c: New file.
5100 * string/test-strcpy.c: Add wcscpy support.
5101 (WIDE): New macro.
5102
5103 2011-12-10 Ulrich Drepper <drepper@gmail.com>
5104
5105 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5106 the inner loop.
5107
5108 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5109
5110 [BZ #13472]
5111 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5112
5113 2011-12-04 Ulrich Drepper <drepper@gmail.com>
5114
5115 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5116 Minor optimizations.
5117
5118 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5119 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5120 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5121
5122 2011-12-03 Ulrich Drepper <drepper@gmail.com>
5123
5124 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5125 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5126 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5127 for gcc to avoid warnings.
5128 * inet/Makefile (tests): Add tst-checks.
5129 * inet/tst-checks.c: New file.
5130
5131 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5132 warning.
5133
5134 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5135 __wmemcmp_sse2.
5136
5137 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5138 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5139
5140 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5141
5142 2011-12-02 Ulrich Drepper <drepper@gmail.com>
5143
5144 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5145 problem.
5146
5147 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5148
5149 2011-11-29 Joseph Myers <joseph@codesourcery.com>
5150
5151 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5152 conditional on GCC version.
5153 (__arch_compare_and_exchange_val_8_acq)
5154 (__arch_compare_and_exchange_val_16_acq)
5155 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5156 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5157 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5158
5159 2011-12-02 Joseph Myers <joseph@codesourcery.com>
5160
5161 * sysdeps/sh/backtrace.c: New file.
5162
5163 2011-12-02 Andreas Schwab <schwab@redhat.com>
5164
5165 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5166 parenthesis.
5167
5168 2011-12-01 Andreas Schwab <schwab@redhat.com>
5169
5170 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5171 falling back to utime.
5172
5173 2011-11-30 Andreas Schwab <schwab@redhat.com>
5174
5175 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5176 expectations for float.
5177
5178 2011-11-29 Andreas Schwab <schwab@redhat.com>
5179
5180 * locale/weight.h (findidx): Add parameter len.
5181 * locale/weightwc.h (findidx): Likewise.
5182 * posix/fnmatch_loop.c (FCT): Adjust caller.
5183 * posix/regcomp.c (build_equiv_class): Likewise.
5184 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5185 * posix/regexec.c (check_node_accept_bytes): Likewise.
5186 * string/strcoll_l.c (STRCOLL): Likewise.
5187 * string/strxfrm_l.c (STRXFRM): Likewise.
5188
5189 2011-11-17 Ulrich Drepper <drepper@gmail.com>
5190
5191 * Makefile.in: Remove CVSOPT handling.
5192 * configure.in: Remove use of AC_REVISION.
5193 * iconvdata/Makefile (distribute): No need to filter out CVS.
5194 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5195 handling.
5196
5197 2011-11-16 Andreas Schwab <schwab@redhat.com>
5198
5199 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5200 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5201 [USE_AS_STRNCASECMP_L]: Likewise.
5202 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5203 NO_TLS_DIRECT_SEG_REFS.
5204 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5205 Fix argument offsets for non-PIC.
5206 [USE_AS_STRNCASECMP_L]: Likewise.
5207 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5208 NO_TLS_DIRECT_SEG_REFS.
5209
5210 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5211
5212 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5213 O_CLOEXEC.
5214 * locale/loadlocale.c (_nl_load_locale): Likewise.
5215
5216 2011-11-15 Andreas Schwab <schwab@redhat.com>
5217
5218 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5219 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5220 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5221 (SYSCALL_GETTIME): Set errno on error.
5222
5223 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5224 count references to noai6ai_cached.
5225
5226 2011-11-15 Ulrich Drepper <drepper@gmail.com>
5227
5228 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5229
5230 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5231 FD_CLOEXEC for /proc/self/maps.
5232
5233 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5234 FD_CLOEXEC for /proc/meminfo.
5235
5236 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5237 gai.conf.
5238
5239 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5240 FD_CLOEXEC for given file.
5241
5242 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5243
5244 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5245 FD_CLOEXEC for /etc/hosts.
5246 (_gethtent): Likewise.
5247
5248 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5249
5250 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5251 cancellation and set FD_CLOEXEC for /etc/netgroup.
5252
5253 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5254 reading /etc/publickey.
5255
5256 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5257 allow cancellation when reading /etc/group.
5258
5259 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5260 cancellation.
5261 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5262
5263 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5264 when using data file.
5265
5266 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5267
5268 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5269 (write_nis_obj): Use "c" and "e" in fopen.
5270
5271 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5272
5273 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5274
5275 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5276
5277 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5278
5279 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5280 locale.alias.
5281
5282 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5283
5284 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5285
5286 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5287
5288 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5289 file parsing and set FD_CLOEXEC.
5290
5291 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5292
5293 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5294
5295 2011-11-14 Andreas Schwab <schwab@redhat.com>
5296
5297 * malloc/arena.c (arena_get2): Don't call reused_arena when
5298 _int_new_arena failed.
5299
5300 2011-11-14 Ulrich Drepper <drepper@gmail.com>
5301
5302 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5303 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5304 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5305 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5306 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5307 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5308 to compile strcasecmp and strncasecmp.
5309 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5310 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5311
5312 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5313
5314 2011-11-13 Ulrich Drepper <drepper@gmail.com>
5315
5316 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5317 locale-defines.sym to gen-as-const-headers.
5318 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5319 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5320 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5321 to compile strcasecmp and strncasecmp.
5322 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5323 strcasecmp_l and strncasecmp_l.
5324 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5325 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5326 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5327 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5328 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5329 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5330 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5331 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5332 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5333 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5334 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5335
5336 2011-11-12 Ulrich Drepper <drepper@gmail.com>
5337
5338 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5339 result of SYSDEP_GETTIME_CPU to retval.
5340 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5341 parameter list to macro. Remove trailing semicolon. Adjust users.
5342
5343 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5344 variable.
5345
5346 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5347 mantissa words.
5348 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5349
5350 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5351 from unused variable.
5352
5353 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5354 DWARF definitions.
5355 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5356 for assembling.
5357
5358 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5359 over namespaces.
5360
5361 * sunrpc/rpc_prot.c (rejected): Fix case value.
5362
5363 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5364 unsigned long long int to avoid warnings in shift.
5365
5366 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5367 of use of trans.
5368 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5369 variable tmp.
5370
5371 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5372 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5373 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5374
5375 * nis/nis_table.c (nis_list): Use variable of correct type for
5376 result of __follow_path call.
5377
5378 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5379
5380 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5381 of math functions ceil, trunc, floor, round, and sqrt, when
5382 avaliable on the platform.
5383 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5384 name clash.
5385 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5386 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5387 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5388
5389 2011-10-30 Marek Polacek <mpolacek@redhat.com>
5390
5391 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5392 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5393
5394 2011-11-11 Roland McGrath <roland@hack.frob.com>
5395
5396 * include/unistd.h: Fix __readlink return type.
5397 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5398
5399 2011-11-11 Ulrich Drepper <drepper@gmail.com>
5400
5401 * stdlib/ucontext.h: Undo last change for makecontext.
5402
5403 2011-11-11 Andreas Schwab <schwab@redhat.com>
5404
5405 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5406
5407 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5408 * setjmp/setjmp.h: Mark functions as non-leaf.
5409 * setjmp/bits/setjmp2.h: Likewise.
5410 * stdlib/ucontext.h: Likewise.
5411
5412 2011-11-10 Andreas Schwab <schwab@redhat.com>
5413
5414 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5415 (reused_arena): Don't check arena limit.
5416 (arena_get2): Atomically check arena limit.
5417
5418 2011-11-08 Ulrich Drepper <drepper@gmail.com>
5419
5420 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5421 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5422
5423 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5424 instructions.
5425
5426 2011-11-07 Andreas Schwab <schwab@redhat.com>
5427
5428 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5429 handler when locking.
5430
5431 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5432 Fix size of allocated buffer.
5433
5434 2011-11-04 Andreas Schwab <schwab@redhat.com>
5435
5436 [BZ #10103]
5437 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5438 declarations for long double functions.
5439 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5440
5441 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5442
5443 2011-11-03 Andreas Schwab <schwab@redhat.com>
5444
5445 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5446 installed.
5447
5448 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5449 is disabled.
5450
5451 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5452
5453 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5454
5455 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5456
5457 * include/alloca.h (stackinfo_alloca_round): Define.
5458 (extend_alloca): Use it.
5459 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5460 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5461 here.
5462
5463 * scripts/check-local-headers.sh: Ignore libaudit.h.
5464
5465 * nscd/Makefile (extra-objs): Make recursively expanded.
5466
5467 2011-11-01 Ulrich Drepper <drepper@gmail.com>
5468
5469 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5470 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5471
5472 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5473 * posix/tst-rfc3484-2.c: Likewise.
5474 * posix/tst-rfc3484-3.c: Likewise.
5475
5476 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5477 process_vm_writev.
5478 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5479 process_vm_writev.
5480 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5481 process_vm_writev from libc using GLIBC_2.15 version.
5482
5483 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5484
5485 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5486
5487 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5488 stack usage.
5489
5490 2011-10-31 Ulrich Drepper <drepper@gmail.com>
5491
5492 [BZ #13367]
5493 * nss/getent.c (initgroups_keys): Show error message in case no group
5494 names are given.
5495
5496 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5497 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5498 __bump_nl_timestamp.
5499 * nscd/connections (nscd_init): When host database is served open
5500 netlink socket and request notification about configuration changes.
5501 (main_loop_poll): Track netlink file descriptor and bump timestamp
5502 in case data becomes available.
5503 (main_loop_epoll): Likewise.
5504 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5505 (database_pers_head): Add extra_data fileds.
5506 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5507 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5508 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5509 Adjust caller.
5510 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5511 in6ai data, call __free_in6ai.
5512 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5513 Add -DHAVE_NETLINK.
5514 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5515 interface information. Reuse previous data if netlink timestamp
5516 is not changed.
5517 (__bump_nl_timestamp): New function.
5518 (__free_in6ai): New function.
5519
5520 2011-10-30 Ulrich Drepper <drepper@gmail.com>
5521
5522 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5523 close_not_cancel_no_status here.
5524 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5525
5526 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5527
5528 [BZ #13276]
5529 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5530 return value.
5531
5532 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5533 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5534 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5535
5536 2011-07-03 Andreas Jaeger <aj@suse.de>
5537
5538 [BZ #10709]
5539 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5540 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5541 * math/libm-test.inc (sin_test): Add test case.
5542
5543 2011-10-29 Ulrich Drepper <drepper@gmail.com>
5544
5545 [BZ #13337]
5546 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5547 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5548
5549 * elf/chroot_canon.c (chroot_canon): Cleanups.
5550
5551 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5552
5553 [BZ #13335]
5554 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5555 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5556
5557 * string/test-strchr.c: Make usable for strchrnul testing.
5558 * string/test-strchrnul.c: New file.
5559 * string/Makefile (strop-tests): Add strchrnul.
5560
5561 * po/it.po: Update from translation team.
5562 * po/es.po: Likewise.
5563
5564 2011-10-28 Ulrich Drepper <drepper@gmail.com>
5565
5566 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5567 the three constants needed as parameters. Drop the others.
5568 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5569 __m128i_strloadu_tolower.
5570 Create and initialize variable zero and use it in all the places
5571 where _mm_setzero_si128 was used.
5572
5573 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5574 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5575 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5576 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5577 anymore.
5578 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5579 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5580 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5581 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5582 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5583 __mpranred, __mptan.
5584 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5585 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5586 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5587 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5588 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5589 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5590 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5591 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5592 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5593
5594 2011-10-28 Andreas Schwab <schwab@redhat.com>
5595
5596 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5597 redefine if SHARED.
5598 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5599
5600 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5601 wide char related routines to wcsmbs subdir.
5602
5603 2011-10-27 Andreas Schwab <schwab@redhat.com>
5604
5605 [BZ #13344]
5606 * misc/sys/cdefs.h (__THROWNL): Define.
5607 * posix/unistd.h: Use __THREADNL instead of __THREAD
5608 for memory synchronization functions.
5609
5610 2011-10-26 Roland McGrath <roland@hack.frob.com>
5611
5612 [BZ #13349]
5613 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5614 doesn't exist.
5615 * manual/stdio.texi (Obstack Streams): Node removed.
5616
5617 2011-10-26 Andreas Schwab <schwab@redhat.com>
5618
5619 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5620 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5621 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5622
5623 * math/math_private.h (math_force_eval): Allow non-addressable
5624 arguments.
5625 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5626
5627 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5628
5629 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5630 file is not needed.
5631
5632 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5633 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5634 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5635 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5636 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5637 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5638 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5639 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5640 Add AVX variants.
5641 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5642 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5643 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5644 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5645 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5646 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5647 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5648 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5649 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5650 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5651 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5652 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5653 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5654 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5655 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5656 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5657 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5658 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5659 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5660
5661 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5662 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5663
5664 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5665 place. Use VEX encoding when compiling for AVX.
5666
5667 2011-10-25 Andreas Schwab <schwab@redhat.com>
5668
5669 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5670 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5671
5672 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5673
5674 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5675
5676 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5677 useless if() expression.
5678 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5679 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5680 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5681 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5682 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5683 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5684 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5685 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5686 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5687 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5688 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5689 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5690 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5691 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5692 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5693 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5694 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5695 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5696 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5697
5698 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5699
5700 2011-10-25 Andreas Schwab <schwab@redhat.com>
5701
5702 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5703 condition.
5704 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5705
5706 2011-10-25 Ulrich Drepper <drepper@gmail.com>
5707
5708 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5709 .text section. Avoid duplicate constants.
5710 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5711 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5712 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5713 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5714 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5715 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5716 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5717 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5718 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5719 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5720 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5721 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5722 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5723 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5724 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5725 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5726 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5727 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5728 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5729 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5730 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5731 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5732 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5733 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5734 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5735 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5736 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5737 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5738 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5739 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5740 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5741 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5742 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5743 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5744 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5745 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5746 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5747 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5748 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5749 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5750 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5751 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5752 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5753 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5754 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5755
5756 2011-10-24 Ulrich Drepper <drepper@gmail.com>
5757
5758 * sysdeps/x86_64/dla.h: Move to ...
5759 * sysdeps/x86_64/fpu/dla.h: ...here.
5760 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5761 situations. Use __builtin_fma only for gcc 4.6 and up.
5762
5763 * config.make.in: Add have-mfma4 entry.
5764 * configure.in: Substitute libc_cv_cc_fma4.
5765 * math/Makefile (dbl-only-routines): Add sincostab.
5766 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5767 Use __sincostab not sincos.
5768 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5769 name is a macro.
5770 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5771 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5772 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5773 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5774 using __copysign.
5775 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5776 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5777 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5778 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5779 and __inv.
5780 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5781 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5782 __copysign.
5783 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5784 define aliases when function name is a macro.
5785 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5786 sysdeps/ieee754/dbl-64/sincos.tbl.
5787 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5788 fma4-enabled routines.
5789 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5790 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5791 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5792 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5793 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5794 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5795 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5796 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5797 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5798 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5799 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5800 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5801 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5802 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5803 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5804 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5805 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5806 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5807 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5808 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5809 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5810 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5811 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5812 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5813 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5814 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5815 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5816 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5817 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5818 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5819
5820 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5821 rename.
5822 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5823 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5824 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5827 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5828 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5829 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5830
5831 2011-10-24 Andreas Schwab <schwab@redhat.com>
5832
5833 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5834
5835 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5836
5837 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5838
5839 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5840 prediction.
5841 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5842
5843 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5844 Remove unused variable magic_bits.
5845 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5846
5847 * string/strnlen.c: Define and use STRNLEN macro.
5848 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5849 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5850 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5851 * wcsmbs/wcslen.c: Define and use WCSLEN.
5852 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5853 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5854 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5855 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5856 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5857 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5858 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5859
5860 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5861
5862 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5863 strnlen-sse2-no-bsf.
5864 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5865 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5866 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5867 Add strnlen support.
5868 (USE_AS_STRNLEN): New macro.
5869 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5870 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5871 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5872 * sysdeps/x86_64/wcslen.S: New file.
5873
5874 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5875
5876 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5877 XMM-moves are used for copying on small sizes.
5878
5879 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5880
5881 * wcsmbs/Makefile (strop-tests): Add wcschr.
5882 * wcsmbs/test-wcschr.c: New file.
5883 * string/test-strchr.c: Update.
5884 Add wcschr support.
5885 (WIDE): New macro.
5886
5887 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5888
5889 * wcsmbs/Makefile (strop-tests): Add wcslen.
5890 * wcsmbs/test-wcslen.c: New file.
5891 * string/test-strlen.c: Update.
5892 Add wcslen support.
5893 (WIDE): New macro.
5894
5895 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5896
5897 * po/it.po: Update from translation team.
5898
5899 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5900
5901 * sysdeps/x86_64/wcscmp.S: Update.
5902 Fix wrong comparison semantics.
5903 wcscmp shall use signed comparison not unsigned.
5904 Don't use substraction to avoid overflow bug.
5905 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5906 * wcsmbc/wcscmp.c: Likewise.
5907 * string/test-strcmp.c: Likewise.
5908 Add new tests to check cases with negative values.
5909
5910 2011-10-23 Ulrich Drepper <drepper@gmail.com>
5911
5912 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5913 * sysdeps/x86_64/dla.h: ...here. New file.
5914 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5915 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5916 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5917 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5918 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5919 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5920 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5921 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5922 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5923
5924 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5925
5926 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5927 __ynl_finite aliases.
5928
5929 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5930
5931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5932
5933 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5934 define DLA_FMA.
5935 [DLA_FMA] (EMULV): Use DLA_FMA.
5936 [DLA_FMA] (MUL12): Use EMULV.
5937 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5938 that are not needed.
5939 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5940 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5941 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5942 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5943 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5944 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5945 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5946
5947 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5948
5949 * math/s_nan.c: Undef __nan.
5950 * math/s_nanf.c: Undef __nanf.
5951 * math/s_nanl.c: Undef __nanl.
5952 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5953 "math_private.h".
5954
5955 2011-10-22 Ulrich Drepper <drepper@gmail.com>
5956
5957 * math/s_catan.c: Add branch predictions.
5958 * math/s_catanf.c: Likewise.
5959 * math/s_catanh.c: Likewise.
5960 * math/s_catanhf.c: Likewise.
5961 * math/s_catanhl.c: Likewise.
5962 * math/s_catanl.c: Likewise.
5963 * math/s_cexp.c: Likewise.
5964 * math/s_cexpf.c: Likewise.
5965 * math/s_cexpl.c: Likewise.
5966 * math/s_clog.c: Likewise.
5967 * math/s_clog10.c: Likewise.
5968 * math/s_clog10f.c: Likewise.
5969 * math/s_clog10l.c: Likewise.
5970 * math/s_clogf.c: Likewise.
5971 * math/s_clogl.c: Likewise.
5972 * math/s_csqrt.c: Likewise.
5973 * math/s_csqrtf.c: Likewise.
5974 * math/s_csqrtl.c: Likewise.
5975 * math/s_ctanf.c: Likewise.
5976 * math/s_ctanh.c: Likewise.
5977 * math/s_ctanhf.c: Likewise.
5978 * math/s_ctanhl.c: Likewise.
5979 * math/s_ctanl.c: Likewise.
5980
5981 * math/math_private.h: Define __nan, __nanf, __nanl.
5982 * math/s_cacosh.c: Include <math_private.h>.
5983 * math/s_cacoshl.c: Likewise.
5984 * math/s_casinh.c: Likewise.
5985 * math/s_casinhf.c: Likewise.
5986 * math/s_casinhl.c: Likewise.
5987 * math/s_ccos.c: Rely entire on ccosh.
5988 * math/s_ccosf.c: Rely entire on ccoshf.
5989 * math/s_ccosl.c: Rely entirely on ccoshl.
5990 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5991 Remove tests for FE_INVALID.
5992 * math/s_ccoshf.c: Likewise.
5993 * math/s_ccoshl.c: Likewise.
5994 * math/s_csin.c: Likewise.
5995 * math/s_csinf.c: Likewise.
5996 * math/s_csinh.c Likewise.
5997 * math/s_csinhf.c: Likewise.
5998 * math/s_csinhl.c: Likewise.
5999 * math/s_csinl.c: Likewise.
6000 * math/s_ctan.c: Likewise.
6001 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
6002 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
6003 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
6004
6005 2011-10-21 Ulrich Drepper <drepper@gmail.com>
6006
6007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
6008 compilation problems.
6009
6010 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
6011 __builtin_expect.
6012
6013 2011-10-20 Ulrich Drepper <drepper@gmail.com>
6014
6015 * sysdeps/i386/configure.in: Test for -mfma4 option.
6016 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
6017 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
6018 COMMON_CPUID_INDEX_80000001.
6019 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
6020 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
6021 use it if FMA3 is not supported.
6022 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
6023
6024 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
6025 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
6026
6027 2011-10-20 Andreas Schwab <schwab@redhat.com>
6028
6029 [BZ #12892]
6030 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
6031 it would create a cycle with a link time dependency.
6032
6033 2011-10-19 Ulrich Drepper <drepper@gmail.com>
6034
6035 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
6036 instruction.
6037 * string/Makefile (strop-tests): Add rawmemchr.
6038 * string/test-rawmemchr.c: New file.
6039
6040 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6041 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6042 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6043 when compiling str{,n}casecmp and when AVX is available. Hook up
6044 new optimized code in initializers.
6045
6046 2011-10-19 Andreas Schwab <schwab@redhat.com>
6047
6048 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6049 __feraiseexcept instead of feraiseexcept.
6050
6051 2011-10-18 Ulrich Drepper <drepper@gmail.com>
6052
6053 * math/math_private.h: Define defaults for libc_fetestexcept and
6054 libc_feupdateenv.
6055 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6056 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6057 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6058 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6059 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6060 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6061 libc_fetestexcept and libc_feupdateenv.
6062
6063 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6064 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6065 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6066 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6067 libc_feholdexcept_setround.
6068
6069 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6070 Add s_nearbyint-c and s_nearbyintf-c.
6071 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6072 nearbyintf inlines.
6073 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6074 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6075 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6076 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6077
6078 * math/math_private.h: Define defaults for libc_fegetround,
6079 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6080 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6081 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6082 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6083 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6084 standard functions.
6085 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6086 Remove comments and hacks for old compiler versions.
6087 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6088 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6089 libc_feholdexceptl.
6090
6091 2011-10-18 Andreas Schwab <schwab@redhat.com>
6092
6093 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6094 (__feraiseexcept_renamed): Add __NTH.
6095 (feraiseexcept): Add __NTH. Rename local variables to fix
6096 namespace violations.
6097
6098 2011-10-17 Ulrich Drepper <drepper@gmail.com>
6099
6100 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6101
6102 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6103
6104 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6105 recently added interfaces.
6106 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6107
6108 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6109 about macro parameter expansion.
6110
6111 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6112 __NO_MATH_INLINES is defined. Cleanups.
6113
6114 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6115 and __floorf is target has SSE4.1.
6116 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6117 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6118 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6119 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6120
6121 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6122 name.
6123 (floorf): Likewise.
6124
6125 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6126
6127 2011-10-17 Andreas Schwab <schwab@redhat.com>
6128
6129 * misc/sys/cdefs.h: Fix last change.
6130
6131 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6132 database lookup.
6133
6134 2011-10-16 Ulrich Drepper <drepper@gmail.com>
6135
6136 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6137
6138 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6139 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6140 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6141 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6142 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6143 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6144 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6145 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6146 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6147 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6148 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6149 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6150 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6151 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6152 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6153 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6154 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6155 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6156 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6157 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6158 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6159 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6160
6161 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6162 ceil, ceilf, floor, floorf.
6163
6164 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6165 Perform IRELATIVE relocations last.
6166
6167 * elf/do-rel.h: Add another parameter nrelative, replacing the
6168 local variable with the same name. Change name of the function
6169 to end in Rel or Rela (uppercase).
6170 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6171 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6172 elf_dynamic_do_##reloc function.
6173
6174 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6175
6176 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6177 is sufficient, at least on modern CPUs.
6178
6179 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6180
6181 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6182 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6183
6184 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6185 __expl_finite.
6186 * math/bits/math-finite.h: Add entries for exp.
6187 * math/e_expl.c: Add __*_finite alias.
6188 * sysdeps/i386/fpu/e_exp.S: Likewise.
6189 * sysdeps/i386/fpu/e_expf.S: Likewise.
6190 * sysdeps/i386/fpu/e_expl.c: Likewise.
6191 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6192 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6193 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6194 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6195 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6196 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6197 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6198
6199 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6200 is sufficient, at least on modern CPUs.
6201
6202 * ctype/ctype-info.c (__ctype_init): Define.
6203 * include/ctype.h (__ctype_init): Declare.
6204 (__ctype_b_loc): The variable is always initialized.
6205 (__ctype_toupper_loc): Likewise.
6206 (__ctype_tolower_loc): Likewise.
6207 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6208 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6209
6210 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6211
6212 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6213
6214 * configure.in: Also look in $cxxmachine/include for C++ system
6215 headers.
6216
6217 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6218
6219 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6220 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6221 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6222 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6223 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6224 (USE_AS_WMEMCMP): New macro.
6225 Fixing indents.
6226 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6227 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6228 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6229 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6230 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6231 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6232 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6233 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6234 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6235 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6236 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6237 (USE_AS_WMEMCMP): New macro.
6238 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6239 * sysdeps/string/test-memcmp.c: Update.
6240 Fix simple_wmemcmp.
6241 Add new tests.
6242 * wcsmbs/wmemcmp.c: Update.
6243 (WMEMCMP): New macro.
6244 Fix overflow bug.
6245
6246 2011-10-12 Andreas Jaeger <aj@suse.de>
6247
6248 [BZ #13268]
6249 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6250
6251 2011-10-15 Ulrich Drepper <drepper@gmail.com>
6252
6253 * libio/iofwide.c (do_length): Avoid warning.
6254
6255 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6256
6257 2011-10-14 Ulrich Drepper <drepper@gmail.com>
6258
6259 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6260
6261 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6262 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6263 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6264 * sysdeps/i386/i686/fpu/e_log.S: New file.
6265 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6266 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6267
6268 * ctype/ctype.h: Add support for inlined isXXX functions when
6269 compiling C++ code.
6270
6271 2011-10-14 Andreas Schwab <schwab@redhat.com>
6272
6273 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6274
6275 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6276
6277 2011-10-13 Roland McGrath <roland@hack.frob.com>
6278
6279 [BZ #13291]
6280 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6281
6282 2011-10-13 Andreas Schwab <schwab@redhat.com>
6283
6284 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6285 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6286 feraiseexcept.
6287
6288 * sysdeps/x86_64/memrchr.S: Check for zero size.
6289
6290 * string/stratcliff.c: Add memrchr tests.
6291
6292 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6293
6294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6295 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6296 rawmemchr-sse2 rawmemchr-sse2-bsf.
6297 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6298 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6299 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6300 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6301 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6302 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6303 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6304 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6305 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6306 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6307 * string/memrchr.c (MEMRCHR): New macro.
6308
6309 2011-10-12 Ulrich Drepper <drepper@gmail.com>
6310
6311 Add integration with gcc's -ffinite-math-only and optimize wrapper
6312 functions in libm.
6313 * Versions.def: Define GLIBC_2.15 version for libm.
6314 * math/Makefile (headers): Add bits/math-finite.h.
6315 * math/bits/math-finite.h: New file.
6316 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6317 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6318 * math/e_acoshl.c: Add __*_finite alias.
6319 * math/e_acosl.c: Likewise.
6320 * math/e_asinl.c: Likewise.
6321 * math/e_atan2l.c: Likewise.
6322 * math/e_atanhl.c: Likewise.
6323 * math/e_coshl.c: Likewise.
6324 * math/e_exp10.c: Likewise.
6325 * math/e_exp10f.c: Likewise.
6326 * math/e_exp10l.c: Likewise.
6327 * math/e_exp2l.c: Likewise.
6328 * math/e_fmodl.c: Likewise.
6329 * math/e_gammal_r.c: Likewise.
6330 * math/e_hypotl.c: Likewise.
6331 * math/e_j0l.c: Likewise.
6332 * math/e_j1l.c: Likewise.
6333 * math/e_jnl.c: Likewise.
6334 * math/e_lgammal_r.c: Likewise.
6335 * math/e_log10l.c: Likewise.
6336 * math/e_log2l.c: Likewise.
6337 * math/e_logl.c: Likewise.
6338 * math/e_powl.c: Likewise.
6339 * math/e_sinhl.c: Likewise.
6340 * math/e_sqrtl.c: Likewise.
6341 * math/e_scalb.c: Completely rewritten and optimized.
6342 * math/e_scalbf.c: Likewise.
6343 * math/e_scalbl.c: Likewise.
6344 * math/w_acos.c: Likewise.
6345 * math/w_acosf.c: Likewise.
6346 * math/w_acosl.c: Likewise.
6347 * math/w_acosh.c: Likewise.
6348 * math/w_acoshf.c: Likewise.
6349 * math/w_acoshl.c: Likewise.
6350 * math/w_asin.c: Likewise.
6351 * math/w_asinf.c: Likewise.
6352 * math/w_asinl.c: Likewise.
6353 * math/w_atan2.c: Likewise.
6354 * math/w_atan2f.c: Likewise.
6355 * math/w_atan2l.c: Likewise.
6356 * math/w_atanh.c: Likewise.
6357 * math/w_atanhf.c: Likewise.
6358 * math/w_atanhl.c: Likewise.
6359 * math/w_exp10.c: Likewise.
6360 * math/w_exp10f.c: Likewise.
6361 * math/w_exp10l.c: Likewise.
6362 * math/w_fmod.c: Likewise.
6363 * math/w_fmodf.c: Likewise.
6364 * math/w_fmodl.c: Likewise.
6365 * math/w_j0.c: Likewise.
6366 * math/w_j0f.c: Likewise.
6367 * math/w_j0l.c: Likewise.
6368 * math/w_j1.c: Likewise.
6369 * math/w_j1f.c: Likewise.
6370 * math/w_j1l.c: Likewise.
6371 * math/w_jn.c: Likewise.
6372 * math/w_jnf.c: Likewise.
6373 * math/w_log.c: Likewise.
6374 * math/w_logf.c: Likewise.
6375 * math/w_logl.c: Likewise.
6376 * math/w_log10.c: Likewise.
6377 * math/w_log10f.c: Likewise.
6378 * math/w_log10l.c: Likewise.
6379 * math/w_log2.c: Likewise.
6380 * math/w_log2f.c: Likewise.
6381 * math/w_log2l.c: Likewise.
6382 * math/w_pow.c: Likewise.
6383 * math/w_powf.c: Likewise.
6384 * math/w_powl.c: Likewise.
6385 * math/w_remainder.c: Likewise.
6386 * math/w_remainderf.c: Likewise.
6387 * math/w_remainderl.c: Likewise.
6388 * math/w_scalb.c: Likewise.
6389 * math/w_scalbf.c: Likewise.
6390 * math/w_scalbl.c: Likewise.
6391 * math/w_sqrt.c: Likewise.
6392 * math/w_sqrtf.c: Likewise.
6393 * math/w_sqrtl.c: Likewise.
6394 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6395 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6396 used.
6397 * math/math_private.h: Declare __kernel_standard_f.
6398 * math/w_cosh.c: Remove cruft and optimize a bit.
6399 * math/w_coshf.c: Likewise.
6400 * math/w_coshl.c: Likewise.
6401 * math/w_exp2.c: Likewise.
6402 * math/w_exp2f.c: Likewise.
6403 * math/w_exp2l.c: Likewise.
6404 * math/w_hypot.c: Likewise.
6405 * math/w_hypotf.c: Likewise.
6406 * math/w_hypotl.c: Likewise.
6407 * math/w_lgamma.c: Likewise.
6408 * math/w_lgamma_r.c: Likewise.
6409 * math/w_lgammaf.c: Likewise.
6410 * math/w_lgammaf_r.c: Likewise.
6411 * math/w_lgammal.c: Likewise.
6412 * math/w_lgammal_r.c: Likewise.
6413 * math/w_sinh.c: Likewise.
6414 * math/w_sinhf.c: Likewise.
6415 * math/w_sinhl.c: Likewise.
6416 * math/w_tgamma.c: Likewise.
6417 * math/w_tgammaf.c: Likewise.
6418 * math/w_tgammal.c: Likewise.
6419 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6420 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6421 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6422 Minor optimizations. Pretty printing. Remove cruft.
6423 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6424 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6425 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6426 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6427 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6428 * sysdeps/i386/fpu/e_asin.S: Likewise.
6429 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6430 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6431 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6432 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6433 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6434 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6435 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6436 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6437 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6438 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6439 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6440 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6441 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6442 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6443 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6444 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6445 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6446 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6447 * sysdeps/i386/fpu/e_log.S: Likewise.
6448 * sysdeps/i386/fpu/e_log10.S: Likewise.
6449 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6450 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6451 * sysdeps/i386/fpu/e_log2.S: Likewise.
6452 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6453 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6454 * sysdeps/i386/fpu/e_logf.S: Likewise.
6455 * sysdeps/i386/fpu/e_logl.S: Likewise.
6456 * sysdeps/i386/fpu/e_pow.S: Likewise.
6457 * sysdeps/i386/fpu/e_powf.S: Likewise.
6458 * sysdeps/i386/fpu/e_powl.S: Likewise.
6459 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6460 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6461 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6462 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6463 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6464 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6465 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6466 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6467 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6468 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6469 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6470 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6471 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6472 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6473 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6474 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6475 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6476 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6477 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6478 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6479 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6480 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6481 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6482 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6483 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6484 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6485 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6486 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6487 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6488 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6489 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6490 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6491 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6492 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6493 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6494 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6495 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6496 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6497 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6498 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6499 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6500 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6501 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6502 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6503 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6504 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6505 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6506 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6507 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6508 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6509 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6510 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6511 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6512 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6513 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6514 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6515 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6516 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6517 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6518 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6519 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6520 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6521 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6522 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6523 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6524 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6525 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6526 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6527 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6528 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6529 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6530 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6531 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6532 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6533 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6534 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6535 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6536 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6537 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6538 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6539 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6540 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6541 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6542 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6543 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6544 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6545 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6546 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6547 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6548 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6549 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6550 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6551 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6552 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6553 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6554 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6555 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6556 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6557 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6558 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6559 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6560 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6561 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6562 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6563 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6564 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6565 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6566 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6567 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6568 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6569 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6570 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6571 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6572 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6573 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6574 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6575 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6576 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6577 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6578 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6579 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6580 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6581 (__isnanf): Likewise.
6582 (__isinf_ns): Likewise.
6583 (__isinf_nsf): Likewise.
6584 (__finite): Likewise.
6585 (__finitef): Likewise.
6586 (__ieee754_sqrt): Define as macro.
6587 (__ieee754_sqrtf): Define as macro.
6588 (__ieee754_sqrtl): Define as macro.
6589 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6590 inlined copy.
6591 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6592 __FINITE_MATH_ONLY__ consistent.
6593 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6594
6595 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6596
6597 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6598 of rawmemchr.
6599
6600 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6601
6602 2011-10-09 Ulrich Drepper <drepper@gmail.com>
6603
6604 * po/ja.po: Update from translation team.
6605
6606 2011-10-08 Roland McGrath <roland@hack.frob.com>
6607
6608 * locale/programs/locarchive.c (prepare_address_space): New function.
6609 (create_archive, enlarge_archive, open_archive): Use it.
6610
6611 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6612 inside [SHARED], where it is used.
6613
6614 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6615
6616 * nss/getent.c (netgroup_keys): Remove unused variable.
6617 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6618
6619 2011-10-08 Ulrich Drepper <drepper@gmail.com>
6620
6621 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6622 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6623 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6624 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6625 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6626 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6627 * math/Makefile (libm-calls): Add s_isinf_ns.
6628 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6629 * math/multc3.c: Likewise.
6630 * math/s_casin.c: Likewise.
6631 * math/s_casinf.c: Likewise.
6632 * math/s_casinl.c: Likewise.
6633 * math/s_ccos.c: Likewise.
6634 * math/s_ccosf.c: Likewise.
6635 * math/s_ccosl.c: Likewise.
6636 * math/s_ctan.c: Likewise.
6637 * math/s_ctanf.c: Likewise.
6638 * math/s_ctanh.c: Likewise.
6639 * math/s_ctanhf.c: Likewise.
6640 * math/s_ctanhl.c: Likewise.
6641 * math/s_ctanl.c: Likewise.
6642 * math/w_fmod.c: Likewise.
6643 * math/w_fmodf.c: Likewise.
6644 * math/w_fmodl.c: Likewise.
6645 * math/w_remainder.c: Likewise.
6646 * math/w_remainderf.c: Likewise.
6647 * math/w_remainderl.c: Likewise.
6648 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6649 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6650 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6651 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6652 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6653 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6654 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6655 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6656
6657 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6658 of the number.
6659 * stdio-common/printf_fphex.c: Likewise.
6660 * stdio-common/printf_size.c: Likewise.
6661
6662 * math/e_exp10.c: Include math_private.h using <...> not "...".
6663 * math/e_exp10f.c: Likewise.
6664 * math/e_exp10l.c: Likewise.
6665 * math/e_exp2l.c: Likewise.
6666 * math/e_j0l.c: Likewise.
6667 * math/e_j1l.c: Likewise.
6668 * math/e_jnl.c: Likewise.
6669 * math/e_lgammal_r.c: Likewise.
6670 * math/e_rem_pio2l.c: Likewise.
6671 * math/e_scalb.c: Likewise.
6672 * math/e_scalbf.c: Likewise.
6673 * math/e_scalbl.c: Likewise.
6674 * math/k_cosl.c: Likewise.
6675 * math/k_sinl.c: Likewise.
6676 * math/k_tanl.c: Likewise.
6677 * math/s_cacoshf.c: Likewise.
6678 * math/s_catan.c: Likewise.
6679 * math/s_catanf.c: Likewise.
6680 * math/s_catanh.c: Likewise.
6681 * math/s_catanhf.c: Likewise.
6682 * math/s_catanhl.c: Likewise.
6683 * math/s_catanl.c: Likewise.
6684 * math/s_ccosh.c: Likewise.
6685 * math/s_ccoshf.c: Likewise.
6686 * math/s_ccoshl.c: Likewise.
6687 * math/s_cexp.c: Likewise.
6688 * math/s_cexpf.c: Likewise.
6689 * math/s_cexpl.c: Likewise.
6690 * math/s_clog.c: Likewise.
6691 * math/s_clog10.c: Likewise.
6692 * math/s_clog10f.c: Likewise.
6693 * math/s_clog10l.c: Likewise.
6694 * math/s_clogf.c: Likewise.
6695 * math/s_clogl.c: Likewise.
6696 * math/s_csin.c: Likewise.
6697 * math/s_csinf.c: Likewise.
6698 * math/s_csinh.c: Likewise.
6699 * math/s_csinhf.c: Likewise.
6700 * math/s_csinhl.c: Likewise.
6701 * math/s_csinl.c: Likewise.
6702 * math/s_csqrt.c: Likewise.
6703 * math/s_csqrtf.c: Likewise.
6704 * math/s_csqrtl.c: Likewise.
6705 * math/s_ctan.c: Likewise.
6706 * math/s_ctanf.c: Likewise.
6707 * math/s_ctanh.c: Likewise.
6708 * math/s_ctanhf.c: Likewise.
6709 * math/s_ctanhl.c: Likewise.
6710 * math/s_ctanl.c: Likewise.
6711 * math/s_ldexp.c: Likewise.
6712 * math/s_ldexpf.c: Likewise.
6713 * math/s_ldexpl.c: Likewise.
6714 * math/s_significand.c: Likewise.
6715 * math/s_significandf.c: Likewise.
6716 * math/s_significandl.c: Likewise.
6717 * math/w_acos.c: Likewise.
6718 * math/w_acosf.c: Likewise.
6719 * math/w_acosh.c: Likewise.
6720 * math/w_acoshf.c: Likewise.
6721 * math/w_acoshl.c: Likewise.
6722 * math/w_acosl.c: Likewise.
6723 * math/w_asin.c: Likewise.
6724 * math/w_asinf.c: Likewise.
6725 * math/w_asinl.c: Likewise.
6726 * math/w_atan2.c: Likewise.
6727 * math/w_atan2f.c: Likewise.
6728 * math/w_atan2l.c: Likewise.
6729 * math/w_atanh.c: Likewise.
6730 * math/w_atanhf.c: Likewise.
6731 * math/w_atanhl.c: Likewise.
6732 * math/w_cosh.c: Likewise.
6733 * math/w_coshf.c: Likewise.
6734 * math/w_coshl.c: Likewise.
6735 * math/w_dremf.c: Likewise.
6736 * math/w_exp10.c: Likewise.
6737 * math/w_exp10f.c: Likewise.
6738 * math/w_exp10l.c: Likewise.
6739 * math/w_exp2.c: Likewise.
6740 * math/w_exp2f.c: Likewise.
6741 * math/w_fmod.c: Likewise.
6742 * math/w_fmodf.c: Likewise.
6743 * math/w_fmodl.c: Likewise.
6744 * math/w_hypot.c: Likewise.
6745 * math/w_hypotf.c: Likewise.
6746 * math/w_hypotl.c: Likewise.
6747 * math/w_j0.c: Likewise.
6748 * math/w_j0f.c: Likewise.
6749 * math/w_j0l.c: Likewise.
6750 * math/w_j1.c: Likewise.
6751 * math/w_j1f.c: Likewise.
6752 * math/w_j1l.c: Likewise.
6753 * math/w_jn.c: Likewise.
6754 * math/w_jnf.c: Likewise.
6755 * math/w_jnl.c: Likewise.
6756 * math/w_lgamma.c: Likewise.
6757 * math/w_lgamma_r.c: Likewise.
6758 * math/w_lgammaf.c: Likewise.
6759 * math/w_lgammaf_r.c: Likewise.
6760 * math/w_lgammal.c: Likewise.
6761 * math/w_lgammal_r.c: Likewise.
6762 * math/w_log.c: Likewise.
6763 * math/w_log10.c: Likewise.
6764 * math/w_log10f.c: Likewise.
6765 * math/w_log10l.c: Likewise.
6766 * math/w_log2.c: Likewise.
6767 * math/w_log2f.c: Likewise.
6768 * math/w_log2l.c: Likewise.
6769 * math/w_logf.c: Likewise.
6770 * math/w_logl.c: Likewise.
6771 * math/w_pow.c: Likewise.
6772 * math/w_powf.c: Likewise.
6773 * math/w_powl.c: Likewise.
6774 * math/w_remainder.c: Likewise.
6775 * math/w_remainderf.c: Likewise.
6776 * math/w_remainderl.c: Likewise.
6777 * math/w_scalb.c: Likewise.
6778 * math/w_scalbf.c: Likewise.
6779 * math/w_scalbl.c: Likewise.
6780 * math/w_sinh.c: Likewise.
6781 * math/w_sinhf.c: Likewise.
6782 * math/w_sinhl.c: Likewise.
6783 * math/w_sqrt.c: Likewise.
6784 * math/w_sqrtf.c: Likewise.
6785 * math/w_sqrtl.c: Likewise.
6786 * math/w_tgamma.c: Likewise.
6787 * math/w_tgammaf.c: Likewise.
6788 * math/w_tgammal.c: Likewise.
6789
6790 * po/ja.po: Update from translation team.
6791
6792 2011-09-29 Andreas Jaeger <aj@suse.de>
6793
6794 [BZ #13179]
6795 * sunrpc/netname.c (netname2host): Fix logic.
6796
6797 [BZ #6779]
6798 [BZ #6783]
6799 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6800 correctly.
6801 * math/w_remainder.c (__remainder): Likewise.
6802 * math/w_remainderf.c (__remainderf): Likewise.
6803 * math/libm-test.inc (remainder_test): Add test cases.
6804
6805 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6806
6807 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6808 sdiv_qrnnd.
6809
6810 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6811
6812 * string/test-memcmp.c: Avoid unncessary #defines.
6813 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6814
6815 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6816
6817 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6818 Use new sse2 version for core i3 - i7 as it's faster
6819 than sse42 version.
6820 (bit_Prefer_PMINUB_for_stringop): New.
6821 * sysdeps/x86_64/rawmemchr.S: Update.
6822 Replace with faster SSE2 version.
6823 * sysdeps/x86_64/memrchr.S: New file.
6824 * sysdeps/x86_64/memchr.S: Update.
6825 Replace with faster SSE2 version.
6826
6827 2011-09-12 Marek Polacek <mpolacek@redhat.com>
6828
6829 * elf/dl-load.c (lose): Add cast to avoid warning.
6830
6831 2011-10-07 Ulrich Drepper <drepper@gmail.com>
6832
6833 * po/ca.po: Update from translation team.
6834
6835 * inet/getnetgrent_r.c: Hook up nscd.
6836 * nscd/Makefile (routines): Add nscd_netgroup.
6837 (nscd-modules): Add netgroupcache.
6838 (CFLAGS-netgroupcache.c): Define.
6839 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6840 (cache_search): Add const to second parameter.
6841 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6842 INNETGR.
6843 (dbs): Add netgrdb entry.
6844 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6845 (verify_persistent_db): Handle netgrdb.
6846 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6847 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6848 GETFDNETGR.
6849 (netgroup_response_header): Define.
6850 (innetgroup_response_header): Define.
6851 (datahead): Add netgroup_response_header and innetgroup_response_header
6852 elements.
6853 * nscd/nscd.conf: Add entries for netgroup cache.
6854 * nscd/nscd.h (dbtype): Add netgrdb.
6855 (_PATH_NSCD_NETGROUP_DB): Define.
6856 (netgroup_iov_disabled): Declare.
6857 (xmalloc, xcalloc, xrealloc): Move declarations here.
6858 (cache_search): Adjust prototype.
6859 Add netgroup-related prototypes.
6860 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6861 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6862 (__nscd_innetgr): Declare.
6863 * nscd/selinux.c (perms): Use access_vector_t as element type and
6864 add netgroup-related initializers.
6865 * nscd/netgroupcache.c: New file.
6866 * nscd/nscd_netgroup.c: New file.
6867 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6868 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6869 For four parameters use innetgr.
6870 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6871 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6872 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6873 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6874
6875 * nscd/connections.c (register_traced_file): Don't register file
6876 for disabled databases.
6877
6878 2011-10-06 Ulrich Drepper <drepper@gmail.com>
6879
6880 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6881
6882 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6883 from tree and freeing node.
6884
6885 2011-09-25 Jiri Olsa <jolsa@redhat.com>
6886
6887 * nss/nsswitch.c (__nss_database_lookup): Handle
6888 nss_parse_service_list out of memory case.
6889
6890 2011-09-15 Jiri Olsa <jolsa@redhat.com>
6891
6892 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6893 out of memory case.
6894
6895 2011-10-04 Andreas Schwab <schwab@redhat.com>
6896
6897 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6898 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6899 pass it down.
6900 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6901 elf_machine_rela, elf_machine_lazy_rel.
6902 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6903 (ELF_DYNAMIC_DO_REL): Likewise.
6904 (ELF_DYNAMIC_DO_RELA): Likewise.
6905 (ELF_DYNAMIC_RELOCATE): Likewise.
6906 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6907 to ELF_DYNAMIC_DO_REL.
6908 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6909 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6910 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6911 elf_machine_rela.
6912 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6913 skip_ifunc, don't call ifunc function if non-zero.
6914 (elf_machine_rela): Likewise.
6915 (elf_machine_lazy_rel): Likewise.
6916 (elf_machine_lazy_rela): Likewise.
6917 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6918 (elf_machine_lazy_rel): Likewise.
6919 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6920 Likewise.
6921 (elf_machine_lazy_rel): Likewise.
6922 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6923 Likewise.
6924 (elf_machine_lazy_rel): Likewise.
6925 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6926 (elf_machine_lazy_rel): Likewise.
6927 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6928 (elf_machine_lazy_rel): Likewise.
6929 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6930 (elf_machine_lazy_rel): Likewise.
6931 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6932 (elf_machine_lazy_rel): Likewise.
6933 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6934 (elf_machine_lazy_rel): Likewise.
6935 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6936 (elf_machine_lazy_rel): Likewise.
6937
6938 2011-09-28 Ulrich Drepper <drepper@gmail.com>
6939
6940 * nss/nss_files/files-init.c (_nss_files_init): Use static
6941 initialization for all the *_traced_file variables.
6942
6943 2011-09-28 Andreas Schwab <schwab@redhat.com>
6944
6945 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6946
6947 2011-09-27 Roland McGrath <roland@hack.frob.com>
6948
6949 [BZ #13226]
6950 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6951
6952 2011-09-27 Andreas Schwab <schwab@redhat.com>
6953
6954 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6955 Reread the line before reparsing it.
6956
6957 2011-09-26 Andreas Schwab <schwab@redhat.com>
6958
6959 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6960
6961 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6962 Maxim Kuvyrkov <maxim@codesourcery.com>
6963 Joseph Myers <joseph@codesourcery.com>
6964
6965 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6966 if needed for __stack_chk_guard.
6967
6968 2011-09-19 Roland McGrath <roland@hack.frob.com>
6969
6970 * sysdeps/posix/spawni.c (script_execute): Always define it.
6971 It will be optimized away if unused.
6972 (maybe_script_execute): New function.
6973 (__spawni): Call it.
6974
6975 * Makerules: Don't include tls.make.
6976 (config-tls): Always set to thread.
6977 * tls.make.c: File removed.
6978
6979 2011-09-19 Mike Frysinger <vapier@gentoo.org>
6980
6981 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6982 * config.make.in (CPPFLAGS-config): New substituted variable.
6983
6984 2011-09-15 Ulrich Drepper <drepper@gmail.com>
6985
6986 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6987
6988 [BZ #13192]
6989 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6990 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6991
6992 2011-09-15 Roland McGrath <roland@hack.frob.com>
6993
6994 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6995 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6996 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6997 (CALL_FAIL): Likewise.
6998 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6999 (CALL_FAIL): Macro removed.
7000 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
7001
7002 2011-09-15 Ulrich Drepper <drepper@gmail.com>
7003
7004 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
7005 for __FINITE_MATH_ONLY__ == 1.
7006
7007 2011-09-15 Andreas Schwab <schwab@redhat.com>
7008
7009 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
7010 __ieee754_sqrt instead of sqrt.
7011 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
7012 __ieee754_sqrtf instead of sqrtf.
7013 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7014 __floorf instead of floorf.
7015 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
7016 __floorf, __truncf instead of floorf, truncf.
7017
7018 2011-09-14 Ulrich Drepper <drepper@gmail.com>
7019
7020 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
7021
7022 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
7023 __extern_always_inline.
7024 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
7025 32-bit.
7026
7027 2011-09-14 Andreas Schwab <schwab@redhat.com>
7028
7029 * elf/rtld.c (dl_main): Also relocate in dependency order when
7030 doing symbol dependency testing.
7031
7032 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
7033
7034 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
7035 Always define `refsym'.
7036
7037 2011-09-13 Andreas Schwab <schwab@redhat.com>
7038
7039 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7040 (__FD_ELT): Renamed from __FDELT.
7041 * misc/bits/select2.h (__FD_ELT): Likewise.
7042 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7043 __FD_MASK instead of __FDELT, __FDMASK.
7044 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7045 Likewise.
7046 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7047 Likewise.
7048
7049 * elf/Makefile (gen-ldd): Fix pattern.
7050
7051 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7052 (init_tls): Likewise.
7053
7054 2011-09-12 Ulrich Drepper <drepper@gmail.com>
7055
7056 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7057
7058 2011-09-12 Andreas Schwab <schwab@redhat.com>
7059
7060 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7061 `struct cmsghdr *' instead of `void *'.
7062 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7063 Likewise.
7064
7065 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7066
7067 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7068 if non-absolute.
7069 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7070 ldd_rewrite_script.
7071
7072 2011-09-11 Ulrich Drepper <drepper@gmail.com>
7073
7074 * configure.in: Remove --with-tls option.
7075 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7076 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7077 out in case it is missing.
7078 * sysdeps/ia64/elf/configure.in: Likewise.
7079 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7080 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7081 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7082 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7083 * sysdeps/sh/elf/configure.in: Likewise.
7084 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7085 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7086 * sysdeps/x86_64/elf/configure.in: Likewise.
7087 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7088 * sysdeps/mach/hurd/tls.h: Likewise.
7089
7090 [BZ #13067]
7091 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7092
7093 [BZ #13090]
7094 * configure.in: Fix use of AC_INIT.
7095
7096 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7097
7098 2011-09-10 Ulrich Drepper <drepper@gmail.com>
7099
7100 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7101 __set_errno.
7102 * malloc/hooks.c: Likewise.
7103
7104 [BZ #11929]
7105 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7106 variables statically.
7107 (narenas): Initialize.
7108 (list_lock): Initialize.
7109 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7110 initializtion of main_arena and list_lock. Small cleanups.
7111 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7112 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7113 Add initializers to main_arena and mp_.
7114 (malloc_state): Remove pagesize member. Change all users to use
7115 GLRO(dl_pagesize).
7116
7117 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7118 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7119 is always initialized.
7120
7121 * malloc/malloc.c: Removed unused configurations and dead code.
7122 * malloc/arena.c: Likewise.
7123 * malloc/hooks.c: Likewise.
7124 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7125
7126 * include/tls.h: Removed. USE___THREAD must always be defined.
7127 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7128 * elf/dl-libc.c: Likewise.
7129 * elf/dl-tsd.c: Likewise.
7130 * include/errno.h: Likewise.
7131 * include/netdb.h: Likewise.
7132 * include/resolv.h: Likewise.
7133 * inet/herrno-loc.c: Likewise.
7134 * inet/herrno.c: Likewise.
7135 * malloc/arena.c: Likewise.
7136 * malloc/hooks.c: Likewise.
7137 * malloc/malloc.c: Likewise.
7138 * resolv/res-state.c: Likewise.
7139 * resolv/res_libc.c: Likewise.
7140 * sysdeps/i386/dl-machine.h: Likewise.
7141 * sysdeps/ia64/dl-machine.h: Likewise.
7142 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7143 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7144 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7145 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7146 * sysdeps/sh/dl-machine.h: Likewise.
7147 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7148 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7149 * sysdeps/unix/i386/sysdep.S: Likewise.
7150 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7151 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7152 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7153 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7154 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7155 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7156 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7157 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7158 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7159 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7160 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7161 * sysdeps/x86_64/dl-machine.h: Likewise.
7162 * tls.make.c: Likewise.
7163
7164 * configure.in: Remove --with-__thread option. Make tests for
7165 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7166 tls_model attribute fail if no support is available. Remove
7167 USE_IN_LIBIO.
7168 * Makeconfig: Adjust for dropped configure option. All features are
7169 now mandatory.
7170 * Makerules: Likewise.
7171 * Versions.def: Likewise.
7172 * argp/argp-fmtstream.c: Likewise.
7173 * argp/argp-fmtstream.h: Likewise.
7174 * argp/argp-help.c: Likewise.
7175 * assert/assert.c: Likewise.
7176 * config.h.in: Likewise.
7177 * config.make.in: Likewise.
7178 * configure: Likewise.
7179 * configure.in: Likewise.
7180 * csu/Versions: Likewise.
7181 * csu/init.c: Likewise.
7182 * elf/tst-audit2.c: Likewise.
7183 * elf/tst-tls10.c: Likewise.
7184 * elf/tst-tls10.h: Likewise.
7185 * elf/tst-tls11.c: Likewise.
7186 * elf/tst-tls12.c: Likewise.
7187 * elf/tst-tls14.c: Likewise.
7188 * elf/tst-tlsmod11.c: Likewise.
7189 * elf/tst-tlsmod12.c: Likewise.
7190 * elf/tst-tlsmod13.c: Likewise.
7191 * elf/tst-tlsmod13a.c: Likewise.
7192 * elf/tst-tlsmod14a.c: Likewise.
7193 * elf/tst-tlsmod15b.c: Likewise.
7194 * elf/tst-tlsmod16a.c: Likewise.
7195 * elf/tst-tlsmod16b.c: Likewise.
7196 * elf/tst-tlsmod7.c: Likewise.
7197 * elf/tst-tlsmod8.c: Likewise.
7198 * elf/tst-tlsmod9.c: Likewise.
7199 * gmon/gmon.c: Likewise.
7200 * grp/fgetgrent_r.c: Likewise.
7201 * grp/putgrent.c: Likewise.
7202 * hurd/fopenport.c: Likewise.
7203 * include/libc-symbols.h: Likewise.
7204 * include/tls.h: Likewise.
7205 * intl/gettextP.h: Likewise.
7206 * intl/loadinfo.h: Likewise.
7207 * locale/global-locale.c: Likewise.
7208 * locale/localeinfo.h: Likewise.
7209 * mach/devstream.c: Likewise.
7210 * malloc/arena.c: Likewise.
7211 * malloc/set-freeres.c: Likewise.
7212 * misc/err.c: Likewise.
7213 * misc/getttyent.c: Likewise.
7214 * misc/mntent_r.c: Likewise.
7215 * posix/getopt.c: Likewise.
7216 * posix/wordexp.c: Likewise.
7217 * pwd/fgetpwent_r.c: Likewise.
7218 * resolv/Versions: Likewise.
7219 * resolv/res_hconf.c: Likewise.
7220 * shadow/fgetspent_r.c: Likewise.
7221 * shadow/putspent.c: Likewise.
7222 * stdio-common/printf_fphex.c: Likewise.
7223 * stdio-common/tmpfile.c: Likewise.
7224 * stdlib/abort.c: Likewise.
7225 * stdlib/fmtmsg.c: Likewise.
7226 * sunrpc/auth_unix.c: Likewise.
7227 * sunrpc/clnt_perr.c: Likewise.
7228 * sunrpc/clnt_tcp.c: Likewise.
7229 * sunrpc/clnt_udp.c: Likewise.
7230 * sunrpc/clnt_unix.c: Likewise.
7231 * sunrpc/openchild.c: Likewise.
7232 * sunrpc/svc_simple.c: Likewise.
7233 * sunrpc/svc_tcp.c: Likewise.
7234 * sunrpc/svc_udp.c: Likewise.
7235 * sunrpc/svc_unix.c: Likewise.
7236 * sunrpc/xdr.c: Likewise.
7237 * sunrpc/xdr_array.c: Likewise.
7238 * sunrpc/xdr_rec.c: Likewise.
7239 * sunrpc/xdr_ref.c: Likewise.
7240 * sunrpc/xdr_stdio.c: Likewise.
7241
7242 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7243
7244 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7245
7246 2011-07-03 Andreas Jaeger <aj@suse.de>
7247
7248 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7249 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7250 regenerate with gen-libm-tests.pl.
7251
7252 2010-05-12 Petr Baudis <pasky@suse.cz>
7253
7254 [BZ #11589]
7255 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7256 around j0() zero points by switching to j1().
7257 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7258 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7259 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7260 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7261
7262 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7263
7264 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7265 instead of 0.
7266 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7267 instead of 0. .
7268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7269 Patch in part by Pavel Roskin <proski@gnu.org>.
7270
7271 [BZ #13138]
7272 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7273 realloc.
7274 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7275 Free memory block if necessary.
7276
7277 [BZ #12847]
7278 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7279 be NULL. Don't lock in this case.
7280
7281 2011-09-09 Roland McGrath <roland@hack.frob.com>
7282
7283 * elf/elf.h (ELFOSABI_GNU): New macro.
7284 (ELFOSABI_LINUX): Define to that.
7285
7286 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7287
7288 * string/strncat.c (strncat): Undef the symbol in case it has been
7289 defined in bits/string.h.
7290
7291 2011-09-09 Ulrich Drepper <drepper@gmail.com>
7292
7293 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7294
7295 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7296 link map.
7297
7298 2011-08-17 Andreas Jaeger <aj@suse.de>
7299
7300 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7301
7302 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7303 Ian Lance Taylor <iant@google.com>
7304
7305 * math/libm-test.inc (lround_test): New testcase.
7306 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7307
7308 2011-09-08 Ulrich Drepper <drepper@gmail.com>
7309
7310 * Makefile: Remove support for automatic cvs check-ins.
7311 * Makerules: Likewise.
7312 * config.make.in: Likewise.
7313 * configure.in: Likewise.
7314 * intl/Makefile: Likewise.
7315 * locale/Makefile: Likewise.
7316 * po/Makefile: Likewise.
7317 * posix/Makefile: Likewise.
7318 * sysdeps/gnu/Makefile: Likewise.
7319 * sysdeps/mach/hurd/Makefile: Likewise.
7320 * sysdeps/sparc/sparc32/Makefile: Likewise.
7321
7322 [BZ #13118]
7323 * posix/Makefile (bug-regex32-ENV): Define.
7324 Patch by John Stanley <jpsinthemix@verizon.net>.
7325
7326 * misc/Makefile (headers): Add bits/select2.h.
7327 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7328 * misc/bits/select2.h: New file.
7329 * include/bits/select2.h: New file.
7330 * debug/Makefile (routines): Add fdelt_chk.
7331 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7332 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7333 FD_ISSET.
7334 * debug/fdelt_chk.c: New file.
7335
7336 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7337 * wcsmbs/test-wmemcmp.c: Likewise.
7338 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7339 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7340
7341 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7342
7343 * string/Makefile (strop-tests): Add memcmp.
7344 * string/test-wmemcmp.c: New file.
7345 * string/test-memcmp.c: Add wmemcmp support.
7346
7347 2011-09-08 Roland McGrath <roland@hack.frob.com>
7348
7349 [BZ #13153]
7350 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7351 2011-07-19 change.
7352
7353 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7354 garbage value in a __mach_port_mod_refs call in the cases of the
7355 task-self and thread-self ports.
7356
7357 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7358
7359 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7360
7361 2011-09-08 Andreas Schwab <schwab@redhat.com>
7362
7363 * elf/dl-load.c (lose): Check for non-null L.
7364
7365 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7366
7367 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7368
7369 * elf/dl-libc.c (dlerror_run): Pass back error code from
7370 dl_catch_error.
7371
7372 [BZ #13123]
7373 * elf/dl-load.c (lose): Free l_origin if it is valid.
7374
7375 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7376 names.
7377 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7378 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7379 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7380 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7381 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7382 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7383
7384 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7385
7386 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7387 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7388 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7389 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7390 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7391 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7392 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7393 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7394 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7395 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7396
7397 2011-08-15 Alan Modra <amodra@gmail.com>
7398
7399 [BZ #13092]
7400 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7401 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7402 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7403 ppc_mcount to static-only-routines.
7404 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7405 __mcount_internal.
7406 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7407 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7408
7409 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7410
7411 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7412 for finite and infinity parameters.
7413
7414 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7415
7416 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7417 and add nop instructions for throughput optimization.
7418 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7419
7420 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7421
7422 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7423 aligned copy for power7 with vector-scalar instructions.
7424 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7425
7426 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7427
7428 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7429 AVX check.
7430
7431 2011-09-07 Andreas Schwab <schwab@redhat.com>
7432
7433 [BZ #13144]
7434 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7435 last change.
7436
7437 2011-09-07 Ulrich Drepper <drepper@gmail.com>
7438
7439 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7440 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7441 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7442 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7443 clock_gettime.
7444
7445 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7446
7447 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7448 Forgot to demangle the pointer.
7449
7450 * sysdeps/i386/sysdep.h: Define atom_text_section.
7451 * sysdeps/x86_64/sysdep.h: Likewise.
7452 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7453 section with atom_text_section.
7454 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7455 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7456 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7457 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7458 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7459
7460 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7461 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7462 already be defined. Change to take two parameters and don't assign
7463 result to variable. Adjust all users.
7464 Define INTERNAL_GETTIME if not already defined.
7465 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7466 call.
7467 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7468 HAVE_CLOCK_GETTIME_VSYSCALL.
7469 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7470
7471 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7472 gettimeofday vsyscall, just use time.
7473
7474 2011-09-06 Andreas Schwab <schwab@redhat.com>
7475
7476 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7477 <errno.h>.
7478
7479 2011-09-06 Ulrich Drepper <drepper@gmail.com>
7480
7481 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7482 syscall on x86-64.
7483 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7484 syscall.
7485 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7486 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7487 syscall if possible.
7488
7489 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7490
7491 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7492 e_ident. Don't pass to find_mapsXX.
7493 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7494
7495 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7496
7497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7498 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7499 * sysdeps/x86_64/multiarch/strchr.S: Update.
7500 Check bit_slow_BSF bit.
7501 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7502 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7503 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7504
7505 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7506
7507 [BZ #13134]
7508 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7509 before glibc 2.15.
7510 (tryshell): Define.
7511 (__spawni): Change last parameter to be flag. Test
7512 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7513 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7514 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7515 * posix/spawni.c: Likewise.
7516 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7517 * posix/spawnp.c: Likewise. Change normal version to use
7518 SPAWN_XFLAGS_USE_PATH.
7519 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7520 SPAWN_XFLAGS_TRY_SHELL.
7521
7522 [BZ #13150]
7523 * posix/glob.h: Remove gcc 1.x support.
7524
7525 [BZ #13068]
7526 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7527
7528 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7529
7530 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7531 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7532 strrchr-sse2-bsf
7533 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7534 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7535 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7536 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7537 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7538 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7539
7540 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7541
7542 * sysdeps/x86_64/wcscmp.S: New file.
7543
7544 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7545 wcscmp-c wcscmp-sse2
7546 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7547 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7548 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7549 * wcsmbs/wcscmp.c: Allow renaming.
7550
7551 2011-09-05 David S. Miller <davem@davemloft.net>
7552
7553 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7554 stack slot, rather than the struct return pointer slot.
7555 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7556 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7558 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7559
7560 2011-09-05 Ulrich Drepper <drepper@gmail.com>
7561
7562 * po/ja.po: Update from translation team.
7563
7564 [BZ #13144]
7565 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7566 kernel in 64-bit binaries.
7567
7568 2011-09-01 David S. Miller <davem@davemloft.net>
7569
7570 * elf/elf.h (HWCAP_SPARC_*): Move to..
7571 * sysdeps/sparc/sysdep.h: this new file and add new values.
7572 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7573 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7574 _DL_HWCAP_COUNT to 24.
7575 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7576 entries.
7577 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7578 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7579 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7580 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7581 instead of magic constants.
7582 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7583
7584 2011-08-31 David S. Miller <davem@davemloft.net>
7585
7586 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7587 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7588 Reimplement to do errno handling inline.
7589 (SYSCALL_ERROR_HANDLER): New macro.
7590 (__SYSCALL_STRING): Do not do errno handling in asm.
7591 (__CLONE_SYSCALL_STRING): Delete.
7592 (__INTERNAL_SYSCALL_STRING): Delete.
7593 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7594 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7595 (PSEUDO): Reimplement to do errno handling inline.
7596 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7597 (SYSCALL_ERROR_HANDLER): New macro.
7598 (__SYSCALL_STRING): Do not do errno handling in asm.
7599 (__CLONE_SYSCALL_STRING): Delete.
7600 (__INTERNAL_SYSCALL_STRING): Delete.
7601 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7602 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7603 i386.
7604 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7605 (inline_syscall*): Add 'err' argument.
7606 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7607 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7608 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7609 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7610
7611 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7612 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7613
7614 2011-08-30 Andreas Schwab <schwab@redhat.com>
7615
7616 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7617
7618 2011-08-29 Jiri Olsa <jolsa@redhat.com>
7619
7620 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7621 directive.
7622
7623 2011-08-24 David S. Miller <davem@davemloft.net>
7624
7625 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7626
7627 2011-08-24 Andreas Schwab <schwab@redhat.com>
7628
7629 * elf/Makefile: Add rules to build and run unload8 test.
7630 * elf/unload8.c: New file.
7631 * elf/unload8mod1.c: New file.
7632 * elf/unload8mod1x.c: New file.
7633 * elf/unload8mod2.c: New file.
7634 * elf/unload8mod3.c: New file.
7635
7636 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7637 it wasn't used.
7638
7639 2011-08-23 David S. Miller <davem@davemloft.net>
7640
7641 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7642 subtract stack bias.
7643 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7644 %sp not %fp in calculations.
7645 (_JMPBUF_UNWINDS_ADJ): Likewise.
7646
7647 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7648 (aio_suspend): Call it to force an exception region around the
7649 AIO_MISC_WAIT() invocation.
7650
7651 2011-08-23 Andreas Schwab <schwab@redhat.com>
7652
7653 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7654 backslash.
7655
7656 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7657
7658 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7659 protection macro.
7660 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7661 and <dl-machine.h>.
7662 (Elf64_FuncDesc): Remove.
7663
7664 2011-08-22 David S. Miller <davem@davemloft.net>
7665
7666 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7667 sigaltstack check, add missing cfi directives.
7668 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7669 missing cfi directives, and sigaltstack handling.
7670
7671 2011-08-16 Andreas Schwab <schwab@redhat.com>
7672
7673 [BZ #11724]
7674 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7675 object is seen twice.
7676 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7677
7678 * elf/Makefile (distribute): Add tst-initorder2.c.
7679 (tests): Add tst-initorder2.
7680 (modules-names): Add tst-initorder2a tst-initorder2b
7681 tst-initorder2c tst-initorder2d. Add rules to build them.
7682 ($(objpfx)tst-initorder2.out): New rule.
7683 * elf/tst-initorder2.c: New file.
7684 * elf/tst-initorder2.exp: New file.
7685
7686 2011-08-22 Andreas Schwab <schwab@redhat.com>
7687
7688 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7689
7690 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7691 dependencies back to end of function.
7692
7693 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7694 $(elfobjdir)/ld.so.
7695
7696 2011-08-21 Ulrich Drepper <drepper@gmail.com>
7697
7698 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7699 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7700 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7701 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7702 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7703 of __vdso_gettimeofday.
7704 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7705 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7706 attribute_hidden.
7707 (_libc_vdso_platform_setup): Remove initialization of
7708 __vdso_gettimeofday and __vdso_time.
7709
7710 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7711
7712 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7713 and fgetc_unlocked.
7714 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7715 getc_unlocked.
7716
7717 * elf/dl-open.c (add_to_global): Report additions to the global scope
7718 for LD_DEBUG=scopes.
7719 (dl_open_worker): Also print scope of newly loaded dependencies.
7720 (_dl_show_scope): Indicate if there is no scope.
7721
7722 [BZ #13114]
7723 * stdio-common/Makefile (tests): Add bug24.
7724 * stdio-common/bug24.c: New file.
7725
7726 2011-08-19 Andreas Jaeger <aj@suse.de>
7727
7728 [BZ #13114]
7729 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7730 non-existant file when using close-on-exec mode.
7731
7732 2011-08-20 Ulrich Drepper <drepper@gmail.com>
7733
7734 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7735 the very first instruction.
7736
7737 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7738 the CFI state in the end.
7739 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7740 inclusion of dl-trampoline.h.
7741 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7742
7743 2011-08-19 Andreas Schwab <schwab@redhat.com>
7744
7745 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7746 expectations for long double.
7747
7748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7749 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7750
7751 2011-08-14 David S. Miller <davem@davemloft.net>
7752
7753 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7754 artificual limit depends upon the system page size.
7755
7756 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7757
7758 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7759 * resolv/Makefile: Define CFLAGS-libresolv.
7760
7761 2011-08-17 Andreas Schwab <schwab@redhat.com>
7762
7763 * nss/makedb.c (compute_tables): Make variables used in nested
7764 function static.
7765
7766 2011-08-17 Ulrich Drepper <drepper@gmail.com>
7767
7768 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7769 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7770 if buffer was too small.
7771
7772 * elf/pldd.c (main): Attach to all threads in the process.
7773 Rewrite /proc handling to use *at functions.
7774
7775 2011-08-16 Ulrich Drepper <drepper@gmail.com>
7776
7777 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7778 specifies first scope to show.
7779 (dl_open_worker): Update callers. Move printing scope of new
7780 object to before the relocation.
7781 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7782 * sysdeps/generic/ldsodefs.h: Update declaration.
7783
7784 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7785 string for the scope number.
7786
7787 2011-08-14 Ulrich Drepper <drepper@gmail.com>
7788
7789 * nscd/servicescache.c (cache_addserv): Make sure written is always
7790 initialized.
7791
7792 2011-08-14 Roland McGrath <roland@hack.frob.com>
7793
7794 * sysdeps/i386/i486/bits/atomic.h
7795 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7796 statement expression, so as to suppress "set but not used" warning.
7797 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7798
7799 * string/strncat.c (STRNCAT): Use prototype definition.
7800
7801 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7802 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7803 -Iprograms here.
7804 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7805 (localedef-modules): Add localedef.
7806 (locale-modules): Add locale.
7807
7808 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7809 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7810 to avoid a warning.
7811
7812 2011-08-14 David S. Miller <davem@davemloft.net>
7813
7814 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7815 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7816
7817 2011-08-13 Ulrich Drepper <drepper@gmail.com>
7818
7819 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7820 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7821 * elf/rtld.c (dl_main): Set l_name of vDSO.
7822 Call _dl_show_scope when DL_DEBUG_SCOPES.
7823 (process_dl_debug): Recognize scopes flag and also set it for all.
7824 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7825 Declare _dl_show_scope.
7826
7827 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7828 (do_dlopen): Pass caller_dlopen to dl_open.
7829 (__libc_dlopen_mode): Initialize caller_dlopen.
7830
7831 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7832 of libc. Make tolower call locale-independent. Optimize a bit by
7833 using isdigit instead of isalnum.
7834 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7835
7836 2011-08-12 Ulrich Drepper <drepper@gmail.com>
7837
7838 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7839 was a dependency or dynamically loaded.
7840
7841 2011-08-11 Ulrich Drepper <drepper@gmail.com>
7842
7843 * intl/l10nflist.c: Allow architecture-specific pop function.
7844 * sysdeps/x86_64/l10nflist.c: New file.
7845
7846 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7847 classification.
7848
7849 2011-08-10 Andreas Schwab <schwab@redhat.com>
7850
7851 * include/dirent.h: Add libc_hidden_proto for scandirat and
7852 scandirat64. Don't declare __scandirat64.
7853 * dirent/scandirat.c: Add libc_hidden_def.
7854 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7855 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7856
7857 2011-08-10 David S. Miller <davem@davemloft.net>
7858
7859 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7860 enum.
7861 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7862 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7863 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7864
7865 2011-08-09 Ulrich Drepper <drepper@gmail.com>
7866
7867 * Versions.def [libc]: Add GLIBC_2.15.
7868 * dirent/Makefile (routines): Add scandirat and scandirat64.
7869 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7870 GLIBC_2.15.
7871 * dirent/dirent.h: Declare scandirat and scandirat64.
7872 * dirent/scandirat.c: New file.
7873 * dirent/scandirat64.c: New file.
7874 * sysdeps/wordsize-64/scandirat.c: New file.
7875 * sysdeps/wordsize-64/scandirat64.c: New file.
7876 * dirent/opendir.c: Define opendirat.
7877 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7878 using scandirat.
7879 * dirent/scandir64.c: Adjust for scandir.c change.
7880 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7881 __scandirat64, and __scandir_cancel_handler.
7882 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7883 additional parameter and use openat instead of open (outside of ld.so).
7884 Add new __opendir as wrapper around __opendirat.
7885 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7886 here without requiring old scandirat implementation.
7887
7888 2011-08-08 Ulrich Drepper <drepper@gmail.com>
7889
7890 * dirent/scandir.c (cancel_handler): Renamed to
7891 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7892 defined. Adjust users.
7893 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7894 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7895
7896 2011-08-04 Ulrich Drepper <drepper@gmail.com>
7897
7898 * string/test-string.h (IMPL): Use __STRING to expand name and then
7899 stringify it.
7900
7901 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7902 of cleanups.
7903
7904 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7905
7906 * string/Makefile: Update.
7907 (strop-tests): Append strncat.
7908 * string/test-wcscmp.c: New file.
7909 New comprehensive test for wcscmp.
7910 * string/test-strcmp.c: Update.
7911 (WIDE): New define.
7912
7913 2011-07-22 Andreas Schwab <schwab@redhat.com>
7914
7915 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7916 line.
7917
7918 2011-07-26 Andreas Schwab <schwab@redhat.com>
7919
7920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7921 encoding to ACE if AI_IDN.
7922
7923 2011-08-01 Jakub Jelinek <jakub@redhat.com>
7924
7925 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7926 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7927
7928 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7929
7930 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7931 Fix overflow bug in strncat.
7932 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7933
7934 * string/test-strncat.c: Update.
7935 Add new tests for checking overflow bugs.
7936
7937 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7938
7939 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7940 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7941 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7942 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7943 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7944 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7945 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7946 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7947 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7948
7949 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7950 (USE_AS_STRCAT): Define.
7951 Add strcat and strncat support.
7952 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7953
7954 2011-07-25 Andreas Schwab <schwab@redhat.com>
7955
7956 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7957 __n bigger than INT_MAX+1.
7958 (__strncmp_g): Likewise.
7959
7960 2011-07-23 Ulrich Drepper <drepper@gmail.com>
7961
7962 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7963 * libio/stido.h: Likewise.
7964
7965 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7966 (AF_NFC): Define.
7967 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7968 (AF_NFC): Define.
7969
7970 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7971 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7972 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7973 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7974 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7975
7976 [BZ #13021]
7977 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7978 installed.
7979
7980 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7981 typo.
7982 (_dl_x86_64_save_sse): Likewise.
7983
7984 2011-07-22 Ulrich Drepper <drepper@gmail.com>
7985
7986 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7987 OSXSAVE.
7988 (_dl_x86_64_save_sse): Likewise.
7989
7990 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7991
7992 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7993
7994 2011-07-21 Andreas Schwab <schwab@redhat.com>
7995
7996 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7997 change.
7998 (_dl_x86_64_save_sse): Use correct AVX check.
7999
8000 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8001
8002 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
8003 bug in strncpy/strncat.
8004 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8005
8006 2011-07-21 Ulrich Drepper <drepper@gmail.com>
8007
8008 * string/tester.c (test_strcat): Add tests for different alignments
8009 of source and destination.
8010 (test_strncat): Likewise.
8011
8012 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8013
8014 [BZ #12852]
8015 * posix/glob.c (glob): Check passed in values before using them in
8016 expressions to avoid some overflows.
8017 (glob_in_dir): Likewise.
8018
8019 [BZ #13007]
8020 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
8021 check for AVX enablement so that we don't crash with old kernels and
8022 new hardware.
8023 * elf/tst-audit4.c: Add same checks here.
8024 * elf/tst-audit6.c: Likewise.
8025
8026 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
8027
8028 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
8029
8030 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
8031
8032 2011-07-20 Ulrich Drepper <drepper@gmail.com>
8033
8034 * po/cs.po: Update from translation team.
8035 * po/bg.po: Likewise.
8036
8037 2011-07-12 Marek Polacek <mpolacek@redhat.com>
8038
8039 * misc/sys/cdefs.h: Add support for const attribute.
8040 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8041 to gnu_dev_{major,minor,makedev} functions.
8042
8043 2011-07-20 Marek Polacek <mpolacek@redhat.com>
8044
8045 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8046
8047 2011-07-20 Andreas Schwab <schwab@redhat.com>
8048
8049 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8050 strlen results.
8051
8052 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8053
8054 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8055 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8056 register in order to avoid conflicts with the soft frame pointer
8057 being held in r11 when necessary.
8058 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8059 (INTERNAL_VSYSCALL_NCS): Likewise.
8060
8061 2011-07-14 Marek Polacek <mpolacek@redhat.com>
8062
8063 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8064 * elf/dl-fini.c (_dl_fini): Adjust caller.
8065 * elf/dl-close.c (_dl_close_worker): Likewise.
8066 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8067
8068 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8069
8070 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8071 "aux_cache->nlibs < 0".
8072
8073 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8074 in the reload-count case.
8075
8076 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8077
8078 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8079 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8080 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8081 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8082 * sysdeps/x86_64/multiarch/strcat.S: New file.
8083 * sysdeps/x86_64/multiarch/strncat.S: New file.
8084 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8085 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8086 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8087 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8088 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8089 (USE_AS_STRCAT): Define.
8090 Add strcat and strncat support.
8091 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8092 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8093 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8094 * string/strncat.c: Update.
8095 (USE_AS_STRNCAT): Define.
8096 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8097 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8098 and i7.
8099 * sysdeps/x86_64/multiarch/init-arch.h
8100 (bit_Prefer_PMINUB_for_stringop): New.
8101 (index_Prefer_PMINUB_for_stringop): Likewise.
8102 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8103 bit_Prefer_PMINUB_for_stringop.
8104
8105 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8106
8107 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8108 buffer64.
8109 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8110 of casting of buffer.
8111 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8112 buffer32 and buffer64.
8113 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8114 writes instead of casting of buffer.
8115 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8116 buffer32.
8117 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8118 casting of buffer.
8119
8120 2011-07-19 Andreas Schwab <schwab@redhat.com>
8121
8122 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8123
8124 2011-07-19 Ulrich Drepper <drepper@gmail.com>
8125
8126 * nscd/nscd.c (termination_handler): Don't do anything for a database
8127 if it has not yet been initialized.
8128
8129 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8130
8131 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8132
8133 2011-07-15 Marek Polacek <mpolacek@redhat.com>
8134
8135 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8136
8137 2011-07-18 Ulrich Drepper <drepper@gmail.com>
8138
8139 * po/nl.po: Update from translation team.
8140 * po/sv.po: Likewise.
8141
8142 2011-07-16 Roland McGrath <roland@hack.frob.com>
8143
8144 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8145 now disallowed by GCC.
8146
8147 * configure.in (use-default-link): Default to yes if a test -shared
8148 link meets our qualifications.
8149 * configure: Regenerated.
8150
8151 * config.make.in (output-format): New variable.
8152 * configure.in: Check for ld --print-output-format support.
8153 * configure: Regenerated.
8154 * Makerules ($(common-objpfx)format.lds)
8155 [$(output-format) != unknown]: Just use $(output-format),
8156 instead of the linker-script munging.
8157
8158 2011-07-14 Roland McGrath <roland@hack.frob.com>
8159
8160 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8161 of $(common-objpfx)shlib.lds.
8162 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8163
8164 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8165 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8166
8167 * configure.in (-z relro check): Adjust test code to add a large
8168 writable data section after it.
8169 * configure: Regenerated.
8170
8171 2011-07-11 Roland McGrath <roland@hack.frob.com>
8172
8173 * configure.in (-z relro check): Fix test code to make the variable
8174 truly const.
8175 * configure: Regenerated.
8176
8177 2011-07-11 Ulrich Drepper <drepper@gmail.com>
8178
8179 * nscd/nscd.h (struct traced_file): Define.
8180 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8181 elements. Add traced_files.
8182 (inotify_fd): Declare.
8183 (register_traced_file): Declare.
8184 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8185 (inotify_fd): Export.
8186 (resolv_conf_descr): Remove.
8187 (nscd_init): Move inotify descriptor creation to main.
8188 Don't register files for notification here.
8189 (register_traced_file): New function.
8190 (invalidate_cache): Don't use reset_res to determine whether to call
8191 res_init, go through the list of registered files.
8192 (main_loop_poll): The inotify descriptors are now stored in the
8193 structures for the traced files.
8194 (main_loop_epoll): Likewise
8195 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8196 to __nss_disable_nscd.
8197 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8198 for a database anymore. Check the records for all the registered
8199 files instead.
8200 * nss/Makefile (libnss_files-routines): Add files-init.
8201 (libnss_db-routines): Add db-init.
8202 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8203 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8204 * nss/nss_db/db-init.c: New file.
8205 * nss/nss_files/files-init.c: New file.
8206 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8207 __nss_lookup_function.
8208 (__nss_lookup_function): Call nss_load_library.
8209 (nss_load_all_libraries): New function.
8210 (__nss_disable_nscd): Take parameter with callback function for files
8211 to register. Set is_nscd. Load all the DSOs for the NSS modules
8212 used for the cached services.
8213 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8214 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8215 options for features to all the files in nscd.
8216
8217 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8218
8219 2011-07-10 Roland McGrath <roland@hack.frob.com>
8220
8221 * csu/elf-init.c (__libc_csu_init): Comment typo.
8222
8223 2011-07-09 Ulrich Drepper <drepper@gmail.com>
8224
8225 * po/pl.po: Update from translation team.
8226 * po/ja.po: Likewise.
8227 * po/ru.po: Likewise.
8228 * po/ko.po: Likewise.
8229 * po/fr.po: Likewise.
8230
8231 2011-07-09 Roland McGrath <roland@hack.frob.com>
8232
8233 * configure.in (.ctors/.dtors header and trailer check):
8234 Use an empirical test on a built program.
8235 * configure: Regenerated.
8236
8237 * configure.in (-z relro check): Use an empirical test on a built DSO.
8238 Detect, but do not require, on ia64.
8239 * configure: Regenerated.
8240
8241 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8242 Update tests that use readelf to use $READELF instead.
8243 * configure: Regenerated.
8244
8245 2011-07-08 Ulrich Drepper <drepper@gmail.com>
8246
8247 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8248 if the result is not used.
8249
8250 2011-07-05 Andreas Jaeger <aj@suse.de>
8251
8252 [BZ#9696]
8253 * stdlib/tst-strtod.c: Add testcase.
8254
8255 2011-07-07 Ulrich Drepper <drepper@gmail.com>
8256
8257 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8258 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8259 The latter has a higher limit. Take additional parameter to pass to
8260 the new function.
8261 (__pathconf): Pass file to __statfs_link_max.
8262 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8263 __statfs_link_max.
8264 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8265 __statfs_link_max.
8266
8267 [BZ #12868]
8268 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8269 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8270 Handle Lustre.
8271 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8272 (__statfs_filesize_max): Likewise.
8273 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8274
8275 2011-07-05 Andreas Jaeger <aj@suse.de>
8276
8277 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8278
8279 2011-07-06 Marek Polacek <mpolacek@redhat.com>
8280
8281 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8282 `status' variable.
8283 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8284 Likewise.
8285
8286 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8287
8288 * Makefile (strop-tests): Add strncat.
8289 * string/test-strncat.c: New file.
8290
8291 2011-06-30 Marek Polacek <mpolacek@redhat.com>
8292
8293 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8294
8295 2011-06-21 Andreas Jaeger <aj@suse.de>
8296
8297 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8298 Copy rule from iconvdata/Makefile.
8299
8300 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8301
8302 [BZ #12922]
8303 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8304 but no long options are defined, just return 'W'.
8305
8306 2011-06-22 Marek Polacek <mpolacek@redhat.com>
8307
8308 [BZ #9696]
8309 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8310
8311 2011-07-06 Ulrich Drepper <drepper@gmail.com>
8312
8313 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8314 netgroups to read.
8315 (innetgr): Likewise.
8316
8317 2011-07-05 Roland McGrath <roland@hack.frob.com>
8318
8319 * config.make.in (install_root): Default to $(DESTDIR).
8320
8321 2011-07-05 Ulrich Drepper <drepper@gmail.com>
8322
8323 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8324
8325 2011-07-02 Roland McGrath <roland@hack.frob.com>
8326
8327 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8328
8329 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8330 containing directory rather than embedding absolute directory names.
8331
8332 * scripts/check-local-headers.sh: Rewritten using awk.
8333 Match by word, not by line. Print error messages for matches.
8334 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8335
8336 * Makerules [shlib-lds-flags empty]:
8337 ($(common-objpfx)libc_pic.opts): New target.
8338 ($(common-objpfx)libc_pic.os.clean): New target.
8339 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8340
8341 * config.make.in (OBJCOPY): New variable.
8342 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8343 * configure: Regenerated.
8344
8345 * config.make.in (use-default-link): New variable.
8346 * configure.in (use_default_link): Grok --with-default-link to set it.
8347 * configure: Regenerated.
8348 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8349 (shlib-lds, shlib-lds-flags): Define to empty.
8350
8351 * Makerules (shlib-lds): New variable.
8352 (shlib-lds-flags): New variable.
8353 (build-shlib, build-moduile, build-module-asneeded): Use it.
8354 ($(common-objpfx)libc.so): Use $(shlib-lds).
8355 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8356 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8357
8358 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8359 DT_FLAGS/DT_FLAGS_1 with zero flags.
8360
8361 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8362 linker script munging.
8363
8364 2011-07-02 Ulrich Drepper <drepper@gmail.com>
8365
8366 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8367 as 128-bit value.
8368 * crypt/sha512.c (sha512_process_block): Perform total addition using
8369 128-bit if possible.
8370 (__sha512_finish_ctx): Likewise.
8371 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8372 as 64-bit value.
8373 * crypt/sha256.c (SWAP64): Define.
8374 (sha256_process_block): Perform total addition using 64-bit if
8375 possible.
8376 (__sha256_finish_ctx): Likewise.
8377
8378 2011-07-01 Ulrich Drepper <drepper@gmail.com>
8379
8380 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8381 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8382 * nscd/hstcache.c (cache_addhst): Likewise.
8383 * nscd/grpcache.c (cache_addgr): Likewise.
8384 * nscd/aicache.c (addhstaiX): Likewise
8385 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8386
8387 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
8388
8389 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8390 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8391 * nscd/hstcache.c (cache_addhst): Likewise.
8392 * nscd/grpcache.c (cache_addgr): Likewise.
8393 * nscd/aicache.c (addhstaiX): Likewise
8394
8395 2011-07-01 Andreas Schwab <schwab@redhat.com>
8396
8397 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8398 domain only when needed.
8399
8400 2011-06-30 Andreas Schwab <schwab@redhat.com>
8401
8402 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8403 is always restored.
8404
8405 2011-06-29 Ulrich Drepper <drepper@gmail.com>
8406
8407 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8408 are re-adding the entry.
8409 * nscd/servicescache.c (cache_addserv): Likewise.
8410
8411 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8412
8413 * sysdeps/generic/dl-irel.h: fix protection against multiple
8414 inclusions.
8415 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8416
8417 2011-06-28 Ulrich Drepper <drepper@gmail.com>
8418
8419 [BZ #12935]
8420 * malloc/memusage.sh: Fix quoting in message.
8421 * debug/xtrace.sh: Likewise.
8422
8423 * configure.in: Remove support for --experimental-malloc option, make
8424 it the default.
8425 * config.make.in: Likewise.
8426 * malloc/Makefile: Likewise.
8427
8428 2011-06-27 Andreas Schwab <schwab@redhat.com>
8429
8430 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8431 two-byte characters.
8432
8433 2011-06-27 Roland McGrath <roland@hack.frob.com>
8434
8435 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8436 AC_CACHE_CHECK invocation.
8437 * configure: Regenerated.
8438
8439 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8440
8441 2011-06-27 Ulrich Drepper <drepper@gmail.com>
8442
8443 [BZ #12350]
8444 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8445 bit from old_res_options.
8446
8447 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8448
8449 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8450 value type for setfct.
8451
8452 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8453
8454 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8455 __gettimeofday instead of gettimeofday.
8456
8457 2011-06-26 Ulrich Drepper <drepper@gmail.com>
8458
8459 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8460
8461 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8462
8463 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8464
8465 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8466 info.
8467
8468 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8469
8470 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8471 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8472 strcpy-sse2-unaligned strncpy-sse2-unaligned
8473 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8474 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8475 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8476 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8477 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8478 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8479 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8480 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8481 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8482 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8483 (STRCPY): Support SSE2 and SSSE3 versions.
8484
8485 2011-06-24 Ulrich Drepper <drepper@gmail.com>
8486
8487 [BZ #12874]
8488 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8489 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8490 kernels which artificially limit size of requests.
8491
8492 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8493
8494 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8495 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8496 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8497 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8498 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8499 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8500 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8501 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8502 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8503 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8504 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8505 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8506 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8507 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8508 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8509 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8510 Enable unaligned load optimization for Intel Core i3, i5 and i7
8511 processors.
8512 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8513 Define.
8514 (index_Fast_Unaligned_Load): Define.
8515 (HAS_FAST_UNALIGNED_LOAD): Define.
8516
8517 2011-06-23 Marek Polacek <mpolacek@redhat.com>
8518
8519 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8520
8521 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8522
8523 [BZ #12907]
8524 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8525 until it is clear that the information is realy needed.
8526 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8527
8528 2011-06-22 Andreas Schwab <schwab@redhat.com>
8529
8530 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8531
8532 2011-06-22 Ulrich Drepper <drepper@gmail.com>
8533
8534 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8535 /sys/devices/system/cpu/online if it is usable.
8536
8537 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8538 reading the information from the /proc filesystem to once a second.
8539
8540 2011-06-21 Andreas Jaeger <aj@suse.de>
8541
8542 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8543 NULL after inclusion of kernel headers.
8544
8545 2011-06-21 Ulrich Drepper <drepper@gmail.com>
8546
8547 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8548 calls to internal_setent.
8549
8550 [BZ #12885]
8551 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8552 addresses using gethostbyname4_r ignore IPv4 addresses.
8553
8554 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8555 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8556
8557 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8558
8559 2011-06-20 David S. Miller <davem@davemloft.net>
8560
8561 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8562 inclusions.
8563 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8564
8565 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8566 (elf_irel): Use it.
8567 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8568 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8569 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8570 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8571 * sysdeps/x86_64/dl-irel.h: Likewise.
8572
8573 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8574 * elf/dl-sym.c: Likewise.
8575
8576 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8577
8578 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8579 need to dereference resplen2.
8580
8581 2011-06-14 Andreas Schwab <schwab@redhat.com>
8582
8583 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8584
8585 2011-06-15 Ulrich Drepper <drepper@gmail.com>
8586
8587 * Makeconfig: Define vardbdir and inst_vardbdir.
8588 * nss/Makefile: Add rules to install db-Makefile.
8589
8590 * nss/nss_db/db-XXX.c: Cleanup.
8591
8592 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8593 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8594 GLIBC_PRIVATE.
8595 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8596 * nss/makedb.c: Implement -g option to specify that value strings
8597 are generated and should not be added to table iterated over for
8598 get*ent calls.
8599 * nss/nss_db/db-initgroups.c: New file.
8600
8601 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8602 interface.
8603
8604 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8605 (internal_getgrouplist): Adjust to name change.
8606 Update use_initgroups_entry if this is not the first call.
8607 * nss/databases.def: Add initgroups entry.
8608
8609 * nss/makedb.c (compute_tables): Check result of multiple hash table
8610 sizes to minimize maximum chain length.
8611
8612 2011-06-14 Ulrich Drepper <drepper@gmail.com>
8613
8614 * Versions.def: Add entry for libnss_db.
8615 * shlib-versions: Likewise.
8616 * nss/Makefile: Add rules to build libnss_db.
8617 * nss/Versions: Add libnss_db information. Organize libnss_files
8618 entries better.
8619 * nss/db-Makefile: Add gshadow support. Change rules for the new
8620 makedb progra. Some minor improvements to generate smaller files.
8621 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8622 here from...
8623 * nss/makedb.c: ...here.
8624 Improve database format to be smaller and require less memory at
8625 runtime.
8626 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8627 db anymore.
8628 * nss/nss_db/db-netgrp.c: Likewise.
8629 * nss/nss_db/db-open.c: Likewise.
8630 * nss/nss_files/flies-XXX.x: Adjust comments.
8631 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8632 * nss/nss_files/files-grp.c: Likewise.
8633 * nss/nss_files/files-hosts.c: Likewise.
8634 * nss/nss_files/files-network.c: Likewise.
8635 * nss/nss_files/files-proto.c: Likewise.
8636 * nss/nss_files/files-pwd.c: Likewise.
8637 * nss/nss_files/files-rpc.c: Likewise.
8638 * nss/nss_files/files-service.c: Likewise.
8639 * nss/nss_files/files-sgrp.c: Likewise.
8640 * nss/nss_files/files-spwd.c: Likewise.
8641 * nss/nss_db/db-alias.c: Removed.
8642 * nss/nss_db/dummy-db.h: Removed.
8643
8644 2011-06-02 Ulrich Drepper <drepper@gmail.com>
8645
8646 * nss/makedb.c: Rewritten to not use database library.
8647 * nss/Makefile: Update to build new makedb program.
8648
8649 2011-06-14 Andreas Jaeger <aj@suse.de>
8650
8651 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8652 memset declaration.
8653
8654 2011-06-10 Andreas Schwab <schwab@redhat.com>
8655
8656 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8657 tmpbuf.
8658
8659 2011-06-10 Roland McGrath <roland@hack.frob.com>
8660
8661 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8662 * elf/Makefile ($(objpfx)ld.so): Likewise.
8663
8664 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8665 Don't list ld.so twice in dependencies.
8666
8667 * posix/bug-regex31.c: Include <stdlib.h>.
8668
8669 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8670
8671 * nis/nss_compat/compat-spwd.c
8672 (getspent_next_nss_netgr): Remove unused variable.
8673 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8674
8675 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8676 nonmembers" output to use the right array.
8677
8678 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8679
8680 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8681
8682 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8683 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8684 * catgets/gencat.c (read_input_file): Likewise.
8685 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8686
8687 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8688 variable definition inside #if's controlling its use.
8689
8690 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8691
8692 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8693
8694 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8695
8696 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8697 unreachable code.
8698
8699 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8700
8701 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8702 * configure: Regenerated.
8703
8704 * Makerules: Revert last change.
8705 * elf/Makefile: Likewise.
8706
8707 2011-06-09 Roland McGrath <roland@hack.frob.com>
8708
8709 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8710 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8711 (reloc-link): Likewise.
8712
8713 2011-06-09 Ulrich Drepper <drepper@gmail.com>
8714
8715 * elf/Makefile: Add rules to build pldd.
8716 * elf/pldd.c: New file.
8717 * elf/pldd-xx.c: New file.
8718
8719 2011-06-07 Ulrich Drepper <drepper@gmail.com>
8720
8721 * version.h: Update for 2.15 development version.
8722
8723 2011-06-07 David S. Miller <davem@davemloft.net>
8724
8725 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8726 ifuncs.
8727 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8728 elf_machine_lazy_rel): Likewise.
8729 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8730 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8731 elf_machine_lazy_rel): Likewise.
8732 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8733 dl_hwcap via passed in argument.
8734 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8735 Likewise.
8736
8737 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8738
8739 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8740
8741 2011-06-06 Roland McGrath <roland@hack.frob.com>
8742
8743 [BZ #12849]
8744 * manual/fdl-1.1.texi: New file, verbatim from:
8745 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8746 * manual/lgpl-2.1.texi: New file, verbatim from:
8747 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8748 * manual/Makefile (licenses): New variable, list those new file names.
8749 (texis): Use it.
8750 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8751
8752 * manual/fdl.texi: File removed.
8753 * manual/lesser.texi: File removed.
8754 * manual/libc.texinfo (Copying, Documentation License):
8755 Use new @include file names, put @appendix directive before @include.
8756
8757 2011-06-04 Jakub Jelinek <jakub@redhat.com>
8758
8759 [BZ #12841]
8760 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8761 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8762 (mq_open): Add __NTH.
8763
8764 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8765
8766 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8767 Assume Intel Core i3/i5/i7 processor if AVX is available.
8768
8769 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8770
8771 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8772 typo.
8773
8774 2011-05-31 Andreas Schwab <schwab@redhat.com>
8775
8776 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8777 memory. Use alloca_account. Fix memory leak when retrying.
8778
8779 2011-05-31 Ulrich Drepper <drepper@gmail.com>
8780
8781 * version.h (RELEASE): Bump for 2.14 release.
8782 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8783
8784 * config.make.in (RANLIB): Remove entry.
8785
8786 2011-05-30 Ulrich Drepper <drepper@gmail.com>
8787
8788 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8789 (libc.pot): Work around missing support for .ksh extension in xgettext.
8790
8791 [BZ #12684]
8792 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8793 if both request failed.
8794 (send_dg): In case of server errors clear resplen or *resplen2.
8795
8796 [BZ #12454]
8797 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8798 when there are multiple maps.
8799 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8800 (_dl_fini): Remove test here.
8801
8802 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8803
8804 2011-05-29 Ulrich Drepper <drepper@gmail.com>
8805
8806 [BZ #12350]
8807 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8808 bit from old_res_options.
8809 (gaih_inet): Likewise.
8810
8811 [BZ #11099]
8812 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8813 as signed.
8814
8815 * resolv/res_init.c (res_setoptions): Make the code more compact.
8816
8817 [BZ #11558]
8818 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8819 set RES_USEVC.
8820
8821 [BZ #11634]
8822 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8823
8824 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8825
8826 [BZ #11781]
8827 * malloc/malloc.h: Declare malloc hook variables as volatile.
8828
8829 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8830 in last patch.
8831
8832 [BZ #11799]
8833 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8834 raise in the comment.
8835 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8836 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8837 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8838
8839 2011-05-28 Ulrich Drepper <drepper@gmail.com>
8840
8841 [BZ #12811]
8842 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8843 grow the buffers more if it already has to be sufficient.
8844 (build_wcs_upper_buffer): Likewise.
8845 * posix/regexec.c (check_matching): Likewise.
8846 (clean_state_log_if_needed): Likewise.
8847 (extend_buffers): Don't enlarge buffers beyond size of the input
8848 buffer.
8849 Patches mostly by Emil Wojak <emil@wojak.eu>.
8850 * posix/bug-regex32.c: New file.
8851 * posix/Makefile (tests): Add bug-regex32.
8852
8853 * locale/findlocale.c (_nl_find_locale): Return right away if
8854 _nl_explode_name failed.
8855 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8856
8857 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8858
8859 * debug/xtrace.sh: Unify messages.
8860 * malloc/memusage.sh: Likewise.
8861
8862 [BZ #12813]
8863 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8864 time symbol from vDSO. Substitute with vsyscall if not available.
8865 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8866 __vdso_time.
8867
8868 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8869 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8870 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8871 Add sendmmsg and internal_sendmmsg.
8872 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8873 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8874 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8875
8876 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8877 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8878 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8879
8880 2011-05-27 Ulrich Drepper <drepper@gmail.com>
8881
8882 [BZ #12813]
8883 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8884 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8885 available.
8886 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8887 __vdso_getcpu.
8888
8889 [BZ #12814]
8890 * iconvdata/Makefile (tests): Add bug-iconv9.
8891 * iconvdata/bug-iconv9.c: New file.
8892
8893 2011-05-27 Andreas Schwab <schwab@redhat.com>
8894
8895 [BZ #12814]
8896 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8897
8898 2011-05-25 Jakub Jelinek <jakub@redhat.com>
8899
8900 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8901 (struct user_regs_struct): Change intcs field back to cs.
8902
8903 2011-05-25 Ulrich Drepper <drepper@gmail.com>
8904
8905 * po/ja.po: Update from translation team.
8906
8907 2011-05-23 Ulrich Drepper <drepper@gmail.com>
8908
8909 [BZ #12795]
8910 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8911 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8912
8913 2011-05-20 Andreas Schwab <schwab@redhat.com>
8914
8915 * stdlib/longlong.h: Update from GCC.
8916
8917 2011-05-23 Andreas Schwab <schwab@redhat.com>
8918
8919 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8920 parameter name.
8921 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8922 Add parameter name.
8923 (__sysconf): Pass it down.
8924
8925 2011-05-22 Ulrich Drepper <drepper@gmail.com>
8926
8927 [BZ #12671]
8928 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8929 some situations.
8930 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8931 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8932 add in in __libc_use_alloca calls. Adjust callers.
8933 (glob): Use malloc in some situations.
8934
8935 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8936 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8937 pltexit.
8938
8939 2011-05-21 Ulrich Drepper <drepper@gmail.com>
8940
8941 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8942 and CLOCK_BOOTTIME_ALARM.
8943
8944 [BZ #12782]
8945 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8946 is returned.
8947
8948 * string/_strerror.c (__strerror_r): Print negative errors as signed
8949 numbers.
8950
8951 [BZ #12777]
8952 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8953 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8954 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8955
8956 * configure.in: Fix typo in redirection and correct removal of test
8957 files in two cases.
8958
8959 [BZ #12788]
8960 * locale/setlocale.c (new_composite_name): Fix test to check for
8961 identical name of all categories.
8962
8963 [BZ #12792]
8964 * libio/filedoalloc.c (local_isatty): New function.
8965 (_IO_file_doallocate): Use local_isatty.
8966 * stdio-common/perror.c (perror): In case a new stream is used
8967 forward the stream error.
8968 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8969 error flag.
8970
8971 2011-05-20 Ulrich Drepper <drepper@gmail.com>
8972
8973 [BZ #11869]
8974 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8975 alloca.
8976 * include/alloca.h (extend_alloca_account): Define.
8977
8978 [BZ #11857]
8979 * posix/regex.h: Fix comments with documentation of user-accessible
8980 fields after compilation and describe correct free'ing of pattern
8981 after re_compile_pattern.
8982 Patch by Reuben Thomas <rrt@sc3d.org>.
8983
8984 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8985
8986 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8987 and -mno-altivec to prevent the compiler from using Altivec and/or
8988 VSX instructions when the corresponding registers are not available.
8989
8990 2011-05-19 Andreas Schwab <schwab@redhat.com>
8991
8992 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8993
8994 2011-05-19 Ulrich Drepper <drepper@gmail.com>
8995
8996 * libio/freopen.c (freopen): Use __dup2, not dup2.
8997 * libio/freopen64.c (freopen64): Likewise.
8998
8999 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
9000
9001 [BZ #12775]
9002 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
9003 * math/Makefile (tests): Add test-powl.
9004 (CFLAGS-test-powl.c): Define.
9005 * math/test-powl.c: New file.
9006
9007 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
9008
9009 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
9010
9011 2011-05-17 Ulrich Drepper <drepper@gmail.com>
9012
9013 [BZ #11837]
9014 * iconvdata/gb18030.c: Update to GB18020-2005.
9015
9016 2011-05-16 Ulrich Drepper <drepper@gmail.com>
9017
9018 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
9019 RE_SYNTAX_POSIX_AWK): Update to match recent development.
9020 Patch by Aharon Robbins <arnold@skeeve.com>.
9021
9022 [BZ #11892]
9023 * stdlib/putenv.c (putenv): Don't always create copy of the variable
9024 on the stack.
9025
9026 [BZ #11895]
9027 * misc/pselect.c (__pselect): Handle timeout value errors hidden
9028 through underflows.
9029
9030 [BZ #12766]
9031 * misc/error.c (error_at_line): Ensure file_name and old_file_name
9032 point to strings before performing equality test for error_one_per_line
9033 mode.
9034
9035 [BZ #11697]
9036 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
9037
9038 [BZ #11820]
9039 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9040 (struct user_fpregs_struct): Avoid __uint*_t types.
9041
9042 [BZ #6420]
9043 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9044 symbol info. Use it instead of calling _dl_addr locally.
9045 (lock_and_info): New function.
9046 (tr_freehook): Call lock_and_info and pass symbol info as additional
9047 parameter to tr_where.
9048 (tr_mallochook): Likewise.
9049 (tr_reallochook): Likewise.
9050 (tr_memalignhook): Likewise.
9051
9052 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9053 used and couldn't be at all thread-safe.
9054
9055 2011-05-15 Ulrich Drepper <drepper@gmail.com>
9056
9057 * libio/freopen.c (freopen): Don't close old file descriptor
9058 before the new one is opened. Instead dup the new file descriptor
9059 to the old one after the new stream is created.
9060 * libio/freopen64.c (freopen64): Likewise.
9061 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9062 * libio/fileops.c (_IO_new_file_close_it): Handle new
9063 _IO_FLAGS2_NOCLOSE flag.
9064 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9065 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9066 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9067 _IO_FLAGS2_NOCLOSE flag.
9068 * include/unistd.h: Add hidden_proto for dup3.
9069 Define __have_dup3.
9070 * io/dup3.c: Define hidden symbol.
9071 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9072
9073 [BZ #7101]
9074 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9075 when an incomplete long option is used.
9076 * posix/tst-getopt_long1.c: New file.
9077 * posix/Makefile (tests): Add tst-getopt_long1.
9078
9079 [BZ #10138]
9080 * scripts/config.guess: Update from autoconf-2.68.
9081 * scripts/config.sub: Likewise.
9082
9083 [BZ #10157]
9084 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9085 tests into ...
9086 (has_cpuclock): ...this. New function.
9087 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9088 macro here based on has_cpuclock code.
9089
9090 [BZ #10149]
9091 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9092 First byte (not low byte) is now always NUL.
9093 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9094
9095 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9096 Use non-cancelable interfaces.
9097
9098 [BZ #9809]
9099 * locale/iso-639.def: Add entry for Sorani.
9100
9101 [BZ #11901]
9102 * include/stdlib.h: Move include protection to the right place.
9103 Define abort_msg_s. Declare __abort_msg with it.
9104 * stdlib/abort.c (__abort_msg): Adjust type.
9105 * assert/assert.c (__assert_fail_base): New function. Majority
9106 of code from __assert_fail. Allocate memory for __abort_msg with
9107 mmap.
9108 (__assert_fail): Now call __assert_fail_base.
9109 * assert/assert-perr.c: Remove bulk of implementation. Use
9110 __assert_fail_base.
9111 * include/assert.hL Declare __assert_fail_base.
9112 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9113 mmap.
9114 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9115
9116 2011-05-14 Ulrich Drepper <drepper@gmail.com>
9117
9118 [BZ #11952]
9119 [BZ #12453]
9120 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9121 until all modules are registered in the DTV.
9122 * elf/Makefile: Add rules to build and run tst-tls19.
9123 * elf/tst-tls19.c: New file.
9124 * elf/tst-tls19mod1.c: New file.
9125 * elf/tst-tls19mod2.c: New file.
9126 * elf/tst-tls19mod3.c: New file.
9127 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9128
9129 [BZ #12083]
9130 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9131 correctly.
9132
9133 [BZ #12601]
9134 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9135 two-byte sequence errors.
9136 * iconvdata/Makefile (tests): Add bug-iconv8.
9137 * iconvdata/bug-iconv8.c: New file.
9138
9139 [BZ #12626]
9140 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9141 buf2 definition.
9142
9143 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9144
9145 [BZ #12432]
9146 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9147 (dummy_getcfa): New function.
9148 (init): Get _Unwind_GetCFA address, use dummy if not found.
9149 (backtrace_helper): In recursion check, also check whether CFA changes.
9150 (__backtrace): Completely initialize arg.
9151
9152 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9153 storing incomplete byte sequence in state object. Avoid testing for
9154 guaranteed too small input if we know there is enough data available.
9155
9156 2011-05-11 Andreas Schwab <schwab@redhat.com>
9157
9158 * Makeconfig (+link-pie): Indent.
9159 * Rules (binaries-pie): Define if $(have-fpie) and
9160 $(build-shared).
9161 (binaries-shared): Also filter out $(binaries-pie).
9162 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9163 * nscd/Makefile (others-pie): Add nscd.
9164 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9165 ($(objpfx)nscd): Remove command override.
9166 * login/Makefile (others-pie): Add pt_chown.
9167 ($(objpfx)pt_chown): Remove command override.
9168 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9169 remove command overrides.
9170
9171 2011-05-13 Ulrich Drepper <drepper@gmail.com>
9172
9173 * libio/tst_putwc.c: Fix error messages.
9174
9175 [BZ #12724]
9176 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9177 currently writing and seek to current position when not.
9178 * libio/Makefile (tests): Add bug-fclose1.
9179 * libio/bug-fclose1.c: New file.
9180
9181 2011-05-12 Ulrich Drepper <drepper@gmail.com>
9182
9183 [BZ #12511]
9184 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9185 don't set DF_1_NODELETE here.
9186 (do_lookup_x): When entering new entry test for copy relocation
9187 and if necessary set DF_1_NODELETE flag.
9188 * elf/tst-unique4.cc: New file.
9189 * elf/tst-unique4.h: New file.
9190 * elf/tst-unique4lib.cc: New file.
9191 * elf/Makefile: Add rules to build and run tst-unique4.
9192 Patch by Piotr Bury <pbury@goahead.com>.
9193
9194 2011-05-11 Ulrich Drepper <drepper@gmail.com>
9195
9196 [BZ #12052]
9197 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9198
9199 [BZ #12625]
9200 * misc/mntent_r.c (addmntent): Flush the stream after the output
9201
9202 [BZ #12393]
9203 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9204 (is_trusted_path_normalize): Skip initial colon. Append slash
9205 to empty buffer. Duplicate is_trusted_path code but allow
9206 constructed patch to be prefix.
9207 (is_dst): Allow $ORIGIN followed by /.
9208 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9209 Correct testing of result of is_trusted_path_normalize
9210 (decompose_rpath): Fix warning.
9211
9212 2011-05-10 Ulrich Drepper <drepper@gmail.com>
9213
9214 [BZ #11257]
9215 * grp/initgroups.c (internal_getgrouplist): When we found the service
9216 list through the initgroups entry in nsswitch.conf do not always
9217 continue on a successful lookup. Don't always use the
9218 __nss_group_database value if it is set.
9219 * nss/nsswitch.conf (initgroups): Change action for successful db
9220 lookup to continue for compatibility.
9221
9222 2011-05-09 Ulrich Drepper <drepper@gmail.com>
9223
9224 [BZ #11532]
9225 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9226 and CP774 modules.
9227 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9228 and CP774 modules.
9229 * iconvdata/tst-tables.sh: Likewise.
9230 * iconvdata/cp770.c: New file.
9231 * iconvdata/cp771.c: New file.
9232 * iconvdata/cp772.c: New file.
9233 * iconvdata/cp773.c: New file.
9234 * iconvdata/cp774.c: New file.
9235 * iconvdata/testdata/CP770: New file.
9236 * iconvdata/testdata/CP770..UTF8: New file.
9237 * iconvdata/testdata/CP771: New file.
9238 * iconvdata/testdata/CP771..UTF8: New file.
9239 * iconvdata/testdata/CP772: New file.
9240 * iconvdata/testdata/CP772..UTF8: New file.
9241 * iconvdata/testdata/CP773: New file.
9242 * iconvdata/testdata/CP773..UTF8: New file.
9243 * iconvdata/testdata/CP774: New file.
9244 * iconvdata/testdata/CP774..UTF8: New file.
9245
9246 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9247 END CHARMAP line.
9248 * iconvdata/gen-8bit-gap.sh: Likewise.
9249 * iconvdata/gen-8bit.sh: Likewise.
9250
9251 * locale/iso-639.def: Add ary entry.
9252
9253 [BZ #11258]
9254 * locale/C-translit.h.in: Add U20A1 transliteration.
9255
9256 [BZ #12178]
9257 * locale/iso-639.def: Add wae entry.
9258 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9259
9260 [BZ #12545]
9261 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9262 for n.
9263
9264 [BZ #12711]
9265 * locale/C-translit.h.in: Add entry for U20B9.
9266 Patch by pravin.d.s@gmail.com.
9267
9268 2011-05-08 Ulrich Drepper <drepper@gmail.com>
9269
9270 [BZ #12713]
9271 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9272 ENAMETOOLONG use generic getcwd.
9273 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9274 in rtld. Use *stat64.
9275 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9276 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9277 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9278 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9279 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9280 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9281 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9282 __fstatat64 macros.
9283 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9284 * dirent/rewinddir.c: Add libc_hidden_def.
9285 * sysdeps/mach/hurd/rewinddir.c: Likewise.
9286 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
9287
9288 * include/dirent.h (__alloc_dir): Add flags parameter.
9289 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9290 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9291 __alloc_dir.
9292 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9293 from fdopendir if O_CLOEXEC is already set.
9294
9295 2011-03-15 Alan Modra <amodra@gmail.com>
9296
9297 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9298 l_tls_firstbyte_offset non-zero. Save padding offset in
9299 l_tls_firstbyte_offset for later use.
9300 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9301 freeing static tls block.
9302
9303 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9304
9305 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9306 where #ifdef was intended. The intent is to prevent ARG_MAX from
9307 being defined by the kernel headers.
9308
9309 2011-05-07 Ulrich Drepper <drepper@gmail.com>
9310
9311 [BZ #12734]
9312 * resolv/resolv.h: Define RES_NOTLDQUERY.
9313 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9314 no-tld-query and set RES_NOTLDQUERY.
9315 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9316 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9317 modern BIND to search name as TLD unless forbidden.
9318
9319 2011-05-07 Petr Baudis <pasky@suse.cz>
9320 Ulrich Drepper <drepper@gmail.com>
9321
9322 [BZ #12393]
9323 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9324 (is_trusted_path): ...to here.
9325 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9326 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9327 using is_trusted_path_normalize() in setuid scripts.
9328
9329 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9330
9331 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9332 __BEGIN/__END_DECLS.
9333
9334 2011-05-06 Ulrich Drepper <drepper@gmail.com>
9335
9336 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9337 NSS_STATUS_NOTFOUND if no record was found.
9338
9339 2011-05-05 Andreas Schwab <schwab@redhat.com>
9340
9341 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9342 (headers-not-in-tirpc): Remove rpc/netdb.h
9343 * resolv/netdb.h: Revert last change.
9344
9345 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9346
9347 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9348 circular dependency between libgcc.a and libc.a.
9349
9350 2011-05-05 Andreas Schwab <schwab@redhat.com>
9351
9352 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9353 * nis/Makefile: Don't install rpcsvc/*.
9354 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9355 instead of <rpc/types.h>.
9356 (MAXHOSTNAMELEN): Define.
9357
9358 2011-05-03 Andreas Schwab <schwab@redhat.com>
9359
9360 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9361
9362 2011-04-28 Maciej Babinski <mbabinski@google.com>
9363
9364 [BZ #12714]
9365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9366 gethostbyname4_r when IPv6 results are possible.
9367
9368 2011-05-02 Ulrich Drepper <drepper@gmail.com>
9369
9370 [BZ #12723]
9371 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9372 _PC_PIPE_BUF handling.
9373
9374 2011-04-30 Bruno Haible <bruno@clisp.org>
9375
9376 [BZ #12717]
9377 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9378 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9379 to 'int'.
9380 * inet/getnameinfo.c (getnameinfo): Likewise.
9381
9382 2011-04-29 Ulrich Drepper <drepper@gmail.com>
9383
9384 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9385 to groups setting in database lookup.
9386 * nss/nsswitch.conf: Add initgroups entry.
9387
9388 2011-04-22 Ulrich Drepper <drepper@gmail.com>
9389
9390 [BZ #12685]
9391 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9392 mode string.
9393 Patch by Eric Blake <eblake@redhat.com>.
9394
9395 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9396
9397 * sunrpc/Makefile (need-export-routines): Add svc_run.
9398 (routines): Remove svc_run.
9399 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9400 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9401 * sunrpc/svc_run.c (svc_run): Likewise.
9402 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9403
9404 2011-04-21 Ulrich Drepper <drepper@gmail.com>
9405
9406 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9407 problem in reallocation in last patch.
9408
9409 2011-04-20 Ulrich Drepper <drepper@gmail.com>
9410
9411 * sunrpc/Makefile: Move inclusion of Rules.
9412
9413 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9414
9415 * nss/nss_files/files-initgroups.c: New file.
9416 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9417 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9418 _nss_files_initgroups_dyn.
9419
9420 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9421
9422 * elf/elf.h (R_ARM_IRELATIVE): Define.
9423
9424 2011-04-19 Ulrich Drepper <drepper@gmail.com>
9425
9426 * po/ru.po: Update from translation team.
9427
9428 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9429
9430 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9431 dependencies.
9432
9433 2011-02-06 Mike Frysinger <vapier@gentoo.org>
9434
9435 [BZ #12653]
9436 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9437 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9438 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9439 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9440 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9441
9442 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9443
9444 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9445 differing bytes.
9446 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9447 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9448 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9449
9450 2011-04-17 Ulrich Drepper <drepper@gmail.com>
9451
9452 [BZ #12420]
9453 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9454 storing it.
9455 * stdlib/bug-getcontext.c: New file.
9456 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9457
9458 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9459
9460 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9461 instructions into .machine "z9-109".
9462 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9463 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9464
9465 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9466
9467 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9468 between environment variables and auxiliary vector.
9469
9470 2011-04-16 Ulrich Drepper <drepper@gmail.com>
9471
9472 * Makefile: Add rules to build linkobj/libc.so.
9473 * include/libc-symbols.h: Define libc_hidden_nolink.
9474 * include/rpc/auth.h: Mark functions which are to be hidden.
9475 * include/rpc/auth_des.h: Likewise.
9476 * include/rpc/auth_unix.h: Likewise.
9477 * include/rpc/clnt.h: Likewise.
9478 * include/rpc/des_crypt.h: Likewise.
9479 * include/rpc/key_prot.h: Likewise.
9480 * include/rpc/pmap_clnt.h: Likewise.
9481 * include/rpc/pmap_prot.h: Likewise.
9482 * include/rpc/pmap_rmt.h: Likewise.
9483 * include/rpc/rpc_msg.h: Likewise.
9484 * include/rpc/svc.h: Likewise.
9485 * include/rpc/svc_auth.h: Likewise.
9486 * include/rpc/xdr.h: Likewise.
9487 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9488 * nss/Makefile: Likewise.
9489 * sunrpc/Makefile: Don't install headers. Build library with normal
9490 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9491 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9492 for the compat linking library. Remove use of INTDEF/INTUSE.
9493 * sunrpc/auth_none.c: Likewise.
9494 * sunrpc/auth_unix.c: Likewise.
9495 * sunrpc/authdes_prot.c: Likewise.
9496 * sunrpc/authuxprot.c: Likewise.
9497 * sunrpc/clnt_gen.c: Likewise.
9498 * sunrpc/clnt_perr.c: Likewise.
9499 * sunrpc/clnt_raw.c: Likewise.
9500 * sunrpc/clnt_simp.c: Likewise.
9501 * sunrpc/clnt_tcp.c: Likewise.
9502 * sunrpc/clnt_udp.c: Likewise.
9503 * sunrpc/clnt_unix.c: Likewise.
9504 * sunrpc/des_crypt.c: Likewise.
9505 * sunrpc/des_soft.c: Likewise.
9506 * sunrpc/get_myaddr.c: Likewise.
9507 * sunrpc/key_call.c: Likewise.
9508 * sunrpc/key_prot.c: Likewise.
9509 * sunrpc/netname.c: Likewise.
9510 * sunrpc/pm_getmaps.c: Likewise.
9511 * sunrpc/pm_getport.c: Likewise.
9512 * sunrpc/pmap_clnt.c: Likewise.
9513 * sunrpc/pmap_prot.c: Likewise.
9514 * sunrpc/pmap_prot2.c: Likewise.
9515 * sunrpc/pmap_rmt.c: Likewise.
9516 * sunrpc/publickey.c: Likewise.
9517 * sunrpc/rpc_cmsg.c: Likewise.
9518 * sunrpc/rpc_common.c: Likewise.
9519 * sunrpc/rpc_dtable.c: Likewise.
9520 * sunrpc/rpc_prot.c: Likewise.
9521 * sunrpc/rpc_thread.c: Likewise.
9522 * sunrpc/rtime.c: Likewise.
9523 * sunrpc/svc.c: Likewise.
9524 * sunrpc/svc_auth.c: Likewise.
9525 * sunrpc/svc_authux.c: Likewise.
9526 * sunrpc/svc_raw.c: Likewise.
9527 * sunrpc/svc_run.c: Likewise.
9528 * sunrpc/svc_simple.c: Likewise.
9529 * sunrpc/svc_tcp.c: Likewise.
9530 * sunrpc/svc_udp.c: Likewise.
9531 * sunrpc/svc_unix.c: Likewise.
9532 * sunrpc/svcauth_des.c: Likewise.
9533 * sunrpc/xcrypt.c: Likewise.
9534 * sunrpc/xdr.c: Likewise.
9535 * sunrpc/xdr_array.c: Likewise.
9536 * sunrpc/xdr_float.c: Likewise.
9537 * sunrpc/xdr_intXX_t.c: Likewise.
9538 * sunrpc/xdr_mem.c: Likewise.
9539 * sunrpc/xdr_rec.c: Likewise.
9540 * sunrpc/xdr_ref.c: Likewise.
9541 * sunrpc/xdr_sizeof.c: Likewise.
9542 * sunrpc/xdr_stdio.c: Likewise.
9543
9544 2011-04-10 Ulrich Drepper <drepper@gmail.com>
9545
9546 [BZ #12650]
9547 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9548 * sysdeps/ia64/dl-tls.h: Likewise.
9549 * sysdeps/powerpc/dl-tls.h: Likewise.
9550 * sysdeps/s390/dl-tls.h: Likewise.
9551 * sysdeps/sh/dl-tls.h: Likewise.
9552 * sysdeps/sparc/dl-tls.h: Likewise.
9553 * sysdeps/x86_64/dl-tls.h: Likewise.
9554 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9555
9556 2011-03-14 Andreas Schwab <schwab@redhat.com>
9557
9558 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9559 rpath element also skip the following colon.
9560 (expand_dynamic_string_token): Add is_path parameter and pass
9561 down to DL_DST_REQUIRED and _dl_dst_substitute.
9562 (decompose_rpath): Call expand_dynamic_string_token with
9563 non-zero is_path. Ignore empty rpaths.
9564 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9565 with zero is_path.
9566
9567 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9568
9569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9570 Make cancelable.
9571
9572 2011-04-09 Ulrich Drepper <drepper@gmail.com>
9573
9574 [BZ #12655]
9575 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9576 Patch by Filipe David Manana <fdmanana@apache.org>.
9577
9578 2011-04-07 Andreas Schwab <schwab@redhat.com>
9579
9580 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9581 Maintain aligned stack.
9582 (CHECK_RSP): Remove unused macro.
9583
9584 2011-04-03 Ulrich Drepper <drepper@gmail.com>
9585
9586 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9587 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9588
9589 2011-04-02 Ulrich Drepper <drepper@gmail.com>
9590
9591 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9592
9593 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9594
9595 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9596
9597 [BZ #12518]
9598 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9599 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9600 * sysdeps/x86_64/memmove.c: New file.
9601 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9602 (memcpy): Renamed to ...
9603 (__new_memcpy): This.
9604 (memcpy): Provide GLIBC_2_14 memcpy.
9605 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9606 (memcpy): Provide GLIBC_2_2_5 memcpy.
9607
9608 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9609
9610 [BZ #12631]
9611 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9612
9613 2011-03-30 Andreas Schwab <schwab@redhat.com>
9614
9615 * misc/syncfs.c: New file.
9616 * misc/Makefile (routines): Add syncfs.
9617 * posix/unistd.h: Declare syncfs.
9618 * sysdeps/unix/syscalls.list: Add syncfs.
9619
9620 2011-04-01 Andreas Schwab <schwab@redhat.com>
9621
9622 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9623 open_by_handle_at.
9624 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9625 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9626 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9627 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9628 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9629 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9630 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9631
9632 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9633
9634 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9635 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9636 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9637 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9638 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9639 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9640 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9641
9642 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9643 sync_file_range.c with -fexceptions.
9644 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9645 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9646 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9647 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9648 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9649 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9650 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9651 sync_file_range as cancellation point
9652 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9653 now a wrapper around __call_sync_file_range with cancellation handling.
9654 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9655 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9656 function name to __call_sync_file_range.
9657 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9658 Add call_sync_file_range.
9659
9660 2011-04-01 Andreas Schwab <schwab@redhat.com>
9661
9662 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9663 bits/timex.h.
9664
9665 2011-04-01 Ulrich Drepper <drepper@gmail.com>
9666
9667 * iconv/iconv.h: Fix typo in comment.
9668 * io/fcntl.h: Likewise.
9669 * libio/stdio.h: Likewise.
9670 * posix/spawn.h: Likewise.
9671 * posix/unistd.h: Likewise.
9672 * stdlib/stdlib.h: Likewise.
9673 * time/time.h: Likewise.
9674 * wcsmbs/wchar.h: Likewise.
9675
9676 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9677 open_by_handle): Add.
9678 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9679 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9680 Augment a few comments.
9681 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9682 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9683 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9684 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9685 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9686 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9687 open_by_handle.
9688
9689 * io/fcntl.h (AT_EMPTY_PATH): Define.
9690
9691 2011-03-30 Ulrich Drepper <drepper@gmail.com>
9692
9693 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9694 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9695 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9696 to...
9697 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9698 * Versions.def: Add GLIBC_2.14.
9699 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9700 Export.
9701
9702 2011-03-22 Ulrich Drepper <drepper@gmail.com>
9703
9704 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9705 round counter.
9706 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9707
9708 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9709
9710 [BZ #12597]
9711 * string/test-strncmp.c (do_page_test): New function.
9712 (check2): Likewise.
9713 (test_main): Call check2.
9714 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9715
9716 2011-03-20 Ulrich Drepper <drepper@gmail.com>
9717
9718 [BZ #12587]
9719 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9720 Handle cache information in CPU leaf 4.
9721 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9722
9723 2011-03-18 Ulrich Drepper <drepper@gmail.com>
9724
9725 [BZ #12583]
9726 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9727 character representation.
9728 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9729
9730 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9731
9732 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9733 END(__isnan) to END(__isnanf) to match function entry point/label
9734 EALIGN(__isnanf,...).
9735
9736 2011-03-10 Jakub Jelinek <jakub@redhat.com>
9737
9738 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9739
9740 2011-03-10 Ulrich Drepper <drepper@gmail.com>
9741
9742 [BZ #12510]
9743 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9744 copy from the symbol referenced in the relocation to initialize the
9745 used variable.
9746 Patch by Piotr Bury <pbury@goahead.com>.
9747 * elf/Makefile: Add rules to build and tst-unique3.
9748 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9749 * elf/tst-unique3.cc: New file.
9750 * elf/tst-unique3.h: New file.
9751 * elf/tst-unique3lib.cc: New file.
9752 * elf/tst-unique3lib2.cc: New file.
9753
9754 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9755
9756 2011-03-10 Mike Frysinger <vapier@gentoo.org>
9757
9758 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9759 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9760 to _start.
9761
9762 2011-03-06 Ulrich Drepper <drepper@gmail.com>
9763
9764 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9765 to-be-loaded object along a path to loader is ld.so.
9766
9767 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9768 Ulrich Drepper <drepper@gmail.com>
9769
9770 * sysdeps/x86_64/memset.S: After aligning destination, code
9771 branches to different locations depending on the value of
9772 misalignment, when multiarch is enabled. Fix this.
9773
9774 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9775
9776 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9777 Set _x86_64_preferred_memory_instruction for AMD processsors.
9778 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9779 Set bit_Prefer_SSE_for_memop for AMD processors.
9780
9781 2011-03-04 Ulrich Drepper <drepper@gmail.com>
9782
9783 * libio/fmemopen.c (fmemopen): Optimize a bit.
9784
9785 2011-03-03 Andreas Schwab <schwab@redhat.com>
9786
9787 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9788
9789 2011-03-03 Roland McGrath <roland@redhat.com>
9790
9791 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9792
9793 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9794
9795 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9796 __bzero_ultra1 instead of __memset_ultra1.
9797
9798 2011-02-23 Andreas Schwab <schwab@redhat.com>
9799 Ulrich Drepper <drepper@gmail.com>
9800
9801 [BZ #12509]
9802 * include/link.h (struct link_map): Add l_orig_initfini.
9803 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9804 returning unsuccessfully.
9805 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9806 close of a file loaded at startup, restore the original l_initfini
9807 list.
9808 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9809 list, store the pointer.
9810 * elf/Makefile ($(objpfx)noload-mem): New rule.
9811 (noload-ENV): Define.
9812 (tests): Add $(objpfx)noload-mem.
9813 * elf/noload.c: Include <memcheck.h>.
9814 (main): Call mtrace. Close all opened handles.
9815
9816 2011-02-17 Andreas Schwab <schwab@redhat.com>
9817
9818 [BZ #12454]
9819 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9820 dependencies are missing.
9821
9822 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9823
9824 Fix __if_freereq crash: Unlike the generic version which uses free,
9825 Hurd needs munmap.
9826 * sysdeps/mach/hurd/ifreq.h: New file.
9827
9828 2011-01-27 Petr Baudis <pasky@suse.cz>
9829 Ulrich Drepper <drepper@gmail.com>
9830
9831 [BZ 12445]#
9832 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9833 to extend_alloca().
9834 * stdio-common/bug23.c: New file.
9835 * stdio-common/Makefile (tests): Add bug23.
9836
9837 2010-09-28 Andreas Schwab <schwab@redhat.com>
9838 Ulrich Drepper <drepper@gmail.com>
9839
9840 [BZ #12489]
9841 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9842 before performing relro protection. At old place add assertion
9843 to make sure nothing changed.
9844
9845 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9846 Glauber de Oliveira Costa <glommer@gmail.com>
9847
9848 * elf/elf.h: Add new ARM TLS relocs.
9849
9850 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9851
9852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9853 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9854 cast from r3.
9855 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9856 'tests' variable.
9857 * sysdeps/wordsize-64/tst-writev.c: New file.
9858
9859 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9860
9861 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9862 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9863 insns in _dl_start to prevent a TOC reference before relocs are
9864 resolved.
9865
9866 2011-02-15 Ulrich Drepper <drepper@gmail.com>
9867
9868 [BZ #12469]
9869 * Makeconfig: Remove RANLIB definition.
9870 * Makerules: Don't use RANLIB.
9871 * aclocal.m4: Remove ranlib test.
9872 * configure.in: No need to check for ranlib.
9873 * elf/rtld-Rules: Don't use RANLIB.
9874
9875 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9876
9877 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9878 protection macro.
9879 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9880 inclusion protection macro.
9881
9882 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9883 SIGRTMIN and SIGRTMAX and print information in that case only when
9884 SIGRTMIN is defined.
9885
9886 2011-02-11 Jakub Jelinek <jakub@redhat.com>
9887
9888 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9889 arginfo fn returning -1.
9890
9891 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9892 and thousands string is zero terminated.
9893
9894 2011-02-03 Andreas Schwab <schwab@redhat.com>
9895
9896 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9897 sysdeps/unix/sysv/linux/bits/socket.h.
9898
9899 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9900
9901 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9902 (__CPU_COUNT): Remove old macros.
9903 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9904 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9905 (__CPU_ALLOC, __CPU_FREE): Add macros.
9906 (__sched_cpualloc, __sched_cpufree): Add declarations.
9907
9908 2011-02-05 Ulrich Drepper <drepper@gmail.com>
9909
9910 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9911 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9912 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9913 (readdhstai): Return value of addhstaiX call.
9914 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9915 (addgrbyX): Return value returned by cache_addgr.
9916 (readdgrbyname): Return value returned by addgrbyX.
9917 (readdgrbygid): Likewise.
9918 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9919 (addpwbyX): Return value returned by cache_addpw.
9920 (readdpwbyname): Return value returned by addhstbyX.
9921 (readdpwbyuid): Likewise.
9922 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9923 (addservbyX): Return value returned by cache_addserv.
9924 (readdservbyname): Return value returned by addservbyX:
9925 (readdservbyport): Likewise.
9926 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9927 (addhstbyX): Return value returned by cache_addhst.
9928 (readdhstbyname): Return value returned by addhstbyX.
9929 (readdhstbyaddr): Likewise.
9930 (readdhstbynamev6): Likewise.
9931 (readdhstbyaddrv6): Likewise.
9932 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9933 (readdinitgroups): Return value returned by addinitgroupsX.
9934 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9935 (prune_cache): Keep track of timeout value of re-added entries.
9936 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9937 * nscd/nscd.h: Adjust prototypes of readd* functions.
9938
9939 2011-02-04 Roland McGrath <roland@redhat.com>
9940
9941 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9942 (nis_stats): Likewise.
9943 * nis/nis_modify.c (nis_modify): Likewise.
9944 * nis/nis_remove.c (nis_remove): Likewise.
9945 * nis/nis_add.c (nis_add): Likewise.
9946
9947 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9948
9949 * posix/fnmatch_loop.c: Add some consts.
9950
9951 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9952
9953 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9954
9955 [BZ #12460]
9956 * config.make.in (config-cflags-novzeroupper): Define.
9957 * configure.in: Substitute libc_cv_cc_novzeroupper.
9958 * elf/Makefile (AVX-CFLAGS): Define.
9959 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9960 (CFLAGS-tst-auditmod4a.c): Likewise.
9961 (CFLAGS-tst-auditmod4b.c): Likewise.
9962 (CFLAGS-tst-auditmod6b.c): Likewise.
9963 (CFLAGS-tst-auditmod6c.c): Likewise.
9964 (CFLAGS-tst-auditmod7b.c): Likewise.
9965 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9966
9967 2011-02-02 Ulrich Drepper <drepper@gmail.com>
9968
9969 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9970 function to the callback.
9971 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9972
9973 2011-02-02 Andreas Schwab <schwab@redhat.com>
9974
9975 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9976 of errno.
9977
9978 2011-01-19 Ulrich Drepper <drepper@gmail.com>
9979
9980 [BZ #11724]
9981 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9982 of constructors.
9983 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9984 of destructors.
9985 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9986
9987 [BZ #11724]
9988 * elf/Makefile: Add rules to build and run new test.
9989 * elf/tst-initorder.c: New file.
9990 * elf/tst-initorder.exp: New file.
9991 * elf/tst-initordera1.c: New file.
9992 * elf/tst-initordera2.c: New file.
9993 * elf/tst-initordera3.c: New file.
9994 * elf/tst-initordera4.c: New file.
9995 * elf/tst-initorderb1.c: New file.
9996 * elf/tst-initorderb2.c: New file.
9997 * elf/tst-order-a1.c: New file.
9998 * elf/tst-order-a2.c: New file.
9999 * elf/tst-order-a3.c: New file.
10000 * elf/tst-order-a4.c: New file.
10001 * elf/tst-order-b1.c: New file.
10002 * elf/tst-order-b2.c: New file.
10003 * elf/tst-order-main.c: New file.
10004 New test case by George Gensure <werkt0@gmail.com>.
10005
10006 2010-10-01 Andreas Schwab <schwab@redhat.com>
10007
10008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10009 decoding ACE if AI_CANONIDN.
10010
10011 2011-01-18 Ulrich Drepper <drepper@gmail.com>
10012
10013 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
10014
10015 2011-01-17 Ulrich Drepper <drepper@gmail.com>
10016
10017 * version.h (RELEASE): Bump for 2.13 release.
10018 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
10019
10020 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
10021
10022 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
10023 MADV_NOHUGEPAGE.
10024 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
10025 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10026 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10027 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
10028 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10029 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10030
10031 * posix/getconf.c: Update copyright year.
10032 * catgets/gencat.c: Likewise.
10033 * csu/version.c: Likewise.
10034 * debug/catchsegv.sh: Likewise.
10035 * debug/xtrace.sh: Likewise.
10036 * elf/ldconfig.c: Likewise.
10037 * elf/ldd.bash.in: Likewise.
10038 * elf/sprof.c (print_version): Likewise.
10039 * iconv/iconv_prog.c: Likewise.
10040 * iconv/iconvconfig.c: Likewise.
10041 * locale/programs/locale.c: Likewise.
10042 * locale/programs/localedef.c: Likewise.
10043 * malloc/memusage.sh: Likewise.
10044 * malloc/mtrace.pl: Likewise.
10045 * nscd/nscd.c (print_version): Likewise.
10046 * nss/getent.c: Likewise.
10047
10048 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10049 PF_CAIF, and PF_ALG.
10050 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10051
10052 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10053
10054 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10055 (modules-names): Use them.
10056 (ifunc-test-modules, ifunc-pie-tests): Define.
10057 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10058 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10059 (test-extras): Likewise.
10060 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10061 $(compile-command.c).
10062 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10063 (all-built-dso): Define.
10064 (check-textrel.out, check-execstack.out): Depend on it.
10065
10066 * configure.in: Don't override --enable-multi-arch.
10067
10068 2011-01-15 Ulrich Drepper <drepper@gmail.com>
10069
10070 [BZ #6812]
10071 * nscd/hstcache.c (tryagain): Define.
10072 (cache_addhst): Return tryagain not notfound for temporary errors.
10073 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10074 failed.
10075
10076 2011-01-14 Ulrich Drepper <drepper@gmail.com>
10077
10078 [BZ #10563]
10079 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10080 to make the syscall.
10081 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10082
10083 [BZ #12378]
10084 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10085 and fall back to matching as normal character if the string ends before
10086 the matching ']' is found. This is what POSIX requires.
10087 * posix/testfnm.c: Adjust test result.
10088 * posix/globtest.sh: Adjust test result. Add new test.
10089 * posix/tst-fnmatch.input: Likewise.
10090 * posix/tst-fnmatch2.c: Add new test.
10091
10092 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10093
10094 * elf/Makefile (check-execstack): Revert last change. Depend on
10095 check-execstack.h.
10096 (check-execstack.h): New target.
10097 (generated): Add check-execstack.h.
10098 * elf/check-execstack.c: Include "check-execstack.h".
10099 (main): Revert last change.
10100 (handle_file): Return zero if GNU_STACK is absent and
10101 DEFAULT_STACK_PERMS doesn't include PF_X.
10102
10103 2011-01-13 Ulrich Drepper <drepper@gmail.com>
10104
10105 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10106 in child fails because the descriptor is already closed.
10107 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10108 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10109 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10110
10111 [BZ #12397]
10112 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10113 syscall.
10114
10115 [BZ #10484]
10116 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10117 temporary buffer used to handle multi lookups locally.
10118 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10119
10120 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10121
10122 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10123 loader is ld.so.
10124
10125 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10126
10127 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10128 alignment for SSE2.
10129
10130 2011-01-12 Ulrich Drepper <drepper@gmail.com>
10131
10132 [BZ #12394]
10133 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10134 characters. When rounding increased number of integer digits recompute
10135 number of groups.
10136 * stdio-common/tst-grouping.c: New file.
10137 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10138
10139 2011-01-09 Ulrich Drepper <drepper@gmail.com>
10140
10141 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10142 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10143
10144 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10145 void.
10146 * bits/select.h: Likewise.
10147
10148 2011-01-08 Ulrich Drepper <drepper@gmail.com>
10149
10150 * po/ja.po: Update from translation team.
10151
10152 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
10153
10154 [BZ #11155]
10155 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10156 implementation just like for lxstat, fxstatat, et al.
10157
10158 2010-12-27 Jim Meyering <meyering@redhat.com>
10159
10160 [BZ #12348]
10161 * posix/regexec.c (build_trtable): Return failure indication upon
10162 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10163
10164 2010-12-25 Ulrich Drepper <drepper@gmail.com>
10165
10166 [BZ #12201]
10167 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10168 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10169 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10170 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10171
10172 [BZ #12207]
10173 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10174
10175 [BZ #12204]
10176 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10177 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10178
10179 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10180
10181 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10182 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10183 script has SORT_BY_INIT_PRIORITY.
10184 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10185 NO_CTORS_DTORS_SECTIONS is defined.
10186 * elf/soinit.c: Likewise.
10187 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10188 NO_CTORS_DTORS_SECTIONS is defined.
10189 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10190 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10191 * sysdeps/sh/init-first.c: Likewise.
10192 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10193
10194 2010-12-24 Ulrich Drepper <drepper@gmail.com>
10195
10196 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10197 always use the slow path.
10198
10199 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10200
10201 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10202 similar rule which adds the sysdep directories to the header search in
10203 order to pick up the correct platform stackinfo.h.
10204 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10205 perform test if it is, otherwise return successfully without testing.
10206 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10207 DEFAULT_STACK_PERMS define in stackinfo.h.
10208 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10209 defined in stackinfo.h.
10210 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10211 DEFAULT_STACK_PERMS defined in stackinfo.h.
10212 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10213 * sysdeps/ia64/stackinfo.h: Likewise.
10214 * sysdeps/s390/stackinfo.h: Likewise.
10215 * sysdeps/sh/stackinfo.h: Likewise.
10216 * sysdeps/sparc/stackinfo.h: Likewise.
10217 * sysdeps/x86_64/stackinfo.h: Likewise.
10218 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10219 PF_X for powerpc64. Retain PF_X for powerpc32.
10220
10221 2010-12-19 Ulrich Drepper <drepper@gmail.com>
10222
10223 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10224 accurately.
10225 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10226 GETDENTS_64BIT_ALIGNED.
10227
10228 2010-12-14 Ulrich Drepper <dreper@gmail.com>
10229
10230 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10231
10232 2010-12-10 Andreas Schwab <schwab@redhat.com>
10233
10234 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10235 _GNU_SOURCE.
10236
10237 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10238 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10239 Remove __restrict.
10240 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10241 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10242
10243 2010-12-09 Ulrich Drepper <drepper@gmail.com>
10244
10245 [BZ #11655]
10246 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10247 are initialized.
10248
10249 2010-12-09 Jakub Jelinek <jakub@redhat.com>
10250
10251 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10252
10253 2010-12-03 Ulrich Drepper <drepper@gmail.com>
10254
10255 * po/it.po: Update from translation team.
10256
10257 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10258
10259 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10260 unused codes.
10261
10262 2010-11-30 Ulrich Drepper <drepper@gmail.com>
10263
10264 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10265
10266 2010-11-24 Andreas Schwab <schwab@redhat.com>
10267
10268 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10269 specially.
10270 (gaih_getanswer_slice): Likewise.
10271
10272 2010-10-20 Jakub Jelinek <jakub@redhat.com>
10273
10274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10275
10276 2010-05-31 Petr Baudis <pasky@suse.cz>
10277
10278 [BZ #11149]
10279 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10280 silently even in the chroot mode.
10281
10282 2010-11-22 Ulrich Drepper <drepper@gmail.com>
10283
10284 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10285 last patch a bit. Pretty printing
10286
10287 2010-05-31 Petr Baudis <pasky@suse.cz>
10288
10289 [BZ #10085]
10290 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10291 initialization of skip_initgroups_dyn.
10292
10293 2010-11-19 Ulrich Drepper <drepper@gmail.com>
10294
10295 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10296 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10297
10298 2010-11-16 Ulrich Drepper <drepper@gmail.com>
10299
10300 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10301
10302 2010-11-11 Andreas Schwab <schwab@redhat.com>
10303
10304 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10305 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10306 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10307 ($(objpfx)tst-fnmatch-mem): New rule.
10308 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10309 * posix/tst-fnmatch.c (main): Call mtrace.
10310
10311 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10312
10313 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10314 Support Intel processor model 6 and model 0x2c.
10315
10316 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
10317
10318 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10319 signed comparison.
10320
10321 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10322
10323 [BZ #12205]
10324 * string/test-strncasecmp.c (check_result): New function.
10325 (do_one_test): Use it.
10326 (check1): New function.
10327 (test_main): Use it.
10328 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10329 Support strcasecmp and strncasecmp.
10330
10331 2010-11-08 Ulrich Drepper <drepper@gmail.com>
10332
10333 [BZ #12194]
10334 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10335 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10336
10337 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10338
10339 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10340 IFUNC support.
10341 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10342 memset-x86-64.
10343 * sysdeps/x86_64/multiarch/bzero.S: New file.
10344 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10345 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10346 * sysdeps/x86_64/multiarch/memset.S: New file.
10347 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10348 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10349 Set bit_Prefer_SSE_for_memop for Intel processors.
10350 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10351 Define.
10352 (index_Prefer_SSE_for_memop): Define.
10353 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10354
10355 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
10356
10357 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10358 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10359
10360 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10361
10362 [BZ #12191]
10363 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10364 (__x86_64_raw_data_cache_size_half): Likewise.
10365 (__x86_64_raw_shared_cache_size): Likewise.
10366 (__x86_64_raw_shared_cache_size_half): Likewise.
10367
10368 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10369 (__x86_64_raw_data_cache_size_half): Likewise.
10370 (__x86_64_raw_shared_cache_size): Likewise.
10371 (__x86_64_raw_shared_cache_size_half): Likewise.
10372 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10373 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10374 and __x86_64_raw_shared_cache_size_half. Round
10375 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10376 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10377 to multiple of 256 bytes.
10378
10379 2010-11-03 Ulrich Drepper <drepper@gmail.com>
10380
10381 [BZ #12167]
10382 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10383 of inacessible symlinks. Verify result of symlink before returning it.
10384 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10385 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10386
10387 2010-10-28 Erich Ritz <erichritz@gmail.com>
10388
10389 * math/math.h (isinf): Fix typo in comment.
10390
10391 2010-11-01 Ulrich Drepper <drepper@gmail.com>
10392
10393 * po/da.po: Update from translation team.
10394
10395 2010-10-26 Ulrich Drepper <drepper@gmail.com>
10396
10397 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10398 is added to the list.
10399
10400 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10401 Ulrich Drepper <drepper@gmail.com>
10402
10403 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10404 the global list here. Move code to...
10405 (_dl_add_to_namespace_list): ...here. New function.
10406 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10407 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10408 * elf/dl-load.c (lose): Don't remove the element from the list.
10409 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10410 (_dl_map_object): Likewise.
10411
10412 2010-10-25 Ulrich Drepper <drepper@gmail.com>
10413
10414 [BZ #12159]
10415 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10416 into all bytes of SSE register.
10417 Patch by Richard Li <richardpku@gmail.com>.
10418
10419 2010-10-24 Ulrich Drepper <drepper@gmail.com>
10420
10421 [BZ #12140]
10422 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10423 perturbing.
10424
10425 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10426
10427 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10428 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10429 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10430 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10432 submachine.
10433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10434
10435 2010-10-22 Andreas Schwab <schwab@redhat.com>
10436
10437 * include/dlfcn.h (__RTLD_SECURE): Define.
10438 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10439 mode & __RTLD_SECURE instead.
10440 (open_path): Rename preloaded parameter to secure.
10441 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10442 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10443 * elf/dl-deps.c (openaux): Likewise.
10444 * elf/rtld.c (struct map_args): Remove is_preloaded.
10445 (map_doit): Don't use it.
10446 (dl_main): Likewise.
10447 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10448 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10449
10450 2010-09-09 Andreas Schwab <schwab@redhat.com>
10451
10452 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10453 (sysd-rules-targets): Remove duplicates.
10454 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10455 rtld-%.$o dependency.
10456
10457 2010-10-18 Andreas Schwab <schwab@redhat.com>
10458
10459 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10460 _dl_map_object do it.
10461
10462 2010-10-19 Ulrich Drepper <drepper@gmail.com>
10463
10464 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10465 fast fma builtins, define the macros in the C99 standard.
10466 (FP_FAST_FMAF): Likewise.
10467 (FP_FAST_FMAL): Likewise.
10468 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10469
10470 * bits/mathdef.h: Update copyright year.
10471 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10472
10473 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10474
10475 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10476 builtins, define the macros in the C99 standard.
10477 (FP_FAST_FMAF): Likewise.
10478 (FP_FAST_FMAL): Likewise.
10479 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10480 multiply/add.
10481 (FP_FAST_FMAF): Likewise.
10482
10483 2010-10-15 Jakub Jelinek <jakub@redhat.com>
10484
10485 [BZ #3268]
10486 * math/libm-test.inc (fma_test): Some new testcases.
10487 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10488 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10489 y and infinite z. Do multiplication by C already in long double.
10490 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10491 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10492 y and infinite z. Do bitwise or of inexact bit into u.d.
10493 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10494 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10495 * sysdeps/i386/fpu/s_fma.S: Removed.
10496 * sysdeps/i386/fpu/s_fmal.S: Removed.
10497
10498 2010-10-16 Jakub Jelinek <jakub@redhat.com>
10499
10500 [BZ #3268]
10501 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10502 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10503 computation is not scheduled after fetestexcept. Fix value
10504 of minimum denormal long double.
10505
10506 2010-10-14 Jakub Jelinek <jakub@redhat.com>
10507
10508 [BZ #3268]
10509 * math/libm-test.inc (fma_test): Add some more tests.
10510 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10511 correctly.
10512
10513 2010-10-15 Andreas Schwab <schwab@redhat.com>
10514
10515 * scripts/data/localplt-s390-linux-gnu.data: New file.
10516 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10517
10518 2010-10-13 Jakub Jelinek <jakub@redhat.com>
10519
10520 [BZ #3268]
10521 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10522 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10523 instead of dbl-64.
10524 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10525 inlines.
10526 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10527 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10528 if one of x and y is very large and the other is subnormal.
10529 * sysdeps/s390/fpu/s_fmaf.c: New file.
10530 * sysdeps/s390/fpu/s_fma.c: New file.
10531 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10532 * sysdeps/powerpc/fpu/s_fma.S: New file.
10533 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10534 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10535 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10536
10537 2010-10-12 Jakub Jelinek <jakub@redhat.com>
10538
10539 [BZ #3268]
10540 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10541 fma tests.
10542 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10543 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10544 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10545 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10546 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10547 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10548 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10549
10550 2010-10-12 Ulrich Drepper <drepper@redhat.com>
10551
10552 [BZ #12078]
10553 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10554 * posix/bug-regex31.input: Add test case.
10555
10556 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10557
10558 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10559 * posix/bug-regex31.input: New file.
10560
10561 [BZ #12078]
10562 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10563 (parse_sub_exp): Fix last change, use postorder.
10564
10565 * posix/bug-regex31.c: New file.
10566 * posix/Makefile: Add rules to build and run bug-regex31.
10567
10568 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10569
10570 [BZ #12078]
10571 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10572
10573 [BZ #12108]
10574 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10575 to have entries in sys_siglist.
10576
10577 [BZ #12093]
10578 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10579 be NULL.
10580
10581 2010-10-07 Jakub Jelinek <jakub@redhat.com>
10582
10583 [BZ #3268]
10584 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10585 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10586 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10587 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10588 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10589 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10590 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10591 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10592 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10593 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10594 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10595 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10596 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10597 * math/ftestexcept.c (fetestexcept): Likewise.
10598 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10599 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10600 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10601 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10602 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10603 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10604 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10605
10606 2010-10-11 Ulrich Drepper <drepper@gmail.com>
10607
10608 [BZ #12107]
10609 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10610 newline.
10611
10612 2010-10-06 Ulrich Drepper <drepper@gmail.com>
10613
10614 * string/bug-strstr1.c: New file.
10615 * string/Makefile: Add rules to build and run bug-strstr1.
10616
10617 2010-10-05 Eric Blake <eblake@redhat.com>
10618
10619 [BZ #12092]
10620 * string/str-two-way.h (two_way_long_needle): Always clear memory
10621 when skipping input due to the shift table.
10622
10623 2010-10-03 Ulrich Drepper <drepper@gmail.com>
10624
10625 [BZ #12005]
10626 * malloc/mcheck.c: Handle large requests.
10627
10628 [BZ #12077]
10629 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10630 for strncmp and strncasecmp.
10631 * string/stratcliff.c: Add tests for strcmp and strncmp.
10632 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10633
10634 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10635
10636 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10637 __set_fpscr.
10638
10639 2010-09-30 Andreas Jaeger <aj@suse.de>
10640
10641 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10642 (CGROUP_SUPER_MAGIC): Define.
10643 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10644 Handle btrfs and cgroup file systems.
10645 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10646 Likewise.
10647
10648 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
10649
10650 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10651 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10652
10653 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10654
10655 [BZ #12067]
10656 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10657 trying to locate the ELF header.
10658
10659 2010-09-27 Andreas Schwab <schwab@redhat.com>
10660
10661 [BZ #11611]
10662 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10663 Mask out sign-bit copies when constructing f_fsid.
10664
10665 2010-09-24 Petr Baudis <pasky@suse.cz>
10666
10667 * debug/stack_chk_fail_local.c: Add missing licence exception.
10668 * debug/warning-nop.c: Likewise.
10669
10670 2010-09-15 Joseph Myers <joseph@codesourcery.com>
10671
10672 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10673 implementing getdents64 using getdents syscall, set d_type if
10674 __ASSUME_GETDENTS32_D_TYPE.
10675
10676 2010-09-16 Andreas Schwab <schwab@redhat.com>
10677
10678 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10679 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10680
10681 2010-09-21 Ulrich Drepper <drepper@redhat.com>
10682
10683 [BZ #12037]
10684 * posix/unistd.h: Undo change of feature selection for ftruncate from
10685 2010-01-11.
10686
10687 2010-09-20 Ulrich Drepper <drepper@redhat.com>
10688
10689 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10690 detection.
10691
10692 2010-09-20 Andreas Schwab <schwab@redhat.com>
10693
10694 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10695 fanotify_mark.
10696 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10697
10698 2010-09-14 Andreas Schwab <schwab@redhat.com>
10699
10700 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10701 variables after CHECK_SP call.
10702 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10703
10704 2010-09-13 Andreas Schwab <schwab@redhat.com>
10705 Ulrich Drepper <drepper@redhat.com>
10706
10707 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10708 re-relocationg ld.so.
10709 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10710 _dl_init_paths call.
10711 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10712 here anymore.
10713
10714 2010-09-14 Ulrich Drepper <drepper@redhat.com>
10715
10716 * resolv/res_init.c (__res_vinit): Count the default server we added.
10717
10718 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10719 Ulrich Drepper <drepper@redhat.com>
10720
10721 [BZ #11968]
10722 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10723 (____longjmp_chk): Use %ebx for saving value across system call.
10724 Add unwind info.
10725
10726 2010-09-06 Andreas Schwab <schwab@redhat.com>
10727
10728 * manual/Makefile: Don't mix pattern rules with normal rules.
10729
10730 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10731
10732 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10733 operation.
10734 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10735 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10736 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10737 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10738 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10739 Likewise.
10740
10741 2010-09-04 Ulrich Drepper <drepper@redhat.com>
10742
10743 [BZ #11979]
10744 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10745 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10746
10747 2010-09-02 Ulrich Drepper <drepper@redhat.com>
10748
10749 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10750 * sysdeps/x86_64/addmul_1.S: Likewise.
10751 * sysdeps/x86_64/lshift.S: Likewise.
10752 * sysdeps/x86_64/mul_1.S: Likewise.
10753 * sysdeps/x86_64/rshift.S: Likewise.
10754 * sysdeps/x86_64/sub_n.S: Likewise.
10755 * sysdeps/x86_64/submul_1.S: Likewise.
10756
10757 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10758
10759 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10760 Define __sched_param instead of SCHED_* and sched_param when
10761 <bits/sched.h> is included with __need_schedparam defined.
10762 * bits/sched.h [__need_schedparam]
10763 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10764 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10765 (__defined_schedparam): Define to 1.
10766 (__sched_param): New structure, identical to sched_param.
10767 (__need_schedparam): Undefine.
10768
10769 2010-08-31 Mike Frysinger <vapier@gentoo.org>
10770
10771 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10772 (epoll_create1): Declare.
10773
10774 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10775
10776 2010-08-31 Andreas Schwab <schwab@redhat.com>
10777
10778 [BZ #7066]
10779 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10780 shifting retval into place.
10781
10782 2010-09-01 Ulrich Drepper <drepper@redhat.com>
10783
10784 * nis/rpcsvc/nis.h: Update copyright notice.
10785 * nis/rpcsvc/nis.x: Likewise.
10786 * nis/rpcsvc/nis_callback.h: Likewise.
10787 * nis/rpcsvc/nis_callback.x: Likewise.
10788 * nis/rpcsvc/nis_object.x: Likewise.
10789 * nis/rpcsvc/nis_tags.h: Likewise.
10790 * nis/rpcsvc/yp.h: Likewise.
10791 * nis/rpcsvc/yp.x: Likewise.
10792 * nis/rpcsvc/ypupd.h: Likewise.
10793 * nis/yp_xdr.c: Likewise.
10794 * nis/ypupdate_xdr.c: Likewise.
10795
10796 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10797 mainly the body of pmap_getport. Add parameters to specify timeouts.
10798 (pmap_getport): Use __libc_rpc_getport.
10799 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10800 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10801 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10802
10803 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10804
10805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10806 fanotify_mark.
10807
10808 2010-08-27 Roland McGrath <roland@redhat.com>
10809
10810 * sysdeps/i386/i686/multiarch/Makefile
10811 (CFLAGS-varshift.c): New variable.
10812
10813 2010-08-27 Ulrich Drepper <drepper@redhat.com>
10814
10815 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10816 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10817
10818 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10819
10820 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10821
10822 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10823
10824 * sysdeps/x86_64/strlen.S: Unroll the loop.
10825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10826 strlen-sse2 strlen-sse2-bsf.
10827 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10828 __strlen_no_bsf if bit_Slow_BSF is set.
10829 (__strlen_sse42): Removed.
10830 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10831 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10832
10833 2010-08-25 Roland McGrath <roland@redhat.com>
10834
10835 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10836 * sysdeps/x86_64/multiarch/varshift.c: New file.
10837 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10838 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10839 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10840 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10841
10842 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10843
10844 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10845 strlen-sse2 strlen-sse2-bsf.
10846 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10847 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10848 (__strlen_sse2): Removed.
10849 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10850 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10851 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10852 bit_Slow_BSF for Atom.
10853 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10854 (index_Slow_BSF): Define.
10855 (HAS_SLOW_BSF): Define.
10856
10857 2010-08-25 Ulrich Drepper <drepper@redhat.com>
10858
10859 [BZ #10851]
10860 * resolv/res_init.c (__res_vinit): When no server address at all
10861 is given default to loopback.
10862
10863 2010-08-24 Roland McGrath <roland@redhat.com>
10864
10865 * configure.in: Remove config-name.h generation.
10866 * configure: Regenerated.
10867 * config-name.in: File removed.
10868 * scripts/config-uname.sh: New file.
10869 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10870 ($(objdir)config-name.h): New target.
10871
10872 * sunrpc/rpc_parse.h: Avoid nested comment.
10873
10874 2010-08-24 Richard Henderson <rth@redhat.com>
10875 Ulrich Drepper <drepper@redhat.com>
10876 H.J. Lu <hongjiu.lu@intel.com>
10877
10878 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10879 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10880 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10881 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10882 _mm_alignr_epi8 with _mm_loadu_si128.
10883 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10884 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10885 (__m128i_shift_right): Removed.
10886 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10887 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10888 * sysdeps/x86_64/multiarch/varshift.h: New file.
10889 * sysdeps/x86_64/multiarch/varshift.S: New file.
10890
10891 2010-08-21 Mike Frysinger <vapier@gentoo.org>
10892
10893 * configure.in: Move assembler checks to before sysdep dir checking.
10894
10895 2010-08-20 Petr Baudis <pasky@suse.cz>
10896
10897 * LICENSES: Sync the sunrpc license.
10898
10899 2010-08-19 Ulrich Drepper <drepper@redhat.com>
10900
10901 * sunrpc/auth_des.c: Update copyright notice once again.
10902 * sunrpc/auth_none.c: Likewise.
10903 * sunrpc/auth_unix.c: Likewise.
10904 * sunrpc/authdes_prot.c: Likewise.
10905 * sunrpc/authuxprot.c: Likewise.
10906 * sunrpc/bindrsvprt.c: Likewise.
10907 * sunrpc/clnt_gen.c: Likewise.
10908 * sunrpc/clnt_perr.c: Likewise.
10909 * sunrpc/clnt_raw.c: Likewise.
10910 * sunrpc/clnt_simp.c: Likewise.
10911 * sunrpc/clnt_tcp.c: Likewise.
10912 * sunrpc/clnt_udp.c: Likewise.
10913 * sunrpc/clnt_unix.c: Likewise.
10914 * sunrpc/des_crypt.c: Likewise.
10915 * sunrpc/des_soft.c: Likewise.
10916 * sunrpc/get_myaddr.c: Likewise.
10917 * sunrpc/getrpcport.c: Likewise.
10918 * sunrpc/key_call.c: Likewise.
10919 * sunrpc/key_prot.c: Likewise.
10920 * sunrpc/openchild.c: Likewise.
10921 * sunrpc/pm_getmaps.c: Likewise.
10922 * sunrpc/pm_getport.c: Likewise.
10923 * sunrpc/pmap_clnt.c: Likewise.
10924 * sunrpc/pmap_prot.c: Likewise.
10925 * sunrpc/pmap_prot2.c: Likewise.
10926 * sunrpc/pmap_rmt.c: Likewise.
10927 * sunrpc/rpc/auth.h: Likewise.
10928 * sunrpc/rpc/auth_unix.h: Likewise.
10929 * sunrpc/rpc/clnt.h: Likewise.
10930 * sunrpc/rpc/des_crypt.h: Likewise.
10931 * sunrpc/rpc/key_prot.h: Likewise.
10932 * sunrpc/rpc/netdb.h: Likewise.
10933 * sunrpc/rpc/pmap_clnt.h: Likewise.
10934 * sunrpc/rpc/pmap_prot.h: Likewise.
10935 * sunrpc/rpc/pmap_rmt.h: Likewise.
10936 * sunrpc/rpc/rpc.h: Likewise.
10937 * sunrpc/rpc/rpc_des.h: Likewise.
10938 * sunrpc/rpc/rpc_msg.h: Likewise.
10939 * sunrpc/rpc/svc.h: Likewise.
10940 * sunrpc/rpc/svc_auth.h: Likewise.
10941 * sunrpc/rpc/types.h: Likewise.
10942 * sunrpc/rpc/xdr.h: Likewise.
10943 * sunrpc/rpc_clntout.c: Likewise.
10944 * sunrpc/rpc_cmsg.c: Likewise.
10945 * sunrpc/rpc_common.c: Likewise.
10946 * sunrpc/rpc_cout.c: Likewise.
10947 * sunrpc/rpc_dtable.c: Likewise.
10948 * sunrpc/rpc_hout.c: Likewise.
10949 * sunrpc/rpc_main.c: Likewise.
10950 * sunrpc/rpc_parse.c: Likewise.
10951 * sunrpc/rpc_parse.h: Likewise.
10952 * sunrpc/rpc_prot.c: Likewise.
10953 * sunrpc/rpc_sample.c: Likewise.
10954 * sunrpc/rpc_scan.c: Likewise.
10955 * sunrpc/rpc_scan.h: Likewise.
10956 * sunrpc/rpc_svcout.c: Likewise.
10957 * sunrpc/rpc_tblout.c: Likewise.
10958 * sunrpc/rpc_util.c: Likewise.
10959 * sunrpc/rpc_util.h: Likewise.
10960 * sunrpc/rpcinfo.c: Likewise.
10961 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10962 * sunrpc/rpcsvc/key_prot.x: Likewise.
10963 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10964 * sunrpc/rpcsvc/mount.x: Likewise.
10965 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10966 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10967 * sunrpc/rpcsvc/rex.x: Likewise.
10968 * sunrpc/rpcsvc/rstat.x: Likewise.
10969 * sunrpc/rpcsvc/rusers.x: Likewise.
10970 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10971 * sunrpc/rpcsvc/spray.x: Likewise.
10972 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10973 * sunrpc/rtime.c: Likewise.
10974 * sunrpc/svc.c: Likewise.
10975 * sunrpc/svc_auth.c: Likewise.
10976 * sunrpc/svc_authux.c: Likewise.
10977 * sunrpc/svc_raw.c: Likewise.
10978 * sunrpc/svc_run.c: Likewise.
10979 * sunrpc/svc_simple.c: Likewise.
10980 * sunrpc/svc_tcp.c: Likewise.
10981 * sunrpc/svc_udp.c: Likewise.
10982 * sunrpc/svc_unix.c: Likewise.
10983 * sunrpc/svcauth_des.c: Likewise.
10984 * sunrpc/xcrypt.c: Likewise.
10985 * sunrpc/xdr.c: Likewise.
10986 * sunrpc/xdr_array.c: Likewise.
10987 * sunrpc/xdr_float.c: Likewise.
10988 * sunrpc/xdr_mem.c: Likewise.
10989 * sunrpc/xdr_rec.c: Likewise.
10990 * sunrpc/xdr_ref.c: Likewise.
10991 * sunrpc/xdr_sizeof.c: Likewise.
10992 * sunrpc/xdr_stdio.c: Likewise.
10993
10994 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10995 handling.
10996
10997 2010-08-19 Andreas Schwab <schwab@redhat.com>
10998
10999 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
11000
11001 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
11002
11003 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
11004 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
11005 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
11006 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
11007 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
11008 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
11009 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
11010 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
11011 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
11012 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
11013 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
11014 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
11015 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
11016 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
11017
11018 2010-07-26 Anton Blanchard <anton@samba.org>
11019
11020 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
11021 * malloc/arena.c (heap_trim): Likewise.
11022
11023 2010-08-16 Ulrich Drepper <drepper@redhat.com>
11024
11025 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
11026 here. Not...
11027 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
11028 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
11029
11030 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
11031
11032 * sysdeps/i386/elf/Makefile: New file.
11033
11034 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11035
11036 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
11037 from fanotify_init.
11038 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11039 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11040
11041 2010-08-15 Ulrich Drepper <drepper@redhat.com>
11042
11043 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11044 of strncasecmp_l.
11045 * sysdeps/multiarch/strcmp.S: Likewise.
11046
11047 2010-08-14 Ulrich Drepper <drepper@redhat.com>
11048
11049 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11050 strncase_l-nonascii.
11051 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11052 Add strncase_l-ssse3.
11053 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11054 * sysdeps/x86_64/strcmp.S: Likewise.
11055 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11056 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11057 * sysdeps/x86_64/strncase.S: New file.
11058 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11059 * sysdeps/x86_64/strncase_l.S: New file.
11060 * string/Makefile (strop-tests): Add strncasecmp.
11061 * string/test-strncasecmp.c: New file.
11062
11063 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11064 warning.
11065
11066 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11067 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11068
11069 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11070
11071 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11072
11073 2010-08-12 Ulrich Drepper <drepper@redhat.com>
11074
11075 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11076 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11077 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11078
11079 2010-05-01 Alan Modra <amodra@gmail.com>
11080
11081 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11082 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11083 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11084 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11085 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11086 tidying. Don't tail-call __sigjmp_save for static lib.
11087 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11088 save location.
11089 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11090 (CALL_MCOUNT): Add eh info, and nop after bl.
11091 (TAIL_CALL_SYSCALL_ERROR): New macro.
11092 (PSEUDO_RET): Use it.
11093 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11094 Correct save location of integer regs and cr.
11095 (_dl_profile_resolve): Correct cr save location. Delete nops
11096 after bl when SHARED. Reduce cfi size a little by better
11097 placement of cfi directives.
11098 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11099 make a stack frame. Instead use parm save area as a temp.
11100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11101 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11103 Don't make a stack frame for parent, use parm save area.
11104 Increase child stack frame to 112 bytes. Don't save unused reg,
11105 and adjust reg usage. Set up cfi on error recovery and
11106 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11108 (__makecontext): Add dummy nop after jump to exit.
11109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11110 Use correct parm save area and cr save, reduce stack frame.
11111 Correct cfi for possible PSEUDO_RET frame setup.
11112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11113 Branch to local label emitted by PSEUDO_RET rather than
11114 __syscall_error.
11115
11116 2010-08-12 Andreas Schwab <schwab@redhat.com>
11117
11118 [BZ #11904]
11119 * locale/programs/locale.c (print_assignment): New function.
11120 (show_locale_vars): Use it.
11121
11122 2010-08-11 Ulrich Drepper <drepper@redhat.com>
11123
11124 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11125 field.
11126 (struct statfs64): Likewise.
11127 (_STATFS_F_FLAGS): Define.
11128 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11129 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11130 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11131 (ST_VALID): Define locally.
11132 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11133 __statvfs_getflags, use the provided value.
11134 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11135 __ASSUME_STATFS_F_FLAGS.
11136
11137 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11138
11139 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11140 Add sys/fanotify.h.
11141 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11142 fanotify_mask for GLIBC_2.13.
11143 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11144 fanotify_init and fanotify_mark.
11145 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11146 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11147
11148 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11149 Add prlimit.
11150 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11151 prlimit64 for GLIBC_2.13.
11152 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11153 prlimit64.
11154 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11155 syscall.
11156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11157 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11158 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11159 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11160 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11161 add prlimit alias.
11162 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11163
11164 [BZ #11903]
11165 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11166 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11167
11168 * nss/Makefile: Add rules to build and run tst-nss-test1.
11169 * shlib-versions: Add entry for libnss_test1.
11170 * nss/nss_test1.c: New file.
11171 * nss/tst-nss-test1.c: New file.
11172
11173 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11174 (__nss_configure_lookup): Set appropriate entry in
11175 __nss_configure_lookup to true.
11176 * nss/nsswitch.h: Define enum with indeces of databases in
11177 databases and __nss_database_custom arrays. Declare
11178 __nss_database_custom.
11179 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11180 to avoid using nscd when custom rules are installed.
11181 * nss/getXXbyYY_r.c: Likewise.
11182 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11183
11184 * nss/nss_files/files-parse.c: Whitespace fixes.
11185
11186 2010-08-09 Ulrich Drepper <drepper@redhat.com>
11187
11188 [BZ #11883]
11189 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11190 * posix/fnmatch_loop.c: Likewise.
11191
11192 2010-07-17 Andi Kleen <ak@linux.intel.com>
11193
11194 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11195 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11196 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11197 * Versions.def [GLIBC_2.13]: Add.
11198
11199 2010-08-06 Ulrich Drepper <drepper@redhat.com>
11200
11201 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11202 Also fail if tpwd after pwuid call is NULL.
11203
11204 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11205
11206 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11207 when converting to ms.
11208
11209 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11210
11211 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11212 EOPNOTSUPP errors with ENOTTY.
11213 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11214 EOPNOTSUPP errors with ENOTTY.
11215
11216 2010-07-31 Ulrich Drepper <drepper@redhat.com>
11217
11218 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11219 Add strcasecmp_l-ssse3.
11220 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11221 strcasecmp.
11222 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11223 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11224 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11225
11226 2010-07-30 Ulrich Drepper <drepper@redhat.com>
11227
11228 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11229
11230 * string/Makefile (strop-tests): Add strcasecmp.
11231 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11232 strcasecmp_l-nonascii.
11233 (gen-as-const-headers): Add locale-defines.sym.
11234 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11235 * sysdeps/x86_64/strcasecmp.S: New file.
11236 * sysdeps/x86_64/strcasecmp_l.S: New file.
11237 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11238 * sysdeps/x86_64/locale-defines.sym: New file.
11239 * string/test-strcasecmp.c: New file.
11240
11241 * string/test-strcasestr.c: Test both ends of the range of characters.
11242 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11243
11244 2010-07-29 Roland McGrath <roland@redhat.com>
11245
11246 [BZ #11856]
11247 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11248
11249 2010-07-27 Ulrich Drepper <drepper@redhat.com>
11250
11251 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11252 for ld.so.
11253
11254 2010-07-27 Andreas Schwab <schwab@redhat.com>
11255
11256 * manual/memory.texi (Malloc Tunable Parameters): Document
11257 M_PERTURB.
11258
11259 2010-07-26 Roland McGrath <roland@redhat.com>
11260
11261 [BZ #11840]
11262 * configure.in (-fgnu89-inline check): Set and substitute
11263 gnu89_inline, not libc_cv_gnu89_inline.
11264 * configure: Regenerated.
11265 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11266
11267 2010-07-26 Ulrich Drepper <drepper@redhat.com>
11268
11269 * string/test-strnlen.c: New file.
11270 * string/Makefile (strop-tests): Add strnlen.
11271 * string/tester.c (test_strnlen): Add a few more test cases.
11272 * string/tst-strlen.c: Better error reporting.
11273
11274 * sysdeps/x86_64/strnlen.S: New file.
11275
11276 2010-07-24 Ulrich Drepper <drepper@redhat.com>
11277
11278 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11279 lower-latency instructions.
11280
11281 2010-07-23 Ulrich Drepper <drepper@redhat.com>
11282
11283 * string/test-strcasestr.c: New file.
11284 * string/test-strstr.c: New file.
11285 * string/Makefile (strop-tests): Add strstr and strcasestr.
11286 * string/str-two-way.h: Don't undefine MAX.
11287 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11288
11289 2010-07-21 Andreas Schwab <schwab@redhat.com>
11290
11291 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11292 strcasestr-nonascii.
11293 (CFLAGS-strcasestr-nonascii.c): Define.
11294 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11295 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11296 Remove unused attribute.
11297
11298 2010-07-20 Roland McGrath <roland@redhat.com>
11299
11300 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11301 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11302 ld.so.cache was broken. With it, there is no way to disable dsocaps
11303 like LD_HWCAP_MASK can disable hwcaps.
11304
11305 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11306
11307 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11308
11309 2010-07-16 Ulrich Drepper <drepper@redhat.com>
11310
11311 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11312 call in strcasestr.
11313 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11314 __strcasestr_sse42_nonascii.
11315 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11316 strcasestr-nonascii.c.
11317 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11318
11319 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
11320
11321 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11322 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11323 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11324 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11325
11326 2010-07-09 Ulrich Drepper <drepper@redhat.com>
11327
11328 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11329 fcntl.
11330
11331 2010-07-06 Andreas Schwab <schwab@redhat.com>
11332
11333 [BZ #11577]
11334 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11335 dl_signal_cerror.
11336
11337 2010-07-06 Ulrich Drepper <drepper@redhat.com>
11338
11339 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11340 _PC_PIPE_BUF using F_GETPIPE_SZ.
11341
11342 2010-07-05 Roland McGrath <roland@redhat.com>
11343
11344 * manual/arith.texi (Rounding Functions): Fix rint description
11345 implicit in round description.
11346
11347 2010-07-02 Ulrich Drepper <drepper@redhat.com>
11348
11349 * elf/Makefile: Fix linking for a few tests to make recent linker
11350 happy.
11351
11352 2010-06-30 Andreas Schwab <schwab@redhat.com>
11353
11354 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11355 $(common-objpfx)libc_nonshared.a.
11356
11357 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
11358
11359 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11360 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11361 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11362 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11363 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11364 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11365 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11366 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11381 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11382 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11383 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11384 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11385 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11386 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11387 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11388 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11389 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11390 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11391 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11392 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11407
11408 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11409
11410 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11411 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11412 * string/memmove.c (memmove): Renamed to ...
11413 (MEMMOVE): ...this. Default to memmove.
11414 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11415 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11416 (END_CHK): Define.
11417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11418 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11419 mempcpy-ssse3-back memmove-ssse3-back.
11420 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11421 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11422 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11423 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11424 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11425 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11426 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11427 * sysdeps/x86_64/multiarch/memmove.c: New file.
11428 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11429 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11430 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11431 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11432 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11433 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11434 Define.
11435 (index_Fast_Copy_Backward): Define.
11436 (HAS_ARCH_FEATURE): Define.
11437 (HAS_FAST_REP_STRING): Define.
11438 (HAS_FAST_COPY_BACKWARD): Define.
11439
11440 2010-06-21 Andreas Schwab <schwab@redhat.com>
11441
11442 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11443 Restore proper fallback handling.
11444
11445 2010-06-19 Ulrich Drepper <drepper@redhat.com>
11446
11447 [BZ #11701]
11448 * posix/group_member.c (__group_member): Correct checking loop.
11449
11450 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11451 OOM in getpwuid_r correctly. Return error number when the caller
11452 should return, otherwise -1.
11453 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11454 call returning > 0 value.
11455 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11456
11457 2010-06-07 Andreas Schwab <schwab@redhat.com>
11458
11459 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11460 libc_nonshared.a from targets in modules-names.
11461
11462 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11463
11464 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11465 requires it.
11466
11467 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
11468
11469 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11470 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11471 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11472 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11473
11474 2010-06-02 Andreas Schwab <schwab@redhat.com>
11475
11476 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11477
11478 2010-06-14 Ulrich Drepper <drepper@redhat.com>
11479
11480 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11481 and F_GETPIPE_SZ.
11482 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11483 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11484 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11485 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11486 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11487 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11488
11489 2010-06-14 Roland McGrath <roland@redhat.com>
11490
11491 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11492
11493 2010-06-07 Jakub Jelinek <jakub@redhat.com>
11494
11495 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11496 __REDIRECT followed by __THROW.
11497 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11498 * posix/getopt.h (getopt): Likewise.
11499
11500 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11501
11502 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11503 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11504 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11505 in AT_FLAGS.
11506 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11507 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11508
11509 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
11510
11511 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11512
11513 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11514
11515 [BZ #11640]
11516 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11517 Properly check family and model.
11518
11519 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11520
11521 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11522
11523 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
11524
11525 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11526
11527 2010-05-21 Ulrich Drepper <drepper@redhat.com>
11528
11529 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11530 symbol reference.
11531
11532 2010-05-19 Andreas Schwab <schwab@redhat.com>
11533
11534 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11535 symbol reference.
11536
11537 2010-05-21 Andreas Schwab <schwab@redhat.com>
11538
11539 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11540 and internal_recvmmsg.
11541 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11542 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11543 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11544 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11545
11546 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11547 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11548 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11549
11550 2010-05-20 Andreas Schwab <schwab@redhat.com>
11551
11552 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11553
11554 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
11555
11556 POWER7 optimizations.
11557 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11558 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11559
11560 2010-05-19 Ulrich Drepper <drepper@redhat.com>
11561
11562 * version.h: Update for 2.13 development version.
11563
11564 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
11565
11566 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11567 exceptions. Return 0.
11568
11569 2010-05-07 Roland McGrath <roland@redhat.com>
11570
11571 * elf/ldconfig.c (main): Add a const.
11572
11573 2010-05-06 Ulrich Drepper <drepper@redhat.com>
11574
11575 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11576 (args_options): Add no-idn option.
11577 (ahosts_keys_int): Add idn_flags to ai_flags.
11578 (parse_option): Handle 'i' option to clear idn_flags.
11579
11580 * malloc/malloc.c (_int_free): Possible race in the most recently
11581 added check. Only act on the data if no current modification
11582 happened.
11583
11584 See ChangeLog.17 for earlier changes.