]> git.ipfire.org Git - thirdparty/glibc.git/blame_incremental - ChangeLog
Update sparc libm ULPs.
[thirdparty/glibc.git] / ChangeLog
... / ...
CommitLineData
12012-04-11 David S. Miller <davem@davemloft.net>
2
3 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4
52012-04-11 Mike Frysinger <vapier@gentoo.org>
6
7 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
8 Add a leading slash to rtkaio.
9
102012-04-11 Jim Meyering <meyering@redhat.com>
11
12 [BZ #11959]
13 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
14 It is not necessarily an error to ignore fwrite's return
15 value. One can reliably use ferror to test for errors after
16 the fact.
17
182012-04-10 H.J. Lu <hongjiu.lu@intel.com>
19
20 * bits/types.h (__snseconds_t): New type.
21 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
22
23 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25 (__SNSECONDS_T_TYPE): Likewise.
26 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27 (__SNSECONDS_T_TYPE): Likewise.
28 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29 (__SNSECONDS_T_TYPE): Likewise.
30
312012-04-10 Andreas Jaeger <aj@suse.de>
32
33 [BZ #2636]
34 * manual/time.texi (Processor Time): Return type of times is
35 elapsed real time since an arbitrary point in the past.
36 (CPU Time): Move CLK_TCK from here...
37 (Processor Time): ...to here. Correct description.
38 * manual/conf.texi (Constants for Sysconf): Correct description of
39 _SC_CLK_TCK.
40
412012-04-10 David S. Miller <davem@davemloft.net>
42
43 [BZ #13967]
44 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45 where the is a gap between DT_REL(A) and DT_JMPREL.
46
472012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48
49 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
51 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
52
532012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
54
55 * elf/dl-support.c (_dl_inhibit_cache): New variable.
56 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
57 (dl_main): Handle --inhibit-cache.
58 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
59 _dl_inhibit_cache.
60 * elf/dl-load.c (_dl_map_object): Use it.
61 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
62
632012-04-09 Joseph Myers <joseph@codesourcery.com>
64
65 [BZ #13872]
66 * sysdeps/i386/fpu/e_powl.S (p78): New object.
67 (__ieee754_powl): Saturate large exponents rather than testing for
68 overflow of y*log2(x).
69 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70 * math/libm-test.inc (pow_test): Do not permit spurious overflow
71 exceptions.
72
73 [BZ #11521]
74 * math/s_ctan.c: Include <float.h>.
75 (__ctan): Avoid internal overflow or cancellation in calculating
76 denominator.
77 * math/s_ctanf.c: Likewise.
78 * math/s_ctanl.c: Likewise.
79 * math/s_ctanh.c: Likewise.
80 * math/s_ctanhf.c: Likewise.
81 * math/s_ctanhl.c: Likewise.
82 * math/libm-test.inc (ctan_test): Add more tests.
83 (ctanh_test): Likewise.
84 * sysdeps/i386/fpu/libm-test-ulps: Update.
85 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86
872012-04-09 Andreas Jaeger <aj@suse.de>
88
89 [BZ #6894]
90 * manual/filesys.texi (Directory Entries): Mention that d_namlen
91 is an optional BSD extension.
92
93 [BZ #10254]
94 * manual/stdio.texi (Opening Streams): Document additional fopen
95 parameters.
96
972012-04-09 Roland McGrath <roland@hack.frob.com>
98
99 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
100 %eax without telling the compiler.
101
1022012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
103
104 [BZ # 13963]
105 * manual/install.texi: Use sourceware.org.
106
1072012-04-09 Joseph Myers <joseph@codesourcery.com>
108
109 [BZ #13873]
110 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
111 (__ieee754_pow): Generate overflow and underflow using huge*huge
112 and tiny*tiny rather than just returning constant infinity or zero
113 for large exponents.
114 * math/libm-test.inc (pow_test): Require overflow exceptions for
115 applicable cases of large exponents.
116
117 [BZ #706]
118 * sysdeps/i386/fpu/e_pow.S (p10): New object.
119 (__ieee754_pow): Use iterative multiplication algorithm only for
120 integer exponents with absolute value below 1024. Check for odd
121 integer exponents when using algorithm for real exponents.
122 * math/libm-test.inc (pow_test): Add more tests.
123 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
124
1252012-04-08 Joseph Myers <joseph@codesourcery.com>
126
127 [BZ #13705]
128 * math/libm-test.inc (exp_test): Do not allow overflow exception
129 on underflow test.
130
1312012-04-08 Aurelien Jarno <aurelien@aurel32.net>
132
133 [BZ #13705]
134 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
135 instead of __kernel_standard_f.
136
1372012-04-08 Mike Frysinger <vapier@gentoo.org>
138
139 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
140 * sysdeps/x86_64/memset_chk.S: Likewise.
141
1422012-04-08 Andreas Jaeger <aj@suse.de>
143
144 [BZ #10153]
145 * manual/startup.texi (Environment Access): Describe return value
146 for putenv and setenv.
147
148 [BZ #6895]
149 * manual/filesys.texi (Directory Entries): Add description for
150 DT_LNK.
151
152 [BZ #6890]
153 * manual/filesys.texi (Directory Entries): Clarify that it's file
154 system not operating system in the description of DT_UNKNOWN.
155
156 [BZ #6578]
157 * manual/syslog.texi (closelog): Fix reference, it's openlog.
158
1592012-04-08 Stephen Compall <s11@member.fsf.org>
160
161 [BZ #6649]
162 * manual/llio.texi (Opening and Closing Files): Add cross
163 reference to explain mode argument.
164
1652012-04-07 Mike Frysinger <vapier@gentoo.org>
166
167 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
168 * sysdeps/x86_64/memset_chk.S: Likewise.
169
1702012-04-07 David S. Miller <davem@davemloft.net>
171
172 * elf/elf.h (R_SPARC_WDISP10): Define.
173 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
174 R_SPARC_SIZE32.
175 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
176 R_SPARC_SIZE64 and R_SPARC_H34.
177
1782012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
179
180 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
181 conditions and remove no longer applicable assertion.
182
1832012-04-06 H.J. Lu <hongjiu.lu@intel.com>
184
185 * bits/byteswap.h: Include <features.h>.
186 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
187 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
188
1892012-04-06 H.J. Lu <hongjiu.lu@intel.com>
190
191 * bits/byteswap.h (__bswap_16): Removed.
192 Include <bits/byteswap-16.h> to get __bswap_16.
193 * sysdeps/i386/bits/byteswap.h: Likewise.
194 * sysdeps/s390/bits/byteswap.h: Likewise.
195 * sysdeps/x86_64/bits/byteswap.h: Likewise.
196 * bits/byteswap-16.h: New file.
197 * sysdeps/i386/bits/byteswap-16.h: Likewise.
198 * sysdeps/s390/bits/byteswap-16.h: Likewise.
199 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
200 * string/Makefile (headers): Add bits/byteswap-16.h.
201
2022012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
203
204 [BZ #13895]
205 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
206 extra indirection.
207 * nss/Makefile (tests-static, tests): Add tst-nss-static.
208 * nss/tst-nss-static.c: New.
209
2102012-04-06 Robert Millan <rmh@gnu.org>
211
212 [BZ #6486]
213 * manual/llio.texi (File Position Primitive): lseek
214 refers to WHENCE when it really means OFFSET.
215
2162012-04-06 Andreas Jaeger <aj@suse.de>
217
218 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
219 strncmp declarations.
220
221 * abilist/libc.abilist: Add __poll and __ppoll.
222
2232012-04-05 David S. Miller <davem@davemloft.net>
224
225 * scripts/check-local-headers.sh: Accept a host triplet in the
226 path matched by the exclude regexp.
227
228 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
229 definition.
230 * sysdeps/powerpc/powerpc32/dl-machine.h
231 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
232 * sysdeps/s390/s390-32/dl-machine.h
233 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
234 * sysdeps/sparc/sparc32/dl-machine.h
235 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
236 * sysdeps/sparc/sparc64/dl-machine.h
237 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
238
239 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
240 lazy binding.
241 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
242 undefined symbol errors.
243
244 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
245 DT_NEEDED entries.
246
2472012-04-05 Michael Matz <matz@suse.de>
248
249 [BZ #13592]
250 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
251
2522012-04-05 Andreas Jaeger <aj@suse.de>
253
254 [BZ #13908]
255 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
256 comment.
257
2582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
259
260 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
261 which ROUND is no valid rounding mode.
262
2632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
264
265 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
266 read again.
267 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
268
2692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
270
271 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
272 an exception using FPU order intentionally.
273
2742012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
275
276 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
277 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
278 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
279 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
280
2812012-04-05 Simon Josefsson <simon@josefsson.org>
282
283 [BZ #12340]
284 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
285 EINVAL when BUFLEN is too smal.
286
2872012-04-05 Thomas Schwinge <thomas@codesourcery.com>
288
289 [BZ #13553]
290 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
291 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
292
2932012-04-03 Andreas Jaeger <aj@suse.de>
294
295 [BZ #13938]
296 * manual/setjmp.texi (System V contexts): Fix sentence.
297
298 [BZ #13926]
299 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
300 New macro for this case.
301 [!__GNUC__] (__bswap_64): New inline function for this case.
302 * sysdeps/x86_64/bits/byteswap.h: Likewise.
303 * bits/byteswap.h: Likewise.
304 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
305 ull, guard with __GLIBC_HAVE_LONG_LONG.
306
307 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
308 __GLIBC_HAVE_LONG_LONG.
309
310 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
311 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
312
3132012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
314
315 [BZ #13691]
316 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
317 inptr and inend, rather than using last_ch.
318
3192012-04-02 David S. Miller <davem@davemloft.net>
320
321 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
322 * stdio-common/printf-parse.h (read_int): Change return type to
323 'int', return -1 on INT_MAX overflow.
324 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
325 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
326 overflows INT_MAX. Check for overflow of in-format-string precision
327 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
328 SIZE_MAX not INT_MAX for integer overflow test.
329 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
330 skip the construct in the format string but do not record anything.
331 * stdio-common/bug22.c: Adjust to test both width/prevision
332 INT_MAX overflow as well as total length INT_MAX overflow. Check
333 explicitly for proper errno values.
334
3352012-04-02 Thomas Schwinge <thomas@codesourcery.com>
336
337 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
338 CHAR_MAX.
339 * string/test-strcmp.c [! WIDE]: Likewise.
340 * time/tst-mktime2.c: Likewise for INT_MAX.
341 * string/test-string.h: #include <sys/param.h> for MIN.
342
343 * csu/init-first.c (__libc_init_first): Call __ctype_init.
344 * sysdeps/i386/init-first.c (init): Likewise.
345 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
346 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
347 * sysdeps/sh/init-first.c (init): Likewise.
348
3492012-04-01 Ulrich Drepper <drepper@gmail.com>
350
351 * po/ru.po: Update from translation team.
352 * po/vi.po: Likewise.
353
3542012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
355
356 * resolv/nss_dns/dns-host.c: Merge copyright years.
357
3582012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
359
360 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
361 Optimize memcpy with prefetch if
362 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
363 src, dst pointers have unequal 16 byte alignments.
364
3652012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
366
367 [BZ #13928]
368 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
369 from a CNAME entry and return the minimum ttl for the query.
370 (gaih_getanswer_slice): Likewise.
371
3722012-03-30 Jeff Law <law@redhat.com>
373
374 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
375 due to long keys.
376 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
377 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
378
379 * resolv/nss_dns/dns-host.c: Update copyright year.
380
3812012-03-30 Ulrich Drepper <drepper@gmail.com>
382
383 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
384 requests to save a system call. Fix check that all bytes are sent.
385
386 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
387 comments for sendmmsg.
388
3892012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
390
391 [BZ #13691]
392 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
393 with only 1 character between 0x0041 and 0x01b0.
394 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
395 * wcsmbs/tst-mbsnrtowcs.c: New file.
396
3972012-03-29 David S. Miller <davem@davemloft.net>
398
399 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
400 small copies by hand.
401
4022012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
403
404 [BZ #13761]
405 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
406 _nss_compat_initgroups_dyn): Fall back to malloc/free
407 for large group memberships.
408
4092012-03-28 David S. Miller <davem@davemloft.net>
410
411 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
412 that branches into memcpy.
413 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
414 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
415 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
416 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
417 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
418 bits.
419 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
420 implementation too.
421 * sysdeps/sparc/mempcpy.S: New file.
422
423 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
424 the IFUNC routine in the libc case.
425 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
426
427 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
428 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
429 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
430 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
431 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
432 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
433 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
434 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
435
436 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
437 loop to 256 bytes instead of 64 bytes and fix test signedness.
438
439 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
440 * sysdeps/sparc/sparc32/Makefile: rather than here...
441 * sysdeps/sparc/sparc64/Makefile: and here.
442
4432012-03-28 Ulrich Drepper <drepper@gmail.com>
444
445 * malloc/mallocbug.c: Avoid warnings about unused variables.
446
4472012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
448
449 [BZ #13760]
450 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
451 in the right place. Discard and retry query if response is
452 larger than input buffer size.
453
4542012-03-28 Joseph Myers <joseph@codesourcery.com>
455
456 [BZ #369]
457 [BZ #2678]
458 [BZ #3866]
459 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
460 x for large integer exponent.
461 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
462 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
463 sign of result as needed afterwards.
464 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
465 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
466 result for underflowing pow the same as for overflow.
467 (__kernel_standard_l): Handle powl overflow and underflow here
468 rather than calling __kernel_standard.
469 * math/libm-test.inc (pow_test): Add more tests.
470
471 [BZ #3868]
472 [BZ #13879]
473 [BZ #13910]
474 [BZ #13911]
475 [BZ #13912]
476 [BZ #13913]
477 [BZ #13915]
478 [BZ #13916]
479 [BZ #13917]
480 [BZ #13918]
481 [BZ #13919]
482 [BZ #13920]
483 [BZ #13921]
484 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
485 * sysdeps/ieee754/k_standard.c: Include <float.h>.
486 (__kernel_standard_l): New function.
487 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
488 __kernel_standard.
489 * math/w_acosl.c (__acosl): Likewise.
490 * math/w_asinl.c (__asinl): Likewise.
491 * math/w_atan2l.c (__atan2l): Likewise.
492 * math/w_atanhl.c (__atanhl): Likewise.
493 * math/w_coshl.c (__coshl): Likewise.
494 * math/w_exp10l.c (__exp10l): Likewise.
495 * math/w_exp2l.c (__exp2l): Likewise.
496 * math/w_fmodl.c (__fmodl): Likewise.
497 * math/w_hypotl.c (__hypotl): Likewise.
498 * math/w_j0l.c (__j0l, __y0l): Likewise.
499 * math/w_j1l.c (__j1l, __y1l): Likewise.
500 * math/w_jnl.c (__jnl, __ynl): Likewise.
501 * math/w_lgammal.c (__lgammal): Likewise.
502 * math/w_log10l.c (__log10l): Likewise.
503 * math/w_log2l.c (__log2l): Likewise.
504 * math/w_logl.c (__logl): Likewise.
505 * math/w_powl.c (__powl): Likewise.
506 * math/w_remainderl.c (__remainderl): Likewise.
507 * math/w_scalbl.c (sysv_scalbl): Likewise.
508 * math/w_sinhl.c (__sinhl): Likewise.
509 * math/w_sqrtl.c (__sqrtl): Likewise.
510 * math/w_tgammal.c (__tgammal): Likewise.
511 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
512 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
513 * math/libm-test.inc (acos_test): Add more tests.
514 (acosh_test): Likewise.
515 (asin_test): Likewise.
516 (atanh_test): Likewise.
517 (exp_test): Likewise.
518 (exp10_test): Likewise.
519 (exp2_test): Likewise.
520 (expm1_test): Likewise.
521 (lgamma_test): Likewise.
522 (log_test): Likewise.
523 (log10_test): Likewise.
524 (log1p_test): Likewise.
525 (log2_test): Likewise.
526 (pow_test): Do not allow some spurious overflow exceptions.
527 (sqrt_test): Add more tests.
528 (tgamma_test): Likewise.
529 (y0_test): Likewise.
530 (y1_test): Likewise.
531 (yn_test): Likewise.
532
5332012-03-27 Anton Blanchard <anton@samba.org>
534
535 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
536 MAP_HUGETLB.
537 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
538 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
539 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
540
5412012-03-27 David S. Miller <davem@davemloft.net>
542
543 * conform/Makefile: Run run-conformtest.sh using $(BASH).
544
545 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
546 have-as-vis3 check.
547
5482012-03-27 Andreas Jaeger <aj@suse.de>
549
550 * sysdeps/x86_64/elf/configure.in: Moved to ...
551 * sysdeps/x86_64/configure.in: ... here.
552 * sysdeps/x86_64/elf/start.S: Moved to ...
553 * sysdeps/x86_64/start.S: ... here.
554 * sysdeps/x86_64/elf/configure: Delete.
555
556 * sysdeps/x86_64/configure.in: Merge contents from
557 sysdeps/i386/configure.in (without i686 check).
558
559 * sysdeps/i386/elf/Versions: Merge into ...
560 * sysdeps/i386/Versions: ... this.
561 * sysdeps/i386/elf/Versions: Delete file.
562 * sysdeps/i386/elf/start.S: Moved to ...
563 * sysdeps/i386/start.S: ...here.
564 * sysdeps/i386/elf/configure.in: Merge into...
565 * sysdeps/i386/configure.in: ...here.
566 * sysdeps/i386/elf/configure.in: Delete file.
567 * sysdeps/i386/elf/configure: Delete file.
568
569 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
570 * debug/backtracesyms.c: ... here.
571 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
572 * debug/backtracesymsfd.c: ... here.
573 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
574 * sysdeps/generic/ifunc-sel.h: ... here.
575
576 * sysdeps/unix/i386/start.c: Delete file.
577 * sysdeps/unix/sparc/start.c: Delete file.
578 * sysdeps/unix/start.c: Delete file.
579
580 * sysdeps/sh/elf/configure.in: Moved to ...
581 * sysdeps/sh/configure.in: ... here.
582 * sysdeps/sh/elf/start.S: Moved to ...
583 * sysdeps/sh/start.S: ... here.
584 * sysdeps/sh/elf/configure: Delete file.
585
586 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
587 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
588 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
589 * sysdeps/powerpc/powerpc64/entry.h: ... here.
590 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
591 * sysdeps/powerpc/powerpc64/start.S: here.
592 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
593 * sysdeps/powerpc/powerpc64/Makefile: ... this.
594 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
595 * sysdeps/powerpc/powerpc64/configure.in: ... this.
596 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
597
598 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
599 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
600 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
601 * sysdeps/powerpc/powerpc32/start.S: ... here.
602 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
603 * sysdeps/powerpc/powerpc32/configure.in: ... this.
604 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
605
606 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
607 * sysdeps/powerpc/ifunc-sel.h: ... here.
608 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
609 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
610
611 * sysdeps/sparc/elf/configure.in: Moved to ...
612 * sysdeps/sparc/configure.in: ... here.
613 * sysdeps/sparc/elf/configure: Delete file.
614 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
615 * sysdeps/sparc/sparc32/start.S: ... here.
616 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
617 * sysdeps/sparc/sparc64/start.S: ... here.
618 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
619 * sysdeps/sparc/sparc32/Makefile: ... this.
620 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
621 * sysdeps/sparc/sparc64/Makefile: ... this.
622
623 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
624 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
625 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
626 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
627 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
628 * sysdeps/s390/s390-32/setjmp.S: ... here.
629 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
630 * sysdeps/s390/s390-32/configure.in: ... here.
631 * sysdeps/s390/s390-32/elf/configure: Delete file.
632 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
633 * sysdeps/s390/s390-32/start.S: ... here.
634
635 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
636 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
637 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
638 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
639 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
640 * sysdeps/s390/s390-64/setjmp.S: ... here.
641 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
642 * sysdeps/s390/s390-64/configure.in: ... here
643 * sysdeps/s390/s390-64/elf/configure: Delete file.
644 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
645 * sysdeps/s390/s390-64/start.S: ... here.
646 * sysdeps/s390/s390-64/elf/configure: Delete.
647
648 * configure.in: Remove support for elf directories in sysdeps.
649
650 * configure: Regenerated.
651 * sysdeps/i386/configure: Regenerated.
652 * sysdeps/powerpc/powerpc32/configure: Regenerated.
653 * sysdeps/powerpc/powerpc64/configure: Regenerated.
654 * sysdeps/s390/s390-32/configure: Regenerated.
655 * sysdeps/s390/s390-64/configure: Regenerated.
656 * sysdeps/sh/configure: Regenerated.
657 * sysdeps/sparc/configure: Regenerated.
658 * sysdeps/x86_64/configure: Regenerated.
659
6602012-03-26 Andreas Schwab <schwab@linux-m68k.org>
661
662 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
663
664 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
665 denormal result into account.
666
6672012-03-25 Roland McGrath <roland@hack.frob.com>
668
669 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
670 Reported by Allan McRae <allan@archlinux.org>.
671
6722012-03-23 Jeff Law <law@redhat.com>
673
674 * nss/getnssent.c (__nss_getent): Fix typo.
675
6762012-03-23 David S. Miller <davem@davemloft.net>
677
678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
679
6802012-03-23 H.J. Lu <hongjiu.lu@intel.com>
681
682 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
683 to pad to uint64_t for each field.
684 (dl_tls_index): Replace unsigned long with uint64_t.
685
6862012-03-23 Daniel Jacobowitz <dmj@google.com>
687 Paul Pluzhnikov <ppluzhnikov@google.com>
688
689 [BZ #6528]
690 * grp/Makefile (otherlibs): Don't set it.
691 * inet/Makefile (otherlibs): Likewise.
692 * login/Makefile (otherlibs): Likewise.
693 * nscd/Makefile (otherlibs): Likewise.
694 * posix/Makefile (otherlibs): Likewise.
695 * pwd/Makefile (otherlibs): Likewise.
696 * rt/Makefile (otherlibs): Likewise.
697 * sunrpc/Makefile (otherlibs): Likewise.
698 * nss/Makefile (otherlibs): Likewise.
699 Add libnss_files to routines and static-only-routines.
700 ($(objpfx)getent): Remove rule.
701 * resolv/Makefile: Add libnss_dns and libresolv to routines and
702 static-only-routines.
703
7042012-03-22 Joseph Myers <joseph@codesourcery.com>
705
706 [BZ #13892]
707 * math/s_cexp.c: Include <float.h>.
708 (__cexp): Handle exp result overflowing not necessarily
709 overflowing both real and imaginary parts of result.
710 * math/s_cexpf.c: Likewise.
711 * math/s_cexpl.c: Likewise.
712 * math/libm-test.inc (cexp_test): Add more tests.
713 * sysdeps/i386/fpu/libm-test-ulps: Update.
714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
715
7162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
717
718 * include/link.h (ELFW): New macro.
719 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
720 Replace ELF64_R_TYPE with ELFW(R_TYPE).
721
7222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
723
724 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
725 with uint64_t.
726
7272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
728
729 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
730 declaration.
731 (struct La_x32_retval): Likewise.
732
7332012-03-22 H.J. Lu <hongjiu.lu@intel.com>
734
735 * sysdeps/x86_64/preconfigure.in: New file.
736 * sysdeps/x86_64/preconfigure: New generated file.
737
7382012-03-22 Joseph Myers <joseph@codesourcery.com>
739
740 [BZ #13824]
741 * math/e_exp2l.c: Include <float.h>.
742 (__ieee754_exp2l): Handle overflow and underflow cases
743 separately. Only pass fractional part of argument to
744 __ieee754_expl.
745 * math/libm-test.inc (exp2_test): Add more tests.
746
747 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
748 negating x to take absolute value.
749 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
750 Likewise.
751 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
752 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
753 Likewise.
754 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
755 computing low part if x was negated.
756 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
757
7582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
759
760 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
761 la_x32_gnu_pltexit.
762 (pltexit): Cast int_retval to ptrdiff_t.
763 * elf/tst-auditmod3b.c: Likewise.
764 * elf/tst-auditmod4b.c: Likewise.
765 * elf/tst-auditmod5b.c: Likewise.
766 * elf/tst-auditmod6b.c: Likewise.
767 * elf/tst-auditmod6c.c: Likewise.
768 * elf/tst-auditmod7b.c: Likewise.
769
770 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
771 and x32_gnu_pltexit.
772
773 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
774 __ELF_NATIVE_CLASS.
775 (La_x32_regs): New macro.
776 (La_x32_retval): Likewise.
777 (la_x32_gnu_pltenter): New function prototype.
778 (la_x32_gnu_pltexit): Likewise.
779
7802012-03-21 Andreas Schwab <schwab@linux-m68k.org>
781
782 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
783 exponent.
784
785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
786
787 * configure.in (libc_cv_cc_nofma): Check for option to disable
788 generation of FMA instructions.
789 * configure: Regenerate.
790 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
791 * sysdeps/ieee754/dbl-64/Makefile: New file.
792 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
793 Remove brandred-fma4.
794 (CFLAGS-brandred-fma4.c): Remove.
795 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
796 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
797 define.
798 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
799 define.
800
8012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
802
803 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
804 LLONG_MAX != LONG_MAX.
805 (_itoa_word): Use _ITOA_WORD_TYPE on value.
806 (_fitoa_word): Likewise.
807 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
808 LLONG_MAX != LONG_MAX.
809 * stdio-common/_itowa.h: Include <_itoa.h>.
810 (_itowa_word): Use _ITOA_WORD_TYPE on value.
811 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
812 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
813 only if not defined.
814 (_ITOA_WORD_TYPE): Likewise.
815 (_itoa_word): Use _ITOA_WORD_TYPE on value.
816 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
817
8182012-03-21 David S. Miller <davem@davemloft.net>
819
820 * sysdeps/sparc/fpu/libm-test-ulps: Update.
821
8222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
823
824 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
825 of x86_64 when setting libc_cv_slibdir, libdir and
826 libc_cv_localedir.
827 * sysdeps/unix/sysv/linux/configure: Regenerated.
828
8292012-03-21 Joseph Myers <joseph@codesourcery.com>
830
831 * manual/lang.texi (Old Varargs): Remove section.
832 (How Variadic): Update menu.
833 (va_start): Do not mention varargs.h.
834
8352012-03-21 Thomas Schwinge <thomas@codesourcery.com>
836 Joseph Myers <joseph@codesourcery.com>
837
838 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
839 link test.
840 * configure: Regenerated.
841
8422012-03-21 Thomas Schwinge <thomas@codesourcery.com>
843
844 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
845 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
846 conformtest.pl
847
8482012-03-21 Joseph Myers <joseph@codesourcery.com>
849
850 * NOTES: Remove.
851 * Makefile (files-for-dist): Remove NOTES.
852 (NOTES): Remove rule.
853 * README: Don't refer to NOTES.
854 * manual/creature.texi: Don't include macros.texi.
855 * manual/intro.texi (creature.texi): Remove comment referring to
856 NOTES.
857
858 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
859 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
860 * configure: Regenerated.
861 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
862 LIBC_TRY_CC_OPTION.
863 (libc_cv_as_i686): Likewise.
864 (libc_cv_cc_avx): Likewise.
865 (libc_cv_cc_sse2avx): Likewise.
866 (libc_cv_cc_fma4): Likewise.
867 (libc_cv_cc_novzeroupper): Likewise.
868 * sysdeps/i386/configure: Regenerated.
869
870 [BZ #13883]
871 * sysdeps/i386/fpu/s_cexp.S: Remove.
872 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
873 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
874 * math/libm-test.inc (cexp_test): Add more tests.
875 * sysdeps/i386/fpu/libm-test-ulps: Update.
876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
877
8782012-03-21 Allan McRae <allan@archlinux.org>
879
880 * timezone/Makefile: Do not install iso3166.tab and zone.tab
881
8822012-03-21 Joseph Myers <joseph@codesourcery.com>
883
884 [BZ #13871]
885 * math/w_exp2.c: Do not include <float.h>.
886 (o_threshold, u_threshold): Remove.
887 (__exp2): Calculate result before checking finiteness and calling
888 __kernel_standard.
889 * math/w_exp2f.c: Likewise.
890 * math/w_exp2l.c: Likewise.
891 * math/libm-test.inc (exp2_test): Require overflow exception for
892 1e6 input.
893
894 [BZ #3866]
895 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
896 range of signed 64-bit integers before using fistpll. Remove
897 checks for whether integers fit in mantissa bits.
898 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
899 the range of signed 32-bit integers before using fistpl. Remove
900 checks for whether integers fit in mantissa bits.
901 * sysdeps/i386/fpu/e_powl.S (p64): New object.
902 (__ieee754_powl): Test for y outside the range of signed 64-bit
903 integers before using fistpll. Reduce 64-bit values to 63-bit
904 ones as needed.
905 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
906 divide-by-zero is raised for zero to large negative powers.
907 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
908 (__ieee754_powl): Test for y outside the range of signed 64-bit
909 integers before using fistpll. Reduce 64-bit values to 63-bit
910 ones as needed.
911 * math/libm-test.inc (pow_test): Add more tests.
912
9132012-03-20 H.J. Lu <hongjiu.lu@intel.com>
914
915 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
916 <stdio-common/_itoa.h>.
917 * debug/segfault.c: Likewise.
918 * elf/dl-cache.c: Likewise.
919 * elf/dl-minimal.c: Likewise.
920 * elf/dl-misc.c: Likewise.
921 * elf/dl-sysdep.c: Likewise.
922 * elf/dl-version.c: Likewise.
923 * elf/rtld.c: Likewise.
924 * hurd/hurdsock.c: Likewise.
925 * hurd/lookup-retry.c: Likewise.
926 * malloc/malloc.c: Likewise.
927 * malloc/mtrace.c: Likewise.
928 * nscd/nscd_getgr_r.c: Likewise.
929 * nscd/nscd_getpw_r.c: Likewise.
930 * nscd/nscd_getserv_r.c: Likewise.
931 * posix/getopt_init.c: Likewise.
932 * posix/wordexp.c: Likewise.
933 * stdio-common/_itoa.c: Likewise.
934 * stdio-common/printf_fphex.c: Likewise.
935 * stdio-common/vfprintf.c: Likewise.
936 * string/_strerror.c: Likewise.
937 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
938 * sysdeps/i386/i686/hp-timing.h: Likewise.
939 * sysdeps/mach/_strerror.c: Likewise.
940 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
941 * sysdeps/mach/hurd/sethostid.c: Likewise.
942 * sysdeps/mach/hurd/xmknodat.c: Likewise.
943 * sysdeps/mach/xpg-strerror.c: Likewise.
944 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
945 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
946 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
947 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
948 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
949 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
950 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
951 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
952 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
953 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
954 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
955 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
956 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
957 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
958 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
959 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
960 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
961 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
962 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
963 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
964 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
965
966 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
967
968 * stdio-common/_itoa.h: Moved to ...
969 * sysdeps/generic/_itoa.h: Here.
970
971 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
972
973 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
974 instead of "_itoa.h" and "_itowa.h".
975 * stdio-common/vfprintf.: Likewise.
976
9772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
978
979 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
980 <bits/wordsize.h>.
981 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
982 (__signbit): Likwise.
983 (llrintf): Likwise.
984 (llrint): Likwise.
985
9862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
987
988 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
989 __WORDSIZE != 64.
990
9912012-03-20 Joseph Myers <joseph@codesourcery.com>
992
993 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
994 OVERFLOW_EXCEPTION_OK.
995 * math/libm-test.inc ("Philosophy"): Update comment about
996 exception testing.
997 (OVERFLOW_EXCEPTION): Define.
998 (OVERFLOW_EXCEPTION_OK): Likewise.
999 (INVALID_EXCEPTION_OK): Renumber.
1000 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1001 (IGNORE_ZERO_INF_SIGN): Likewise.
1002 (test_exceptions): Handle FE_OVERFLOW.
1003 (exp10_test): Expect overflow exceptions.
1004 (exp2_test): Likewise.
1005 (expm1_test): Likewise.
1006 (nextafter_test): Likewise.
1007 (pow_test): Likewise.
1008 (scalbn_test): Likewise.
1009 (scalbln_test): Likewise.
1010
10112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1012
1013 * sysdeps/x86_64/bits/atomic.h
1014 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
1015 64bit integer.
1016 (atomic_exchange_acq): Likewise.
1017 (__arch_exchange_and_add_body): Likewise.
1018 (__arch_add_body): Likewise.
1019 (atomic_add_negative): Likewise.
1020 (atomic_add_zero): Likewise.
1021
10222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1023
1024 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
1025 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
1026
10272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1028
1029 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
1030 Check __x86_64__ instead of __WORDSIZE.
1031
10322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1033
1034 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
1035
10362012-03-19 David S. Miller <davem@davemloft.net>
1037
1038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1039
1040 * sysdeps/sparc/fpu/fenv_private.h: New file.
1041 * sysdeps/sparc/fpu/math_private.h: Use it.
1042 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
1043 Remove.
1044 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
1045 (libc_feholdexcept_setroundl): Remove.
1046 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
1047 Remove.
1048 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
1049 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
1050
10512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1052
1053 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
1054 int64_t instead of long int.
1055 (INSERT_WORDS64): Likwise.
1056
10572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
1058
1059 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
1060 _Unwind_GetCFA return to _Unwind_Ptr first.
1061
10622012-03-19 Joseph Myers <joseph@codesourcery.com>
1063
1064 [BZ #13629]
1065 * math/s_clog.c: Include <float.h>.
1066 (__clog): Scale large or subnormal inputs.
1067 * math/s_clogf.c: Likewise.
1068 * math/s_clogl.c: Likewise.
1069 * math/s_clog10.c: Include <float.h>.
1070 (M_LOG10_2): Define.
1071 (__clog10): Scale large or subnormal inputs.
1072 * math/s_clog10f.c: Likewise.
1073 * math/s_clog10l.c: Likewise.
1074 * math/libm-test.inc (clog_test): Add more tests.
1075 (clog10_test): Likewise.
1076 * sysdeps/i386/fpu/libm-test-ulps: Update.
1077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1078
1079 [BZ #11451]
1080 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
1081 x and y.
1082 * math/libm-test.inc (atan2_test): Add another test.
1083
1084 * Makerules (common-objdir-compile): Remove.
1085 * sysdeps/unix/Makefile (config-generated): Do not add
1086 $(unix-generated) to variable.
1087 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
1088 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
1089 Remove rule.
1090 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
1091 Likewise.
1092 [generic bits/local_lim.h] (before-compile): Do not append to
1093 variable.
1094 [generic bits/local_lim.h] (common-generated): Likewise.
1095 [generic sys/param.h] (before-compile): Do not append to variable.
1096 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
1097 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
1098 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
1099 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
1100 include.
1101 [generic sys/param.h] (sys/param.h-includes): Remove variable.
1102 [generic sys/param.h] (sys/param.h-includes): Remove rule.
1103 [generic sys/param.h] ($(addprefix
1104 $(common-objpfx),$(sys/param.h-includes))): Likewise.
1105 [generic sys/param.h] (common-generated): Do not append to
1106 variable.
1107 [generic sys/param.h] (sysdep_headers): Likewise.
1108 [generic bits/errno.h] (before-compile): Do not append to
1109 variable.
1110 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
1111 rule.
1112 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
1113 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
1114 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
1115 [generic bits/errno.h] (common-generated): Do not append to
1116 variable.
1117 [generic bits/ioctls.h] (before-compile): Do not append to
1118 variable.
1119 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
1120 rule.
1121 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
1122 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
1123 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
1124 rule.
1125 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
1126 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
1127 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
1128 [generic bits/ioctls.h] (common-generated): Do not append to
1129 variable.
1130 [generic sys/syscall.h] (syscall.h): Remove variable.
1131 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
1132 rule.
1133 [generic sys/syscall.h] (before-compile): Do not append to
1134 variable.
1135 [generic sys/syscall.h] (common-generated): Likewise.
1136 * sysdeps/unix/errnos-tmpl.c: Remove file.
1137 * sysdeps/unix/errnos.awk: Likewise.
1138 * sysdeps/unix/ioctls-tmpl.c: Likewise.
1139 * sysdeps/unix/ioctls.awk: Likewise.
1140 * sysdeps/unix/mk-local_lim.c: Likewise.
1141 * sysdeps/unix/snarf-ioctls: Likewise.
1142
11432012-03-19 Richard Henderson <rth@twiddle.net>
1144
1145 * sysdeps/i386/fpu/fenv_private.h: New file.
1146 * sysdeps/i386/fpu/math_private.h: Use it.
1147 (math_opt_barrier, math_force_eval): Remove.
1148 (libc_feholdexcept_setround_53bit): Remove.
1149 (libc_feupdateenv_53bit): Remove.
1150 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1151 (math_opt_barrier, math_force_eval): Remove.
1152 (libc_feholdexcept): Remove.
1153 (libc_feholdexcept_setround): Remove.
1154 (libc_fetestexcept, libc_fesetenv): Remove.
1155 (libc_feupdateenv_test): Remove.
1156 (libc_feupdateenv, libc_feholdsetround): Remove.
1157 (libc_feresetround): Remove.
1158
1159 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
1160 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1161
1162 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
1163 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
1164 (libc_feupdateenv_testl): New.
1165 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
1166 (libc_feupdateenv_testf): New.
1167 (libc_feupdateenv): Use libc_feupdateenv_test.
1168 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
1169 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
1170
1171 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
1172 (libc_feholdsetroundf, libc_feholdsetroundl): New.
1173 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
1174 (libc_feresetround_noex): New.
1175 (libc_feresetround_noexf): New.
1176 (libc_feresetround_noexl): New.
1177 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
1178 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
1179 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
1180 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
1181 SET_RESTORE_ROUND.
1182 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
1183 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
1184 (__cos): Likewise.
1185 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
1186 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1187 SET_RESTORE_ROUND_NOEX.
1188 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
1189 SET_RESTORE_ROUND_NOEXF.
1190 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
1191 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
1192 (libc_feholdsetroundf): New.
1193 (libc_feresetround, libc_feresetroundf): New.
1194
1195 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
1196 (libc_feholdexcept_setround_53bit): Convert from macro to function.
1197 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
1198
1199 * sysdeps/generic/math_private.h: Include <fenv.h>.
1200 (default_libc_feholdexcept): New.
1201 (default_libc_feholdexcept_setround): New.
1202 (default_libc_fesetenv, default_libc_feupdateenv): New.
1203 (libc_feholdexcept): Only define if undefined.
1204 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
1205 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
1206 (libc_feholdexcept_setroundl): Likewise.
1207 (libc_feholdexcept_setround_53bit): Likewise.
1208 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
1209 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
1210 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
1211 (libc_feupdateenv_53bit): Likewise.
1212 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
1213 (libc_feholdexcept): Convert from macro to inline function.
1214 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
1215 (libc_fesetenv, libc_feupdateenv): Likewise.
1216
1217 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
1218 not previously defined.
1219 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
1220 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
1221 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
1222 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
1223 * sysdeps/ieee754/flt-32/math_private.h: New file.
1224 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
1225 math_private.h below SET_FLOAT_WORD.
1226 (__isnan, __isinf_ns, __finite): Remove.
1227 (__isnanf, __isinf_nsf, __finitef): Remove.
1228
12292012-03-18 Andreas Schwab <schwab@linux-m68k.org>
1230
1231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1232
12332012-03-17 David S. Miller <davem@davemloft.net>
1234
1235 [BZ #6471]
1236 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
1237 for 2.16.
1238
12392012-03-16 David S. Miller <davem@davemloft.net>
1240
1241 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
1242 warnings.
1243
1244 [BZ #6471]
1245 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
1246 properly.
1247 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
1248 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
1249 sysdep_routines when subdir is sysvipc.
1250 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
1251 __getshmlba helper.
1252
1253 * sysdeps/sparc/fpu/libm-test/ulps: Update.
1254
12552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1256
1257 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
1258 [__LP64__].
1259
12602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1261
1262 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
1263 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
1264 (__lround): Renamed to ...
1265 (__llround): This. Replace long int with long long int.
1266 Define lround functions as aliases of llround functions.
1267 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
1268
12692012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1270
1271 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
1272 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
1273 adresses to uintptr_t. Replace "long int" and "unsigned long
1274 int" with "greg_t" on va_arg.
1275
12762012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1277
1278 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
1279 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
1280
1281 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
1282 Move e_machine check before EI_CLASS check. Handle x32
1283 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
1284 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
1285 SKIP_EM_IA_64 and include
1286 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
1287
1288 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
1289 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
1290 (add_system_dir): New macro.
1291
1292 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
1293 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
1294
12952012-03-16 Joseph Myers <joseph@codesourcery.com>
1296
1297 [BZ #2551]
1298 [BZ #2552]
1299 [BZ #2553]
1300 [BZ #2554]
1301 [BZ #2562]
1302 [BZ #2563]
1303 [BZ #2565]
1304 [BZ #2566]
1305 [BZ #2576]
1306 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
1307 (y0): Likewise.
1308 * math/w_j0f.c (j0f): Likewise.
1309 (y0f): Likewise.
1310 * math/w_j0l.c (__j0l): Likewise.
1311 (__y0l): Likewise.
1312 * math/w_j1.c (j1): Likewise.
1313 (y1): Likewise.
1314 * math/w_j1f.c (j1f): Likewise.
1315 (y1f): Likewise.
1316 * math/w_j1l.c (__j1l): Likewise.
1317 (__y1l): Likewise.
1318 * math/w_jn.c (jn): Likewise.
1319 (yn): Likewise.
1320 * math/w_jnf.c (jnf): Likewise.
1321 (ynf): Likewise.
1322 * math/w_jnl.c (__jnl): Likewise.
1323 (__ynl): Likewise.
1324 * math/libm-test.inc (j0_test): Add more tests.
1325 (j1_test): Likewise.
1326 (jn_test): Likewise. Add trailing semicolon to existing test.
1327 (y0_test): Likewise.
1328 (y1_test): Likewise.
1329 * sysdeps/i386/fpu/libm-test-ulps: Update.
1330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1331
1332 [BZ #13851]
1333 [BZ #13854]
1334 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1335 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1336 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1337 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1338 (__tanl): Set errno for infinite argument.
1339 * sysdeps/i386/fpu/mptan.c: Remove.
1340 * sysdeps/i386/fpu/s_tan.S: Likewise.
1341 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1342 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1343 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1344 * math/libm-test.inc (tan_test): Add more tests and enable more
1345 tests for double and long double.
1346 * sysdeps/i386/fpu/libm-test-ulps: Update.
1347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1348
13492012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1350
1351 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1352 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1353
13542012-03-16 Roland McGrath <roland@hack.frob.com>
1355
1356 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1357 * configure.in: Use it for both main tree and add-ons.
1358 * configure: Regenerated.
1359
13602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1361
1362 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1363
13642012-03-16 Joseph Myers <joseph@codesourcery.com>
1365
1366 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1367 in comment.
1368
1369 [BZ #13851]
1370 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1371 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1372 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1373 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1374 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1375 infinite argument.
1376 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1377 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1378 != 0 for prec == 2.
1379 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1380 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1381 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1382 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1383 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1384 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1385 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1386 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1387 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1388 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1389 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1390 * math/libm-test.inc (cos_test): Add more tests and enable more
1391 tests for long double.
1392 (sin_test): Likewise.
1393 (sincos_test): Likewise.
1394 * sysdeps/i386/fpu/libm-test-ulps: Update.
1395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1396
13972012-03-16 David S. Miller <davem@davemloft.net>
1398
1399 * sysdeps/sparc/fpu/math_private.h: New file.
1400
14012012-03-15 David S. Miller <davem@davemloft.net>
1402
1403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1404 file.
1405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
1406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1407 file.
1408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1412 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1413 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1414 sysdep routines.
1415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1416
1417 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1418 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1419
1420 * sysdeps/sparc/sparc-ifunc.h: New file.
1421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1422 sparc-ifunc.h
1423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1425 Likewise.
1426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1427 Likewise.
1428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1432 Likewise.
1433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
1437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1438 Likewise.
1439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1440 Likewise.
1441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1445 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1446 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1447 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1448 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1451 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1452 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1453 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1454 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1455 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1456 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1457 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1458 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1459 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1460 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1461 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1462 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1463 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1464 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1465
14662012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1467
1468 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1469 scaling.
1470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1471
14722012-03-15 Andreas Jaeger <aj@suse.de>
1473
1474 [BZ #13852]
1475 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1476 ieee754/flt-32 implementation for sin, cos and sincos.
1477 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1478 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1479 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1480 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1481 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1482 ieee754/flt-32 implementation for tan.
1483
1484 * math/libm-test.inc (cos_test): Enable some large input tests for
1485 float as well
1486 (sin_test): Likewise.
1487 (sincos_test): Likewise.
1488 (tan_test): Add tests for large input.
1489
1490 * sysdeps/i386/fpu/libm-test-ulps: Update.
1491
14922012-03-15 Andreas Jaeger <aj@suse.de>
1493
1494 [BZ #13658]
1495 * math/libm-test.inc (cos_test): Add more test cases.
1496 (sin_test): Likewise.
1497 (sincos_test): Likewise.
1498
14992012-03-15 Andreas Jaeger <aj@suse.de>
1500
1501 [BZ #13837]
1502 * math/libm-test.inc (cos_test): Add a test case for large input
1503 value.
1504 (sin_test): Likewise.
1505 (sincos_test): Likewise.
1506
15072012-03-15 Andreas Jaeger <aj@suse.de>,
1508 Joseph Myers <joseph@codesourcery.com>
1509
1510 [BZ #13658]
1511 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
1512 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1513 * sysdeps/i386/fpu/branred.c: Likewise.
1514 * sysdeps/i386/fpu/dosincos.c: Likewise.
1515 * sysdeps/i386/fpu/mpa.c: Likewise.
1516 * sysdeps/i386/fpu/s_cos.S: Likewise.
1517 * sysdeps/i386/fpu/s_sin.S: Likewise.
1518 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1519 * sysdeps/i386/fpu/sincos32.c: Likewise.
1520
1521 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1522 Define.
1523 (libc_feupdateenv_53bit): Define.
1524 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1525 Define.
1526 (libc_feupdateenv_53bit): Define.
1527
1528 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1529 53 bit (without extend i386 double precision).
1530
1531 * math/libm-test.inc (sincos_test): Add tests for large input.
1532 (sin): Likewise.
1533 (cos): Likewise.
1534
1535 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1536
15372012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1538
1539 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1540
15412012-03-15 David S. Miller <davem@davemloft.net>
1542
1543 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1544 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1545 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1546 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1550 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1551 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1552 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1553 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
1558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1559 file.
1560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
1561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1562 file.
1563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
1564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1565 file.
1566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
1567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1568 file.
1569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1570 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1571 fmin/fmax sysdep routines.
1572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1573
15742012-03-14 David S. Miller <davem@davemloft.net>
1575
1576 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1577 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1578 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1579 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1580 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1581 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1582 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1583 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1584 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1585 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1586 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1587 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1588 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1589 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1590 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1591 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1592 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1593 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1594 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1595 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1596 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1597 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1598 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1599 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1600 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1601 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1602 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1603 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
1604 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1605 routines.
1606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1607 file.
1608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
1609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1610 file.
1611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
1612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1613 file.
1614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
1615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1616 file.
1617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
1618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1619 file.
1620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
1621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1622 file.
1623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1624 file.
1625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1626 file.
1627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1628 file.
1629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1630 New file.
1631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1632 file.
1633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1634 file.
1635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
1636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1637 file.
1638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
1639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1640 file.
1641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
1642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1643 file.
1644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
1645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1646 VIS3 routines.
1647
1648 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1649 New file.
1650
1651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1652
1653 * sysdeps/sparc/configure.in: New file.
1654 * sysdeps/sparc/configure: Generate.
1655 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1656 * configure: Regenerate.
1657 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1658 * config.make.in (have-as-vis3): New.
1659 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1660 available use -Av9d instead of -Av9a.
1661 * sysdeps/sparc/sparc64/Makefile: Likewise.
1662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
1663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1664 New file.
1665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1666 file.
1667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1668 New file.
1669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1670 file.
1671 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1672 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1673 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1674 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1675 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1676
1677 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1678 fzeros/fnegs to load 0x80000000 into a float register instead of
1679 using the stack.
1680 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1681
16822012-03-14 Joseph Myers <joseph@codesourcery.com>
1683
1684 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1685 bits/syscall.h.
1686 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1687 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1688 ($(inst_includedir)/bits/syscall.h): Remove rule.
1689 ($(objpfx)bits/syscall.d): Include instead of
1690 $(objpfx)syscall-list.d.
1691 (generated): Change syscall-list.h and syscall-list.d to
1692 bits/syscall.h and bits/syscall.d.
1693
16942012-03-14 Roland McGrath <roland@hack.frob.com>
1695
1696 [BZ #13846]
1697 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1698
16992012-03-14 Joseph Myers <joseph@codesourcery.com>
1700
1701 [BZ #13841]
1702 * math/s_csqrt.c: Include <float.h>.
1703 (__csqrt): Scale large or subnormal inputs.
1704 * math/s_csqrtf.c: Likewise.
1705 * math/s_csqrtl.c: Likewise.
1706 * math/libm-test.inc (csqrt_test): Add more tests.
1707 * sysdeps/i386/fpu/libm-test-ulps: Update.
1708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1709
1710 [BZ #13840]
1711 * math/libm-test.inc (hypot_test): Add more tests.
1712
17132012-03-13 David S. Miller <davem@davemloft.net>
1714
1715 [BZ #13840]
1716 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1717 double-precision for the calculation instead of scaling.
1718
17192012-03-13 Joseph Myers <joseph@codesourcery.com>
1720
1721 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1722 manipulate bits before adding and subtracting TWO52[sx].
1723 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1724 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1725 Likewise.
1726 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1727
17282012-03-13 David S. Miller <davem@davemloft.net>
1729
1730 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1731 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1732 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1733 rtld-global-offsets.h
1734 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1735
1736 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1737 large parameters.
1738
1739 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1740
1741 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1742 'err' in the ifdef scope in which it is actually used.
1743
1744 * nss/nss_db/db-init.c: Include string.h
1745
17462012-03-12 David S. Miller <davem@davemloft.net>
1747
1748 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1749 masking out of the most significant byte of random value used.
1750 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1751 Fix coding style in previous change.
1752
1753 * sysdeps/unix/sysv/linux/kernel-features.h
1754 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1755 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1756 expression.
1757 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1758 later.
1759
17602012-03-11 David S. Miller <davem@davemloft.net>
1761
1762 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1763 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1764 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1765 for 'resultvar' otherwise things get truncated on 64-bit.
1766
1767 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1768 Fix masking out of the most significant byte of random value used.
1769
1770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1771
17722012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1773
1774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1775
17762012-03-09 David S. Miller <davem@davemloft.net>
1777
1778 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1779 variables with appropriate CPP guards.
1780 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1781 frame pointer, not the stack pointer. Correct layout comments. Fix test
1782 on resulting framesize and the management of the outregs buffer for pltexit.
1783 Preserve floating point return values across _dl_call_pltexit call.
1784 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1785 framesize and the management of the outregs buffer for pltexit.
1786 Preserve floating point return values across _dl_call_pltexit
1787 call.
1788 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1789 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1790 (print_exit): Fix format string for return register value.
1791
17922012-03-10 Joseph Myers <joseph@codesourcery.com>
1793
1794 * sunrpc/Makefile (others): Add rpcgen.
1795 ($(objpfx)rpcgen): Remove special build rule and dependency on
1796 libc.
1797 * sunrpc/rpcgen.c: New file.
1798
17992012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1800
1801 [BZ #13673]
1802 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1803 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1804 * sysdeps/i386/crti.S: Likewise.
1805 * sysdeps/i386/crtn.S: Likewise.
1806 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1807 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1808 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1809 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1810 * sysdeps/sh/crti.S: Likewise.
1811 * sysdeps/sh/crtn.S: Likewise.
1812 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1813
1814 [BZ #13673]
1815 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1816 with URL.
1817 * locale/programs/locfile-kw.gperf: Likewise.
1818 * locale/programs/charmap-kw.h: Regenerated.
1819 * locale/programs/locfile-kw.h: Likewise.
1820
1821 [BZ #13673]
1822 * intl/plural.y: Replace FSF snail mail address with URL.
1823 * intl/plural.c: Regenerated.
1824
18252012-03-09 Richard Henderson <rth@twiddle.net>
1826
1827 * include/math_private.h: Remove file.
1828 * math/math_private.h: Move file ...
1829 * sysdeps/generic/math_private.h: ... here.
1830
1831 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1832 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1833 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1834
1835 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
1836 and <math_private.h>.
1837 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1838 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1839 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1840 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1841 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1842 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1843 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1844 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1845 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1846 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1847 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1848 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1849 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1850 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1851 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1852 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1853 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1854 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1855 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1856 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1857 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1858 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1859 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1860 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1861 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1862 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1863 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1864 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1865 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1866 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1867 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1868 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1869 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1870 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1871 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1872 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1873 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1874 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1875 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1876 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1877 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1878 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1879 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1880 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1881 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1882 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1883 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1884 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1885 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1886 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1887 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1888 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1889 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1890 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1891 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1892 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1893 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1894 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1895 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1896 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1897 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1898 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1899 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1900 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1901 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1902 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1903 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1904 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1905 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1906 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1907 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1908 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1909 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1910 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1911 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1912 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1913 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1914 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1915 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1916 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1917 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1918 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1919 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1920 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1921 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1922 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1923 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1924 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1925 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1926 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1927 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1928 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1929 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1930 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1931 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1932 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1933 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1934 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1935 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1936 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1937 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1938 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1939 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1940 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1941 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1942 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1943 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1944 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1945 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1946 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1947 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1948 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1949 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1950 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1951 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1952 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1953 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1954 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1955 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1956 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1957 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1958 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1959 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1960 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1961 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1962 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1963 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1964 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1965 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1966 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1967 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1968 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1969 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1970 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1971 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1972 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1973 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1974 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1975 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1976 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1977 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1978 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1979 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1980 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1981 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1982 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1983 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1984 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1985 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1986 * sysdeps/ieee754/k_standard.c: Likewise.
1987 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1988 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1989 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1990 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1991 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1992 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1993 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1994 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1995 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1996 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1997 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1998 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1999 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2000 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2001 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2002 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2003 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2004 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2005 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2006 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2007 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2008 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2009 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2010 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2011 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2012 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2013 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2014 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2015 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2016 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2017 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2018 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2019 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2020 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2021 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2022 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2023 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
2024 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
2025 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2026 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2027 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2028 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2029 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2030 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2031 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2032 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2033 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2034 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2035 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2036 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
2037 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
2038 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2039 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2040 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2041 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2042 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2043 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
2044 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2045 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2046 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2047 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2048 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2049 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2050 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
2051 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2052 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2053 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
2054 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
2055 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
2056 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
2057 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
2058 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2059 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
2060 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
2061 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
2062 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
2063 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
2064 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
2065 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2066 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
2067 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
2068 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
2069 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
2070 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
2071 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
2072 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2073 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
2074 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2075 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2076 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
2077 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
2078 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
2079 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2080 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
2081 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2082 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
2083 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
2084 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2085 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2086 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
2087 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
2088 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2089 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
2090 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
2091 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
2092 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
2093 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2094 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2095 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
2096 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
2097 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
2098 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
2099 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
2100 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
2101 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
2102 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
2103 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
2104 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
2105 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
2106 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2107 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2108 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
2109 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
2110 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
2111 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
2112 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
2113 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
2114 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
2115 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
2116 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
2117 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
2118 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
2119 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
2120 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
2121 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
2122 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
2123 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
2124 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
2125 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
2126 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
2127 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
2128 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
2129 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
2130 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
2131 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
2132 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
2133 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
2134 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
2135 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
2136 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
2137 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
2138 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
2139 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
2140 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
2141 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
2142 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
2143 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
2144 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
2145 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
2146 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
2147 * sysdeps/ieee754/s_lib_version.c: Likewise.
2148 * sysdeps/ieee754/s_matherr.c: Likewise.
2149 * sysdeps/ieee754/s_signgam.c: Likewise.
2150 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2151 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2152 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
2153 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
2154 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
2155 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
2156 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
2157 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
2158 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
2159 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
2160 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
2161 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
2162 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
2163 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
2164 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
2165 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
2166 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
2167 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
2168 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
2169 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
2170 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
2171
21722012-03-09 Joseph Myers <joseph@codesourcery.com>
2173
2174 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
2175 * sunrpc/rpc_main.c: Likewise.
2176 * sunrpc/rpc_svcout.c: Likewise.
2177
21782012-03-09 David S. Miller <davem@davemloft.net>
2179
2180 * include/math_private.h: New file.
2181
21822012-03-09 Joseph Myers <joseph@codesourcery.com>
2183
2184 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
2185 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
2186 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
2187 from <bits/socket_type.h>.
2188 (enum __socket_type): Don't define here.
2189 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
2190 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2191 bits/socket_type.h.
2192
2193 [BZ #13566]
2194 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
2195 checking __USE_GNU.
2196
2197 * Makerules ($(inst_includedir)/%.h): New rule.
2198 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
2199 (install-others): Remove variable setting.
2200 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
2201
22022012-03-08 Richard Henderson <rth@twiddle.net>
2203
2204 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
2205 from macro to inline function; merge with the
2206 !__LIBC_INTERNAL_MATH_INLINES version.
2207 (__ieee754_sqrtf): Likewise.
2208
2209 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
2210 to inline function.
2211 (__rintf, __floor, __floorf): Likewise.
2212
2213 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
2214 macro to inline function.
2215 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
2216
2217 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
2218 not <math/math_private.h>.
2219
22202012-03-08 David S. Miller <davem@davemloft.net>
2221
2222 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
2223 copyright year.
2224 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
2225
22262012-03-08 Thomas Schwinge <thomas@codesourcery.com>
2227
2228 * resolv/gai_misc.c (handle_requests): Fix struct timespec
2229 normalization.
2230 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
2231 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2232
22332012-03-08 Ulrich Drepper <drepper@gmail.com>
2234
2235 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
2236 be defined individually, they must be defined as a block. Define
2237 S for printing a string instead of hidint the different by using a
2238 macro for adding the 'l'.
2239 * stdio-common/tst-fphex-wide.c: Adjust.
2240
22412012-03-07 Marek Polacek <polacek@redhat.com>
2242
2243 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
2244
22452012-03-08 Marek Polacek <polacek@redhat.com>
2246
2247 [BZ #13806]
2248 * stdio-common/Makefile (tests): Add tst-fphex-wide.
2249 * stdio-common/tst-fphex.c: Define a few macros to make the
2250 test reusable. Use them.
2251 * stdio-common/tst-fphex-wide.c: New file.
2252
22532012-03-08 Joseph Myers <joseph@codesourcery.com>
2254
2255 [BZ #6911]
2256 * manual/macros.texi (gnusystems): New macro.
2257 (nongnusystems): Likewise.
2258 (gnulinuxhurdsystems): Likewise.
2259 (gnuhurdsystems): Likewise..
2260 (gnulinuxsystems): Likewise.
2261 * manual/charset.texi: Use new macros or @theglibc{} to refer to
2262 variants of the GNU system, not "GNU system".
2263 * manual/conf.texi: Likewise.
2264 * manual/errno.texi: Likewise. Update example of errno macro
2265 expansion.
2266 * manual/filesys.texi: Likewise.
2267 (getumask): Document as specific to GNU/Hurd.
2268 * manual/install.texi: Likewise. Reword some references to
2269 GNU/Linux.
2270 * manual/intro.texi: Likewise.
2271 * manual/io.texi: Likewise.
2272 (File Name Portability): Detail which constraints are inapplicable
2273 to all GNU systems and which are only inapplicable to GNU/Hurd.
2274 * manual/job.texi: Likewise.
2275 * manual/llio.texi: Likewise.
2276 (O_NOCTTY): Document as present on GNU/Linux.
2277 * manual/maint.texi: Likewise.
2278 * manual/memory.texi: Likewise.
2279 * manual/pattern.texi: Likewise.
2280 * manual/pipe.texi: Likewise.
2281 * manual/process.texi: Likewise.
2282 * manual/resource.texi: Likewise.
2283 (RUSAGE_CHILDREN): Remove statement about specifying a particular
2284 child on GNU/Hurd.
2285 * manual/setjmp.texi: Likewise.
2286 * manual/signal.texi: Likewise.
2287 * manual/startup.texi: Likewise.
2288 * manual/stdio.texi: Likewise.
2289 * manual/terminal.texi: Likewise.
2290 (ONLCR): Document as POSIX.
2291 (OXTABS): Document availability on GNU/Linux as XTABS.
2292 (ONOEOT): Document availability separately from other bits.
2293 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
2294 * manual/time.texi: Likewise.
2295 * manual/users.texi: Likewise.
2296 * INSTALL: Regenerated.
2297 * sysdeps/gnu/errlist.c: Regenerated.
2298
2299 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
2300 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
2301 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
2302 puts.
2303 * configure: Regenerated.
2304
23052012-03-07 Joseph Myers <joseph@codesourcery.com>
2306
2307 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
2308 default includes instead of AC_HEADER_CHECK.
2309 * sysdeps/i386/configure: Regenerated.
2310
2311 [BZ #10716]
2312 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
2313 * math/s_cacoshf.c (__cacoshf): Likewise.
2314 * math/s_cacoshl.c (__cacoshl): Likewise.
2315 * math/s_casinh.c (__casinh): Set signs of result from argument.
2316 * math/s_casinhf.c (__casinhf): Likewise.
2317 * math/s_casinhl.c (__casinhl): Likewise.
2318 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2319 (casinh_test): Add more tests.
2320 * sysdeps/i386/fpu/libm-test-ulps: Update.
2321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2322
23232012-03-07 Ulrich Drepper <drepper@gmail.com>
2324
2325 * po/zh_TW.po: Update from translation team.
2326
2327 * login/Makefile (distribute): Remove variable.
2328 * catgets/Makefile: Likewise.
2329 * mach/Makefile: Likewise.
2330 * malloc/Makefile: Likewise.
2331 * misc/Makefile: Likewise.
2332 * iconv/Makefile: Likewise.
2333 * nscd/Makefile: Likewise.
2334 * hurd/Makefile: Likewise.
2335 * manual/Makefile: Likewise.
2336 * locale/Makefile: Likewise.
2337 * intl/Makefile: Likewise.
2338 * conform/Makefile: Likewise.
2339 * nss/Makefile: Likewise.
2340 * time/Makefile: Likewise.
2341 * soft-fp/Makefile: Likewise.
2342 * dirent/Makefile: Likewise.
2343 * gmon/Makefile: Likewise.
2344 * po/Makefile: Likewise.
2345 * rt/Makefile: Likewise.
2346 * socket/Makefile: Likewise.
2347 * math/Makefile: Likewise.
2348 * signal/Makefile: Likewise.
2349 * debug/Makefile: Likewise.
2350 * elf/Makefile: Likewise.
2351 * timezone/Makefile: Likewise.
2352 * stdlib/Makefile: Likewise.
2353 * iconvdata/Makefile: Likewise.
2354 * sunrpc/Makefile: Likewise.
2355 * io/Makefile: Likewise.
2356 * argp/Makefile: Likewise.
2357 * inet/Makefile: Likewise.
2358 * hesiod/Makefile: Likewise.
2359 * grp/Makefile: Likewise.
2360 * csu/Makefile: Likewise.
2361 * wctype/Makefile: Likewise.
2362 * crypt/Makefile: Likewise.
2363 * libio/Makefile: Likewise.
2364 * string/Makefile: Likewise.
2365 * nis/Makefile: Likewise.
2366 * resolv/Makefile: Likewise.
2367 * stdio-common/Makefile: Likewise.
2368 * wcsmbs/Makefile: Likewise.
2369 * dlfcn/Makefile: Likewise.
2370 * posix/Makefile: Likewise.
2371
2372 * timezone/Makefile: Don't install timezone files, just the programs
2373 and scripts.
2374
23752012-03-06 Ulrich Drepper <drepper@gmail.com>
2376
2377 * nss/databases.def: Add missing gshadow entry.
2378
2379 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2380
23812012-03-06 Marek Polacek <polacek@redhat.com>
2382
2383 [BZ #13726]
2384 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2385 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2386 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2387 * stdio-common/tst-long-dbl-fphex.c: New file.
2388
23892012-03-06 David S. Miller <davem@davemloft.net>
2390
2391 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2392 (set_obp_int): New function.
2393 (get_obp_int): New function.
2394 (__get_clockfreq_via_dev_openprom): Likewise.
2395 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2396 Avoid unused variable warnings on 'val' and use builtin_expect.
2397 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2398 __builtin_expect.
2399 (INLINE_CLONE_SYSCALL): Likewise.
2400
24012012-03-05 David S. Miller <davem@davemloft.net>
2402
2403 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2404
24052012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2406
2407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2408
2409 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2410 only for |x| >= 40.
2411 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2412
24132012-03-05 H.J. Lu <hongjiu.lu@intel.com>
2414
2415 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2416 Replace gettimeofday with __vdso_gettimeofday.
2417
2418 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2419 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2420 __vdso_clock_gettime and __vdso_getcpu.
2421
2422 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2423 time with __vdso_time.
2424
24252012-03-05 Joseph Myers <joseph@codesourcery.com>
2426
2427 * manual/lang.texi (size_t): Note types to which size_t may be
2428 equivalent with the GNU C Library, but do not describe when
2429 differences between them are significant.
2430
24312012-03-05 Andreas Jaeger <aj@suse.de>
2432
2433 * sysdeps/i386/fpu/libm-test-ulps: Update.
2434
24352012-03-05 Joseph Myers <joseph@codesourcery.com>
2436
2437 [BZ #3976]
2438 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2439 (__ieee754_pow): Save and restore rounding mode and use
2440 round-to-nearest for main computations.
2441 * math/libm-test.inc (pow_test_tonearest): New function.
2442 (pow_test_towardzero): Likewise.
2443 (pow_test_downward): Likewise.
2444 (pow_test_upward): Likewise.
2445 (main): Call the new functions.
2446 * sysdeps/i386/fpu/libm-test-ulps: Update.
2447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2448
2449 [BZ #3976]
2450 * math/libm-test.inc (cosh_test_tonearest): New function.
2451 (cosh_test_towardzero): Likewise.
2452 (cosh_test_downward): Likewise.
2453 (cosh_test_upward): Likewise.
2454 (sinh_test_tonearest): Likewise.
2455 (sinh_test_towardzero): Likewise.
2456 (sinh_test_downward): Likewise.
2457 (sinh_test_upward): Likewise.
2458 (main): Call the new functions.
2459 * sysdeps/i386/fpu/libm-test-ulps: Update.
2460 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2461
24622012-03-05 Tom de Vries <tom@codesourcery.com>
2463
2464 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2465 default stack guard is set in last bytes.
2466 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2467
24682012-03-05 Kees Cook <keescook@chromium.org>
2469
2470 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
2471
2472 [BZ #13656]
2473 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2474 possibly allocate from heap instead of stack.
2475 * stdio-common/bug-vfprintf-nargs.c: New file.
2476 * stdio-common/Makefile (tests): Add nargs overflow test.
2477
24782012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2479
2480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2481
24822012-03-03 Marek Polacek <polacek@redhat.com>
2483
2484 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2485 * math/math_private.h: Likewise.
2486 * stdlib/tst-strtod.c: Likewise.
2487 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2488 * sysdeps/x86_64/bits/atomic.h: Likewise.
2489
24902012-03-02 David S. Miller <davem@davemloft.net>
2491
2492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2496 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2497 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2498 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2499 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2500
25012012-03-02 Roland McGrath <roland@hack.frob.com>
2502
2503 [BZ #13792]
2504 * manual/examples/README: New file, says the example source files
2505 can be used under GPL>=2.
2506 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2507 line containing just "*/".
2508 * manual/examples/add.c: Add copyright header (GPL>=2).
2509 * manual/examples/argp-ex1.c: Likewise.
2510 * manual/examples/argp-ex2.c: Likewise.
2511 * manual/examples/argp-ex3.c: Likewise.
2512 * manual/examples/argp-ex4.c: Likewise.
2513 * manual/examples/atexit.c: Likewise.
2514 * manual/examples/db.c: Likewise.
2515 * manual/examples/dir.c: Likewise.
2516 * manual/examples/dir2.c: Likewise.
2517 * manual/examples/execinfo.c: Likewise.
2518 * manual/examples/filecli.c: Likewise.
2519 * manual/examples/filesrv.c: Likewise.
2520 * manual/examples/fmtmsgexpl.c: Likewise.
2521 * manual/examples/genpass.c: Likewise.
2522 * manual/examples/inetcli.c: Likewise.
2523 * manual/examples/inetsrv.c: Likewise.
2524 * manual/examples/isockad.c: Likewise.
2525 * manual/examples/longopt.c: Likewise.
2526 * manual/examples/memopen.c: Likewise.
2527 * manual/examples/memstrm.c: Likewise.
2528 * manual/examples/mkfsock.c: Likewise.
2529 * manual/examples/mkisock.c: Likewise.
2530 * manual/examples/mygetpass.c: Likewise.
2531 * manual/examples/pipe.c: Likewise.
2532 * manual/examples/popen.c: Likewise.
2533 * manual/examples/rprintf.c: Likewise.
2534 * manual/examples/search.c: Likewise.
2535 * manual/examples/select.c: Likewise.
2536 * manual/examples/setjmp.c: Likewise.
2537 * manual/examples/sigh1.c: Likewise.
2538 * manual/examples/sigusr.c: Likewise.
2539 * manual/examples/stpcpy.c: Likewise.
2540 * manual/examples/strdupa.c: Likewise.
2541 * manual/examples/strftim.c: Likewise.
2542 * manual/examples/strncat.c: Likewise.
2543 * manual/examples/subopt.c: Likewise.
2544 * manual/examples/swapcontext.c: Likewise.
2545 * manual/examples/termios.c: Likewise.
2546 * manual/examples/testopt.c: Likewise.
2547 * manual/examples/testpass.c: Likewise.
2548 * manual/examples/timeval_subtract.c: Likewise.
2549
2550 [BZ #13792]
2551 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2552 function to ...
2553 * manual/timeval_subtract.c.texi: ... here, new file.
2554
25552012-03-02 David S. Miller <davem@davemloft.net>
2556
2557 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2558
25592012-03-02 Joseph Myers <joseph@codesourcery.com>
2560
2561 [BZ #3976]
2562 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2563 (__sin): Save and restore rounding mode and use round-to-nearest
2564 for all computations.
2565 (__cos): Save and restore rounding mode and use round-to-nearest
2566 for all computations.
2567 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2568 <fenv.h>.
2569 (tan): Save and restore rounding mode and use round-to-nearest for
2570 all computations.
2571 * math/libm-test.inc (cos_test_tonearest): New function.
2572 (cos_test_towardzero): Likewise.
2573 (cos_test_downward): Likewise.
2574 (cos_test_upward): Likewise.
2575 (sin_test_tonearest): Likewise.
2576 (sin_test_towardzero): Likewise.
2577 (sin_test_downward): Likewise.
2578 (sin_test_upward): Likewise.
2579 (tan_test_tonearest): Likewise.
2580 (tan_test_towardzero): Likewise.
2581 (tan_test_downward): Likewise.
2582 (tan_test_upward): Likewise.
2583 (main): Call the new functions.
2584 * sysdeps/i386/fpu/libm-test-ulps: Update.
2585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2586
2587 [BZ #10135]
2588 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2589 small n, then large n, before computing and testing k+n.
2590 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2591 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2592 Likewise.
2593 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2594 Likewise.
2595 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2596 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2597 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2598 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2599 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2600 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2601 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2602 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2603 * math/libm-test.inc (scalbn_test): Add more tests.
2604 (scalbln_test): Likewise.
2605
2606 * manual/filesys.texi (mode_t): Describe constraints on size and
2607 signedness, not exact equivalence to a particular type.
2608 (ino_t): Likewise.
2609 (ino64_t): Likewise.
2610 (dev_t): Likewise.
2611 (nlink_t): Likewise.
2612 (blkcnt_t): Likewise.
2613 (blkcnt64_t): Likewise.
2614 * manual/llio.texi (off_t): Likewise.
2615
2616 [BZ #3976]
2617 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2618 (__ieee754_exp): Save and restore rounding mode and use
2619 round-to-nearest for all computations.
2620 * math/libm-test.inc (exp_test_tonearest): New function.
2621 (exp_test_towardzero): Likewise.
2622 (exp_test_downward): Likewise.
2623 (exp_test_upward): Likewise.
2624 (main): Call the new functions.
2625 * sysdeps/i386/fpu/libm-test-ulps: Update.
2626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2627
26282012-03-01 Chris Demetriou <cgd@google.com>
2629
2630 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2631 have predictable order.
2632
26332012-03-01 David S. Miller <davem@davemloft.net>
2634
2635 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2636
2637 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2638 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2639 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2640 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2641
2642 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2643 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2644 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2646 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2647 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2648 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2649 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2650 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2651
2652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2653
2654 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2655 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2656 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2657
2658 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2659 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2660 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2661 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2662 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2663 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2664 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2665 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2666 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2667 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2668 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2669 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2670 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2671 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2672 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2673 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2674 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2675 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2676 * sysdeps/sparc/elf/configure: Regenerated.
2677
26782012-03-01 Joseph Myers <joseph@codesourcery.com>
2679
2680 * configure.in (AS, LD): Require binutils 2.20 or later.
2681 * configure: Regenerated.
2682 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2683 as required minimum version.
2684 * INSTALL: Regenerated.
2685
2686 [BZ #2541]
2687 [BZ #4108]
2688 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2689 before squaring exponent.
2690 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2691 bottom long double and 27 bits of top long double before squaring
2692 exponent.
2693 * math/libm-test.inc (erfc_test): Add more tests.
2694 * sysdeps/i386/fpu/libm-test-ulps: Update.
2695 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2697
26982012-03-01 Kai Tietz <ktietz@redhat.com>
2699
2700 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2701 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2702 containing bit-fields.
2703 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2704 * soft-fp/single.h (_FP_UNION_S): Likewise.
2705 * soft-fp/double.h (_FP_UNION_D): Likewise.
2706
27072012-02-29 Joseph Myers <joseph@codesourcery.com>
2708
2709 [BZ #13786]
2710 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2711 not include ../strcmp.S.
2712 [USE_AS_STRNCASECMP_L]: Likewise.
2713 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2714 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2715 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2716 (__strncasecmp_l_ia32): Define as alias to
2717 __strncasecmp_l_nonascii.
2718
2719 [BZ #5794]
2720 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2721 * sysdeps/i386/fpu/libm-test-ulps: Update.
2722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2723
2724 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2726
27272012-02-29 Jeff Law <law@redhat.com>
2728
2729 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2730 out of bounds read.
2731
27322012-02-29 Marek Polacek <polacek@redhat.com>
2733
2734 [BZ #13706]
2735 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2736 * elf/Makefile: Add rules to run tst-unused-dep.out.
2737
27382012-02-28 David S. Miller <davem@davemloft.net>
2739
2740 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2741 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2742 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2743 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2744 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2745 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2746
27472012-02-29 Joseph Myers <joseph@codesourcery.com>
2748
2749 * math/libm-test.inc (llround_test): Move one test from
2750 lround_test. Use TEST_f_L in moved test.
2751 (lround_test): Move misplaced test to llround_test. Add testcase
2752 from bug 2561.
2753
27542012-02-28 Ulrich Drepper <drepper@gmail.com>
2755
2756 * sysdeps/x86_64/fpu/e_expf.S: New file.
2757 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2758
27592012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2760
2761 [BZ #13637]
2762 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2763 of remain_len that may cause incomplete multi-byte character and
2764 false match.
2765 * posix/bug-regex33.c: New file.
2766 * posix/Makefile (tests): Add bug-regex33.
2767
27682012-02-28 Joseph Myers <joseph@codesourcery.com>
2769
2770 * manual/macros.texi: New file.
2771 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2772 * manual/libc.texinfo: Include macros.texi.
2773 * manual/creatute.texi: Likewise.
2774 * manual/install.texi: Likewise.
2775 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2776 @glibcadj{} in references to the GNU C Library.
2777 * manual/charset.texi: Likewise.
2778 * manual/conf.texi: Likewise.
2779 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2780 when not using those macros.
2781 * manual/creature.texi: Likewise.
2782 * manual/crypt.texi: Likewise.
2783 * manual/errno.texi: Likewise.
2784 * manual/filesys.texi: Likewise.
2785 * manual/header.texi: Likewise.
2786 * manual/install.texi: Likewise.
2787 * manual/intro.texi: Likewise.
2788 * manual/io.texi: Likewise.
2789 * manual/job.texi: Likewise.
2790 * manual/lang.texi: Likewise.
2791 * manual/libc.texiinfo: Likewise.
2792 * manual/llio.texi: Likewise.
2793 * manual/locale.texi: Likewise.
2794 * manual/maint.texi: Likewise.
2795 * manual/math.texi: Likewise.
2796 * manual/memory.texi: Likewise.
2797 * manual/message.texi: Likewise.
2798 * manual/nss.texi: Likewise.
2799 * manual/pattern.texi: Likewise.
2800 * manual/process.texi: Likewise.
2801 * manual/resource.texi: Likewise.
2802 * manual/search.texi: Likewise.
2803 * manual/setjmp.texi: Likewise.
2804 * manual/signal.texi: Likewise.
2805 * manual/socket.texi: Likewise.
2806 * manual/startup.texi: Likewise.
2807 * manual/stdio.texi: Likewise.
2808 * manual/string.texi: Likewise.
2809 * manual/sysinfo.texi: Likewise.
2810 * manual/syslog.texi: Likewise.
2811 * manual/terminal.texi: Likewise.
2812 * manual/time.texi: Likewise.
2813 * manual/users.texi: Likewise.
2814 * INSTALL: Regenerated.
2815 * NOTES: Regenerated.
2816 * sysdeps/gnu/errlist.c: Regenerated.
2817
28182012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2819
2820 * include/dirent.h: Include <dirstream.h> before
2821 <dirent/dirent.h>.
2822
28232012-02-28 David S. Miller <davem@davemloft.net>
2824
2825 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2826 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2827 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2828 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2829
28302012-02-27 David S. Miller <davem@davemloft.net>
2831
2832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2834 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2835 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2836
2837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2838 frame pointer instead of stack pointer relative arg slot.
2839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2840 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2841 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2842
28432012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2844
2845 [BZ #3992]
2846 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2847
28482012-02-27 David S. Miller <davem@davemloft.net>
2849
2850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2854 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2855 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2856 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2857 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2858
28592012-02-27 Joseph Myers <joseph@codesourcery.com>
2860
2861 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2862 later. Allow versions 5-9.
2863 * configure: Regenerated.
2864 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2865 required minimum version and 4.6 as recommended version. Do not
2866 mention bugs in GCC 2.7 and 2.8.
2867 * INSTALL: Regenerated.
2868
28692012-02-27 David S. Miller <davem@davemloft.net>
2870
2871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2875 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2876 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2877 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2878 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2879
2880 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2881 manipulate bits before adding and subtracting TWO112[sx].
2882 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2883
28842012-02-27 Roland McGrath <roland@hack.frob.com>
2885
2886 [BZ #13775]
2887 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2888 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2889 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2890 being in POSIX, because they are in 1003.1-2008.
2891
2892 * rt/tst-aio.c: Include <fcntl.h>.
2893 * rt/tst-aio7.c: Likewise.
2894 * rt/tst-aio64.c: Likewise.
2895
2896 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2897
28982012-02-27 Joseph Myers <joseph@codesourcery.com>
2899
2900 * manual/install.texi (--with-headers): Describe headers as
2901 interface headers, not private headers.
2902 (Specific advice for GNU/Linux systems): Describe use of headers
2903 from "make headers_install", not private headers from older
2904 kernels.
2905 * INSTALL: Regenerated.
2906 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2907 Change to 2.6.19.
2908 * sysdeps/unix/sysv/linux/configure: Regenerated.
2909
2910 * manual/llio.texi (fclean): Remove documentation.
2911
2912 * manual/Makefile (libc-texi-generated): New variable. Include
2913 version.texi.
2914 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2915 $(libc-texi-generated), not duplicated list of files.
2916 (version.texi, stamp-version): New rules.
2917 (realclean): Remove $(libc-texi-generated), not individual files
2918 from that list. Do not remove dir-add.texinfo.
2919 * manual/libc.texinfo: Comment out uses of edition numbers and
2920 references to printed manual. Remove last-updated dates.
2921 (EDITION): Comment out.
2922 (ISBN): Likewise.
2923 (VERSION, UPDATED): Remove.
2924 (version.texi): Include.
2925
29262012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2927
2928 * sysdeps/posix/spawni.c: Include <signal.h>.
2929 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2930 * sysdeps/pthread/aio_fsync.c: Likewise.
2931
29322012-02-26 Ulrich Drepper <drepper@gmail.com>
2933
2934 * conform/Makefile (tests): Run only when not cross-compiling and
2935 when fast-check is not defined.
2936
2937 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2938 * conform/data/limits.h-data: Fixes for POSIX2008.
2939 * conform/run-conformtest.sh: Run all tests.
2940 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2941 headers.
2942 * include/bits/dlfcn.h: Likewise.
2943 * include/langinfo.h: Likewise.
2944 * include/monetary.h: Likewise.
2945 * include/sys/poll.h: Likewise.
2946
2947 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2948 for __USE_GNU.
2949 * posix/spawn.h: Define __need_sigset_t.
2950 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2951 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2952 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2953 to get sigevent_t only.
2954 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2955 only for __USE_GNU.
2956 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2957 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2958 process_vm_writev only for __USE_GNU.
2959 * termios/termios.h: Declare tcgetsid also for POSIX2008.
2960
2961 * conform/Makefile: For now ignore errors from run-conformtest.
2962 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2963 POSIX to avoid namespace pollution. Don't prepend headers.
2964 * conform/data/aio.h-data: Fixes for POSIX testing.
2965 * conform/data/fcntl.h-data: Likewise.
2966 * conform/data/glob.h-data: Likewise.
2967 * conform/data/grp.h-data: Likewise.
2968 * conform/data/pthread.h-data: Likewise.
2969 * conform/data/pwd.h-data: Likewise.
2970 * conform/data/signal.h-data: Likewise.
2971 * conform/data/spawn.h-data: Likewise.
2972 * conform/data/stdio.h-data: Likewise.
2973 * conform/data/stdlib.h-data: Likewise.
2974 * conform/data/stropts.h-data: Likewise.
2975 * conform/data/sys/mman.h-data: Likewise.
2976 * conform/data/sys/stat.h-data: Likewise.
2977 * conform/data/sys/types.h-data: Likewise.
2978 * conform/data/sys/wait.h-data: Likewise.
2979 * conform/data/time.h-data: Likewise.
2980 * conform/data/unistd.h-data: Likewise.
2981 * conform/data/utime.h-data: Likewise.
2982
2983 * io/sys/stat.h: fchmod was always in POSIX.
2984 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2985 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2986 * rt/aio.h: Define __need_timespec before including <time.h>.
2987 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2988 struct. Add forward declaration of pthread_attr_t and use it in
2989 sigevent.
2990 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2991 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2992 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2993 always remove CLK_TCK definition.
2994
29952012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2996
2997 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2998
29992012-02-25 Ulrich Drepper <drepper@gmail.com>
3000
3001 * conform/run-conformtest.sh: New file.
3002 * conform/Makefile: Run run-conformtest for tests.
3003 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
3004 support.
3005
3006 * conform/data/uchar.h-data: New file.
3007 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
3008 * conform/data/arpa/inet.h-data: Likewise.
3009 * conform/data/assert.h-data: Likewise.
3010 * conform/data/complex.h-data: Likewise.
3011 * conform/data/cpio.h-data: Likewise.
3012 * conform/data/ctype.h-data: Likewise.
3013 * conform/data/dirent.h-data: Likewise.
3014 * conform/data/dlfcn.h-data: Likewise.
3015 * conform/data/errno.h-data: Likewise.
3016 * conform/data/fcntl.h-data: Likewise.
3017 * conform/data/float.h-data: Likewise.
3018 * conform/data/fmtmsg.h-data: Likewise.
3019 * conform/data/fnmatch.h-data: Likewise.
3020 * conform/data/ftw.h-data: Likewise.
3021 * conform/data/glob.h-data: Likewise.
3022 * conform/data/grp.h-data: Likewise.
3023 * conform/data/iconv.h-data: Likewise.
3024 * conform/data/inttypes.h-data: Likewise.
3025 * conform/data/langinfo.h-data: Likewise.
3026 * conform/data/libgen.h-data: Likewise.
3027 * conform/data/limits.h-data: Likewise.
3028 * conform/data/locale.h-data: Likewise.
3029 * conform/data/math.h-data: Likewise.
3030 * conform/data/monetary.h-data: Likewise.
3031 * conform/data/mqueue.h-data: Likewise.
3032 * conform/data/ndbm.h-data: Likewise.
3033 * conform/data/net/if.h-data: Likewise.
3034 * conform/data/netdb.h-data: Likewise.
3035 * conform/data/netinet/in.h-data: Likewise.
3036 * conform/data/nl_types.h-data: Likewise.
3037 * conform/data/poll.h-data: Likewise.
3038 * conform/data/pthread.h-data: Likewise.
3039 * conform/data/pwd.h-data: Likewise.
3040 * conform/data/regex.h-data: Likewise.
3041 * conform/data/sched.h-data: Likewise.
3042 * conform/data/search.h-data: Likewise.
3043 * conform/data/semaphore.h-data: Likewise.
3044 * conform/data/setjmp.h-data: Likewise.
3045 * conform/data/signal.h-data: Likewise.
3046 * conform/data/spawn.h-data: Likewise.
3047 * conform/data/stdarg.h-data: Likewise.
3048 * conform/data/stdio.h-data: Likewise.
3049 * conform/data/stdlib.h-data: Likewise.
3050 * conform/data/string.h-data: Likewise.
3051 * conform/data/strings.h-data: Likewise.
3052 * conform/data/stropts.h-data: Likewise.
3053 * conform/data/sys/ipc.h-data: Likewise.
3054 * conform/data/sys/mman.h-data: Likewise.
3055 * conform/data/sys/msg.h-data: Likewise.
3056 * conform/data/sys/resource.h-data: Likewise.
3057 * conform/data/sys/select.h-data: Likewise.
3058 * conform/data/sys/sem.h-data: Likewise.
3059 * conform/data/sys/shm.h-data: Likewise.
3060 * conform/data/sys/socket.h-data: Likewise.
3061 * conform/data/sys/stat.h-data: Likewise.
3062 * conform/data/sys/statvfs.h-data: Likewise.
3063 * conform/data/sys/time.h-data: Likewise.
3064 * conform/data/sys/timeb.h-data: Likewise.
3065 * conform/data/sys/times.h-data: Likewise.
3066 * conform/data/sys/types.h-data: Likewise.
3067 * conform/data/sys/uio.h-data: Likewise.
3068 * conform/data/sys/un.h-data: Likewise.
3069 * conform/data/sys/utsname.h-data: Likewise.
3070 * conform/data/sys/wait.h-data: Likewise.
3071 * conform/data/syslog.h-data: Likewise.
3072 * conform/data/tar.h-data: Likewise.
3073 * conform/data/termios.h-data: Likewise.
3074 * conform/data/utime.h-data: Likewise.
3075 * conform/data/utmpx.h-data: Likewise.
3076 * conform/data/varargs.h-data: Likewise.
3077 * conform/data/wchar.h-data: Likewise.
3078 * conform/data/wctype.h-data: Likewise.
3079 * conform/data/wordexp.h-data: Likewise.
3080
3081 * include/stropts.h: New file.
3082 * include/uchar.h: New file.
3083 * include/aio.h: Changes to allow conformtest.pl to use the headers.
3084 * include/assert.h: Likewise.
3085 * include/ctype.h: Likewise.
3086 * include/dirent.h: Likewise.
3087 * include/dlfcn.h: Likewise.
3088 * include/fcntl.h: Likewise.
3089 * include/fnmatch.h: Likewise.
3090 * include/glob.h: Likewise.
3091 * include/grp.h: Likewise.
3092 * include/libio.h: Likewise.
3093 * include/locale.h: Likewise.
3094 * include/math.h: Likewise.
3095 * include/net/if.h: Likewise.
3096 * include/netdb.h: Likewise.
3097 * include/netinet/in.h: Likewise.
3098 * include/pthread.h: Likewise.
3099 * include/pwd.h: Likewise.
3100 * include/regex.h: Likewise.
3101 * include/sched.h: Likewise.
3102 * include/search.h: Likewise.
3103 * include/setjmp.h: Likewise.
3104 * include/signal.h: Likewise.
3105 * include/stdio.h: Likewise.
3106 * include/stdlib.h: Likewise.
3107 * include/string.h: Likewise.
3108 * include/sys/cdefs.h: Likewise.
3109 * include/sys/mman.h: Likewise.
3110 * include/sys/msg.h: Likewise.
3111 * include/sys/resource.h: Likewise.
3112 * include/sys/select.h: Likewise.
3113 * include/sys/socket.h: Likewise.
3114 * include/sys/stat.h: Likewise.
3115 * include/sys/statvfs.h: Likewise.
3116 * include/sys/time.h: Likewise.
3117 * include/sys/times.h: Likewise.
3118 * include/sys/uio.h: Likewise.
3119 * include/sys/utsname.h: Likewise.
3120 * include/sys/wait.h: Likewise.
3121 * include/termios.h: Likewise.
3122 * include/time.h: Likewise.
3123 * include/ulimit.h: Likewise.
3124 * include/unistd.h: Likewise.
3125 * include/utime.h: Likewise.
3126 * include/wchar.h: Likewise.
3127 * include/wctype.h: Likewise.
3128 * include/wordexp.h: Likewise.
3129
3130 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
3131
3132 * time/time.h: TIME_UTC must be a macro.
3133 Make timespec_get available for ISO C11 only as well.
3134
31352012-02-24 Ulrich Drepper <drepper@gmail.com>
3136
3137 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
3138 Reported by Peng Haitao <penght@cn.fujitsu.com>.
3139
31402012-02-24 Joseph Myers <joseph@codesourcery.com>
3141
3142 * configure.in: Use -o not -a in test for unsupported multi-arch.
3143
31442012-02-24 Joseph Myers <joseph@codesourcery.com>
3145
3146 * manual/texinfo.tex: Update to version 2012-01-19.16.
3147
31482012-02-24 Joseph Myers <joseph@codesourcery.com>
3149
3150 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
3151
31522012-02-24 Roland McGrath <roland@hack.frob.com>
3153
3154 [BZ #13738]
3155 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
3156 * manual/fdl-1.3.texi: New file.
3157 * manual/fdl-1.1.texi: File removed.
3158
3159 [BZ #13738]
3160 * manual/libc.texinfo (FDL_VERSION): New @set.
3161 Use it for mention of FDL in cover text.
3162 (Documentation License): Use it in @include file name.
3163
31642012-02-22 Joseph Myers <joseph@codesourcery.com>
3165 Roland McGrath <roland@hack.frob.com>
3166
3167 [BZ #5461]
3168 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
3169 not LONG_LONG_MAX and LONG_LONG_MIN.
3170 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
3171 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
3172 name.
3173 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
3174
31752012-02-22 Joseph Myers <joseph@codesourcery.com>
3176
3177 [BZ #2547]
3178 [BZ #11365]
3179 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
3180 manipulate bits before adding and subtracting TWO23[sx].
3181 * math/libm-test.inc (nearbyint_test): Add more tests.
3182
31832012-02-22 Joseph Myers <joseph@codesourcery.com>
3184
3185 [BZ #2548]
3186 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
3187 bits before adding and subtracting TWO23[sx].
3188 * math/libm-test.inc (rint_test): Add more tests.
3189 (rint_test_tonearest): Likewise.
3190 (rint_test_towardzero): Likewise.
3191 (rint_test_downward): Likewise.
3192 (rint_test_upward: Likewise.
3193
31942012-02-22 Joseph Myers <joseph@codesourcery.com>
3195
3196 [BZ #10110]
3197 * include/stdc-predef.h: New file. Extracted from features.h.
3198 * include/features.h: Include stdc-predef.h.
3199 * Makefile (headers): Add stdc-predef.h.
3200 * CONFORMANCE (Compiler limitations): Update.
3201
32022012-02-22 Joseph Myers <joseph@codesourcery.com>
3203
3204 * manual/libc.texinfo (VERSION, UPDATED): Revert.
3205
32062012-02-21 David S. Miller <davem@davemloft.net>
3207
3208 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
3209 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3210
32112012-02-20 David S. Miller <davem@davemloft.net>
3212
3213 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
3214 using a normal save/restore sequence, rather than allocating a
3215 dummy stack frame just to store a frame pointer and restore.
3216 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3217
32182012-02-21 Joseph Myers <joseph@codesourcery.com>
3219
3220 * manual/install.texi: Fix stray word in line-wrapped comment.
3221
32222012-02-20 David S. Miller <davem@davemloft.net>
3223
3224 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
3225 both binutils and gcc support GOTDATA.
3226
3227 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
3228 "rd %pc" in the PIC register setup sequences.
3229
3230 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
3231 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3232 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
3233 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3234 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
3235 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3236 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3237 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
3238 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
3239 (SYSCALL_ERROR_HANDLER): Likewise.
3240 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
3241 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3242 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
3243 (SYSCALL_ERROR_HANDLER): Likewise.
3244
3245 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
3246 (HAVE_GCC_GOTDATA): New.
3247 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
3248 relocation support in both binutils and gcc.
3249 * sysdeps/sparc/elf/configure: Regenerate.
3250
3251 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
3252 * sysdeps/sparc/sparc32/elf/configure: Delete.
3253 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
3254 * sysdeps/sparc/sparc64/elf/configure: Delete.
3255 * sysdeps/sparc/elf/configure.in: New file.
3256 * sysdeps/sparc/elf/configure: Generate.
3257
3258 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
3259 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
3260 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
3261 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
3262 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
3263
32642012-02-21 Joseph Myers <joseph@codesourcery.com>
3265
3266 * manual/install.texi: Do not mention specific glibc version
3267 numbers.
3268 * manual/libc.texinfo (VERSION, UPDATED): Update.
3269 (@copying): Use @copyright{} and range of years.
3270
32712012-02-21 Joseph Myers <joseph@codesourcery.com>
3272
3273 [BZ #13695]
3274 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
3275 [crti.S not in sysdirs] (generated): Do not append.
3276 [crti.S not in sysdirs] (omit-deps): Likewise.
3277 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
3278 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
3279 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
3280 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
3281 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
3282 Likewise.
3283 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
3284 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
3285 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
3286 * csu/defs.awk: Remove file.
3287 * sysdeps/generic/initfini.c: Likewise.
3288 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
3289 variable.
3290 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
3291 Likewise.
3292
32932012-02-20 Joseph Myers <joseph@codesourcery.com>
3294
3295 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
3296 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
3297 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
3298 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
3299 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
3300 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
3301 <bits/epoll.h>.
3302 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
3303 (__EPOLL_PACKED): Define to empty if not defined by
3304 <bits/epoll.h>.
3305 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
3306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3307 bits/epoll.h.
3308
33092012-02-20 Joseph Myers <joseph@codesourcery.com>
3310
3311 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
3312 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
3313 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
3314 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
3315 <bits/timerfd.h>.
3316 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
3317 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3318 bits/timerfd.h.
3319
33202012-02-20 Joseph Myers <joseph@codesourcery.com>
3321
3322 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3323 in C locale.
3324 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3325 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3326 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3328
33292012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3330
3331 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3332 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3333
33342012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3335
3336 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3337 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3338 defined.
3339 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3340 Likewise.
3341 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3342 entry for 2.16.
3343
33442012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3345
3346 * math/w_acos.c: Use non-signaling floating-point comparisons.
3347 * math/w_acosf.c: Likewise.
3348 * math/w_acosh.c: Likewise.
3349 * math/w_acoshf.c: Likewise.
3350 * math/w_acoshl.c: Likewise.
3351 * math/w_acosl.c: Likewise.
3352 * math/w_asin.c: Likewise.
3353 * math/w_asinf.c: Likewise.
3354 * math/w_asinl.c: Likewise.
3355 * math/w_atanh.c: Likewise.
3356 * math/w_atanhf.c: Likewise.
3357 * math/w_atanhl.c: Likewise.
3358 * math/w_exp2.c: Likewise.
3359 * math/w_exp2f.c: Likewise.
3360 * math/w_exp2l.c: Likewise.
3361 * math/w_j0.c: Likewise.
3362 * math/w_j0f.c: Likewise.
3363 * math/w_j0l.c: Likewise.
3364 * math/w_j1.c: Likewise.
3365 * math/w_j1f.c: Likewise.
3366 * math/w_j1l.c: Likewise.
3367 * math/w_jn.c: Likewise.
3368 * math/w_jnf.c: Likewise.
3369 * math/w_log.c: Likewise.
3370 * math/w_log10.c: Likewise.
3371 * math/w_log10f.c: Likewise.
3372 * math/w_log10l.c: Likewise.
3373 * math/w_log2.c: Likewise.
3374 * math/w_log2f.c: Likewise.
3375 * math/w_log2l.c: Likewise.
3376 * math/w_logf.c: Likewise.
3377 * math/w_logl.c: Likewise.
3378 * math/w_sqrt.c: Likewise.
3379 * math/w_sqrtf.c: Likewise.
3380 * math/w_sqrtl.c: Likewise.
3381 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3382 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3383 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3384 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3385 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3386
33872012-02-19 Joseph Myers <joseph@codesourcery.com>
3388
3389 [BZ #9739]
3390 * manual/string.texi (strnlen): Use correct parameter name in
3391 equivalent expression.
3392
33932012-02-19 Joseph Myers <joseph@codesourcery.com>
3394
3395 [BZ #11174]
3396 * manual/users.texi (seteuid): Consistently use neweuid for
3397 argument name.
3398
33992012-02-19 Joseph Myers <joseph@codesourcery.com>
3400
3401 [BZ #13704]
3402 * manual/nss.texi (Services in the NSS configuration): Correct
3403 list of services in example configuration file.
3404
34052012-02-19 Nick Bowler <nbowler@draconx.ca>
3406
3407 [BZ #11322]
3408 * manual/arith.texi: Remove statements about negative zero
3409 behaving identically to zero.
3410
34112012-02-18 Joseph Myers <joseph@codesourcery.com>
3412
3413 [BZ #5993]
3414 * manual/install.texi: Do not document upgrading from libc5.
3415
34162012-02-18 Joseph Myers <joseph@codesourcery.com>
3417
3418 [BZ #4596]
3419 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3420
34212012-02-18 David S. Miller <davem@davemloft.net>
3422
3423 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3424 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3425 %o7 across the call.
3426 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3427 instead.
3428 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3429 SETUP_PIC_REG_LEAF.
3430 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3431 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3432 * sysdeps/sparc/crtn.S: Likewise.
3433
34342012-02-17 Ulrich Drepper <drepper@gmail.com>
3435
3436 * aout/Makefile: Remove.
3437
34382012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3439
3440 [BZ #13058]
3441 * manual/examples/argp-ex1.c (main): Format definition in GNU
3442 style.
3443 * manual/examples/argp-ex2.c (main): Likewise.
3444 * manual/examples/argp-ex3.c (main): Likewise.
3445 * manual/examples/argp-ex4.c (main): Likewise.
3446 * manual/examples/longopt.c (main): Use new-style prototype
3447 definition.
3448 * manual/examples/strncat.c (main): Specify return type and use
3449 (void) for arguments.
3450 * manual/examples/subopt.c (main): Use char **argv argument.
3451
34522012-02-17 Joseph Myers <joseph@codesourcery.com>
3453
3454 [BZ #5077]
3455 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3456 rounding modes.
3457
34582012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3459
3460 [BZ #6907]
3461 * manual/string.texi (strchr): Change when strchrnul is
3462 recommended.
3463
34642012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3465
3466 [BZ #174]
3467 * manual/locale.texi (setlocale): Document LOCPATH.
3468
34692012-02-17 Joseph Myers <joseph@codesourcery.com>
3470
3471 [BZ #10210]
3472 * manual/process.texi (execle): Move @dots{} before last argument.
3473
34742012-02-17 Paul Bolle <pebolle@tiscali.nl>
3475
3476 [BZ #12047]
3477 * manual/charset.texi (Generic Charset Conversion): Fix typo
3478 (LC_TYPE -> LC_CTYPE).
3479
34802012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3481
3482 [BZ #5805]
3483 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3484 (scalbnf): Likewise.
3485 (scalbnl): Likewise.
3486 (scalbln): Likewise.
3487 (scalblnf): Likewise.
3488 (scalblnl): Likewise.
3489 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3490 (vwarnx): Likewise.
3491 (verr): Likewise.
3492 (verrx): Likewise.
3493 * manual/filesys.texi (telldir): Use braces around return type.
3494 * manual/llio.texi (mmap): Add space after comma.
3495 (mmap64): Likewise.
3496 * manual/math.texi (jn): Use @var{} on parameter names.
3497 (jnf): Likewise.
3498 (jnl): Likewise.
3499 (yn): Likewise.
3500 (ynf): Likewise.
3501 (ynl): Likewise.
3502 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3503 line.
3504 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3505 "...".
3506 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3507 (sched_get_priority_max): Likewise.
3508 * manual/signal.texi (sigvec): Add space after comma.
3509 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3510 names.
3511 (if_indextoname): Likewise.
3512 (if_freenameindex): Likewise.
3513 (sendto): Use ',' instead of '.' in prototype.
3514 * manual/startup.texi (syscall): Use @dots{} instead of literal
3515 "...".
3516 * manual/stdio.texi (__fpending): Separate initial words of
3517 paragraph from @deftypefun line.
3518 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3519 "...".
3520 (vsyslog): Use @var{} on parameter names.
3521 * manual/terminal.texi (stty): Use @var{} on parameter names.
3522 * manual/users.texi (getutmp): Use @var{} on parameter names.
3523 (getutmpx): Likewise.
3524
35252012-02-17 Joseph Myers <joseph@codesourcery.com>
3526
3527 [BZ #6884]
3528 * manual/stdio.texi (fopen): Fix typos in description of
3529 ",ccs=STRING".
3530
35312012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3532
3533 [BZ #4026]
3534 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3535 get clock_id definition.
3536
35372012-02-17 Thomas Schwinge <thomas@schwinge.name>
3538
3539 [BZ #4822]
3540 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3541 (madvise): Cast every argument to void on its own.
3542
35432012-02-17 Joseph Myers <joseph@codesourcery.com>
3544
3545 [BZ #9902]
3546 * manual/startup.texi (Exit Status): Fix typo.
3547
35482012-02-17 Joseph Myers <joseph@codesourcery.com>
3549
3550 [BZ #10140]
3551 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3552 * manual/examples/argp-ex2.c: Likewise.
3553 * manual/examples/argp-ex3.c: Likewise.
3554
35552012-02-16 Richard Henderson <rth@redhat.com>
3556
3557 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3558 * sysdeps/s390/s390-32/initfini.c: Remove.
3559 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3560 * sysdeps/s390/s390-64/initfini.c: Remove.
3561
35622012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3563
3564 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3565 compiler output for sysdeps/generic/initfini.c.
3566 * sysdeps/sh/elf/initfini.c: Remove file.
3567
35682012-02-16 David S. Miller <davem@davemloft.net>
3569
3570 [BZ #11494]
3571 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3572
3573 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3574 * sysdeps/sparc/crti.S: New file.
3575 * sysdeps/sparc/crtn.S: New file.
3576 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3577 * sysdeps/sparc/sparc64/Makefile: Likewise.
3578
35792012-02-15 Mike Frysinger <vapier@gentoo.org>
3580
3581 [BZ #3335]
3582 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3583
35842012-02-15 Roland McGrath <roland@hack.frob.com>
3585
3586 [BZ #4822]
3587 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3588
3589 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3590 (write, read, close): Likewise.
3591 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3592
35932012-02-15 Joseph Myers <joseph@codesourcery.com>
3594
3595 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3596 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3597 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3598 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3599 <bits/signalfd.h>.
3600 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3602 bits/signalfd.h.
3603
36042012-02-14 Marek Polacek <polacek@redhat.com>
3605
3606 * sysdeps/x86_64/crti.S: New file.
3607 * sysdeps/x86_64/crtn.S: New file.
3608 * sysdeps/x86_64/elf/initfini.c: Remove file.
3609
36102012-02-13 Joseph Myers <joseph@codesourcery.com>
3611
3612 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3613 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3614 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3615 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3616 <bits/inotify.h>.
3617 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3618 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3619 bits/inotify.h.
3620
36212012-02-13 Joseph Myers <joseph@codesourcery.com>
3622
3623 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3624 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3625 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3626 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3627 <bits/eventfd.h>.
3628 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3629 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3630 bits/eventfd.h.
3631
36322012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3633
3634 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3635 __feraiseexcept instead of feraiseexcept.
3636
3637 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3638 nanosleep invocations.
3639 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3640 strings, and add error checking for a nanosleep invocations.
3641
36422012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3643
3644 Replace FSF snail mail address with URLs, as per GNU coding standards.
3645 Most of the snail mail addresses were wrong anyway, and omitting
3646 them makes the source code easier to maintain. Almost all of the
3647 changes are to license notices and to locale LC_IDENTIFICATION
3648 addresses, except for this one:
3649 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3650 not its snail mail address.
3651
36522012-02-09 Richard Henderson <rth@twiddle.net>
3653
3654 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3655 of kernel-features.h.
3656
3657 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3658
36592012-02-08 Marek Polacek <polacek@redhat.com>
3660
3661 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3662 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3663 * sysdeps/gnu/_G_config.h: Likewise.
3664 * sysdeps/generic/_G_config.h: Likewise.
3665
36662012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3667
3668 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3669 tests.
3670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3671
3672 * sysdeps/powerpc/powerpc32/crti.S: New file.
3673 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3674 * sysdeps/powerpc/powerpc64/crti.S: New file.
3675 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3676
3677 * Makeconfig (have-initfini): Don't set.
3678 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3679 * configure.in (nopic_initfini): Don't substitute.
3680 * config.h.in (HAVE_INITFINI): Don't #undef.
3681 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3682 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3683
36842012-02-08 Joseph Myers <joseph@codesourcery.com>
3685
3686 Support crti.S and crtn.S provided directly by architectures.
3687 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3688 [crti.S in sysdirs] (omit-deps): Likewise.
3689 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3690 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3691 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3692 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3693 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3694 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3695 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3696 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3697 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3698 compiler output for sysdeps/generic/initfini.c.
3699 * sysdeps/i386/elf/Makefile: Remove file.
3700 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3701
37022012-02-07 Marek Polacek <polacek@redhat.com>
3703
3704 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3705 * sysdeps/gnu/_G_config.h: Likewise.
3706 * sysdeps/mach/hurd/_G_config.h: Likewise.
3707
37082012-02-07 Marek Polacek <polacek@redhat.com>
3709
3710 * math/Makefile (tests): Add tst-CMPLX2.
3711 * math/tst-CMPLX2.c: New file.
3712
37132012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3714
3715 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3716
3717 * math/libm-test.inc (jn_test): Add missing L suffix.
3718
37192012-02-06 Marek Polacek <polacek@redhat.com>
3720
3721 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3722 * sysdeps/i386/fpu/e_powf.S: Likewise.
3723 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3724 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3725 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3726 * sysdeps/i386/fpu/e_pow.S: Likewise.
3727 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3728 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3729 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3730 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3731 * sysdeps/i386/fpu/e_log2.S: Likewise.
3732 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3733 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3734 * sysdeps/i386/fpu/e_powl.S: Likewise.
3735 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3736 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3737 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3738 * sysdeps/i386/fpu/e_logl.S: Likewise.
3739 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3740 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3741 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3742 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3743 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3744 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3745 * sysdeps/i386/fpu/e_log.S: Likewise.
3746 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3747 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3748 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3749 * sysdeps/i386/fpu/e_logf.S: Likewise.
3750 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3751 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3752 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3753 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3754 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3755 * sysdeps/i386/fpu/e_log10.S: Likewise.
3756 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3757 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3758 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3759 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3760 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3761 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3762 * sysdeps/i386/asm-syntax.h: Likewise.
3763 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3764 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3765 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3766 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3767 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3768 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3769 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3770 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3771 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3772 * sysdeps/powerpc/sysdep.h: Likewise.
3773 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3774 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3775
37762012-02-06 Joseph Myers <joseph@codesourcery.com>
3777
3778 [BZ #411]
3779 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3780
37812012-02-06 Joseph Myers <joseph@codesourcery.com>
3782
3783 * sysdeps/i386/sysdep.h: Include <features.h>.
3784 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3785 version.
3786
37872012-02-05 Joseph Myers <joseph@codesourcery.com>
3788
3789 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3790 Define.
3791 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3792 LOAD_PIC_REG_STR.
3793
37942012-02-03 Joseph Myers <joseph@codesourcery.com>
3795
3796 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3797 (SETUP_PIC_REG): Use GET_PC_THUNK.
3798 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3799 macro.
3800
38012012-02-03 Joseph Myers <joseph@codesourcery.com>
3802
3803 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3804 for non-PIC compilation.
3805 (SETUP_PIC_REG): Add .p2align directive.
3806 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3807 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3808 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3809 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3810 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3811 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3812 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3813 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3814 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3815 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3816 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3817 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3818 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3819 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3820 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3821 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3822 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3823 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3824 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3825 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3826 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3827 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3828 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3829 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3830 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3831 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3832 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3833 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3834 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3835 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3836 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3837 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3838 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3839 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3840 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3841 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3842 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3843 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3844 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3845 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3846 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3847
38482012-02-03 Joseph Myers <joseph@codesourcery.com>
3849
3850 * math/tst-CMPLX.c: Include <stdio.h>.
3851
38522012-01-31 Joseph Myers <joseph@codesourcery.com>
3853
3854 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3855 float.
3856 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3857 * sysdeps/sparc/bits/mathdef.h: Likewise.
3858
38592012-01-31 Marek Polacek <polacek@redhat.com>
3860
3861 * libio/libio.h: Don't define _PARAMS.
3862 * locale/programs/config.h: Don't define PARAMS.
3863 * stdlib/strtol_l.c: Likewise.
3864 (__strtol_l): Remove PARAMS from the prototype.
3865
38662012-01-31 Ulrich Drepper <drepper@gmail.com>
3867
3868 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3869 names. Just use the correct names. Remove unnecessary wrapper
3870 functions.
3871 * malloc/arena.c: Likewise.
3872 * malloc/hooks.c: Likewise.
3873
3874 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3875 ARENA_TEST says not to. Simplify test for creation of a new arena.
3876 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3877
38782012-01-30 Ulrich Drepper <drepper@gmail.com>
3879
3880 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3881 into tail calls.
3882 (update_get_addr): New function.
3883 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3884 GET_ADDR_MODULE parameter.
3885
38862012-01-30 Joseph Myers <joseph@codesourcery.com>
3887
3888 * crypt/cert.c: Remove __STDC__ conditionals.
3889 * crypt/crypt-entry.c: Likewise.
3890 * crypt/crypt_util.c: Likewise.
3891 * libio/filedoalloc.c: Likewise.
3892 * libio/fileops.c: Likewise.
3893 * libio/genops.c: Likewise.
3894 * libio/iofclose.c: Likewise.
3895 * libio/iofdopen.c: Likewise.
3896 * libio/iofopen.c: Likewise.
3897 * libio/iofopen64.c: Likewise.
3898 * libio/iogetdelim.c: Likewise.
3899 * libio/iopopen.c: Likewise.
3900 * libio/obprintf.c: Likewise.
3901 * libio/oldfileops.c: Likewise.
3902 * libio/oldiofclose.c: Likewise.
3903 * libio/oldiofdopen.c: Likewise.
3904 * libio/oldiofopen.c: Likewise.
3905 * libio/oldiopopen.c: Likewise.
3906 * libio/wfiledoalloc.c: Likewise.
3907 * libio/wgenops.c: Likewise.
3908 * locale/programs/xmalloc.c: Likewise.
3909 * misc/syslog.c: Likewise.
3910 * stdio-common/xbug.c: Likewise.
3911 * string/memchr.c: Likewise.
3912 * string/memcmp.c: Likewise.
3913 * string/memrchr.c: Likewise.
3914 * string/rawmemchr.c: Likewise.
3915 * sysdeps/posix/getcwd.c: Likewise.
3916 * time/strftime_l.c: Likewise.
3917
39182012-01-30 Joseph Myers <joseph@codesourcery.com>
3919
3920 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3921 * config.make.in (config-cflags-sse2avx): Define.
3922 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3923 Fix typo.
3924
39252012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3926
3927 * scripts/config.guess: Update from upstream config git repository.
3928 * scripts/config.sub: Likewise.
3929
39302012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3931
3932 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3933 (EM_NUM): Update.
3934 (R_TILEPRO_*, R_TILEGX_*): New macros.
3935
3936 * scripts/firstversions.awk: Fix bug in version range handling.
3937
3938 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3939
3940 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3941
3942 * include/sys/epoll.h: New file.
3943 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3944 libc_hidden_def.
3945
39462012-01-28 Ulrich Drepper <drepper@gmail.com>
3947
3948 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3949 Avoid unnecessary __WORDSIZE == 64 test.
3950 (fmaxf): Use VEX format if possible.
3951 (fmax): Likewise.
3952 (fminf): Likewise.
3953 (fmin): Likewise.
3954
3955 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3956 * math/math_private.h: Remove libc_fegetround* and
3957 libc_fesetround*.
3958 * sysdeps/i386/configure.in: Check for -msse2avx.
3959 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3960 also if SSE2AVX is defined.
3961 Remove libc_fegetround* and libc_fesetround*.
3962 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3963 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3964 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3965 of HAS_YMM_USABLE.
3966 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3967 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3968 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3969 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3970 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3971
3972 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3973
39742012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3975
3976 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3977 size is not set.
3978 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3979
39802012-01-27 Ulrich Drepper <drepper@gmail.com>
3981
3982 [BZ #13618]
3983 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3984 relocation.
3985 * Makeconfig (libm): Define.
3986 * elf/Makefile: Add rules to build and run tst-relsort1.
3987 * elf/tst-relsort1.c: New file.
3988 * elf/tst-relsort1mod1.c: New file.
3989 * elf/tst-relsort1mod2.c: New file.
3990
39912012-01-27 Joseph Myers <joseph@codesourcery.com>
3992
3993 * math/s_ldexp.c: Remove __STDC__ conditionals.
3994 * math/s_ldexpf.c: Likewise.
3995 * math/s_ldexpl.c: Likewise.
3996 * math/s_nextafter.c: Likewise.
3997 * math/s_nexttowardf.c: Likewise.
3998 * math/s_significand.c: Likewise.
3999 * math/s_significandf.c: Likewise.
4000 * math/s_significandl.c: Likewise.
4001 * math/w_jnl.c: Likewise.
4002 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4003 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4004 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4005 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4006 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4007 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4008 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
4009 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4010 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4011 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4012 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4013 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4014 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4015 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4016 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4017 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4018 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4019 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4020 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4021 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4022 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4023 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4024 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4025 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4026 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4027 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4028 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4029 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4030 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4031 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4032 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4033 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4034 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4035 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4036 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4037 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4038 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4039 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4040 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4041 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4042 * sysdeps/ieee754/k_standard.c: Likewise.
4043 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4044 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4045 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4046 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4047 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4048 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4049 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4050 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4051 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4052 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4053 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4054 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4055 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4056 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4057 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4058 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4059 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4060 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4061 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4062 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4063 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4064 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4065 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4066 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4067 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4068 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4069 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4070 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4071 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4072 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4073 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4074 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
4075 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4076 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4077 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4078 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4079 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
4080 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4081 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4082 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
4083 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
4084 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4085 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
4086 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
4087 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4088 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
4089 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4090 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4091 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4092 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
4093 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
4094 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4095 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4096 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4097 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4098 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4099 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
4100 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4101 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4102 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4103 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4104 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4105 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4106 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4107 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4108 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4109 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4110 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4111 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4112 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4113 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4114 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4115 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4116 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4117 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4118 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4119 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4120 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4121 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4122 * sysdeps/ieee754/s_matherr.c: Likewise.
4123 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4124 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4125 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4126 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4127
41282012-01-26 Joseph Myers <joseph@codesourcery.com>
4129
4130 * crypt/md5.h: Remove __STDC__ conditionals.
4131 * libio/libioP.h: Likewise.
4132 * locale/programs/config.h: Likewise.
4133 * sysdeps/generic/sysdep.h: Likewise.
4134 * sysdeps/i386/asm-syntax.h: Likewise.
4135 * sysdeps/s390/asm-syntax.h: Likewise.
4136 * sysdeps/unix/sysdep.h: Likewise.
4137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4139
41402012-01-26 Joseph Myers <joseph@codesourcery.com>
4141
4142 * libio/libio.h: Remove __STDC__ conditionals.
4143 * malloc/obstack.h: Likewise.
4144 * math/complex.h: Likewise.
4145 * math/math.h: Likewise.
4146 * sysdeps/generic/_G_config.h: Likewise.
4147 * sysdeps/gnu/_G_config.h: Likewise.
4148 * sysdeps/mach/hurd/_G_config.h: Likewise.
4149 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4150 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
4151 * sysdeps/sparc/bits/mathdef.h: Likewise.
4152
41532012-01-26 Ulrich Drepper <drepper@gmail.com>
4154
4155 [BZ #13583]
4156 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
4157 Clean up HAS_* macros.
4158 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
4159 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
4160 possible.
4161 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
4162 HAS_AVX.
4163 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
4164 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
4165 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
4166 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
4167 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
4168
41692012-01-25 Joseph Myers <joseph@codesourcery.com>
4170
4171 * elf/tst-unique3.cc (gets): Remove declaration.
4172 * elf/tst-unique3lib.cc (gets): Likewise.
4173 * elf/tst-unique3lib2.cc (gets): Likewise.
4174 * elf/tst-unique4.cc (gets): Likewise.
4175
41762012-01-24 Ulrich Drepper <drepper@gmail.com>
4177
4178 * include/stdio.h: Add C++ protection. Add gets declarations and
4179 definitions.
4180 * debug/tst-chk1.c: Don't declare gets here.
4181 * stdio-common/tst-gets.c: Likewise.
4182
41832012-01-24 Joseph Myers <joseph@codesourcery.com>
4184
4185 * posix/glob: Remove directory.
4186
41872012-01-24 Joseph Myers <joseph@codesourcery.com>
4188
4189 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
4190
41912012-01-22 Pino Toscano <toscano.pino@tiscali.it>
4192
4193 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
4194 of the non-standard EPFNOSUPPORT.
4195
41962011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
4197
4198 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
4199 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
4200 ANYWHERE set to 1 only on KERN_NO_SPACE error.
4201
42022012-01-21 Ulrich Drepper <drepper@gmail.com>
4203
4204 * wcsmbs/uchar.h: Test __STDC_VERSION__.
4205
42062012-01-20 Ulrich Drepper <drepper@gmail.com>
4207
4208 * nscd/aicache.c (addhstaiX): Do not cache negative results of
4209 transient errors.
4210 * nscd/grpcache.c (cache_addgr): Likewise.
4211 * nscd/hstcache.c (cache_addhst): Likewise.
4212 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4213 * nscd/pwdcache.c (cache_addpw): Likewise.
4214 * nscd/servicescache.c (cache_addserv): Likewise.
4215
42162012-01-16 Ulrich Drepper <drepper@gmail.com>
4217
4218 * malloc/malloc.c: Various cleanups.
4219 * malloc/hooks.c: Likewise.
4220
4221 * stdlib/Makefile (tests): Add bug-fmtmsg1.
4222 * stdlib/bug-fmtmsg1.c: New file.
4223
4224 * stdlib/fmtmsg.c (init): Add missing unlock.
4225 Patch by Peng Haitao <penght@cn.fujitsu.com>.
4226
42272012-01-12 Marek Polacek <polacek@redhat.com>
4228
4229 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
4230 and _GNU_SOURCE.
4231
42322012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
4233
4234 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
4235 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
4236 macro to ensure uniqueness of label name.
4237 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4238 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4239
42402012-01-11 Ulrich Drepper <drepper@gmail.com>
4241
4242 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
4243
4244 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
4245 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4246 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4247 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
4248
42492012-01-10 Ulrich Drepper <drepper@gmail.com>
4250
4251 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
4252
4253 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
4254 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4255 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4256
4257 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
4258
4259 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
4260 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4261 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4262 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
4263
4264 * math/bits/math-finite.h: Add ldexp support.
4265
42662012-01-10 Marek Polacek <polacek@redhat.com>
4267
4268 * locale/programs/localedef.h (show_archive_content): Add noreturn
4269 attribute.
4270
42712012-01-09 Ulrich Drepper <drepper@gmail.com>
4272
4273 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
4274
42752012-01-08 Ulrich Drepper <drepper@gmail.com>
4276
4277 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
4278
4279 * io/Makefile (headers): Add bits/poll2.h.
4280
42812011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
4282
4283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
4284 typo #include statement.
4285
42862012-01-08 Ulrich Drepper <drepper@gmail.com>
4287
4288 * include/sys/cdefs.h: Define __attribute_alloc_size.
4289 * catgets/gencat.c: Add alloc_size attribute and apply consistently
4290 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
4291 * elf/pldd.c: Likewise.
4292 * iconv/iconv_charmap.c: Likewise.
4293 * iconv/iconvconfig.c: Likewise.
4294 * iconv/strtab.c: Likewise.
4295 * locale/programs/locale.c: Likewise.
4296 * locale/programs/localedef.h: Likewise.
4297 * locale/programs/simple-hash.c: Likewise.
4298 * nscd/nscd.h: Likewise.
4299 * nss/makedb.c: Likewise.
4300 * sysdeps/generic/ldconfig.h: Likewise.
4301 * locale/programs/localedef.c: Remove xmalloc prototype.
4302 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
4303
43042012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
4305
4306 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
4307 appropriate.
4308
43092012-01-08 Ulrich Drepper <drepper@gmail.com>
4310
4311 * math/Makefile (tests): Add tst-CMPLX.
4312 * math/tst-CMPLX.c: New file.
4313
4314 * math/complex.h (CMPLXL): Fix typo.
4315
4316 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
4317 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4318 GLIBC_2.16.
4319 * debug/tst-chk1.c: Add poll and ppoll tests.
4320 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4321 * include/sys/poll.h: Add hidden proto for ppoll.
4322 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4323 * sysdeps/mach/hurd/ppoll.c: Likewise.
4324 * io/ppoll.c: Likewise.
4325 * debug/poll_chk.c: New file.
4326 * debug/ppoll_chk.c: New file.
4327 * include/bits/poll2.h: New file.
4328 * io/bits/poll2.h: New file.
4329
4330 [BZ #1350]
4331 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4332
4333 * configure.in: static is always set to yes. Remove.
4334 * config.make.in: Don't set build-static.
4335 * Makeconfig: Remove use of build-static.
4336 * dlfcn/Makefile: Likewise.
4337 * elf/Makefile: Likewise.
4338 * math/Makefile: Likewise.
4339 * misc/Makefile: Likewise.
4340 * nptl/Makefile: Likewise.
4341 * sysdeps/mach/hurd/Makefile: Likewise.
4342
4343 * configure.in: PWD_P is not used anymore.
4344 * config.make.in: Remove PWD_P entry.
4345
4346 * configure.in: Remove last remnants of RANLIB.
4347 No need to check for signed size_t anymore.
4348 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4349 and IA-64.
4350 Remove __builtin_expect test because we require at least gcc 3.4.
4351 * aclocal.m4: Likewise.
4352
4353 * wcsmbs/mbrtoc16.c: Implement using towc function.
4354 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4355 * wcsmbs/wcsmbsload.c: Likewise.
4356 * iconv/gconv_simple.c: Likewise.
4357 * iconv/gconv_int.h: Likewise.
4358 * iconv/gconv_builtin.h: Likewise.
4359 * iconv/iconv_prog.c: Remove CHAR16 handling.
4360
4361 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4362
4363 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4364
4365 * configure.in: Remove --with-elf and --enable-bounded options.
4366 Dont set base_machine for ia64. More non-ELF conditions removed.
4367 Remove testing and setting of leading underscore information.
4368 * config.make.in (build-bounded): Set to no.
4369 * config.h.in: Remove NO_UNDERSCORES entry.
4370 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4371 them.
4372 * csu/start.c: Remove !NO_UNDERSCORE code.
4373 * locale/localeinfo.h: Likewise.
4374 * sysdeps/generic/machine-gmon.h: Likewise.
4375 * sysdeps/generic/sysdep.h: Likewise.
4376 * sysdeps/i386/sysdep.h: Likewise.
4377 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4378 * sysdeps/mach/sysdep.h: Likewise.
4379 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4380 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4381 * sysdeps/sh/sysdep.h: Likewise.
4382 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4383 * sysdeps/unix/i386/sysdep.S: Likewise.
4384 * sysdeps/unix/sparc/start.c: Likewise.
4385 * sysdeps/unix/sparc/sysdep.S: Likewise.
4386 * sysdeps/unix/sparc/sysdep.h: Likewise.
4387 * sysdeps/unix/start.c: Likewise.
4388 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4389 * sysdeps/x86_64/sysdep.h: Likewise.
4390
43912012-01-07 Ulrich Drepper <drepper@gmail.com>
4392
4393 [BZ #13553]
4394 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4395 for non-gcc.
4396 * argp/argp-fmtstream.h: Use const instead __const.
4397 * argp/argp.h: Likewise.
4398 * assert/assert.h: Likewise.
4399 * bits/fenv.h: Likewise.
4400 * bits/sched.h: Likewise.
4401 * bits/sigset.h: Likewise.
4402 * bits/sigthread.h: Likewise.
4403 * catgets/nl_types.h: Likewise.
4404 * conform/data/pthread.h-data: Likewise.
4405 * crypt/crypt-private.h: Likewise.
4406 * crypt/crypt.h: Likewise.
4407 * crypt/crypt_util.c: Likewise.
4408 * ctype/ctype.h: Likewise.
4409 * debug/execinfo.h: Likewise.
4410 * debug/mbsnrtowcs_chk.c: Likewise.
4411 * debug/mbsrtowcs_chk.c: Likewise.
4412 * debug/wcsnrtombs_chk.c: Likewise.
4413 * debug/wcsrtombs_chk.c: Likewise.
4414 * debug/wcstombs_chk.c: Likewise.
4415 * dirent/dirent.h: Likewise.
4416 * dlfcn/dlfcn.h: Likewise.
4417 * elf/neededtest4.c: Likewise.
4418 * grp/grp.h: Likewise.
4419 * gshadow/gshadow.h: Likewise.
4420 * iconv/gconv.h: Likewise.
4421 * iconv/gconv_int.h: Likewise.
4422 * iconv/gconv_simple.c: Likewise.
4423 * iconv/iconv.h: Likewise.
4424 * iconv/loop.c: Likewise.
4425 * iconv/skeleton.c: Likewise.
4426 * include/aio.h: Likewise.
4427 * include/aliases.h: Likewise.
4428 * include/argz.h: Likewise.
4429 * include/arpa/inet.h: Likewise.
4430 * include/assert.h: Likewise.
4431 * include/dirent.h: Likewise.
4432 * include/dlfcn.h: Likewise.
4433 * include/execinfo.h: Likewise.
4434 * include/fcntl.h: Likewise.
4435 * include/fenv.h: Likewise.
4436 * include/glob.h: Likewise.
4437 * include/grp.h: Likewise.
4438 * include/libintl.h: Likewise.
4439 * include/mntent.h: Likewise.
4440 * include/netdb.h: Likewise.
4441 * include/pwd.h: Likewise.
4442 * include/rpc/netdb.h: Likewise.
4443 * include/sched.h: Likewise.
4444 * include/search.h: Likewise.
4445 * include/shadow.h: Likewise.
4446 * include/signal.h: Likewise.
4447 * include/stdio.h: Likewise.
4448 * include/stdlib.h: Likewise.
4449 * include/string.h: Likewise.
4450 * include/sys/socket.h: Likewise.
4451 * include/sys/stat.h: Likewise.
4452 * include/sys/statfs.h: Likewise.
4453 * include/sys/statvfs.h: Likewise.
4454 * include/sys/syslog.h: Likewise.
4455 * include/sys/time.h: Likewise.
4456 * include/sys/uio.h: Likewise.
4457 * include/time.h: Likewise.
4458 * include/unistd.h: Likewise.
4459 * include/utmp.h: Likewise.
4460 * include/wchar.h: Likewise.
4461 * include/wctype.h: Likewise.
4462 * inet/aliases.h: Likewise.
4463 * inet/arpa/inet.h: Likewise.
4464 * inet/netinet/ether.h: Likewise.
4465 * inet/netinet/in.h: Likewise.
4466 * intl/libintl.h: Likewise.
4467 * io/bits/fcntl2.h: Likewise.
4468 * io/fcntl.h: Likewise.
4469 * io/ftw.h: Likewise.
4470 * io/sys/poll.h: Likewise.
4471 * io/sys/stat.h: Likewise.
4472 * io/sys/statfs.h: Likewise.
4473 * io/sys/statvfs.h: Likewise.
4474 * io/utime.h: Likewise.
4475 * libio/bits/stdio.h: Likewise.
4476 * libio/bits/stdio2.h: Likewise.
4477 * libio/libio.h: Likewise.
4478 * libio/libioP.h: Likewise.
4479 * libio/stdio.h: Likewise.
4480 * locale/lc-ctype.c: Likewise.
4481 * locale/locale.h: Likewise.
4482 * login/utmp.h: Likewise.
4483 * malloc/arena.c: Likewise.
4484 * malloc/malloc.c: Likewise.
4485 * malloc/malloc.h: Likewise.
4486 * malloc/mcheck.c: Likewise.
4487 * malloc/mtrace.c: Likewise.
4488 * math/bits/mathcalls.h: Likewise.
4489 * math/fenv.h: Likewise.
4490 * math/math_private.h: Likewise.
4491 * misc/bits/error.h: Likewise.
4492 * misc/bits/syslog.h: Likewise.
4493 * misc/err.h: Likewise.
4494 * misc/error.h: Likewise.
4495 * misc/fstab.h: Likewise.
4496 * misc/mntent.h: Likewise.
4497 * misc/regexp.h: Likewise.
4498 * misc/search.h: Likewise.
4499 * misc/sgtty.h: Likewise.
4500 * misc/sys/mman.h: Likewise.
4501 * misc/sys/syslog.h: Likewise.
4502 * misc/sys/uio.h: Likewise.
4503 * misc/sys/xattr.h: Likewise.
4504 * misc/ttyent.h: Likewise.
4505 * nis/rpcsvc/ypclnt.h: Likewise.
4506 * nss/nss.h: Likewise.
4507 * posix/bits/unistd.h: Likewise.
4508 * posix/fnmatch.h: Likewise.
4509 * posix/glob.h: Likewise.
4510 * posix/sched.h: Likewise.
4511 * posix/spawn.h: Likewise.
4512 * posix/sys/wait.h: Likewise.
4513 * posix/unistd.h: Likewise.
4514 * posix/wordexp.h: Likewise.
4515 * pwd/pwd.h: Likewise.
4516 * resolv/netdb.h: Likewise.
4517 * resource/sys/resource.h: Likewise.
4518 * rt/aio.h: Likewise.
4519 * rt/bits/mqueue2.h: Likewise.
4520 * rt/mqueue.h: Likewise.
4521 * shadow/shadow.h: Likewise.
4522 * signal/signal.h: Likewise.
4523 * socket/send.c: Likewise.
4524 * socket/sendto.c: Likewise.
4525 * socket/sys/socket.h: Likewise.
4526 * stdio-common/printf.h: Likewise.
4527 * stdlib/bits/stdlib.h: Likewise.
4528 * stdlib/fmtmsg.h: Likewise.
4529 * stdlib/monetary.h: Likewise.
4530 * stdlib/stdlib.h: Likewise.
4531 * stdlib/ucontext.h: Likewise.
4532 * streams/stropts.h: Likewise.
4533 * string/argz.h: Likewise.
4534 * string/bits/string2.h: Likewise.
4535 * string/string.h: Likewise.
4536 * string/strings.h: Likewise.
4537 * sunrpc/rpc/auth.h: Likewise.
4538 * sunrpc/rpc/auth_des.h: Likewise.
4539 * sunrpc/rpc/clnt.h: Likewise.
4540 * sunrpc/rpc/netdb.h: Likewise.
4541 * sunrpc/rpc/pmap_clnt.h: Likewise.
4542 * sunrpc/rpc/xdr.h: Likewise.
4543 * sysdeps/generic/inttypes.h: Likewise.
4544 * sysdeps/generic/net/if.h: Likewise.
4545 * sysdeps/generic/sys/swap.h: Likewise.
4546 * sysdeps/gnu/net/if.h: Likewise.
4547 * sysdeps/gnu/utmpx.h: Likewise.
4548 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4549 * sysdeps/i386/i486/bits/string.h: Likewise.
4550 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4551 * sysdeps/s390/bits/string.h: Likewise.
4552 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4553 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4554 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4555 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4556 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4557 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4558 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4559 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4560 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4561 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4562 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4563 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4564 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4565 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4566 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4567 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4568 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4569 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4570 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4571 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4572 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4573 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4574 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4575 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4576 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4577 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4578 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4579 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4580 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4581 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4582 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4583 * sysvipc/sys/ipc.h: Likewise.
4584 * sysvipc/sys/msg.h: Likewise.
4585 * sysvipc/sys/sem.h: Likewise.
4586 * sysvipc/sys/shm.h: Likewise.
4587 * termios/termios.h: Likewise.
4588 * time/sys/time.h: Likewise.
4589 * time/time.h: Likewise.
4590 * wcsmbs/bits/wchar2.h: Likewise.
4591 * wcsmbs/uchar.h: Likewise.
4592 * wcsmbs/wchar.h: Likewise.
4593 * wctype/wctype.h: Likewise.
4594
4595 [BZ #13551]
4596 * Makeconfig: Remove all but ELF support including AIX support.
4597 * Makerules: Likewise.
4598 * config.h.in: Likewise.
4599 * config.make.in: Likewise.
4600 * configure: Likewise.
4601 * configure.in: Likewise.
4602 * csu/Makefile: Likewise.
4603 * csu/version.c: Likewise.
4604 * debug/Makefile: Likewise.
4605 * dlfcn/Makefile: Likewise.
4606 * elf/Makefile: Likewise.
4607 * extra-lib.mk: Likewise.
4608 * iconv/Makefile: Likewise.
4609 * include/libc-symbols.h: Likewise.
4610 * include/shlib-compat.h: Likewise.
4611 * resolv/Makefile: Likewise.
4612 * resolv/res_libc.c: Likewise.
4613 * rt/Makefile: Likewise.
4614 * sysdeps/i386/asm-syntax.h: Likewise.
4615 * sysdeps/i386/sysdep.h: Likewise.
4616 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4617 * sysdeps/mach/sysdep.h: Likewise.
4618 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4619 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4620 * sysdeps/s390/asm-syntax.h: Likewise.
4621 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4622 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4623 * sysdeps/sh/sysdep.h: Likewise.
4624 * sysdeps/unix/sparc/sysdep.h: Likewise.
4625 * sysdeps/wordsize-32/divdi3.c: Likewise.
4626 * sysdeps/x86_64/sysdep.h: Likewise.
4627
4628 * argp/Versions: Remove _argp_unlock_xxx.
4629
4630 [BZ #13559]
4631 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4632 * abilist/libBrokenLocale.abilist: Likewise.
4633 * abilist/libanl.abilist: Likewise.
4634 * abilist/libc.abilist: Likewise.
4635 * abilist/libcrypt.abilist: Likewise.
4636 * abilist/libdl.abilist: Likewise.
4637 * abilist/libm.abilist: Likewise.
4638 * abilist/libnsl.abilist: Likewise.
4639 * abilist/libpthread.abilist: Likewise.
4640 * abilist/libresolv.abilist: Likewise.
4641 * abilist/librt.abilist: Likewise.
4642 * abilist/libthread_db.abilist: Likewise.
4643 * abilist/libutil.abilist: Likewise.
4644 * abilist/libnss_db.abilist: New file.
4645
4646 * scripts/abilist.awk: Add support for indirect functions.
4647
4648 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4649
4650 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4651
4652 * shlib-versions: Remove entries for ports architectures.
4653
4654 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4655 files in ports.
4656 * elf/stackguard-macros.h: Remove support for IA-64.
4657 * elf/tst-auditmod1.c: Likewise.
4658 * sysdeps/generic/ldsodefs.h: Likewise.
4659
4660 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4661 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4662 configure files.
4663
4664 [BZ #13552]
4665 * configure.in: Remove --enable-omitfp support.
4666 * FAQ.in: Adjust.
4667 * config.make.in: Likewise.
4668 * Makeconfig: Likewise.
4669 * manual/install.texi: Likewise.
4670
4671 In case anyone cares, the IA-64 architecture could move to ports.
4672 * sysdeps/ia64/*: Removed.
4673 * sysdeps/unix/sysv/linux/ia64/*: Removed.
4674 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
4675
4676 [BZ #13555]
4677 * configure.in: Remove entries for unsupported architectures.
4678
4679 [BZ #13533]
4680 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4681 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4682 routines.
4683 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4684 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4685 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4686 fall back to using wcrtomb.
4687 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4688 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4689 renaming.
4690 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4691 * wcsmbs/tst-c16c32-1.c: New file.
4692
4693 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4694 local variable.
4695
4696 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4697
4698 * elf/tst-unique3.cc: Add explicit declaration of gets.
4699 * elf/tst-unique3lib.cc: Likewise.
4700 * elf/tst-unique3lib2.cc: Likewise.
4701 * elf/tst-unique4.cc: Likewise.
4702
4703 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4704
47052012-01-06 Joseph Myers <joseph@codesourcery.com>
4706
4707 [BZ #13566]
4708 * assert/assert.h (static_assert): Don't define for C++.
4709 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4710 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4711
47122012-01-03 Ulrich Drepper <drepper@gmail.com>
4713
4714 * iconv/loop.c (single loop): Fix assertion in storing of
4715 remaining bytes.
4716
4717 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4718
47192012-01-01 Ulrich Drepper <drepper@gmail.com>
4720
4721 * posix/getconf.c: Update copyright year.
4722 * nss/getent.c: Likewise.
4723 * nss/makedb.c: Likewise.
4724 * iconv/iconvconfig.c: Likewise.
4725 * iconv/iconv_prog.c: Likewise.
4726 * elf/ldconfig.c: Likewise.
4727 * elf/pldd.c: Likewise.
4728 * elf/sotruss.ksh: Likewise.
4729 * catgets/gencat.c: Likewise.
4730 * csu/version.c: Likewise.
4731 * elf/ldd.bash.in: Likewise.
4732 * elf/sprof.c (print_version): Likewise.
4733 * locale/programs/locale.c: Likewise.
4734 * locale/programs/localedef.c: Likewise.
4735 * login/programs/pt_chown.c: Likewise.
4736 * nscd/nscd.c (print_version): Likewise.
4737 * debug/xtrace.sh: Likewise.
4738 * malloc/memusage.sh: Likewise.
4739 * malloc/mtrace.pl: Likewise.
4740 * debug/catchsegv.sh: Likewise.
4741
47422011-12-30 Jakub Jelinek <jakub@redhat.com>
4743
4744 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4745 pure attribute.
4746
47472011-12-24 Ulrich Drepper <drepper@gmail.com>
4748
4749 [BZ #13533]
4750 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4751 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4752 transformations.
4753 * iconv/gconv_int.h: Likewise.
4754 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4755 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4756 from libc for GLIBC_2.16.
4757 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4758 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4759 * wcsmbs/uchar.h: Really define mbstate_t.
4760 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4761 * wcsmbs/c16rtomb.c: New file.
4762 * wcsmbs/mbrtoc16.c: New file.
4763 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4764 for C/POSIX locale.
4765 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4766 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4767
4768 * wcsmbs/wchar.h: Add missing __restrict.
4769
47702011-12-23 Ulrich Drepper <drepper@gmail.com>
4771
4772 [BZ #13532]
4773 * time/Makefile (routines): Add timespec_get.
4774 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4775 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4776 timespec for ISO C11.
4777 * time/timespec_get.c: New file.
4778 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4779 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4780
4781 [BZ #13531]
4782 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4783 * stdlib/stdlib.h: Declare aligned_alloc.
4784 * Versions.def: Add GLIBC_2.16 for libc.
4785 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4786
4787 [BZ 13527]
4788 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4789 ISO C11.
4790
4791 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
4792 code.
4793
4794 [BZ #13528]
4795 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4796
4797 [BZ #13529]
4798 * assert/assert.h (static_assert): Define.
4799
4800 * version.h: Update for 2.16 development version.
4801
4802 [BZ #13526]
4803 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4804 _ISOC11_SOURCE.
4805
4806 * version.h (RELEASE): Bump for 2.15 release.
4807 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4808
4809 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4810 Patch by Marek Polacek <mpolacek@redhat.com>.
4811
4812 * bits/byteswap.h: Protect long long constants with __extension__.
4813 * sysdeps/i386/bits/byteswap.h: Likewise.
4814 * sysdeps/ia64/bits/byteswap.h: Likewise.
4815 * sysdeps/s390/bits/byteswap.h: Likewise.
4816 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4817
48182011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4819
4820 [BZ #13540]
4821 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4822 destination buffer.
4823 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4824
48252011-12-23 Marek Polacek <polacek@redhat.com>
4826
4827 * elf/dl-addr.c (determine_info): Add inline keyword.
4828 * elf/tst-auditmod4b.c (check_avx): Likewise.
4829 * elf/tst-auditmod6b.c (check_avx): Likewise.
4830 * elf/tst-auditmod6c.c (check_avx): Likewise.
4831 * elf/tst-auditmod7b.c (check_avx): Likewise.
4832
48332011-12-23 Ulrich Drepper <drepper@gmail.com>
4834
4835 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4836 !__SSE_MATH__.
4837
48382011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4839
4840 [BZ #13540]
4841 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4842 processing for last bytes.
4843
48442011-08-06 Bruno Haible <bruno@clisp.org>
4845
4846 [BZ #13061]
4847 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4848 U+0385, not to U+1FEE.
4849
4850 [BZ #13062]
4851 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4852 entry for U+00A5 U+0301.
4853
48542011-12-22 Ulrich Drepper <drepper@gmail.com>
4855
4856 [BZ #13166]
4857 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4858 buffer for the output is too small.
4859
4860 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4861 optimization.
4862
4863 [BZ #13185]
4864 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4865 SSE flags if possible.
4866
48672011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4868
4869 [BZ #13540]
4870 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4871 processing for last bytes.
4872
48732011-12-22 Joseph Myers <joseph@codesourcery.com>
4874
4875 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4876 (syscall-list-default-options, syscall-list-default-condition)
4877 (syscall-list-includes): Define.
4878 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4879 list of ABIs and options and #if conditions for each ABI. Do not
4880 handle common syscalls between ABIs specially.
4881 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4882 Remove.
4883 (syscall-list-variants, syscall-list-32bit-options)
4884 (syscall-list-32bit-condition, syscall-list-64bit-options)
4885 (syscall-list-64bit-condition): Define.
4886 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4887 (syscall-list-variants, syscall-list-32bit-options)
4888 (syscall-list-32bit-condition, syscall-list-64bit-options)
4889 (syscall-list-64bit-condition): Define.
4890 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4891 Remove.
4892 (syscall-list-variants, syscall-list-32bit-options)
4893 (syscall-list-32bit-condition, syscall-list-64bit-options)
4894 (syscall-list-64bit-condition): Define.
4895 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4896 Remove.
4897 (syscall-list-variants, syscall-list-32bit-options)
4898 (syscall-list-32bit-condition, syscall-list-64bit-options)
4899 (syscall-list-64bit-condition): Define.
4900
49012011-12-22 Ulrich Drepper <drepper@gmail.com>
4902
4903 * locale/iso-639.def: Add brx entry.
4904
4905 [BZ #13328]
4906 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4907 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4908
4909 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4910 __feraiseexcept_renamed.
4911
49122011-12-21 Ulrich Drepper <drepper@gmail.com>
4913
4914 [BZ #13538]
4915 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4916 EPOLLET with unsigned values.
4917 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4918 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4919
4920 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4921 to large cancellation.
4922 * math/s_cacoshf.c: Likewise.
4923 * math/s_cacoshl.c: Likewise.
4924
49252011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4926
4927 [BZ #13305]
4928 [BZ #12786]
4929 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4930 * math/s_cacoshf.c: Likewise.
4931 * math/s_cacoshl.c: Likewise.
4932
49332011-12-21 Ulrich Drepper <drepper@gmail.com>
4934
4935 [BZ #13439]
4936 * iconv/gconv.h: Define __GCONV_SWAP.
4937 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4938 * iconvdata/utf-16.c: Likewise.
4939 * iconvdata/utf-32.c: Likewise.
4940
49412011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4942
4943 [BZ #13524]
4944 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4945 numerator after shifting it by one limb.
4946
49472011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4948
4949 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4950 under [__USE_EXTERN_INLINES].
4951
49522011-12-17 Ulrich Drepper <drepper@gmail.com>
4953
4954 [BZ #13446]
4955 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4956
49572011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4958
4959 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4960 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4961 optimized code.
4962 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4963 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4964 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4965 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4966 for strncasecmp/strncasecmp_l compilation.
4967 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4968 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4969
49702011-12-08 Marek Polacek <mpolacek@redhat.com>
4971
4972 [BZ #13484]
4973 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4974 of __asm__.
4975
49762011-12-17 Ulrich Drepper <drepper@gmail.com>
4977
4978 [BZ #13506]
4979 * time/tzfile.c (__tzfile_read): Check values from file header.
4980
49812011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4982
4983 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4984 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4985 * powerpc/powerpc32/dl-start.S: Likewise.
4986 * powerpc/powerpc32/elf/start.S: Likewise.
4987 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4988 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4989 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4990 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4991 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4992 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4993 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4994 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4995 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4996 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4997 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4998 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4999 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5000 * powerpc/powerpc32/memset.S: Likewise.
5001 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5002 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5003 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5004 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5005 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5006 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5007 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5008 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5009 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
5010 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
5011 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
5012 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
5013 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
5014
50152011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5016
5017 * math/libm-test.inc: Added more nearbyint tests.
5018 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
5019 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
5020 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
5021 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
5022
50232011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
5024
5025 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
5026 FD_CLOEXEC.
5027
50282011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5029
5030 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
5031 Add wcscpy-ssse3 wcscpy-c.
5032 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
5033 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
5034 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
5035 * sysdeps/x86_64/wcschr.S: New file.
5036 * sysdeps/x86_64/wcsrchr.S: New file.
5037 * string/test-strcmp.c: Remove checking of wcscmp function for
5038 wrong alignments.
5039 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
5040 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
5041 wcsrchr-sse2 wcsrchr-c.
5042 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
5043 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
5044 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
5045 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
5046 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
5047 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
5048 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
5049 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
5050 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
5051 * wcsmbc/wcschr.c (WCSCHR): New macro.
5052
50532011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5054
5055 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
5056 * wcsmbs/test-wcsrchr.c: New file.
5057 * string/test-strrchr.c: Add wcsrchr support.
5058 (WIDE): New macro.
5059 * wcsmbs/test-wcscpy.c: New file.
5060 * string/test-strcpy.c: Add wcscpy support.
5061 (WIDE): New macro.
5062
50632011-12-10 Ulrich Drepper <drepper@gmail.com>
5064
5065 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
5066 the inner loop.
5067
50682011-12-06 Andreas Schwab <schwab@linux-m68k.org>
5069
5070 [BZ #13472]
5071 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
5072
50732011-12-04 Ulrich Drepper <drepper@gmail.com>
5074
5075 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
5076 Minor optimizations.
5077
5078 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
5079 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
5080 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
5081
50822011-12-03 Ulrich Drepper <drepper@gmail.com>
5083
5084 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
5085 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
5086 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
5087 for gcc to avoid warnings.
5088 * inet/Makefile (tests): Add tst-checks.
5089 * inet/tst-checks.c: New file.
5090
5091 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
5092 warning.
5093
5094 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
5095 __wmemcmp_sse2.
5096
5097 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
5098 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
5099
5100 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
5101
51022011-12-02 Ulrich Drepper <drepper@gmail.com>
5103
5104 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
5105 problem.
5106
5107 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
5108
51092011-11-29 Joseph Myers <joseph@codesourcery.com>
5110
5111 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
5112 conditional on GCC version.
5113 (__arch_compare_and_exchange_val_8_acq)
5114 (__arch_compare_and_exchange_val_16_acq)
5115 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
5116 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
5117 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
5118
51192011-12-02 Joseph Myers <joseph@codesourcery.com>
5120
5121 * sysdeps/sh/backtrace.c: New file.
5122
51232011-12-02 Andreas Schwab <schwab@redhat.com>
5124
5125 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
5126 parenthesis.
5127
51282011-12-01 Andreas Schwab <schwab@redhat.com>
5129
5130 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
5131 falling back to utime.
5132
51332011-11-30 Andreas Schwab <schwab@redhat.com>
5134
5135 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
5136 expectations for float.
5137
51382011-11-29 Andreas Schwab <schwab@redhat.com>
5139
5140 * locale/weight.h (findidx): Add parameter len.
5141 * locale/weightwc.h (findidx): Likewise.
5142 * posix/fnmatch_loop.c (FCT): Adjust caller.
5143 * posix/regcomp.c (build_equiv_class): Likewise.
5144 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
5145 * posix/regexec.c (check_node_accept_bytes): Likewise.
5146 * string/strcoll_l.c (STRCOLL): Likewise.
5147 * string/strxfrm_l.c (STRXFRM): Likewise.
5148
51492011-11-17 Ulrich Drepper <drepper@gmail.com>
5150
5151 * Makefile.in: Remove CVSOPT handling.
5152 * configure.in: Remove use of AC_REVISION.
5153 * iconvdata/Makefile (distribute): No need to filter out CVS.
5154 * scripts/list-sources.sh: Remove CVS, subversion and monotone
5155 handling.
5156
51572011-11-16 Andreas Schwab <schwab@redhat.com>
5158
5159 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
5160 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
5161 [USE_AS_STRNCASECMP_L]: Likewise.
5162 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
5163 NO_TLS_DIRECT_SEG_REFS.
5164 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
5165 Fix argument offsets for non-PIC.
5166 [USE_AS_STRNCASECMP_L]: Likewise.
5167 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
5168 NO_TLS_DIRECT_SEG_REFS.
5169
51702011-11-15 Ulrich Drepper <drepper@gmail.com>
5171
5172 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
5173 O_CLOEXEC.
5174 * locale/loadlocale.c (_nl_load_locale): Likewise.
5175
51762011-11-15 Andreas Schwab <schwab@redhat.com>
5177
5178 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
5179 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
5180 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
5181 (SYSCALL_GETTIME): Set errno on error.
5182
5183 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
5184 count references to noai6ai_cached.
5185
51862011-11-15 Ulrich Drepper <drepper@gmail.com>
5187
5188 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
5189
5190 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
5191 FD_CLOEXEC for /proc/self/maps.
5192
5193 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
5194 FD_CLOEXEC for /proc/meminfo.
5195
5196 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
5197 gai.conf.
5198
5199 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
5200 FD_CLOEXEC for given file.
5201
5202 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
5203
5204 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
5205 FD_CLOEXEC for /etc/hosts.
5206 (_gethtent): Likewise.
5207
5208 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
5209
5210 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
5211 cancellation and set FD_CLOEXEC for /etc/netgroup.
5212
5213 * nss/nss_files/files-key.c (search): Don't allow cancellation when
5214 reading /etc/publickey.
5215
5216 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
5217 allow cancellation when reading /etc/group.
5218
5219 * nss/nss_files/files-alias.c (internal_setent): Don't allow
5220 cancellation.
5221 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
5222
5223 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
5224 when using data file.
5225
5226 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
5227
5228 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
5229 (write_nis_obj): Use "c" and "e" in fopen.
5230
5231 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
5232
5233 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
5234
5235 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
5236
5237 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
5238
5239 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
5240 locale.alias.
5241
5242 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
5243
5244 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
5245
5246 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
5247
5248 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
5249 file parsing and set FD_CLOEXEC.
5250
52512011-11-14 Ulrich Drepper <drepper@gmail.com>
5252
5253 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
5254
52552011-11-14 Andreas Schwab <schwab@redhat.com>
5256
5257 * malloc/arena.c (arena_get2): Don't call reused_arena when
5258 _int_new_arena failed.
5259
52602011-11-14 Ulrich Drepper <drepper@gmail.com>
5261
5262 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
5263 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
5264 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
5265 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5266 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
5267 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
5268 to compile strcasecmp and strncasecmp.
5269 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
5270 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
5271
5272 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
5273
52742011-11-13 Ulrich Drepper <drepper@gmail.com>
5275
5276 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
5277 locale-defines.sym to gen-as-const-headers.
5278 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
5279 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
5280 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
5281 to compile strcasecmp and strncasecmp.
5282 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
5283 strcasecmp_l and strncasecmp_l.
5284 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
5285 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
5286 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
5287 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
5288 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
5289 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
5290 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
5291 * sysdeps/i386/i686/multiarch/strncase.S: New file.
5292 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
5293 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
5294 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
5295
52962011-11-12 Ulrich Drepper <drepper@gmail.com>
5297
5298 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
5299 result of SYSDEP_GETTIME_CPU to retval.
5300 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
5301 parameter list to macro. Remove trailing semicolon. Adjust users.
5302
5303 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
5304 variable.
5305
5306 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
5307 mantissa words.
5308 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
5309
5310 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
5311 from unused variable.
5312
5313 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
5314 DWARF definitions.
5315 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
5316 for assembling.
5317
5318 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5319 over namespaces.
5320
5321 * sunrpc/rpc_prot.c (rejected): Fix case value.
5322
5323 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5324 unsigned long long int to avoid warnings in shift.
5325
5326 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5327 of use of trans.
5328 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5329 variable tmp.
5330
5331 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5332 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5333 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5334
5335 * nis/nis_table.c (nis_list): Use variable of correct type for
5336 result of __follow_path call.
5337
53382011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5339
5340 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5341 of math functions ceil, trunc, floor, round, and sqrt, when
5342 avaliable on the platform.
5343 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5344 name clash.
5345 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5346 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5347 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5348
53492011-10-30 Marek Polacek <mpolacek@redhat.com>
5350
5351 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5352 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5353
53542011-11-11 Roland McGrath <roland@hack.frob.com>
5355
5356 * include/unistd.h: Fix __readlink return type.
5357 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5358
53592011-11-11 Ulrich Drepper <drepper@gmail.com>
5360
5361 * stdlib/ucontext.h: Undo last change for makecontext.
5362
53632011-11-11 Andreas Schwab <schwab@redhat.com>
5364
5365 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5366
5367 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5368 * setjmp/setjmp.h: Mark functions as non-leaf.
5369 * setjmp/bits/setjmp2.h: Likewise.
5370 * stdlib/ucontext.h: Likewise.
5371
53722011-11-10 Andreas Schwab <schwab@redhat.com>
5373
5374 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5375 (reused_arena): Don't check arena limit.
5376 (arena_get2): Atomically check arena limit.
5377
53782011-11-08 Ulrich Drepper <drepper@gmail.com>
5379
5380 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5381 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5382
5383 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5384 instructions.
5385
53862011-11-07 Andreas Schwab <schwab@redhat.com>
5387
5388 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5389 handler when locking.
5390
5391 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5392 Fix size of allocated buffer.
5393
53942011-11-04 Andreas Schwab <schwab@redhat.com>
5395
5396 [BZ #10103]
5397 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5398 declarations for long double functions.
5399 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5400
5401 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5402
54032011-11-03 Andreas Schwab <schwab@redhat.com>
5404
5405 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5406 installed.
5407
5408 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5409 is disabled.
5410
54112011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5412
5413 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5414
54152011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5416
5417 * include/alloca.h (stackinfo_alloca_round): Define.
5418 (extend_alloca): Use it.
5419 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5420 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5421 here.
5422
5423 * scripts/check-local-headers.sh: Ignore libaudit.h.
5424
5425 * nscd/Makefile (extra-objs): Make recursively expanded.
5426
54272011-11-01 Ulrich Drepper <drepper@gmail.com>
5428
5429 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5430 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5431
5432 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5433 * posix/tst-rfc3484-2.c: Likewise.
5434 * posix/tst-rfc3484-3.c: Likewise.
5435
5436 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5437 process_vm_writev.
5438 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5439 process_vm_writev.
5440 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5441 process_vm_writev from libc using GLIBC_2.15 version.
5442
5443 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5444
54452011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5446
5447 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5448 stack usage.
5449
54502011-10-31 Ulrich Drepper <drepper@gmail.com>
5451
5452 [BZ #13367]
5453 * nss/getent.c (initgroups_keys): Show error message in case no group
5454 names are given.
5455
5456 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5457 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5458 __bump_nl_timestamp.
5459 * nscd/connections (nscd_init): When host database is served open
5460 netlink socket and request notification about configuration changes.
5461 (main_loop_poll): Track netlink file descriptor and bump timestamp
5462 in case data becomes available.
5463 (main_loop_epoll): Likewise.
5464 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5465 (database_pers_head): Add extra_data fileds.
5466 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5467 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5468 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5469 Adjust caller.
5470 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5471 in6ai data, call __free_in6ai.
5472 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5473 Add -DHAVE_NETLINK.
5474 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5475 interface information. Reuse previous data if netlink timestamp
5476 is not changed.
5477 (__bump_nl_timestamp): New function.
5478 (__free_in6ai): New function.
5479
54802011-10-30 Ulrich Drepper <drepper@gmail.com>
5481
5482 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5483 close_not_cancel_no_status here.
5484 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5485
54862011-10-29 Ulrich Drepper <drepper@gmail.com>
5487
5488 [BZ #13276]
5489 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5490 return value.
5491
5492 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
5493 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5494 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5495
54962011-07-03 Andreas Jaeger <aj@suse.de>
5497
5498 [BZ #10709]
5499 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5500 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5501 * math/libm-test.inc (sin_test): Add test case.
5502
55032011-10-29 Ulrich Drepper <drepper@gmail.com>
5504
5505 [BZ #13337]
5506 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5507 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5508
5509 * elf/chroot_canon.c (chroot_canon): Cleanups.
5510
5511 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5512
5513 [BZ #13335]
5514 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5515 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5516
5517 * string/test-strchr.c: Make usable for strchrnul testing.
5518 * string/test-strchrnul.c: New file.
5519 * string/Makefile (strop-tests): Add strchrnul.
5520
5521 * po/it.po: Update from translation team.
5522 * po/es.po: Likewise.
5523
55242011-10-28 Ulrich Drepper <drepper@gmail.com>
5525
5526 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5527 the three constants needed as parameters. Drop the others.
5528 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5529 __m128i_strloadu_tolower.
5530 Create and initialize variable zero and use it in all the places
5531 where _mm_setzero_si128 was used.
5532
5533 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5534 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5535 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5536 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5537 anymore.
5538 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5539 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5540 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5541 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5542 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5543 __mpranred, __mptan.
5544 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5545 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5546 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5547 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5548 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5549 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5550 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5551 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5552 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5553
55542011-10-28 Andreas Schwab <schwab@redhat.com>
5555
5556 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5557 redefine if SHARED.
5558 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5559
5560 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5561 wide char related routines to wcsmbs subdir.
5562
55632011-10-27 Andreas Schwab <schwab@redhat.com>
5564
5565 [BZ #13344]
5566 * misc/sys/cdefs.h (__THROWNL): Define.
5567 * posix/unistd.h: Use __THREADNL instead of __THREAD
5568 for memory synchronization functions.
5569
55702011-10-26 Roland McGrath <roland@hack.frob.com>
5571
5572 [BZ #13349]
5573 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5574 doesn't exist.
5575 * manual/stdio.texi (Obstack Streams): Node removed.
5576
55772011-10-26 Andreas Schwab <schwab@redhat.com>
5578
5579 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5580 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5581 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5582
5583 * math/math_private.h (math_force_eval): Allow non-addressable
5584 arguments.
5585 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5586
55872011-10-25 Ulrich Drepper <drepper@gmail.com>
5588
5589 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5590 file is not needed.
5591
5592 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5593 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5594 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5595 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5596 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5597 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5598 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5599 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5600 Add AVX variants.
5601 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5602 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5603 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5604 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5605 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5606 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5607 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5608 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5609 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5610 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5611 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5612 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5613 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5614 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5615 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5616 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5617 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5618 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5619 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5620
5621 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5622 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5623
5624 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5625 place. Use VEX encoding when compiling for AVX.
5626
56272011-10-25 Andreas Schwab <schwab@redhat.com>
5628
5629 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5630 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5631
5632 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5633
56342011-10-25 Ulrich Drepper <drepper@gmail.com>
5635
5636 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
5637 useless if() expression.
5638 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5639 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5640 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5641 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5642 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5643 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5644 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5645 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5646 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5647 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5648 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5649 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5650 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5651 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5652 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5653 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5654 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5655 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5656 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5657
5658 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5659
56602011-10-25 Andreas Schwab <schwab@redhat.com>
5661
5662 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5663 condition.
5664 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5665
56662011-10-25 Ulrich Drepper <drepper@gmail.com>
5667
5668 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5669 .text section. Avoid duplicate constants.
5670 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5671 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5672 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5673 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5674 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5675 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5676 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5677 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5678 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5679 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5680 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5681 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5682 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5683 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5684 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5685 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5686 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5687 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5688 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5689 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5690 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5691 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5692 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5693 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5694 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5695 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5696 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5697 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5698 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5699 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5700 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5701 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5702 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5703 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5704 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5705 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5706 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5707 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5708 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5709 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5710 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5711 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5712 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5713 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5714 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5715
57162011-10-24 Ulrich Drepper <drepper@gmail.com>
5717
5718 * sysdeps/x86_64/dla.h: Move to ...
5719 * sysdeps/x86_64/fpu/dla.h: ...here.
5720 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5721 situations. Use __builtin_fma only for gcc 4.6 and up.
5722
5723 * config.make.in: Add have-mfma4 entry.
5724 * configure.in: Substitute libc_cv_cc_fma4.
5725 * math/Makefile (dbl-only-routines): Add sincostab.
5726 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5727 Use __sincostab not sincos.
5728 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5729 name is a macro.
5730 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5731 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5732 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5733 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5734 using __copysign.
5735 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5736 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5737 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5738 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5739 and __inv.
5740 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5741 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5742 __copysign.
5743 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5744 define aliases when function name is a macro.
5745 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5746 sysdeps/ieee754/dbl-64/sincos.tbl.
5747 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5748 fma4-enabled routines.
5749 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5750 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5751 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5752 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5753 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5754 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5755 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5756 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5757 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5758 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5759 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5760 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5761 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5762 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5763 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5764 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5765 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5766 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5767 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5768 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5769 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5770 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5771 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5772 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5773 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5774 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5775 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5776 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5777 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5778 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5779
5780 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5781 rename.
5782 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5783 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5784 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5785 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5786 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5787 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5788 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5789 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5790
57912011-10-24 Andreas Schwab <schwab@redhat.com>
5792
5793 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5794
57952011-10-23 Ulrich Drepper <drepper@gmail.com>
5796
5797 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5798
5799 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5800 prediction.
5801 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5802
5803 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5804 Remove unused variable magic_bits.
5805 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5806
5807 * string/strnlen.c: Define and use STRNLEN macro.
5808 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5809 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5810 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5811 * wcsmbs/wcslen.c: Define and use WCSLEN.
5812 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5813 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5814 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5815 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5816 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5817 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5818 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5819
58202011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5821
5822 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5823 strnlen-sse2-no-bsf.
5824 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5825 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5826 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5827 Add strnlen support.
5828 (USE_AS_STRNLEN): New macro.
5829 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5830 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5831 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5832 * sysdeps/x86_64/wcslen.S: New file.
5833
58342011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5835
5836 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5837 XMM-moves are used for copying on small sizes.
5838
58392011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5840
5841 * wcsmbs/Makefile (strop-tests): Add wcschr.
5842 * wcsmbs/test-wcschr.c: New file.
5843 * string/test-strchr.c: Update.
5844 Add wcschr support.
5845 (WIDE): New macro.
5846
58472011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5848
5849 * wcsmbs/Makefile (strop-tests): Add wcslen.
5850 * wcsmbs/test-wcslen.c: New file.
5851 * string/test-strlen.c: Update.
5852 Add wcslen support.
5853 (WIDE): New macro.
5854
58552011-10-23 Ulrich Drepper <drepper@gmail.com>
5856
5857 * po/it.po: Update from translation team.
5858
58592011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5860
5861 * sysdeps/x86_64/wcscmp.S: Update.
5862 Fix wrong comparison semantics.
5863 wcscmp shall use signed comparison not unsigned.
5864 Don't use substraction to avoid overflow bug.
5865 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5866 * wcsmbc/wcscmp.c: Likewise.
5867 * string/test-strcmp.c: Likewise.
5868 Add new tests to check cases with negative values.
5869
58702011-10-23 Ulrich Drepper <drepper@gmail.com>
5871
5872 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5873 * sysdeps/x86_64/dla.h: ...here. New file.
5874 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5875 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5876 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5877 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5878 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5879 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5880 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5881 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5882 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5883
58842011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5885
5886 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5887 __ynl_finite aliases.
5888
58892011-10-22 Ulrich Drepper <drepper@gmail.com>
5890
5891 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5892
5893 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5894 define DLA_FMA.
5895 [DLA_FMA] (EMULV): Use DLA_FMA.
5896 [DLA_FMA] (MUL12): Use EMULV.
5897 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5898 that are not needed.
5899 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5900 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5901 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5902 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5903 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5904 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5905 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5906
59072011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5908
5909 * math/s_nan.c: Undef __nan.
5910 * math/s_nanf.c: Undef __nanf.
5911 * math/s_nanl.c: Undef __nanl.
5912 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5913 "math_private.h".
5914
59152011-10-22 Ulrich Drepper <drepper@gmail.com>
5916
5917 * math/s_catan.c: Add branch predictions.
5918 * math/s_catanf.c: Likewise.
5919 * math/s_catanh.c: Likewise.
5920 * math/s_catanhf.c: Likewise.
5921 * math/s_catanhl.c: Likewise.
5922 * math/s_catanl.c: Likewise.
5923 * math/s_cexp.c: Likewise.
5924 * math/s_cexpf.c: Likewise.
5925 * math/s_cexpl.c: Likewise.
5926 * math/s_clog.c: Likewise.
5927 * math/s_clog10.c: Likewise.
5928 * math/s_clog10f.c: Likewise.
5929 * math/s_clog10l.c: Likewise.
5930 * math/s_clogf.c: Likewise.
5931 * math/s_clogl.c: Likewise.
5932 * math/s_csqrt.c: Likewise.
5933 * math/s_csqrtf.c: Likewise.
5934 * math/s_csqrtl.c: Likewise.
5935 * math/s_ctanf.c: Likewise.
5936 * math/s_ctanh.c: Likewise.
5937 * math/s_ctanhf.c: Likewise.
5938 * math/s_ctanhl.c: Likewise.
5939 * math/s_ctanl.c: Likewise.
5940
5941 * math/math_private.h: Define __nan, __nanf, __nanl.
5942 * math/s_cacosh.c: Include <math_private.h>.
5943 * math/s_cacoshl.c: Likewise.
5944 * math/s_casinh.c: Likewise.
5945 * math/s_casinhf.c: Likewise.
5946 * math/s_casinhl.c: Likewise.
5947 * math/s_ccos.c: Rely entire on ccosh.
5948 * math/s_ccosf.c: Rely entire on ccoshf.
5949 * math/s_ccosl.c: Rely entirely on ccoshl.
5950 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5951 Remove tests for FE_INVALID.
5952 * math/s_ccoshf.c: Likewise.
5953 * math/s_ccoshl.c: Likewise.
5954 * math/s_csin.c: Likewise.
5955 * math/s_csinf.c: Likewise.
5956 * math/s_csinh.c Likewise.
5957 * math/s_csinhf.c: Likewise.
5958 * math/s_csinhl.c: Likewise.
5959 * math/s_csinl.c: Likewise.
5960 * math/s_ctan.c: Likewise.
5961 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5962 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5963 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5964
59652011-10-21 Ulrich Drepper <drepper@gmail.com>
5966
5967 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5968 compilation problems.
5969
5970 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5971 __builtin_expect.
5972
59732011-10-20 Ulrich Drepper <drepper@gmail.com>
5974
5975 * sysdeps/i386/configure.in: Test for -mfma4 option.
5976 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5977 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5978 COMMON_CPUID_INDEX_80000001.
5979 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5980 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5981 use it if FMA3 is not supported.
5982 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5983
5984 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5985 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5986
59872011-10-20 Andreas Schwab <schwab@redhat.com>
5988
5989 [BZ #12892]
5990 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5991 it would create a cycle with a link time dependency.
5992
59932011-10-19 Ulrich Drepper <drepper@gmail.com>
5994
5995 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5996 instruction.
5997 * string/Makefile (strop-tests): Add rawmemchr.
5998 * string/test-rawmemchr.c: New file.
5999
6000 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
6001 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
6002 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
6003 when compiling str{,n}casecmp and when AVX is available. Hook up
6004 new optimized code in initializers.
6005
60062011-10-19 Andreas Schwab <schwab@redhat.com>
6007
6008 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
6009 __feraiseexcept instead of feraiseexcept.
6010
60112011-10-18 Ulrich Drepper <drepper@gmail.com>
6012
6013 * math/math_private.h: Define defaults for libc_fetestexcept and
6014 libc_feupdateenv.
6015 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
6016 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
6017 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6018 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6019 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
6020 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6021 libc_fetestexcept and libc_feupdateenv.
6022
6023 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
6024 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
6025 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
6026 * sysdeps/x86_64/fpu/math_private.h: Define special version of
6027 libc_feholdexcept_setround.
6028
6029 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
6030 Add s_nearbyint-c and s_nearbyintf-c.
6031 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
6032 nearbyintf inlines.
6033 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
6034 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
6035 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
6036 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
6037
6038 * math/math_private.h: Define defaults for libc_fegetround,
6039 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
6040 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
6041 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
6042 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
6043 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
6044 standard functions.
6045 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6046 Remove comments and hacks for old compiler versions.
6047 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
6048 libc_fegetround, libc_fesetround, libc_feholdexcept, and
6049 libc_feholdexceptl.
6050
60512011-10-18 Andreas Schwab <schwab@redhat.com>
6052
6053 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
6054 (__feraiseexcept_renamed): Add __NTH.
6055 (feraiseexcept): Add __NTH. Rename local variables to fix
6056 namespace violations.
6057
60582011-10-17 Ulrich Drepper <drepper@gmail.com>
6059
6060 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
6061
6062 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
6063
6064 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
6065 recently added interfaces.
6066 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
6067
6068 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
6069 about macro parameter expansion.
6070
6071 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
6072 __NO_MATH_INLINES is defined. Cleanups.
6073
6074 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
6075 and __floorf is target has SSE4.1.
6076 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
6077 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
6078 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
6079 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
6080
6081 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
6082 name.
6083 (floorf): Likewise.
6084
6085 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
6086
60872011-10-17 Andreas Schwab <schwab@redhat.com>
6088
6089 * misc/sys/cdefs.h: Fix last change.
6090
6091 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
6092 database lookup.
6093
60942011-10-16 Ulrich Drepper <drepper@gmail.com>
6095
6096 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
6097
6098 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
6099 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6100 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6101 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
6102 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6103 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
6104 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
6105 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
6106 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
6107 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
6108 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
6109 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
6110 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
6111 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
6112 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
6113 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
6114 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
6115 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
6116 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
6117 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
6118 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
6119 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
6120
6121 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
6122 ceil, ceilf, floor, floorf.
6123
6124 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
6125 Perform IRELATIVE relocations last.
6126
6127 * elf/do-rel.h: Add another parameter nrelative, replacing the
6128 local variable with the same name. Change name of the function
6129 to end in Rel or Rela (uppercase).
6130 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
6131 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
6132 elf_dynamic_do_##reloc function.
6133
61342011-10-15 Ulrich Drepper <drepper@gmail.com>
6135
6136 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
6137 is sufficient, at least on modern CPUs.
6138
6139 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
6140
6141 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
6142 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
6143
6144 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
6145 __expl_finite.
6146 * math/bits/math-finite.h: Add entries for exp.
6147 * math/e_expl.c: Add __*_finite alias.
6148 * sysdeps/i386/fpu/e_exp.S: Likewise.
6149 * sysdeps/i386/fpu/e_expf.S: Likewise.
6150 * sysdeps/i386/fpu/e_expl.c: Likewise.
6151 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
6152 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
6153 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6154 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6155 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
6156 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6157 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6158
6159 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
6160 is sufficient, at least on modern CPUs.
6161
6162 * ctype/ctype-info.c (__ctype_init): Define.
6163 * include/ctype.h (__ctype_init): Declare.
6164 (__ctype_b_loc): The variable is always initialized.
6165 (__ctype_toupper_loc): Likewise.
6166 (__ctype_tolower_loc): Likewise.
6167 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
6168 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
6169
61702011-10-15 Andreas Schwab <schwab@linux-m68k.org>
6171
6172 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
6173
6174 * configure.in: Also look in $cxxmachine/include for C++ system
6175 headers.
6176
61772011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6178
6179 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
6180 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
6181 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
6182 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
6183 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
6184 (USE_AS_WMEMCMP): New macro.
6185 Fixing indents.
6186 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
6187 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
6188 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
6189 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
6190 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6191 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
6192 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
6193 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
6194 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
6195 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
6196 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
6197 (USE_AS_WMEMCMP): New macro.
6198 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
6199 * sysdeps/string/test-memcmp.c: Update.
6200 Fix simple_wmemcmp.
6201 Add new tests.
6202 * wcsmbs/wmemcmp.c: Update.
6203 (WMEMCMP): New macro.
6204 Fix overflow bug.
6205
62062011-10-12 Andreas Jaeger <aj@suse.de>
6207
6208 [BZ #13268]
6209 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
6210
62112011-10-15 Ulrich Drepper <drepper@gmail.com>
6212
6213 * libio/iofwide.c (do_length): Avoid warning.
6214
6215 * ctype/ctype.h (__isctype_f): Add missing __THROW.
6216
62172011-10-14 Ulrich Drepper <drepper@gmail.com>
6218
6219 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
6220
6221 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
6222 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
6223 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
6224 * sysdeps/i386/i686/fpu/e_log.S: New file.
6225 * sysdeps/i386/i686/fpu/e_logf.S: New file.
6226 * sysdeps/i386/i686/fpu/e_logl.S: New file.
6227
6228 * ctype/ctype.h: Add support for inlined isXXX functions when
6229 compiling C++ code.
6230
62312011-10-14 Andreas Schwab <schwab@redhat.com>
6232
6233 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6234
6235 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
6236
62372011-10-13 Roland McGrath <roland@hack.frob.com>
6238
6239 [BZ #13291]
6240 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
6241
62422011-10-13 Andreas Schwab <schwab@redhat.com>
6243
6244 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
6245 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
6246 feraiseexcept.
6247
6248 * sysdeps/x86_64/memrchr.S: Check for zero size.
6249
6250 * string/stratcliff.c: Add memrchr tests.
6251
62522011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6253
6254 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6255 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
6256 rawmemchr-sse2 rawmemchr-sse2-bsf.
6257 * sysdeps/i386/i686/multiarch/memchr.S: New file.
6258 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
6259 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
6260 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
6261 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
6262 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
6263 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
6264 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
6265 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
6266 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
6267 * string/memrchr.c (MEMRCHR): New macro.
6268
62692011-10-12 Ulrich Drepper <drepper@gmail.com>
6270
6271 Add integration with gcc's -ffinite-math-only and optimize wrapper
6272 functions in libm.
6273 * Versions.def: Define GLIBC_2.15 version for libm.
6274 * math/Makefile (headers): Add bits/math-finite.h.
6275 * math/bits/math-finite.h: New file.
6276 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
6277 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
6278 * math/e_acoshl.c: Add __*_finite alias.
6279 * math/e_acosl.c: Likewise.
6280 * math/e_asinl.c: Likewise.
6281 * math/e_atan2l.c: Likewise.
6282 * math/e_atanhl.c: Likewise.
6283 * math/e_coshl.c: Likewise.
6284 * math/e_exp10.c: Likewise.
6285 * math/e_exp10f.c: Likewise.
6286 * math/e_exp10l.c: Likewise.
6287 * math/e_exp2l.c: Likewise.
6288 * math/e_fmodl.c: Likewise.
6289 * math/e_gammal_r.c: Likewise.
6290 * math/e_hypotl.c: Likewise.
6291 * math/e_j0l.c: Likewise.
6292 * math/e_j1l.c: Likewise.
6293 * math/e_jnl.c: Likewise.
6294 * math/e_lgammal_r.c: Likewise.
6295 * math/e_log10l.c: Likewise.
6296 * math/e_log2l.c: Likewise.
6297 * math/e_logl.c: Likewise.
6298 * math/e_powl.c: Likewise.
6299 * math/e_sinhl.c: Likewise.
6300 * math/e_sqrtl.c: Likewise.
6301 * math/e_scalb.c: Completely rewritten and optimized.
6302 * math/e_scalbf.c: Likewise.
6303 * math/e_scalbl.c: Likewise.
6304 * math/w_acos.c: Likewise.
6305 * math/w_acosf.c: Likewise.
6306 * math/w_acosl.c: Likewise.
6307 * math/w_acosh.c: Likewise.
6308 * math/w_acoshf.c: Likewise.
6309 * math/w_acoshl.c: Likewise.
6310 * math/w_asin.c: Likewise.
6311 * math/w_asinf.c: Likewise.
6312 * math/w_asinl.c: Likewise.
6313 * math/w_atan2.c: Likewise.
6314 * math/w_atan2f.c: Likewise.
6315 * math/w_atan2l.c: Likewise.
6316 * math/w_atanh.c: Likewise.
6317 * math/w_atanhf.c: Likewise.
6318 * math/w_atanhl.c: Likewise.
6319 * math/w_exp10.c: Likewise.
6320 * math/w_exp10f.c: Likewise.
6321 * math/w_exp10l.c: Likewise.
6322 * math/w_fmod.c: Likewise.
6323 * math/w_fmodf.c: Likewise.
6324 * math/w_fmodl.c: Likewise.
6325 * math/w_j0.c: Likewise.
6326 * math/w_j0f.c: Likewise.
6327 * math/w_j0l.c: Likewise.
6328 * math/w_j1.c: Likewise.
6329 * math/w_j1f.c: Likewise.
6330 * math/w_j1l.c: Likewise.
6331 * math/w_jn.c: Likewise.
6332 * math/w_jnf.c: Likewise.
6333 * math/w_log.c: Likewise.
6334 * math/w_logf.c: Likewise.
6335 * math/w_logl.c: Likewise.
6336 * math/w_log10.c: Likewise.
6337 * math/w_log10f.c: Likewise.
6338 * math/w_log10l.c: Likewise.
6339 * math/w_log2.c: Likewise.
6340 * math/w_log2f.c: Likewise.
6341 * math/w_log2l.c: Likewise.
6342 * math/w_pow.c: Likewise.
6343 * math/w_powf.c: Likewise.
6344 * math/w_powl.c: Likewise.
6345 * math/w_remainder.c: Likewise.
6346 * math/w_remainderf.c: Likewise.
6347 * math/w_remainderl.c: Likewise.
6348 * math/w_scalb.c: Likewise.
6349 * math/w_scalbf.c: Likewise.
6350 * math/w_scalbl.c: Likewise.
6351 * math/w_sqrt.c: Likewise.
6352 * math/w_sqrtf.c: Likewise.
6353 * math/w_sqrtl.c: Likewise.
6354 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6355 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6356 used.
6357 * math/math_private.h: Declare __kernel_standard_f.
6358 * math/w_cosh.c: Remove cruft and optimize a bit.
6359 * math/w_coshf.c: Likewise.
6360 * math/w_coshl.c: Likewise.
6361 * math/w_exp2.c: Likewise.
6362 * math/w_exp2f.c: Likewise.
6363 * math/w_exp2l.c: Likewise.
6364 * math/w_hypot.c: Likewise.
6365 * math/w_hypotf.c: Likewise.
6366 * math/w_hypotl.c: Likewise.
6367 * math/w_lgamma.c: Likewise.
6368 * math/w_lgamma_r.c: Likewise.
6369 * math/w_lgammaf.c: Likewise.
6370 * math/w_lgammaf_r.c: Likewise.
6371 * math/w_lgammal.c: Likewise.
6372 * math/w_lgammal_r.c: Likewise.
6373 * math/w_sinh.c: Likewise.
6374 * math/w_sinhf.c: Likewise.
6375 * math/w_sinhl.c: Likewise.
6376 * math/w_tgamma.c: Likewise.
6377 * math/w_tgammaf.c: Likewise.
6378 * math/w_tgammal.c: Likewise.
6379 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6380 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6381 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6382 Minor optimizations. Pretty printing. Remove cruft.
6383 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6384 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6385 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6386 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6387 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6388 * sysdeps/i386/fpu/e_asin.S: Likewise.
6389 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6390 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6391 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6392 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6393 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6394 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6395 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6396 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6397 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6398 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6399 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6400 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6401 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6402 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6403 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6404 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6405 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6406 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6407 * sysdeps/i386/fpu/e_log.S: Likewise.
6408 * sysdeps/i386/fpu/e_log10.S: Likewise.
6409 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6410 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6411 * sysdeps/i386/fpu/e_log2.S: Likewise.
6412 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6413 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6414 * sysdeps/i386/fpu/e_logf.S: Likewise.
6415 * sysdeps/i386/fpu/e_logl.S: Likewise.
6416 * sysdeps/i386/fpu/e_pow.S: Likewise.
6417 * sysdeps/i386/fpu/e_powf.S: Likewise.
6418 * sysdeps/i386/fpu/e_powl.S: Likewise.
6419 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6420 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6421 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6422 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6423 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6424 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6425 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6426 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6427 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6428 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6429 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6430 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6431 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6432 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6433 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6434 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6435 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6436 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6437 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6438 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6439 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6440 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6441 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6442 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6443 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6444 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6445 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6446 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6447 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6448 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6449 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6450 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6451 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6452 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6453 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6454 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6455 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6456 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6457 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6458 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6459 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6460 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6461 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6462 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6463 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6464 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6465 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6466 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6467 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6468 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6469 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6470 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6471 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6472 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6473 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6474 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6475 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6476 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6477 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6478 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6479 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6480 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6481 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6482 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6483 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6484 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6485 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6486 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6487 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6488 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6489 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6490 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6491 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6492 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6493 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6494 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6495 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6496 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6497 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6498 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6499 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6500 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6501 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6502 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6503 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6504 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6505 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6506 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6507 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6508 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6509 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6510 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6511 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6512 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6513 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6514 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6515 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6516 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6517 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6518 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6519 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6520 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6521 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6522 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6523 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6524 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6525 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6526 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6527 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6528 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6529 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6530 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6531 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6532 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6533 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6534 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6535 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6536 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6537 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6538 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6539 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6540 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6541 (__isnanf): Likewise.
6542 (__isinf_ns): Likewise.
6543 (__isinf_nsf): Likewise.
6544 (__finite): Likewise.
6545 (__finitef): Likewise.
6546 (__ieee754_sqrt): Define as macro.
6547 (__ieee754_sqrtf): Define as macro.
6548 (__ieee754_sqrtl): Define as macro.
6549 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6550 inlined copy.
6551 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6552 __FINITE_MATH_ONLY__ consistent.
6553 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6554
65552011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6556
6557 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6558 of rawmemchr.
6559
6560 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6561
65622011-10-09 Ulrich Drepper <drepper@gmail.com>
6563
6564 * po/ja.po: Update from translation team.
6565
65662011-10-08 Roland McGrath <roland@hack.frob.com>
6567
6568 * locale/programs/locarchive.c (prepare_address_space): New function.
6569 (create_archive, enlarge_archive, open_archive): Use it.
6570
6571 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6572 inside [SHARED], where it is used.
6573
6574 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6575
6576 * nss/getent.c (netgroup_keys): Remove unused variable.
6577 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6578
65792011-10-08 Ulrich Drepper <drepper@gmail.com>
6580
6581 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6582 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6583 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6584 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6585 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6586 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6587 * math/Makefile (libm-calls): Add s_isinf_ns.
6588 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6589 * math/multc3.c: Likewise.
6590 * math/s_casin.c: Likewise.
6591 * math/s_casinf.c: Likewise.
6592 * math/s_casinl.c: Likewise.
6593 * math/s_ccos.c: Likewise.
6594 * math/s_ccosf.c: Likewise.
6595 * math/s_ccosl.c: Likewise.
6596 * math/s_ctan.c: Likewise.
6597 * math/s_ctanf.c: Likewise.
6598 * math/s_ctanh.c: Likewise.
6599 * math/s_ctanhf.c: Likewise.
6600 * math/s_ctanhl.c: Likewise.
6601 * math/s_ctanl.c: Likewise.
6602 * math/w_fmod.c: Likewise.
6603 * math/w_fmodf.c: Likewise.
6604 * math/w_fmodl.c: Likewise.
6605 * math/w_remainder.c: Likewise.
6606 * math/w_remainderf.c: Likewise.
6607 * math/w_remainderl.c: Likewise.
6608 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6609 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6610 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6611 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6612 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6613 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6614 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6615 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6616
6617 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6618 of the number.
6619 * stdio-common/printf_fphex.c: Likewise.
6620 * stdio-common/printf_size.c: Likewise.
6621
6622 * math/e_exp10.c: Include math_private.h using <...> not "...".
6623 * math/e_exp10f.c: Likewise.
6624 * math/e_exp10l.c: Likewise.
6625 * math/e_exp2l.c: Likewise.
6626 * math/e_j0l.c: Likewise.
6627 * math/e_j1l.c: Likewise.
6628 * math/e_jnl.c: Likewise.
6629 * math/e_lgammal_r.c: Likewise.
6630 * math/e_rem_pio2l.c: Likewise.
6631 * math/e_scalb.c: Likewise.
6632 * math/e_scalbf.c: Likewise.
6633 * math/e_scalbl.c: Likewise.
6634 * math/k_cosl.c: Likewise.
6635 * math/k_sinl.c: Likewise.
6636 * math/k_tanl.c: Likewise.
6637 * math/s_cacoshf.c: Likewise.
6638 * math/s_catan.c: Likewise.
6639 * math/s_catanf.c: Likewise.
6640 * math/s_catanh.c: Likewise.
6641 * math/s_catanhf.c: Likewise.
6642 * math/s_catanhl.c: Likewise.
6643 * math/s_catanl.c: Likewise.
6644 * math/s_ccosh.c: Likewise.
6645 * math/s_ccoshf.c: Likewise.
6646 * math/s_ccoshl.c: Likewise.
6647 * math/s_cexp.c: Likewise.
6648 * math/s_cexpf.c: Likewise.
6649 * math/s_cexpl.c: Likewise.
6650 * math/s_clog.c: Likewise.
6651 * math/s_clog10.c: Likewise.
6652 * math/s_clog10f.c: Likewise.
6653 * math/s_clog10l.c: Likewise.
6654 * math/s_clogf.c: Likewise.
6655 * math/s_clogl.c: Likewise.
6656 * math/s_csin.c: Likewise.
6657 * math/s_csinf.c: Likewise.
6658 * math/s_csinh.c: Likewise.
6659 * math/s_csinhf.c: Likewise.
6660 * math/s_csinhl.c: Likewise.
6661 * math/s_csinl.c: Likewise.
6662 * math/s_csqrt.c: Likewise.
6663 * math/s_csqrtf.c: Likewise.
6664 * math/s_csqrtl.c: Likewise.
6665 * math/s_ctan.c: Likewise.
6666 * math/s_ctanf.c: Likewise.
6667 * math/s_ctanh.c: Likewise.
6668 * math/s_ctanhf.c: Likewise.
6669 * math/s_ctanhl.c: Likewise.
6670 * math/s_ctanl.c: Likewise.
6671 * math/s_ldexp.c: Likewise.
6672 * math/s_ldexpf.c: Likewise.
6673 * math/s_ldexpl.c: Likewise.
6674 * math/s_significand.c: Likewise.
6675 * math/s_significandf.c: Likewise.
6676 * math/s_significandl.c: Likewise.
6677 * math/w_acos.c: Likewise.
6678 * math/w_acosf.c: Likewise.
6679 * math/w_acosh.c: Likewise.
6680 * math/w_acoshf.c: Likewise.
6681 * math/w_acoshl.c: Likewise.
6682 * math/w_acosl.c: Likewise.
6683 * math/w_asin.c: Likewise.
6684 * math/w_asinf.c: Likewise.
6685 * math/w_asinl.c: Likewise.
6686 * math/w_atan2.c: Likewise.
6687 * math/w_atan2f.c: Likewise.
6688 * math/w_atan2l.c: Likewise.
6689 * math/w_atanh.c: Likewise.
6690 * math/w_atanhf.c: Likewise.
6691 * math/w_atanhl.c: Likewise.
6692 * math/w_cosh.c: Likewise.
6693 * math/w_coshf.c: Likewise.
6694 * math/w_coshl.c: Likewise.
6695 * math/w_dremf.c: Likewise.
6696 * math/w_exp10.c: Likewise.
6697 * math/w_exp10f.c: Likewise.
6698 * math/w_exp10l.c: Likewise.
6699 * math/w_exp2.c: Likewise.
6700 * math/w_exp2f.c: Likewise.
6701 * math/w_fmod.c: Likewise.
6702 * math/w_fmodf.c: Likewise.
6703 * math/w_fmodl.c: Likewise.
6704 * math/w_hypot.c: Likewise.
6705 * math/w_hypotf.c: Likewise.
6706 * math/w_hypotl.c: Likewise.
6707 * math/w_j0.c: Likewise.
6708 * math/w_j0f.c: Likewise.
6709 * math/w_j0l.c: Likewise.
6710 * math/w_j1.c: Likewise.
6711 * math/w_j1f.c: Likewise.
6712 * math/w_j1l.c: Likewise.
6713 * math/w_jn.c: Likewise.
6714 * math/w_jnf.c: Likewise.
6715 * math/w_jnl.c: Likewise.
6716 * math/w_lgamma.c: Likewise.
6717 * math/w_lgamma_r.c: Likewise.
6718 * math/w_lgammaf.c: Likewise.
6719 * math/w_lgammaf_r.c: Likewise.
6720 * math/w_lgammal.c: Likewise.
6721 * math/w_lgammal_r.c: Likewise.
6722 * math/w_log.c: Likewise.
6723 * math/w_log10.c: Likewise.
6724 * math/w_log10f.c: Likewise.
6725 * math/w_log10l.c: Likewise.
6726 * math/w_log2.c: Likewise.
6727 * math/w_log2f.c: Likewise.
6728 * math/w_log2l.c: Likewise.
6729 * math/w_logf.c: Likewise.
6730 * math/w_logl.c: Likewise.
6731 * math/w_pow.c: Likewise.
6732 * math/w_powf.c: Likewise.
6733 * math/w_powl.c: Likewise.
6734 * math/w_remainder.c: Likewise.
6735 * math/w_remainderf.c: Likewise.
6736 * math/w_remainderl.c: Likewise.
6737 * math/w_scalb.c: Likewise.
6738 * math/w_scalbf.c: Likewise.
6739 * math/w_scalbl.c: Likewise.
6740 * math/w_sinh.c: Likewise.
6741 * math/w_sinhf.c: Likewise.
6742 * math/w_sinhl.c: Likewise.
6743 * math/w_sqrt.c: Likewise.
6744 * math/w_sqrtf.c: Likewise.
6745 * math/w_sqrtl.c: Likewise.
6746 * math/w_tgamma.c: Likewise.
6747 * math/w_tgammaf.c: Likewise.
6748 * math/w_tgammal.c: Likewise.
6749
6750 * po/ja.po: Update from translation team.
6751
67522011-09-29 Andreas Jaeger <aj@suse.de>
6753
6754 [BZ #13179]
6755 * sunrpc/netname.c (netname2host): Fix logic.
6756
6757 [BZ #6779]
6758 [BZ #6783]
6759 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6760 correctly.
6761 * math/w_remainder.c (__remainder): Likewise.
6762 * math/w_remainderf.c (__remainderf): Likewise.
6763 * math/libm-test.inc (remainder_test): Add test cases.
6764
67652011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6766
6767 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6768 sdiv_qrnnd.
6769
67702011-10-07 Ulrich Drepper <drepper@gmail.com>
6771
6772 * string/test-memcmp.c: Avoid unncessary #defines.
6773 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6774
67752011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6776
6777 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6778 Use new sse2 version for core i3 - i7 as it's faster
6779 than sse42 version.
6780 (bit_Prefer_PMINUB_for_stringop): New.
6781 * sysdeps/x86_64/rawmemchr.S: Update.
6782 Replace with faster SSE2 version.
6783 * sysdeps/x86_64/memrchr.S: New file.
6784 * sysdeps/x86_64/memchr.S: Update.
6785 Replace with faster SSE2 version.
6786
67872011-09-12 Marek Polacek <mpolacek@redhat.com>
6788
6789 * elf/dl-load.c (lose): Add cast to avoid warning.
6790
67912011-10-07 Ulrich Drepper <drepper@gmail.com>
6792
6793 * po/ca.po: Update from translation team.
6794
6795 * inet/getnetgrent_r.c: Hook up nscd.
6796 * nscd/Makefile (routines): Add nscd_netgroup.
6797 (nscd-modules): Add netgroupcache.
6798 (CFLAGS-netgroupcache.c): Define.
6799 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6800 (cache_search): Add const to second parameter.
6801 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6802 INNETGR.
6803 (dbs): Add netgrdb entry.
6804 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6805 (verify_persistent_db): Handle netgrdb.
6806 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6807 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6808 GETFDNETGR.
6809 (netgroup_response_header): Define.
6810 (innetgroup_response_header): Define.
6811 (datahead): Add netgroup_response_header and innetgroup_response_header
6812 elements.
6813 * nscd/nscd.conf: Add entries for netgroup cache.
6814 * nscd/nscd.h (dbtype): Add netgrdb.
6815 (_PATH_NSCD_NETGROUP_DB): Define.
6816 (netgroup_iov_disabled): Declare.
6817 (xmalloc, xcalloc, xrealloc): Move declarations here.
6818 (cache_search): Adjust prototype.
6819 Add netgroup-related prototypes.
6820 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6821 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6822 (__nscd_innetgr): Declare.
6823 * nscd/selinux.c (perms): Use access_vector_t as element type and
6824 add netgroup-related initializers.
6825 * nscd/netgroupcache.c: New file.
6826 * nscd/nscd_netgroup.c: New file.
6827 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6828 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6829 For four parameters use innetgr.
6830 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6831 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6832 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6833 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6834
6835 * nscd/connections.c (register_traced_file): Don't register file
6836 for disabled databases.
6837
68382011-10-06 Ulrich Drepper <drepper@gmail.com>
6839
6840 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6841
6842 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6843 from tree and freeing node.
6844
68452011-09-25 Jiri Olsa <jolsa@redhat.com>
6846
6847 * nss/nsswitch.c (__nss_database_lookup): Handle
6848 nss_parse_service_list out of memory case.
6849
68502011-09-15 Jiri Olsa <jolsa@redhat.com>
6851
6852 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6853 out of memory case.
6854
68552011-10-04 Andreas Schwab <schwab@redhat.com>
6856
6857 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6858 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6859 pass it down.
6860 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6861 elf_machine_rela, elf_machine_lazy_rel.
6862 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6863 (ELF_DYNAMIC_DO_REL): Likewise.
6864 (ELF_DYNAMIC_DO_RELA): Likewise.
6865 (ELF_DYNAMIC_RELOCATE): Likewise.
6866 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6867 to ELF_DYNAMIC_DO_REL.
6868 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6869 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6870 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6871 elf_machine_rela.
6872 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6873 skip_ifunc, don't call ifunc function if non-zero.
6874 (elf_machine_rela): Likewise.
6875 (elf_machine_lazy_rel): Likewise.
6876 (elf_machine_lazy_rela): Likewise.
6877 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6878 (elf_machine_lazy_rel): Likewise.
6879 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6880 Likewise.
6881 (elf_machine_lazy_rel): Likewise.
6882 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6883 Likewise.
6884 (elf_machine_lazy_rel): Likewise.
6885 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6886 (elf_machine_lazy_rel): Likewise.
6887 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6888 (elf_machine_lazy_rel): Likewise.
6889 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6890 (elf_machine_lazy_rel): Likewise.
6891 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6892 (elf_machine_lazy_rel): Likewise.
6893 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6894 (elf_machine_lazy_rel): Likewise.
6895 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6896 (elf_machine_lazy_rel): Likewise.
6897
68982011-09-28 Ulrich Drepper <drepper@gmail.com>
6899
6900 * nss/nss_files/files-init.c (_nss_files_init): Use static
6901 initialization for all the *_traced_file variables.
6902
69032011-09-28 Andreas Schwab <schwab@redhat.com>
6904
6905 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6906
69072011-09-27 Roland McGrath <roland@hack.frob.com>
6908
6909 [BZ #13226]
6910 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6911
69122011-09-27 Andreas Schwab <schwab@redhat.com>
6913
6914 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6915 Reread the line before reparsing it.
6916
69172011-09-26 Andreas Schwab <schwab@redhat.com>
6918
6919 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6920
69212011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6922 Maxim Kuvyrkov <maxim@codesourcery.com>
6923 Joseph Myers <joseph@codesourcery.com>
6924
6925 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6926 if needed for __stack_chk_guard.
6927
69282011-09-19 Roland McGrath <roland@hack.frob.com>
6929
6930 * sysdeps/posix/spawni.c (script_execute): Always define it.
6931 It will be optimized away if unused.
6932 (maybe_script_execute): New function.
6933 (__spawni): Call it.
6934
6935 * Makerules: Don't include tls.make.
6936 (config-tls): Always set to thread.
6937 * tls.make.c: File removed.
6938
69392011-09-19 Mike Frysinger <vapier@gentoo.org>
6940
6941 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6942 * config.make.in (CPPFLAGS-config): New substituted variable.
6943
69442011-09-15 Ulrich Drepper <drepper@gmail.com>
6945
6946 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6947
6948 [BZ #13192]
6949 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6950 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6951
69522011-09-15 Roland McGrath <roland@hack.frob.com>
6953
6954 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6955 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6956 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6957 (CALL_FAIL): Likewise.
6958 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6959 (CALL_FAIL): Macro removed.
6960 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6961
69622011-09-15 Ulrich Drepper <drepper@gmail.com>
6963
6964 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6965 for __FINITE_MATH_ONLY__ == 1.
6966
69672011-09-15 Andreas Schwab <schwab@redhat.com>
6968
6969 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6970 __ieee754_sqrt instead of sqrt.
6971 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6972 __ieee754_sqrtf instead of sqrtf.
6973 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6974 __floorf instead of floorf.
6975 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6976 __floorf, __truncf instead of floorf, truncf.
6977
69782011-09-14 Ulrich Drepper <drepper@gmail.com>
6979
6980 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6981
6982 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6983 __extern_always_inline.
6984 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6985 32-bit.
6986
69872011-09-14 Andreas Schwab <schwab@redhat.com>
6988
6989 * elf/rtld.c (dl_main): Also relocate in dependency order when
6990 doing symbol dependency testing.
6991
69922011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6993
6994 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6995 Always define `refsym'.
6996
69972011-09-13 Andreas Schwab <schwab@redhat.com>
6998
6999 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
7000 (__FD_ELT): Renamed from __FDELT.
7001 * misc/bits/select2.h (__FD_ELT): Likewise.
7002 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
7003 __FD_MASK instead of __FDELT, __FDMASK.
7004 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7005 Likewise.
7006 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
7007 Likewise.
7008
7009 * elf/Makefile (gen-ldd): Fix pattern.
7010
7011 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
7012 (init_tls): Likewise.
7013
70142011-09-12 Ulrich Drepper <drepper@gmail.com>
7015
7016 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
7017
70182011-09-12 Andreas Schwab <schwab@redhat.com>
7019
7020 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
7021 `struct cmsghdr *' instead of `void *'.
7022 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
7023 Likewise.
7024
70252011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7026
7027 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
7028 if non-absolute.
7029 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
7030 ldd_rewrite_script.
7031
70322011-09-11 Ulrich Drepper <drepper@gmail.com>
7033
7034 * configure.in: Remove --with-tls option.
7035 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
7036 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
7037 out in case it is missing.
7038 * sysdeps/ia64/elf/configure.in: Likewise.
7039 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
7040 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
7041 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
7042 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
7043 * sysdeps/sh/elf/configure.in: Likewise.
7044 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
7045 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
7046 * sysdeps/x86_64/elf/configure.in: Likewise.
7047 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
7048 * sysdeps/mach/hurd/tls.h: Likewise.
7049
7050 [BZ #13067]
7051 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
7052
7053 [BZ #13090]
7054 * configure.in: Fix use of AC_INIT.
7055
7056 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
7057
70582011-09-10 Ulrich Drepper <drepper@gmail.com>
7059
7060 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
7061 __set_errno.
7062 * malloc/hooks.c: Likewise.
7063
7064 [BZ #11929]
7065 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
7066 variables statically.
7067 (narenas): Initialize.
7068 (list_lock): Initialize.
7069 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
7070 initializtion of main_arena and list_lock. Small cleanups.
7071 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
7072 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
7073 Add initializers to main_arena and mp_.
7074 (malloc_state): Remove pagesize member. Change all users to use
7075 GLRO(dl_pagesize).
7076
7077 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
7078 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
7079 is always initialized.
7080
7081 * malloc/malloc.c: Removed unused configurations and dead code.
7082 * malloc/arena.c: Likewise.
7083 * malloc/hooks.c: Likewise.
7084 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
7085
7086 * include/tls.h: Removed. USE___THREAD must always be defined.
7087 * bits/libc-tsd.h: Don't handle !USE___THREAD.
7088 * elf/dl-libc.c: Likewise.
7089 * elf/dl-tsd.c: Likewise.
7090 * include/errno.h: Likewise.
7091 * include/netdb.h: Likewise.
7092 * include/resolv.h: Likewise.
7093 * inet/herrno-loc.c: Likewise.
7094 * inet/herrno.c: Likewise.
7095 * malloc/arena.c: Likewise.
7096 * malloc/hooks.c: Likewise.
7097 * malloc/malloc.c: Likewise.
7098 * resolv/res-state.c: Likewise.
7099 * resolv/res_libc.c: Likewise.
7100 * sysdeps/i386/dl-machine.h: Likewise.
7101 * sysdeps/ia64/dl-machine.h: Likewise.
7102 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7103 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7104 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7105 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7106 * sysdeps/sh/dl-machine.h: Likewise.
7107 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7108 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7109 * sysdeps/unix/i386/sysdep.S: Likewise.
7110 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7111 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7112 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7113 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7114 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7115 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7116 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7117 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7118 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7119 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7120 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7121 * sysdeps/x86_64/dl-machine.h: Likewise.
7122 * tls.make.c: Likewise.
7123
7124 * configure.in: Remove --with-__thread option. Make tests for
7125 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
7126 tls_model attribute fail if no support is available. Remove
7127 USE_IN_LIBIO.
7128 * Makeconfig: Adjust for dropped configure option. All features are
7129 now mandatory.
7130 * Makerules: Likewise.
7131 * Versions.def: Likewise.
7132 * argp/argp-fmtstream.c: Likewise.
7133 * argp/argp-fmtstream.h: Likewise.
7134 * argp/argp-help.c: Likewise.
7135 * assert/assert.c: Likewise.
7136 * config.h.in: Likewise.
7137 * config.make.in: Likewise.
7138 * configure: Likewise.
7139 * configure.in: Likewise.
7140 * csu/Versions: Likewise.
7141 * csu/init.c: Likewise.
7142 * elf/tst-audit2.c: Likewise.
7143 * elf/tst-tls10.c: Likewise.
7144 * elf/tst-tls10.h: Likewise.
7145 * elf/tst-tls11.c: Likewise.
7146 * elf/tst-tls12.c: Likewise.
7147 * elf/tst-tls14.c: Likewise.
7148 * elf/tst-tlsmod11.c: Likewise.
7149 * elf/tst-tlsmod12.c: Likewise.
7150 * elf/tst-tlsmod13.c: Likewise.
7151 * elf/tst-tlsmod13a.c: Likewise.
7152 * elf/tst-tlsmod14a.c: Likewise.
7153 * elf/tst-tlsmod15b.c: Likewise.
7154 * elf/tst-tlsmod16a.c: Likewise.
7155 * elf/tst-tlsmod16b.c: Likewise.
7156 * elf/tst-tlsmod7.c: Likewise.
7157 * elf/tst-tlsmod8.c: Likewise.
7158 * elf/tst-tlsmod9.c: Likewise.
7159 * gmon/gmon.c: Likewise.
7160 * grp/fgetgrent_r.c: Likewise.
7161 * grp/putgrent.c: Likewise.
7162 * hurd/fopenport.c: Likewise.
7163 * include/libc-symbols.h: Likewise.
7164 * include/tls.h: Likewise.
7165 * intl/gettextP.h: Likewise.
7166 * intl/loadinfo.h: Likewise.
7167 * locale/global-locale.c: Likewise.
7168 * locale/localeinfo.h: Likewise.
7169 * mach/devstream.c: Likewise.
7170 * malloc/arena.c: Likewise.
7171 * malloc/set-freeres.c: Likewise.
7172 * misc/err.c: Likewise.
7173 * misc/getttyent.c: Likewise.
7174 * misc/mntent_r.c: Likewise.
7175 * posix/getopt.c: Likewise.
7176 * posix/wordexp.c: Likewise.
7177 * pwd/fgetpwent_r.c: Likewise.
7178 * resolv/Versions: Likewise.
7179 * resolv/res_hconf.c: Likewise.
7180 * shadow/fgetspent_r.c: Likewise.
7181 * shadow/putspent.c: Likewise.
7182 * stdio-common/printf_fphex.c: Likewise.
7183 * stdio-common/tmpfile.c: Likewise.
7184 * stdlib/abort.c: Likewise.
7185 * stdlib/fmtmsg.c: Likewise.
7186 * sunrpc/auth_unix.c: Likewise.
7187 * sunrpc/clnt_perr.c: Likewise.
7188 * sunrpc/clnt_tcp.c: Likewise.
7189 * sunrpc/clnt_udp.c: Likewise.
7190 * sunrpc/clnt_unix.c: Likewise.
7191 * sunrpc/openchild.c: Likewise.
7192 * sunrpc/svc_simple.c: Likewise.
7193 * sunrpc/svc_tcp.c: Likewise.
7194 * sunrpc/svc_udp.c: Likewise.
7195 * sunrpc/svc_unix.c: Likewise.
7196 * sunrpc/xdr.c: Likewise.
7197 * sunrpc/xdr_array.c: Likewise.
7198 * sunrpc/xdr_rec.c: Likewise.
7199 * sunrpc/xdr_ref.c: Likewise.
7200 * sunrpc/xdr_stdio.c: Likewise.
7201
72022011-09-09 Ulrich Drepper <drepper@gmail.com>
7203
7204 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
7205
72062011-07-03 Andreas Jaeger <aj@suse.de>
7207
7208 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
7209 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
7210 regenerate with gen-libm-tests.pl.
7211
72122010-05-12 Petr Baudis <pasky@suse.cz>
7213
7214 [BZ #11589]
7215 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
7216 around j0() zero points by switching to j1().
7217 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7218 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7219 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7220 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7221
72222011-09-09 Ulrich Drepper <drepper@gmail.com>
7223
7224 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
7225 instead of 0.
7226 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
7227 instead of 0. .
7228 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7229 Patch in part by Pavel Roskin <proski@gnu.org>.
7230
7231 [BZ #13138]
7232 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
7233 realloc.
7234 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
7235 Free memory block if necessary.
7236
7237 [BZ #12847]
7238 * libio/genops.c (INTDEF): For string streams the _lock pointer can
7239 be NULL. Don't lock in this case.
7240
72412011-09-09 Roland McGrath <roland@hack.frob.com>
7242
7243 * elf/elf.h (ELFOSABI_GNU): New macro.
7244 (ELFOSABI_LINUX): Define to that.
7245
72462011-07-29 Denis Zaitceff <zaitceff@gmail.com>
7247
7248 * string/strncat.c (strncat): Undef the symbol in case it has been
7249 defined in bits/string.h.
7250
72512011-09-09 Ulrich Drepper <drepper@gmail.com>
7252
7253 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
7254
7255 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
7256 link map.
7257
72582011-08-17 Andreas Jaeger <aj@suse.de>
7259
7260 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
7261
72622011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7263 Ian Lance Taylor <iant@google.com>
7264
7265 * math/libm-test.inc (lround_test): New testcase.
7266 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
7267
72682011-09-08 Ulrich Drepper <drepper@gmail.com>
7269
7270 * Makefile: Remove support for automatic cvs check-ins.
7271 * Makerules: Likewise.
7272 * config.make.in: Likewise.
7273 * configure.in: Likewise.
7274 * intl/Makefile: Likewise.
7275 * locale/Makefile: Likewise.
7276 * po/Makefile: Likewise.
7277 * posix/Makefile: Likewise.
7278 * sysdeps/gnu/Makefile: Likewise.
7279 * sysdeps/mach/hurd/Makefile: Likewise.
7280 * sysdeps/sparc/sparc32/Makefile: Likewise.
7281
7282 [BZ #13118]
7283 * posix/Makefile (bug-regex32-ENV): Define.
7284 Patch by John Stanley <jpsinthemix@verizon.net>.
7285
7286 * misc/Makefile (headers): Add bits/select2.h.
7287 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
7288 * misc/bits/select2.h: New file.
7289 * include/bits/select2.h: New file.
7290 * debug/Makefile (routines): Add fdelt_chk.
7291 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
7292 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
7293 FD_ISSET.
7294 * debug/fdelt_chk.c: New file.
7295
7296 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
7297 * wcsmbs/test-wmemcmp.c: Likewise.
7298 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
7299 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
7300
73012011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7302
7303 * string/Makefile (strop-tests): Add memcmp.
7304 * string/test-wmemcmp.c: New file.
7305 * string/test-memcmp.c: Add wmemcmp support.
7306
73072011-09-08 Roland McGrath <roland@hack.frob.com>
7308
7309 [BZ #13153]
7310 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
7311 2011-07-19 change.
7312
7313 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
7314 garbage value in a __mach_port_mod_refs call in the cases of the
7315 task-self and thread-self ports.
7316
73172011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7318
7319 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7320
73212011-09-08 Andreas Schwab <schwab@redhat.com>
7322
7323 * elf/dl-load.c (lose): Check for non-null L.
7324
73252011-09-07 Ulrich Drepper <drepper@gmail.com>
7326
7327 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7328
7329 * elf/dl-libc.c (dlerror_run): Pass back error code from
7330 dl_catch_error.
7331
7332 [BZ #13123]
7333 * elf/dl-load.c (lose): Free l_origin if it is valid.
7334
7335 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7336 names.
7337 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7338 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7339 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7340 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7341 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7342 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7343
73442011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7345
7346 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7347 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7348 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7349 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7350 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7351 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7352 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7353 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7354 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7355 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7356
73572011-08-15 Alan Modra <amodra@gmail.com>
7358
7359 [BZ #13092]
7360 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7361 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7362 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7363 ppc_mcount to static-only-routines.
7364 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7365 __mcount_internal.
7366 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7367 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7368
73692011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7370
7371 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7372 for finite and infinity parameters.
7373
73742011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7375
7376 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7377 and add nop instructions for throughput optimization.
7378 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7379
73802011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7381
7382 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7383 aligned copy for power7 with vector-scalar instructions.
7384 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7385
73862011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7387
7388 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7389 AVX check.
7390
73912011-09-07 Andreas Schwab <schwab@redhat.com>
7392
7393 [BZ #13144]
7394 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7395 last change.
7396
73972011-09-07 Ulrich Drepper <drepper@gmail.com>
7398
7399 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7400 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7401 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7402 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7403 clock_gettime.
7404
74052011-09-06 Ulrich Drepper <drepper@gmail.com>
7406
7407 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7408 Forgot to demangle the pointer.
7409
7410 * sysdeps/i386/sysdep.h: Define atom_text_section.
7411 * sysdeps/x86_64/sysdep.h: Likewise.
7412 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7413 section with atom_text_section.
7414 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7415 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7416 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7417 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7418 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7419
7420 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7421 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7422 already be defined. Change to take two parameters and don't assign
7423 result to variable. Adjust all users.
7424 Define INTERNAL_GETTIME if not already defined.
7425 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7426 call.
7427 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7428 HAVE_CLOCK_GETTIME_VSYSCALL.
7429 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7430
7431 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7432 gettimeofday vsyscall, just use time.
7433
74342011-09-06 Andreas Schwab <schwab@redhat.com>
7435
7436 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7437 <errno.h>.
7438
74392011-09-06 Ulrich Drepper <drepper@gmail.com>
7440
7441 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7442 syscall on x86-64.
7443 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7444 syscall.
7445 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7446 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7447 syscall if possible.
7448
74492011-09-05 Ulrich Drepper <drepper@gmail.com>
7450
7451 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7452 e_ident. Don't pass to find_mapsXX.
7453 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7454
74552011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7456
7457 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7458 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7459 * sysdeps/x86_64/multiarch/strchr.S: Update.
7460 Check bit_slow_BSF bit.
7461 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7462 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7463 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7464
74652011-09-05 Ulrich Drepper <drepper@gmail.com>
7466
7467 [BZ #13134]
7468 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7469 before glibc 2.15.
7470 (tryshell): Define.
7471 (__spawni): Change last parameter to be flag. Test
7472 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7473 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7474 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7475 * posix/spawni.c: Likewise.
7476 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7477 * posix/spawnp.c: Likewise. Change normal version to use
7478 SPAWN_XFLAGS_USE_PATH.
7479 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7480 SPAWN_XFLAGS_TRY_SHELL.
7481
7482 [BZ #13150]
7483 * posix/glob.h: Remove gcc 1.x support.
7484
7485 [BZ #13068]
7486 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7487
74882011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7489
7490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7491 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7492 strrchr-sse2-bsf
7493 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7494 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7495 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7496 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7497 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7498 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7499
75002011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7501
7502 * sysdeps/x86_64/wcscmp.S: New file.
7503
7504 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7505 wcscmp-c wcscmp-sse2
7506 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7507 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7508 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7509 * wcsmbs/wcscmp.c: Allow renaming.
7510
75112011-09-05 David S. Miller <davem@davemloft.net>
7512
7513 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7514 stack slot, rather than the struct return pointer slot.
7515 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7516 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7518 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7519
75202011-09-05 Ulrich Drepper <drepper@gmail.com>
7521
7522 * po/ja.po: Update from translation team.
7523
7524 [BZ #13144]
7525 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7526 kernel in 64-bit binaries.
7527
75282011-09-01 David S. Miller <davem@davemloft.net>
7529
7530 * elf/elf.h (HWCAP_SPARC_*): Move to..
7531 * sysdeps/sparc/sysdep.h: this new file and add new values.
7532 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7533 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7534 _DL_HWCAP_COUNT to 24.
7535 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7536 entries.
7537 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7538 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7539 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7540 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7541 instead of magic constants.
7542 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7543
75442011-08-31 David S. Miller <davem@davemloft.net>
7545
7546 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7547 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7548 Reimplement to do errno handling inline.
7549 (SYSCALL_ERROR_HANDLER): New macro.
7550 (__SYSCALL_STRING): Do not do errno handling in asm.
7551 (__CLONE_SYSCALL_STRING): Delete.
7552 (__INTERNAL_SYSCALL_STRING): Delete.
7553 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7554 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7555 (PSEUDO): Reimplement to do errno handling inline.
7556 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7557 (SYSCALL_ERROR_HANDLER): New macro.
7558 (__SYSCALL_STRING): Do not do errno handling in asm.
7559 (__CLONE_SYSCALL_STRING): Delete.
7560 (__INTERNAL_SYSCALL_STRING): Delete.
7561 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7562 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7563 i386.
7564 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7565 (inline_syscall*): Add 'err' argument.
7566 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7567 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7568 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7569 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7570
7571 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7572 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7573
75742011-08-30 Andreas Schwab <schwab@redhat.com>
7575
7576 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7577
75782011-08-29 Jiri Olsa <jolsa@redhat.com>
7579
7580 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7581 directive.
7582
75832011-08-24 David S. Miller <davem@davemloft.net>
7584
7585 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7586
75872011-08-24 Andreas Schwab <schwab@redhat.com>
7588
7589 * elf/Makefile: Add rules to build and run unload8 test.
7590 * elf/unload8.c: New file.
7591 * elf/unload8mod1.c: New file.
7592 * elf/unload8mod1x.c: New file.
7593 * elf/unload8mod2.c: New file.
7594 * elf/unload8mod3.c: New file.
7595
7596 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7597 it wasn't used.
7598
75992011-08-23 David S. Miller <davem@davemloft.net>
7600
7601 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7602 subtract stack bias.
7603 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7604 %sp not %fp in calculations.
7605 (_JMPBUF_UNWINDS_ADJ): Likewise.
7606
7607 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7608 (aio_suspend): Call it to force an exception region around the
7609 AIO_MISC_WAIT() invocation.
7610
76112011-08-23 Andreas Schwab <schwab@redhat.com>
7612
7613 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7614 backslash.
7615
76162011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7617
7618 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7619 protection macro.
7620 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7621 and <dl-machine.h>.
7622 (Elf64_FuncDesc): Remove.
7623
76242011-08-22 David S. Miller <davem@davemloft.net>
7625
7626 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7627 sigaltstack check, add missing cfi directives.
7628 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7629 missing cfi directives, and sigaltstack handling.
7630
76312011-08-16 Andreas Schwab <schwab@redhat.com>
7632
7633 [BZ #11724]
7634 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7635 object is seen twice.
7636 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7637
7638 * elf/Makefile (distribute): Add tst-initorder2.c.
7639 (tests): Add tst-initorder2.
7640 (modules-names): Add tst-initorder2a tst-initorder2b
7641 tst-initorder2c tst-initorder2d. Add rules to build them.
7642 ($(objpfx)tst-initorder2.out): New rule.
7643 * elf/tst-initorder2.c: New file.
7644 * elf/tst-initorder2.exp: New file.
7645
76462011-08-22 Andreas Schwab <schwab@redhat.com>
7647
7648 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7649
7650 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7651 dependencies back to end of function.
7652
7653 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7654 $(elfobjdir)/ld.so.
7655
76562011-08-21 Ulrich Drepper <drepper@gmail.com>
7657
7658 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7659 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7660 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7661 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7662 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7663 of __vdso_gettimeofday.
7664 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7665 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7666 attribute_hidden.
7667 (_libc_vdso_platform_setup): Remove initialization of
7668 __vdso_gettimeofday and __vdso_time.
7669
76702011-08-20 Ulrich Drepper <drepper@gmail.com>
7671
7672 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7673 and fgetc_unlocked.
7674 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7675 getc_unlocked.
7676
7677 * elf/dl-open.c (add_to_global): Report additions to the global scope
7678 for LD_DEBUG=scopes.
7679 (dl_open_worker): Also print scope of newly loaded dependencies.
7680 (_dl_show_scope): Indicate if there is no scope.
7681
7682 [BZ #13114]
7683 * stdio-common/Makefile (tests): Add bug24.
7684 * stdio-common/bug24.c: New file.
7685
76862011-08-19 Andreas Jaeger <aj@suse.de>
7687
7688 [BZ #13114]
7689 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7690 non-existant file when using close-on-exec mode.
7691
76922011-08-20 Ulrich Drepper <drepper@gmail.com>
7693
7694 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7695 the very first instruction.
7696
7697 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7698 the CFI state in the end.
7699 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7700 inclusion of dl-trampoline.h.
7701 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7702
77032011-08-19 Andreas Schwab <schwab@redhat.com>
7704
7705 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7706 expectations for long double.
7707
7708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7709 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7710
77112011-08-14 David S. Miller <davem@davemloft.net>
7712
7713 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7714 artificual limit depends upon the system page size.
7715
77162011-08-17 Ulrich Drepper <drepper@gmail.com>
7717
7718 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7719 * resolv/Makefile: Define CFLAGS-libresolv.
7720
77212011-08-17 Andreas Schwab <schwab@redhat.com>
7722
7723 * nss/makedb.c (compute_tables): Make variables used in nested
7724 function static.
7725
77262011-08-17 Ulrich Drepper <drepper@gmail.com>
7727
7728 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7729 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7730 if buffer was too small.
7731
7732 * elf/pldd.c (main): Attach to all threads in the process.
7733 Rewrite /proc handling to use *at functions.
7734
77352011-08-16 Ulrich Drepper <drepper@gmail.com>
7736
7737 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7738 specifies first scope to show.
7739 (dl_open_worker): Update callers. Move printing scope of new
7740 object to before the relocation.
7741 * elf/rtld.c (dl_main): Update _dl_show_scope call.
7742 * sysdeps/generic/ldsodefs.h: Update declaration.
7743
7744 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7745 string for the scope number.
7746
77472011-08-14 Ulrich Drepper <drepper@gmail.com>
7748
7749 * nscd/servicescache.c (cache_addserv): Make sure written is always
7750 initialized.
7751
77522011-08-14 Roland McGrath <roland@hack.frob.com>
7753
7754 * sysdeps/i386/i486/bits/atomic.h
7755 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7756 statement expression, so as to suppress "set but not used" warning.
7757 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7758
7759 * string/strncat.c (STRNCAT): Use prototype definition.
7760
7761 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7762 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7763 -Iprograms here.
7764 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7765 (localedef-modules): Add localedef.
7766 (locale-modules): Add locale.
7767
7768 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7769 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7770 to avoid a warning.
7771
77722011-08-14 David S. Miller <davem@davemloft.net>
7773
7774 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7775 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7776
77772011-08-13 Ulrich Drepper <drepper@gmail.com>
7778
7779 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
7780 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7781 * elf/rtld.c (dl_main): Set l_name of vDSO.
7782 Call _dl_show_scope when DL_DEBUG_SCOPES.
7783 (process_dl_debug): Recognize scopes flag and also set it for all.
7784 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7785 Declare _dl_show_scope.
7786
7787 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7788 (do_dlopen): Pass caller_dlopen to dl_open.
7789 (__libc_dlopen_mode): Initialize caller_dlopen.
7790
7791 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7792 of libc. Make tolower call locale-independent. Optimize a bit by
7793 using isdigit instead of isalnum.
7794 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7795
77962011-08-12 Ulrich Drepper <drepper@gmail.com>
7797
7798 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7799 was a dependency or dynamically loaded.
7800
78012011-08-11 Ulrich Drepper <drepper@gmail.com>
7802
7803 * intl/l10nflist.c: Allow architecture-specific pop function.
7804 * sysdeps/x86_64/l10nflist.c: New file.
7805
7806 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7807 classification.
7808
78092011-08-10 Andreas Schwab <schwab@redhat.com>
7810
7811 * include/dirent.h: Add libc_hidden_proto for scandirat and
7812 scandirat64. Don't declare __scandirat64.
7813 * dirent/scandirat.c: Add libc_hidden_def.
7814 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7815 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7816
78172011-08-10 David S. Miller <davem@davemloft.net>
7818
7819 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7820 enum.
7821 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7822 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7823 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7824
78252011-08-09 Ulrich Drepper <drepper@gmail.com>
7826
7827 * Versions.def [libc]: Add GLIBC_2.15.
7828 * dirent/Makefile (routines): Add scandirat and scandirat64.
7829 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7830 GLIBC_2.15.
7831 * dirent/dirent.h: Declare scandirat and scandirat64.
7832 * dirent/scandirat.c: New file.
7833 * dirent/scandirat64.c: New file.
7834 * sysdeps/wordsize-64/scandirat.c: New file.
7835 * sysdeps/wordsize-64/scandirat64.c: New file.
7836 * dirent/opendir.c: Define opendirat.
7837 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7838 using scandirat.
7839 * dirent/scandir64.c: Adjust for scandir.c change.
7840 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7841 __scandirat64, and __scandir_cancel_handler.
7842 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7843 additional parameter and use openat instead of open (outside of ld.so).
7844 Add new __opendir as wrapper around __opendirat.
7845 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7846 here without requiring old scandirat implementation.
7847
78482011-08-08 Ulrich Drepper <drepper@gmail.com>
7849
7850 * dirent/scandir.c (cancel_handler): Renamed to
7851 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7852 defined. Adjust users.
7853 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7854 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7855
78562011-08-04 Ulrich Drepper <drepper@gmail.com>
7857
7858 * string/test-string.h (IMPL): Use __STRING to expand name and then
7859 stringify it.
7860
7861 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7862 of cleanups.
7863
78642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7865
7866 * string/Makefile: Update.
7867 (strop-tests): Append strncat.
7868 * string/test-wcscmp.c: New file.
7869 New comprehensive test for wcscmp.
7870 * string/test-strcmp.c: Update.
7871 (WIDE): New define.
7872
78732011-07-22 Andreas Schwab <schwab@redhat.com>
7874
7875 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7876 line.
7877
78782011-07-26 Andreas Schwab <schwab@redhat.com>
7879
7880 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7881 encoding to ACE if AI_IDN.
7882
78832011-08-01 Jakub Jelinek <jakub@redhat.com>
7884
7885 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7886 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7887
78882011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7889
7890 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7891 Fix overflow bug in strncat.
7892 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7893
7894 * string/test-strncat.c: Update.
7895 Add new tests for checking overflow bugs.
7896
78972011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7898
7899 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7900 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7901 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7902 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7903 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7904 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7905 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7906 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7907 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7908
7909 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7910 (USE_AS_STRCAT): Define.
7911 Add strcat and strncat support.
7912 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7913
79142011-07-25 Andreas Schwab <schwab@redhat.com>
7915
7916 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7917 __n bigger than INT_MAX+1.
7918 (__strncmp_g): Likewise.
7919
79202011-07-23 Ulrich Drepper <drepper@gmail.com>
7921
7922 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7923 * libio/stido.h: Likewise.
7924
7925 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7926 (AF_NFC): Define.
7927 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7928 (AF_NFC): Define.
7929
7930 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7931 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7932 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7933 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7934 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7935
7936 [BZ #13021]
7937 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7938 installed.
7939
7940 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7941 typo.
7942 (_dl_x86_64_save_sse): Likewise.
7943
79442011-07-22 Ulrich Drepper <drepper@gmail.com>
7945
7946 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7947 OSXSAVE.
7948 (_dl_x86_64_save_sse): Likewise.
7949
7950 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7951
7952 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7953
79542011-07-21 Andreas Schwab <schwab@redhat.com>
7955
7956 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7957 change.
7958 (_dl_x86_64_save_sse): Use correct AVX check.
7959
79602011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7961
7962 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7963 bug in strncpy/strncat.
7964 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7965
79662011-07-21 Ulrich Drepper <drepper@gmail.com>
7967
7968 * string/tester.c (test_strcat): Add tests for different alignments
7969 of source and destination.
7970 (test_strncat): Likewise.
7971
79722011-07-20 Ulrich Drepper <drepper@gmail.com>
7973
7974 [BZ #12852]
7975 * posix/glob.c (glob): Check passed in values before using them in
7976 expressions to avoid some overflows.
7977 (glob_in_dir): Likewise.
7978
7979 [BZ #13007]
7980 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7981 check for AVX enablement so that we don't crash with old kernels and
7982 new hardware.
7983 * elf/tst-audit4.c: Add same checks here.
7984 * elf/tst-audit6.c: Likewise.
7985
7986 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
7987
79882011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7989
7990 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7991
79922011-07-20 Ulrich Drepper <drepper@gmail.com>
7993
7994 * po/cs.po: Update from translation team.
7995 * po/bg.po: Likewise.
7996
79972011-07-12 Marek Polacek <mpolacek@redhat.com>
7998
7999 * misc/sys/cdefs.h: Add support for const attribute.
8000 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
8001 to gnu_dev_{major,minor,makedev} functions.
8002
80032011-07-20 Marek Polacek <mpolacek@redhat.com>
8004
8005 * intl/dcigettext.c (get_output_charset): Add missing bracket.
8006
80072011-07-20 Andreas Schwab <schwab@redhat.com>
8008
8009 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
8010 strlen results.
8011
80122011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8013
8014 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
8015 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
8016 register in order to avoid conflicts with the soft frame pointer
8017 being held in r11 when necessary.
8018 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
8019 (INTERNAL_VSYSCALL_NCS): Likewise.
8020
80212011-07-14 Marek Polacek <mpolacek@redhat.com>
8022
8023 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
8024 * elf/dl-fini.c (_dl_fini): Adjust caller.
8025 * elf/dl-close.c (_dl_close_worker): Likewise.
8026 * sysdeps/generic/ldsodefs.h: Adjust declaration.
8027
80282011-07-15 Marek Polacek <mpolacek@redhat.com>
8029
8030 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
8031 "aux_cache->nlibs < 0".
8032
8033 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
8034 in the reload-count case.
8035
80362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8037
8038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8039 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
8040 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
8041 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
8042 * sysdeps/x86_64/multiarch/strcat.S: New file.
8043 * sysdeps/x86_64/multiarch/strncat.S: New file.
8044 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
8045 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
8046 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
8047 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
8048 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
8049 (USE_AS_STRCAT): Define.
8050 Add strcat and strncat support.
8051 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
8052 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8053 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
8054 * string/strncat.c: Update.
8055 (USE_AS_STRNCAT): Define.
8056 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8057 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
8058 and i7.
8059 * sysdeps/x86_64/multiarch/init-arch.h
8060 (bit_Prefer_PMINUB_for_stringop): New.
8061 (index_Prefer_PMINUB_for_stringop): Likewise.
8062 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
8063 bit_Prefer_PMINUB_for_stringop.
8064
80652011-07-19 Ulrich Drepper <drepper@gmail.com>
8066
8067 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
8068 buffer64.
8069 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
8070 of casting of buffer.
8071 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
8072 buffer32 and buffer64.
8073 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
8074 writes instead of casting of buffer.
8075 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
8076 buffer32.
8077 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
8078 casting of buffer.
8079
80802011-07-19 Andreas Schwab <schwab@redhat.com>
8081
8082 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
8083
80842011-07-19 Ulrich Drepper <drepper@gmail.com>
8085
8086 * nscd/nscd.c (termination_handler): Don't do anything for a database
8087 if it has not yet been initialized.
8088
80892011-07-18 Ulrich Drepper <drepper@gmail.com>
8090
8091 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8092
80932011-07-15 Marek Polacek <mpolacek@redhat.com>
8094
8095 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
8096
80972011-07-18 Ulrich Drepper <drepper@gmail.com>
8098
8099 * po/nl.po: Update from translation team.
8100 * po/sv.po: Likewise.
8101
81022011-07-16 Roland McGrath <roland@hack.frob.com>
8103
8104 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
8105 now disallowed by GCC.
8106
8107 * configure.in (use-default-link): Default to yes if a test -shared
8108 link meets our qualifications.
8109 * configure: Regenerated.
8110
8111 * config.make.in (output-format): New variable.
8112 * configure.in: Check for ld --print-output-format support.
8113 * configure: Regenerated.
8114 * Makerules ($(common-objpfx)format.lds)
8115 [$(output-format) != unknown]: Just use $(output-format),
8116 instead of the linker-script munging.
8117
81182011-07-14 Roland McGrath <roland@hack.frob.com>
8119
8120 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
8121 of $(common-objpfx)shlib.lds.
8122 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
8123
8124 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
8125 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
8126
8127 * configure.in (-z relro check): Adjust test code to add a large
8128 writable data section after it.
8129 * configure: Regenerated.
8130
81312011-07-11 Roland McGrath <roland@hack.frob.com>
8132
8133 * configure.in (-z relro check): Fix test code to make the variable
8134 truly const.
8135 * configure: Regenerated.
8136
81372011-07-11 Ulrich Drepper <drepper@gmail.com>
8138
8139 * nscd/nscd.h (struct traced_file): Define.
8140 (struct database_dyn): Remove inotify_descr, reset_res, and filename
8141 elements. Add traced_files.
8142 (inotify_fd): Declare.
8143 (register_traced_file): Declare.
8144 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
8145 (inotify_fd): Export.
8146 (resolv_conf_descr): Remove.
8147 (nscd_init): Move inotify descriptor creation to main.
8148 Don't register files for notification here.
8149 (register_traced_file): New function.
8150 (invalidate_cache): Don't use reset_res to determine whether to call
8151 res_init, go through the list of registered files.
8152 (main_loop_poll): The inotify descriptors are now stored in the
8153 structures for the traced files.
8154 (main_loop_epoll): Likewise
8155 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
8156 to __nss_disable_nscd.
8157 * nscd/cache.c (prune_cache): There is no single inotify descriptor
8158 for a database anymore. Check the records for all the registered
8159 files instead.
8160 * nss/Makefile (libnss_files-routines): Add files-init.
8161 (libnss_db-routines): Add db-init.
8162 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
8163 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
8164 * nss/nss_db/db-init.c: New file.
8165 * nss/nss_files/files-init.c: New file.
8166 * nss/nsswitch.c (nss_load_library): New function. Broken out of
8167 __nss_lookup_function.
8168 (__nss_lookup_function): Call nss_load_library.
8169 (nss_load_all_libraries): New function.
8170 (__nss_disable_nscd): Take parameter with callback function for files
8171 to register. Set is_nscd. Load all the DSOs for the NSS modules
8172 used for the cached services.
8173 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
8174 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
8175 options for features to all the files in nscd.
8176
8177 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
8178
81792011-07-10 Roland McGrath <roland@hack.frob.com>
8180
8181 * csu/elf-init.c (__libc_csu_init): Comment typo.
8182
81832011-07-09 Ulrich Drepper <drepper@gmail.com>
8184
8185 * po/pl.po: Update from translation team.
8186 * po/ja.po: Likewise.
8187 * po/ru.po: Likewise.
8188 * po/ko.po: Likewise.
8189 * po/fr.po: Likewise.
8190
81912011-07-09 Roland McGrath <roland@hack.frob.com>
8192
8193 * configure.in (.ctors/.dtors header and trailer check):
8194 Use an empirical test on a built program.
8195 * configure: Regenerated.
8196
8197 * configure.in (-z relro check): Use an empirical test on a built DSO.
8198 Detect, but do not require, on ia64.
8199 * configure: Regenerated.
8200
8201 * configure.in (READELF): Find it with AC_CHECK_TOOL.
8202 Update tests that use readelf to use $READELF instead.
8203 * configure: Regenerated.
8204
82052011-07-08 Ulrich Drepper <drepper@gmail.com>
8206
8207 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
8208 if the result is not used.
8209
82102011-07-05 Andreas Jaeger <aj@suse.de>
8211
8212 [BZ#9696]
8213 * stdlib/tst-strtod.c: Add testcase.
8214
82152011-07-07 Ulrich Drepper <drepper@gmail.com>
8216
8217 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
8218 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
8219 The latter has a higher limit. Take additional parameter to pass to
8220 the new function.
8221 (__pathconf): Pass file to __statfs_link_max.
8222 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
8223 __statfs_link_max.
8224 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
8225 __statfs_link_max.
8226
8227 [BZ #12868]
8228 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
8229 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8230 Handle Lustre.
8231 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
8232 (__statfs_filesize_max): Likewise.
8233 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
8234
82352011-07-05 Andreas Jaeger <aj@suse.de>
8236
8237 * resolv/res_comp.c (dn_skipname): Remove unused variable.
8238
82392011-07-06 Marek Polacek <mpolacek@redhat.com>
8240
8241 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
8242 `status' variable.
8243 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
8244 Likewise.
8245
82462011-07-04 H.J. Lu <hongjiu.lu@intel.com>
8247
8248 * Makefile (strop-tests): Add strncat.
8249 * string/test-strncat.c: New file.
8250
82512011-06-30 Marek Polacek <mpolacek@redhat.com>
8252
8253 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
8254
82552011-06-21 Andreas Jaeger <aj@suse.de>
8256
8257 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
8258 Copy rule from iconvdata/Makefile.
8259
82602011-07-06 Ulrich Drepper <drepper@gmail.com>
8261
8262 [BZ #12922]
8263 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
8264 but no long options are defined, just return 'W'.
8265
82662011-06-22 Marek Polacek <mpolacek@redhat.com>
8267
8268 [BZ #9696]
8269 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
8270
82712011-07-06 Ulrich Drepper <drepper@gmail.com>
8272
8273 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
8274 netgroups to read.
8275 (innetgr): Likewise.
8276
82772011-07-05 Roland McGrath <roland@hack.frob.com>
8278
8279 * config.make.in (install_root): Default to $(DESTDIR).
8280
82812011-07-05 Ulrich Drepper <drepper@gmail.com>
8282
8283 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
8284
82852011-07-02 Roland McGrath <roland@hack.frob.com>
8286
8287 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
8288
8289 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
8290 containing directory rather than embedding absolute directory names.
8291
8292 * scripts/check-local-headers.sh: Rewritten using awk.
8293 Match by word, not by line. Print error messages for matches.
8294 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
8295
8296 * Makerules [shlib-lds-flags empty]:
8297 ($(common-objpfx)libc_pic.opts): New target.
8298 ($(common-objpfx)libc_pic.os.clean): New target.
8299 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
8300
8301 * config.make.in (OBJCOPY): New variable.
8302 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
8303 * configure: Regenerated.
8304
8305 * config.make.in (use-default-link): New variable.
8306 * configure.in (use_default_link): Grok --with-default-link to set it.
8307 * configure: Regenerated.
8308 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
8309 (shlib-lds, shlib-lds-flags): Define to empty.
8310
8311 * Makerules (shlib-lds): New variable.
8312 (shlib-lds-flags): New variable.
8313 (build-shlib, build-moduile, build-module-asneeded): Use it.
8314 ($(common-objpfx)libc.so): Use $(shlib-lds).
8315 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
8316 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
8317
8318 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8319 DT_FLAGS/DT_FLAGS_1 with zero flags.
8320
8321 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8322 linker script munging.
8323
83242011-07-02 Ulrich Drepper <drepper@gmail.com>
8325
8326 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8327 as 128-bit value.
8328 * crypt/sha512.c (sha512_process_block): Perform total addition using
8329 128-bit if possible.
8330 (__sha512_finish_ctx): Likewise.
8331 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8332 as 64-bit value.
8333 * crypt/sha256.c (SWAP64): Define.
8334 (sha256_process_block): Perform total addition using 64-bit if
8335 possible.
8336 (__sha256_finish_ctx): Likewise.
8337
83382011-07-01 Ulrich Drepper <drepper@gmail.com>
8339
8340 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8341 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8342 * nscd/hstcache.c (cache_addhst): Likewise.
8343 * nscd/grpcache.c (cache_addgr): Likewise.
8344 * nscd/aicache.c (addhstaiX): Likewise
8345 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8346
83472011-07-01 Thorsten Kukuk <kukuk@suse.de>
8348
8349 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8350 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8351 * nscd/hstcache.c (cache_addhst): Likewise.
8352 * nscd/grpcache.c (cache_addgr): Likewise.
8353 * nscd/aicache.c (addhstaiX): Likewise
8354
83552011-07-01 Andreas Schwab <schwab@redhat.com>
8356
8357 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8358 domain only when needed.
8359
83602011-06-30 Andreas Schwab <schwab@redhat.com>
8361
8362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8363 is always restored.
8364
83652011-06-29 Ulrich Drepper <drepper@gmail.com>
8366
8367 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8368 are re-adding the entry.
8369 * nscd/servicescache.c (cache_addserv): Likewise.
8370
83712011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8372
8373 * sysdeps/generic/dl-irel.h: fix protection against multiple
8374 inclusions.
8375 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8376
83772011-06-28 Ulrich Drepper <drepper@gmail.com>
8378
8379 [BZ #12935]
8380 * malloc/memusage.sh: Fix quoting in message.
8381 * debug/xtrace.sh: Likewise.
8382
8383 * configure.in: Remove support for --experimental-malloc option, make
8384 it the default.
8385 * config.make.in: Likewise.
8386 * malloc/Makefile: Likewise.
8387
83882011-06-27 Andreas Schwab <schwab@redhat.com>
8389
8390 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8391 two-byte characters.
8392
83932011-06-27 Roland McGrath <roland@hack.frob.com>
8394
8395 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8396 AC_CACHE_CHECK invocation.
8397 * configure: Regenerated.
8398
8399 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8400
84012011-06-27 Ulrich Drepper <drepper@gmail.com>
8402
8403 [BZ #12350]
8404 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8405 bit from old_res_options.
8406
8407 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8408
8409 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8410 value type for setfct.
8411
84122011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8413
8414 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8415 __gettimeofday instead of gettimeofday.
8416
84172011-06-26 Ulrich Drepper <drepper@gmail.com>
8418
8419 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8420
84212011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8422
8423 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8424
8425 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8426 info.
8427
84282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8429
8430 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8431 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8432 strcpy-sse2-unaligned strncpy-sse2-unaligned
8433 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8434 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8435 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8436 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8437 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8438 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8439 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8440 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8441 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8442 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8443 (STRCPY): Support SSE2 and SSSE3 versions.
8444
84452011-06-24 Ulrich Drepper <drepper@gmail.com>
8446
8447 [BZ #12874]
8448 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8449 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8450 kernels which artificially limit size of requests.
8451
84522011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8453
8454 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8455 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8456 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8457 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8458 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8459 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8460 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8461 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8462 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8463 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8464 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8465 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8466 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8467 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8468 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8470 Enable unaligned load optimization for Intel Core i3, i5 and i7
8471 processors.
8472 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8473 Define.
8474 (index_Fast_Unaligned_Load): Define.
8475 (HAS_FAST_UNALIGNED_LOAD): Define.
8476
84772011-06-23 Marek Polacek <mpolacek@redhat.com>
8478
8479 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8480
84812011-06-22 Ulrich Drepper <drepper@gmail.com>
8482
8483 [BZ #12907]
8484 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8485 until it is clear that the information is realy needed.
8486 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8487
84882011-06-22 Andreas Schwab <schwab@redhat.com>
8489
8490 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8491
84922011-06-22 Ulrich Drepper <drepper@gmail.com>
8493
8494 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8495 /sys/devices/system/cpu/online if it is usable.
8496
8497 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8498 reading the information from the /proc filesystem to once a second.
8499
85002011-06-21 Andreas Jaeger <aj@suse.de>
8501
8502 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8503 NULL after inclusion of kernel headers.
8504
85052011-06-21 Ulrich Drepper <drepper@gmail.com>
8506
8507 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8508 calls to internal_setent.
8509
8510 [BZ #12885]
8511 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8512 addresses using gethostbyname4_r ignore IPv4 addresses.
8513
8514 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8515 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8516
8517 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8518
85192011-06-20 David S. Miller <davem@davemloft.net>
8520
8521 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8522 inclusions.
8523 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8524
8525 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8526 (elf_irel): Use it.
8527 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8528 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8529 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8530 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8531 * sysdeps/x86_64/dl-irel.h: Likewise.
8532
8533 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8534 * elf/dl-sym.c: Likewise.
8535
85362011-06-15 Ulrich Drepper <drepper@gmail.com>
8537
8538 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8539 need to dereference resplen2.
8540
85412011-06-14 Andreas Schwab <schwab@redhat.com>
8542
8543 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8544
85452011-06-15 Ulrich Drepper <drepper@gmail.com>
8546
8547 * Makeconfig: Define vardbdir and inst_vardbdir.
8548 * nss/Makefile: Add rules to install db-Makefile.
8549
8550 * nss/nss_db/db-XXX.c: Cleanup.
8551
8552 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8553 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8554 GLIBC_PRIVATE.
8555 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8556 * nss/makedb.c: Implement -g option to specify that value strings
8557 are generated and should not be added to table iterated over for
8558 get*ent calls.
8559 * nss/nss_db/db-initgroups.c: New file.
8560
8561 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8562 interface.
8563
8564 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8565 (internal_getgrouplist): Adjust to name change.
8566 Update use_initgroups_entry if this is not the first call.
8567 * nss/databases.def: Add initgroups entry.
8568
8569 * nss/makedb.c (compute_tables): Check result of multiple hash table
8570 sizes to minimize maximum chain length.
8571
85722011-06-14 Ulrich Drepper <drepper@gmail.com>
8573
8574 * Versions.def: Add entry for libnss_db.
8575 * shlib-versions: Likewise.
8576 * nss/Makefile: Add rules to build libnss_db.
8577 * nss/Versions: Add libnss_db information. Organize libnss_files
8578 entries better.
8579 * nss/db-Makefile: Add gshadow support. Change rules for the new
8580 makedb progra. Some minor improvements to generate smaller files.
8581 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8582 here from...
8583 * nss/makedb.c: ...here.
8584 Improve database format to be smaller and require less memory at
8585 runtime.
8586 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8587 db anymore.
8588 * nss/nss_db/db-netgrp.c: Likewise.
8589 * nss/nss_db/db-open.c: Likewise.
8590 * nss/nss_files/flies-XXX.x: Adjust comments.
8591 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8592 * nss/nss_files/files-grp.c: Likewise.
8593 * nss/nss_files/files-hosts.c: Likewise.
8594 * nss/nss_files/files-network.c: Likewise.
8595 * nss/nss_files/files-proto.c: Likewise.
8596 * nss/nss_files/files-pwd.c: Likewise.
8597 * nss/nss_files/files-rpc.c: Likewise.
8598 * nss/nss_files/files-service.c: Likewise.
8599 * nss/nss_files/files-sgrp.c: Likewise.
8600 * nss/nss_files/files-spwd.c: Likewise.
8601 * nss/nss_db/db-alias.c: Removed.
8602 * nss/nss_db/dummy-db.h: Removed.
8603
86042011-06-02 Ulrich Drepper <drepper@gmail.com>
8605
8606 * nss/makedb.c: Rewritten to not use database library.
8607 * nss/Makefile: Update to build new makedb program.
8608
86092011-06-14 Andreas Jaeger <aj@suse.de>
8610
8611 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8612 memset declaration.
8613
86142011-06-10 Andreas Schwab <schwab@redhat.com>
8615
8616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8617 tmpbuf.
8618
86192011-06-10 Roland McGrath <roland@hack.frob.com>
8620
8621 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8622 * elf/Makefile ($(objpfx)ld.so): Likewise.
8623
8624 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8625 Don't list ld.so twice in dependencies.
8626
8627 * posix/bug-regex31.c: Include <stdlib.h>.
8628
8629 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8630
8631 * nis/nss_compat/compat-spwd.c
8632 (getspent_next_nss_netgr): Remove unused variable.
8633 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8634
8635 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8636 nonmembers" output to use the right array.
8637
8638 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8639
8640 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8641
8642 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8643 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8644 * catgets/gencat.c (read_input_file): Likewise.
8645 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8646
8647 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8648 variable definition inside #if's controlling its use.
8649
8650 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8651
8652 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8653
8654 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8655
8656 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8657 unreachable code.
8658
8659 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8660
8661 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8662 * configure: Regenerated.
8663
8664 * Makerules: Revert last change.
8665 * elf/Makefile: Likewise.
8666
86672011-06-09 Roland McGrath <roland@hack.frob.com>
8668
8669 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8670 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8671 (reloc-link): Likewise.
8672
86732011-06-09 Ulrich Drepper <drepper@gmail.com>
8674
8675 * elf/Makefile: Add rules to build pldd.
8676 * elf/pldd.c: New file.
8677 * elf/pldd-xx.c: New file.
8678
86792011-06-07 Ulrich Drepper <drepper@gmail.com>
8680
8681 * version.h: Update for 2.15 development version.
8682
86832011-06-07 David S. Miller <davem@davemloft.net>
8684
8685 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8686 ifuncs.
8687 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8688 elf_machine_lazy_rel): Likewise.
8689 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8690 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8691 elf_machine_lazy_rel): Likewise.
8692 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8693 dl_hwcap via passed in argument.
8694 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8695 Likewise.
8696
86972011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8698
8699 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8700
87012011-06-06 Roland McGrath <roland@hack.frob.com>
8702
8703 [BZ #12849]
8704 * manual/fdl-1.1.texi: New file, verbatim from:
8705 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8706 * manual/lgpl-2.1.texi: New file, verbatim from:
8707 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8708 * manual/Makefile (licenses): New variable, list those new file names.
8709 (texis): Use it.
8710 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8711
8712 * manual/fdl.texi: File removed.
8713 * manual/lesser.texi: File removed.
8714 * manual/libc.texinfo (Copying, Documentation License):
8715 Use new @include file names, put @appendix directive before @include.
8716
87172011-06-04 Jakub Jelinek <jakub@redhat.com>
8718
8719 [BZ #12841]
8720 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8721 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8722 (mq_open): Add __NTH.
8723
87242011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8725
8726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8727 Assume Intel Core i3/i5/i7 processor if AVX is available.
8728
87292011-05-31 Ulrich Drepper <drepper@gmail.com>
8730
8731 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8732 typo.
8733
87342011-05-31 Andreas Schwab <schwab@redhat.com>
8735
8736 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8737 memory. Use alloca_account. Fix memory leak when retrying.
8738
87392011-05-31 Ulrich Drepper <drepper@gmail.com>
8740
8741 * version.h (RELEASE): Bump for 2.14 release.
8742 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8743
8744 * config.make.in (RANLIB): Remove entry.
8745
87462011-05-30 Ulrich Drepper <drepper@gmail.com>
8747
8748 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8749 (libc.pot): Work around missing support for .ksh extension in xgettext.
8750
8751 [BZ #12684]
8752 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8753 if both request failed.
8754 (send_dg): In case of server errors clear resplen or *resplen2.
8755
8756 [BZ #12454]
8757 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8758 when there are multiple maps.
8759 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8760 (_dl_fini): Remove test here.
8761
8762 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8763
87642011-05-29 Ulrich Drepper <drepper@gmail.com>
8765
8766 [BZ #12350]
8767 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8768 bit from old_res_options.
8769 (gaih_inet): Likewise.
8770
8771 [BZ #11099]
8772 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
8773 as signed.
8774
8775 * resolv/res_init.c (res_setoptions): Make the code more compact.
8776
8777 [BZ #11558]
8778 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8779 set RES_USEVC.
8780
8781 [BZ #11634]
8782 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8783
8784 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8785
8786 [BZ #11781]
8787 * malloc/malloc.h: Declare malloc hook variables as volatile.
8788
8789 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8790 in last patch.
8791
8792 [BZ #11799]
8793 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
8794 raise in the comment.
8795 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8796 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8797 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
8798
87992011-05-28 Ulrich Drepper <drepper@gmail.com>
8800
8801 [BZ #12811]
8802 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8803 grow the buffers more if it already has to be sufficient.
8804 (build_wcs_upper_buffer): Likewise.
8805 * posix/regexec.c (check_matching): Likewise.
8806 (clean_state_log_if_needed): Likewise.
8807 (extend_buffers): Don't enlarge buffers beyond size of the input
8808 buffer.
8809 Patches mostly by Emil Wojak <emil@wojak.eu>.
8810 * posix/bug-regex32.c: New file.
8811 * posix/Makefile (tests): Add bug-regex32.
8812
8813 * locale/findlocale.c (_nl_find_locale): Return right away if
8814 _nl_explode_name failed.
8815 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8816
8817 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8818
8819 * debug/xtrace.sh: Unify messages.
8820 * malloc/memusage.sh: Likewise.
8821
8822 [BZ #12813]
8823 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8824 time symbol from vDSO. Substitute with vsyscall if not available.
8825 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8826 __vdso_time.
8827
8828 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8829 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8830 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8831 Add sendmmsg and internal_sendmmsg.
8832 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8833 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8834 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8835
8836 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8837 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8838 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8839
88402011-05-27 Ulrich Drepper <drepper@gmail.com>
8841
8842 [BZ #12813]
8843 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8844 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8845 available.
8846 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8847 __vdso_getcpu.
8848
8849 [BZ #12814]
8850 * iconvdata/Makefile (tests): Add bug-iconv9.
8851 * iconvdata/bug-iconv9.c: New file.
8852
88532011-05-27 Andreas Schwab <schwab@redhat.com>
8854
8855 [BZ #12814]
8856 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8857
88582011-05-25 Jakub Jelinek <jakub@redhat.com>
8859
8860 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8861 (struct user_regs_struct): Change intcs field back to cs.
8862
88632011-05-25 Ulrich Drepper <drepper@gmail.com>
8864
8865 * po/ja.po: Update from translation team.
8866
88672011-05-23 Ulrich Drepper <drepper@gmail.com>
8868
8869 [BZ #12795]
8870 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8871 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8872
88732011-05-20 Andreas Schwab <schwab@redhat.com>
8874
8875 * stdlib/longlong.h: Update from GCC.
8876
88772011-05-23 Andreas Schwab <schwab@redhat.com>
8878
8879 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8880 parameter name.
8881 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8882 Add parameter name.
8883 (__sysconf): Pass it down.
8884
88852011-05-22 Ulrich Drepper <drepper@gmail.com>
8886
8887 [BZ #12671]
8888 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8889 some situations.
8890 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8891 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8892 add in in __libc_use_alloca calls. Adjust callers.
8893 (glob): Use malloc in some situations.
8894
8895 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8896 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8897 pltexit.
8898
88992011-05-21 Ulrich Drepper <drepper@gmail.com>
8900
8901 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8902 and CLOCK_BOOTTIME_ALARM.
8903
8904 [BZ #12782]
8905 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8906 is returned.
8907
8908 * string/_strerror.c (__strerror_r): Print negative errors as signed
8909 numbers.
8910
8911 [BZ #12777]
8912 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8913 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8914 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8915
8916 * configure.in: Fix typo in redirection and correct removal of test
8917 files in two cases.
8918
8919 [BZ #12788]
8920 * locale/setlocale.c (new_composite_name): Fix test to check for
8921 identical name of all categories.
8922
8923 [BZ #12792]
8924 * libio/filedoalloc.c (local_isatty): New function.
8925 (_IO_file_doallocate): Use local_isatty.
8926 * stdio-common/perror.c (perror): In case a new stream is used
8927 forward the stream error.
8928 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8929 error flag.
8930
89312011-05-20 Ulrich Drepper <drepper@gmail.com>
8932
8933 [BZ #11869]
8934 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8935 alloca.
8936 * include/alloca.h (extend_alloca_account): Define.
8937
8938 [BZ #11857]
8939 * posix/regex.h: Fix comments with documentation of user-accessible
8940 fields after compilation and describe correct free'ing of pattern
8941 after re_compile_pattern.
8942 Patch by Reuben Thomas <rrt@sc3d.org>.
8943
89442011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8945
8946 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8947 and -mno-altivec to prevent the compiler from using Altivec and/or
8948 VSX instructions when the corresponding registers are not available.
8949
89502011-05-19 Andreas Schwab <schwab@redhat.com>
8951
8952 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8953
89542011-05-19 Ulrich Drepper <drepper@gmail.com>
8955
8956 * libio/freopen.c (freopen): Use __dup2, not dup2.
8957 * libio/freopen64.c (freopen64): Likewise.
8958
89592011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8960
8961 [BZ #12775]
8962 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8963 * math/Makefile (tests): Add test-powl.
8964 (CFLAGS-test-powl.c): Define.
8965 * math/test-powl.c: New file.
8966
89672011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8968
8969 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8970
89712011-05-17 Ulrich Drepper <drepper@gmail.com>
8972
8973 [BZ #11837]
8974 * iconvdata/gb18030.c: Update to GB18020-2005.
8975
89762011-05-16 Ulrich Drepper <drepper@gmail.com>
8977
8978 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8979 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8980 Patch by Aharon Robbins <arnold@skeeve.com>.
8981
8982 [BZ #11892]
8983 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8984 on the stack.
8985
8986 [BZ #11895]
8987 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8988 through underflows.
8989
8990 [BZ #12766]
8991 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8992 point to strings before performing equality test for error_one_per_line
8993 mode.
8994
8995 [BZ #11697]
8996 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8997
8998 [BZ #11820]
8999 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
9000 (struct user_fpregs_struct): Avoid __uint*_t types.
9001
9002 [BZ #6420]
9003 * malloc/mtrace.c (tr_where): Add additional parameter to point to
9004 symbol info. Use it instead of calling _dl_addr locally.
9005 (lock_and_info): New function.
9006 (tr_freehook): Call lock_and_info and pass symbol info as additional
9007 parameter to tr_where.
9008 (tr_mallochook): Likewise.
9009 (tr_reallochook): Likewise.
9010 (tr_memalignhook): Likewise.
9011
9012 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
9013 used and couldn't be at all thread-safe.
9014
90152011-05-15 Ulrich Drepper <drepper@gmail.com>
9016
9017 * libio/freopen.c (freopen): Don't close old file descriptor
9018 before the new one is opened. Instead dup the new file descriptor
9019 to the old one after the new stream is created.
9020 * libio/freopen64.c (freopen64): Likewise.
9021 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
9022 * libio/fileops.c (_IO_new_file_close_it): Handle new
9023 _IO_FLAGS2_NOCLOSE flag.
9024 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
9025 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
9026 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
9027 _IO_FLAGS2_NOCLOSE flag.
9028 * include/unistd.h: Add hidden_proto for dup3.
9029 Define __have_dup3.
9030 * io/dup3.c: Define hidden symbol.
9031 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
9032
9033 [BZ #7101]
9034 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
9035 when an incomplete long option is used.
9036 * posix/tst-getopt_long1.c: New file.
9037 * posix/Makefile (tests): Add tst-getopt_long1.
9038
9039 [BZ #10138]
9040 * scripts/config.guess: Update from autoconf-2.68.
9041 * scripts/config.sub: Likewise.
9042
9043 [BZ #10157]
9044 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
9045 tests into ...
9046 (has_cpuclock): ...this. New function.
9047 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
9048 macro here based on has_cpuclock code.
9049
9050 [BZ #10149]
9051 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9052 First byte (not low byte) is now always NUL.
9053 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
9054
9055 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9056 Use non-cancelable interfaces.
9057
9058 [BZ #9809]
9059 * locale/iso-639.def: Add entry for Sorani.
9060
9061 [BZ #11901]
9062 * include/stdlib.h: Move include protection to the right place.
9063 Define abort_msg_s. Declare __abort_msg with it.
9064 * stdlib/abort.c (__abort_msg): Adjust type.
9065 * assert/assert.c (__assert_fail_base): New function. Majority
9066 of code from __assert_fail. Allocate memory for __abort_msg with
9067 mmap.
9068 (__assert_fail): Now call __assert_fail_base.
9069 * assert/assert-perr.c: Remove bulk of implementation. Use
9070 __assert_fail_base.
9071 * include/assert.hL Declare __assert_fail_base.
9072 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
9073 mmap.
9074 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
9075
90762011-05-14 Ulrich Drepper <drepper@gmail.com>
9077
9078 [BZ #11952]
9079 [BZ #12453]
9080 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
9081 until all modules are registered in the DTV.
9082 * elf/Makefile: Add rules to build and run tst-tls19.
9083 * elf/tst-tls19.c: New file.
9084 * elf/tst-tls19mod1.c: New file.
9085 * elf/tst-tls19mod2.c: New file.
9086 * elf/tst-tls19mod3.c: New file.
9087 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
9088
9089 [BZ #12083]
9090 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
9091 correctly.
9092
9093 [BZ #12601]
9094 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
9095 two-byte sequence errors.
9096 * iconvdata/Makefile (tests): Add bug-iconv8.
9097 * iconvdata/bug-iconv8.c: New file.
9098
9099 [BZ #12626]
9100 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
9101 buf2 definition.
9102
9103 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
9104
9105 [BZ #12432]
9106 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
9107 (dummy_getcfa): New function.
9108 (init): Get _Unwind_GetCFA address, use dummy if not found.
9109 (backtrace_helper): In recursion check, also check whether CFA changes.
9110 (__backtrace): Completely initialize arg.
9111
9112 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
9113 storing incomplete byte sequence in state object. Avoid testing for
9114 guaranteed too small input if we know there is enough data available.
9115
91162011-05-11 Andreas Schwab <schwab@redhat.com>
9117
9118 * Makeconfig (+link-pie): Indent.
9119 * Rules (binaries-pie): Define if $(have-fpie) and
9120 $(build-shared).
9121 (binaries-shared): Also filter out $(binaries-pie).
9122 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
9123 * nscd/Makefile (others-pie): Add nscd.
9124 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
9125 ($(objpfx)nscd): Remove command override.
9126 * login/Makefile (others-pie): Add pt_chown.
9127 ($(objpfx)pt_chown): Remove command override.
9128 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
9129 remove command overrides.
9130
91312011-05-13 Ulrich Drepper <drepper@gmail.com>
9132
9133 * libio/tst_putwc.c: Fix error messages.
9134
9135 [BZ #12724]
9136 * libio/fileops.c (_IO_new_file_close_it): Always flush when
9137 currently writing and seek to current position when not.
9138 * libio/Makefile (tests): Add bug-fclose1.
9139 * libio/bug-fclose1.c: New file.
9140
91412011-05-12 Ulrich Drepper <drepper@gmail.com>
9142
9143 [BZ #12511]
9144 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
9145 don't set DF_1_NODELETE here.
9146 (do_lookup_x): When entering new entry test for copy relocation
9147 and if necessary set DF_1_NODELETE flag.
9148 * elf/tst-unique4.cc: New file.
9149 * elf/tst-unique4.h: New file.
9150 * elf/tst-unique4lib.cc: New file.
9151 * elf/Makefile: Add rules to build and run tst-unique4.
9152 Patch by Piotr Bury <pbury@goahead.com>.
9153
91542011-05-11 Ulrich Drepper <drepper@gmail.com>
9155
9156 [BZ #12052]
9157 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
9158
9159 [BZ #12625]
9160 * misc/mntent_r.c (addmntent): Flush the stream after the output
9161
9162 [BZ #12393]
9163 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
9164 (is_trusted_path_normalize): Skip initial colon. Append slash
9165 to empty buffer. Duplicate is_trusted_path code but allow
9166 constructed patch to be prefix.
9167 (is_dst): Allow $ORIGIN followed by /.
9168 (_dl_dst_substitute): Correct clearing of check_for_trusted.
9169 Correct testing of result of is_trusted_path_normalize
9170 (decompose_rpath): Fix warning.
9171
91722011-05-10 Ulrich Drepper <drepper@gmail.com>
9173
9174 [BZ #11257]
9175 * grp/initgroups.c (internal_getgrouplist): When we found the service
9176 list through the initgroups entry in nsswitch.conf do not always
9177 continue on a successful lookup. Don't always use the
9178 __nss_group_database value if it is set.
9179 * nss/nsswitch.conf (initgroups): Change action for successful db
9180 lookup to continue for compatibility.
9181
91822011-05-09 Ulrich Drepper <drepper@gmail.com>
9183
9184 [BZ #11532]
9185 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
9186 and CP774 modules.
9187 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
9188 and CP774 modules.
9189 * iconvdata/tst-tables.sh: Likewise.
9190 * iconvdata/cp770.c: New file.
9191 * iconvdata/cp771.c: New file.
9192 * iconvdata/cp772.c: New file.
9193 * iconvdata/cp773.c: New file.
9194 * iconvdata/cp774.c: New file.
9195 * iconvdata/testdata/CP770: New file.
9196 * iconvdata/testdata/CP770..UTF8: New file.
9197 * iconvdata/testdata/CP771: New file.
9198 * iconvdata/testdata/CP771..UTF8: New file.
9199 * iconvdata/testdata/CP772: New file.
9200 * iconvdata/testdata/CP772..UTF8: New file.
9201 * iconvdata/testdata/CP773: New file.
9202 * iconvdata/testdata/CP773..UTF8: New file.
9203 * iconvdata/testdata/CP774: New file.
9204 * iconvdata/testdata/CP774..UTF8: New file.
9205
9206 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
9207 END CHARMAP line.
9208 * iconvdata/gen-8bit-gap.sh: Likewise.
9209 * iconvdata/gen-8bit.sh: Likewise.
9210
9211 * locale/iso-639.def: Add ary entry.
9212
9213 [BZ #11258]
9214 * locale/C-translit.h.in: Add U20A1 transliteration.
9215
9216 [BZ #12178]
9217 * locale/iso-639.def: Add wae entry.
9218 Patch by Kevin Bortis <bortis@translate-wae.ch>.
9219
9220 [BZ #12545]
9221 * locale/programs/localedef.c (construct_output_path): Use ssize_t
9222 for n.
9223
9224 [BZ #12711]
9225 * locale/C-translit.h.in: Add entry for U20B9.
9226 Patch by pravin.d.s@gmail.com.
9227
92282011-05-08 Ulrich Drepper <drepper@gmail.com>
9229
9230 [BZ #12713]
9231 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
9232 ENAMETOOLONG use generic getcwd.
9233 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
9234 in rtld. Use *stat64.
9235 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
9236 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
9237 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
9238 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
9239 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
9240 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
9241 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
9242 __fstatat64 macros.
9243 * include/dirent.h: Add libc_hidden_proto for rewinddir.
9244 * dirent/rewinddir.c: Add libc_hidden_def.
9245 * sysdeps/mach/hurd/rewinddir.c: Likewise.
9246 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
9247
9248 * include/dirent.h (__alloc_dir): Add flags parameter.
9249 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
9250 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
9251 __alloc_dir.
9252 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
9253 from fdopendir if O_CLOEXEC is already set.
9254
92552011-03-15 Alan Modra <amodra@gmail.com>
9256
9257 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
9258 l_tls_firstbyte_offset non-zero. Save padding offset in
9259 l_tls_firstbyte_offset for later use.
9260 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
9261 freeing static tls block.
9262
92632011-03-05 Jonathan Nieder <jrnieder@gmail.com>
9264
9265 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
9266 where #ifdef was intended. The intent is to prevent ARG_MAX from
9267 being defined by the kernel headers.
9268
92692011-05-07 Ulrich Drepper <drepper@gmail.com>
9270
9271 [BZ #12734]
9272 * resolv/resolv.h: Define RES_NOTLDQUERY.
9273 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
9274 no-tld-query and set RES_NOTLDQUERY.
9275 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
9276 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
9277 modern BIND to search name as TLD unless forbidden.
9278
92792011-05-07 Petr Baudis <pasky@suse.cz>
9280 Ulrich Drepper <drepper@gmail.com>
9281
9282 [BZ #12393]
9283 * elf/dl-load.c (fillin_rpath): Move trusted path check...
9284 (is_trusted_path): ...to here.
9285 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
9286 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
9287 using is_trusted_path_normalize() in setuid scripts.
9288
92892011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9290
9291 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
9292 __BEGIN/__END_DECLS.
9293
92942011-05-06 Ulrich Drepper <drepper@gmail.com>
9295
9296 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
9297 NSS_STATUS_NOTFOUND if no record was found.
9298
92992011-05-05 Andreas Schwab <schwab@redhat.com>
9300
9301 * sunrpc/Makefile (headers): Add rpc/netdb.h.
9302 (headers-not-in-tirpc): Remove rpc/netdb.h
9303 * resolv/netdb.h: Revert last change.
9304
93052011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9306
9307 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
9308 circular dependency between libgcc.a and libc.a.
9309
93102011-05-05 Andreas Schwab <schwab@redhat.com>
9311
9312 * resolv/netdb.h: Don't include <rpc/netdb.h>.
9313 * nis/Makefile: Don't install rpcsvc/*.
9314 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
9315 instead of <rpc/types.h>.
9316 (MAXHOSTNAMELEN): Define.
9317
93182011-05-03 Andreas Schwab <schwab@redhat.com>
9319
9320 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9321
93222011-04-28 Maciej Babinski <mbabinski@google.com>
9323
9324 [BZ #12714]
9325 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9326 gethostbyname4_r when IPv6 results are possible.
9327
93282011-05-02 Ulrich Drepper <drepper@gmail.com>
9329
9330 [BZ #12723]
9331 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9332 _PC_PIPE_BUF handling.
9333
93342011-04-30 Bruno Haible <bruno@clisp.org>
9335
9336 [BZ #12717]
9337 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9338 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9339 to 'int'.
9340 * inet/getnameinfo.c (getnameinfo): Likewise.
9341
93422011-04-29 Ulrich Drepper <drepper@gmail.com>
9343
9344 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9345 to groups setting in database lookup.
9346 * nss/nsswitch.conf: Add initgroups entry.
9347
93482011-04-22 Ulrich Drepper <drepper@gmail.com>
9349
9350 [BZ #12685]
9351 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9352 mode string.
9353 Patch by Eric Blake <eblake@redhat.com>.
9354
93552011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9356
9357 * sunrpc/Makefile (need-export-routines): Add svc_run.
9358 (routines): Remove svc_run.
9359 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9360 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9361 * sunrpc/svc_run.c (svc_run): Likewise.
9362 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9363
93642011-04-21 Ulrich Drepper <drepper@gmail.com>
9365
9366 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9367 problem in reallocation in last patch.
9368
93692011-04-20 Ulrich Drepper <drepper@gmail.com>
9370
9371 * sunrpc/Makefile: Move inclusion of Rules.
9372
93732011-04-19 Ulrich Drepper <drepper@gmail.com>
9374
9375 * nss/nss_files/files-initgroups.c: New file.
9376 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9377 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9378 _nss_files_initgroups_dyn.
9379
93802011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9381
9382 * elf/elf.h (R_ARM_IRELATIVE): Define.
9383
93842011-04-19 Ulrich Drepper <drepper@gmail.com>
9385
9386 * po/ru.po: Update from translation team.
9387
93882011-04-17 Ulrich Drepper <drepper@gmail.com>
9389
9390 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9391 dependencies.
9392
93932011-02-06 Mike Frysinger <vapier@gentoo.org>
9394
9395 [BZ #12653]
9396 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9397 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9398 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9399 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9400 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9401
94022011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9403
9404 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9405 differing bytes.
9406 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9407 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9408 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9409
94102011-04-17 Ulrich Drepper <drepper@gmail.com>
9411
9412 [BZ #12420]
9413 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9414 storing it.
9415 * stdlib/bug-getcontext.c: New file.
9416 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9417
94182011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9419
9420 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9421 instructions into .machine "z9-109".
9422 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9423 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9424
94252011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9426
9427 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9428 between environment variables and auxiliary vector.
9429
94302011-04-16 Ulrich Drepper <drepper@gmail.com>
9431
9432 * Makefile: Add rules to build linkobj/libc.so.
9433 * include/libc-symbols.h: Define libc_hidden_nolink.
9434 * include/rpc/auth.h: Mark functions which are to be hidden.
9435 * include/rpc/auth_des.h: Likewise.
9436 * include/rpc/auth_unix.h: Likewise.
9437 * include/rpc/clnt.h: Likewise.
9438 * include/rpc/des_crypt.h: Likewise.
9439 * include/rpc/key_prot.h: Likewise.
9440 * include/rpc/pmap_clnt.h: Likewise.
9441 * include/rpc/pmap_prot.h: Likewise.
9442 * include/rpc/pmap_rmt.h: Likewise.
9443 * include/rpc/rpc_msg.h: Likewise.
9444 * include/rpc/svc.h: Likewise.
9445 * include/rpc/svc_auth.h: Likewise.
9446 * include/rpc/xdr.h: Likewise.
9447 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9448 * nss/Makefile: Likewise.
9449 * sunrpc/Makefile: Don't install headers. Build library with normal
9450 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9451 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9452 for the compat linking library. Remove use of INTDEF/INTUSE.
9453 * sunrpc/auth_none.c: Likewise.
9454 * sunrpc/auth_unix.c: Likewise.
9455 * sunrpc/authdes_prot.c: Likewise.
9456 * sunrpc/authuxprot.c: Likewise.
9457 * sunrpc/clnt_gen.c: Likewise.
9458 * sunrpc/clnt_perr.c: Likewise.
9459 * sunrpc/clnt_raw.c: Likewise.
9460 * sunrpc/clnt_simp.c: Likewise.
9461 * sunrpc/clnt_tcp.c: Likewise.
9462 * sunrpc/clnt_udp.c: Likewise.
9463 * sunrpc/clnt_unix.c: Likewise.
9464 * sunrpc/des_crypt.c: Likewise.
9465 * sunrpc/des_soft.c: Likewise.
9466 * sunrpc/get_myaddr.c: Likewise.
9467 * sunrpc/key_call.c: Likewise.
9468 * sunrpc/key_prot.c: Likewise.
9469 * sunrpc/netname.c: Likewise.
9470 * sunrpc/pm_getmaps.c: Likewise.
9471 * sunrpc/pm_getport.c: Likewise.
9472 * sunrpc/pmap_clnt.c: Likewise.
9473 * sunrpc/pmap_prot.c: Likewise.
9474 * sunrpc/pmap_prot2.c: Likewise.
9475 * sunrpc/pmap_rmt.c: Likewise.
9476 * sunrpc/publickey.c: Likewise.
9477 * sunrpc/rpc_cmsg.c: Likewise.
9478 * sunrpc/rpc_common.c: Likewise.
9479 * sunrpc/rpc_dtable.c: Likewise.
9480 * sunrpc/rpc_prot.c: Likewise.
9481 * sunrpc/rpc_thread.c: Likewise.
9482 * sunrpc/rtime.c: Likewise.
9483 * sunrpc/svc.c: Likewise.
9484 * sunrpc/svc_auth.c: Likewise.
9485 * sunrpc/svc_authux.c: Likewise.
9486 * sunrpc/svc_raw.c: Likewise.
9487 * sunrpc/svc_run.c: Likewise.
9488 * sunrpc/svc_simple.c: Likewise.
9489 * sunrpc/svc_tcp.c: Likewise.
9490 * sunrpc/svc_udp.c: Likewise.
9491 * sunrpc/svc_unix.c: Likewise.
9492 * sunrpc/svcauth_des.c: Likewise.
9493 * sunrpc/xcrypt.c: Likewise.
9494 * sunrpc/xdr.c: Likewise.
9495 * sunrpc/xdr_array.c: Likewise.
9496 * sunrpc/xdr_float.c: Likewise.
9497 * sunrpc/xdr_intXX_t.c: Likewise.
9498 * sunrpc/xdr_mem.c: Likewise.
9499 * sunrpc/xdr_rec.c: Likewise.
9500 * sunrpc/xdr_ref.c: Likewise.
9501 * sunrpc/xdr_sizeof.c: Likewise.
9502 * sunrpc/xdr_stdio.c: Likewise.
9503
95042011-04-10 Ulrich Drepper <drepper@gmail.com>
9505
9506 [BZ #12650]
9507 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9508 * sysdeps/ia64/dl-tls.h: Likewise.
9509 * sysdeps/powerpc/dl-tls.h: Likewise.
9510 * sysdeps/s390/dl-tls.h: Likewise.
9511 * sysdeps/sh/dl-tls.h: Likewise.
9512 * sysdeps/sparc/dl-tls.h: Likewise.
9513 * sysdeps/x86_64/dl-tls.h: Likewise.
9514 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9515
95162011-03-14 Andreas Schwab <schwab@redhat.com>
9517
9518 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9519 rpath element also skip the following colon.
9520 (expand_dynamic_string_token): Add is_path parameter and pass
9521 down to DL_DST_REQUIRED and _dl_dst_substitute.
9522 (decompose_rpath): Call expand_dynamic_string_token with
9523 non-zero is_path. Ignore empty rpaths.
9524 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9525 with zero is_path.
9526
95272011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9528
9529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9530 Make cancelable.
9531
95322011-04-09 Ulrich Drepper <drepper@gmail.com>
9533
9534 [BZ #12655]
9535 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9536 Patch by Filipe David Manana <fdmanana@apache.org>.
9537
95382011-04-07 Andreas Schwab <schwab@redhat.com>
9539
9540 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9541 Maintain aligned stack.
9542 (CHECK_RSP): Remove unused macro.
9543
95442011-04-03 Ulrich Drepper <drepper@gmail.com>
9545
9546 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9547 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9548
95492011-04-02 Ulrich Drepper <drepper@gmail.com>
9550
9551 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9552
9553 * include/features.h: Mention __USE_XOPEN2K8 in comment.
9554
95552011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9556
9557 [BZ #12518]
9558 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9559 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9560 * sysdeps/x86_64/memmove.c: New file.
9561 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9562 (memcpy): Renamed to ...
9563 (__new_memcpy): This.
9564 (memcpy): Provide GLIBC_2_14 memcpy.
9565 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9566 (memcpy): Provide GLIBC_2_2_5 memcpy.
9567
95682011-04-01 Ulrich Drepper <drepper@gmail.com>
9569
9570 [BZ #12631]
9571 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9572
95732011-03-30 Andreas Schwab <schwab@redhat.com>
9574
9575 * misc/syncfs.c: New file.
9576 * misc/Makefile (routines): Add syncfs.
9577 * posix/unistd.h: Declare syncfs.
9578 * sysdeps/unix/syscalls.list: Add syncfs.
9579
95802011-04-01 Andreas Schwab <schwab@redhat.com>
9581
9582 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9583 open_by_handle_at.
9584 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9585 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9586 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9587 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9588 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9589 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9590 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9591
95922011-04-01 Ulrich Drepper <drepper@gmail.com>
9593
9594 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9595 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9596 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9597 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9598 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9599 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9600 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9601
9602 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9603 sync_file_range.c with -fexceptions.
9604 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9605 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9606 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9607 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9608 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9609 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9610 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
9611 sync_file_range as cancellation point
9612 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9613 now a wrapper around __call_sync_file_range with cancellation handling.
9614 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9615 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9616 function name to __call_sync_file_range.
9617 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9618 Add call_sync_file_range.
9619
96202011-04-01 Andreas Schwab <schwab@redhat.com>
9621
9622 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9623 bits/timex.h.
9624
96252011-04-01 Ulrich Drepper <drepper@gmail.com>
9626
9627 * iconv/iconv.h: Fix typo in comment.
9628 * io/fcntl.h: Likewise.
9629 * libio/stdio.h: Likewise.
9630 * posix/spawn.h: Likewise.
9631 * posix/unistd.h: Likewise.
9632 * stdlib/stdlib.h: Likewise.
9633 * time/time.h: Likewise.
9634 * wcsmbs/wchar.h: Likewise.
9635
9636 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9637 open_by_handle): Add.
9638 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9639 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9640 Augment a few comments.
9641 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9642 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9643 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9644 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9645 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9646 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9647 open_by_handle.
9648
9649 * io/fcntl.h (AT_EMPTY_PATH): Define.
9650
96512011-03-30 Ulrich Drepper <drepper@gmail.com>
9652
9653 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9654 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9655 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9656 to...
9657 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
9658 * Versions.def: Add GLIBC_2.14.
9659 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9660 Export.
9661
96622011-03-22 Ulrich Drepper <drepper@gmail.com>
9663
9664 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9665 round counter.
9666 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9667
96682011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9669
9670 [BZ #12597]
9671 * string/test-strncmp.c (do_page_test): New function.
9672 (check2): Likewise.
9673 (test_main): Call check2.
9674 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9675
96762011-03-20 Ulrich Drepper <drepper@gmail.com>
9677
9678 [BZ #12587]
9679 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9680 Handle cache information in CPU leaf 4.
9681 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9682
96832011-03-18 Ulrich Drepper <drepper@gmail.com>
9684
9685 [BZ #12583]
9686 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9687 character representation.
9688 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9689
96902011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9691
9692 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9693 END(__isnan) to END(__isnanf) to match function entry point/label
9694 EALIGN(__isnanf,...).
9695
96962011-03-10 Jakub Jelinek <jakub@redhat.com>
9697
9698 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9699
97002011-03-10 Ulrich Drepper <drepper@gmail.com>
9701
9702 [BZ #12510]
9703 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9704 copy from the symbol referenced in the relocation to initialize the
9705 used variable.
9706 Patch by Piotr Bury <pbury@goahead.com>.
9707 * elf/Makefile: Add rules to build and tst-unique3.
9708 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9709 * elf/tst-unique3.cc: New file.
9710 * elf/tst-unique3.h: New file.
9711 * elf/tst-unique3lib.cc: New file.
9712 * elf/tst-unique3lib2.cc: New file.
9713
9714 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9715
97162011-03-10 Mike Frysinger <vapier@gentoo.org>
9717
9718 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9719 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9720 to _start.
9721
97222011-03-06 Ulrich Drepper <drepper@gmail.com>
9723
9724 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9725 to-be-loaded object along a path to loader is ld.so.
9726
97272011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9728 Ulrich Drepper <drepper@gmail.com>
9729
9730 * sysdeps/x86_64/memset.S: After aligning destination, code
9731 branches to different locations depending on the value of
9732 misalignment, when multiarch is enabled. Fix this.
9733
97342011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9735
9736 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9737 Set _x86_64_preferred_memory_instruction for AMD processsors.
9738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9739 Set bit_Prefer_SSE_for_memop for AMD processors.
9740
97412011-03-04 Ulrich Drepper <drepper@gmail.com>
9742
9743 * libio/fmemopen.c (fmemopen): Optimize a bit.
9744
97452011-03-03 Andreas Schwab <schwab@redhat.com>
9746
9747 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9748
97492011-03-03 Roland McGrath <roland@redhat.com>
9750
9751 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9752
97532011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9754
9755 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
9756 __bzero_ultra1 instead of __memset_ultra1.
9757
97582011-02-23 Andreas Schwab <schwab@redhat.com>
9759 Ulrich Drepper <drepper@gmail.com>
9760
9761 [BZ #12509]
9762 * include/link.h (struct link_map): Add l_orig_initfini.
9763 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9764 returning unsuccessfully.
9765 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9766 close of a file loaded at startup, restore the original l_initfini
9767 list.
9768 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9769 list, store the pointer.
9770 * elf/Makefile ($(objpfx)noload-mem): New rule.
9771 (noload-ENV): Define.
9772 (tests): Add $(objpfx)noload-mem.
9773 * elf/noload.c: Include <memcheck.h>.
9774 (main): Call mtrace. Close all opened handles.
9775
97762011-02-17 Andreas Schwab <schwab@redhat.com>
9777
9778 [BZ #12454]
9779 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9780 dependencies are missing.
9781
97822011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9783
9784 Fix __if_freereq crash: Unlike the generic version which uses free,
9785 Hurd needs munmap.
9786 * sysdeps/mach/hurd/ifreq.h: New file.
9787
97882011-01-27 Petr Baudis <pasky@suse.cz>
9789 Ulrich Drepper <drepper@gmail.com>
9790
9791 [BZ 12445]#
9792 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9793 to extend_alloca().
9794 * stdio-common/bug23.c: New file.
9795 * stdio-common/Makefile (tests): Add bug23.
9796
97972010-09-28 Andreas Schwab <schwab@redhat.com>
9798 Ulrich Drepper <drepper@gmail.com>
9799
9800 [BZ #12489]
9801 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9802 before performing relro protection. At old place add assertion
9803 to make sure nothing changed.
9804
98052011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9806 Glauber de Oliveira Costa <glommer@gmail.com>
9807
9808 * elf/elf.h: Add new ARM TLS relocs.
9809
98102011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9811
9812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9813 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9814 cast from r3.
9815 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9816 'tests' variable.
9817 * sysdeps/wordsize-64/tst-writev.c: New file.
9818
98192011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9820
9821 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9822 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9823 insns in _dl_start to prevent a TOC reference before relocs are
9824 resolved.
9825
98262011-02-15 Ulrich Drepper <drepper@gmail.com>
9827
9828 [BZ #12469]
9829 * Makeconfig: Remove RANLIB definition.
9830 * Makerules: Don't use RANLIB.
9831 * aclocal.m4: Remove ranlib test.
9832 * configure.in: No need to check for ranlib.
9833 * elf/rtld-Rules: Don't use RANLIB.
9834
98352011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9836
9837 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9838 protection macro.
9839 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9840 inclusion protection macro.
9841
9842 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9843 SIGRTMIN and SIGRTMAX and print information in that case only when
9844 SIGRTMIN is defined.
9845
98462011-02-11 Jakub Jelinek <jakub@redhat.com>
9847
9848 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9849 arginfo fn returning -1.
9850
9851 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9852 and thousands string is zero terminated.
9853
98542011-02-03 Andreas Schwab <schwab@redhat.com>
9855
9856 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9857 sysdeps/unix/sysv/linux/bits/socket.h.
9858
98592011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9860
9861 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9862 (__CPU_COUNT): Remove old macros.
9863 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9864 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9865 (__CPU_ALLOC, __CPU_FREE): Add macros.
9866 (__sched_cpualloc, __sched_cpufree): Add declarations.
9867
98682011-02-05 Ulrich Drepper <drepper@gmail.com>
9869
9870 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9871 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9872 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9873 (readdhstai): Return value of addhstaiX call.
9874 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9875 (addgrbyX): Return value returned by cache_addgr.
9876 (readdgrbyname): Return value returned by addgrbyX.
9877 (readdgrbygid): Likewise.
9878 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9879 (addpwbyX): Return value returned by cache_addpw.
9880 (readdpwbyname): Return value returned by addhstbyX.
9881 (readdpwbyuid): Likewise.
9882 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9883 (addservbyX): Return value returned by cache_addserv.
9884 (readdservbyname): Return value returned by addservbyX:
9885 (readdservbyport): Likewise.
9886 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9887 (addhstbyX): Return value returned by cache_addhst.
9888 (readdhstbyname): Return value returned by addhstbyX.
9889 (readdhstbyaddr): Likewise.
9890 (readdhstbynamev6): Likewise.
9891 (readdhstbyaddrv6): Likewise.
9892 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9893 (readdinitgroups): Return value returned by addinitgroupsX.
9894 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9895 (prune_cache): Keep track of timeout value of re-added entries.
9896 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9897 * nscd/nscd.h: Adjust prototypes of readd* functions.
9898
98992011-02-04 Roland McGrath <roland@redhat.com>
9900
9901 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9902 (nis_stats): Likewise.
9903 * nis/nis_modify.c (nis_modify): Likewise.
9904 * nis/nis_remove.c (nis_remove): Likewise.
9905 * nis/nis_add.c (nis_add): Likewise.
9906
9907 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9908
9909 * posix/fnmatch_loop.c: Add some consts.
9910
9911 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9912
99132011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9914
9915 [BZ #12460]
9916 * config.make.in (config-cflags-novzeroupper): Define.
9917 * configure.in: Substitute libc_cv_cc_novzeroupper.
9918 * elf/Makefile (AVX-CFLAGS): Define.
9919 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9920 (CFLAGS-tst-auditmod4a.c): Likewise.
9921 (CFLAGS-tst-auditmod4b.c): Likewise.
9922 (CFLAGS-tst-auditmod6b.c): Likewise.
9923 (CFLAGS-tst-auditmod6c.c): Likewise.
9924 (CFLAGS-tst-auditmod7b.c): Likewise.
9925 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9926
99272011-02-02 Ulrich Drepper <drepper@gmail.com>
9928
9929 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9930 function to the callback.
9931 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9932
99332011-02-02 Andreas Schwab <schwab@redhat.com>
9934
9935 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9936 of errno.
9937
99382011-01-19 Ulrich Drepper <drepper@gmail.com>
9939
9940 [BZ #11724]
9941 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9942 of constructors.
9943 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9944 of destructors.
9945 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9946
9947 [BZ #11724]
9948 * elf/Makefile: Add rules to build and run new test.
9949 * elf/tst-initorder.c: New file.
9950 * elf/tst-initorder.exp: New file.
9951 * elf/tst-initordera1.c: New file.
9952 * elf/tst-initordera2.c: New file.
9953 * elf/tst-initordera3.c: New file.
9954 * elf/tst-initordera4.c: New file.
9955 * elf/tst-initorderb1.c: New file.
9956 * elf/tst-initorderb2.c: New file.
9957 * elf/tst-order-a1.c: New file.
9958 * elf/tst-order-a2.c: New file.
9959 * elf/tst-order-a3.c: New file.
9960 * elf/tst-order-a4.c: New file.
9961 * elf/tst-order-b1.c: New file.
9962 * elf/tst-order-b2.c: New file.
9963 * elf/tst-order-main.c: New file.
9964 New test case by George Gensure <werkt0@gmail.com>.
9965
99662010-10-01 Andreas Schwab <schwab@redhat.com>
9967
9968 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9969 decoding ACE if AI_CANONIDN.
9970
99712011-01-18 Ulrich Drepper <drepper@gmail.com>
9972
9973 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9974
99752011-01-17 Ulrich Drepper <drepper@gmail.com>
9976
9977 * version.h (RELEASE): Bump for 2.13 release.
9978 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9979
9980 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9981
9982 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9983 MADV_NOHUGEPAGE.
9984 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9985 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9986 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9987 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9988 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9989 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9990
9991 * posix/getconf.c: Update copyright year.
9992 * catgets/gencat.c: Likewise.
9993 * csu/version.c: Likewise.
9994 * debug/catchsegv.sh: Likewise.
9995 * debug/xtrace.sh: Likewise.
9996 * elf/ldconfig.c: Likewise.
9997 * elf/ldd.bash.in: Likewise.
9998 * elf/sprof.c (print_version): Likewise.
9999 * iconv/iconv_prog.c: Likewise.
10000 * iconv/iconvconfig.c: Likewise.
10001 * locale/programs/locale.c: Likewise.
10002 * locale/programs/localedef.c: Likewise.
10003 * malloc/memusage.sh: Likewise.
10004 * malloc/mtrace.pl: Likewise.
10005 * nscd/nscd.c (print_version): Likewise.
10006 * nss/getent.c: Likewise.
10007
10008 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
10009 PF_CAIF, and PF_ALG.
10010 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10011
100122011-01-16 Andreas Schwab <schwab@linux-m68k.org>
10013
10014 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
10015 (modules-names): Use them.
10016 (ifunc-test-modules, ifunc-pie-tests): Define.
10017 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
10018 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
10019 (test-extras): Likewise.
10020 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
10021 $(compile-command.c).
10022 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
10023 (all-built-dso): Define.
10024 (check-textrel.out, check-execstack.out): Depend on it.
10025
10026 * configure.in: Don't override --enable-multi-arch.
10027
100282011-01-15 Ulrich Drepper <drepper@gmail.com>
10029
10030 [BZ #6812]
10031 * nscd/hstcache.c (tryagain): Define.
10032 (cache_addhst): Return tryagain not notfound for temporary errors.
10033 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
10034 failed.
10035
100362011-01-14 Ulrich Drepper <drepper@gmail.com>
10037
10038 [BZ #10563]
10039 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
10040 to make the syscall.
10041 * sysdeps/unix/sysv/linux/setgroups.c: New file.
10042
10043 [BZ #12378]
10044 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
10045 and fall back to matching as normal character if the string ends before
10046 the matching ']' is found. This is what POSIX requires.
10047 * posix/testfnm.c: Adjust test result.
10048 * posix/globtest.sh: Adjust test result. Add new test.
10049 * posix/tst-fnmatch.input: Likewise.
10050 * posix/tst-fnmatch2.c: Add new test.
10051
100522010-12-28 Andreas Schwab <schwab@linux-m68k.org>
10053
10054 * elf/Makefile (check-execstack): Revert last change. Depend on
10055 check-execstack.h.
10056 (check-execstack.h): New target.
10057 (generated): Add check-execstack.h.
10058 * elf/check-execstack.c: Include "check-execstack.h".
10059 (main): Revert last change.
10060 (handle_file): Return zero if GNU_STACK is absent and
10061 DEFAULT_STACK_PERMS doesn't include PF_X.
10062
100632011-01-13 Ulrich Drepper <drepper@gmail.com>
10064
10065 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
10066 in child fails because the descriptor is already closed.
10067 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
10068 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
10069 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
10070
10071 [BZ #12397]
10072 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
10073 syscall.
10074
10075 [BZ #10484]
10076 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
10077 temporary buffer used to handle multi lookups locally.
10078 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
10079
100802011-01-12 Ulrich Drepper <drepper@gmail.com>
10081
10082 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
10083 loader is ld.so.
10084
100852011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
10086
10087 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
10088 alignment for SSE2.
10089
100902011-01-12 Ulrich Drepper <drepper@gmail.com>
10091
10092 [BZ #12394]
10093 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
10094 characters. When rounding increased number of integer digits recompute
10095 number of groups.
10096 * stdio-common/tst-grouping.c: New file.
10097 * stdio-common/Makefile: Add rules to build and run tst-grouping.
10098
100992011-01-09 Ulrich Drepper <drepper@gmail.com>
10100
10101 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
10102 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
10103
10104 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
10105 void.
10106 * bits/select.h: Likewise.
10107
101082011-01-08 Ulrich Drepper <drepper@gmail.com>
10109
10110 * po/ja.po: Update from translation team.
10111
101122011-01-04 David S. Miller <davem@sunset.davemloft.net>
10113
10114 [BZ #11155]
10115 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
10116 implementation just like for lxstat, fxstatat, et al.
10117
101182010-12-27 Jim Meyering <meyering@redhat.com>
10119
10120 [BZ #12348]
10121 * posix/regexec.c (build_trtable): Return failure indication upon
10122 calloc failure. Otherwise, re_search_internal could infloop on OOM.
10123
101242010-12-25 Ulrich Drepper <drepper@gmail.com>
10125
10126 [BZ #12201]
10127 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
10128 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
10129 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
10130 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
10131
10132 [BZ #12207]
10133 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
10134
10135 [BZ #12204]
10136 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
10137 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
10138
101392010-12-15 H.J. Lu <hongjiu.lu@intel.com>
10140
10141 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
10142 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
10143 script has SORT_BY_INIT_PRIORITY.
10144 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
10145 NO_CTORS_DTORS_SECTIONS is defined.
10146 * elf/soinit.c: Likewise.
10147 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
10148 NO_CTORS_DTORS_SECTIONS is defined.
10149 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
10150 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
10151 * sysdeps/sh/init-first.c: Likewise.
10152 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
10153
101542010-12-24 Ulrich Drepper <drepper@gmail.com>
10155
10156 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
10157 always use the slow path.
10158
101592010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
10160
10161 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
10162 similar rule which adds the sysdep directories to the header search in
10163 order to pick up the correct platform stackinfo.h.
10164 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
10165 perform test if it is, otherwise return successfully without testing.
10166 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
10167 DEFAULT_STACK_PERMS define in stackinfo.h.
10168 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
10169 defined in stackinfo.h.
10170 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
10171 DEFAULT_STACK_PERMS defined in stackinfo.h.
10172 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
10173 * sysdeps/ia64/stackinfo.h: Likewise.
10174 * sysdeps/s390/stackinfo.h: Likewise.
10175 * sysdeps/sh/stackinfo.h: Likewise.
10176 * sysdeps/sparc/stackinfo.h: Likewise.
10177 * sysdeps/x86_64/stackinfo.h: Likewise.
10178 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
10179 PF_X for powerpc64. Retain PF_X for powerpc32.
10180
101812010-12-19 Ulrich Drepper <drepper@gmail.com>
10182
10183 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
10184 accurately.
10185 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
10186 GETDENTS_64BIT_ALIGNED.
10187
101882010-12-14 Ulrich Drepper <dreper@gmail.com>
10189
10190 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
10191
101922010-12-10 Andreas Schwab <schwab@redhat.com>
10193
10194 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
10195 _GNU_SOURCE.
10196
10197 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
10198 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
10199 Remove __restrict.
10200 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
10201 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
10202
102032010-12-09 Ulrich Drepper <drepper@gmail.com>
10204
10205 [BZ #11655]
10206 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
10207 are initialized.
10208
102092010-12-09 Jakub Jelinek <jakub@redhat.com>
10210
10211 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
10212
102132010-12-03 Ulrich Drepper <drepper@gmail.com>
10214
10215 * po/it.po: Update from translation team.
10216
102172010-12-01 H.J. Lu <hongjiu.lu@intel.com>
10218
10219 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
10220 unused codes.
10221
102222010-11-30 Ulrich Drepper <drepper@gmail.com>
10223
10224 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
10225
102262010-11-24 Andreas Schwab <schwab@redhat.com>
10227
10228 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
10229 specially.
10230 (gaih_getanswer_slice): Likewise.
10231
102322010-10-20 Jakub Jelinek <jakub@redhat.com>
10233
10234 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
10235
102362010-05-31 Petr Baudis <pasky@suse.cz>
10237
10238 [BZ #11149]
10239 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
10240 silently even in the chroot mode.
10241
102422010-11-22 Ulrich Drepper <drepper@gmail.com>
10243
10244 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
10245 last patch a bit. Pretty printing
10246
102472010-05-31 Petr Baudis <pasky@suse.cz>
10248
10249 [BZ #10085]
10250 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
10251 initialization of skip_initgroups_dyn.
10252
102532010-11-19 Ulrich Drepper <drepper@gmail.com>
10254
10255 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
10256 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
10257
102582010-11-16 Ulrich Drepper <drepper@gmail.com>
10259
10260 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
10261
102622010-11-11 Andreas Schwab <schwab@redhat.com>
10263
10264 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
10265 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
10266 (tst-fnmatch-ENV): Set MALLOC_TRACE.
10267 ($(objpfx)tst-fnmatch-mem): New rule.
10268 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
10269 * posix/tst-fnmatch.c (main): Call mtrace.
10270
102712010-11-11 H.J. Lu <hongjiu.lu@intel.com>
10272
10273 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10274 Support Intel processor model 6 and model 0x2c.
10275
102762010-11-10 Luis Machado <luisgpm@br.ibm.com>
10277
10278 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
10279 signed comparison.
10280
102812010-11-09 H.J. Lu <hongjiu.lu@intel.com>
10282
10283 [BZ #12205]
10284 * string/test-strncasecmp.c (check_result): New function.
10285 (do_one_test): Use it.
10286 (check1): New function.
10287 (test_main): Use it.
10288 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
10289 Support strcasecmp and strncasecmp.
10290
102912010-11-08 Ulrich Drepper <drepper@gmail.com>
10292
10293 [BZ #12194]
10294 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
10295 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10296
102972010-11-07 H.J. Lu <hongjiu.lu@intel.com>
10298
10299 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
10300 IFUNC support.
10301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10302 memset-x86-64.
10303 * sysdeps/x86_64/multiarch/bzero.S: New file.
10304 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
10305 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
10306 * sysdeps/x86_64/multiarch/memset.S: New file.
10307 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
10308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10309 Set bit_Prefer_SSE_for_memop for Intel processors.
10310 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
10311 Define.
10312 (index_Prefer_SSE_for_memop): Define.
10313 (HAS_PREFER_SSE_FOR_MEMOP): Define.
10314
103152010-11-04 Luis Machado <luisgpm@br.ibm.com>
10316
10317 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10318 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10319
103202010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10321
10322 [BZ #12191]
10323 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10324 (__x86_64_raw_data_cache_size_half): Likewise.
10325 (__x86_64_raw_shared_cache_size): Likewise.
10326 (__x86_64_raw_shared_cache_size_half): Likewise.
10327
10328 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10329 (__x86_64_raw_data_cache_size_half): Likewise.
10330 (__x86_64_raw_shared_cache_size): Likewise.
10331 (__x86_64_raw_shared_cache_size_half): Likewise.
10332 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10333 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10334 and __x86_64_raw_shared_cache_size_half. Round
10335 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10336 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10337 to multiple of 256 bytes.
10338
103392010-11-03 Ulrich Drepper <drepper@gmail.com>
10340
10341 [BZ #12167]
10342 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10343 of inacessible symlinks. Verify result of symlink before returning it.
10344 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10345 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10346
103472010-10-28 Erich Ritz <erichritz@gmail.com>
10348
10349 * math/math.h (isinf): Fix typo in comment.
10350
103512010-11-01 Ulrich Drepper <drepper@gmail.com>
10352
10353 * po/da.po: Update from translation team.
10354
103552010-10-26 Ulrich Drepper <drepper@gmail.com>
10356
10357 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10358 is added to the list.
10359
103602010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10361 Ulrich Drepper <drepper@gmail.com>
10362
10363 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10364 the global list here. Move code to...
10365 (_dl_add_to_namespace_list): ...here. New function.
10366 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10367 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10368 * elf/dl-load.c (lose): Don't remove the element from the list.
10369 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10370 (_dl_map_object): Likewise.
10371
103722010-10-25 Ulrich Drepper <drepper@gmail.com>
10373
10374 [BZ #12159]
10375 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10376 into all bytes of SSE register.
10377 Patch by Richard Li <richardpku@gmail.com>.
10378
103792010-10-24 Ulrich Drepper <drepper@gmail.com>
10380
10381 [BZ #12140]
10382 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10383 perturbing.
10384
103852010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10386
10387 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10388 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10389 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10390 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10392 submachine.
10393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10394
103952010-10-22 Andreas Schwab <schwab@redhat.com>
10396
10397 * include/dlfcn.h (__RTLD_SECURE): Define.
10398 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10399 mode & __RTLD_SECURE instead.
10400 (open_path): Rename preloaded parameter to secure.
10401 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10402 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10403 * elf/dl-deps.c (openaux): Likewise.
10404 * elf/rtld.c (struct map_args): Remove is_preloaded.
10405 (map_doit): Don't use it.
10406 (dl_main): Likewise.
10407 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10408 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10409
104102010-09-09 Andreas Schwab <schwab@redhat.com>
10411
10412 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10413 (sysd-rules-targets): Remove duplicates.
10414 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10415 rtld-%.$o dependency.
10416
104172010-10-18 Andreas Schwab <schwab@redhat.com>
10418
10419 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10420 _dl_map_object do it.
10421
104222010-10-19 Ulrich Drepper <drepper@gmail.com>
10423
10424 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10425 fast fma builtins, define the macros in the C99 standard.
10426 (FP_FAST_FMAF): Likewise.
10427 (FP_FAST_FMAL): Likewise.
10428 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10429
10430 * bits/mathdef.h: Update copyright year.
10431 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10432
104332010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10434
10435 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10436 builtins, define the macros in the C99 standard.
10437 (FP_FAST_FMAF): Likewise.
10438 (FP_FAST_FMAL): Likewise.
10439 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10440 multiply/add.
10441 (FP_FAST_FMAF): Likewise.
10442
104432010-10-15 Jakub Jelinek <jakub@redhat.com>
10444
10445 [BZ #3268]
10446 * math/libm-test.inc (fma_test): Some new testcases.
10447 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10448 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10449 y and infinite z. Do multiplication by C already in long double.
10450 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10451 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10452 y and infinite z. Do bitwise or of inexact bit into u.d.
10453 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10454 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10455 * sysdeps/i386/fpu/s_fma.S: Removed.
10456 * sysdeps/i386/fpu/s_fmal.S: Removed.
10457
104582010-10-16 Jakub Jelinek <jakub@redhat.com>
10459
10460 [BZ #3268]
10461 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10462 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10463 computation is not scheduled after fetestexcept. Fix value
10464 of minimum denormal long double.
10465
104662010-10-14 Jakub Jelinek <jakub@redhat.com>
10467
10468 [BZ #3268]
10469 * math/libm-test.inc (fma_test): Add some more tests.
10470 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10471 correctly.
10472
104732010-10-15 Andreas Schwab <schwab@redhat.com>
10474
10475 * scripts/data/localplt-s390-linux-gnu.data: New file.
10476 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10477
104782010-10-13 Jakub Jelinek <jakub@redhat.com>
10479
10480 [BZ #3268]
10481 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10482 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10483 instead of dbl-64.
10484 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10485 inlines.
10486 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10488 if one of x and y is very large and the other is subnormal.
10489 * sysdeps/s390/fpu/s_fmaf.c: New file.
10490 * sysdeps/s390/fpu/s_fma.c: New file.
10491 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10492 * sysdeps/powerpc/fpu/s_fma.S: New file.
10493 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10494 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10495 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10496
104972010-10-12 Jakub Jelinek <jakub@redhat.com>
10498
10499 [BZ #3268]
10500 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10501 fma tests.
10502 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10503 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10504 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10505 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10506 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10507 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10508 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10509
105102010-10-12 Ulrich Drepper <drepper@redhat.com>
10511
10512 [BZ #12078]
10513 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10514 * posix/bug-regex31.input: Add test case.
10515
105162010-10-11 Ulrich Drepper <drepper@gmail.com>
10517
10518 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10519 * posix/bug-regex31.input: New file.
10520
10521 [BZ #12078]
10522 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10523 (parse_sub_exp): Fix last change, use postorder.
10524
10525 * posix/bug-regex31.c: New file.
10526 * posix/Makefile: Add rules to build and run bug-regex31.
10527
10528 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10529
10530 [BZ #12078]
10531 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10532
10533 [BZ #12108]
10534 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10535 to have entries in sys_siglist.
10536
10537 [BZ #12093]
10538 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10539 be NULL.
10540
105412010-10-07 Jakub Jelinek <jakub@redhat.com>
10542
10543 [BZ #3268]
10544 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10545 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10546 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10547 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10548 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10549 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10550 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10551 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10552 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10553 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10554 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10555 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10556 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10557 * math/ftestexcept.c (fetestexcept): Likewise.
10558 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10559 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10560 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10561 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10562 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10563 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10564 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10565
105662010-10-11 Ulrich Drepper <drepper@gmail.com>
10567
10568 [BZ #12107]
10569 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10570 newline.
10571
105722010-10-06 Ulrich Drepper <drepper@gmail.com>
10573
10574 * string/bug-strstr1.c: New file.
10575 * string/Makefile: Add rules to build and run bug-strstr1.
10576
105772010-10-05 Eric Blake <eblake@redhat.com>
10578
10579 [BZ #12092]
10580 * string/str-two-way.h (two_way_long_needle): Always clear memory
10581 when skipping input due to the shift table.
10582
105832010-10-03 Ulrich Drepper <drepper@gmail.com>
10584
10585 [BZ #12005]
10586 * malloc/mcheck.c: Handle large requests.
10587
10588 [BZ #12077]
10589 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10590 for strncmp and strncasecmp.
10591 * string/stratcliff.c: Add tests for strcmp and strncmp.
10592 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10593
105942010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10595
10596 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10597 __set_fpscr.
10598
105992010-09-30 Andreas Jaeger <aj@suse.de>
10600
10601 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10602 (CGROUP_SUPER_MAGIC): Define.
10603 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10604 Handle btrfs and cgroup file systems.
10605 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10606 Likewise.
10607
106082010-09-27 Luis Machado <luisgpm@br.ibm.com>
10609
10610 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10611 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10612
106132010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10614
10615 [BZ #12067]
10616 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10617 trying to locate the ELF header.
10618
106192010-09-27 Andreas Schwab <schwab@redhat.com>
10620
10621 [BZ #11611]
10622 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10623 Mask out sign-bit copies when constructing f_fsid.
10624
106252010-09-24 Petr Baudis <pasky@suse.cz>
10626
10627 * debug/stack_chk_fail_local.c: Add missing licence exception.
10628 * debug/warning-nop.c: Likewise.
10629
106302010-09-15 Joseph Myers <joseph@codesourcery.com>
10631
10632 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10633 implementing getdents64 using getdents syscall, set d_type if
10634 __ASSUME_GETDENTS32_D_TYPE.
10635
106362010-09-16 Andreas Schwab <schwab@redhat.com>
10637
10638 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10639 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10640
106412010-09-21 Ulrich Drepper <drepper@redhat.com>
10642
10643 [BZ #12037]
10644 * posix/unistd.h: Undo change of feature selection for ftruncate from
10645 2010-01-11.
10646
106472010-09-20 Ulrich Drepper <drepper@redhat.com>
10648
10649 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
10650 detection.
10651
106522010-09-20 Andreas Schwab <schwab@redhat.com>
10653
10654 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10655 fanotify_mark.
10656 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10657
106582010-09-14 Andreas Schwab <schwab@redhat.com>
10659
10660 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10661 variables after CHECK_SP call.
10662 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10663
106642010-09-13 Andreas Schwab <schwab@redhat.com>
10665 Ulrich Drepper <drepper@redhat.com>
10666
10667 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10668 re-relocationg ld.so.
10669 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10670 _dl_init_paths call.
10671 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10672 here anymore.
10673
106742010-09-14 Ulrich Drepper <drepper@redhat.com>
10675
10676 * resolv/res_init.c (__res_vinit): Count the default server we added.
10677
106782010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10679 Ulrich Drepper <drepper@redhat.com>
10680
10681 [BZ #11968]
10682 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10683 (____longjmp_chk): Use %ebx for saving value across system call.
10684 Add unwind info.
10685
106862010-09-06 Andreas Schwab <schwab@redhat.com>
10687
10688 * manual/Makefile: Don't mix pattern rules with normal rules.
10689
106902010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10691
10692 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10693 operation.
10694 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10695 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10696 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10697 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10698 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10699 Likewise.
10700
107012010-09-04 Ulrich Drepper <drepper@redhat.com>
10702
10703 [BZ #11979]
10704 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10705 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10706
107072010-09-02 Ulrich Drepper <drepper@redhat.com>
10708
10709 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10710 * sysdeps/x86_64/addmul_1.S: Likewise.
10711 * sysdeps/x86_64/lshift.S: Likewise.
10712 * sysdeps/x86_64/mul_1.S: Likewise.
10713 * sysdeps/x86_64/rshift.S: Likewise.
10714 * sysdeps/x86_64/sub_n.S: Likewise.
10715 * sysdeps/x86_64/submul_1.S: Likewise.
10716
107172010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10718
10719 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10720 Define __sched_param instead of SCHED_* and sched_param when
10721 <bits/sched.h> is included with __need_schedparam defined.
10722 * bits/sched.h [__need_schedparam]
10723 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
10724 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10725 (__defined_schedparam): Define to 1.
10726 (__sched_param): New structure, identical to sched_param.
10727 (__need_schedparam): Undefine.
10728
107292010-08-31 Mike Frysinger <vapier@gentoo.org>
10730
10731 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10732 (epoll_create1): Declare.
10733
10734 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10735
107362010-08-31 Andreas Schwab <schwab@redhat.com>
10737
10738 [BZ #7066]
10739 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10740 shifting retval into place.
10741
107422010-09-01 Ulrich Drepper <drepper@redhat.com>
10743
10744 * nis/rpcsvc/nis.h: Update copyright notice.
10745 * nis/rpcsvc/nis.x: Likewise.
10746 * nis/rpcsvc/nis_callback.h: Likewise.
10747 * nis/rpcsvc/nis_callback.x: Likewise.
10748 * nis/rpcsvc/nis_object.x: Likewise.
10749 * nis/rpcsvc/nis_tags.h: Likewise.
10750 * nis/rpcsvc/yp.h: Likewise.
10751 * nis/rpcsvc/yp.x: Likewise.
10752 * nis/rpcsvc/ypupd.h: Likewise.
10753 * nis/yp_xdr.c: Likewise.
10754 * nis/ypupdate_xdr.c: Likewise.
10755
10756 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10757 mainly the body of pmap_getport. Add parameters to specify timeouts.
10758 (pmap_getport): Use __libc_rpc_getport.
10759 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10760 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10761 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10762
107632010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10764
10765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10766 fanotify_mark.
10767
107682010-08-27 Roland McGrath <roland@redhat.com>
10769
10770 * sysdeps/i386/i686/multiarch/Makefile
10771 (CFLAGS-varshift.c): New variable.
10772
107732010-08-27 Ulrich Drepper <drepper@redhat.com>
10774
10775 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10776 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10777
10778 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10779
10780 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10781
107822010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10783
10784 * sysdeps/x86_64/strlen.S: Unroll the loop.
10785 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10786 strlen-sse2 strlen-sse2-bsf.
10787 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10788 __strlen_no_bsf if bit_Slow_BSF is set.
10789 (__strlen_sse42): Removed.
10790 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10791 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10792
107932010-08-25 Roland McGrath <roland@redhat.com>
10794
10795 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10796 * sysdeps/x86_64/multiarch/varshift.c: New file.
10797 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10798 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10799 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10800 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10801
108022010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10803
10804 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10805 strlen-sse2 strlen-sse2-bsf.
10806 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10807 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10808 (__strlen_sse2): Removed.
10809 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10810 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10812 bit_Slow_BSF for Atom.
10813 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10814 (index_Slow_BSF): Define.
10815 (HAS_SLOW_BSF): Define.
10816
108172010-08-25 Ulrich Drepper <drepper@redhat.com>
10818
10819 [BZ #10851]
10820 * resolv/res_init.c (__res_vinit): When no server address at all
10821 is given default to loopback.
10822
108232010-08-24 Roland McGrath <roland@redhat.com>
10824
10825 * configure.in: Remove config-name.h generation.
10826 * configure: Regenerated.
10827 * config-name.in: File removed.
10828 * scripts/config-uname.sh: New file.
10829 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10830 ($(objdir)config-name.h): New target.
10831
10832 * sunrpc/rpc_parse.h: Avoid nested comment.
10833
108342010-08-24 Richard Henderson <rth@redhat.com>
10835 Ulrich Drepper <drepper@redhat.com>
10836 H.J. Lu <hongjiu.lu@intel.com>
10837
10838 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10839 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10840 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10841 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10842 _mm_alignr_epi8 with _mm_loadu_si128.
10843 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10844 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10845 (__m128i_shift_right): Removed.
10846 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10847 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10848 * sysdeps/x86_64/multiarch/varshift.h: New file.
10849 * sysdeps/x86_64/multiarch/varshift.S: New file.
10850
108512010-08-21 Mike Frysinger <vapier@gentoo.org>
10852
10853 * configure.in: Move assembler checks to before sysdep dir checking.
10854
108552010-08-20 Petr Baudis <pasky@suse.cz>
10856
10857 * LICENSES: Sync the sunrpc license.
10858
108592010-08-19 Ulrich Drepper <drepper@redhat.com>
10860
10861 * sunrpc/auth_des.c: Update copyright notice once again.
10862 * sunrpc/auth_none.c: Likewise.
10863 * sunrpc/auth_unix.c: Likewise.
10864 * sunrpc/authdes_prot.c: Likewise.
10865 * sunrpc/authuxprot.c: Likewise.
10866 * sunrpc/bindrsvprt.c: Likewise.
10867 * sunrpc/clnt_gen.c: Likewise.
10868 * sunrpc/clnt_perr.c: Likewise.
10869 * sunrpc/clnt_raw.c: Likewise.
10870 * sunrpc/clnt_simp.c: Likewise.
10871 * sunrpc/clnt_tcp.c: Likewise.
10872 * sunrpc/clnt_udp.c: Likewise.
10873 * sunrpc/clnt_unix.c: Likewise.
10874 * sunrpc/des_crypt.c: Likewise.
10875 * sunrpc/des_soft.c: Likewise.
10876 * sunrpc/get_myaddr.c: Likewise.
10877 * sunrpc/getrpcport.c: Likewise.
10878 * sunrpc/key_call.c: Likewise.
10879 * sunrpc/key_prot.c: Likewise.
10880 * sunrpc/openchild.c: Likewise.
10881 * sunrpc/pm_getmaps.c: Likewise.
10882 * sunrpc/pm_getport.c: Likewise.
10883 * sunrpc/pmap_clnt.c: Likewise.
10884 * sunrpc/pmap_prot.c: Likewise.
10885 * sunrpc/pmap_prot2.c: Likewise.
10886 * sunrpc/pmap_rmt.c: Likewise.
10887 * sunrpc/rpc/auth.h: Likewise.
10888 * sunrpc/rpc/auth_unix.h: Likewise.
10889 * sunrpc/rpc/clnt.h: Likewise.
10890 * sunrpc/rpc/des_crypt.h: Likewise.
10891 * sunrpc/rpc/key_prot.h: Likewise.
10892 * sunrpc/rpc/netdb.h: Likewise.
10893 * sunrpc/rpc/pmap_clnt.h: Likewise.
10894 * sunrpc/rpc/pmap_prot.h: Likewise.
10895 * sunrpc/rpc/pmap_rmt.h: Likewise.
10896 * sunrpc/rpc/rpc.h: Likewise.
10897 * sunrpc/rpc/rpc_des.h: Likewise.
10898 * sunrpc/rpc/rpc_msg.h: Likewise.
10899 * sunrpc/rpc/svc.h: Likewise.
10900 * sunrpc/rpc/svc_auth.h: Likewise.
10901 * sunrpc/rpc/types.h: Likewise.
10902 * sunrpc/rpc/xdr.h: Likewise.
10903 * sunrpc/rpc_clntout.c: Likewise.
10904 * sunrpc/rpc_cmsg.c: Likewise.
10905 * sunrpc/rpc_common.c: Likewise.
10906 * sunrpc/rpc_cout.c: Likewise.
10907 * sunrpc/rpc_dtable.c: Likewise.
10908 * sunrpc/rpc_hout.c: Likewise.
10909 * sunrpc/rpc_main.c: Likewise.
10910 * sunrpc/rpc_parse.c: Likewise.
10911 * sunrpc/rpc_parse.h: Likewise.
10912 * sunrpc/rpc_prot.c: Likewise.
10913 * sunrpc/rpc_sample.c: Likewise.
10914 * sunrpc/rpc_scan.c: Likewise.
10915 * sunrpc/rpc_scan.h: Likewise.
10916 * sunrpc/rpc_svcout.c: Likewise.
10917 * sunrpc/rpc_tblout.c: Likewise.
10918 * sunrpc/rpc_util.c: Likewise.
10919 * sunrpc/rpc_util.h: Likewise.
10920 * sunrpc/rpcinfo.c: Likewise.
10921 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10922 * sunrpc/rpcsvc/key_prot.x: Likewise.
10923 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10924 * sunrpc/rpcsvc/mount.x: Likewise.
10925 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10926 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10927 * sunrpc/rpcsvc/rex.x: Likewise.
10928 * sunrpc/rpcsvc/rstat.x: Likewise.
10929 * sunrpc/rpcsvc/rusers.x: Likewise.
10930 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10931 * sunrpc/rpcsvc/spray.x: Likewise.
10932 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10933 * sunrpc/rtime.c: Likewise.
10934 * sunrpc/svc.c: Likewise.
10935 * sunrpc/svc_auth.c: Likewise.
10936 * sunrpc/svc_authux.c: Likewise.
10937 * sunrpc/svc_raw.c: Likewise.
10938 * sunrpc/svc_run.c: Likewise.
10939 * sunrpc/svc_simple.c: Likewise.
10940 * sunrpc/svc_tcp.c: Likewise.
10941 * sunrpc/svc_udp.c: Likewise.
10942 * sunrpc/svc_unix.c: Likewise.
10943 * sunrpc/svcauth_des.c: Likewise.
10944 * sunrpc/xcrypt.c: Likewise.
10945 * sunrpc/xdr.c: Likewise.
10946 * sunrpc/xdr_array.c: Likewise.
10947 * sunrpc/xdr_float.c: Likewise.
10948 * sunrpc/xdr_mem.c: Likewise.
10949 * sunrpc/xdr_rec.c: Likewise.
10950 * sunrpc/xdr_ref.c: Likewise.
10951 * sunrpc/xdr_sizeof.c: Likewise.
10952 * sunrpc/xdr_stdio.c: Likewise.
10953
10954 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10955 handling.
10956
109572010-08-19 Andreas Schwab <schwab@redhat.com>
10958
10959 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10960
109612010-08-19 Luis Machado <luisgpm@br.ibm.com>
10962
10963 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10964 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10965 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10966 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10967 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10968 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10969 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10970 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10971 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10972 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10973 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10974 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10975 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10976 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10977
109782010-07-26 Anton Blanchard <anton@samba.org>
10979
10980 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10981 * malloc/arena.c (heap_trim): Likewise.
10982
109832010-08-16 Ulrich Drepper <drepper@redhat.com>
10984
10985 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10986 here. Not...
10987 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10988 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10989
109902010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10991
10992 * sysdeps/i386/elf/Makefile: New file.
10993
109942010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10995
10996 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10997 from fanotify_init.
10998 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10999 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11000
110012010-08-15 Ulrich Drepper <drepper@redhat.com>
11002
11003 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
11004 of strncasecmp_l.
11005 * sysdeps/multiarch/strcmp.S: Likewise.
11006
110072010-08-14 Ulrich Drepper <drepper@redhat.com>
11008
11009 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11010 strncase_l-nonascii.
11011 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11012 Add strncase_l-ssse3.
11013 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
11014 * sysdeps/x86_64/strcmp.S: Likewise.
11015 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
11016 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
11017 * sysdeps/x86_64/strncase.S: New file.
11018 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
11019 * sysdeps/x86_64/strncase_l.S: New file.
11020 * string/Makefile (strop-tests): Add strncasecmp.
11021 * string/test-strncasecmp.c: New file.
11022
11023 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
11024 warning.
11025
11026 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
11027 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
11028
110292010-08-14 Andreas Schwab <schwab@linux-m68k.org>
11030
11031 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
11032
110332010-08-12 Ulrich Drepper <drepper@redhat.com>
11034
11035 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
11036 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
11037 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
11038
110392010-05-01 Alan Modra <amodra@gmail.com>
11040
11041 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
11042 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
11043 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
11044 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
11045 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
11046 tidying. Don't tail-call __sigjmp_save for static lib.
11047 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
11048 save location.
11049 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
11050 (CALL_MCOUNT): Add eh info, and nop after bl.
11051 (TAIL_CALL_SYSCALL_ERROR): New macro.
11052 (PSEUDO_RET): Use it.
11053 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
11054 Correct save location of integer regs and cr.
11055 (_dl_profile_resolve): Correct cr save location. Delete nops
11056 after bl when SHARED. Reduce cfi size a little by better
11057 placement of cfi directives.
11058 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
11059 make a stack frame. Instead use parm save area as a temp.
11060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
11061 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
11062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11063 Don't make a stack frame for parent, use parm save area.
11064 Increase child stack frame to 112 bytes. Don't save unused reg,
11065 and adjust reg usage. Set up cfi on error recovery and
11066 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
11067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
11068 (__makecontext): Add dummy nop after jump to exit.
11069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
11070 Use correct parm save area and cr save, reduce stack frame.
11071 Correct cfi for possible PSEUDO_RET frame setup.
11072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
11073 Branch to local label emitted by PSEUDO_RET rather than
11074 __syscall_error.
11075
110762010-08-12 Andreas Schwab <schwab@redhat.com>
11077
11078 [BZ #11904]
11079 * locale/programs/locale.c (print_assignment): New function.
11080 (show_locale_vars): Use it.
11081
110822010-08-11 Ulrich Drepper <drepper@redhat.com>
11083
11084 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
11085 field.
11086 (struct statfs64): Likewise.
11087 (_STATFS_F_FLAGS): Define.
11088 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
11089 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11090 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
11091 (ST_VALID): Define locally.
11092 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
11093 __statvfs_getflags, use the provided value.
11094 * sysdeps/unix/sysv/linux/kernel-features.h: Define
11095 __ASSUME_STATFS_F_FLAGS.
11096
11097 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
11098
11099 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
11100 Add sys/fanotify.h.
11101 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
11102 fanotify_mask for GLIBC_2.13.
11103 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
11104 fanotify_init and fanotify_mark.
11105 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11106 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
11107
11108 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
11109 Add prlimit.
11110 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
11111 prlimit64 for GLIBC_2.13.
11112 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
11113 prlimit64.
11114 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
11115 syscall.
11116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11117 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11118 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
11119 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
11120 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
11121 add prlimit alias.
11122 * sysdeps/unix/sysv/linux/prlimit.c: New file.
11123
11124 [BZ #11903]
11125 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
11126 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
11127
11128 * nss/Makefile: Add rules to build and run tst-nss-test1.
11129 * shlib-versions: Add entry for libnss_test1.
11130 * nss/nss_test1.c: New file.
11131 * nss/tst-nss-test1.c: New file.
11132
11133 * nss/nsswitch.c (__nss_database_custom): Define new variable.
11134 (__nss_configure_lookup): Set appropriate entry in
11135 __nss_configure_lookup to true.
11136 * nss/nsswitch.h: Define enum with indeces of databases in
11137 databases and __nss_database_custom arrays. Declare
11138 __nss_database_custom.
11139 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
11140 to avoid using nscd when custom rules are installed.
11141 * nss/getXXbyYY_r.c: Likewise.
11142 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11143
11144 * nss/nss_files/files-parse.c: Whitespace fixes.
11145
111462010-08-09 Ulrich Drepper <drepper@redhat.com>
11147
11148 [BZ #11883]
11149 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
11150 * posix/fnmatch_loop.c: Likewise.
11151
111522010-07-17 Andi Kleen <ak@linux.intel.com>
11153
11154 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
11155 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
11156 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
11157 * Versions.def [GLIBC_2.13]: Add.
11158
111592010-08-06 Ulrich Drepper <drepper@redhat.com>
11160
11161 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11162 Also fail if tpwd after pwuid call is NULL.
11163
111642010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11165
11166 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
11167 when converting to ms.
11168
111692010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
11170
11171 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
11172 EOPNOTSUPP errors with ENOTTY.
11173 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
11174 EOPNOTSUPP errors with ENOTTY.
11175
111762010-07-31 Ulrich Drepper <drepper@redhat.com>
11177
11178 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
11179 Add strcasecmp_l-ssse3.
11180 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
11181 strcasecmp.
11182 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
11183 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
11184 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
11185
111862010-07-30 Ulrich Drepper <drepper@redhat.com>
11187
11188 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
11189
11190 * string/Makefile (strop-tests): Add strcasecmp.
11191 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
11192 strcasecmp_l-nonascii.
11193 (gen-as-const-headers): Add locale-defines.sym.
11194 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
11195 * sysdeps/x86_64/strcasecmp.S: New file.
11196 * sysdeps/x86_64/strcasecmp_l.S: New file.
11197 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
11198 * sysdeps/x86_64/locale-defines.sym: New file.
11199 * string/test-strcasecmp.c: New file.
11200
11201 * string/test-strcasestr.c: Test both ends of the range of characters.
11202 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
11203
112042010-07-29 Roland McGrath <roland@redhat.com>
11205
11206 [BZ #11856]
11207 * manual/locale.texi (Yes-or-No Questions): Fix example code.
11208
112092010-07-27 Ulrich Drepper <drepper@redhat.com>
11210
11211 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
11212 for ld.so.
11213
112142010-07-27 Andreas Schwab <schwab@redhat.com>
11215
11216 * manual/memory.texi (Malloc Tunable Parameters): Document
11217 M_PERTURB.
11218
112192010-07-26 Roland McGrath <roland@redhat.com>
11220
11221 [BZ #11840]
11222 * configure.in (-fgnu89-inline check): Set and substitute
11223 gnu89_inline, not libc_cv_gnu89_inline.
11224 * configure: Regenerated.
11225 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
11226
112272010-07-26 Ulrich Drepper <drepper@redhat.com>
11228
11229 * string/test-strnlen.c: New file.
11230 * string/Makefile (strop-tests): Add strnlen.
11231 * string/tester.c (test_strnlen): Add a few more test cases.
11232 * string/tst-strlen.c: Better error reporting.
11233
11234 * sysdeps/x86_64/strnlen.S: New file.
11235
112362010-07-24 Ulrich Drepper <drepper@redhat.com>
11237
11238 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
11239 lower-latency instructions.
11240
112412010-07-23 Ulrich Drepper <drepper@redhat.com>
11242
11243 * string/test-strcasestr.c: New file.
11244 * string/test-strstr.c: New file.
11245 * string/Makefile (strop-tests): Add strstr and strcasestr.
11246 * string/str-two-way.h: Don't undefine MAX.
11247 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
11248
112492010-07-21 Andreas Schwab <schwab@redhat.com>
11250
11251 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11252 strcasestr-nonascii.
11253 (CFLAGS-strcasestr-nonascii.c): Define.
11254 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
11255 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
11256 Remove unused attribute.
11257
112582010-07-20 Roland McGrath <roland@redhat.com>
11259
11260 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
11261 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
11262 ld.so.cache was broken. With it, there is no way to disable dsocaps
11263 like LD_HWCAP_MASK can disable hwcaps.
11264
112652010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11266
11267 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
11268
112692010-07-16 Ulrich Drepper <drepper@redhat.com>
11270
11271 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
11272 call in strcasestr.
11273 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
11274 __strcasestr_sse42_nonascii.
11275 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
11276 strcasestr-nonascii.c.
11277 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
11278
112792010-06-15 Luis Machado <luisgpm@br.ibm.com>
11280
11281 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
11282 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
11283 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
11284 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
11285
112862010-07-09 Ulrich Drepper <drepper@redhat.com>
11287
11288 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
11289 fcntl.
11290
112912010-07-06 Andreas Schwab <schwab@redhat.com>
11292
11293 [BZ #11577]
11294 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
11295 dl_signal_cerror.
11296
112972010-07-06 Ulrich Drepper <drepper@redhat.com>
11298
11299 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
11300 _PC_PIPE_BUF using F_GETPIPE_SZ.
11301
113022010-07-05 Roland McGrath <roland@redhat.com>
11303
11304 * manual/arith.texi (Rounding Functions): Fix rint description
11305 implicit in round description.
11306
113072010-07-02 Ulrich Drepper <drepper@redhat.com>
11308
11309 * elf/Makefile: Fix linking for a few tests to make recent linker
11310 happy.
11311
113122010-06-30 Andreas Schwab <schwab@redhat.com>
11313
11314 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
11315 $(common-objpfx)libc_nonshared.a.
11316
113172010-06-21 Luis Machado <luisgpm@br.ibm.com>
11318
11319 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11320 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11321 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11322 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11323 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11324 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11325 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11326 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11341 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11342 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11343 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11344 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11345 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11346 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11347 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11348 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11349 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11350 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11351 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11352 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11367
113682010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11369
11370 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11371 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11372 * string/memmove.c (memmove): Renamed to ...
11373 (MEMMOVE): ...this. Default to memmove.
11374 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11375 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11376 (END_CHK): Define.
11377 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11378 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11379 mempcpy-ssse3-back memmove-ssse3-back.
11380 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11381 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11382 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11383 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11384 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11385 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11386 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11387 * sysdeps/x86_64/multiarch/memmove.c: New file.
11388 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11389 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11390 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11391 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11392 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11393 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11394 Define.
11395 (index_Fast_Copy_Backward): Define.
11396 (HAS_ARCH_FEATURE): Define.
11397 (HAS_FAST_REP_STRING): Define.
11398 (HAS_FAST_COPY_BACKWARD): Define.
11399
114002010-06-21 Andreas Schwab <schwab@redhat.com>
11401
11402 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11403 Restore proper fallback handling.
11404
114052010-06-19 Ulrich Drepper <drepper@redhat.com>
11406
11407 [BZ #11701]
11408 * posix/group_member.c (__group_member): Correct checking loop.
11409
11410 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11411 OOM in getpwuid_r correctly. Return error number when the caller
11412 should return, otherwise -1.
11413 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11414 call returning > 0 value.
11415 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11416
114172010-06-07 Andreas Schwab <schwab@redhat.com>
11418
11419 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11420 libc_nonshared.a from targets in modules-names.
11421
114222010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11423
11424 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11425 requires it.
11426
114272010-06-10 Luis Machado <luisgpm@br.ibm.com>
11428
11429 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11430 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11431 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11432 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11433
114342010-06-02 Andreas Schwab <schwab@redhat.com>
11435
11436 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11437
114382010-06-14 Ulrich Drepper <drepper@redhat.com>
11439
11440 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11441 and F_GETPIPE_SZ.
11442 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11443 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11444 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11445 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11446 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11447 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11448
114492010-06-14 Roland McGrath <roland@redhat.com>
11450
11451 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11452
114532010-06-07 Jakub Jelinek <jakub@redhat.com>
11454
11455 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11456 __REDIRECT followed by __THROW.
11457 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11458 * posix/getopt.h (getopt): Likewise.
11459
114602010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11461
11462 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11463 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11464 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11465 in AT_FLAGS.
11466 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11467 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11468
114692010-05-28 Luis Machado <luisgpm@br.ibm.com>
11470
11471 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11472
114732010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11474
11475 [BZ #11640]
11476 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11477 Properly check family and model.
11478
114792010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11480
11481 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11482
114832010-05-24 Luis Machado <luisgpm@br.ibm.com>
11484
11485 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11486
114872010-05-21 Ulrich Drepper <drepper@redhat.com>
11488
11489 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11490 symbol reference.
11491
114922010-05-19 Andreas Schwab <schwab@redhat.com>
11493
11494 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11495 symbol reference.
11496
114972010-05-21 Andreas Schwab <schwab@redhat.com>
11498
11499 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11500 and internal_recvmmsg.
11501 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11502 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11503 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11504 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11505
11506 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11507 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11508 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11509
115102010-05-20 Andreas Schwab <schwab@redhat.com>
11511
11512 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11513
115142010-05-17 Luis Machado <luisgpm@br.ibm.com>
11515
11516 POWER7 optimizations.
11517 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11518 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11519
115202010-05-19 Ulrich Drepper <drepper@redhat.com>
11521
11522 * version.h: Update for 2.13 development version.
11523
115242010-05-12 Andrew Stubbs <ams@codesourcery.com>
11525
11526 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11527 exceptions. Return 0.
11528
115292010-05-07 Roland McGrath <roland@redhat.com>
11530
11531 * elf/ldconfig.c (main): Add a const.
11532
115332010-05-06 Ulrich Drepper <drepper@redhat.com>
11534
11535 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11536 (args_options): Add no-idn option.
11537 (ahosts_keys_int): Add idn_flags to ai_flags.
11538 (parse_option): Handle 'i' option to clear idn_flags.
11539
11540 * malloc/malloc.c (_int_free): Possible race in the most recently
11541 added check. Only act on the data if no current modification
11542 happened.
11543
11544See ChangeLog.17 for earlier changes.