1 2013-01-09 Roland McGrath <roland@hack.frob.com>
3 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
5 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7 * sysdeps/s390/fpu/libm-test-ulps: Update.
9 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18 (add_magnitudes): Likewise.
19 (sub_magnitudes): Likewise.
25 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32 (add_magnitudes): Likewise.
33 (sub_magnitudes): Likewise.
39 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
46 (add_magnitudes): Likewise.
47 (sub_magnitudes): Likewise.
54 2013-01-08 Joseph Myers <joseph@codesourcery.com>
56 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
57 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
58 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
59 2 && __USE_EXTERN_INLINES]: Likewise.
61 2013-01-08 Andreas Jaeger <aj@suse.de>
64 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
66 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
67 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
69 2013-01-07 Anton Blanchard <anton@samba.org>
71 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
73 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
74 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
75 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
76 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
77 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
78 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
79 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
80 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
81 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
82 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
83 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
84 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
85 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
86 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
87 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
88 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
89 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
90 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
91 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
92 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
93 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
94 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
95 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
96 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
97 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
98 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
99 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
100 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
101 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
102 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
103 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
104 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
105 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
106 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
107 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
108 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
109 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
110 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
111 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
112 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
113 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
115 2013-01-07 Joseph Myers <joseph@codesourcery.com>
117 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
118 (__MALLOC_PMT): Likewise.
119 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
120 [__GNUC__], only on [_LIBC].
121 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
122 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
123 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
124 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
126 (realloc_hook_ini): Likewise.
127 (memalign_hook_ini): Likewise.
128 (__libc_memalign): Do not use __MALLOC_PMT in variable
130 (__libc_valloc): Likewise.
131 (__libc_pvalloc): Likewise.
132 (__libc_calloc): Likewise.
133 (__posix_memalign): Likewise.
136 * math/s_casinh.c: Include <float.h>.
137 (__casinh): Do not do computation with squaring and square root
139 * math/s_casinhf.c: Include <float.h>.
140 (__casinhf): Do not do computation with squaring and square root
142 * math/s_casinhl.c: Include <float.h>.
143 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
144 (__casinhl): Do not do computation with squaring and square root
146 * math/libm-test.inc (casin_test): Add more tests.
147 (casinh_test): Likewise.
148 * sysdeps/i386/fpu/libm-test-ulps: Update.
149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
151 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
153 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
154 (__x86_64_raw_data_cache_size): Likewise.
155 (__x86_64_data_cache_size_half): Likewise.
156 (__x86_64_raw_data_cache_size_half): Likewise.
157 (__x86_64_shared_cache_size): Likewise.
158 (__x86_64_raw_shared_cache_size): Likewise.
159 (__x86_64_shared_cache_size_half): Likewise.
160 (__x86_64_raw_shared_cache_size_half): Likewise.
161 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
163 (__x86_data_cache_size): This.
164 (__x86_64_raw_data_cache_size): Renamed to ...
165 (__x86_raw_data_cache_size): This.
166 (__x86_64_data_cache_size_half): Renamed to ...
167 (__x86_data_cache_size_half): This.
168 (__x86_64_raw_data_cache_size_half): Renamed to ...
169 (__x86_raw_data_cache_size_half): This.
170 (__x86_64_shared_cache_size): Renamed to ...
171 (__x86_shared_cache_size): This.
172 (__x86_64_raw_shared_cache_size): Renamed to ...
173 (__x86_raw_shared_cache_size): This.
174 (__x86_64_shared_cache_size_half): Renamed to ...
175 (__x86_shared_cache_size_half): This.
176 (__x86_64_raw_shared_cache_size_half): Renamed to ...
177 (__x86_raw_shared_cache_size_half): This.
178 * sysdeps/x86_64/memcpy.S: Updated.
179 * sysdeps/x86_64/memset.S: Likewise.
180 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
181 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
182 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
184 2013-01-04 David S. Miller <davem@davemloft.net>
186 * sysdeps/sparc/fpu/libm-test-ulps: Update.
188 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
190 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
191 1 to avoid redefinition warning.
192 (__USE_GNU): Don't define.
193 (init_signaling_nan): Protoize.
195 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
197 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
199 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
200 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
202 (norm): Remove commented code.
204 (__mp_dbl): Likewise.
206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
208 (norm): Remove commented code.
210 (__mp_dbl): Likewise.
213 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
214 mp_no value for 1.0 and 2.0.
215 (norm): Use RADIXI instead of radixi.d.
217 (__mul): Use 0.0 instead of zero.d.
218 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
219 mp_no value for 1.0 and 2.0.
220 (norm): Use RADIXI instead of radixi.d.
222 (__mul): Use 0.0 instead of zero.d.
224 2013-01-04 Joseph Myers <joseph@codesourcery.com>
227 * math/s_casinh.c (__casinh): Reduce finite argument to first
228 quadrant then set signs of results at the end.
229 * math/s_casinhf.c (__casinhf): Likewise.
230 * math/s_casinhl.c (__casinhl): Likewise.
231 * math/libm-test.inc (casin_test): Add more tests.
232 (casinh_test): Likewise.
233 * sysdeps/i386/fpu/libm-test-ulps: Update.
234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
236 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
238 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
240 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
242 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
245 (__mp_dbl): Likewise.
248 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
249 and adjust the header comment.
251 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
252 variable name from declaration.
254 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
256 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
257 Initialize COMMON_CPUID_INDEX_7 element.
258 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
259 (CPUID_RTM): Likewise.
261 (COMMON_CPUID_INDEX_7): New enum.
263 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
266 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
267 size is zero, record memory as freed.
269 2013-01-03 Andreas Jaeger <aj@suse.de>
271 * po/ia.po: Add new Interlingua translation.
273 2012-01-03 Allan McRae <allan@archlinux.org>
275 * locale/programs/localedef.c: Fix description of '--posix' flag.
277 2013-01-02 Joseph Myers <joseph@codesourcery.com>
279 * NEWS: Update dates in second copyright notice.
280 * README: Update copyright dates in example.
281 * manual/libc.texinfo: Update copyright dates.
282 * scripts/test-installation.pl: Update copyright date in --version
285 * hurd/ctty-input.c: Fix copyright notice formatting.
286 * hurd/ctty-output.c: Likewise.
287 * hurd/dtable.c: Likewise.
288 * hurd/hurd-raise.c: Likewise.
289 * hurd/hurdprio.c: Likewise.
290 * hurd/msgportdemux.c: Likewise.
291 * misc/sys/file.h: Likewise.
292 * misc/sys/ioctl.h: Likewise.
293 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
294 * sysdeps/mach/hurd/chdir.c: Likewise.
295 * sysdeps/mach/hurd/fchdir.c: Likewise.
296 * sysdeps/mach/hurd/rename.c: Likewise.
297 * sysdeps/mach/hurd/rmdir.c: Likewise.
298 * sysdeps/mach/hurd/seekdir.c: Likewise.
299 * sysdeps/mach/hurd/setsid.c: Likewise.
300 * sysdeps/posix/wait3.c: Likewise.
302 * All files with FSF copyright notices: Update copyright dates
303 using scripts/update-copyrights.
304 * intl/plural.c: Regenerated.
305 * locale/programs/charmap-kw.h: Likewise.
306 * locale/programs/locfile-kw.h: Likewise.
308 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
310 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
313 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
314 calculation loop and add branch prediction.
316 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
317 check access beyond bounds of m1np.
319 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
321 (__inv): Remove local variable MPTWO to use the global
323 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
324 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
326 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
327 MP3HALFS static const.
329 2013-01-01 David S. Miller <davem@davemloft.net>
331 * po/ca.po: Update from translation team.
333 2013-01-01 Joseph Myers <joseph@codesourcery.com>
335 * scripts/update-copyrights: New file.
336 * Makeconfig: Reformat copyright notice.
337 * ctype/ctype.h: Likewise.
338 * debug/swprintf_chk.c: Likewise.
339 * elf/dl-cache.c: Likewise.
340 * elf/dl-debug.c: Likewise.
341 * elf/dl-object.c: Likewise.
342 * grp/initgroups.c: Likewise.
343 * hurd/Makefile: Likewise.
344 * hurd/hurd/signal.h: Likewise.
345 * hurd/hurdfault.c: Likewise.
346 * hurd/hurdioctl.c: Likewise.
347 * hurd/hurdlookup.c: Likewise.
348 * hurd/intr-msg.c: Likewise.
349 * iconv/gconv_open.c: Likewise.
350 * libio/swprintf.c: Likewise.
351 * locale/lc-ctype.c: Likewise.
352 * locale/nl_langinfo.c: Likewise.
353 * mach/Machrules: Likewise.
354 * mach/Makefile: Likewise.
355 * malloc/obstack.h: Likewise.
356 * manual/Makefile: Likewise.
357 * manual/tsort.awk: Likewise.
358 * misc/bits/stab.def: Likewise.
359 * nis/nis_print_group_entry.c: Likewise.
360 * nis/nis_table.c: Likewise.
361 * nis/nss_compat/compat-pwd.c: Likewise.
362 * nis/nss_compat/compat-spwd.c: Likewise.
363 * po/Makefile: Likewise.
364 * posix/fnmatch.c: Likewise.
365 * posix/regex.h: Likewise.
366 * resolv/Makefile: Likewise.
367 * resolv/nss_dns/dns-network.c: Likewise.
368 * resolv/res_hconf.c: Likewise.
369 * scripts/gen-sorted.awk: Likewise.
370 * soft-fp/soft-fp.h: Likewise.
371 * stdio-common/printf.h: Likewise.
372 * stdlib/monetary.h: Likewise.
373 * stdlib/random.c: Likewise.
374 * stdlib/random_r.c: Likewise.
375 * sysdeps/generic/Makefile: Likewise.
376 * sysdeps/gnu/Makefile: Likewise.
377 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
378 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
379 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
380 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
381 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
382 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
383 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
384 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
385 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
386 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
387 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
388 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
389 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
390 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
391 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
392 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
393 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
394 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
395 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
396 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
397 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
398 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
399 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
400 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
401 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
402 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
403 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
404 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
405 * sysdeps/mach/hurd/errnos.awk: Likewise.
406 * sysdeps/mach/hurd/fork.c: Likewise.
407 * sysdeps/mach/hurd/getcwd.c: Likewise.
408 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
409 * sysdeps/mach/hurd/mmap.c: Likewise.
410 * sysdeps/mach/hurd/utimes.c: Likewise.
411 * sysdeps/mach/hurd/xmknod.c: Likewise.
412 * sysdeps/posix/profil.c: Likewise.
413 * sysdeps/posix/readdir_r.c: Likewise.
414 * sysdeps/powerpc/bits/mathdef.h: Likewise.
415 * sysdeps/powerpc/bits/setjmp.h: Likewise.
416 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
417 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
418 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
419 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
420 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
421 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
422 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
423 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
424 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
425 * sysdeps/pthread/lio_listio.c: Likewise.
426 * sysdeps/sparc/dl-procinfo.h: Likewise.
427 * sysdeps/unix/i386/sysdep.S: Likewise.
428 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
429 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
430 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
431 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
433 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
434 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
435 * sysdeps/unix/sysv/linux/speed.c: Likewise.
436 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
437 * sysdeps/wordsize-32/divdi3.c: Likewise.
438 * time/sys/time.h: Likewise.
439 * wcsmbs/Makefile: Likewise.
441 2013-01-01 David S. Miller <davem@davemloft.net>
443 * po/fr.po: Update from translation team.
445 * catgets/gencat.c: Update copyright year.
446 * csu/version.c: Likewise.
447 * debug/catchsegv.sh: Likewise.
448 * debug/pcprofiledump.c: Likewise.
449 * debug/xtrace.sh: Likewise.
450 * elf/ldconfig.c: Likewise.
451 * elf/ldd.bash.in: Likewise.
452 * elf/pldd.c: Likewise.
453 * elf/sotruss.ksh: Likewise.
454 * elf/sprof.c: Likewise.
455 * iconv/iconv_prog.c: Likewise.
456 * iconv/iconvconfig.c: Likewise.
457 * locale/programs/locale.c: Likewise.
458 * locale/programs/localedef.c: Likewise.
459 * login/programs/pt_chown.c: Likewise.
460 * malloc/memusage.sh: Likewise.
461 * malloc/memusagestat.c: Likewise.
462 * malloc/mtrace.pl: Likewise.
463 * nscd/nscd.c: Likewise.
464 * nss/getent.c: Likewise.
465 * nss/makedb.c: Likewise.
466 * posix/getconf.c: Likewise.
468 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
470 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
473 2012-12-30 Mike Frysinger <vapier@gentoo.org>
475 * math/bits/mathcalls.h (modf): Use __nonnull.
477 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
479 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
480 (split): Use macro CN instead of the bare value.
481 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
483 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
484 instead of the bare value.
487 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
489 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
491 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
493 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
495 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
496 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
497 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
498 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
500 2012-12-28 Andreas Jaeger <aj@suse.de>
502 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
503 values are from Linux 3.7.
505 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
506 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
508 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
510 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
513 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
515 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
516 variables with preprocessor constants.
517 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
518 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
519 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
521 2012-12-27 Bruno Haible <bruno@clisp.org>
524 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
527 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
529 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
530 and use variable directly.
531 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
533 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
535 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
536 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
538 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
539 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
540 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
541 include directive. Remove local variable MPONE.
542 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
543 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
544 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
546 2012-12-25 David S. Miller <davem@davemloft.net>
548 * version.h (RELEASE): Set to "development".
549 (VERSION): Set to "2.17.90".
550 * NEWS: Add 2.18 section.
552 2012-12-21 David S. Miller <davem@davemloft.net>
554 * po/hr.po: Update from translation team.
556 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
558 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
560 2012-12-19 Steve Ellcey <sellcey@mips.com>
562 * NEWS: Mention new memcpy for MIPS.
564 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
566 * manual/contrib.texi (Contributors): Spelling correction.
568 2012-12-15 David S. Miller <davem@davemloft.net>
570 * po/ru.po: Update from translation team.
572 2012-12-13 David S. Miller <davem@davemloft.net>
574 * NEWS: Mention IFUNC testsuite enhancements.
576 * po/pl.po: Update from translation team.
577 * po/bg.po: Likewise.
579 * manual/contrib.texi (Contributors): Update entries for Hongjiu
580 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
582 2012-12-11 David S. Miller <davem@davemloft.net>
584 * po/sv.po: Update from translation team.
586 * po/vi.po: Update from translation team.
588 * po/cs.po: Update from translation team.
590 * po/de.po: Update from translation team.
591 * po/eo.po: Likewise.
592 * po/nl.po: Likewise.
594 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
597 * manual/argp.texi (Argp Helper Functions): Move node to follow
601 * manual/conf.texi (Limits on File System Capacity): Mention if
602 terminating null is included in the max size.
604 2012-12-10 Andreas Jaeger <aj@suse.de>
606 * po/cs.po: Update from translation team.
608 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
610 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
611 void pointer and cast to uintptr_t.
612 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
614 * sysdeps/s390/s390-64/memcpy.S: Likewise.
615 * sysdeps/s390/s390-64/memset.S: Likewise.
617 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
620 * menual/message.texi (Message Translation): Fix typos.
621 (Helper programs for gettext): Likewise.
623 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
626 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
629 2012-12-07 David S. Miller <davem@davemloft.net>
631 * po/libc.pot: Update.
633 2012-12-07 Richard Henderson <rth@redhat.com>
636 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
637 normal/normal case to before the switch.
640 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
641 Mike Frysinger <vapier@gentoo.org>
643 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
644 check for __NR_fadvise64_64.
646 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
648 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
649 0, not just to plain "0" as a statement.
650 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
653 2012-12-06 Joseph Myers <joseph@codesourcery.com>
655 * NEWS: Use sourceware.org in Bugzilla URL.
657 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
660 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
662 * stdio-common/tst-put-error.c (do_test): Add newline to the
663 padded test to ensure flush.
665 2012-12-05 Jeff Law <law@redhat.com>
667 * sunrpc/etc.rpc (fedfs_admin): Add entry.
669 2012-12-05 Joseph Myers <joseph@codesourcery.com>
671 * README: Don't refer to ports add-on as distributed separately.
672 Mention AArch64 in list of systems supported in the ports add-on.
674 * LICENSES: Add more non-FSF copyright and license notices.
676 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
679 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
681 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
682 10000 as width of padded output.
684 2012-12-04 Joseph Myers <joseph@codesourcery.com>
686 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
688 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
689 variable LX with __attribute__ ((unused)).
690 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
692 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
693 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
694 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
695 with __attribute__ ((unused)).
697 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
699 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
701 2012-12-04 Joseph Myers <joseph@codesourcery.com>
703 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
704 (CFLAGS-nldbl-acos.c): New variable.
705 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
706 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
707 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
708 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
709 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
710 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
711 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
712 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
713 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
714 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
715 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
716 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
717 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
718 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
719 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
720 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
721 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
722 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
723 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
724 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
725 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
726 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
727 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
728 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
729 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
730 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
731 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
732 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
733 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
734 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
735 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
736 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
737 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
738 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
739 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
740 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
741 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
742 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
743 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
744 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
745 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
746 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
747 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
748 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
749 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
750 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
751 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
752 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
753 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
754 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
755 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
756 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
757 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
758 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
759 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
760 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
761 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
762 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
763 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
764 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
765 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
766 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
767 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
768 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
769 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
770 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
771 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
772 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
773 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
774 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
775 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
776 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
777 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
778 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
779 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
780 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
781 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
782 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
783 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
784 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
785 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
786 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
787 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
788 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
789 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
790 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
791 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
792 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
793 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
794 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
795 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
796 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
797 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
798 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
799 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
800 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
801 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
804 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
807 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
808 whole low double instead of just low 47 bits when splitting values
811 2012-12-03 Allan McRae <allan@archlinux.org>
813 * manual/stdio.texi (Predefined Printf Handlers): Remove
814 @hsep and @vsep usage.
816 2012-12-03 Mike Frysinger <vapier@gentoo.org>
818 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
819 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
821 2012-12-03 Jeff Law <law@redhat.com>
823 * time/sys/time.h (settimeofday): Do not mark TV argument
826 2012-12-01 Mike Frysinger <vapier@gentoo.org>
828 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
829 when currently writing and seek to current position when not.
830 * libio/Makefile (tests): Remove bug-fclose1.
831 * libio/bug-fclose1.c: Delete.
833 2012-12-01 Joseph Myers <joseph@codesourcery.com>
835 * manual/arith.texi (feenableexcept): Fix typo.
836 (fedisableexcept): Likewise.
838 2012-11-30 Roland McGrath <roland@hack.frob.com>
840 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
841 second, differently-typed declaration, rather than a cast.
843 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
845 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
846 * include/rpc/svc.h: ... here.
848 2012-11-30 Aurelien Jarno <aurel32@debian.org>
851 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
852 depending n and resplen2 to catch cases where answer
855 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
857 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
858 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
860 2012-11-29 Mike Frysinger <vapier@gentoo.org>
862 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
864 2012-11-29 Roland McGrath <roland@hack.frob.com>
866 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
868 2012-11-28 Jeff Law <law@redhat.com>
871 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
872 dataset_temporary. Track alloca usage into alloca_used.
873 If dataset is large allocate and release it via malloc/free.
875 2012-06-04 Florian Weimer <fweimer@redhat.com>
878 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
880 2012-11-28 David S. Miller <davem@davemloft.net>
882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
884 2012-11-28 Joseph Myers <joseph@codesourcery.com>
887 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
888 of pi/2 rounded to nearest to 64 bits.
889 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
891 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
894 2012-11-28 Jeff Law <law@redhat.com>
895 Martin Osvald <mosvald@redhat.com>
898 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
899 * sunrpc/svc.c: Include time.h.
900 (__svc_accept_failed): New function.
901 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
902 any reason other than EINTR, call __svc_accept_failed.
903 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
904 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
906 2012-11-28 Andreas Schwab <schwab@suse.de>
908 * scripts/abilist.awk: Also handle indirect functions in .opd
911 2012-11-28 Joseph Myers <joseph@codesourcery.com>
914 * sysdeps/x86/fpu/powl_helper.c: New file.
915 * sysdeps/x86/fpu/Makefile: Likewise.
916 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
918 (__ieee754_powl): Use __powl_helper for finite arguments except
919 integer exponents below 8.
920 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
922 (__ieee754_powl): Use __powl_helper for finite arguments except
923 integer exponents below 8.
924 * math/libm-test.inc (pow_test): Add more tests and enable some
925 previously disabled tests.
926 * sysdeps/i386/fpu/libm-test-ulps: Update.
927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
929 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
930 Carlos O'Donell <carlos_odonell@mentor.com>
932 * nss/makedb.c (is_prime): Assert that input is odd and greater
933 than 4. Note that fact in a comment too.
934 (next_prime): Add 4 to input.
936 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
939 * libio/Makefile (tests): Add test case tst-fwrite-error.
940 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
941 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
942 * libio/tst-fwrite-error.c: New test case.
944 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
946 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
947 before casting to void *.
948 * include/libc-internal.h (__pointer_type): New macro.
949 (__integer_if_pointer_type_sub): Likewise.
950 (__integer_if_pointer_type): Likewise.
951 (cast_to_integer): Likewise.
952 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
953 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
954 before casting to atomic64_t.
955 (atomic_exchange_acq): Likewise.
956 (__arch_exchange_and_add_body): Likewise.
957 (__arch_add_body): Likewise.
958 (atomic_add_negative): Likewise.
959 (atomic_add_zero): Likewise.
961 2012-11-26 Joseph Myers <joseph@codesourcery.com>
963 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
964 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
965 (add_fdes): Likewise.
966 (linear_search_fdes): Likewise.
967 (binary_search_unencoded_fdes): Likewise.
969 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
971 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
973 2012-11-24 Adam Conrad <adconrad@0c3.net>
975 * configure.in: Autodetect C++ header directories.
976 * configure: Regenerated.
978 2012-11-23 Mike Frysinger <vapier@gentoo.org>
980 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
982 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
986 2012-11-22 Joseph Myers <joseph@codesourcery.com>
988 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
989 LDBL_MANT_DIG == 106]: Disable some tests.
990 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
992 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
996 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
997 input for small inputs. Return +/- pi/2 for large inputs.
998 * math/libm-test.inc (atan_test): Add more tests.
1000 * sysdeps/generic/unwind-dw2-fde-glibc.c
1001 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1002 __attribute__ ((unused)).
1005 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1006 x * y if x and y are nonzero and z is zero.
1009 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1010 nonzero exponents with absolute value below 0x1p-117 to +/-
1014 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1015 up arguments below 2**-450, not just those below 2**-500.
1016 * math/libm-test.inc (hypot_test): Add another test.
1019 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1020 Return a+b for ratio over 2**120, not 2**60.
1021 * math/libm-test.inc (hypot_test): Add another test.
1023 * math/libm-test.inc (clog_test): Use
1024 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1025 (clog10_test): Likewise.
1028 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1030 2012-11-22 Andreas Schwab <schwab@suse.de>
1032 * sysdeps/i386/fpu/libm-test-ulps: Update.
1034 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1036 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1037 printf output with newline.
1039 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1042 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1043 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1044 -z nodlopen, -z initfirst and -z execstack support.
1045 * configure: Regenerated.
1047 * elf/elf.h (DF_1_NODIRECT): New macro.
1048 (DF_1_IGNMULDEF): Likewise.
1049 (DF_1_NOKSYMS): Likewise.
1050 (DF_1_NOHDR): Likewise.
1051 (DF_1_EDITED): Likewise.
1052 (DF_1_NORELOC): Likewise.
1053 (DF_1_SYMINTPOSE): Likewise.
1054 (DF_1_GLOBAUDIT): Likewise.
1055 (DF_1_SINGLETON): Likewise.
1056 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1057 DT_1_SUPPORTED_MASK bits.
1058 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1060 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1062 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1064 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1066 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1069 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1070 (sendmmsg): Move declarations...
1071 * socket/sys/socket.h: ... here.
1072 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1073 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1075 * socket/recvmmsg.c: ... this new file.
1076 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1077 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1078 definition of __sendmmsg hidden.
1079 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1080 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1081 Move ENOSYS stub into and include it from...
1082 * socket/sendmmsg.c: ... this new file.
1083 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1084 (sysdep_routines): Move recvmmsg and sendmmsg...
1085 * socket/Makefile (routines): ... here.
1086 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1087 (GLIBC_PRIVATE): Add __sendmmsg.
1088 * include/sys/socket.h (__sendmmsg): Add declarations.
1089 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1092 2012-11-20 Joseph Myers <joseph@codesourcery.com>
1094 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1095 variable I1 with __attribute__ ((unused)).
1096 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1098 2012-11-19 Joseph Myers <joseph@codesourcery.com>
1100 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1101 DUMMY variables with __attribute__ ((unused)).
1103 * bits/byteswap.h: Include <bits/types.h>.
1104 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1106 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1108 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1109 string_t. Do not manually set errno.
1110 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1111 length with __strnlen. Make sure to both set errno and return it on
1114 2012-11-19 David S. Miller <davem@davemloft.net>
1116 With help from Joseph Myers.
1117 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1118 very large arguments properly.
1119 * math/libm-test.inc (atan_test): New tests.
1120 (atan2_test): New tests.
1121 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1122 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1124 2012-11-19 Joseph Myers <joseph@codesourcery.com>
1127 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1130 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1131 [POSIX] (EADDRNOTAVAIL): Likewise.
1132 [POSIX] (EAFNOSUPPORT): Likewise.
1133 [POSIX] (EALREADY): Likewise.
1134 [POSIX] (ECONNABORTED): Likewise.
1135 [POSIX] (ECONNREFUSED): Likewise.
1136 [POSIX] (ECONNRESET): Likewise.
1137 [POSIX] (EDESTADDRREQ): Likewise.
1138 [POSIX] (EDQUOT): Likewise.
1139 [POSIX] (EHOSTUNREACH): Likewise.
1140 [POSIX] (EIDRM): Likewise.
1141 [POSIX] (EISCONN): Likewise.
1142 [POSIX] (ELOOP): Likewise.
1143 [POSIX] (EMULTIHOP): Likewise.
1144 [POSIX] (ENETDOWN): Likewise.
1145 [POSIX] (ENETUNREACH): Likewise.
1146 [POSIX] (ENOBUFS): Likewise.
1147 [POSIX] (ENODATA): Likewise.
1148 [POSIX] (ENOLINK): Likewise.
1149 [POSIX] (ENOMSG): Likewise.
1150 [POSIX] (ENOPROTOOPT): Likewise.
1151 [POSIX] (ENOSR): Likewise.
1152 [POSIX] (ENOSTR): Likewise.
1153 [POSIX] (ENOTCONN): Likewise.
1154 [POSIX] (ENOTSOCK): Likewise.
1155 [POSIX] (EOPNOTSUPP): Likewise.
1156 [POSIX] (EOVERFLOW): Likewise.
1157 [POSIX] (EPROTO): Likewise.
1158 [POSIX] (EPROTONOSUPPORT): Likewise.
1159 [POSIX] (EPROTOTYPE): Likewise.
1160 [POSIX] (ESTALE): Likewise.
1161 [POSIX] (ETIME): Likewise.
1162 [POSIX] (ETXTBSY): Likewise.
1163 [POSIX] (EWOULDBLOCK): Likewise.
1164 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1165 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1166 [POSIX] (SEEK_CUR): Likewise.
1167 [POSIX] (SEEK_END): Likewise.
1168 [POSIX || UNIX98] (mode_t): Do not require.
1169 [POSIX] (off_t): Likewise.
1170 [POSIX] (pid_t): Likewise.
1171 [POSIX] (sys/stat.h): Do not allow header.
1172 [POSIX] (unistd.h): Likewise.
1173 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1174 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1175 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1176 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1178 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1179 sigevent): Specify elements.
1180 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1182 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1183 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1185 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1186 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1187 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1188 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1189 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1190 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1191 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1192 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1193 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1194 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1195 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1196 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1197 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1198 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1200 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1202 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1204 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1206 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1207 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1208 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1209 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1210 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1211 Specify lower bound on value.
1212 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1213 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1214 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1215 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1216 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1217 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1218 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1219 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1221 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1223 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1224 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1225 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1226 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1227 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1228 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1229 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1230 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1231 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1232 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1233 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1234 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1235 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1236 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1237 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1238 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1240 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1242 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1243 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1244 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1245 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1246 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1247 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1249 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1250 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1251 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1252 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1253 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1254 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1255 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1257 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1258 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1259 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1260 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1261 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1262 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1263 specify as optional.
1264 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1265 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1266 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1267 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1268 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1269 [XPG3] (NL_LANGMAX): Likewise.
1270 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1271 [POSIX || XPG3] (NL_NMAX): Likewise.
1272 [POSIX || XPG3] (NL_SETMAX): Likewise.
1273 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1274 [XPG3] (NZERO): Likewise.
1275 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1276 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1277 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1278 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1279 (REG_ERANGE): Expect.
1280 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1282 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1283 Use (void) in prototype.
1284 [POSIX] (*_t): Allow.
1285 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1286 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1287 (WRDE_BADVAL): Expect.
1289 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1291 [XPG3 || XPG4] (O_RSYNC): Likewise.
1292 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1294 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1295 [XPG3 || XPG4] (sigqueue): Likewise.
1296 [XPG3 || XPG4] (sigtimedwait): Likewise.
1297 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1298 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1299 [XPG3 || XPG4] (vsnprintf): Likewise.
1300 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1302 [XPG3 || XPG4] (blksize_t): Likewise.
1303 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1305 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1306 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1307 [XPG3 || XPG4] (struct itimerspec): Likewise.
1308 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1309 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1310 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1311 [XPG3 || XPG4] (clockid_t): Likewise.
1312 [XPG3 || XPG4] (timer_t): Likewise.
1313 [XPG3 || XPG4] (clock_getres): Likewise.
1314 [XPG3 || XPG4] (clock_gettime): Likewise.
1315 [XPG3 || XPG4] (clock_settime): Likewise.
1316 [XPG3 || XPG4] (nanosleep): Likewise.
1317 [XPG3 || XPG4] (timer_create): Likewise.
1318 [XPG3 || XPG4] (timer_delete): Likewise.
1319 [XPG3 || XPG4] (timer_gettime): Likewise.
1320 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1321 [XPG3 || XPG4] (timer_settime): Likewise.
1322 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1323 [XPG3 || XPG4] (getlogin_r): Likewise.
1324 [XPG3 || XPG4] (pread): Likewise.
1325 [XPG3 || XPG4] (pthread_atfork): Likewise.
1326 [XPG3 || XPG4] (pwrite): Likewise.
1329 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1332 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1334 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1335 finalizing MALLSTREAM.
1337 * sysdeps/mach/hurd/syncfs.c: New file.
1339 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1342 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1343 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1344 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1345 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1346 (_nss_dns_gethostbyname4_r): Likewise.
1347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1348 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1350 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1353 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1355 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1357 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1358 * elf/cache.c (print_entry): Print ",AArch64" for
1361 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1362 * elf/cache.c (print_entry): Print ",hard-float" for
1365 2012-11-18 David S. Miller <davem@davemloft.net>
1367 With help from Joseph Myers.
1368 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1370 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1372 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1373 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1375 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1376 * math/libm-test.inc (y0_test): New tests.
1377 (y1_test): New tests.
1378 * sysdeps/i386/fpu/libm-test-ulps: Update.
1379 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1382 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1384 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1386 * configure: Regenerated.
1388 2012-11-17 David S. Miller <davem@davemloft.net>
1391 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1392 nonzero exponents with absolute value below 0x1p-128 to +/-
1395 2012-11-17 Joseph Myers <joseph@codesourcery.com>
1397 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1399 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1401 * posix/getconf-speclist.c: New file.
1402 * posix/posix-envs.def: Likewise.
1403 * posix/confstr.c (START_ENV_GROUP): New macro.
1404 (END_ENV_GROUP): Likewise.
1405 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1406 (KNOWN_PRESENT_ENV_STRING): Likewise.
1407 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1408 (UNKNOWN_ENVIRONMENT): Likewise.
1409 (confstr): Include posix-envs.def instead of handling
1410 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1411 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1412 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1413 (END_ENV_GROUP): Likewise.
1414 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1415 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1416 (UNKNOWN_ENVIRONMENT): Likewise.
1417 (__sysconf): Include posix-envs.def instead of handling associated
1418 cases directly here.
1419 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1420 preprocessing getconf-speclist.c rather than running getconf or
1421 generating empty file.
1423 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1425 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1427 2012-11-16 Andrej Lajovic <natrij@gmail.com>
1430 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1432 2012-11-16 David S. Miller <davem@davemloft.net>
1434 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1435 smaller than LDBL_EPSILON/2.0L, just return xm1.
1437 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1439 * elf/tst-array1.c (init): Set constructor priority to 1000.
1440 (fini): Set destructor priority to 1000.
1441 * elf/tst-array2dep.c: Likewise.
1443 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1446 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1447 (_IO_new_file_xsputn): Also return EOF if none of the input
1448 data was written when overflow failed.
1449 * libio/iopadn.c (_IO_padn): Likewise.
1450 * libio/iowpadn.c (_IO_wpadn): Likewise.
1451 * stdio-common/tst-put-error.c: Add copyright notice.
1452 (do_test): Add case for printing padded string.
1453 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1454 _IO_padn returned error.
1455 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1456 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1459 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1461 * libio/libioP.h: Add comment note that the references to C++
1462 bits are now obsolete.
1464 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1466 * math/libm-test.inc (check_complex): Use asprintf.
1468 2012-11-14 Joseph Myers <joseph@codesourcery.com>
1470 * debug/pcprofiledump.c (print_version): Update copyright year.
1471 * malloc/memusagestat.c (print_version): Likewise.
1473 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1476 * elf/Makefile (tests): Add tst-audit8.
1477 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1478 ($(objpfx)tst-audit8.out): New target.
1479 (tst-audit8-ENV): New variable.
1480 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1481 audit if l_reloc_result is NULL.
1482 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1483 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1484 * elf/tst-audit8.c: New file.
1486 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1488 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1489 * misc/Makefile (CFLAGS-select.c): Define.
1490 * posix/Makefile (CFLAGS-pause.c): Define.
1492 2012-11-13 David S. Miller <davem@davemloft.net>
1494 * crypt/Makefile: Move test targets after toplevel Rules
1495 inclusion. Grab any necessary sysdep routines when linking.
1496 * crypt/md5.c (md5_process_block): Remove define, we will always
1497 name it __md5_process_block.
1498 (md5_finish_ctx): Update md5_process_block call.
1499 (md5_stream): Likewise.
1500 (md5_process_bytes): Likewise.
1501 (md5_process_block): Rename to __md5_process_block and move to ...
1502 * crypt/md5-block.c: ... here.
1503 * crypt/sha256.c (sha256_process_block): Move to ...
1504 * crypt/sha256-block.c: ... here.
1505 * crypt/sha512.c (sha512_process_block): Move to ...
1506 * crypt/sha512-block.c: ... here.
1507 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1509 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1510 * sysdeps/sparc/sparc64/multiarch/Makefile
1511 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1513 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1514 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1516 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1517 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1518 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1519 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1520 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1521 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1522 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1523 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1524 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1526 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1527 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1529 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1531 2012-11-13 Joseph Myers <joseph@codesourcery.com>
1533 * timezone/tzselect.ksh: Update from tzcode git revision
1534 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1535 * timezone/zdump.c: Likewise.
1536 * timezone/zic.c: Likewise.
1537 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1538 in TZVERSION setting, not $(PKGVERSION).
1539 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1540 REPORT_BUGS_TO settings.
1543 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1546 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1548 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1549 detection to immediately after _FP_ROUND().
1550 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1553 2012-11-11 David S. Miller <davem@davemloft.net>
1555 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1557 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1558 __close rather than their public counterparts.
1560 2012-11-10 Joseph Myers <joseph@codesourcery.com>
1562 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1564 [UNIX98] (sem_timedwait): Do not expect.
1565 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1566 [XPG4 || UNIX98] (sockatmark): Do not expect.
1567 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1568 (clock_getcpuclockid): Do not expect.
1569 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1570 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1572 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1573 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1574 [UNIX98] (vwscanf): Likewise.
1575 [UNIX98] (vswscanf): Likewise.
1577 2012-11-09 Joseph Myers <joseph@codesourcery.com>
1579 * timezone/version.h: Remove file.
1580 * timezone/README: Do not refer to version.h.
1581 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1583 ($(objpfx)zdump.o): Likewise.
1584 ($(objpfx)version.h): New target.
1586 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1588 * timezone/README: Don't mention modification to tzselect.ksh.
1589 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1590 work on unmodified tzselect.ksh. Substitute version numbers in
1593 * Makefile (format-me): Remove.
1594 (INSTALL): Adjust indentation. Use commands directly instead of
1597 * aclocal.m4 (ACX_PKGVERSION): New macro.
1598 (ACX_BUGURL): Likewise.
1599 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1600 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1601 (REPORT_BUGS_TO): Likewise.
1602 * configure: Regenerated.
1603 * config.h.in (PKGVERSION): New macro.
1604 (REPORT_BUGS_TO): Likewise.
1605 * config.make.in (PKGVERSION): New variable.
1606 (PKGVERSION_TEXI): Likewise.
1607 (REPORT_BUGS_TO): Likewise.
1608 (REPORT_BUGS_TEXI): Likewise.
1609 * Makefile (format-me): Use -I$(common-objpfx)manual.
1610 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1611 ($(common-objpfx)manual/%): New target.
1612 (manual/%): Remove target.
1613 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1614 (print_version): Use PKGVERSION.
1615 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1616 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1618 ($(objpfx)xtrace): Likewise.
1619 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1620 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1621 (print_version): Use PKGVERSION.
1622 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1623 (do_version): Use PKGVERSION.
1624 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1626 (common-ldd-rewrite): Likewise.
1627 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1628 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1629 (print_version): Use PKGVERSION.
1630 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1631 * elf/pldd.c (argp_program_bug_address): Remove variable.
1632 (more_help): New function.
1633 (argp): Use more_help.
1634 (print_version): Use PKGVERSION.
1635 * elf/sln.c (main): Use PKGVERSION.
1636 (usage): Use REPORT_BUGS_TO.
1637 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1638 (top level): Use PKGVERSION.
1639 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1640 (print_version): Use PKGVERSION.
1641 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1642 (print_version): Use PKGVERSION.
1643 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1644 (print_version): Use PKGVERSION.
1645 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1646 (print_version): Use PKGVERSION.
1647 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1648 (print_version): Use PKGVERSION.
1649 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1650 (print_version): Use PKGVERSION.
1651 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1653 ($(objpfx)memusage): Likewise.
1654 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1655 (do_version): Use PKGVERSION.
1656 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1657 (print_version): Use PKGVERSION.
1658 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1659 ($PKGVERSION): New variable.
1660 ($REPORT_BUGS_TO): Likewise.
1661 (usage): Use $REPORT_BUGS_TO.
1662 (top level): Use $PKGVERSION.
1663 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1664 ($(objpfx)pkgvers.texi): New rule.
1665 ($(objpfx)stamp-pkgvers): Likewise.
1666 * manual/install.texi: Include pkgvers.texi.
1667 (--with-pkgversion): Document new configure option.
1668 (--with-bugurl): Likewise.
1669 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1670 than necessarily for this particular distribution. Use
1671 REPORT_BUGS_TO for where to report bugs.
1672 * INSTALL: Regenerated.
1673 * manual/libc.texinfo: Include pkgvers.texi.
1674 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1675 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1676 (print_version): Use PKGVERSION.
1677 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1678 (print_version): Use PKGVERSION.
1679 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1680 (print_version): Use PKGVERSION.
1681 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1682 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1684 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1685 (print_version): Use PKGVERSION.
1686 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1687 (print_version): Use PKGVERSION.
1688 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1691 * timezone/checktab.awk: Update from tzcode 2012i.
1692 * timezone/ialloc.c: Likewise.
1693 * timezone/private.h: Likewise.
1694 * timezone/scheck.c: Likewise.
1695 * timezone/tzfile.h: Likewise.
1696 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1697 (TZVERSION): Hardcode tzcode version number.
1698 * timezone/zdump.c: Update from tzcode 2012i.
1699 * timezone/zic.c: Likewise.
1700 * timezone/version.h: New file.
1701 * timezone/README: Describe version.h. Update upstream location.
1704 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1705 (mktemp): Enable declaration.
1706 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1707 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1708 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1709 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1711 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1713 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1715 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1717 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1719 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1723 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1724 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1725 for copies of such integer values.
1726 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1727 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1729 2012-11-09 Andreas Jaeger <aj@suse.de>
1731 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1732 definitions and declarations that are provided by
1733 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1735 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1737 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1738 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1739 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1742 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1744 * elf/elf.h: Update comment before AArch64 relocations.
1746 2012-11-07 David S. Miller <davem@davemloft.net>
1748 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1749 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1750 (__start_context): Declare.
1751 (__makecontext_ret): Delete.
1752 (__makecontext): Hook up __start_context instead of
1754 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1755 (sysdep_routines): Add __start_context when in stdlib.
1757 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1759 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1760 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1761 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1763 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1764 (READELF): New variable. Use it instead of hardcoded "readelf".
1766 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1768 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1769 * sysdeps/x86/Makefile: Here.
1770 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1771 * sysdeps/x86/tst-xmmymm.sh: This.
1773 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1775 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1777 [UNIX98] (pthread_barrier_t): Do not expect.
1778 [UNIX98] (pthread_barrierattr_t): Likewise.
1779 [UNIX98] (pthread_spinlock_t): Likewise.
1780 [UNIX98] (pthread_barrier_destroy): Likewise.
1781 [UNIX98] (pthread_barrier_init): Likewise.
1782 [UNIX98] (pthread_barrier_wait): Likewise.
1783 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1784 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1785 [UNIX98] (pthread_barrierattr_init): Likewise.
1786 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1787 [UNIX98] (pthread_getcpuclockid): Likewise.
1788 [UNIX98] (pthread_mutex_timedlock): Likewise.
1789 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1790 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1791 [UNIX98] (pthread_sigmask): Likewise.
1792 [UNIX98] (pthread_spin_destroy): Likewise.
1793 [UNIX98] (pthread_spin_init): Likewise.
1794 [UNIX98] (pthread_spin_lock): Likewise.
1795 [UNIX98] (pthread_spin_trylock): Likewise.
1796 [UNIX98] (pthread_spin_unlock): Likewise.
1797 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1799 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1800 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1801 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1802 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1803 [XPG3 || XPG4] (pthread_key_t): Likewise.
1804 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1805 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1806 [XPG3 || XPG4] (pthread_once_t): Likewise.
1807 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1808 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1809 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1810 [XPG3 || XPG4] (pthread_t): Likewise.
1812 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1814 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1816 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1817 Change function return type to int.
1819 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1820 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1821 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1822 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1823 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1824 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1825 [!POSIX] (posix_madvise): Likewise.
1826 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1828 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1829 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1831 (posix_mem_offset): Likewise.
1832 (posix_typed_mem_get_info): Likewise.
1833 (posix_typed_mem_open): Likewise.
1835 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1836 Change condition to [XOPEN2K8].
1838 * conform/conformtest.pl: Preprocess allow-header data with -x c
1839 instead of from stdin.
1840 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1841 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1842 [C99-based standards] (cerfc): Likewise.
1843 [C99-based standards] (cexp2): Likewise.
1844 [C99-based standards] (cexpm1): Likewise.
1845 [C99-based standards] (clog10): Likewise.
1846 [C99-based standards] (clog1p): Likewise.
1847 [C99-based standards] (clog2): Likewise.
1848 [C99-based standards] (clgamma): Likewise.
1849 [C99-based standards] (ctgamma): Likewise.
1850 [C99-based standards] (cerff): Likewise.
1851 [C99-based standards] (cerfcf): Likewise.
1852 [C99-based standards] (cexp2f): Likewise.
1853 [C99-based standards] (cexpm1f): Likewise.
1854 [C99-based standards] (clog10f): Likewise.
1855 [C99-based standards] (clog1pf): Likewise.
1856 [C99-based standards] (clog2f): Likewise.
1857 [C99-based standards] (clgammaf): Likewise.
1858 [C99-based standards] (ctgammaf): Likewise.
1859 [C99-based standards] (cerfl): Likewise.
1860 [C99-based standards] (cerfcl): Likewise.
1861 [C99-based standards] (cexp2l): Likewise.
1862 [C99-based standards] (cexpm1l): Likewise.
1863 [C99-based standards] (clog10l): Likewise.
1864 [C99-based standards] (clog1pl): Likewise.
1865 [C99-based standards] (clog2l): Likewise.
1866 [C99-based standards] (clgammal): Likewise.
1867 [C99-based standards] (ctgammal): Likewise.
1868 * conform/data/inttypes.h-data [C99-based standards]: Include
1869 stdint.h-data. Remove all expectations for stdint.h contents.
1870 [C99-based standards] (PRI*): Do not allow.
1871 [C99-based standards] (SCN*): Likewise.
1872 [C99-based standards] (*_t): Likewise.
1873 [C99-based-standards] (PRId8): Expect macro.
1874 [C99-based-standards] (PRIi8): Likewise.
1875 [C99-based-standards] (PRIo8): Likewise.
1876 [C99-based-standards] (PRIu8): Likewise.
1877 [C99-based-standards] (PRIx8): Likewise.
1878 [C99-based-standards] (PRIX8): Likewise.
1879 [C99-based-standards] (SCNd8): Likewise.
1880 [C99-based-standards] (SCNi8): Likewise.
1881 [C99-based-standards] (SCNo8): Likewise.
1882 [C99-based-standards] (SCNu8): Likewise.
1883 [C99-based-standards] (SCNx8): Likewise.
1884 [C99-based-standards] (PRIdLEAST8): Likewise.
1885 [C99-based-standards] (PRIiLEAST8): Likewise.
1886 [C99-based-standards] (PRIoLEAST8): Likewise.
1887 [C99-based-standards] (PRIuLEAST8): Likewise.
1888 [C99-based-standards] (PRIxLEAST8): Likewise.
1889 [C99-based-standards] (PRIXLEAST8): Likewise.
1890 [C99-based-standards] (SCNdLEAST8): Likewise.
1891 [C99-based-standards] (SCNiLEAST8): Likewise.
1892 [C99-based-standards] (SCNoLEAST8): Likewise.
1893 [C99-based-standards] (SCNuLEAST8): Likewise.
1894 [C99-based-standards] (SCNxLEAST8): Likewise.
1895 [C99-based-standards] (PRIdFAST8): Likewise.
1896 [C99-based-standards] (PRIiFAST8): Likewise.
1897 [C99-based-standards] (PRIoFAST8): Likewise.
1898 [C99-based-standards] (PRIuFAST8): Likewise.
1899 [C99-based-standards] (PRIxFAST8): Likewise.
1900 [C99-based-standards] (PRIXFAST8): Likewise.
1901 [C99-based-standards] (SCNdFAST8): Likewise.
1902 [C99-based-standards] (SCNiFAST8): Likewise.
1903 [C99-based-standards] (SCNoFAST8): Likewise.
1904 [C99-based-standards] (SCNuFAST8): Likewise.
1905 [C99-based-standards] (SCNxFAST8): Likewise.
1906 [C99-based-standards] (PRId16): Likewise.
1907 [C99-based-standards] (PRIi16): Likewise.
1908 [C99-based-standards] (PRIo16): Likewise.
1909 [C99-based-standards] (PRIu16): Likewise.
1910 [C99-based-standards] (PRIx16): Likewise.
1911 [C99-based-standards] (PRIX16): Likewise.
1912 [C99-based-standards] (SCNd16): Likewise.
1913 [C99-based-standards] (SCNi16): Likewise.
1914 [C99-based-standards] (SCNo16): Likewise.
1915 [C99-based-standards] (SCNu16): Likewise.
1916 [C99-based-standards] (SCNx16): Likewise.
1917 [C99-based-standards] (PRIdLEAST16): Likewise.
1918 [C99-based-standards] (PRIiLEAST16): Likewise.
1919 [C99-based-standards] (PRIoLEAST16): Likewise.
1920 [C99-based-standards] (PRIuLEAST16): Likewise.
1921 [C99-based-standards] (PRIxLEAST16): Likewise.
1922 [C99-based-standards] (PRIXLEAST16): Likewise.
1923 [C99-based-standards] (SCNdLEAST16): Likewise.
1924 [C99-based-standards] (SCNiLEAST16): Likewise.
1925 [C99-based-standards] (SCNoLEAST16): Likewise.
1926 [C99-based-standards] (SCNuLEAST16): Likewise.
1927 [C99-based-standards] (SCNxLEAST16): Likewise.
1928 [C99-based-standards] (PRIdFAST16): Likewise.
1929 [C99-based-standards] (PRIiFAST16): Likewise.
1930 [C99-based-standards] (PRIoFAST16): Likewise.
1931 [C99-based-standards] (PRIuFAST16): Likewise.
1932 [C99-based-standards] (PRIxFAST16): Likewise.
1933 [C99-based-standards] (PRIXFAST16): Likewise.
1934 [C99-based-standards] (SCNdFAST16): Likewise.
1935 [C99-based-standards] (SCNiFAST16): Likewise.
1936 [C99-based-standards] (SCNoFAST16): Likewise.
1937 [C99-based-standards] (SCNuFAST16): Likewise.
1938 [C99-based-standards] (SCNxFAST16): Likewise.
1939 [C99-based-standards] (PRId32): Likewise.
1940 [C99-based-standards] (PRIi32): Likewise.
1941 [C99-based-standards] (PRIo32): Likewise.
1942 [C99-based-standards] (PRIu32): Likewise.
1943 [C99-based-standards] (PRIx32): Likewise.
1944 [C99-based-standards] (PRIX32): Likewise.
1945 [C99-based-standards] (SCNd32): Likewise.
1946 [C99-based-standards] (SCNi32): Likewise.
1947 [C99-based-standards] (SCNo32): Likewise.
1948 [C99-based-standards] (SCNu32): Likewise.
1949 [C99-based-standards] (SCNx32): Likewise.
1950 [C99-based-standards] (PRIdLEAST32): Likewise.
1951 [C99-based-standards] (PRIiLEAST32): Likewise.
1952 [C99-based-standards] (PRIoLEAST32): Likewise.
1953 [C99-based-standards] (PRIuLEAST32): Likewise.
1954 [C99-based-standards] (PRIxLEAST32): Likewise.
1955 [C99-based-standards] (PRIXLEAST32): Likewise.
1956 [C99-based-standards] (SCNdLEAST32): Likewise.
1957 [C99-based-standards] (SCNiLEAST32): Likewise.
1958 [C99-based-standards] (SCNoLEAST32): Likewise.
1959 [C99-based-standards] (SCNuLEAST32): Likewise.
1960 [C99-based-standards] (SCNxLEAST32): Likewise.
1961 [C99-based-standards] (PRIdFAST32): Likewise.
1962 [C99-based-standards] (PRIiFAST32): Likewise.
1963 [C99-based-standards] (PRIoFAST32): Likewise.
1964 [C99-based-standards] (PRIuFAST32): Likewise.
1965 [C99-based-standards] (PRIxFAST32): Likewise.
1966 [C99-based-standards] (PRIXFAST32): Likewise.
1967 [C99-based-standards] (SCNdFAST32): Likewise.
1968 [C99-based-standards] (SCNiFAST32): Likewise.
1969 [C99-based-standards] (SCNoFAST32): Likewise.
1970 [C99-based-standards] (SCNuFAST32): Likewise.
1971 [C99-based-standards] (SCNxFAST32): Likewise.
1972 [C99-based-standards] (PRId64): Likewise.
1973 [C99-based-standards] (PRIi64): Likewise.
1974 [C99-based-standards] (PRIo64): Likewise.
1975 [C99-based-standards] (PRIu64): Likewise.
1976 [C99-based-standards] (PRIx64): Likewise.
1977 [C99-based-standards] (PRIX64): Likewise.
1978 [C99-based-standards] (SCNd64): Likewise.
1979 [C99-based-standards] (SCNi64): Likewise.
1980 [C99-based-standards] (SCNo64): Likewise.
1981 [C99-based-standards] (SCNu64): Likewise.
1982 [C99-based-standards] (SCNx64): Likewise.
1983 [C99-based-standards] (PRIdLEAST64): Likewise.
1984 [C99-based-standards] (PRIiLEAST64): Likewise.
1985 [C99-based-standards] (PRIoLEAST64): Likewise.
1986 [C99-based-standards] (PRIuLEAST64): Likewise.
1987 [C99-based-standards] (PRIxLEAST64): Likewise.
1988 [C99-based-standards] (PRIXLEAST64): Likewise.
1989 [C99-based-standards] (SCNdLEAST64): Likewise.
1990 [C99-based-standards] (SCNiLEAST64): Likewise.
1991 [C99-based-standards] (SCNoLEAST64): Likewise.
1992 [C99-based-standards] (SCNuLEAST64): Likewise.
1993 [C99-based-standards] (SCNxLEAST64): Likewise.
1994 [C99-based-standards] (PRIdFAST64): Likewise.
1995 [C99-based-standards] (PRIiFAST64): Likewise.
1996 [C99-based-standards] (PRIoFAST64): Likewise.
1997 [C99-based-standards] (PRIuFAST64): Likewise.
1998 [C99-based-standards] (PRIxFAST64): Likewise.
1999 [C99-based-standards] (PRIXFAST64): Likewise.
2000 [C99-based-standards] (SCNdFAST64): Likewise.
2001 [C99-based-standards] (SCNiFAST64): Likewise.
2002 [C99-based-standards] (SCNoFAST64): Likewise.
2003 [C99-based-standards] (SCNuFAST64): Likewise.
2004 [C99-based-standards] (SCNxFAST64): Likewise.
2005 [C99-based-standards] (PRIdMAX): Likewise.
2006 [C99-based-standards] (PRIiMAX): Likewise.
2007 [C99-based-standards] (PRIoMAX): Likewise.
2008 [C99-based-standards] (PRIuMAX): Likewise.
2009 [C99-based-standards] (PRIxMAX): Likewise.
2010 [C99-based-standards] (PRIXMAX): Likewise.
2011 [C99-based-standards] (SCNdMAX): Likewise.
2012 [C99-based-standards] (SCNiMAX): Likewise.
2013 [C99-based-standards] (SCNoMAX): Likewise.
2014 [C99-based-standards] (SCNuMAX): Likewise.
2015 [C99-based-standards] (SCNxMAX): Likewise.
2016 [C99-based-standards] (PRIdPTR): Likewise.
2017 [C99-based-standards] (PRIiPTR): Likewise.
2018 [C99-based-standards] (PRIoPTR): Likewise.
2019 [C99-based-standards] (PRIuPTR): Likewise.
2020 [C99-based-standards] (PRIxPTR): Likewise.
2021 [C99-based-standards] (PRIXPTR): Likewise.
2022 [C99-based-standards] (SCNdPTR): Likewise.
2023 [C99-based-standards] (SCNiPTR): Likewise.
2024 [C99-based-standards] (SCNoPTR): Likewise.
2025 [C99-based-standards] (SCNuPTR): Likewise.
2026 [C99-based-standards] (SCNxPTR): Likewise.
2027 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2029 * conform/data/stdint.h-data: Update comments to clarify
2031 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2033 [C99-based standards] (INT8_MAX): Likewise.
2034 [C99-based standards] (INT16_MIN): Likewise.
2035 [C99-based standards] (INT16_MAX): Likewise.
2036 [C99-based standards] (INT32_MIN): Likewise.
2037 [C99-based standards] (INT32_MAX): Likewise.
2038 [C99-based standards] (INT64_MIN): Likewise.
2039 [C99-based standards] (INT64_MAX): Likewise.
2040 [C99-based standards] (UINT8_MAX): Likewise.
2041 [C99-based standards] (UINT16_MAX): Likewise.
2042 [C99-based standards] (UINT32_MAX): Likewise.
2043 [C99-based standards] (UINT64_MAX): Likewise.
2044 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2045 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2046 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2047 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2048 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2049 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2050 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2051 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2052 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2053 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2054 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2055 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2056 [C99-based standards] (INT_FAST8_MIN): Likewise.
2057 [C99-based standards] (INT_FAST8_MAX): Likewise.
2058 [C99-based standards] (INT_FAST16_MIN): Likewise.
2059 [C99-based standards] (INT_FAST16_MAX): Likewise.
2060 [C99-based standards] (INT_FAST32_MIN): Likewise.
2061 [C99-based standards] (INT_FAST32_MAX): Likewise.
2062 [C99-based standards] (INT_FAST64_MIN): Likewise.
2063 [C99-based standards] (INT_FAST64_MAX): Likewise.
2064 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2065 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2066 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2067 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2068 [C99-based standards] (INTPTR_MIN): Likewise.
2069 [C99-based standards] (INTPTR_MAX): Likewise.
2070 [C99-based standards] (UINTPTR_MAX): Likewise.
2071 [C99-based standards] (INTMAX_MIN): Likewise.
2072 [C99-based standards] (INTMAX_MAX): Likewise.
2073 [C99-based standards] (UINTMAX_MAX): Likewise.
2074 [C99-based standards] (PTRDIFF_MIN): Likewise.
2075 [C99-based standards] (PTRDIFF_MAX): Likewise.
2076 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2077 [C99-based standards] (SIZE_MAX): Likewise.
2078 [C99-based standards] (WCHAR_MAX): Likewise.
2079 [C99-based standards] (WINT_MAX): Likewise.
2080 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2081 constraint on value.
2082 [C99-based standards] (WCHAR_MIN): Likewise.
2083 [C99-based standards] (WINT_MIN): Likewise.
2084 [C99-based standards] (*_t): Allow.
2085 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2086 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2087 Include math.h-data and complex.h-data. Remove all expectations
2088 of math.h and complex.h contents.
2089 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2091 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2092 (struct tm): Expect tag.
2093 [C99-based-standards] (wcstof): Expect function.
2094 [C99-based-standards] (wcstold): Likewise.
2095 [C99-based-standards] (wcstoll): Likewise.
2096 [C99-based-standards] (wcstoull): Likewise.
2097 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2098 macro-int-constant. Specify type.
2099 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2100 constraint on value.
2101 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2103 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2105 [ISO C standards]: Do not allow headers.
2106 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2107 wcs[abcdefghijklmnopqrstuvwxyz]*.
2108 [ISO C standards] (*_t): Do not allow.
2109 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2111 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2112 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2114 [ISO C standards]: Do not allow headers.
2115 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2116 is[abcdefghijklmnopqrstuvwxyz]*.
2117 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2118 to[abcdefghijklmnopqrstuvwxyz]*.
2119 [ISO C standards] (*_t): Do not allow.
2120 * conform/data/stdalign.h-data: New file.
2121 * conform/data/stdbool.h-data: Likewise.
2122 * conform/data/stdnoreturn.h-data: Likewise.
2124 2012-11-07 Roland McGrath <roland@hack.frob.com>
2127 * manual/filesys.texi (Directory Entries): Typo fix.
2128 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2130 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2132 * elf/elf.h (EM_AARCH64): New macro.
2133 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2134 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2135 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2136 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2137 (R_AARCH64_TLSDESC): Likewise.
2138 (NT_ARM_TLS): Likewise.
2139 (NT_ARM_HW_BREAK): Likewise.
2140 (NT_ARM_HW_WATCH): Likewise.
2142 2012-11-07 Joseph Myers <joseph@codesourcery.com>
2145 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2146 (__ieee754_powl): Saturate nonzero exponents with absolute value
2147 below 0x1p-79 to +/- 0x1p-79.
2148 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2149 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2150 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2151 nonzero exponents with absolute value below 0x1p-32 to +/-
2153 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2154 (__ieee754_powl): Saturate nonzero exponents with absolute value
2155 below 0x1p-79 to +/- 0x1p-79.
2156 * math/libm-test.inc (pow_test): Add more tests.
2158 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2160 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2161 _dl_s390_cap_flags with kernel. Increase string length.
2162 (_dl_s390_platforms): Add z196 and zEC12.
2164 2012-11-07 Joseph Myers <joseph@codesourcery.com>
2166 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2167 Change XOPEN21K to XOPEN2K.
2169 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2171 * string/memmove.c: Use memcpy when possible.
2173 2012-11-06 Andreas Jaeger <aj@suse.de>
2175 * po/eo.po: Update from translation team.
2177 2012-11-06 Joseph Myers <joseph@codesourcery.com>
2180 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2181 exponent and small x and y exponents, scale x or y up. Increase
2182 by 2 the exponent used in scaling up.
2183 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2184 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2185 * math/libm-test.inc (fma_test): Add more tests.
2186 (fma_test_towardzero): Likewise.
2187 (fma_test_downward): Likewise.
2188 (fma_test_upward): Likewise.
2190 2012-11-05 Joseph Myers <joseph@codesourcery.com>
2193 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2197 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2198 namespace for names of struct fields.
2199 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2201 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2202 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2204 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2207 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2209 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2211 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2215 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2218 2012-11-04 Joseph Myers <joseph@codesourcery.com>
2221 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2222 definitely overflow as x * y not x * y + z.
2223 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2224 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2225 * math/libm-test.inc (fma_test): Add more tests.
2226 (fma_test_towardzero): Likewise.
2227 (fma_test_downward): Likewise.
2228 (fma_test_upward): Likewise.
2230 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2234 * include/stub-tag.h: Remove file.
2235 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2237 * manual/maint.texi (Porting): Don't reference it.
2238 * Makerules ($(objpfx)stubs): Likewise.
2239 * dirent/closedir.c: Don't include <stub-tag.h>.
2240 * dirent/dirfd.c: Likewise.
2241 * dirent/fdopendir.c: Likewise.
2242 * dirent/getdents.c: Likewise.
2243 * dirent/getdents64.c: Likewise.
2244 * dirent/opendir.c: Likewise.
2245 * dirent/readdir.c: Likewise.
2246 * dirent/readdir64.c: Likewise.
2247 * dirent/readdir64_r.c: Likewise.
2248 * dirent/readdir_r.c: Likewise.
2249 * dirent/rewinddir.c: Likewise.
2250 * dirent/seekdir.c: Likewise.
2251 * dirent/telldir.c: Likewise.
2252 * gmon/profil.c: Likewise.
2253 * grp/setgroups.c: Likewise.
2254 * inet/if_index.c: Likewise.
2255 * io/access.c: Likewise.
2256 * io/chdir.c: Likewise.
2257 * io/chmod.c: Likewise.
2258 * io/chown.c: Likewise.
2259 * io/close.c: Likewise.
2260 * io/dup.c: Likewise.
2261 * io/dup2.c: Likewise.
2262 * io/dup3.c: Likewise.
2263 * io/euidaccess.c: Likewise.
2264 * io/faccessat.c: Likewise.
2265 * io/fchdir.c: Likewise.
2266 * io/fchmod.c: Likewise.
2267 * io/fchmodat.c: Likewise.
2268 * io/fchown.c: Likewise.
2269 * io/fchownat.c: Likewise.
2270 * io/fcntl.c: Likewise.
2271 * io/flock.c: Likewise.
2272 * io/fstatfs.c: Likewise.
2273 * io/fstatfs64.c: Likewise.
2274 * io/fstatvfs.c: Likewise.
2275 * io/fstatvfs64.c: Likewise.
2276 * io/futimens.c: Likewise.
2277 * io/fxstat.c: Likewise.
2278 * io/fxstat64.c: Likewise.
2279 * io/fxstatat.c: Likewise.
2280 * io/fxstatat64.c: Likewise.
2281 * io/getcwd.c: Likewise.
2282 * io/isatty.c: Likewise.
2283 * io/lchmod.c: Likewise.
2284 * io/lchown.c: Likewise.
2285 * io/link.c: Likewise.
2286 * io/linkat.c: Likewise.
2287 * io/lseek.c: Likewise.
2288 * io/lseek64.c: Likewise.
2289 * io/lxstat64.c: Likewise.
2290 * io/mkdir.c: Likewise.
2291 * io/mkdirat.c: Likewise.
2292 * io/mkfifo.c: Likewise.
2293 * io/mkfifoat.c: Likewise.
2294 * io/open.c: Likewise.
2295 * io/open64.c: Likewise.
2296 * io/openat.c: Likewise.
2297 * io/openat64.c: Likewise.
2298 * io/pipe.c: Likewise.
2299 * io/pipe2.c: Likewise.
2300 * io/poll.c: Likewise.
2301 * io/posix_fadvise.c: Likewise.
2302 * io/posix_fadvise64.c: Likewise.
2303 * io/posix_fallocate.c: Likewise.
2304 * io/posix_fallocate64.c: Likewise.
2305 * io/read.c: Likewise.
2306 * io/readlink.c: Likewise.
2307 * io/readlinkat.c: Likewise.
2308 * io/rmdir.c: Likewise.
2309 * io/sendfile.c: Likewise.
2310 * io/sendfile64.c: Likewise.
2311 * io/statfs.c: Likewise.
2312 * io/statfs64.c: Likewise.
2313 * io/statvfs.c: Likewise.
2314 * io/statvfs64.c: Likewise.
2315 * io/symlink.c: Likewise.
2316 * io/symlinkat.c: Likewise.
2317 * io/ttyname.c: Likewise.
2318 * io/ttyname_r.c: Likewise.
2319 * io/umask.c: Likewise.
2320 * io/unlink.c: Likewise.
2321 * io/unlinkat.c: Likewise.
2322 * io/utime.c: Likewise.
2323 * io/utimensat.c: Likewise.
2324 * io/write.c: Likewise.
2325 * io/xmknod.c: Likewise.
2326 * io/xmknodat.c: Likewise.
2327 * io/xstat.c: Likewise.
2328 * io/xstat64.c: Likewise.
2329 * login/getpt.c: Likewise.
2330 * login/grantpt.c: Likewise.
2331 * login/unlockpt.c: Likewise.
2332 * math/e_acoshl.c: Likewise.
2333 * math/e_acosl.c: Likewise.
2334 * math/e_asinl.c: Likewise.
2335 * math/e_atan2l.c: Likewise.
2336 * math/e_atanhl.c: Likewise.
2337 * math/e_coshl.c: Likewise.
2338 * math/e_expl.c: Likewise.
2339 * math/e_fmodl.c: Likewise.
2340 * math/e_gammal_r.c: Likewise.
2341 * math/e_hypotl.c: Likewise.
2342 * math/e_j0l.c: Likewise.
2343 * math/e_j1l.c: Likewise.
2344 * math/e_jnl.c: Likewise.
2345 * math/e_lgammal_r.c: Likewise.
2346 * math/e_log10l.c: Likewise.
2347 * math/e_log2l.c: Likewise.
2348 * math/e_logl.c: Likewise.
2349 * math/e_powl.c: Likewise.
2350 * math/e_rem_pio2l.c: Likewise.
2351 * math/e_sinhl.c: Likewise.
2352 * math/e_sqrtl.c: Likewise.
2353 * math/fclrexcpt.c: Likewise.
2354 * math/fedisblxcpt.c: Likewise.
2355 * math/feenablxcpt.c: Likewise.
2356 * math/fegetenv.c: Likewise.
2357 * math/fegetexcept.c: Likewise.
2358 * math/fegetround.c: Likewise.
2359 * math/feholdexcpt.c: Likewise.
2360 * math/fesetenv.c: Likewise.
2361 * math/fesetround.c: Likewise.
2362 * math/feupdateenv.c: Likewise.
2363 * math/fgetexcptflg.c: Likewise.
2364 * math/fraiseexcpt.c: Likewise.
2365 * math/fsetexcptflg.c: Likewise.
2366 * math/ftestexcept.c: Likewise.
2367 * math/k_cosl.c: Likewise.
2368 * math/k_rem_pio2l.c: Likewise.
2369 * math/k_sinl.c: Likewise.
2370 * math/k_tanl.c: Likewise.
2371 * math/s_asinhl.c: Likewise.
2372 * math/s_atanl.c: Likewise.
2373 * math/s_cbrtl.c: Likewise.
2374 * math/s_erfl.c: Likewise.
2375 * math/s_expm1l.c: Likewise.
2376 * math/s_log1pl.c: Likewise.
2377 * math/s_tanhl.c: Likewise.
2378 * misc/acct.c: Likewise.
2379 * misc/brk.c: Likewise.
2380 * misc/chflags.c: Likewise.
2381 * misc/chroot.c: Likewise.
2382 * misc/fchflags.c: Likewise.
2383 * misc/fgetxattr.c: Likewise.
2384 * misc/flistxattr.c: Likewise.
2385 * misc/fremovexattr.c: Likewise.
2386 * misc/fsetxattr.c: Likewise.
2387 * misc/fsync.c: Likewise.
2388 * misc/ftruncate.c: Likewise.
2389 * misc/futimes.c: Likewise.
2390 * misc/futimesat.c: Likewise.
2391 * misc/getdomain.c: Likewise.
2392 * misc/getdtsz.c: Likewise.
2393 * misc/gethostid.c: Likewise.
2394 * misc/gethostname.c: Likewise.
2395 * misc/getloadavg.c: Likewise.
2396 * misc/getpagesize.c: Likewise.
2397 * misc/getsysstats.c: Likewise.
2398 * misc/getxattr.c: Likewise.
2399 * misc/gtty.c: Likewise.
2400 * misc/ioctl.c: Likewise.
2401 * misc/lgetxattr.c: Likewise.
2402 * misc/listxattr.c: Likewise.
2403 * misc/llistxattr.c: Likewise.
2404 * misc/lremovexattr.c: Likewise.
2405 * misc/lsetxattr.c: Likewise.
2406 * misc/lutimes.c: Likewise.
2407 * misc/madvise.c: Likewise.
2408 * misc/mincore.c: Likewise.
2409 * misc/mlock.c: Likewise.
2410 * misc/mlockall.c: Likewise.
2411 * misc/mmap.c: Likewise.
2412 * misc/mprotect.c: Likewise.
2413 * misc/msync.c: Likewise.
2414 * misc/munlock.c: Likewise.
2415 * misc/munlockall.c: Likewise.
2416 * misc/munmap.c: Likewise.
2417 * misc/preadv.c: Likewise.
2418 * misc/preadv64.c: Likewise.
2419 * misc/ptrace.c: Likewise.
2420 * misc/pwritev.c: Likewise.
2421 * misc/pwritev64.c: Likewise.
2422 * misc/readv.c: Likewise.
2423 * misc/reboot.c: Likewise.
2424 * misc/remap_file_pages.c: Likewise.
2425 * misc/removexattr.c: Likewise.
2426 * misc/revoke.c: Likewise.
2427 * misc/select.c: Likewise.
2428 * misc/setdomain.c: Likewise.
2429 * misc/setegid.c: Likewise.
2430 * misc/seteuid.c: Likewise.
2431 * misc/sethostid.c: Likewise.
2432 * misc/sethostname.c: Likewise.
2433 * misc/setregid.c: Likewise.
2434 * misc/setreuid.c: Likewise.
2435 * misc/setxattr.c: Likewise.
2436 * misc/sstk.c: Likewise.
2437 * misc/stty.c: Likewise.
2438 * misc/swapoff.c: Likewise.
2439 * misc/swapon.c: Likewise.
2440 * misc/sync.c: Likewise.
2441 * misc/syncfs.c: Likewise.
2442 * misc/syscall.c: Likewise.
2443 * misc/truncate.c: Likewise.
2444 * misc/ualarm.c: Likewise.
2445 * misc/usleep.c: Likewise.
2446 * misc/ustat.c: Likewise.
2447 * misc/utimes.c: Likewise.
2448 * misc/vhangup.c: Likewise.
2449 * misc/writev.c: Likewise.
2450 * posix/_exit.c: Likewise.
2451 * posix/alarm.c: Likewise.
2452 * posix/execve.c: Likewise.
2453 * posix/fexecve.c: Likewise.
2454 * posix/fork.c: Likewise.
2455 * posix/fpathconf.c: Likewise.
2456 * posix/getaddrinfo.c: Likewise.
2457 * posix/getegid.c: Likewise.
2458 * posix/geteuid.c: Likewise.
2459 * posix/getgid.c: Likewise.
2460 * posix/getgroups.c: Likewise.
2461 * posix/getlogin.c: Likewise.
2462 * posix/getlogin_r.c: Likewise.
2463 * posix/getpgid.c: Likewise.
2464 * posix/getpid.c: Likewise.
2465 * posix/getppid.c: Likewise.
2466 * posix/getresgid.c: Likewise.
2467 * posix/getresuid.c: Likewise.
2468 * posix/getsid.c: Likewise.
2469 * posix/getuid.c: Likewise.
2470 * posix/glob64.c: Likewise.
2471 * posix/nanosleep.c: Likewise.
2472 * posix/pathconf.c: Likewise.
2473 * posix/pause.c: Likewise.
2474 * posix/posix_madvise.c: Likewise.
2475 * posix/pread.c: Likewise.
2476 * posix/pread64.c: Likewise.
2477 * posix/pwrite.c: Likewise.
2478 * posix/pwrite64.c: Likewise.
2479 * posix/sched_getaffinity.c: Likewise.
2480 * posix/sched_getp.c: Likewise.
2481 * posix/sched_gets.c: Likewise.
2482 * posix/sched_primax.c: Likewise.
2483 * posix/sched_primin.c: Likewise.
2484 * posix/sched_rr_gi.c: Likewise.
2485 * posix/sched_setaffinity.c: Likewise.
2486 * posix/sched_setp.c: Likewise.
2487 * posix/sched_sets.c: Likewise.
2488 * posix/sched_yield.c: Likewise.
2489 * posix/setgid.c: Likewise.
2490 * posix/setlogin.c: Likewise.
2491 * posix/setpgid.c: Likewise.
2492 * posix/setresgid.c: Likewise.
2493 * posix/setresuid.c: Likewise.
2494 * posix/setsid.c: Likewise.
2495 * posix/setuid.c: Likewise.
2496 * posix/sleep.c: Likewise.
2497 * posix/spawni.c: Likewise.
2498 * posix/sysconf.c: Likewise.
2499 * posix/times.c: Likewise.
2500 * posix/wait.c: Likewise.
2501 * posix/wait3.c: Likewise.
2502 * posix/wait4.c: Likewise.
2503 * posix/waitpid.c: Likewise.
2504 * resolv/gai_sigqueue.c: Likewise.
2505 * resource/getpriority.c: Likewise.
2506 * resource/getrlimit.c: Likewise.
2507 * resource/getrusage.c: Likewise.
2508 * resource/nice.c: Likewise.
2509 * resource/setpriority.c: Likewise.
2510 * resource/setrlimit.c: Likewise.
2511 * resource/ulimit.c: Likewise.
2512 * rt/aio_cancel.c: Likewise.
2513 * rt/aio_fsync.c: Likewise.
2514 * rt/aio_read.c: Likewise.
2515 * rt/aio_sigqueue.c: Likewise.
2516 * rt/aio_suspend.c: Likewise.
2517 * rt/aio_write.c: Likewise.
2518 * rt/clock_getres.c: Likewise.
2519 * rt/clock_gettime.c: Likewise.
2520 * rt/clock_nanosleep.c: Likewise.
2521 * rt/clock_settime.c: Likewise.
2522 * rt/lio_listio.c: Likewise.
2523 * rt/mq_close.c: Likewise.
2524 * rt/mq_getattr.c: Likewise.
2525 * rt/mq_notify.c: Likewise.
2526 * rt/mq_open.c: Likewise.
2527 * rt/mq_receive.c: Likewise.
2528 * rt/mq_send.c: Likewise.
2529 * rt/mq_setattr.c: Likewise.
2530 * rt/mq_timedreceive.c: Likewise.
2531 * rt/mq_timedsend.c: Likewise.
2532 * rt/mq_unlink.c: Likewise.
2533 * rt/shm_open.c: Likewise.
2534 * rt/shm_unlink.c: Likewise.
2535 * rt/timer_create.c: Likewise.
2536 * rt/timer_delete.c: Likewise.
2537 * rt/timer_getoverr.c: Likewise.
2538 * rt/timer_gettime.c: Likewise.
2539 * rt/timer_settime.c: Likewise.
2540 * setjmp/__longjmp.c: Likewise.
2541 * setjmp/setjmp.c: Likewise.
2542 * signal/kill.c: Likewise.
2543 * signal/killpg.c: Likewise.
2544 * signal/raise.c: Likewise.
2545 * signal/sigaction.c: Likewise.
2546 * signal/sigaltstack.c: Likewise.
2547 * signal/sigblock.c: Likewise.
2548 * signal/sigignore.c: Likewise.
2549 * signal/sigintr.c: Likewise.
2550 * signal/signal.c: Likewise.
2551 * signal/sigpause.c: Likewise.
2552 * signal/sigpending.c: Likewise.
2553 * signal/sigqueue.c: Likewise.
2554 * signal/sigreturn.c: Likewise.
2555 * signal/sigset.c: Likewise.
2556 * signal/sigsetmask.c: Likewise.
2557 * signal/sigstack.c: Likewise.
2558 * signal/sigsuspend.c: Likewise.
2559 * signal/sigtimedwait.c: Likewise.
2560 * signal/sigvec.c: Likewise.
2561 * signal/sigwait.c: Likewise.
2562 * signal/sigwaitinfo.c: Likewise.
2563 * signal/sysv_signal.c: Likewise.
2564 * socket/accept.c: Likewise.
2565 * socket/accept4.c: Likewise.
2566 * socket/bind.c: Likewise.
2567 * socket/connect.c: Likewise.
2568 * socket/getpeername.c: Likewise.
2569 * socket/getsockname.c: Likewise.
2570 * socket/getsockopt.c: Likewise.
2571 * socket/isfdtype.c: Likewise.
2572 * socket/listen.c: Likewise.
2573 * socket/recv.c: Likewise.
2574 * socket/recvfrom.c: Likewise.
2575 * socket/recvmsg.c: Likewise.
2576 * socket/send.c: Likewise.
2577 * socket/sendmsg.c: Likewise.
2578 * socket/sendto.c: Likewise.
2579 * socket/setsockopt.c: Likewise.
2580 * socket/shutdown.c: Likewise.
2581 * socket/sockatmark.c: Likewise.
2582 * socket/socket.c: Likewise.
2583 * socket/socketpair.c: Likewise.
2584 * stdio-common/ctermid.c: Likewise.
2585 * stdio-common/cuserid.c: Likewise.
2586 * stdio-common/remove.c: Likewise.
2587 * stdio-common/rename.c: Likewise.
2588 * stdio-common/renameat.c: Likewise.
2589 * stdio-common/tempname.c: Likewise.
2590 * stdlib/getcontext.c: Likewise.
2591 * stdlib/makecontext.c: Likewise.
2592 * stdlib/setcontext.c: Likewise.
2593 * stdlib/swapcontext.c: Likewise.
2594 * stdlib/system.c: Likewise.
2595 * streams/fattach.c: Likewise.
2596 * streams/fdetach.c: Likewise.
2597 * streams/getmsg.c: Likewise.
2598 * streams/getpmsg.c: Likewise.
2599 * streams/putmsg.c: Likewise.
2600 * streams/putpmsg.c: Likewise.
2601 * sysdeps/unix/bsd/getpt.c: Likewise.
2602 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2603 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2604 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2607 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2608 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2609 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2610 * sysvipc/msgctl.c: Likewise.
2611 * sysvipc/msgget.c: Likewise.
2612 * sysvipc/msgrcv.c: Likewise.
2613 * sysvipc/msgsnd.c: Likewise.
2614 * sysvipc/semctl.c: Likewise.
2615 * sysvipc/semget.c: Likewise.
2616 * sysvipc/semop.c: Likewise.
2617 * sysvipc/semtimedop.c: Likewise.
2618 * sysvipc/shmat.c: Likewise.
2619 * sysvipc/shmctl.c: Likewise.
2620 * sysvipc/shmdt.c: Likewise.
2621 * sysvipc/shmget.c: Likewise.
2622 * termios/tcdrain.c: Likewise.
2623 * termios/tcflow.c: Likewise.
2624 * termios/tcflush.c: Likewise.
2625 * termios/tcgetattr.c: Likewise.
2626 * termios/tcgetpgrp.c: Likewise.
2627 * termios/tcsendbrk.c: Likewise.
2628 * termios/tcsetattr.c: Likewise.
2629 * termios/tcsetpgrp.c: Likewise.
2630 * time/adjtime.c: Likewise.
2631 * time/clock.c: Likewise.
2632 * time/getitimer.c: Likewise.
2633 * time/gettimeofday.c: Likewise.
2634 * time/setitimer.c: Likewise.
2635 * time/settimeofday.c: Likewise.
2636 * time/stime.c: Likewise.
2637 * time/time.c: Likewise.
2639 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
2641 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2644 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2646 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2648 2012-11-03 Joseph Myers <joseph@codesourcery.com>
2651 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2652 FE_TONEAREST before applying Dekker multiplication and Knuth
2653 addition. Clear inexact exceptions and check for exact zero
2655 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2656 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2657 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2658 * math/libm-test.inc (fma_test): Add more tests.
2659 (fma_test_towardzero): Likewise.
2660 (fma_test_downward): Likewise.
2661 (fma_test_upward): Likewise.
2662 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2664 (libc_fesetround): New macro.
2665 (libc_fesetroundf): Likewise.
2666 (libc_fesetroundl): Likewise.
2667 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2669 (libc_fesetround_387): Likewise.
2670 (libc_fesetroundf): New macro.
2671 (libc_fesetround): Likewise.
2672 (libc_fesetroundl): Likewise.
2673 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2675 (libc_fesetroundf): New macro.
2676 (libc_fesetround): Likewise.
2677 (libc_fesetroundl): Likewise.
2678 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2679 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2680 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2682 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2683 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2685 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2686 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2688 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2692 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2693 integer constant usable in #if and use that to give value to enum
2695 (FE_DIVBYZERO): Likewise.
2696 (FE_UNDERFLOW): Likewise.
2697 (FE_OVERFLOW): Likewise.
2698 (FE_INVALID): Likewise.
2699 (FE_INVALID_SNAN): Likewise.
2700 (FE_INVALID_ISI): Likewise.
2701 (FE_INVALID_IDI): Likewise.
2702 (FE_INVALID_ZDZ): Likewise.
2703 (FE_INVALID_IMZ): Likewise.
2704 (FE_INVALID_COMPARE): Likewise.
2705 (FE_INVALID_SOFTWARE): Likewise.
2706 (FE_INVALID_SQRT): Likewise.
2707 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2708 (FE_TONEAREST): Likewise.
2709 (FE_TOWARDZERO): Likewise.
2710 (FE_UPWARD): Likewise.
2711 (FE_DOWNWARD): Likewise.
2712 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2713 (FE_DIVBYZERO): Likewise.
2714 (FE_OVERFLOW): Likewise.
2715 (FE_UNDERFLOW): Likewise.
2716 (FE_INEXACT): Likewise.
2717 (FE_TONEAREST): Likewise.
2718 (FE_DOWNWARD): Likewise.
2719 (FE_UPWARD): Likewise.
2720 (FE_TOWARDZERO): Likewise.
2721 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2722 (FE_UNDERFLOW): Likewise.
2723 (FE_OVERFLOW): Likewise.
2724 (FE_DIVBYZERO): Likewise.
2725 (FE_INVALID): Likewise.
2726 (FE_TONEAREST): Likewise.
2727 (FE_TOWARDZERO): Likewise.
2728 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2729 (FE_OVERFLOW): Likewise.
2730 (FE_UNDERFLOW): Likewise.
2731 (FE_DIVBYZERO): Likewise.
2732 (FE_INEXACT): Likewise.
2733 (FE_TONEAREST): Likewise.
2734 (FE_TOWARDZERO): Likewise.
2735 (FE_UPWARD): Likewise.
2736 (FE_DOWNWARD): Likewise.
2737 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2738 (FE_DIVBYZERO): Likewise.
2739 (FE_OVERFLOW): Likewise.
2740 (FE_UNDERFLOW): Likewise.
2741 (FE_INEXACT): Likewise.
2742 (FE_TONEAREST): Likewise.
2743 (FE_DOWNWARD): Likewise.
2744 (FE_UPWARD): Likewise.
2745 (FE_TOWARDZERO): Likewise.
2747 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2749 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2751 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2753 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2754 commands. Quote $PWD.
2755 (blacklist_exports): Don't use remove_newlines. Replace "declare
2757 (remove_newlines): Remove.
2759 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2761 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2762 * stdlib/stdlib.h (atof): Moved to ...
2763 * include/bits/stdlib-float.h: Here. New file.
2764 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2765 * stdlib/bits/stdlib-float.h: New file.
2766 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2768 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2771 2012-11-02 Joseph Myers <joseph@codesourcery.com>
2773 * conform/conformtest.pl (@headers): Add fenv.h.
2774 * conform/data/fenv.h-data: New file.
2775 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2776 include of <math/fenv.h>.
2778 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2779 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2780 && !UNIX98]. Enables tests for XOPEN2K8.
2781 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2782 POSIX2008]: Likewise.
2784 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2785 (struct rusage): Do not expect type or its members.
2788 * math/math.h (FP_NAN): Define macro to integer constant usable in
2789 #if and use that to give value to enum constant.
2790 (FP_INFINITE): Likewise.
2791 (FP_ZERO): Likewise.
2792 (FP_SUBNORMAL): Likewise.
2793 (FP_NORMAL): Likewise.
2795 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2797 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2798 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2801 2012-11-02 Roland McGrath <roland@hack.frob.com>
2803 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2804 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2805 autoconf-time if not.
2806 * configure.in: Remove AC_PREREQ.
2808 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2810 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2811 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2812 of the internal implementation.
2814 2012-11-02 Joseph Myers <joseph@codesourcery.com>
2816 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2817 except include of <misc/sys/syslog.h>.
2819 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2822 function returns with a NULL context exit with zero.
2824 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2826 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2828 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2830 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2831 (run_program_cmd): This.
2832 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2833 (tst_langinfo): New variable. Use it.
2835 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2837 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2838 floating point opcodes.
2840 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2842 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2845 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2847 * sysdeps/mach/hurd/powerpc: Remove directory.
2848 * sysdeps/mach/powerpc: Likewise.
2850 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2852 * scripts/check-local-headers.sh: Ignore c++ headers.
2854 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2856 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2857 __libc_cleanup_region_start argument.
2859 2012-11-01 Joseph Myers <joseph@codesourcery.com>
2863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2864 x * y using scaling, not as x * y + z.
2865 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2866 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2867 * math/libm-test.inc (fma_test): Add more tests.
2868 (fma_test_towardzero): Likewise.
2869 (fma_test_downward): Likewise.
2870 (fma_test_upward): Likewise.
2872 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2874 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
2876 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2878 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
2881 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
2883 * rt/tst-shm.c (worker): Correct checking for mmap failure.
2885 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2892 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2895 Fix the order of the list for glibc 2.17.
2896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2899 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
2901 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2903 2012-10-31 Joseph Myers <joseph@codesourcery.com>
2906 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
2907 for low part of x being zero before using __atanl (y).
2908 * math/libm-test.inc (atan2_test): Add another test.
2910 * manual/install.texi (Configuring and compiling): Document
2911 general use of test-wrapper and test-wrapper-env.
2912 * INSTALL: Regenerated.
2914 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
2915 (__fma): Do not extract and scale down low bits on after-rounding
2916 systems when result rounded to normal precision would have normal
2918 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
2919 (__fmal): Do not extract and scale down low bits on after-rounding
2920 systems when result rounded to normal precision would have normal
2922 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
2923 (__fmal): Do not extract and scale down low bits on after-rounding
2924 systems when result rounded to normal precision would have normal
2926 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
2928 (fma_test): Add more tests.
2929 (fma_test_towardzero): Likewise.
2930 (fma_test_downward): Likewise.
2931 (fma_test_upward): Likewise.
2933 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
2935 * sysdeps/i386/tininess.h: Renamed to ...
2936 * sysdeps/x86/tininess.h: This.
2937 * sysdeps/x86_64/tininess.h: Removed.
2939 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2941 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
2942 input. Use $(build-program-cmd).
2943 ($(objpfx)tst-array1-static.out): Likewise.
2944 ($(objpfx)tst-array2.out): Likewise.
2945 ($(objpfx)tst-array3.out): Likewise.
2946 ($(objpfx)tst-array4.out): Likewise.
2947 ($(objpfx)tst-array5.out): Likewise.
2948 ($(objpfx)tst-array5-static.out): Likewise.
2950 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
2952 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
2955 * nss/nsswitch.h (nss_interface_function): Provide new
2956 macro for use with NSS functions.
2957 * grp/initgroups.c: Use new macro.
2958 * nss/getXXbyYY.c: Likewise.
2959 * nss/getXXbyYY_r.c: Likewise.
2960 * nss/getXXent.c: Likewise.
2961 * nss/getXXent_r.c: Likewise.
2962 * sysdeps/posix/getaddrinfo.c: Likewise.
2964 2012-10-30 Andreas Jaeger <aj@suse.de>
2966 * po/ru.po: Update Russion translation from translation project.
2968 2012-10-30 Joseph Myers <joseph@codesourcery.com>
2972 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
2973 result and shift together with sticky bit instead of replicating
2974 round-to-nearest rounding.
2975 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2976 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2977 * math/libm-test.inc (fma_test): Add more tests. Do not permit
2978 missing underflow exceptions.
2979 (fma_test_towardzero): Add more tests.
2980 (fma_test_downward): Likewise.
2981 (fma_test_upward): Likewise.
2984 * sysdeps/generic/tininess.h: New file.
2985 * sysdeps/i386/tininess.h: Likewise.
2986 * sysdeps/sh/tininess.h: Likewise.
2987 * sysdeps/x86_64/tininess.h: Likewise.
2988 * stdlib/tst-strtod-underflow.c: Likewise.
2989 * stdlib/tst-tininess.c: Likewise.
2990 * stdlib/strtod_l.c: Include <tininess.h>.
2991 (round_and_return): Do not set errno for exact underflow cases.
2992 Force an underflow exception when setting errno for underflow.
2993 Determine underflow based on rounding to normal precision if
2994 TININESS_AFTER_ROUNDING.
2995 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
2996 ERANGE for exact underflow cases.
2997 * stdlib/Makefile (tests): Add tst-tininess and
2998 tst-strtod-underflow.
2999 ($(objpfx)tst-tininess): Use $(link-libm).
3000 ($(objpfx)tst-strtod-underflow): Likewise.
3002 2012-10-30 Andreas Jaeger <aj@suse.de>
3005 * elf/Makefile (tests): Remove conditional for have-initfini-array
3006 since this is now always required and the variable does not exist
3008 (tests-static): Likewise.
3009 (modules-names): Likewise.
3011 * po/eo.po: Add Esperanto translation from translation project.
3013 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3014 merged with constructor/destructor.
3015 (init_array): Likewise.
3016 * elf/tst-array2dep.c (fini_array): Likewise.
3017 (init_array): Likewise.
3019 2012-10-29 Mike Frysinger <vapier@gentoo.org>
3021 * manual/message.texi: Delete @cartouche tags.
3023 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3025 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3027 * sysdeps/mach/hurd/fsync.c: Likewise.
3029 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3030 [_POSIX_REALTIME_SIGNALS]: Change condition to
3031 [_POSIX_REALTIME_SIGNALS > 0].
3033 2012-10-27 Andreas Jaeger <aj@suse.de>
3035 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3036 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3037 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3038 [__WORDSIZE != 64]: Likewise.
3040 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3042 * iconvdata/tst-table.sh: Remove ${SHELL}.
3043 * iconvdata/tst-tables.sh: Likewise.
3045 2012-10-25 David S. Miller <davem@davemloft.net>
3047 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3048 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3051 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3053 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3054 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3055 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3058 2012-10-25 Roland McGrath <roland@hack.frob.com>
3060 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3061 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3064 2012-10-25 Joseph Myers <joseph@codesourcery.com>
3065 Jim Blandy <jimb@codesourcery.com>
3067 * scripts/cross-test-ssh.sh: New file.
3068 * manual/install.texi (Configuring and compiling): Document use of
3070 * INSTALL: Regenerated.
3072 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3074 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3077 2012-10-25 Joseph Myers <joseph@codesourcery.com>
3079 * Makeconfig (run-program-prefix): Fix comment.
3081 2012-10-24 Joseph Myers <joseph@codesourcery.com>
3082 Jim Blandy <jimb@codesourcery.com>
3084 * Makeconfig (test-wrapper): New variable,
3085 (test-wrapper-env): Likewise.
3086 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3087 (run-built-tests): Define to yes.
3088 (run-program-prefix): Use $(test-wrapper).
3089 (built-program-cmd): Likewise.
3090 * Rules (make-test-out): Use $(test-wrapper-env) and
3091 $(host-built-program-cmd).
3092 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3093 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3095 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3096 $(test-wrapper-env) to tst-rtld-load-self.sh.
3097 ($(objpfx)order2.out): Use $(test-wrapper).
3098 ($(objpfx)tst-initorder.out): Likewise.
3099 ($(objpfx)tst-initorder2.out): Likewise.
3100 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3101 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3102 (test_wrapper_env): New variable. Use it to run ld.so.
3103 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3104 Use it to run ld.so.
3105 (test_wrapper_env): Likewise.
3106 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3107 $(test-wrapper) to run-iconv-test.sh.
3108 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3109 (ICONV): Use $test_wrapper.
3110 * posix/Makefile ($(objpfx)globtest.out): Pass
3111 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3112 globtest.sh, not $(run-program-prefix).
3113 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3114 (test_wrapper): Likewise.
3115 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3116 set together with run_via_rtld_prefix.
3117 (run_program_prefix): Define in terms of test_wrapper and
3118 run_via_rtld_prefix.
3120 2012-10-24 Roland McGrath <roland@hack.frob.com>
3122 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3123 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3127 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3128 Declare __clock_getres, __clock_gettime, __clock_settime,
3129 __clock_nanosleep, and __clock_getcpuclockid.
3130 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3131 Remove librt_hidden_def (clock_gettime).
3132 * sysdeps/unix/clock_gettime.c: Likewise.
3133 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3134 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3135 * rt/clock_getres.c: Define __clock_getres as an alias.
3136 * sysdeps/posix/clock_getres.c: Likewise.
3137 * rt/clock_settime.c: Define __clock_settime as an alias.
3138 * sysdeps/unix/clock_settime.c: Likewise.
3139 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3140 * sysdeps/unix/clock_nanosleep.c: Likewise.
3141 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3142 * rt/clock-compat.c: New file.
3143 * rt/Makefile (librt-routines): Add clock-compat and move
3144 $(clock-routines) to ...
3145 (routines): ... here, new variable.
3146 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3147 Don't add get_clockfreq here.
3148 * rt/Versions (libc: GLIBC_2.17): New version set.
3149 Add clock_* symbols here.
3150 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3151 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3152 (GLIBC_2.17): Add clock_* symbols.
3153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3155 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3164 * NEWS: Mention the move.
3166 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3167 Use __open, __read, __close rather than their public counterparts.
3168 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3169 (__get_clockfreq_via_cpuinfo): Likewise.
3170 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3171 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3173 * config.h.in (HAVE_IFUNC): New #undef.
3174 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3176 * configure: Regenerated.
3178 2012-10-24 Mike Frysinger <vapier@gentoo.org>
3180 * configure.in: Move READELF check to start of file.
3181 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3182 libc_cv_asm_gnu_indirect_function in the process.
3183 * configure: Regenerated.
3185 2012-10-24 Mike Frysinger <vapier@gentoo.org>
3187 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3188 send the output to /dev/null.
3189 (libc_cv_cc_with_libunwind): Likewise.
3190 (libc_cv_as_noexecstack): Likewise.
3191 * configure: Regenerate.
3193 2012-10-24 Joseph Myers <joseph@codesourcery.com>
3195 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3197 * posix/globtest.sh (TMPDIR): Do not set.
3198 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3199 (testout): Likewise.
3201 2012-10-24 Andreas Jaeger <aj@suse.de>
3203 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3204 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3205 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3206 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3207 posix_fadvise64, posix_fallocate64.
3209 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3210 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3211 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3213 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3215 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3217 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3218 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3219 <bits/fcntl-linux.h>.
3220 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3222 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3223 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3224 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3225 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3226 [__WORDSIZE != 64]: Likewise.
3228 2012-10-23 Joseph Myers <joseph@codesourcery.com>
3230 * Makeconfig (run-built-tests): New variable.
3231 * Rules [$(cross-compiling) = yes]: Change condition to
3232 [$(run-built-tests) = no].
3233 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3234 to [$(run-built-tests) = yes].
3235 * elf/Makefile [$(cross-compiling) = no]: Likewise
3236 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3237 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3238 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3239 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3240 * io/Makefile [$(cross-compiling) = no]: Likewise.
3241 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3242 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3243 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3244 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3245 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3246 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3247 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3248 * string/Makefile [$(cross-compiling) = no]: Likewise.
3250 * posix/Makefile ($(objpfx)globtest.out): Pass
3251 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3252 $(rtld-installed-name).
3253 * posix/globtest.sh (elf_objpfx): Remove variable.
3254 (rtld_installed_name): Likewise.
3255 (library_path): Likewise.
3256 (run_program_prefix): New variable. Use for running globtest
3259 2012-10-23 Jim Blandy <jimb@codesourcery.com>
3260 Joseph Myers <joseph@codesourcery.com>
3262 * Makeconfig (host-built-program-cmd): New variable.
3263 * elf/Makefile (tst-stackguard1-ARGS): Use
3264 $(host-built-program-cmd).
3265 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3266 (tst-spawn-ARGS): Likewise.
3267 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3269 2012-10-23 Joseph Myers <joseph@codesourcery.com>
3270 Jim Blandy <jimb@codesourcery.com>
3272 * Makeconfig (run-via-rtld-prefix): New variable.
3273 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3274 (built-program-cmd): Likewise.
3276 2012-10-22 Andreas Jaeger <aj@suse.de>
3278 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3279 __O_RSYNC if it exists, otherwise to O_SYNC.
3281 2012-10-22 Jim Blandy <jimb@codesourcery.com>
3282 Joseph Myers <joseph@codesourcery.com>
3284 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3286 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3288 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3291 2012-10-22 Andreas Jaeger <aj@suse.de>
3293 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3295 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3300 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3301 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3303 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3305 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3308 2012-10-21 Jim Blandy <jimb@codesourcery.com>
3309 Joseph Myers <joseph@codesourcery.com>
3311 * config.make.in (NM): New variable.
3313 2012-10-21 Andreas Jaeger <aj@suse.de>
3315 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3316 definitions and declarations that are provided by
3317 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3319 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3322 * elf/Makefile (tests-static): Add tst-leaks1-static.
3323 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3324 ($(objpfx)tst-leaks1-static): New rule.
3325 ($(objpfx)tst-leaks1-static-mem): Likewise.
3326 (tst-leaks1-static-ENV): New macro.
3327 * elf/dl-open.c (dl_open_worker): Check the main application
3328 only if SHARED is defined.
3329 * elf/tst-leaks1-static.c: New file.
3331 2012-10-20 Andreas Jaeger <aj@suse.de>
3333 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3334 generic values for Linux.
3335 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3336 and declarations that are provided by <bits/fcntl-linux.h> and
3337 include <bits/fcntl-linux.h>.
3338 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3339 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3341 2012-10-20 Roland McGrath <roland@hack.frob.com>
3343 * io/fcntl.h: Move include of <bits/types.h> to the top and
3344 include it unconditionally.
3346 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3348 * wcsmbs/Makefile (tests-ifunc): New variable.
3349 (tests): Add $(tests-ifunc).
3350 * wcsmbs/test-wcschr-ifunc.c: New file.
3351 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3352 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3353 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3354 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3355 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3357 * string/Makefile (tests-ifunc): New variable.
3358 (tests): Add $(tests-ifunc).
3359 * string/test-memccpy.c (TEST_NAME): New macro.
3360 * string/test-memchr.c (TEST_NAME): Likewise.
3361 * string/test-memcmp.c (TEST_NAME): Likewise.
3362 * string/test-memcpy.c (TEST_NAME): Likewise.
3363 * string/test-memmem.c (TEST_NAME): Likewise.
3364 * string/test-memmove.c (TEST_NAME): Likewise.
3365 * string/test-memset.c (TEST_NAME): Likewise.
3366 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3367 * string/test-stpcpy.c (TEST_NAME): Likewise.
3368 * string/test-stpncpy.c (TEST_NAME): Likewise.
3369 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3370 * string/test-strcasestr.c (TEST_NAME): Likewise.
3371 * string/test-strcat.c (TEST_NAME): Likewise.
3372 * string/test-strchr.c (TEST_NAME): Likewise.
3373 * string/test-strcmp.c(TEST_NAME): Likewise.
3374 * string/test-strcpy.c (TEST_NAME): Likewise.
3375 * string/test-strcspn.c (TEST_NAME): Likewise.
3376 * string/test-strlen.c (TEST_NAME): Likewise.
3377 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3378 * string/test-strncmp.c (TEST_NAME): Likewise.
3379 * string/test-strncpy.c (TEST_NAME): Likewise.
3380 * string/test-strnlen.c (TEST_NAME): Likewise.
3381 * string/test-strpbrk.c (TEST_NAME): Likewise.
3382 * string/test-strrchr.c (TEST_NAME): Likewise.
3383 * string/test-strspn.c (TEST_NAME): Likewise.
3384 * string/test-strstr.c (TEST_NAME): Likewise.
3385 * string/test-bcopy-ifunc.c: New file.
3386 * string/test-bzero-ifunc.c: Likewise.
3387 * string/test-memccpy-ifunc.c: Likewise.
3388 * string/test-memchr-ifunc.c: Likewise.
3389 * string/test-memcmp-ifunc.c: Likewise.
3390 * string/test-memcpy-ifunc.c: Likewise.
3391 * string/test-memmem-ifunc.c: Likewise.
3392 * string/test-memmove-ifunc.c: Likewise.
3393 * string/test-mempcpy-ifunc.c: Likewise.
3394 * string/test-memset-ifunc.c: Likewise.
3395 * string/test-rawmemchr-ifunc.c: Likewise.
3396 * string/test-stpcpy-ifunc.c: Likewise.
3397 * string/test-stpncpy-ifunc.c: Likewise.
3398 * string/test-strcasecmp-ifunc.c: Likewise.
3399 * string/test-strcasestr-ifunc.c: Likewise.
3400 * string/test-strcat-ifunc.c: Likewise.
3401 * string/test-strchr-ifunc.c: Likewise.
3402 * string/test-strchrnul-ifunc.c: Likewise.
3403 * string/test-strcmp-ifunc.c: Likewise.
3404 * string/test-strcpy-ifunc.c: Likewise.
3405 * string/test-strcspn-ifunc.c: Likewise.
3406 * string/test-strlen-ifunc.c: Likewise.
3407 * string/test-strncasecmp-ifunc.c: Likewise.
3408 * string/test-strncat-ifunc.c: Likewise.
3409 * string/test-strncmp-ifunc.c: Likewise.
3410 * string/test-strncpy-ifunc.c: Likewise.
3411 * string/test-strnlen-ifunc.c: Likewise.
3412 * string/test-strpbrk-ifunc.c: Likewise.
3413 * string/test-strrchr-ifunc.c: Likewise.
3414 * string/test-strspn-ifunc.c: Likewise.
3415 * string/test-strstr-ifunc.c: Likewise.
3417 * debug/Makefile (tests-ifunc): New variable.
3418 (tests): Add $(tests-ifunc).
3419 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3420 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3421 * debug/test-stpcpy_chk-ifunc.c: New file.
3422 * debug/test-strcpy_chk-ifunc.c: Likewise.
3424 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3427 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3428 header is not read in.
3430 2012-10-19 Joseph Myers <joseph@codesourcery.com>
3432 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3433 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3434 directly. Pass built executable to script as
3435 $(built-program-cmd).
3436 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3437 $testprogram without using LD_LIBRARY_PATH and $ldso.
3439 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3440 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3441 $(rtld-installed-name).
3442 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3443 (rtld_installed_name): Likewise.
3444 (library_path): Likewise.
3445 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3446 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3447 $(run-program-prefix) to tst-tables.sh.
3448 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3449 it to run tst-table-from and tst-table-to.
3450 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3451 Pass it to tst-table.sh.
3452 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3453 $(run-program-prefix) to tst-gettext.sh.
3454 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3456 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3458 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3460 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3461 to run tst-gettext2.
3462 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3463 to run tst-translit.
3464 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3465 $(run-program-prefix) to tst-mtrace.sh.
3466 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3468 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3469 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3470 $(rtld-installed-name).
3471 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3472 (rtld_installed_name): Likewise.
3473 (run_program_prefix): New variable. Use it to run wordexp-test.
3475 * Makeconfig (ARCH): Remove all definitions.
3476 (machine): Likewise.
3477 [ARCH]: Remove conditional code.
3478 [!objdir]: Give error.
3479 [!objdir] (objpfx): Remove.
3480 [!objdir] (common-objpfx): Likewise.
3481 [!objdir] (common-objdir): Likewise.
3482 * configure.in (config_makefile): Remove. Hardcode Makefile in
3483 AC_CONFIG_FILES call.
3484 * configure: Regenerated.
3487 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3489 (testout): Likewise.
3491 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3492 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3493 $(rtld-installed-name).
3494 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3495 (rtld_installed_name): Likwise.
3496 (runit): Remove function.
3497 (run_getconf): New variable, Use it for running getconf binary.
3499 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3502 * string/test-memmem.c (check_result): New function.
3503 (do_one_test): Use it.
3504 (check1): New function.
3505 (test_main): Use it.
3507 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3509 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3511 2012-10-18 Joseph Myers <joseph@codesourcery.com>
3513 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3514 (_G_LSEEK64): Likewise.
3515 (_G_MMAP64): Likewise.
3516 (_G_FSTAT64): Likewise.
3517 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3518 (_G_LSEEK64): Likewise.
3519 (_G_MMAP64): Likewise.
3520 (_G_FSTAT64): Likewise.
3521 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3522 unconditional. Call __mmap64 directly.
3523 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3524 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3526 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3527 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3529 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3530 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3532 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3533 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3535 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3536 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3538 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3539 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3540 __fxstat64 directly.
3541 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3542 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3544 (freopen64) [!_G_OPEN64]: Remove conditional code.
3545 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3547 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3548 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3550 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3551 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3553 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3554 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3556 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3557 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3559 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3560 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3562 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3563 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3565 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3567 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3570 * manual/memory.texi (Malloc Tunable Parameters): Add note
3571 about free list pointers overwriting some perturb bytes.
3572 Wording suggested by Roland McGrath.
3574 2012-10-17 Joseph Myers <joseph@codesourcery.com>
3576 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3577 (lgamma_test): Likewise.
3578 (tgamma_test): Likewise.
3580 2012-10-16 Florian Weimer <fweimer@redhat.com>
3583 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3584 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3586 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3588 * NEWS: Mention BZ #14716.
3589 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3590 when removing AVAILABLE1_USES_J macro.
3592 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3594 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3595 (__bswap_64): __uint64_t for unsigned 64-bit int.
3597 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3599 * include/string.h (memmem): Declare libc hidden alias.
3600 * string/memmem.c (memmem): Define libc hidden alias.
3601 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3602 __read, __close instead of open, read, close.
3604 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3606 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3607 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3609 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3610 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3611 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3613 (__rawmemchr_sse2): Likewise.
3614 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3615 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3616 (__strchr_sse2): Likewise.
3617 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3618 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3619 (__strcasecmp_sse2): Likewise.
3620 (__strncasecmp_sse2): Likewise.
3621 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3622 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3623 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3624 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3625 (__strrchr_sse2): Likewise.
3626 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3628 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3629 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3630 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3631 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3632 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3633 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3634 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3635 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3636 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3637 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3638 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3639 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3640 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3641 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3642 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3643 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3644 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3645 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3646 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3647 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3648 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3649 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3650 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3651 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3652 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3653 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3654 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3655 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3656 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3657 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3659 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3661 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3662 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3663 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3664 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3666 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3668 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3669 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3670 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3671 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3673 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3674 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3675 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3676 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3677 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3678 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3679 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3680 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3681 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3682 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3683 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3684 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3685 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3686 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3687 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3688 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3689 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3690 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3691 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3692 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3693 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3694 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3695 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3696 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3697 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3698 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3699 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3700 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3701 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3702 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3703 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3704 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3705 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3706 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3707 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3708 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3709 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3710 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3711 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3712 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3713 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3715 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3716 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3717 * include/ifunc-impl-list.h: New file.
3718 * misc/ifunc-impl-list.c: Likewise.
3719 * misc/Makefile (routines): Add ifunc-impl-list.
3720 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3721 * string/test-string.h: Include <ifunc-impl-list.h>.
3722 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3723 impl_array): New variables.
3724 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3726 (test_init): Call __libc_ifunc_impl_list to initialize
3727 func_list if TEST_IFUNC and TEST_NAME are defined.
3729 * string/Makefile (strop-tests): Add bcopy and bzero.
3730 * string/test-bcopy.c: New file.
3731 * string/test-bzero.c: Likewise.
3732 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3734 * string/test-memset.c: Support bzero test if TEST_BZERO is
3736 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3738 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3740 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3743 2012-10-10 Joseph Myers <joseph@codesourcery.com>
3745 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3746 * configure: Regenerated.
3748 * Makeconfig (+link-static-before-libc): Don't include
3749 $(link-static-libc).
3751 * libio/libio.h (_IO_pos_t): Remove.
3753 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3755 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3758 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3760 * crypt/crypt-entry.c: Include fips-private.h.
3761 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3762 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3763 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3764 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3766 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3768 * crypt/crypt-private.h: Include stdbool.h.
3769 (_ufc_setup_salt_r): Return bool.
3770 * crypt/crypt-entry.c: Include errno.h.
3771 (__crypt_r): Return NULL with EINVAL for bad salt.
3772 * crypt/crypt_util.c (bad_for_salt): New.
3773 (_ufc_setup_salt_r): Check that salt is long enough and within
3774 the specified alphabet.
3775 * crypt/badsalttest.c: New file.
3776 * crypt/Makefile (tests): Add it.
3777 ($(objpfx)badsalttest): New.
3779 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3781 * NEWS: Add entry for BZ #14602.
3783 2012-10-09 Joseph Myers <joseph@codesourcery.com>
3785 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3787 * math/libm-test.inc: Update comment listing what functions and
3789 (isgreater_test): New function.
3790 (isgreaterequal_test): Likewise.
3791 (isless_test): Likewise.
3792 (islessequal_test): Likewise.
3793 (islessgreater_test): Likewise.
3794 (isunordered_test): Likewise.
3795 (main): Call the new functions.
3797 2012-10-09 Roland McGrath <roland@hack.frob.com>
3799 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3800 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3801 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3802 * sysdeps/i386/configure: Regenerated.
3803 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3804 * sysdeps/mach/configure: Regenerated.
3805 * sysdeps/mach/hurd/configure: Regenerated.
3806 * sysdeps/powerpc/configure: Regenerated.
3807 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3808 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3809 * sysdeps/s390/s390-32/configure: Regenerated.
3810 * sysdeps/s390/s390-64/configure: Regenerated.
3811 * sysdeps/sh/configure: Regenerated.
3812 * sysdeps/sparc/configure: Regenerated.
3813 * sysdeps/unix/sysv/linux/configure: Regenerated.
3814 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3815 * sysdeps/x86_64/configure: Regenerated.
3817 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3818 defined. Don't check if MAP is NULL.
3820 2012-10-09 Joseph Myers <joseph@codesourcery.com>
3822 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3823 (_G_stat64): Likewise.
3824 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3825 (_G_stat64): Likewise.
3826 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3827 instead of struct _G_stat64.
3828 * libio/fileops.c (mmap_remap_check): Likewise.
3829 (decide_maybe_mmap): Likewise.
3830 (_IO_new_file_seekoff): Likewise.
3831 (_IO_file_stat): Likewise.
3832 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3834 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3835 instead of struct _G_stat64.
3836 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3838 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3841 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3843 (CHECK_EOL): New macro.
3844 (two_way_short_needle): Check beginning of haystack for EOL. Use
3846 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3847 Replace with CHECK_EOL.
3848 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3849 Replace with CHECK_EOL.
3851 2012-10-08 Joseph Myers <joseph@codesourcery.com>
3853 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3855 * math/libm-test.inc: Update comment listing what functions and
3857 (finite_test): New function.
3858 (isinf_test): Likewise.
3859 (isnan_test): Likewise.
3860 (fpclassify_test): Test subnormal input.
3861 (isfinite_test): Likewise.
3862 (isnormal_test): Likewise.
3863 (main): Call the new functions.
3865 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3868 * Makerules (%.dynsym): Force C locale when running
3869 $(OBJDUMP) --dynamic-syms.
3871 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
3873 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
3876 2012-10-06 David S. Miller <davem@davemloft.net>
3878 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
3879 upper 32-bits of the length value in %o2 since we use branch-on-register
3880 tests which consider the entire 64-bit register.
3882 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
3884 * string/test-strstr.c (check2): Add a test for page boundary.
3886 2012-10-05 David S. Miller <davem@davemloft.net>
3888 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
3889 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
3891 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
3893 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
3894 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
3895 and bzero when HWCAP_SPARC_CRYPTO is present.
3897 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
3900 * string/test-strstr.c (check2): New function.
3901 (test_main): Call check2.
3903 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
3905 * string/bug-strcasestr1.c (do_test): Moved to ...
3906 * string/test-strcasestr.c (check1): Here. New function.
3907 (do_one_test): Break out result checking code into ...
3908 (check_result): This. New function.
3909 (do_one_test): Call check_result.
3910 (test_main): Call check1.
3911 * string/bug-strchr1.c (do_test): Moved to ...
3912 * string/test-strchr.c (check1): Here. New function.
3913 (do_one_test): Break out result checking code into ...
3914 (check_result): This. New function.
3915 (do_one_test): Call check_result.
3916 (test_main): Call check1.
3917 * string/bug-strstr1.c (main): Moved to ...
3918 * string/test-strchr.c (check1): Here. New function.
3919 (do_one_test): Break out result checking code into ...
3920 (check_result): This. New function.
3921 (do_one_test): Call check_result.
3922 (test_main): Call check1.
3923 * string/bug-strcasestr1.c: Removed.
3924 * string/bug-strchr1.c: Likewise.
3925 * string/bug-strstr1.c: Likewise.
3927 * elf/Makefile (dl-routines): Add hwcaps.
3928 * elf/dl-support.c (_dl_important_hwcaps): Removed.
3929 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
3930 (_dl_important_hwcaps): Moved to ...
3931 * elf/dl-hwcaps.c: Here. New file.
3932 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
3935 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
3936 if IS_IN_rtld isn't defined.
3938 * elf/dl-support.c (_dl_sysinfo_map): New.
3939 Include "get-dynamic-info.h" and "setup-vdso.h".
3940 (_dl_non_dynamic_init): Call setup_vdso.
3941 * elf/dynamic-link.h: Don't include <assert.h>.
3942 (elf_get_dynamic_info): Moved to ...
3943 * elf/get-dynamic-info.h: Here. New file.
3944 * elf/dynamic-link.h: Include "get-dynamic-info.h".
3945 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
3946 * elf/setup-vdso.h: Here. New file.
3947 * elf/rtld.c: Include "setup-vdso.h".
3948 (dl_main): Call setup_vdso.
3950 2012-10-05 Joseph Myers <joseph@codesourcery.com>
3952 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
3953 creal in comment listing functions tested. List finite, isinf,
3954 isnan, isless, islessequal, isgreater, isgreaterequal,
3955 islessgreater, isunordered, lgamma_r and pow10 as functions and
3956 macros not tested. Mention which functions not tested are aliases
3957 for other functions. Fix typo. Note that signs of NaNs are not
3960 * scripts/config.guess: Update from config.git.
3961 * scripts/config.sub: Likewise.
3963 2012-10-04 Roland McGrath <roland@hack.frob.com>
3965 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
3966 * misc/madvise.c (madvise): Renamed to __madvise.
3967 Make madvise a weak alias.
3968 * include/sys/mman.h: Declare __madvise.
3969 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
3970 * sysdeps/unix/syscalls.list
3971 (madvise): Make __madvise the strong name, and madvise a weak alias.
3972 * sysdeps/unix/sysv/linux/syscalls.list
3973 (madvise, mmap): Remove redundant entries.
3974 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
3975 * malloc/malloc.c (mtrim): Likewise.
3976 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
3978 2012-10-03 Roland McGrath <roland@hack.frob.com>
3980 * sysdeps/mach/hurd/dl-cache.c: File removed.
3981 * config.h.in (USE_LDCONFIG): New #undef.
3982 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
3983 * configure: Regenerated.
3984 * elf/Makefile (dl-routines): Add dl-cache only under
3985 [$(use-ldconfig) = yes].
3986 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
3987 cache on [USE_LDCONFIG].
3988 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
3990 * elf/rtld.c (dl_main): Likewise.
3992 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
3994 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
3995 _SC_LEVEL4_CACHE_LINESIZE.
3997 2012-10-03 Roland McGrath <roland@hack.frob.com>
3999 * sysdeps/unix/bsd/confstr.h: File removed.
4001 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
4003 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4006 2012-10-02 Roland McGrath <roland@hack.frob.com>
4008 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4009 Make 'mapoff' field ElfW(Off) rather than off_t.
4011 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4013 * nscd/Makefile: Remove nscd-cflags and all its users.
4014 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4015 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4018 * malloc.c (malloc_printerr): Clarify error message.
4020 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4023 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4024 Set bit_FMA_Usable if FMA is supported.
4025 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4027 (bit_FMA4_Usable): Updated.
4028 (index_FMA_Usable): New macro.
4029 (CPUID_FMA): Likewise
4030 (HAS_FMA): Defined with bit_FMA_Usable.
4032 2012-10-01 Roland McGrath <roland@hack.frob.com>
4034 * bits/types.h (__swblk_t): Type removed.
4035 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4036 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4037 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4038 (__SWBLK_T_TYPE): Likewise.
4039 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4040 (__SWBLK_T_TYPE): Likewise.
4041 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4042 (__SWBLK_T_TYPE): Likewise.
4043 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4044 (__SWBLK_T_TYPE): Likewise.
4046 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
4047 Honza Horak <hhorak@redhat.com>
4049 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4050 (xdr_mapname): Use YPMAXMAP as maxsize.
4051 (xdr_peername): Use YPMAXPEER as maxsize.
4052 (xdr_keydat): Use YPAXRECORD as maxsize.
4053 (xdr_valdat): Use YPMAXRECORD as maxsize.
4055 2012-10-01 Roland McGrath <roland@hack.frob.com>
4057 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4059 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4060 * csu/init-first.c: ... here.
4061 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4062 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4063 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4064 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4065 * sysdeps/i386/init-first.c: File removed.
4066 * sysdeps/sh/init-first.c: File removed.
4068 2012-10-01 Joseph Myers <joseph@codesourcery.com>
4071 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4072 if x * y might underflow to zero and z is zero.
4073 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4074 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4075 * math/libm-test.inc (min_subnorm_value): New variable.
4076 (fma_test): Add more tests.
4077 (fma_test_towardzero): Likewise.
4078 (fma_test_downward): Likewise
4079 (fma_test_upward): Likewise.
4080 (initialize): Set min_subnorm_value.
4082 2012-09-29 Joseph Myers <joseph@codesourcery.com>
4085 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4087 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4088 mode for addition resulting in exact zero.
4089 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4090 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4092 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4093 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4094 * math/libm-test.inc (fma_test): Add more tests.
4095 (fma_test_towardzero): New function.
4096 (fma_test_downward): Likewise.
4097 (fma_test_upward): Likewise.
4098 (main): Call the new functions.
4100 2012-09-28 David S. Miller <davem@davemloft.net>
4102 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4104 2012-09-28 Roland McGrath <roland@hack.frob.com>
4106 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4109 * sysdeps/gnu/_G_config.h: Moved to ...
4110 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4111 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4112 * sysdeps/generic/_G_config.h: ... here.
4114 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4116 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4118 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4119 Conditionalize target on [libnss_test1.so-version].
4121 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4123 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4124 (elfobjdir): Move out of conditionals.
4126 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4127 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4128 (__nss_lookup_function): Conditionalize label remove_from_tree on
4129 [!DO_STATIC_NSS || SHARED], matching its only use.
4131 2012-09-28 David S. Miller <davem@davemloft.net>
4133 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4134 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4136 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4138 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4139 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4140 when HWCAP_SPARC_CRYPTO is present.
4142 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4144 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4146 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4149 * stdio-common/vfprintf.c (process_string_arg): Revert
4152 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4154 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4156 * stdio-common/tst-sprintf.c: Include <locale.h>
4157 (main): Test sprintf's handling of incomplete multibyte
4160 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4162 * elf/dl-runtime.c (VERSYMIDX): Removed.
4163 * elf/dl-version.c (VERSYMIDX): Likewise.
4164 * elf/do-rel.h (VERSYMIDX): Likewise.
4166 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4167 * elf/rtld.c (VALIDX): Likewise.
4168 (ADDRIDX): Likewise.
4169 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4170 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4171 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
4172 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4174 (ADDRIDX): Likewise.
4176 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4178 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4180 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4183 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4185 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4186 addresses are in the same scope as 192.0.2/24.
4187 * posix/gai.conf: Document new scope table defaults.
4189 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4192 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4193 for ftell. Compute offsets from write pointers instead.
4194 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4196 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4199 * libio/Makefile (tests): New test case tst-fseek.
4200 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4201 combination works in wide mode.
4202 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4203 state when the external buffer state changes.
4205 2012-09-27 David S. Miller <davem@davemloft.net>
4208 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4209 pass reloc->r_addend in as the 'high' argument to
4210 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4214 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4216 * rt/tst-aio2.c: Include <pthread.h>.
4217 * rt/tst-aio3.c: Likewise.
4219 2012-09-27 Steve Ellcey <sellcey@mips.com>
4221 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4223 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4225 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4226 contents on [SHARED].
4228 2012-09-26 Marek Polacek <polacek@redhat.com>
4232 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4233 for C++ and GCC <4.3 as well as for non GCC compilers.
4235 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4237 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4239 2012-09-25 Roland McGrath <roland@hack.frob.com>
4241 * Makefile.in (all, install): Declare with .PHONY.
4242 Reported by Michael Hope <michael.hope@linaro.org>.
4244 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4246 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4247 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4249 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4251 (sydep_routines): Add the new and the internal functions.
4252 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4253 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4255 (GLIBC_2.17): Add the new function.
4256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4257 (GLIBC_2.17): Likewise.
4258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4259 (GLIBC_2.17): Likewise.
4260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4261 (GLIBC_2.17): Likewise.
4262 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4264 2012-09-25 Alan Modra <amodra@gmail.com>
4266 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4267 Add release barrier before setting once_control to say
4268 initialisation is done. Add hints on lwarx. Use macro in
4270 (clear_once_control): Add release barrier.
4272 2012-09-25 Joseph Myers <joseph@codesourcery.com>
4275 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4277 * math/s_clog10.c (__clog10): Likewise.
4278 * math/s_clog10f.c (__clog10f): Likewise.
4279 * math/s_clog10l.c (__clog10l): Likewise.
4280 * math/s_clogf.c (__clogf): Likewise.
4281 * math/s_clogl.c (__clogl): Likewise.
4282 * math/Makefile (libm-calls): Add x2y2m1.
4283 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4284 (__x2y2m1): Likewise.
4285 (__x2y2m1l): Likewise.
4286 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4287 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4288 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4289 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4290 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4291 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4292 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4293 * sysdeps/i386/fpu/libm-test-ulps: Update.
4294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4297 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4298 int as type of variable DEPTH.
4299 (glob): Use size_t instead of int as type of variables NEWCOUNT
4302 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4304 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4306 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4307 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4308 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4309 macros for using routine as __sincosf_ia32.
4310 Use macro for function declaration and weak_alias.
4311 * sysdeps/i386/fpu/libm-test-ulps: Update.
4313 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4314 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4316 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
4318 * math/s_cexpf.c (__cexpf): Likewise.
4319 * math/s_csinf.c (__csinf): Likewise.
4320 * math/s_csinhf.c (__csinhf): Likewise.
4321 * math/s_ctanf.c (__ctanf): Likewise.
4322 * math/s_ctanhf.c (__ctanhf): Likewise.
4323 * math/s_ccosh.c (__ccoshf): Likewise.
4324 * math/s_cexp.c (__cexpl): Likewise.
4325 * math/s_csin.c (__csin): Likewise.
4326 * math/s_csinh.c (__csinh): Likewise.
4327 * math/s_ctan.c (__ctan): Likewise.
4328 * math/s_ctanh.c (ctanh): Likewise.
4329 * math/s_ccoshl.c (__ccoshl): Likewise.
4330 * math/s_cexpl.c (__cexpl): Likewise.
4331 * math/s_csinl.c (__csinl): Likewise.
4332 * math/s_csinhl.c (__csinhl): Likewise.
4333 * math/s_ctanl.c (__ctanl): Likewise.
4334 * math/s_ctanhl.c (__ctanhl): Likewise.
4336 2012-09-25 Joseph Myers <joseph@codesourcery.com>
4338 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4339 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4340 (_IO_off_t): Define to __off_t, not _G_off_t.
4341 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4342 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4343 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4344 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4345 type of __dummy and __dummy2 fields.
4346 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4347 (_G_ssize_t): Likewise.
4348 (_G_off_t): Likewise.
4349 (_G_pid_t): Likewise.
4350 (_G_uid_t): Likewise.
4351 (_G_wchar_t): Likewise.
4352 (_G_wint_t): Likewise.
4353 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4354 (_G_ssize_t): Likewise.
4355 (_G_off_t): Likewise.
4356 (_G_pid_t): Likewise.
4357 (_G_uid_t): Likewise.
4358 (_G_wchar_t): Likewise.
4359 (_G_wint_t): Likewise.
4360 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4361 (_G_ssize_t): Likewise.
4362 (_G_off_t): Likewise.
4363 (_G_pid_t): Likewise.
4364 (_G_uid_t): Likewise.
4365 (_G_wchar_t): Likewise.
4366 (_G_wint_t): Likewise.
4368 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4370 * malloc/arena.c: Include malloc-sysdep.h.
4371 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4372 is sufficient to shrink the heap or an unmap is needed.
4373 * sysdeps/generic/malloc-sysdep.h: New file. Define
4374 new function check_may_shrink_heap.
4375 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4376 new function check_may_shrink_heap.
4378 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4380 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4383 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4385 * catgets/test-gencat.sh: Add "set -e".
4386 * elf/tst-pathopt.sh: Likewise.
4387 * grp/tst_fgetgrent.sh: Likewise.
4388 * iconvdata/run-iconv-test.sh: Likewise.
4389 * intl/tst-gettext.sh: Likewise.
4390 * intl/tst-gettext2.sh: Likewise.
4391 * intl/tst-gettext4.sh: Likewise.
4392 * intl/tst-gettext6.sh: Likewise.
4393 * intl/tst-translit.sh: Likewise.
4394 * io/ftwtest-sh: Likewise.
4395 * libio/test-freopen.sh: Likewise.
4396 * malloc/tst-mtrace.sh: Likewise.
4397 * posix/globtest.sh: Likewise.
4398 * posix/tst-getconf.sh: Likewise.
4399 * posix/wordexp-tst.sh: Likewise.
4400 * stdio-common/tst-printf.sh: Likewise.
4401 * stdio-common/tst-unbputc.sh: Likewise.
4402 * stdlib/tst-fmtmsg.sh: Likewise.
4403 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4404 * catgets/Makefile: Do not specify -e option when running
4405 testsuite shell scripts.
4406 * elf/Makefile: Likewise.
4407 * grp/Makefile: Likewise.
4408 * iconvdata/Makefile: Likewise.
4409 * intl/Makefile: Likewise.
4410 * io/Makefile: Likewise.
4411 * libio/Makefile: Likewise.
4412 * malloc/Makefile: Likewise.
4413 * posix/Makefile: Likewise.
4414 * stdio-common/Makefile: Likewise.
4415 * stdlib/Makefile: Likewise.
4416 * sysdeps/x86_64/Makefile: Likewise.
4418 * io/ftwtest-sh: Add copyright header.
4419 * posix/globtest.sh: Likewise.
4420 * posix/tst-getconf.sh: Likewise.
4421 * posix/wordexp-tst.sh: Likewise.
4422 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4424 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4427 * Makeconfig (+link): Defined as $(+link-static) if
4428 $(build-shared) isn't yes.
4429 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4431 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4433 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4436 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4437 new chunk size with MALLOC_ALIGN_MASK.
4439 2012-09-24 Joseph Myers <joseph@codesourcery.com>
4442 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4444 (__printf_fphex): Determine rounding using get_rounding_mode and
4446 * stdio-common/tst-printf-round.c (struct hex_test): New
4448 (hex_tests): New variable.
4449 (test_hex_in_one_mode): New function.
4450 (do_test): Also run tests for hex float output.
4452 2012-09-21 Joseph Myers <joseph@codesourcery.com>
4454 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4455 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4456 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4457 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4458 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4459 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4460 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4461 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4463 2012-09-20 Joseph Myers <joseph@codesourcery.com>
4465 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4466 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4467 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4468 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4470 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4473 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4475 * elf/tst-rtld-load-self.sh: New test.
4476 * elf/Makefile: Run it.
4478 2012-09-18 Joseph Myers <joseph@codesourcery.com>
4480 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4481 (tst-writev-ENV): Remove.
4482 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4484 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4486 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4488 2012-09-17 Joseph Myers <joseph@codesourcery.com>
4490 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4492 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4494 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4495 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4496 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4499 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4502 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4503 * config.make.in (have-cpp-asm-debuginfo): Removed.
4504 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4505 * configure: Regenerated.
4507 2012-09-14 Joseph Myers <joseph@codesourcery.com>
4510 * stdio-common/printf_fp.c: Include <stdbool.h> and
4512 (___printf_fp): Determine rounding using get_rounding_mode and
4514 * stdio-common/tst-printf-round.c: New file.
4515 * stdio-common/Makefile (tests): Add tst-printf-round.
4516 (link-libm): New variable.
4517 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4519 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4522 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4523 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4525 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4528 2012-09-13 Joseph Myers <joseph@codesourcery.com>
4530 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4531 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4532 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4533 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4535 2012-09-12 Joseph Myers <joseph@codesourcery.com>
4538 * include/rounding-mode.h: New file.
4539 * sysdeps/generic/get-rounding-mode.h: Likewise.
4540 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4541 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4542 (MAX_VALUE): New macro.
4543 (MIN_VALUE): Likewise.
4544 (overflow_value): New function.
4545 (underflow_value): Likewise.
4546 (round_and_return): Use overflow_value and underflow_value to
4547 determine return values in overflow and underflow cases. Use
4548 round_away to determine rounding depending on rounding mode.
4549 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4550 determine return values in overflow and underflow cases.
4551 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4552 (struct test_results): New structure.
4553 (struct test): Use struct test_results to store expected results
4554 for all rounding modes.
4555 (TEST): Include expected results for all rounding modes.
4556 (test_in_one_mode): New function.
4557 (do_test): Use test_in_one_mode to compute and check results.
4558 Check results for all rounding modes.
4559 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4562 2012-12-09 Allan McRae <allan@archlinux.org>
4564 * sysdeps/i386/fpu/libm-test-ulps: Update
4566 2012-09-11 Joseph Myers <joseph@codesourcery.com>
4568 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4569 (_G_int32_t): Likewise.
4570 (_G_uint16_t): Likewise.
4571 (_G_uint32_t): Likewise.
4572 (_G_HAVE_BOOL): Likewise.
4573 (_G_HAVE_ATEXIT): Likewise.
4574 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4575 (_G_HAVE_IO_FILE_OPEN): Likewise.
4576 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4577 (_G_int32_t): Likewise.
4578 (_G_uint16_t): Likewise.
4579 (_G_uint32_t): Likewise.
4580 (_G_HAVE_BOOL): Likewise.
4581 (_G_HAVE_ATEXIT): Likewise.
4582 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4583 (_G_HAVE_IO_FILE_OPEN): Likewise.
4584 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4585 (_G_int32_t): Likewise.
4586 (_G_uint16_t): Likewise.
4587 (_G_uint32_t): Likewise.
4588 (_G_HAVE_BOOL): Likewise.
4589 (_G_HAVE_ATEXIT): Likewise.
4590 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4591 (_G_HAVE_IO_FILE_OPEN): Likewise.
4593 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4595 * csu/libc-tls.c: Update copyright years.
4597 2012-09-10 Joseph Myers <joseph@codesourcery.com>
4599 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4600 [!_G_USING_THUNKS]: Remove conditional code.
4601 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4602 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4604 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4605 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4606 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4607 (_G_VTABLE_LABEL_PREFIX): Likewise.
4608 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4609 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4610 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4611 (_G_VTABLE_LABEL_PREFIX): Likewise.
4612 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4613 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4614 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4615 (_G_VTABLE_LABEL_PREFIX): Likewise.
4616 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4618 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4620 * libio/Makefile: Include ../Makeconfig before tests.
4621 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4622 only if $(build-shared) is yes.
4624 * iconv/gconv_db.c: Update copyright years.
4626 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4628 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4629 unwind info if defined PIC. Fix special cases description.
4630 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4632 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4634 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4636 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4638 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4640 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4643 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4644 (LDLIBS-tst-chk4): This.
4645 (LDFLAGS-tst-chk5): Renamed to ...
4646 (LDLIBS-tst-chk5): This.
4647 (LDFLAGS-tst-chk6): Renamed to ...
4648 (LDLIBS-tst-chk6): This.
4649 (LDFLAGS-tst-lfschk4): Renamed to ...
4650 (LDLIBS-tst-lfschk4): This.
4651 (LDFLAGS-tst-lfschk5): Renamed to ...
4652 (LDLIBS-tst-lfschk5): This.
4653 (LDFLAGS-tst-lfschk6): Renamed to ...
4654 (LDLIBS-tst-lfschk6): This.
4656 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4657 on $(common-objpfx)soversions.mk.
4659 2012-09-07 Joseph Myers <joseph@codesourcery.com>
4662 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4665 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4667 * malloc/arena.c (arena_get_retry): New function that gets
4668 another arena for the caller to try its request on.
4669 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4670 current arena cannot fulfill the request.
4671 (__libc_memalign): Likewise.
4672 (__libc_memalign): Likewise.
4673 (__libc_pvalloc): Likewise.
4674 (__libc_calloc): Likewise.
4676 2012-09-05 John Tobey <john.tobey@gmail.com>
4679 * manual/arith.texi (Operations on Complex): Fix description
4682 2012-09-06 Joseph Myers <joseph@codesourcery.com>
4685 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4689 * manual/memory.texi (Memory): Make order of menu items match
4692 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4694 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4695 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4696 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4698 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4700 * csu/libc-tls.c (static_dtv): Renamed to ...
4701 (_dl_static_dtv): This. Make it global.
4702 (_dl_initial_dtv): Removed.
4703 (__libc_setup_tls): Updated.
4704 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4705 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4708 2012-09-06 Petr Machata <pmachata@redhat.com>
4710 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4711 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4712 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4713 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4715 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4718 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4719 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4722 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4725 * Makeconfig (link-static-before-libc): Replace $(+prector)
4727 (link-static-after-libc): Replace $(+postctor) with
4729 (link-bounded): Replace $(+prector)/$(+postctor) with
4730 $(+prectorT)/$(+postctorT).
4731 (+prectorT): New macro.
4732 (+postctorT): Likewise.
4734 2012-09-06 Joseph Myers <joseph@codesourcery.com>
4736 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4737 (round_str): Handle values above the maximum for IBM long double
4739 * stdlib/tst-strtod-round.c (tests): Regenerated.
4741 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4743 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4745 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4746 zarch_nohighgprs around the zarch optimized routines.
4747 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4748 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4749 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4752 2012-09-05 David S. Miller <davem@davemloft.net>
4754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4756 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4757 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4758 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4759 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4762 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4764 * malloc/arena.c: Fold copyright years.
4765 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4767 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4769 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4771 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4773 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4775 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4777 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4778 change internal state upon failure.
4780 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4782 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4783 * malloc/memusage.c (mmap): Likewise.
4784 (mmap64, mremap): Likewise. Adjust name in comment.
4786 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4788 * libio/fileops.c: Fix typos in comments.
4789 * libio/oldfileops.c: Likewise.
4790 * libio/wfileops.c: Likewise.
4792 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4795 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4796 (tst-malloc-usable-ENV): Set environment for test case.
4797 * malloc/hooks.c (malloc_check_get_size): New function to get
4799 * malloc/malloc.c (musable): Use malloc_check_get_size.
4800 * malloc/tst-malloc-usable.c: New test case.
4802 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4804 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4806 2012-09-05 Allan McRae <allan@archlinux.org>
4809 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4810 determine header location.
4811 * configure: Regenerated.
4813 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4815 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4817 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
4818 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4822 2012-09-04 David S. Miller <davem@davemloft.net>
4824 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4825 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4826 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4828 2012-09-04 Florian Weimer <fweimer@redhat.com>
4830 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4833 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4835 2012-09-04 Joseph Myers <joseph@codesourcery.com>
4838 * libio/iogetdelim.c: Include <limits.h>.
4839 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4840 + len + 1 would overflow.
4842 2012-09-03 Andreas Jaeger <aj@suse.de>
4844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4845 * sysdeps/i386/fpu/libm-test-ulps: Update.
4847 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4849 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4850 Add s_sinf-sse2, s_conf-sse2.
4852 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4853 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4854 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4855 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4857 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4858 for using routine as __sinf_ia32.
4859 Use macro for function declaration and weak_alias.
4860 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4861 for using routine as __cosf_ia32.
4862 Use macro for function declaration and weak_alias.
4864 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4865 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4867 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4868 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4869 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4871 * math/libm-test.inc (cos_test): Add more test cases.
4872 (sin_test): Likewise.
4873 (sincos_test): Likewise.
4875 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4877 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4878 (IFUNC_RESOLVE): Make pointers to the specialized implementations
4880 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4882 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
4885 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
4886 first element of the GOT.
4887 (elf_machine_load_address): Return the difference between
4888 the runtime address of _DYNAMIC and elf_machine_dynamic ().
4890 2012-09-01 Allan McRae <allan@archlinux.org>
4893 * configure.in (AWK): Require gawk version 3.0 or later.
4894 * configure: Regenerated.
4896 2012-09-01 Joseph Myers <joseph@codesourcery.com>
4898 * sysdeps/unix/sysv/linux/kernel-features.h
4899 (__ASSUME_POSIX_CPU_TIMERS): Remove.
4900 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4901 [__NR_clock_getres]: Make code unconditional.
4902 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
4903 (clock_getcpuclockid): Remove code left unreachable by removal of
4905 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
4907 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4908 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4909 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
4910 Make code unconditional.
4911 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
4912 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4913 * sysdeps/unix/sysv/linux/clock_settime.c
4914 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
4916 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
4917 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
4919 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
4922 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
4923 scripts/test-installation.pl.
4925 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
4926 and $ld_so_version if it is set.
4928 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4931 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
4932 failure if reading from procfs failed.
4933 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
4935 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4937 * sysdeps/unix/sysv/linux/kernel-features.h
4938 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
4939 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4940 Remove conditional code.
4941 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4942 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
4943 Remove conditional code.
4944 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4945 * sysdeps/unix/sysv/linux/i386/fxstat.c
4946 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4947 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4948 * sysdeps/unix/sysv/linux/i386/fxstatat.c
4949 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4950 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4951 * sysdeps/unix/sysv/linux/i386/lxstat.c
4952 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
4953 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4954 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
4955 Remove conditional code.
4956 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4957 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
4958 Remove conditional code.
4959 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4960 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
4961 <kernel-features.h>.
4962 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
4964 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
4965 Remove conditional code.
4966 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
4967 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
4970 2012-08-27 Mike Frysinger <vapier@gentoo.org>
4973 * NEWS: Add fixed bug number.
4975 2012-08-27 Joseph Myers <joseph@codesourcery.com>
4978 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
4979 underflowing exponent in case of negative sign.
4980 * stdlib/tst-strtod-round-data: Add more tests.
4981 * stdlib/tst-strtod-round.c (tests): Regenerated.
4984 * stdlib/strtod_l.c (NDIG): Remove.
4985 (HEXNDIG): Likewise.
4986 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
4987 smallest representable value.
4988 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
4989 lie within an exact representation of 1/2 ulp of the result.
4990 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
4992 (TENS_P9_IDX): Define unconditionally.
4993 (TENS_P9_SIZE): Likewise.
4994 (TENS_P10_IDX): Likewise.
4995 (TENS_P10_SIZE): Likewise.
4996 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
4997 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
4998 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
4999 entries for 10^2^13 and 10^2^14.
5000 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5001 (TENS_P13_IDX): Define.
5002 (TENS_P13_SIZE): Likewise.
5003 (TENS_P14_IDX): Likewise.
5004 (TENS_P14_SIZE): Likewise.
5005 (_fpioconst_pow10): Change array size to
5006 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5008 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5009 1024]: Add entries for 10^2^13 and 10^2^14.
5010 [LAST_POW10 > _LAST_POW10]: Remove #error.
5011 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5012 (_fpioconst_pow10): Change array size to
5013 FPIOCONST_POW10_ARRAY_SIZE.
5014 * stdlib/gen-fpioconst.c: New file.
5015 * stdlib/gen-tst-strtod-round.c: Likewise.
5016 * stdlib/tst-strtod-round-data: Likewise.
5017 * stdlib/tst-strtod-round.c: Likewise.
5018 * stdlib/Makefile (tests): Add tst-strtod-round.
5021 * stdlib/strtod_l.c: Include <stdint.h>.
5022 (NDEBUG): Do not define.
5023 (round_and_return): Change EXPONENT parameter to type intmax_t.
5024 Rearrange calculations to avoid internal overflow possibilities.
5025 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5026 Rearrange calculations to avoid internal overflow possibilities.
5027 Assert that number fits inside MPNSIZE limbs.
5028 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5029 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5030 calculations and add assertions to avoid internal overflow
5031 possibilities. Add casts to avoid signed/unsigned operations.
5032 * stdlib/tst-strtod-overflow.c: New file.
5033 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5035 2012-08-25 Marek Polacek <polacek@redhat.com>
5037 * time/time.h: Fix some typos in comments.
5039 2012-08-23 Roland McGrath <roland@hack.frob.com>
5041 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5042 * posix/tst-rfc3484-2.c: Likewise.
5043 * posix/tst-rfc3484-3.c: Likewise.
5045 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5047 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5048 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5050 2012-08-23 Joseph Myers <joseph@codesourcery.com>
5052 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5053 #include of fxstatat64.c.
5055 2012-08-22 Roland McGrath <roland@hack.frob.com>
5057 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5058 * shadow/getspent_r.c: Likewise.
5059 * shadow/getspnam.c: Likewise.
5060 * shadow/getspnam_r.c: Likewise.
5061 * gshadow/getsgent.c: Likewise.
5062 * gshadow/getsgent_r.c: Likewise.
5063 * gshadow/getsgnam.c: Likewise.
5064 * gshadow/getsgnam_r.c: Likewise.
5065 * inet/getnetbyad.c: Likewise.
5066 * inet/getnetbyad_r.c: Likewise.
5067 * inet/getnetbynm.c: Likewise.
5068 * inet/getnetbynm_r.c: Likewise.
5069 * inet/getnetent.c: Likewise.
5070 * inet/getnetent_r.c: Likewise.
5071 * inet/getproto.c: Likewise.
5072 * inet/getproto_r.c: Likewise.
5073 * inet/getprtent.c: Likewise.
5074 * inet/getprtent_r.c: Likewise.
5075 * inet/getprtname.c: Likewise.
5076 * inet/getprtname_r.c: Likewise.
5077 * inet/getrpcbyname.c: Likewise.
5078 * inet/getrpcbyname_r.c: Likewise.
5079 * inet/getrpcbynumber.c: Likewise.
5080 * inet/getrpcbynumber_r.c: Likewise.
5081 * inet/getrpcent.c: Likewise.
5082 * inet/getrpcent_r.c: Likewise.
5083 * inet/getaliasent.c: Likewise.
5084 * inet/getaliasent_r.c: Likewise.
5085 * inet/getaliasname.c: Likewise.
5086 * inet/getaliasname_r.c: Likewise.
5087 * nscd/getgrgid_r.c: Likewise.
5088 * nscd/getgrnam_r.c: Likewise.
5089 * nscd/gethstbyad_r.c: Likewise.
5090 * nscd/gethstbynm3_r.c: Likewise.
5091 * nscd/getpwnam_r.c: Likewise.
5092 * nscd/getpwuid_r.c: Likewise.
5093 * nscd/getsrvbynm_r.c: Likewise.
5094 * nscd/getsrvbypt_r.c: Likewise.
5095 * nscd/gai.c: Likewise.
5097 * configure.in (build_nscd): New substituted variable, set
5098 by --disable-build-nscd and defaults to $use_nscd.
5099 * configure: Regenerated.
5100 * config.make.in (build-nscd): New substituted variable.
5101 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5102 Change conditional to require [$(build-nscd) = yes] as well.
5103 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5106 * configure.in (use_nscd): New substituted variable, set by
5107 --disable-nscd. If enabled, define USE_NSCD.
5108 * configure: Regenerated.
5109 * config.h.in: Add USE_NSCD.
5110 * config.make.in (use-nscd): New substituted variable.
5111 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5112 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5113 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5114 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5115 (CFLAGS-getgrnam_r.c): Likewise.
5116 (CFLAGS-initgroups.c): Likewise.
5117 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5118 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5120 * inet/getnetgrent_r.c
5121 (nscd_setnetgrent): New function, broken out of ...
5122 (setnetgrent): ... here. Call it.
5123 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5124 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5125 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5126 * nscd/Makefile (routines, aux): Move definitions after include of
5127 Makeconfig. Conditionalize on [$(use-nscd) != no].
5128 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5129 Conditionalize on [USE_NSCD].
5130 (is_nscd, nscd_init_cb): Likewise.
5131 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5132 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5133 * nss/nss_db/db-init.c: Likewise.
5134 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5136 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5137 (make_request): Use it.
5138 (cache_valid_p): New function.
5139 (__check_pf): Use it.
5140 * NEWS: Add item for --disable-nscd.
5142 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5144 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5145 to support sed >= 4.2.1-20-ga9bf076.
5146 * configure: Regenerated.
5148 2012-08-22 Roland McGrath <roland@hack.frob.com>
5150 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5151 Conditionalize whole body on [IREL].
5153 2012-08-22 Jeff Law <law@redhat.com>
5156 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5157 if the family is PF_UNSPEC.
5159 2012-08-22 Mike Frysinger <vapier@gentoo.org>
5161 * Makerules (lib-version): Rename from V.
5162 (install-lib-nosubdir): Change V to lib-version.
5164 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5167 * powerpc32/power6/wcschr.c: New file.
5168 * powerpc32/power6/wcscpy.c: New file.
5169 * powerpc32/power6/wcsrchr.c: New file.
5170 * powerpc64/power6/wcschr.c: New file.
5171 * powerpc64/power6/wcscpy.c: New file.
5172 * powerpc64/power6/wcsrchr.c: New file.
5174 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5176 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5177 (two_way_short_needle): Use it.
5178 * string/strstr.c (AVAILABLE1_USES_J): Define.
5179 * string/strcasestr.c: Likewise.
5181 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5183 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5186 * NEWS: Add an entry.
5187 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5188 define their defaults.
5189 (two_way_short_needle): Detect end-of-string on-the-fly.
5190 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5191 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5192 * string/bug-strcasestr1.c: New test.
5193 * string/Makefile: Run it.
5195 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5198 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5199 the first character.
5201 2012-08-21 Roland McGrath <roland@hack.frob.com>
5203 * csu/elf-init.c (__libc_csu_irel): Function removed.
5204 * csu/libc-start.c (apply_irel): New function.
5205 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5207 2012-08-21 Joseph Myers <joseph@codesourcery.com>
5209 * sysdeps/unix/sysv/linux/kernel-features.h
5210 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5211 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5212 <kernel-features.h>.
5213 [__NR_fadvise64_64]: Make code unconditional.
5214 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5215 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5216 !__NR_fadvise64_64)]: Likewise.
5217 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5218 !__NR_fadvise64_64))]: Likewise.
5219 [__NR_fadvise64]: Make code unconditional.
5220 [!__NR_fadvise64]: Remove conditional code.
5221 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5222 <kernel-features.h>.
5223 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5225 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5228 not include <kernel-features.h>.
5229 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5231 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5233 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5234 include <kernel-features.h>.
5235 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5237 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5240 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5242 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5243 slight instruction rearrangements per scrollpipe analysis.
5244 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5246 2012-08-20 Roland McGrath <roland@hack.frob.com>
5248 * manual/syslog.texi (syslog; vsyslog, closelog):
5249 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5250 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5252 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5253 DSOCAPS to match condition on defining it.
5255 2012-08-20 Joseph Myers <joseph@codesourcery.com>
5257 * sysdeps/unix/sysv/linux/kernel-features.h
5258 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5260 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5261 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5263 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5264 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5266 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5267 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5269 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5270 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5272 * sysdeps/unix/sysv/linux/kernel-features.h
5273 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5274 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5276 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5277 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5278 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5279 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5280 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5281 Make code unconditional.
5282 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5283 (__mmap64) [!__NR_mmap2]: Likewise.
5284 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5285 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5286 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5287 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5288 [__NR_mmap2]: Make code unconditional.
5289 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5290 (__mmap64) [!__NR_mmap2]: Likewise.
5292 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5294 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5296 2012-08-18 Andreas Jaeger <aj@suse.de>
5298 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5300 2012-08-18 Mike Frysinger <vapier@gentoo.org>
5302 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5303 * include/unistd.h (__have_sock_cloexec): Likewise.
5304 (__have_pipe2): Likewise.
5305 (__have_dup3): Likewise.
5307 2012-08-18 Mike Frysinger <vapier@gentoo.org>
5310 * include/unistd.h (__have_pipe2): Change define into an extern int.
5311 (__have_dup3): Likewise.
5312 * socket/have_sock_cloexec.c: Include fcntl.h.
5313 (__have_pipe2): New variable.
5314 (__have_dup3): Likewise.
5316 2012-08-17 Mike Frysinger <vapier@gentoo.org>
5318 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5320 2012-08-17 Marek Polacek <polacek@redhat.com>
5322 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5323 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5325 2012-08-17 Roland McGrath <roland@hack.frob.com>
5327 * configure.in: Add AC_SUBST for sysheaders.
5328 * configure: Regenerated.
5329 * config.make.in (sysheaders): New substituted variable.
5331 * sysdeps/unix/mkfifo.c: Moved ...
5332 * sysdeps/posix/mkfifo.c: ... here.
5333 * sysdeps/unix/mkfifoat.c: Moved ...
5334 * sysdeps/posix/mkfifoat.c: ... here.
5336 * sysdeps/unix/utime.c: Moved ...
5337 * sysdeps/posix/utime.c: ... here.
5339 * sysdeps/unix/time.c: Moved ...
5340 * sysdeps/posix/time.c: ... here.
5341 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5342 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
5344 * sysdeps/unix/nice.c: Moved ...
5345 * sysdeps/posix/nice.c: ... here.
5347 * sysdeps/unix/alarm.c: Moved ...
5348 * sysdeps/posix/alarm.c: ... here.
5350 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5352 2012-08-17 Jeff Law <law@redhat.com>
5354 * intl/Makefile (codeset_mo): New variable.
5355 ($(codeset_mo)): New target.
5356 (tst-codeset.out): Depend on that. Remove explicit rule.
5357 (tst-gettext3.out, tst-gettext5.out): Likewise.
5358 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5359 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5360 * intl/tst-codeset.sh: Remove.
5361 * intl/tst-gettext3.sh: Likewise.
5362 * intl/tst-gettext5.sh: Likewise.
5364 2012-08-17 Roland McGrath <roland@hack.frob.com>
5366 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5367 * sysdeps/unix/syscalls.list: ... here.
5369 * sysdeps/posix/getaddrinfo.c
5370 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5371 (gaiconf_init, gaiconf_reload): Use them.
5373 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5374 Define using time_t rather than struct timespec.
5376 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5377 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5379 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5381 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5382 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5385 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5386 __libc_cleanup_push argument.
5388 * bits/param.h: New file.
5389 * misc/sys/param.h: New file.
5390 * include/sys/param.h: New file.
5391 * misc/Makefile (headers): Add bits/param.h.
5392 * sysdeps/generic/sys/param.h: File removed.
5393 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5394 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5395 * sysdeps/mach/hurd/bits/param.h: New file.
5396 * sysdeps/mach/hurd/sys/param.h: File removed.
5398 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5401 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5403 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5404 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5407 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5408 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5409 rather than -D_IO_MTSAFE_IO conditionally.
5410 * stdio-common/Makefile (CPPFLAGS): Likewise.
5411 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5412 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5413 Use $(libio-mtsafe).
5414 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5416 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5417 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5418 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5419 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5420 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5421 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5422 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5423 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5424 (CFLAGS-fread_u_chk.c): Likewise.
5425 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5426 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5427 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5428 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5429 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5430 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5431 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5432 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5433 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5435 * libio/Makefile: Test [$(libc-reentrant) = yes]
5436 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5439 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5440 * sysdeps/pthread/configure: File removed.
5441 * sysdeps/pthread/Makeconfig: New file.
5442 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5443 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5445 2012-08-16 Gary Benson <gbenson@redhat.com>
5447 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5448 unmapping the first object in a namespace.
5450 2012-08-16 Roland McGrath <roland@hack.frob.com>
5452 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5453 (__internal_setnetgrent): ... this. Add internal_function to
5454 definition. Add libc_hidden_def.
5455 (setnetgrent): Update caller.
5456 (internal_endnetgrent): Renamed to ...
5457 (__internal_endnetgrent): ... this. Add internal_function to
5458 definition. Add libc_hidden_def.
5459 (endnetgrent): Update caller.
5460 (internal_getnetgrent_r): Renamed to ...
5461 (__internal_getnetgrent_r): ... this. Add internal_function to
5462 definition. Add libc_hidden_def.
5463 (__getnetgrent_r): Update caller.
5464 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5466 2012-08-16 Joseph Myers <joseph@codesourcery.com>
5468 * stdlib/longlong.h: Update from GCC.
5470 2012-08-16 Roland McGrath <roland@hack.frob.com>
5472 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5473 on _QL, which is set by umul_ppmm but never used.
5474 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5475 variables, which are set by GMP macros but never used.
5476 * stdio-common/_itowa.c (_itowa): Likewise.
5477 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5478 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5480 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5482 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5483 struct La_sh_regs is not constant.
5484 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5485 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5486 and struct La_sparc64_regs are not constant.
5488 2012-08-16 Joseph Myers <joseph@codesourcery.com>
5490 * sysdeps/unix/sysv/linux/kernel-features.h
5491 (__ASSUME_POSIX_TIMERS): Remove.
5492 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5493 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5494 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5495 Make code unconditional.
5496 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5497 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5498 Make code unconditional.
5499 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5500 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5501 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5502 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5503 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5504 Make code unconditional.
5505 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5506 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5507 (__libc_missing_posix_timers): Remove.
5509 2012-08-15 Roland McGrath <roland@hack.frob.com>
5511 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5512 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5514 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5516 * elf/dl-sym.c: Include <stdlib.h>.
5518 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5519 constants, which avoids warnings in 32-bit builds.
5521 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5522 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5524 * misc/lseek.c: File moved to ...
5525 * io/lseek.c: ... here.
5527 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5529 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5530 shifting LEN more than 31 bits at once.
5532 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5535 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5536 segmentation fault for a case of two empty input strings.
5537 * string/test-strncasecmp.c (check1): Renamed to...
5539 (bz14195): Add new testcase for two empty input strings and N > 0.
5540 (test_main): Call new testcase, adapt for renamed function.
5542 2012-08-15 Andreas Jaeger <aj@suse.de>
5545 * crypt/md5test2.c: New test, based on test supplied by Serge
5546 Belyshev <belyshev@depni.sinp.msu.ru>.
5547 * crypt/Makefile (xtests): Add md5test-giant..
5548 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5550 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5553 * crypt/md5.c (md5_process_block): Don't assume the buffer
5554 length is less than 2**32.
5555 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5556 length is less than 2**64.
5558 2012-08-15 Roland McGrath <roland@hack.frob.com>
5560 * string/str-two-way.h: Include <sys/param.h>.
5561 (MAX): Macro removed.
5563 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5564 Move #define and #undef of memmove to just before and after
5565 including <string.h>.
5567 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5568 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5569 and after including <string.h>. Move declarations of
5570 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5571 to before #include "string/memmove.c".
5573 * include/dirent.h: Declare __getdirentries.
5575 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5576 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5578 2012-08-14 Mike Frysinger <vapier@gentoo.org>
5580 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5581 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5582 * sysdeps/i386/configure: Regenerated.
5583 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5584 STABS_CURRENT_FILE, and STABS_FUN.
5585 (END): Remove call to STABS_FUN_END.
5586 (STABS_CURRENT_FILE1): Delete.
5587 (STABS_CURRENT_FILE): Likewise.
5588 (STABS_FUN): Likewise.
5589 (STABS_FUN_END): Likewise.
5590 (STABS_FUN2): Likewise.
5591 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5592 * sysdeps/x86_64/configure: Regenerated.
5594 2012-08-14 Roland McGrath <roland@hack.frob.com>
5596 * elf/dl-open.c: Include <atomic.h>.
5597 * elf/dl-lookup.c: Likewise.
5599 2012-08-14 Joseph Myers <joseph@codesourcery.com>
5601 * sysdeps/unix/sysv/linux/kernel-features.h
5602 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5603 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5605 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5607 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5608 condition on __ASSUME_CLONE_THREAD_FLAGS.
5610 2012-08-14 Andreas Jaeger <aj@suse.de>
5612 * sysdeps/i386/fpu/libm-test-ulps: Update.
5614 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5616 * include/atomic.h (atomic_exchange_and_add): Split into ...
5617 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5620 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5622 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5624 2012-08-13 Jeff Law <law@redhat.com>
5626 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5627 null byte in the output string.
5629 2012-08-10 Joseph Myers <joseph@codesourcery.com>
5631 * sysdeps/unix/sysv/linux/kernel-features.h
5632 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5633 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5634 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5635 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5636 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5637 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5638 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5640 2012-08-09 Jeff Law <law@redhat.com>
5643 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5644 When avoid_arena is set, don't retry in the that arena. Pick the
5645 next one, whatever it might be.
5646 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5647 (arena_lock): Pass in new parameter to arena_get2.
5648 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5650 (__libc_malloc): Unify retrying after main arena failure with
5651 __libc_memalign version.
5652 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5654 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5657 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5658 to __redirect_strstr.
5659 (__strstr_sse42): Use typeof __redirect_strstr.
5660 (__strstr_ia32): Likewise.
5661 (__libc_strstr): New prototype.
5662 (strstr): Renamed to ...
5663 (__libc_strstr): This.
5664 (strstr): New strong alias of __libc_strstr.
5665 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5666 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5669 (__libc_time): New prototype.
5670 (time_ifunc): Replace time with __libc_time.
5671 (time): New strong alias and hidden definition of __libc_time.
5672 (__GI_time): Remove strong alias.
5673 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5675 (memmove): Redefined to __redirect_memmove.
5676 (__memmove_sse2): Use typeof __redirect_memmove.
5677 (__memmove_ssse3): Likewise.
5678 (__memmove_ssse3_back): Likewise.
5679 (__libc_memmove): New prototype.
5680 (memmove): Renamed to ...
5681 (__libc_memmove): This.
5682 (memmove): New strong alias of __libc_memmove.
5684 2012-08-08 Mark Salter <msalter@redhat.com>
5687 (R_MN10300_TLS_GD): Define.
5688 (R_MN10300_TLS_LD): Likewise.
5689 (R_MN10300_TLS_LDO): Likewise.
5690 (R_MN10300_TLS_GOTIE): Likewise.
5691 (R_MN10300_TLS_IE): Likewise.
5692 (R_MN10300_TLS_LE): Likewise.
5693 (R_MN10300_TLS_DTPMOD): Likewise.
5694 (R_MN10300_TLS_DTPOFF): Likewise.
5695 (R_MN10300_TLS_TPOFF): Likewise.
5696 (R_MN10300_SYM_DIFF): Likewise.
5697 (R_MN10300_ALIGN): Likewise.
5698 (R_MN10300_NUM): Update.
5700 2012-08-08 Joseph Myers <joseph@codesourcery.com>
5702 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5705 2012-08-08 Roland McGrath <roland@hack.frob.com>
5707 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5709 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5710 sysdeps/unix -> sysdeps/posix move.
5711 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5713 2012-08-07 Allan McRae <allan@archlinux.org>
5716 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5717 (SUNOS_CPP): Likewise.
5718 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5720 (open_input): Call CPP using execvp.
5722 2012-08-07 Joseph Myers <joseph@codesourcery.com>
5724 * sysdeps/unix/sysv/linux/kernel-features.h
5725 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5726 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5727 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5728 (__ASSUME_WAITID_SYSCALL): Likewise.
5729 * sysdeps/unix/sysv/linux/dl-execstack.c
5730 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5732 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5734 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5735 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5736 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5738 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5740 [__ASSUME_WAITID_SYSCALL]: Likewise.
5741 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5743 2012-08-07 Roland McGrath <roland@hack.frob.com>
5745 * sysdeps/unix/closedir.c: Renamed to ...
5746 * sysdeps/posix/closedir.c: ... here.
5747 * sysdeps/unix/dirfd.c: Renamed to ...
5748 * sysdeps/posix/dirfd.c: ... here.
5749 * sysdeps/unix/dirstream.h: Renamed to ...
5750 * sysdeps/posix/dirstream.h: ... here.
5751 * sysdeps/unix/fdopendir.c: Renamed to ...
5752 * sysdeps/posix/fdopendir.c: ... here.
5753 * sysdeps/unix/opendir.c: Renamed to ...
5754 * sysdeps/posix/opendir.c: ... here.
5755 * sysdeps/unix/readdir.c: Renamed to ...
5756 * sysdeps/posix/readdir.c: ... here.
5757 * sysdeps/unix/readdir_r.c: Renamed to ...
5758 * sysdeps/posix/readdir_r.c: ... here.
5759 * sysdeps/unix/rewinddir.c: Renamed to ...
5760 * sysdeps/posix/rewinddir.c: ... here.
5761 * sysdeps/unix/seekdir.c: Renamed to ...
5762 * sysdeps/posix/seekdir.c: ... here.
5763 * sysdeps/unix/telldir.c: Renamed to ...
5764 * sysdeps/posix/telldir.c: ... here.
5765 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5766 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5767 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5768 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5770 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5771 * bits/fcntl.h: ... here.
5773 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5775 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5776 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5777 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5778 (struct flock): Move l_start, l_len to the beginning.
5779 Use __pid_t for l_pid.
5780 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5781 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5782 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5783 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5784 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5785 [__USE_LARGEFILE64] (struct flock64): New type.
5786 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5788 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5789 * bits/dirent.h: ... here.
5791 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5792 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5794 2012-08-07 Joseph Myers <joseph@codesourcery.com>
5796 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5797 Change from 2.6.0 to 2.6.16.
5798 * sysdeps/unix/sysv/linux/configure: Regenerated.
5799 * sysdeps/unix/sysv/linux/kernel-features.h
5800 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5801 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5803 (__ASSUME_UTIMES): Likewise.
5804 (__ASSUME_CLONE_STOPPED): Remove.
5805 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5806 architectures, not kernel version.
5807 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5808 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5809 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5810 (__ASSUME_WAITID_SYSCALL): Likewise.
5811 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5812 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5813 * README: State 2.6.16 as minimum Linux kernel version. Do not
5814 refer to older versions.
5816 2012-08-06 Roland McGrath <roland@hack.frob.com>
5818 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5819 Define alphasort64 as an alias.
5820 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5821 Define versionsort64 as an alias.
5822 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5823 Define scandir64 as an alias.
5824 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5825 Define scandirat64 as an alias.
5826 * dirent/alphasort64.c (alphasort64):
5827 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5828 * dirent/versionsort64.c: Likewise.
5829 * dirent/scandir64.c: Likewise.
5830 * dirent/scandirat64.c: Likewise.
5831 * sysdeps/wordsize-64/alphasort.c: File removed.
5832 * sysdeps/wordsize-64/alphasort64.c: File removed.
5833 * sysdeps/wordsize-64/scandir.c: File removed.
5834 * sysdeps/wordsize-64/scandir64.c: File removed.
5835 * sysdeps/wordsize-64/scandirat.c: File removed.
5836 * sysdeps/wordsize-64/scandirat64.c: File removed.
5837 * sysdeps/wordsize-64/versionsort.c: File removed.
5838 * sysdeps/wordsize-64/versionsort64.c: File removed.
5839 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5840 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5841 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5842 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5843 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5844 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5845 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5846 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5848 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5849 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5850 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5851 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5852 [defined __arch64__ || defined __sparcv9]
5853 (__INO_T_MATCHES_INO64_T): New macro.
5854 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5855 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5856 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5857 * sysdeps/unix/sysv/linux/bits/dirent.h
5858 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5859 (_DIRENT_MATCHES_DIRENT64): New macro.
5861 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5862 Define lockf64 as an alias.
5863 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5864 Define fseeko64 as an alias.
5865 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5866 Define ftello64 as an alias.
5867 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5868 Define _IO_fgetpos64 and fgetpos64 as aliases.
5869 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5870 Define _IO_fsetpos64 and fsetpos64 as aliases.
5871 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5872 Conditionalize body on this.
5873 * libio/fseeko64.c: Likewise.
5874 * libio/ftello64.c: Likewise.
5875 * libio/iofgetpos64.c: Likewise.
5876 * libio/iofsetpos64.c: Likewise.
5877 * sysdeps/wordsize-64/lockf.c: File removed.
5878 * sysdeps/wordsize-64/lockf64.c: File removed.
5879 * sysdeps/wordsize-64/fseeko.c: File removed.
5880 * sysdeps/wordsize-64/fseeko64.c: File removed.
5881 * sysdeps/wordsize-64/ftello.c: File removed.
5882 * sysdeps/wordsize-64/ftello64.c: File removed.
5883 * sysdeps/wordsize-64/iofgetpos.c: File removed.
5884 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
5885 * sysdeps/wordsize-64/iofsetpos.c: File removed.
5886 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
5887 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
5888 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
5889 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
5890 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
5891 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
5892 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
5893 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
5894 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
5895 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
5896 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
5898 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5899 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5900 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
5901 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5902 [defined __arch64__ || defined __sparcv9]
5903 (__OFF_T_MATCHES_OFF64_T): New macro.
5904 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5905 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
5906 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5907 (__OFF_T_MATCHES_OFF64_T): New macro.
5909 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5911 * stdlib/secure-getenv.c (__secure_getenv): Replace
5912 GLIBC_2_16 with GLIBC_2_17.
5914 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
5916 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
5917 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
5919 2012-08-03 David S. Miller <davem@davemloft.net>
5921 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5923 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5925 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
5927 (__ASSUME_CORRECT_SI_PID): Likewise.
5928 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
5929 (__ASSUME_TMPFS_NAME): Likewise.
5930 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
5931 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
5932 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
5933 (HAVE_AUX_SECURE): Make definition unconditional.
5934 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
5935 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
5937 2012-08-03 Roland McGrath <roland@hack.frob.com>
5939 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
5940 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
5941 * sysdeps/mach/hurd/eloop-threshold.h: New file.
5942 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
5943 __eloop_threshold instead of SYMLOOP_MAX.
5945 * sysdeps/generic/eloop-threshold.h: New file.
5946 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
5948 * elf/chroot_canon.c (chroot_canon): Likewise.
5950 2012-08-03 Joseph Myers <joseph@codesourcery.com>
5953 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5954 Change to 2.6.0 everywhere.
5955 * sysdeps/unix/sysv/linux/configure: Regenerated.
5956 * sysdeps/unix/sysv/linux/kernel-features.h
5957 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
5958 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
5960 (__ASSUME_POSIX_TIMERS): Define unconditionally.
5961 (__ASSUME_FUTEX_REQUEUE): Remove.
5962 (__ASSUME_STATFS64): Define unconditionally.
5963 (__ASSUME_AT_SECURE): Likewise.
5964 (__ASSUME_CORRECT_SI_PID): Likewise.
5965 (__ASSUME_TGKILL): Define without depending on kernel version for
5967 (__ASSUME_UTIMES): Likewise.
5968 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
5970 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
5971 (__ASSUME_TMPFS_NAME): Likewise.
5972 * README: Update reference to Linux kernel versions.
5974 2012-08-02 Marek Polacek <polacek@redhat.com>
5977 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
5978 libc_cv_asm_type_prefix with %.
5979 * configure: Regenerated.
5980 * include/libc-symbols.h: Remove comment about
5981 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5982 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
5983 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
5984 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
5985 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
5986 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
5987 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
5988 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
5989 * elf/tst-unique2mod1.c: Likewise.
5990 * elf/tst-unique1mod2.c: Likewise.
5991 * elf/tst-unique1mod1.c: Likewise.
5992 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
5993 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
5994 Replace ASM_TYPE_DIRECTIVE with .type.
5995 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5996 * sysdeps/i386/sysdep.h: Likewise.
5997 * sysdeps/x86_64/sysdep.h: Likewise.
5998 * sysdeps/sh/sysdep.h: Likewise.
5999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6000 Do not define ASM_TYPE_DIRECTIVE.
6001 * sysdeps/powerpc/sysdep.h: Likewise.
6002 * sysdeps/powerpc/powerpc32/sysdep.h:
6003 Replace ASM_TYPE_DIRECTIVE with .type.
6004 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6005 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6006 * sysdeps/i386/fpu/e_powf.S: Likewise.
6007 * sysdeps/i386/fpu/e_expl.S: Likewise.
6008 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6009 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6010 * sysdeps/i386/fpu/e_pow.S: Likewise.
6011 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6012 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6013 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6014 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6015 * sysdeps/i386/fpu/e_log2.S: Likewise.
6016 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6017 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6018 * sysdeps/i386/fpu/e_powl.S: Likewise.
6019 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6020 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6021 * sysdeps/i386/fpu/e_logl.S: Likewise.
6022 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6023 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6024 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6025 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6026 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6027 * sysdeps/i386/fpu/e_log.S: Likewise.
6028 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6029 * sysdeps/i386/fpu/e_logf.S: Likewise.
6030 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6031 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6032 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6033 * sysdeps/i386/fpu/e_log10.S: Likewise.
6034 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6035 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6036 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6037 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6038 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6039 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6040 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6041 * sysdeps/i386/i686/strtok.S: Likewise.
6042 * sysdeps/i386/i386-mcount.S: Likewise.
6043 * sysdeps/i386/strtok.S: Likewise.
6044 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6045 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6046 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6047 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6048 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6049 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6050 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6051 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6052 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6053 * sysdeps/x86_64/_mcount.S: Likewise.
6054 * sysdeps/x86_64/strtok.S: Likewise.
6055 * sysdeps/sh/_mcount.S: Likewise.
6057 2012-08-01 Roland McGrath <roland@hack.frob.com>
6059 * libio/iofopen.c: Include <fcntl.h>.
6060 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6061 (_IO_fopen64, fopen64): Define as aliases.
6062 * libio/iofopen64.c: Include <fcntl.h>.
6063 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6064 Conditionalize body on this.
6065 * sysdeps/wordsize-64/iofopen.c: File removed.
6066 * sysdeps/wordsize-64/iofopen64.c: File removed.
6068 2012-08-01 Marek Polacek <polacek@redhat.com>
6070 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6071 Use dlfcn directly instead of a variable.
6072 (binfmt-subdir): Do not define.
6075 2012-08-01 Joseph Myers <joseph@codesourcery.com>
6077 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6078 Remove all definitions.
6079 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6080 <kernel-features.h>.
6081 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6082 (miss_F_GETOWN_EX): Remove all definitions.
6083 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6085 [!__ASSUME_FCNTL64]: Remove conditional code.
6086 [__ASSUME_FCNTL64]: Make code unconditional.
6087 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6088 <kernel-features.h>.
6089 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6090 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6091 (lockf64) [__NR_fcntl64]: Make code unconditional.
6092 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6094 * sysdeps/unix/sysv/linux/kernel-features.h
6095 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6096 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6097 Make code unconditional.
6098 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6099 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6101 [__NR_vfork]: Make code unconditional.
6102 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6103 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6105 [__NR_vfork]: Make code unconditional.
6106 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6107 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6109 2012-08-01 Roland McGrath <roland@hack.frob.com>
6111 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6112 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6114 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6115 Define mkstemp64 as an alias.
6116 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6117 Define mkstemps64 as an alias.
6118 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6119 Define mkostemp64 as an alias.
6120 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6121 Define mkostemps64 as an alias.
6122 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6123 Conditionalize body on this.
6124 * misc/mkostemp64.c: Likewise.
6125 * misc/mkostemps64.c: Likewise.
6126 * misc/mkstemps64.c: Likewise.
6127 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6128 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6129 * sysdeps/wordsize-64/mkostemp.c: File removed.
6130 * sysdeps/wordsize-64/mkstemp.c: File removed.
6131 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6132 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6133 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6134 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6137 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6138 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6139 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6140 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6142 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6143 compat_symbol macros from <shlib-compat.h> rather than the underlying
6144 default_symbol_version and symbol_version macros, so that DEFAULT
6145 lines in shlib-versions are respected.
6146 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6148 2012-08-01 Florian Weimer <fweimer@redhat.com>
6150 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6151 Declare with warn_unused_result.
6152 (setgid, setregid, setegid, setresgid): Likewise.
6153 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6155 * WUR-REPORT: Remove set*id functions.
6157 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6159 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6161 2012-07-31 Roland McGrath <roland@hack.frob.com>
6163 * include/sys/socket.h (__libc_accept, __libc_accept4):
6164 Add attribute_hidden.
6165 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6167 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6169 * inet/getnetgrent_r.c (setup): Likewise.
6171 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6173 2012-07-31 David S. Miller <davem@davemloft.net>
6175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6177 2012-07-31 Joseph Myers <joseph@codesourcery.com>
6180 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6181 value between 1.0 and 2.0 and smaller part has absolute value less
6183 * math/s_clog10.c (__clog10): Likewise.
6184 * math/s_clog10f.c (__clog10f): Likewise.
6185 * math/s_clog10l.c (__clog10l): Likewise.
6186 * math/s_clogf.c (__clogf): Likewise.
6187 * math/s_clogl.c (__clogl): Likewise.
6188 * math/libm-test.inc (clog_test): Add more tests.
6189 (clog10_test): Likewise.
6190 * sysdeps/i386/fpu/libm-test-ulps: Update.
6191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6193 2012-07-31 Florian Weimer <fweimer@redhat.com>
6195 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6196 Exit with zero in case no suitable GID is found, and write a
6197 message to standard error.
6199 2012-07-30 Roland McGrath <roland@hack.frob.com>
6201 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6203 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6204 (MAXPATHLEN): Removed.
6205 (NOGROUP, NODEV): New macros.
6206 (setbit, clrbit, isset, isclr): New macros.
6207 (howmany, roundup, powerof2): New macros.
6208 (DEV_BSIZE): New macro.
6210 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6211 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6213 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6214 definition on [!__NO_LONG_DOUBLE_MATH].
6216 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6217 PTR_MANGLE and PTR_DEMANGLE.
6219 * socket/accept4.c (accept4): Rename to __libc_accept4.
6220 Define accept4 as a weak alias.
6222 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6223 on [_DIRENT_HAVE_D_TYPE].
6224 * io/ftw.c (ftw_dir): Likewise.
6226 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6228 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6230 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6231 Use the BSD numbers rather than the arbitrary ones we had.
6232 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6233 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6234 (SIGXCPU, SIGXFSZ): New macros.
6237 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6238 initializer on [_LIBC_REENTRANT].
6240 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6241 definitions inside [_POSIX_MAPPED_FILES].
6243 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6245 * dirent/opendir.c: Include <fcntl.h>.
6247 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6248 (__libc_getspecific): Likewise.
6249 (__libc_key_create): Likewise.
6251 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6252 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6253 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6254 (tmpfile64): Define as alias.
6255 * sysdeps/wordsize-64/tmpfile.c: File removed.
6256 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6257 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6258 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6260 * stdio-common/vfscanf.c: Include <stdbool.h>.
6261 * nss/makedb.c: Likewise.
6262 * stdio-common/_i18n_number.h: Likewise.
6263 * argp/argp-help.c: Likewise.
6264 * posix/wordexp.c: Likewise.
6265 * sysdeps/posix/spawni.c: Likewise.
6266 * nss/nss_files/files-initgroups.c: Likewise.
6267 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6268 * nss/nss_files/files-initgroups.c: Likewise.
6269 * nss/nss_db/db-netgrp.c: Likewise.
6270 * nss/nss_db/db-initgroups.c: Likewise.
6271 * io/fchmodat.c: Include <sys/stat.h>.
6273 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6274 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6276 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6279 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6280 Add multiple inclusion protection.
6282 2012-07-27 David S. Miller <davem@davemloft.net>
6284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6286 2012-07-27 Gary Benson <gbenson@redhat.com>
6289 * elf/rtld.c: Include <stap-probe.h>.
6290 (dl_main): Added static probes "init_start" and "init_complete".
6291 * elf/dl-load.c: Include <stap-probe.h>.
6292 (lose): Take new parameter "nsid".
6293 Added static probe "map_failed".
6294 (_dl_map_object_from_fd): Pass namespace id to lose.
6295 Added static probe "map_start".
6296 (open_verify): Pass namespace id to lose.
6297 * elf/dl-open.c: Include <stap-probe.h>.
6298 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6299 and "reloc_complete".
6300 * elf/dl-close.c: Include <stap-probe.h>.
6301 (_dl_close_worker): Added static probes "unmap_start" and
6303 * elf/rtld-debugger-interface.txt: New file documenting the above.
6305 2012-07-26 Roland McGrath <roland@hack.frob.com>
6307 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6308 rather than a string variable.
6309 * sunrpc/rpc_main.c (h_output): Likewise.
6310 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6312 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6314 * inet/check_native.c: New file.
6316 2012-07-26 Joseph Myers <joseph@codesourcery.com>
6319 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6320 if larger part has absolute value 1.0.
6321 * math/s_clog10.c (__clog10): Likewise.
6322 * math/s_clog10f.c (__clog10f): Likewise.
6323 * math/s_clog10l.c (__clog10l): Likewise.
6324 * math/s_clogf.c (__clogf): Likewise.
6325 * math/s_clogl.c (__clogl): Likewise.
6326 * math/libm-test.inc (clog_test): Add more tests.
6327 (clog10_test): Likewise.
6328 * sysdeps/i386/fpu/libm-test-ulps: Update.
6329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6331 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6332 (pltexit): Likewise.
6333 (La_regs): Likewise.
6334 (La_retval): Likewise.
6335 (int_retval): Likewise.
6336 Update #error for removed macros to refer only to definitions in
6338 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6340 (pltexit): Likewise.
6341 (La_regs): Likewise.
6342 (La_retval): Likewise.
6343 (int_retval): Likewise.
6344 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6346 (pltexit): Likewise.
6347 (La_regs): Likewise.
6348 (La_retval): Likewise.
6349 (int_retval): Likewise.
6350 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6352 (pltexit): Likewise.
6353 (La_regs): Likewise.
6354 (La_retval): Likewise.
6355 (int_retval): Likewise.
6356 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6358 (pltexit): Likewise.
6359 (La_regs): Likewise.
6360 (La_retval): Likewise.
6361 (int_retval): Likewise.
6362 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6364 (pltexit): Likewise.
6365 (La_regs): Likewise.
6366 (La_retval): Likewise.
6367 (int_retval): Likewise.
6368 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6370 (pltexit): Likewise.
6371 (La_regs): Likewise.
6372 (La_retval): Likewise.
6373 (int_retval): Likewise.
6374 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6375 macro definitions in tst-audit.h.
6376 * sysdeps/i386/tst-audit.h: New file.
6377 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6378 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6379 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6380 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6381 * sysdeps/sh/tst-audit.h: Likewise.
6382 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6383 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6384 * sysdeps/x86_64/tst-audit.h: Likewise.
6386 2012-07-26 Andreas Jaeger <aj@suse.de>
6388 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6391 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6392 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6393 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6395 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6396 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6397 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6399 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6402 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6404 (si_call_addr, si_syscall, si_arch): Define new macro.
6405 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6407 (si_call_addr, si_syscall, si_arch): Define new marcro.
6408 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6410 (si_call_addr, si_syscall, si_arch): Define new macro.
6411 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6413 (si_call_addr, si_syscall, si_arch): Define new macro.
6415 2012-07-25 Joseph Myers <joseph@codesourcery.com>
6418 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6419 Change to 2.4.21 where previously 2.4.1.
6420 * sysdeps/unix/sysv/linux/configure: Regenerated.
6421 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6422 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6423 Linux kernel version.
6424 (__ASSUME_STD_AUXV): Remove.
6425 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6427 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6428 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6429 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6430 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6431 (__ASSUME_NETLINK_SUPPORT): Likewise.
6432 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6433 (__no_netlink_support): Remove conditional definition.
6434 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6436 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6437 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6438 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6439 (if_nameindex_ioctl): Remove.
6440 (if_nameindex_netlink): Do not handle __no_netlink_support.
6441 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6443 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6444 Remove conditional code.
6445 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6447 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6449 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6450 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6451 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6453 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6454 [!__ASSUME_STD_AUXV]: Remove conditional code.
6455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6456 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6457 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6459 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6460 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6462 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6464 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6465 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6467 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6469 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6472 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6475 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6477 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6479 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6481 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6484 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6486 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6489 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6491 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6493 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6495 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6498 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6500 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6502 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6504 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6507 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6509 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6510 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6511 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6512 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6513 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6514 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6515 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6516 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6517 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6518 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6519 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6520 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6521 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6522 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6523 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6524 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6525 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6526 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6527 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6528 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6529 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6530 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6531 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6533 2012-07-25 Florian Weimer <fweimer@redhat.com>
6535 * Versions.def: Add GLIBC_2.17.
6536 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6537 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6538 Introduce __libc_secure_getenv.
6539 * stdlib/Versions (2.17): Add secure_getenv
6540 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6541 * stdlib/secure-getenv.c: Rename __secure_getenv to
6542 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6543 symbol __secure_getenv for GLIBC_2.0.
6544 * stdlib/tst-secure-getenv.c: New.
6545 * stdlib/Makefile (tests): Add testcase.
6546 * manual/startup.texi (Environment Access): Document
6548 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6549 __libc_secure_getenv.
6550 * inet/ruserpass.c (ruserpass): Likewise.
6551 * malloc/mtrace.c (mtrace): Likewise.
6552 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
6553 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6554 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6555 * sysdeps/posix/tempname.c: Likewise. Evaluate
6557 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
6558 __secure_getenv to __libc_secure_getenv.
6559 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
6560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6564 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6566 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6569 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6572 2012-07-25 Joseph Myers <joseph@codesourcery.com>
6574 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6575 (struct La_i86_retval): Likewise.
6576 (struct La_x86_64_regs): Likewise.
6577 (struct La_x86_64_retval): Likewise.
6578 (struct La_x32_regs): Likewise.
6579 (struct La_x32_retval): Likewise.
6580 (struct La_ppc32_regs): Likewise.
6581 (struct La_ppc32_retval): Likewise.
6582 (struct La_ppc64_regs): Likewise.
6583 (struct La_ppc64_retval): Likewise.
6584 (struct La_sh_regs): Likewise.
6585 (struct La_sh_retval): Likewise.
6586 (struct La_s390_32_regs): Likewise.
6587 (struct La_s390_32_retval): Likewise.
6588 (struct La_s390_64_regs): Likewise.
6589 (struct La_s390_64_retval): Likewise.
6590 (struct La_sparc32_regs): Likewise.
6591 (struct La_sparc32_retval): Likewise.
6592 (struct La_sparc64_regs): Likewise.
6593 (struct La_sparc64_retval): Likewise.
6594 (struct audit_ifaces): Remove architecture-specific pltenter and
6596 * sysdeps/i386/ldsodefs.h: New file.
6597 * sysdeps/powerpc/ldsodefs.h: Likewise.
6598 * sysdeps/s390/ldsodefs.h: Likewise.
6599 * sysdeps/sh/ldsodefs.h: Likewise.
6600 * sysdeps/sparc/ldsodefs.h: Likewise.
6601 * sysdeps/x86_64/ldsodefs.h: Likewise.
6603 2012-07-25 Marek Polacek <polacek@redhat.com>
6606 * math/libm-test.inc (yn_test): Add another test.
6607 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6608 to ERANGE when the result is +-Inf.
6609 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6610 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6611 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6612 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6614 2012-07-24 Joseph Myers <joseph@codesourcery.com>
6616 * conform/data/time.h-data (NULL): Use macro-constant. Require
6618 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6620 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6622 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6624 * configure.in <sysdeps resolving>: Correct printing
6626 * configure: Regenerate.
6628 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6630 * math/w_ilogb.c: Include <limits.h>.
6631 * math/w_ilogbl.c: Likewise.
6633 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6635 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6636 va_copy. Document allowing for unavailable va_copy only as
6637 pre-C99 compatibility.
6638 * manual/string.texi (Copying and Concatenation): Use va_copy
6639 instead of __va_copy in concat example.
6641 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6643 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6644 (__sendto): Use create_address_port. Initialize APORT and deallocate
6647 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6648 with O_NOLINK passed to __file_name_lookup.
6650 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6651 with O_NOLINK passed to __file_name_lookup.
6653 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6654 negative N or less than NGIDS.
6656 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6657 type to string_t. Set ERANGE as errno and return it if NAME is not big
6658 enough. Use memcpy instead of strncpy.
6660 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6662 * elf/Makefile (check-data): Remove.
6663 (localplt.data): New vpath directive.
6664 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6665 instead of $(check-data).
6666 * scripts/data/localplt-generic.data: Move to ...
6667 * sysdeps/generic/localplt.data: ... here.
6668 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6669 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6670 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6673 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6676 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6679 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6682 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6683 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6685 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6686 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6689 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6691 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6692 PPC32 and PPC64 files.
6693 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6694 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6696 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6698 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6699 __makecontext_ret to ...
6700 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6701 ... here and call exit if uc_link is NULL. New file.
6702 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6703 __makecontext_ret.S.
6704 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6705 __makecontext_ret to ...
6706 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6707 ... here and call exit if uc_link is NULL. New file.
6708 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6709 __makecontext_ret.S.
6711 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6713 * elf/elf.h (R_390_IRELATIVE): New definition.
6714 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6715 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6716 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6717 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6718 (elf_machine_lazy_rel): Likewise.
6719 * sysdeps/s390/dl-irel.h: New file.
6720 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6721 * sysdeps/s390/s390-64/memset.S: New asm code.
6722 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6723 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6724 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6725 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6726 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6727 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6728 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6729 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6730 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6731 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6732 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6733 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6734 * sysdeps/s390/s390-32/memset.S: New asm code.
6735 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6737 2012-07-17 Marek Polacek <polacek@redhat.com>
6740 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6741 * sysdeps/s390/s390-64/configure.in: Likewise.
6742 * sysdeps/sparc/configure.in: Likewise.
6743 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6744 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6745 * sysdeps/i386/configure.in: Likewise.
6746 * sysdeps/x86_64/configure.in: Likewise.
6747 * sysdeps/sh/configure.in: Likewise.
6748 * sysdeps/s390/s390-32/configure: Regenerated.
6749 * sysdeps/s390/s390-64/configure: Likewise.
6750 * sysdeps/x86_64/configure: Likewise.
6751 * sysdeps/sh/configure: Likewise.
6752 * sysdeps/powerpc/powerpc64/configure: Likewise.
6753 * sysdeps/powerpc/powerpc32/configure: Likewise.
6754 * sysdeps/sparc/configure: Likwise.
6755 * sysdeps/i386/configure: Likewise.
6757 * elf/dl-open.c: Comment fixes.
6759 2012-07-17 Joseph Myers <joseph@codesourcery.com>
6761 * Makefile [CXX] (check-data): Remove.
6762 [CXX] (c++-types.data): New vpath directive.
6763 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6764 vpath. Do not allow for C++ type data being missing.
6765 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6766 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6767 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6768 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6769 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6770 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6771 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6774 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6777 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6780 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6781 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6783 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6786 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6787 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6789 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6790 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6792 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6795 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6796 definitions to architecture-specific files.
6800 * sysdeps/i386/tls-macros.h: New file.
6801 * sysdeps/powerpc/tls-macros.h: Likewise.
6802 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6803 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6804 * sysdeps/sh/tls-macros.h: Likewise.
6805 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6806 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6807 * sysdeps/x86_64/tls-macros.h: Likewise.
6809 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6811 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6812 zero value for regular exit case.
6814 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6815 (__start_context): Preserve zero value for regular exit case.
6817 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6818 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6820 * manual/setjmp.texi (setcontext): Clarify normal process
6821 termination when uc_link is the null pointer.
6822 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6825 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6827 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6828 preprocessor. Test for each exception mask separately.
6830 2012-07-16 Andreas Jaeger <aj@suse.de>
6832 * po/ru.po: Update from translation team.
6834 2012-07-15 Joseph Myers <joseph@codesourcery.com>
6836 * conform/data/string.h-data (NULL): Use macro-constant. Require
6838 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6839 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6840 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6841 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6842 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6844 2012-07-13 Andreas Jaeger <aj@suse.de>
6846 * po/fr.po: Update from translation team.
6848 2012-07-12 Marek Polacek <polacek@redhat.com>
6851 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6852 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6855 2012-07-12 Joseph Myers <joseph@codesourcery.com>
6858 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6859 Change to 2.4.1 where previously 2.4.0.
6860 * sysdeps/unix/sysv/linux/configure: Regenerated.
6861 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6862 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6864 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6865 (__ASSUME_AT_CLKTCK): Remove.
6866 (__ASSUME_AT_PAGESIZE): Likewise.
6867 (__ASSUME_AT_XID): Likewise.
6868 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6869 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6870 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6872 (HAVE_AUX_PAGESIZE): Likewise.
6873 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
6874 [__ASSUME_AT_CLKTCK]: Make code unconditional.
6875 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
6877 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
6880 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
6881 the temporary buffer used to invoke __gethostbyname2_r,
6882 __gethostbyaddr_r and gethostbyname4_r to make room for struct
6883 host_data / struct gaih_addrtuple.
6884 * resolv/nss_dns/dns-host.c (global scope): Move definition of
6885 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
6886 header file nss/nsswitch.h.
6887 * nss/nsswitch.h (global scope): Add definition of implementation
6888 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
6889 resolv/nss_dns/dns-host.c).
6891 2012-07-11 Andreas Jaeger <aj@suse.de>
6893 * po/fr.po: Update from translation team.
6895 * po/sv.po: Update from translation team
6896 * po/fr.po: Another update from translation team.
6898 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6900 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
6901 for subnormals or multiply small sinh result by itself.
6902 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6903 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6905 2012-07-11 David S. Miller <davem@davemloft.net>
6907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6909 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
6912 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
6913 (INTERNAL_MARK): Shift it here.
6915 2012-07-10 Marek Polacek <polacek@redhat.com>
6918 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
6919 libc_cv_asm_global_directive with .globl.
6920 * configure: Regenerated.
6921 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
6923 * sysdeps/i386/configure: Regenerated.
6924 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
6926 * sysdeps/x86_64/configure: Regenerated.
6927 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
6928 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
6929 * elf/tst-unique2mod2.c: Likewise.
6930 * elf/tst-unique2mod1.c: Likewise.
6931 * elf/tst-unique1mod2.c: Likewise.
6932 * elf/tst-unique1mod1.c: Likewise.
6933 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6934 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6935 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6936 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6937 * sysdeps/mach/sysdep.h: Likewise.
6938 * sysdeps/i386/sysdep.h: Likewise.
6939 * sysdeps/i386/i386-mcount.S: Likewise.
6940 * sysdeps/x86_64/_mcount.S: Likewise.
6941 * sysdeps/x86_64/sysdep.h: Likewise.
6942 * sysdeps/sh/_mcount.S: Likewise.
6943 * sysdeps/sh/sysdep.h: Likewise.
6944 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
6945 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
6946 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
6947 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6948 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
6949 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
6950 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
6951 * locale/localeinfo.h: Likewise.
6952 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
6953 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
6955 2012-07-09 Roland McGrath <roland@hack.frob.com>
6958 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
6960 * manual/message.texi (The Uniforum approach): Likewise.
6961 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
6962 (glibc iconv Implementation): Likewise.
6964 2012-07-09 Joseph Myers <joseph@codesourcery.com>
6967 * math/s_clog.c (__clog): Avoid scaling a value down where that
6968 could result in underflow.
6969 * math/s_clog10.c (__clog10): Likewise.
6970 * math/s_clog10f.c (__clog10f): Likewise.
6971 * math/s_clog10l.c (__clog10l): Likewise.
6972 * math/s_clogf.c (__clogf): Likewise.
6973 * math/s_clogl.c (__clogl): Likewise.
6974 * math/libm-test.inc (clog_test): Add more tests.
6975 (clog10_test): Likewise.
6976 * sysdeps/i386/fpu/libm-test-ulps: Update.
6977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6979 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6982 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
6983 by 7 not 8 to examine high bit of fractional part.
6986 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
6987 for call to __mcount_internal.
6988 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
6989 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
6990 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
6992 2012-07-06 Joseph Myers <joseph@codesourcery.com>
6995 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
6996 approximation for values within 0x1p-13f of an odd multiple of
6998 * math/libm-test.inc (tan_test): Do not allow spurious underflow
6999 exception. Add more tests.
7000 * sysdeps/i386/fpu/libm-test-ulps: Update.
7003 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7004 inputs and return -1 for them. Do not check for +Inf in case not
7006 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7007 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7008 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7009 and return -1 for them. Do not check for +Inf in case not
7011 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7013 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7014 and return -1 for them. Do not check for +Inf in case not
7016 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7018 * sysdeps/i386/fpu/libm-test-ulps: Update.
7019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7021 2012-07-06 Mike Frysinger <vapier@gentoo.org>
7023 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7025 2012-07-05 Joseph Myers <joseph@codesourcery.com>
7029 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7030 could result in spurious underflow. Scale down values above
7031 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7032 * math/s_csqrtf.c (__csqrtf): Likewise.
7033 * math/s_csqrtl.c (__csqrtl): Likewise.
7034 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7036 * sysdeps/i386/fpu/libm-test-ulps: Update.
7037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7039 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7041 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7043 * catgets/xopen-msg.awk: New file.
7044 * catgets/xopen-msg.sed: Removed.
7046 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7048 * intl/po2test.awk: New file.
7049 * intl/po2test.sed: Removed.
7051 2012-07-04 Joseph Myers <joseph@codesourcery.com>
7054 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7055 or multiply small sinh result by itself.
7056 * math/s_ctanf.c (__ctanf): Likewise.
7057 * math/s_ctanh.c (__ctanh): Likewise.
7058 * math/s_ctanhf.c (__ctanhf): Likewise.
7059 * math/s_ctanhl.c (__ctanhl): Likewise.
7060 * math/s_ctanl.c (__ctanl): Likewise.
7061 * math/libm-test.inc (ctan_test_tonearest): New function.
7062 (ctan_test_towardzero): Likewise.
7063 (ctan_test_downward): Likewise.
7064 (ctan_test_upward): Likewise.
7065 (ctanh_test_tonearest): Likewise.
7066 (ctanh_test_towardzero): Likewise.
7067 (ctanh_test_downward): Likewise.
7068 (ctanh_test_upward): Likewise.
7069 (main): Call these new functions.
7070 * sysdeps/i386/fpu/libm-test-ulps: Update.
7071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7073 2012-07-03 Mike Frysinger <vapier@gentoo.org>
7075 * .gitignore: Delete /ports entry.
7077 2012-07-03 Andreas Jaeger <aj@suse.de>
7079 * po/bg.po: Update from translation team.
7080 * po/cs.po: Likewise.
7081 * po/de.po: Likewise.
7082 * po/hr.po: Likewise.
7083 * po/nl.pl: Likewise.
7084 * po/pl.po: Likewise.
7085 * po/vi.po: Likewise.
7087 2012-07-03 Joseph Myers <joseph@codesourcery.com>
7089 * Makeconfig [!+link] (+link-before-libc): New variable.
7090 [!+link] (+link-after-libc): Likewise.
7091 [!+link] (+link-tests): Likewise.
7092 [!+link] (+link): Define in terms of $(+link-before-libc) and
7093 $(+link-after-libc).
7094 [!+link-static] (+link-static-before-libc): New variable.
7095 [!+link-static] (+link-static-after-libc): Likewise.
7096 [!+link-static] (+link-static-tests): Likewise.
7097 [!+link-static] (+link-static): Define in terms of
7098 $(+link-static-before-libc) and $(+link-static-after-libc).
7099 [build-shared] (link-libc-before-gnulib): New variable.
7100 [build-shared] (link-libc-tests): Likewise.
7101 [build-shared] (link-libc): Define in terms of
7102 $(link-libc-before-gnulib).
7103 [!build-shared] (link-libc-tests): New variable.
7104 (link-libc-static-tests): New variable.
7105 [!gnulib] (gnulib-arch): New variable.
7106 [!gnulib] (gnulib-tests): Likewise.
7107 [!gnulib] (static-gnulib-arch): Likewise.
7108 [!gnulib] (static-gnulib-tests): Likewise.
7109 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7110 Define with "=" instead of ":=".
7111 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7112 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7113 * Rules (binaries-all-notests): New variable.
7114 (binaries-all-tests): Likewise.
7115 (binaries-static-notests): Likewise.
7116 (binaries-static-tests): Likewise.
7117 (binaries-all): Define using $(binaries-all-notests) and
7118 $(binaries-all-tests).
7119 (binaries-static): Define using $(binaries-static-notests) and
7120 $(binaries-static-tests).
7121 (binaries-shared-tests): New variable.
7122 (binaries-shared-notests): Likewise.
7123 (binaries-shared): Remove variable.
7124 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7125 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7126 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7127 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7128 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7129 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7130 * elf/Makefile (sln-modules): New variable.
7131 (extra-objs): Add $(sln-modules:=.o).
7132 (ldconfig-modules): Add static-stubs.
7133 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7134 * elf/static-stubs.c: New file.
7137 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7138 by 7 not 8 to examine high bit of fractional part. Use volatile
7139 variables when splitting into final array of floats if
7140 __FLT_EVAL_METHOD__ != 0.
7141 * math/libm-test.inc (cos_test): Add another test.
7142 (sin_test): Likewise.
7143 * sysdeps/i386/fpu/libm-test-ulps: Update.
7146 * math/libm-test.inc (cosh_test): Add more tests.
7148 * version.h (RELEASE): Set to "development".
7149 (VERSION): Set to "2.16.90".
7151 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7153 * NEWS: Update copyright. Remove last-updated date.
7154 Mention math library bug fixes and timezone data changes.
7155 * README: Mention GNU/Hurd, x32, and HPPA support status.
7157 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7159 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7161 2012-06-27 Andreas Jaeger <aj@suse.de>
7163 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7165 2012-06-25 Andreas Jaeger <aj@suse.de>
7167 * sysdeps/s390/fpu/libm-test-ulps: Update.
7169 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7170 Thomas Schwinge <thomas@codesourcery.com>
7172 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7173 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7174 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7177 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7179 * sysdeps/mach/start.c: Remove file.
7180 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7181 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7182 * sysdeps/sh/init-first.c: Likewise.
7184 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7185 registers for frame unwinding purposes, add CFI directives.
7186 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7187 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7188 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7191 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7192 __fortify_fail returning.
7193 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7195 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7196 sysdeps/sh/____longjmp_chk.S.
7197 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7198 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7199 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7200 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7202 * sysdeps/sh/abort-instr.h: New file.
7203 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7204 process in case exit returns.
7206 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7207 initialize the GOT register before use.
7209 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7210 calculation of ARGC > 4.
7212 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7213 meaningful names to some local labels.
7215 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7216 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7218 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7219 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7220 (__arch_compare_and_exchange_val_16_acq): Likewise.
7221 (__arch_compare_and_exchange_val_32_acq): Likewise.
7222 (atomic_exchange_and_add): Fix gUSA sequence.
7223 (atomic_add): Likewise.
7224 (atomic_add_negative): Likewise.
7225 (atomic_add_zero): Likewise.
7226 (atomic_bit_test_set): Likewise.
7228 2012-06-22 Andreas Schwab <schwab@redhat.com>
7231 * include/link.h (struct link_map): Add l_free_initfini.
7232 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7234 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7235 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7236 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7239 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7241 * configure.in: Use AC_LANG_SOURCE.
7242 * configure: Regenerate.
7244 2012-06-22 Roland McGrath <roland@hack.frob.com>
7246 * configure.in (libc_cv_localstatedir): New substituted variable.
7247 * configure: Regenerated.
7248 * config.make.in (localstatedir): New variable, substituted from
7249 libc_cv_localstatedir.
7250 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7251 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7252 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7253 * sysdeps/gnu/configure: Regenerated.
7255 2012-06-21 Jeff Law <law@redhat.com>
7258 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7259 free. Simplify list management for _LIBC case.
7261 2012-06-21 Joseph Myers <joseph@codesourcery.com>
7264 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7265 Clear sign bit of 64-bit integer value before comparing against
7268 * sysdeps/mach/configure: Regenerated.
7270 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7273 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7275 2012-06-21 Jeff Law <law@redhat.com>
7278 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7279 uint16_t for elements in the "seen" array to avoid char overflows.
7280 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7281 * elf/dl-open.c (dl_open_worker): Likewise.
7283 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7285 * scripts/list-sources.sh: Scan PORTS for translations.
7286 * po/libc.pot: Regenerated.
7288 2012-06-21 Andreas Jaeger <aj@suse.de>
7291 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7293 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7294 * bits/byteswap-16.h (__bswap_16): Likewise.
7295 * bits/byteswap.h (__bswap_constant_16): Likewise.
7297 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7300 * sysdeps/i386/fpu_control.h: Removed.
7301 * sysdeps/x86_64/fpu_control.h: Moved to ...
7302 * sysdeps/x86/fpu_control.h: Here.
7304 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7305 (_FPU_SETCW): Likewise.
7307 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7310 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7311 * sysdeps/x86/fpu/bits/mathinline.h: This.
7312 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7316 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7317 functions if __x86_64__ is defined.
7319 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7321 * string/endian.h: Add !__ASSEMBLER__ condition for including
7322 conversion interfaces.
7324 2012-06-15 Joseph Myers <joseph@codesourcery.com>
7327 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7328 of ABS(x) in calculating zero to negative powers other than odd
7330 * math/libm-test.inc (pow_test): Add more tests.
7332 2012-06-15 Andreas Jaeger <aj@suse.de>
7334 * manual/contrib.texi (Contributors): Update entry of Liubov
7335 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7338 2012-06-15 Cyril Hrubis <metan@ucw.cz>
7340 * string/string.h: Add __wur to GNU version of strerror_r.
7342 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7345 * string/Makefile (tests): Add tst-strtok_r.
7346 * string/tst-strtok_r.c: New file.
7347 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7348 RAX_LP/RDX_LP on SAVE_PTR.
7350 2012-06-14 Roland McGrath <roland@hack.frob.com>
7352 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7354 2012-06-14 Joseph Myers <joseph@codesourcery.com>
7356 * libm_test.inc (csqrt_test): Allow more spurious underflow
7358 (j0_test): Likewise.
7359 (j1_test): Likewise.
7360 (y0_test): Likewise.
7361 (y1_test): Likewise.
7363 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7365 * po/Makefile (libc.pot): Use UTF-8 charset.
7367 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7370 Suppress sign-conversion warning from FD_SET.
7371 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7372 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7373 not unsigned long int.
7374 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7376 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7380 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7381 __extern_always_inline instead of __extern_inline.
7382 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7383 (__signbit): Likewise.
7384 (__signbitl): Support C++ namespace.
7385 (lrintf): New inline function.
7387 (llrintf): Likewise.
7399 (nearbyint): Likewise.
7400 (nearbyintf): Likewise.
7402 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7404 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7405 non-default versions.
7407 2012-06-11 Roland McGrath <roland@hack.frob.com>
7410 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7412 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7414 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7415 (FE_UPWARD, FE_DOWNWARD): Don't define.
7416 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7417 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7419 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7421 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7422 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7424 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7426 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7427 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7428 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7429 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7431 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7434 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7435 * sysdeps/i386/fpu/Implies: New file.
7436 * sysdeps/x86_64/fpu/Implies: Likewise.
7437 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7438 * sysdeps/x86/fpu/bits/fenv.h: This.
7440 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7443 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7446 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7447 character 0xffff that matches the last element of the
7450 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7452 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7455 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7457 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7458 values higher than 25.6283.
7460 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7462 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7463 subnormal exponent extraction and add some __builtin_expect.
7464 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7465 Fix for subnormal mantissa calculation.
7467 2012-06-04 Mike Frysinger <vapier@gentoo.org>
7469 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7470 cpu2 is -1 and errno is not ENOSYS.
7472 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7475 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7476 * sysdeps/x86/bits/string.h: This.
7477 * sysdeps/x86_64/bits/string.h: Removed.
7479 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7480 if not compiling for x86-64, but compiling for >= i486.
7482 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7483 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7485 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7486 New macro from Linux kernel 3.4.0.
7487 (FP_XSTATE_MAGIC2): Likewise.
7488 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7489 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7490 (struct _fpx_sw_bytes): New struct.
7491 (struct _xsave_hdr): Likewise.
7492 (struct _ymmh_state): Likewise.
7493 (struct _xstate): Likewise.
7495 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7496 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7497 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7498 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7499 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7500 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7502 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7503 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7504 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7505 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7506 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7507 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7509 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7512 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7513 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7514 (sysdep_headers): Include sys/platform/ppc.h.
7515 * sysdeps/powerpc/test-gettimebase.c: Test for
7516 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7517 * manual/Makefile (appendices): Include platform.texi.
7518 * manual/contrib.texi (Contributors): Update @node pointers.
7519 * manual/maint.texi (Maintenance): Likewise.
7520 (Platform): New node.
7521 * manual/platform.texi: New file. Document the new features.
7523 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7524 Jakub Jelinek <jakub@redhat.com>
7527 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7528 where __builtin_expect is unavailable.
7530 2012-06-03 David S. Miller <davem@davemloft.net>
7532 * stdlib/longlong.h: Updated from GCC.
7534 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7537 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7538 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7541 (GLIBC_2.16): Likewise.
7543 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7545 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7547 2012-06-01 Joseph Myers <joseph@codesourcery.com>
7549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7550 (default-abi): New variable.
7551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7552 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7554 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7556 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7558 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7561 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7562 definition. Document in comment.
7564 2012-06-01 David S. Miller <davem@davemloft.net>
7566 * stdlib/longlong.h: Updated from GCC.
7568 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7571 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7572 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7573 sys/debugreg.h sys/io.h here.
7574 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7575 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7577 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7578 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7579 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7580 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7581 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7582 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7584 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7585 Define only if __x86_64__ is defined.
7587 2012-06-01 Joseph Myers <joseph@codesourcery.com>
7590 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7591 Use int64_t for variable i.
7592 * math/libm-test.inc (fmod_test): Add more tests.
7594 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7595 z computation is not scheduled after fetestexcept.
7596 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7597 Use math_force_eval instead of asm to ensure calculation scheduled
7598 before exception test.
7599 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7600 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7602 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7604 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7605 computation is not scheduled after fetestexcept.
7607 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7610 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7611 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7613 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7615 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7616 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7618 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7621 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7623 (__WCHAR_MIN): Support __WORDSIZE == 64.
7624 (__WCHAR_MAX): Likewise.
7626 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7627 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7630 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7631 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7634 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7635 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7637 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7638 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7640 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7641 Defined to 1 if __x86_64__ isn't defined.
7642 (_STAT_VER_LINUX_OLD): New.
7643 (st_atime): Remove duplicate.
7644 (st_mtime): Likewise.
7645 (st_ctime): Likewise.
7647 2012-05-31 David S. Miller <davem@davemloft.net>
7649 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7652 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7654 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7658 * elf/dl-reloc.c: Include <_itoa.h>.
7659 (_dl_reloc_bad_type): Remove use of INTUSE.
7660 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7661 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7662 * stdio-common/psiginfo.c (psiginfo): Likewise.
7663 * stdio-common/psignal.c (psignal): Likewise.
7664 * string/strsignal.c (strsignal): Likewise.
7665 * include/signal.h (_sys_siglist): Declare hidden proto.
7666 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7667 INTVARDEF with libc_hidden_data_def.
7668 * stdio-common/itoa-udigits.c: Likewise.
7669 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7670 (_itoa_lower_digits_internal): Remove declaration.
7671 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7672 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7673 (_sys_sigabbrev_internal): Remove aliases.
7674 (_sys_siglist): Define hidden alias.
7676 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7681 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7684 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7685 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7687 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7688 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7689 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7690 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7691 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7692 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7694 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7695 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7696 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7698 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7706 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7707 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7708 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7710 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7711 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7712 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7713 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7714 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7715 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7717 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7718 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7720 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7721 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7723 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7724 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7725 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7727 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7728 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7730 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7732 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7733 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7734 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7736 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7738 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7740 2012-05-31 Joseph Myers <joseph@codesourcery.com>
7742 * math/math.h (M_El): Use two more decimal places.
7743 (M_LOG2El): Likewise.
7744 (M_LOG10El): Likewise.
7746 (M_LN10l): Likewise.
7748 (M_PI_2l): Likewise.
7749 (M_PI_4l): Likewise.
7750 (M_1_PIl): Likewise.
7751 (M_2_PIl): Likewise.
7752 (M_2_SQRTPIl): Likewise.
7753 (M_SQRT2l): Likewise.
7754 (M_SQRT1_2l): Likewise.
7756 2012-05-31 David S. Miller <davem@davemloft.net>
7758 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7759 values between float registers.
7760 * sysdeps/sparc/sparc64/memset.S: Likewise.
7761 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7763 2012-05-31 Mike Frysinger <vapier@gentoo.org>
7765 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7766 -D_FORTIFY_SOURCE=1.
7767 (CPPFLAGS-tst-longjmp_chk.c): Define.
7768 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7769 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7770 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7771 CFLAGS-tst-wchar-h.c.
7773 2012-05-31 Marek Polacek <polacek@redhat.com>
7776 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7777 __endmntent_internal): Remove declaration.
7778 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7779 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7780 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7782 2012-05-30 David S. Miller <davem@davemloft.net>
7784 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7785 (___Q_simulate_exceptions): Use real FP ops rather than writing
7787 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7790 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7793 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7794 * sysdeps/x86/bits/xtitypes.h: This.
7796 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7797 * sysdeps/x86/bits/wordsize.h: This.
7799 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7800 * sysdeps/x86/bits/huge_vall.h: This.
7802 * sysdeps/i386/bits/select.h: Removed.
7803 * sysdeps/x86_64/bits/select.h: Renamed to ...
7804 * sysdeps/x86/bits/select.h: This.
7806 * sysdeps/i386/bits/setjmp.h: Removed.
7807 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7808 * sysdeps/x86/bits/setjmp.h: This.
7810 * sysdeps/i386/bits/mathdef.h: Removed.
7811 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7812 * sysdeps/x86/bits/mathdef.h: This.
7814 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7817 * include/sys/socket.h (__connect_internal)
7818 (__libc_sa_len_internal): Remove declaration.
7819 (__connect, __libc_sa_len): Declare hidden_proto.
7820 (SA_LEN): Remove use of INTUSE.
7821 * socket/connect.c: Add libc_hidden_def.
7822 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7823 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7824 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7826 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7827 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7828 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7829 of adding _internal alias.
7831 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7834 * sysdeps/i386/bits/link.h: Removed.
7835 * sysdeps/i386/bits/linkmap.h: Likewise.
7836 * sysdeps/x86_64/bits/link.h: Renamed to ...
7837 * sysdeps/x86/bits/link.h: This.
7838 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7839 * sysdeps/x86/bits/linkmap.h: This.
7841 * sysdeps/i386/bits/endian.h: Removed.
7842 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7843 * sysdeps/x86/bits/endian.h: This.
7845 * sysdeps/i386/bits/byteswap.h: Removed.
7846 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7847 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7848 * sysdeps/x86/bits/byteswap.h: This.
7849 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7850 * sysdeps/x86/bits/byteswap-16.h: This.
7851 * sysdeps/i386/Implies: Add x86.
7852 * sysdeps/x86_64/Implies: Likewise.
7854 2012-05-30 David S. Miller <davem@davemloft.net>
7856 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7857 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7858 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7859 (FP_TRAPPING_EXCEPTIONS): Define.
7860 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7861 (FP_TRAPPING_EXCEPTIONS): Define.
7862 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7863 subnormals only when inexact has been signalled or underflow
7864 exceptions are enabled.
7865 (_FP_PACK_CANONICAL): Likewise.
7867 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7870 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7871 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
7873 2012-05-30 Richard Henderson <rth@twiddle.net>
7875 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
7876 with #ifndef NOT_IN_libc.
7878 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
7879 marked to avoid plt entry.
7881 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7884 * Makeconfig (default-abi): New macro.
7885 (abi-includes): Likewise.
7886 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
7887 $(abi-$(default-abi)-lib-soname) for soname if defined.
7888 ($(common-objpfx)gnu/lib-names.stmp): Generate from
7890 * Makefile (installed-stubs): Likewise.
7891 * include/stubs-biarch.h: Removed.
7892 * scripts/lib-names.awk: Only handle one library at a time.
7893 * scripts/soversions.awk: Remove WORDSIZE support.
7894 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
7896 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
7898 (syscall-list-default-condition): Likewise.
7899 (syscall-list-default-condition): Likewise.
7900 (syscall-list-includes): Likewise.
7901 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
7902 syscall-list-* with abi-*. Handle undefined abi-variants.
7903 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
7904 * sysdeps/unix/sysv/linux/i386/Implies: New file.
7905 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
7906 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
7907 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
7908 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
7910 (syscall-list-32-options): Likewise.
7911 (syscall-list-32-condition): Likewise.
7912 (syscall-list-64-options): Likewise.
7913 (syscall-list-64-condition): Likewise.
7914 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
7916 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
7919 (abi-64-ld-soname): New macro.
7920 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
7921 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
7924 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
7925 * sysdeps/x86_64/x32/shlib-versions: Likewise.
7927 2012-05-30 Joseph Myers <joseph@codesourcery.com>
7929 * sysdeps/unix/sysv/linux/kernel-features.h
7930 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
7931 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
7932 include <kernel-features.h>.
7933 [!__NR_ftruncate64]: Remove conditional code.
7934 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7935 [__NR_ftruncate64]: Make code unconditional.
7936 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7937 * sysdeps/unix/sysv/linux/truncate64.c: Do not
7938 include <kernel-features.h>.
7939 [!__NR_ftruncate64]: Remove conditional code.
7940 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7941 [__NR_ftruncate64]: Make code unconditional.
7942 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
7944 include <kernel-features.h>.
7945 [!__NR_ftruncate64]: Remove conditional code.
7946 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7947 [__NR_ftruncate64]: Make code unconditional.
7948 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7950 include <kernel-features.h>.
7951 [!__NR_ftruncate64]: Remove conditional code.
7952 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7953 [__NR_ftruncate64]: Make code unconditional.
7954 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
7956 * configure.in (libc_cv_fpie): Weaken to a compile test using
7958 * configure: Regenerated.
7960 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
7963 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
7964 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
7965 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7967 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
7968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
7969 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
7970 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
7971 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
7972 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7975 2012-05-27 David S. Miller <davem@davemloft.net>
7977 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
7979 (__Q_simulate_exceptions): Return void. Change to simulate
7980 exceptions by writing into the %fsr.
7981 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
7982 (__Qp_handle_exceptions): Likewise.
7984 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
7985 __Qp_handle_exceptions.
7986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
7987 __Qp_handle_exceptions.
7988 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7989 as unused and give dummy FP_RND_NEAREST initializer.
7990 (FP_INHIBIT_RESULTS): Define.
7991 (___Q_simulate_exceptions): Update declaration.
7992 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
7994 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
7995 as unused and give dummy FP_RND_NEAREST initializer.
7996 (__Qp_handle_exceptions): Update declaration.
7997 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8000 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8002 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8003 the temporary FPU control word.
8004 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8005 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8006 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8007 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8008 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8009 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8010 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8011 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8012 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8013 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8014 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8016 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8018 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8021 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8023 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8024 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8025 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8026 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8028 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8029 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8032 2012-05-27 Ulrich Drepper <drepper@gmail.com>
8034 * po/h.po: Update from translation team.
8036 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8038 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8040 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8041 handling of denormals.
8042 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8043 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8044 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8045 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8046 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8047 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8048 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8051 2012-05-26 Marek Polacek <polacek@redhat.com>
8054 * math/libm-test.inc (fma_test): Don't always expect underflow
8057 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8060 * elf/tst-execstack.c: Include stackinfo.h.
8061 (do_test): Adjust test case to ensure that pthread_getattr_np
8062 behaviour remains the same after marking stack executable.
8064 2012-05-25 Joseph Myers <joseph@codesourcery.com>
8066 * sysdeps/unix/sysv/linux/kernel-features.h
8067 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8068 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8070 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8071 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8072 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8074 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8075 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8077 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8079 * configure.in: Define the default includes to being none.
8080 * configure: Regenerated.
8082 2012-05-25 Roland McGrath <roland@hack.frob.com>
8084 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8085 * sysdeps/x86_64/setjmp.S: Likewise.
8086 * sysdeps/i386/bsd-setjmp.S: Likewise.
8087 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8088 * sysdeps/i386/setjmp.S: Likewise.
8089 * sysdeps/i386/__longjmp.S: Likewise.
8090 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8091 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8093 * include/stap-probe.h: New file.
8094 * configure.in: Handle --enable-systemtap.
8095 * configure: Regenerated.
8096 * config.h.in (USE_STAP_PROBE): New #undef.
8097 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8098 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8099 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8101 2012-05-25 Joseph Myers <joseph@codesourcery.com>
8104 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8105 to 2.4.0 where earlier.
8106 * sysdeps/unix/sysv/linux/configure: Regenerated.
8107 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
8108 <kernel-features.h>.
8109 [__ASSUME_32BITUIDS]: Make code unconditional.
8110 [!__ASSUME_32BITUIDS]: Remove conditional code.
8111 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
8112 <kernel-features.h>.
8113 [__ASSUME_32BITUIDS]: Make code unconditional.
8114 [!__ASSUME_32BITUIDS]: Remove conditional code.
8115 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8116 [__ASSUME_32BITUIDS]: Make code unconditional.
8117 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8118 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8119 <kernel-features.h>.
8120 [__ASSUME_32BITUIDS]: Make code unconditional.
8121 [!__ASSUME_32BITUIDS]: Remove conditional code.
8122 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8123 <kernel-features.h>.
8124 [__ASSUME_32BITUIDS]: Make code unconditional.
8125 [!__ASSUME_32BITUIDS]: Remove conditional code.
8126 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8127 <kernel-features.h>.
8128 [__ASSUME_32BITUIDS]: Make code unconditional.
8129 [!__ASSUME_32BITUIDS]: Remove conditional code.
8130 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8131 <kernel-features.h>.
8132 [__ASSUME_32BITUIDS]: Make code unconditional.
8133 [!__ASSUME_32BITUIDS]: Remove conditional code.
8134 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8135 <kernel-features.h>.
8136 [__ASSUME_32BITUIDS]: Make code unconditional.
8137 [!__ASSUME_32BITUIDS]: Remove conditional code.
8138 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8139 <kernel-features.h>.
8140 [__ASSUME_32BITUIDS]: Make code unconditional.
8141 [!__ASSUME_32BITUIDS]: Remove conditional code.
8142 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8143 <kernel-features.h>.
8144 [__ASSUME_32BITUIDS]: Make code unconditional.
8145 [!__ASSUME_32BITUIDS]: Remove conditional code.
8146 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8147 <kernel-features.h>.
8148 [__ASSUME_32BITUIDS]: Make code unconditional.
8149 [!__ASSUME_32BITUIDS]: Remove conditional code.
8150 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8151 <kernel-features.h>.
8152 [__ASSUME_32BITUIDS]: Make code unconditional.
8153 [!__ASSUME_32BITUIDS]: Remove conditional code.
8154 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8155 <kernel-features.h>.
8156 [__ASSUME_32BITUIDS]: Make code unconditional.
8157 [!__ASSUME_32BITUIDS]: Remove conditional code.
8158 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8159 <kernel-features.h>.
8160 [__NR_setresgid] (__setresgid): Do not declare.
8161 [__ASSUME_32BITUIDS]: Make code unconditional.
8162 [!__ASSUME_32BITUIDS]: Remove conditional code.
8163 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8164 <kernel-features.h>.
8165 [__NR_setresuid] (__setresuid): Do not declare.
8166 [__ASSUME_32BITUIDS]: Make code unconditional.
8167 [!__ASSUME_32BITUIDS]: Remove conditional code.
8168 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8169 <kernel-features.h>.
8170 [__ASSUME_32BITUIDS]: Make code unconditional.
8171 [!__ASSUME_32BITUIDS]: Remove conditional code.
8172 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8173 <kernel-features.h>.
8174 [__ASSUME_32BITUIDS]: Make code unconditional.
8175 [!__ASSUME_32BITUIDS]: Remove conditional code.
8176 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8177 <kernel-features.h>.
8178 [__ASSUME_32BITUIDS]: Make code unconditional.
8179 [!__ASSUME_32BITUIDS]: Remove conditional code.
8180 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8181 <kernel-features.h>.
8182 [__ASSUME_32BITUIDS]: Make code unconditional.
8183 [!__ASSUME_32BITUIDS]: Remove conditional code.
8184 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8185 <kernel-features.h>.
8186 [__ASSUME_32BITUIDS]: Make code unconditional.
8187 [!__ASSUME_32BITUIDS]: Remove conditional code.
8188 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8189 <kernel-features.h>.
8190 [__ASSUME_32BITUIDS]: Make code unconditional.
8191 [!__ASSUME_32BITUIDS]: Remove conditional code.
8192 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8193 <kernel-features.h>.
8194 [__ASSUME_32BITUIDS]: Make code unconditional.
8195 [!__ASSUME_32BITUIDS]: Remove conditional code.
8196 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8197 <kernel-features.h>.
8198 [__ASSUME_32BITUIDS]: Make code unconditional.
8199 [!__ASSUME_32BITUIDS]: Remove conditional code.
8200 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8201 <kernel-features.h>.
8202 [__ASSUME_32BITUIDS]: Make code unconditional.
8203 [!__ASSUME_32BITUIDS]: Remove conditional code.
8204 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8205 <kernel-features.h>.
8206 [__ASSUME_32BITUIDS]: Make code unconditional.
8207 [!__ASSUME_32BITUIDS]: Remove conditional code.
8208 * sysdeps/unix/sysv/linux/kernel-features.h
8209 (__ASSUME_SETRESUID_SYSCALL): Remove.
8210 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8211 (__ASSUME_32BITUIDS): Likewise.
8212 (__ASSUME_LDT_WORKS): Likewise.
8213 (__ASSUME_O_DIRECTORY): Likewise.
8214 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8215 architecture but not kernel version.
8216 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8217 (__ASSUME_MMAP2_SYSCALL): Likewise.
8218 (__ASSUME_STAT64_SYSCALL): Likewise.
8219 (__ASSUME_IPC64): Likewise.
8220 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8221 <kernel-features.h>.
8222 [__ASSUME_32BITUIDS]: Make code unconditional.
8223 [!__ASSUME_32BITUIDS]: Remove conditional code.
8224 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8225 <kernel-features.h>.
8226 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8227 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8228 132096]: Remove conditional code.
8229 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8230 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8231 <kernel-features.h>.
8232 [__ASSUME_32BITUIDS]: Make code unconditional.
8233 [!__ASSUME_32BITUIDS]: Remove conditional code.
8234 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8235 <kernel-features.h>.
8236 [__ASSUME_32BITUIDS]: Make code unconditional.
8237 [!__ASSUME_32BITUIDS]: Remove conditional code.
8238 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8239 <kernel-features.h>.
8240 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8242 (__setresgid): Do not declare.
8243 [__ASSUME_32BITUIDS]: Make code unconditional.
8244 [!__ASSUME_32BITUIDS]: Remove conditional code.
8245 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8246 <kernel-features.h>.
8247 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8249 (__setresuid): Do not declare.
8250 [__ASSUME_32BITUIDS]: Make code unconditional.
8251 [!__ASSUME_32BITUIDS]: Remove conditional code.
8252 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8253 <kernel-features.h>.
8254 [__ASSUME_32BITUIDS]: Make code unconditional.
8255 [!__ASSUME_32BITUIDS]: Remove conditional code.
8256 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8257 <kernel-features.h>.
8258 [__ASSUME_32BITUIDS]: Make code unconditional.
8259 [!__ASSUME_32BITUIDS]: Remove conditional code.
8261 2012-05-25 Richard Henderson <rth@twiddle.net>
8263 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8264 dl_hwcap to ifunc resolver.
8265 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8267 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8268 dl_hwcap to ifunc resolver.
8269 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8271 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8274 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8275 for |x| <= 2**-26, not 2**-57.
8276 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8279 2012-05-24 Jeff Law <law@redhat.com>
8281 * stdio-common/Makefile (tests): Add bug25.
8282 * stdio-common/bug25.c: New test.
8284 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8287 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8288 multiple of MALLOC_ALIGNMENT in size.
8289 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8291 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8293 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8295 (FILENAME_MAX): Use macro-int-constant.
8296 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8297 (_IOFBF): Use macro-int-constant.
8300 (SEEK_CUR): Likewise.
8301 (SEEK_END): Likewise.
8302 (SEEK_SET): Likewise.
8303 (TMP_MAX): Likewise.
8304 (EOF): Use macro-int-constant. Require < 0.
8305 (NULL): Use macro-constant. Require == 0.
8306 (stdin): Require type to be FILE *.
8309 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8311 (EXIT_SUCCESS): Likewise.
8312 (NULL): Use macro-constant. Require == 0.
8313 (RAND_MAX): Use macro-int-constant.
8314 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8315 [C99-based standards] (strtof): Require function.
8316 [C99-based standards] (strtold): Likewise.
8317 [C99-based standards] (strtoll): Likewise.
8318 [C99-based standards] (strtoull): Likewise.
8319 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8320 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8321 [ISO || ISO99 || ISO11] (math.h): Likewise.
8322 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8323 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8324 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8326 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8329 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8330 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8331 * intl/dgettext.c (DCGETTEXT): Likewise.
8332 * intl/gettext.c (DCGETTEXT): Likewise.
8333 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8334 * posix/regex_internal.h (gettext): Likewise.
8335 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8337 * include/argz.h (__argz_count_internal)
8338 (__argz_stringify_internal): Remove declaration.
8339 (__argz_count, __argz_stringify): Declare hidden proto.
8340 * intl/dcgettext.c: Remove use of INTDEF.
8341 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8342 * string/argz-stringify.c: Likewise.
8343 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8344 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8345 Declare hidden proto.
8346 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8347 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8348 Declare hidden proto.
8349 * include/stdio.h (__asprintf_internal): Don't declare.
8350 (__asprintf): Don't define as macro. Declare hidden proto.
8351 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8352 (__fsetlocking): Declare hidden proto.
8353 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8354 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8356 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8357 (_IO_setlinebuf): Remove use of INTUSE.
8358 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8359 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8360 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8362 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8363 (_IO_do_flush): Remove use of INTUSE.
8364 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8365 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8366 (_IO_adjust_column, _IO_least_wmarker)
8367 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8368 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8369 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8370 (_IO_default_doallocate, _IO_wdefault_doallocate)
8371 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8372 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8373 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8374 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8375 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8376 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8377 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8378 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8379 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8380 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8381 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8382 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8383 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8385 (_IO_flush_all_internal, _IO_adjust_column_internal)
8386 (_IO_default_uflow_internal, _IO_default_finish_internal)
8387 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8388 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8389 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8390 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8391 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8392 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8393 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8394 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8395 (_IO_file_close_internal, _IO_file_close_it_internal)
8396 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8397 (_IO_file_init_internal, _IO_file_attach_internal)
8398 (_IO_file_fopen_internal, _IO_file_read_internal)
8399 (_IO_file_sync_internal, _IO_file_seek_internal)
8400 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8401 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8402 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8403 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8404 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8405 (_IO_list_all_internal, _IO_link_in_internal)
8406 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8407 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8408 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8409 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8410 (_IO_do_write_internal, _IO_padn_internal)
8411 (_IO_getline_info_internal, _IO_getline_internal)
8412 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8413 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8414 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8415 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8416 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8417 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8418 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8419 with libc_hidden_ver, remove use of INTUSE.
8420 * libio/genops.c: Likewise.
8421 * libio/freopen.c: Likewise.
8422 * libio/freopen64.c: Likewise.
8423 * libio/iofclose.c: Likewise.
8424 * libio/iofdopen.c: Likewise.
8425 * libio/iofflush.c: Likewise.
8426 * libio/iofflush_u.c: Likewise.
8427 * libio/iofgets.c: Likewise.
8428 * libio/iofgets_u.c: Likewise.
8429 * libio/iofopen.c: Likewise.
8430 * libio/iofopncook.c: Likewise.
8431 * libio/iofread.c: Likewise.
8432 * libio/iofread_u.c: Likewise.
8433 * libio/ioftell.c: Likewise.
8434 * libio/iofwrite.c: Likewise.
8435 * libio/iogetline.c: Likewise.
8436 * libio/iogets.c: Likewise.
8437 * libio/iogetwline.c: Likewise.
8438 * libio/iopadn.c: Likewise.
8439 * libio/iopopen.c: Likewise.
8440 * libio/ioseekoff.c: Likewise.
8441 * libio/ioseekpos.c: Likewise.
8442 * libio/iosetbuffer.c: Likewise.
8443 * libio/iosetvbuf.c: Likewise.
8444 * libio/ioungetc.c: Likewise.
8445 * libio/ioungetwc.c: Likewise.
8446 * libio/iovdprintf.c: Likewise.
8447 * libio/iovsprintf.c: Likewise.
8448 * libio/iovsscanf.c: Likewise.
8449 * libio/memstream.c: Likewise.
8450 * libio/obprintf.c: Likewise.
8451 * libio/oldfileops.c: Likewise.
8452 * libio/oldiofclose.c: Likewise.
8453 * libio/oldiofdopen.c: Likewise.
8454 * libio/oldiofopen.c: Likewise.
8455 * libio/oldiopopen.c: Likewise.
8456 * libio/oldstdfiles.c: Likewise.
8457 * libio/putc.c: Likewise.
8458 * libio/setbuf.c: Likewise.
8459 * libio/setlinebuf.c: Likewise.
8460 * libio/stdfiles.c: Likewise.
8461 * libio/strops.c: Likewise.
8462 * libio/vasprintf.c: Likewise.
8463 * libio/vscanf.c: Likewise.
8464 * libio/vsnprintf.c: Likewise.
8465 * libio/vswprintf.c: Likewise.
8466 * libio/wfiledoalloc.c: Likewise.
8467 * libio/wfileops.c: Likewise.
8468 * libio/wgenops.c: Likewise.
8469 * libio/wmemstream.c: Likewise.
8470 * libio/wstrops.c: Likewise.
8471 * libio/__fpurge.c: Likewise.
8472 * libio/__fsetlocking.c: Likewise.
8473 * assert/assert.c: Likewise.
8474 * debug/fgets_chk.c: Likewise.
8475 * debug/fgets_u_chk.c: Likewise.
8476 * debug/fread_chk.c: Likewise.
8477 * debug/fread_u_chk.c: Likewise.
8478 * debug/gets_chk.c: Likewise.
8479 * debug/obprintf_chk.c: Likewise.
8480 * debug/vasprintf_chk.c: Likewise.
8481 * debug/vdprintf_chk.c: Likewise.
8482 * debug/vsnprintf_chk.c: Likewise.
8483 * debug/vsprintf_chk.c: Likewise.
8484 * malloc/mtrace.c: Likewise.
8485 * misc/error.c: Likewise.
8486 * misc/syslog.c: Likewise.
8487 * stdio-common/asprintf.c: Likewise.
8488 * stdio-common/fxprintf.c: Likewise.
8489 * stdio-common/getw.c: Likewise.
8490 * stdio-common/isoc99_fscanf.c: Likewise.
8491 * stdio-common/isoc99_scanf.c: Likewise.
8492 * stdio-common/isoc99_vfscanf.c: Likewise.
8493 * stdio-common/isoc99_vscanf.c: Likewise.
8494 * stdio-common/isoc99_vsscanf.c: Likewise.
8495 * stdio-common/printf-prs.c: Likewise.
8496 * stdio-common/printf_fp.c: Likewise.
8497 * stdio-common/printf_fphex.c: Likewise.
8498 * stdio-common/printf_size.c: Likewise.
8499 * stdio-common/putw.c: Likewise.
8500 * stdio-common/scanf.c: Likewise.
8501 * stdio-common/sprintf.c: Likewise.
8502 * stdio-common/tmpfile.c: Likewise.
8503 * stdio-common/vfprintf.c: Likewise.
8504 * stdio-common/vfscanf.c: Likewise.
8505 * stdlib/strfmon_l.c: Likewise.
8506 * sunrpc/openchild.c: Likewise.
8507 * sunrpc/xdr_stdio.c: Likewise.
8508 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8509 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8511 2012-05-24 Roland McGrath <roland@hack.frob.com>
8513 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8515 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8516 in the third column, to generate for the shared library an IFUNC
8517 that uses _dl_vdso_vsym.
8518 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8519 * Makeconfig (object-suffixes-noshared): New variable.
8521 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8522 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8523 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8524 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8527 * include/sys/time.h (__gettimeofday): Remove macro.
8528 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8529 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8531 (__gettimeofday): Add libc_hidden_def.
8532 (gettimeofday): Add libc_hidden_weak.
8533 * sysdeps/mach/gettimeofday.c: Likewise.
8534 * sysdeps/posix/gettimeofday.c: Likewise.
8535 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8536 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8537 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8538 (__gettimeofday_internal): Remove strong_alias.
8539 (__gettimeofday): Add libc_hidden_def.
8540 (gettimeofday): Add libc_hidden_weak.
8541 * sysdeps/unix/syscalls.list (gettimeofday):
8542 Remove __gettimeofday_internal alias.
8544 2012-05-24 Daniel Jacobowitz <drow@false.org>
8545 H.J. Lu <hongjiu.lu@intel.com>
8548 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8549 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8550 (largebin_index_32_big): New.
8551 (largebin_index): Use it for 16-byte alignment.
8552 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8553 correction with front_misalign.
8555 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8557 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8560 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8562 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8564 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8566 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8568 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8570 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8572 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8576 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8578 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8583 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8584 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8586 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8590 * math/libm-test.inc (exp_test): Add test from bug 14036.
8591 (pow_test): Add test from bug 10846.
8593 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8595 (special_function): Do not include flags in test name.
8596 (parse_args): Likewise.
8597 * sysdeps/i386/fpu/libm-test-ulps: Update.
8598 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8599 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8600 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8603 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8605 * math/libm-test.inc ("Philosophy"): Update comment about
8607 (UNDERFLOW_EXCEPTION): New macro.
8608 (UNDERFLOW_EXCEPTION_OK): Likewise.
8609 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8610 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8611 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8612 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8613 (INVALID_EXCEPTION_OK): Update value.
8614 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8615 (OVERFLOW_EXCEPTION_OK): Likewise.
8616 (IGNORE_ZERO_INF_SIGN): Likewise.
8617 (test_exceptions): Handle underflow exceptions.
8618 (acos_test): Update for underflow exception expectations.
8619 (cexp_test): Likewise.
8620 (clog_test): Likewise.
8621 (clog10_test): Likewise.
8622 (csqrt_test): Likewise.
8623 (ctan_test): Likewise.
8624 (ctanh_test): Likewise.
8625 (exp_test): Likewise.
8626 (exp10_test): Likewise.
8627 (exp2_test): Likewise.
8628 (expm1_test): Likewise.
8629 (fma_test): Likewise.
8630 (j0_test): Likewise.
8631 (jn_test): Likewise.
8632 (nexttoward_test): Likewise.
8633 (pow_test): Likewise.
8634 (scalbn_test): Likewise.
8635 (scalbln_test): Likewise.
8636 (tan_test): Likewise.
8637 (y1_test): Likewise.
8638 * sysdeps/i386/fpu/libm-test-ulps: Update.
8639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8641 2012-05-23 David S. Miller <davem@davemloft.net>
8643 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8644 (__libc_sigaction): Remove unused local variables.
8646 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8648 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8650 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8652 mktime: avoid signed integer overflow
8653 * time/mktime.c (__mktime_internal): Do not mishandle the case
8654 where diff == INT_MIN.
8656 mktime: simplify computation of average
8657 * time/mktime.c (ranged_convert): Use new time_t_avg function
8658 instead of rolling our own (probably-slower) code.
8660 mktime: do not assume signed right shift propagates sign bit
8661 * time/mktime.c (isdst_differ): New static function.
8662 (__mktime_internal): No need to normalize tm_isdst now.
8663 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8666 mktime: merge another wrapv change from gnulib
8667 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8668 from some compilers.
8670 mktime: remove incorrect attempt at unusual arithmetics
8671 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8672 The code didn't really work on such machines anyway.
8673 (TYPE_MINIMUM): Assume two's complement.
8674 (twos_complement_arithmetic): Verify that long_int and time_t
8675 are two's complement (or unsigned, in the latter case).
8677 mktime: check signed shifts on long_int and time_t, too
8678 * time/mktime.c (SHR): Check that shifts work as desired
8679 on the types long_int and time_t too, as SHR is used on
8682 mktime: do not assume 'long' is wide enough
8683 * time/mktime.c (verify): Move decl up.
8684 (long_int): New type.
8685 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8686 to remove assumption in the code that 'long' is wide enough to
8687 store year values. This assumption is not true on x32 and on
8688 some non-glibc platforms.
8690 mktime: merge wrapv change from gnulib
8691 * time/mktime.c (WRAPV): New macro.
8692 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8693 (guess_time_tm, __mktime_internal): Do not assume that signed
8694 integer overflow wraps around; modern compilers generate code
8695 where this assumption is no longer valid.
8697 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8699 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8700 Replace "jmp L(pseudo_end)" with "ret".
8701 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8704 2012-05-23 Andreas Jaeger <aj@suse.de>
8706 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8707 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8709 2012-05-23 Andreas Jaeger <aj@suse.de>
8710 Maximilian Attems <max@stro.at>
8712 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8715 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8717 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8718 code so that pseudo_end is just ret and the stack pointer is
8719 correct also for static library in error case.
8721 2012-05-23 Joseph Myers <joseph@codesourcery.com>
8723 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8724 move to syscalls.list.
8725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8730 * manual/install.texi (Running make install): Do not mention Linux
8731 kernel version for which pt_chown is not needed.
8732 (Linux): Do not mention problems with nscd with 2.0 kernels.
8733 * INSTALL: Regenerated.
8735 2012-05-23 Andreas Jaeger <aj@suse.de>
8737 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8738 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8740 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8741 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8742 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8743 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8744 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8745 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8746 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8747 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8748 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8749 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8750 * sysdeps/unix/sysv/linux/bits/in.h
8751 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8753 2012-05-22 Roland McGrath <roland@hack.frob.com>
8755 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8756 (PREPARE_VERSION): Just use assert instead, it will be elided
8757 under [NDEBUG] anyway.
8759 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8761 * sysdeps/unix/sysv/linux/Makefile: Include
8762 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
8763 (sysdep_routines): Remove sysctl.
8764 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8765 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8766 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8767 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8768 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8770 2012-05-22 Andreas Jaeger <aj@suse.de>
8772 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8773 that pseudo_end is just ret and the stack pointer is correct also
8774 for static library in error case.
8776 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8779 * nss/nsswitch.c (defconfig_entries): New variable.
8780 (__nss_database_lookup): Don't leak defconfig entries.
8781 (nss_parse_service_list): Don't leak on error paths.
8782 (free_database_entries): New function.
8783 (free_defconfig): New function.
8784 (free_mem): Move common code to free_database_entries.
8786 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8788 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8790 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8792 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8793 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8794 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8796 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8797 (INTERNAL_SYSCALL_TYPES): Likewise.
8798 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8799 (LOAD_REGS_TYPES_[1-6]): Likewise.
8800 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8801 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8803 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8805 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8806 copysignl for GLIBC_2_0.
8807 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8808 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8809 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8810 logbl for GLIBC_2_0.
8811 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8812 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8814 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8816 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8817 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8819 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8822 * time/mktime.c: Update copyright years.
8824 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8826 mktime: merge comment-quoting-style change from gnulib
8827 * time/mktime.c: Quote 'like this' in comments.
8828 The GNU coding standards suggest that we no longer quote `like this',
8829 as "`" and "'" are typically rendered asymmetrically nowadays.
8830 The typical gnulib style is to quote 'like this' when quoting
8831 code, and "like this" when quoting English.
8833 * time/mktime.c (compile-command): Add "-I.".
8835 mktime: merge mktime-internal.h change from gnulib
8836 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8838 mktime: merge time_r change from gnulib
8839 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8841 mktime: merge DEBUG change from gnulib
8842 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8843 case system <time.h> has a #define.
8845 mktime: merge <sys/types.h> change from gnulib
8846 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8847 since <time.t> is now guaranteed to define time_t.
8849 mktime: merge HAVE_CONFIG_H change from gnulib
8850 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8852 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8854 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8857 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8859 (struct rusage): Use anonymous union to pad each field to
8862 2012-05-21 David S. Miller <davem@davemloft.net>
8864 * Makefules (o-iterator): Remove .s cases.
8865 (compile-command.s): Delete.
8866 (COMPILE.s): Delete.
8867 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8869 2012-05-21 Joseph Myers <joseph@codesourcery.com>
8871 * configure.in (libc_cv_predef_stack_protector): Only consider
8872 "foobar" and "__stack_chk_fail" lines in libc_undefs.
8873 * configure: Regenerated.
8875 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8877 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8878 New macro. Use R*LP on int and pointer.
8879 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
8880 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
8881 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
8882 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
8884 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
8885 [__WORDSIZE_TIME64_COMPAT32] instead of
8886 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
8887 (struct utmp): Likewise.
8888 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
8889 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
8891 (__WORDSIZE_TIME64_COMPAT32): This.
8892 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
8893 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
8894 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
8895 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
8896 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
8897 (__WORDSIZE_TIME64_COMPAT32): New macro.
8899 2012-05-21 Andreas Jaeger <aj@suse.de>
8901 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
8902 only if [SHARED]. Add prototype for __wcschr_ia32.
8904 2012-05-21 Roland McGrath <roland@hack.frob.com>
8906 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
8907 of %rbp unmolested in the jmp_buf while mangling the low bits.
8908 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
8909 unmolested high bits of %rbp while demangling the low bits.
8910 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8912 2012-05-21 Andreas Jaeger <aj@suse.de>
8914 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
8915 * sunrpc/svc_simple.c: Use it for registerrpc.
8916 * sunrpc/xcrypt.c: Use it for passwd2des.
8918 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
8920 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8922 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
8923 Don't define if [__SYSCALL_WORDSIZE != 32].
8924 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
8927 2012-05-21 Bruno Haible <bruno@clisp.org>
8928 Andreas Jaeger <aj@suse.de>
8930 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
8931 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
8932 inptr and inend for must_buffer_ch.
8933 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
8934 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
8935 * stdio-common/Makefile (tests): Remove bug15.
8936 (bug15-ENV): Remove macro.
8937 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
8940 2012-05-19 Andreas Jaeger <aj@suse.de>
8941 Roland McGrath <roland@hack.frob.com>
8943 * manual/contrib.texi: Completely rewritten. It contains now an
8944 alphabetical list of contributors and their contributions.
8946 2012-05-21 Richard Henderson <rth@twiddle.net>
8948 * misc/getauxval.c (__getauxval): Use unsigned long int.
8949 * misc/sys/auxv.h: Include <sys/cdefs.h>.
8950 (getauxval): Use unsigned long int.
8952 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
8954 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8956 2012-05-21 Roland McGrath <roland@hack.frob.com>
8958 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
8959 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
8960 __alignof__ (long double).
8962 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8966 2012-05-20 Richard Henderson <rth@twiddle.net>
8968 * misc/getauxval.c: New file.
8969 * misc/sys/auxv.h: New file.
8970 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
8971 (routines): Add getauxval.
8972 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
8973 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
8974 * elf/dl-sysdep.c (_dl_auxv): Remove.
8975 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
8976 * elf/dl-support.c (_dl_auxv): New variable.
8977 (_dl_aux_init): Initialize it.
8978 * manual/startup.texi (Auxiliary Vector): New node.
8979 * sysdeps/generic/bits/hwcap.h: New file.
8980 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
8981 * sysdeps/powerpc/sysdep.h: ... here. Include it.
8982 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
8983 * sysdeps/sparc/sysdep.h: ... here. Include it.
8984 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
8985 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
8986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
8989 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
8990 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
8991 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
8992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8993 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
8994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
8995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
8997 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9001 2012-05-19 David S. Miller <davem@davemloft.net>
9003 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9005 2012-05-19 Joseph Myers <joseph@codesourcery.com>
9008 * math/s_ccosh.c: Include <float.h>
9009 (__ccosh): Avoid internal overflow calculating sinh and cosh
9010 values before multiplying by sin and cos values.
9011 * math/s_ccoshf.c: Likewise.
9012 * math/s_ccoshl.c: Likewise.
9013 * math/s_csin.c: Likewise.
9014 * math/s_csinf.c: Likewise.
9015 * math/s_csinl.c: Likewise.
9016 * math/s_csinh.c: Likewise.
9017 * math/s_csinhf.c: Likewise.
9018 * math/s_csinhl.c: Likewise.
9019 * math/libm-test.inc (ccos_test): Add more tests.
9020 (ccosh_test): Likewise.
9021 (csin_test): Likewise.
9022 (csinh_test): Likewise.
9023 * sysdeps/i386/fpu/libm-test-ulps: Update.
9024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9026 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9028 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9029 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9031 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9033 2012-05-19 Joseph Myers <joseph@codesourcery.com>
9035 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9036 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9037 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9038 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9039 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9040 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9041 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9042 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9043 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9044 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9045 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9046 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9047 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9048 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9049 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9050 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9051 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9052 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9053 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9054 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9055 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9056 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9057 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9058 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9059 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9060 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9061 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9062 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9063 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9064 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9065 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9067 2012-05-18 Andreas Jaeger <aj@suse.de>
9069 * csu/.gitignore: Delete.
9071 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9073 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9074 (timex): Use __syscall_slong_t.
9076 2012-05-18 Andreas Jaeger <aj@suse.de>
9077 Carlos O'Donell <carlos_odonell@mentor.com>
9079 * manual/install.texi (Configuring and compiling): Update
9080 description about files modified in the source directory.
9081 * INSTALL: Regenerated.
9083 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9085 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9086 value. Use "or" to set return value to -1.
9087 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9088 negate return value.
9090 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9092 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9093 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9094 failure if the compiler has Graphite support disabled.
9095 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9097 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9098 CFLAGS-memmove.c): Likewise.
9099 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9102 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9104 * sysdeps/x86_64/x32/_itoa.h: New file.
9106 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9107 getdents system call only if kernel and user dirents have the
9108 same d_ino and d_off.
9110 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9111 LLONG_MAX != LONG_MAX.
9112 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9113 (_fitoa_word): Likewise.
9115 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9117 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9118 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9119 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9121 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9122 include <bits/wordsize.h>. Check __x86_64__ instead of
9124 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9125 if __x86_64__ is defined. Use anonymous union on fpstate.
9127 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9130 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9132 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9133 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9134 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9135 Refer to _rtld_local_ro instead of _rtld_global_ro.
9136 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9138 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9140 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9142 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9143 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9144 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9146 * sysdeps/powerpc/powerpc32/dl-machine.c
9147 (__elf_machine_runtime_setup) [PROF]: Don't reference
9150 2012-05-18 Andreas Jaeger <aj@suse.de>
9152 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9153 function only available for GCCs before 3.4 since GCC 3.4
9154 introduced a builtin.
9156 (llrintf): Likewise.
9164 (nearbyint): Likewise.
9165 (nearbyintf): Likewise.
9171 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9173 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9174 on both fields and cast pointer to __syscall_ulong_t.
9176 * bits/types.h (__fsword_t): New type.
9177 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9178 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9179 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9180 (__FSWORD_T_TYPE): Likewise.
9181 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9182 (__FSWORD_T_TYPE): Likewise.
9183 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9184 (__FSWORD_T_TYPE): Likewise.
9185 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9186 (__FSWORD_T_TYPE): Likewise.
9187 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9188 __SWORD_TYPE with __fsword_t.
9189 (statfs64): Likewise.
9191 2012-05-17 David S. Miller <davem@davemloft.net>
9193 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9195 2012-05-17 Andreas Jaeger <aj@suse.de>
9197 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9200 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9202 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9204 2012-05-17 Andreas Jaeger <aj@suse.de>
9206 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9209 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9211 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9213 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9215 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9216 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9218 2012-05-17 Andreas Jaeger <aj@suse.de>
9219 Carlos O'Donell <carlos_odonell@mentor.com>
9222 * sysdeps/x86_64/multiarch/init-arch.h
9223 (bit_YMM_Usable): Rename to...
9224 (bit_AVX_Usable): ... this.
9225 (bit_FMA4_Usable): New macro.
9226 (bit_XMM_state): New macro.
9227 (bit_YMM_state): New macro.
9228 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9229 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9230 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9231 (CPUID_OSXSAVE): New macro.
9232 (CPUID_AVX): New macro.
9233 (CPUID_FMA4): New macro.
9234 (index_YMM_Usable): Rename to...
9235 (index_AVX_Usable): ... this.
9236 (HAS_AVX): Use HAS_ARCH_FEATURE.
9237 (HAS_FMA4): Likewise.
9238 (HAS_YMM_USABLE): Remove.
9239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9240 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9242 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9243 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9244 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9245 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9246 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9248 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9250 * math/libm-test.c: Support platforms without multiple rounding modes.
9251 * math/bug-nextafter.c: Support platforms without FP exceptions.
9252 * math/bug-nexttoward.c: Likewise.
9253 * math/test-fenv.c: Likewise.
9254 * math/test-misc.c: Likewise.
9255 * stdlib/bug-getcontext.c: Likewise.
9257 2012-05-17 Andreas Jaeger <aj@suse.de>
9259 * manual/examples/search.c (critter_cmp): Change signature to
9261 * manual/string.texi (Collation Functions): Likewise.
9263 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9265 * bits/types.h: Fold copyright years.
9266 * bits/typesizes.h: Likewise.
9267 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9268 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9269 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9270 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9271 * time/time.h: Likewise.
9273 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9276 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9277 in instead of returning them. Return void.
9278 (__libc_mallinfo): Accumulate over all arenas.
9279 (__malloc_stats): Adjust for change in int_mallinfo interface.
9281 2012-05-16 Roland McGrath <roland@hack.frob.com>
9284 * configure.in (NM): Add AC_CHECK_TOOL for it.
9285 (libc_extra_cflags): New substituted variable.
9286 Check for -fstack-protector being used implicitly.
9287 * configure: Regenerated.
9288 * config.make.in (config-extra-cflags): New variable,
9289 gets @libc_extra_cflags@.
9290 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9293 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9294 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9295 * configure: Regenerated.
9296 * config.make.in (CPPUNDEFS): New substituted variable.
9297 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9298 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9299 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9301 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9303 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9304 (mq_attr): Use __syscall_slong_t.
9306 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9308 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9309 Check __x86_64__ instead of __WORDSIZE.
9310 (_STAT_VER_LINUX): Likewise.
9311 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9312 __syscall_ulong_t and __syscall_slong_t.
9315 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9317 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9319 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9321 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9323 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9325 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9328 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9329 include <bits/wordsize.h>. Check __x86_64__ instead of
9331 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9333 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9335 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9336 include <bits/wordsize.h>. Check __x86_64__ instead of
9338 (user_regs_struct): Use "__extension__ unsigned long long"
9339 instead of "unsigned long" if __x86_64__ is defined.
9340 (user): Likewise. Pad after pointer field if __ILP32__ is
9343 2012-05-16 Joseph Myers <joseph@codesourcery.com>
9345 * configure.in (makeinfo): Require version 4.5 or later. Allow
9347 * configure: Regenerated.
9348 * manual/install.texi (texinfo): Increase version requirement to
9350 * INSTALL: Regenerated.
9352 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9354 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9356 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9358 * sysdeps/x86_64/x32/ffs.c: New file.
9360 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9362 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9363 defined. Use __syscall_ulong_t.
9364 (shminfo): Use __syscall_ulong_t.
9365 (shm_info): Likewise.
9367 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9370 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9372 (msgqnum_t): Use __syscall_ulong_t.
9373 (msglen_t): Likewise.
9374 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9377 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9378 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9380 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9382 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9383 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9385 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9388 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9389 include <bits/wordsize.h>. Check __x86_64__ instead of
9392 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9393 "unsigned long long int" if __x86_64__ is defined.
9394 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9396 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9397 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9398 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9400 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9402 (GET_PC): Cast to uintptr_t first.
9403 (GET_FRAME): Likewise.
9404 (GET_STACK): Likewise.
9406 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9407 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9408 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9409 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9410 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9411 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9412 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9413 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9414 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9415 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9416 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9417 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9418 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9419 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9420 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9421 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9422 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9423 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9424 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9425 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9426 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9427 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9428 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9429 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9430 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9431 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9432 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9433 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9434 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9436 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9438 * Makerules (+depfiles): Also collect depfiles from .oS in
9440 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9441 .oS, $(libnldbl-routines)).
9443 * Makerules (native-compile-mkdep-flags): Define.
9444 * sunrpc/Makefile (extra-objs): Add $(addprefix
9445 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9446 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9447 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9448 calling $(make-target-directory).
9450 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9452 * bits/types.h (__snseconds_t): Removed.
9453 * time/time.h (struct timespec): Replace __snseconds_t with
9455 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9456 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9458 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9459 (__SNSECONDS_T_TYPE): Likewise.
9460 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9461 (__SNSECONDS_T_TYPE): Likewise.
9462 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9463 (__SNSECONDS_T_TYPE): Likewise.
9465 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9467 * sysdeps/mach/hurd/bits/typesizes.h
9468 (__SYSCALL_SLONG_TYPE): New macro.
9469 (__SYSCALL_ULONG_TYPE): Likewise.
9471 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9473 * bits/types.h (__syscall_slong_t): New type.
9474 (__syscall_ulong_t): Likewise.
9476 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9477 (__SYSCALL_ULONG_TYPE): Likewise.
9478 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9479 (__SYSCALL_SLONG_TYPE): Likewise.
9480 (__SYSCALL_ULONG_TYPE): Likewise.
9481 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9482 (__SYSCALL_SLONG_TYPE): Likewise.
9483 (__SYSCALL_ULONG_TYPE): Likewise.
9484 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9485 (__SYSCALL_SLONG_TYPE): Likewise.
9486 (__SYSCALL_ULONG_TYPE): Likewise.
9488 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9490 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9491 Add sigaltstack-offsets.sym.
9492 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9493 <sigaltstack-offsets.h>.
9494 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9495 longjmp_msg pointer.
9496 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9497 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9499 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9501 2012-05-15 Joseph Myers <joseph@codesourcery.com>
9503 * elf/stackguard-macros.h: Remove file.
9504 * sysdeps/generic/stackguard-macros.h: New file.
9505 * sysdeps/i386/stackguard-macros.h: Likewise.
9506 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9507 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9508 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9509 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9510 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9511 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9512 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9513 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9514 <elf/stackguard-macros.h>.
9517 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9518 __aligned__ in attribute.
9519 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9520 (gregset_t): Likewise.
9522 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9524 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9525 * sysdeps/x86_64/64/Implies-after: Here. New file.
9526 * sysdeps/x86_64/x32/Implies-after: New file.
9528 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9530 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9531 and access return value for _dl_profile_fixup. Use R10_LP to
9534 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9536 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9538 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9540 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9541 * sysdeps/x86_64/x32/sysdep.h: New file.
9543 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9545 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9546 * sysdeps/x86_64/setjmp.S: Likewise.
9548 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9550 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9551 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9552 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9553 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9554 remove unused global constant.
9556 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9558 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9559 include of <not-cancel.h>.
9561 2012-05-15 Roland McGrath <roland@hack.frob.com>
9563 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9565 2012-05-15 Jeff Law <law@redhat.com>
9566 Andreas Jaeger <aj@suse.de>
9569 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9571 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9572 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9573 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9574 code changing __hst_map_handle.map.
9576 2012-05-15 Roland McGrath <roland@hack.frob.com>
9578 * configure.in (sysnames): Look for Implies-before and Implies-after
9580 * configure: Regenerated.
9582 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9584 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9585 8-byte data alignment with LP_SIZE alignment.
9587 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9589 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9592 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9594 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9596 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9598 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9599 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9600 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9602 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9604 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9606 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9607 (stackinfo_sub_sp): Likewise.
9609 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9611 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9614 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9616 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9619 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9621 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9624 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9626 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9628 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9630 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9631 into R11_LP and load __x86_64_shared_cache_size_half into
9634 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9636 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9639 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9641 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9643 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9645 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9647 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9648 powerpc32/power7/fpu/s_logb.c via #include.
9649 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9650 powerpc32/power7/fpu/s_logbf.c via #include.
9651 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9652 powerpc32/power7/fpu/s_logbl.c via #include.
9654 2012-05-15 Joseph Myers <joseph@codesourcery.com>
9656 * README.libm: Remove file.
9658 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9660 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9661 count for x32. Use R*_LP and omit operand-size suffix.
9663 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9665 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9666 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9667 * sysdeps/x86_64/x32/shlib-versions: New file.
9669 2012-05-14 Roland McGrath <roland@hack.frob.com>
9671 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9672 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9673 Use _dl_fatal_printf instead.
9675 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9677 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9678 set if not set by the user. Do not allow for being unset.
9679 * sysdeps/unix/sysv/linux/configure: Regenerated.
9681 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9683 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9684 the `q' suffix from lea and replace .quad with ASM_ADDR.
9686 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9688 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9689 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9691 (PTR_DEMANGLE): Likewise.
9693 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9695 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9697 (ASM_ADDR): Likewise.
9715 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9717 * sysdeps/x86_64/x32/dl-machine.h: New file.
9719 2012-05-14 Andreas Jaeger <aj@suse.de>
9721 * manual/Makefile (subdir): Remove export of subdir.
9722 (all): Remove target.
9723 (.PHONY): Remove all from list.
9724 (mkinstalldirs): Remove.
9725 (.PHONY): Remove installdirs from list.
9726 ($(inst_infodir)/libc.info): Use make-target-directory.
9727 (installdirs): Remove.
9729 (glibc-targets): Remove.
9732 ($(objpfx)stubs ../po/manual.pot): Remove.
9733 ($(objpfx)stamp%): Remove.
9734 (make-target-directory): Remove.
9735 (subdir_install): Remove.
9743 * manual/.gitignore: Remove, it's not needed anymore.
9744 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9746 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9748 (texis): Renamed to $(objpfx)texis.
9749 (texis-path): New, contains path to generated files.
9750 (chapters.%): Use texis-path for complete path, add extra argument
9752 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9753 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9754 (summary,texi, stamp-summary): Use complete path of
9755 files. Generate files in build dir.
9756 (dir-add.texi): Build in build dir.
9757 (libm-err.texi,stamp-libm-err): Likewise.
9758 (version.texi, stamp-version): Likewise.
9759 (.%c.texi): Likewise.
9760 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9761 (mostlyclean): Remove target.
9762 (realclean): Remove target.
9763 (generated): Add new variable with contents from mostlyclean and
9764 realclean, remove entries duplicated in common-mostlyclean, add
9765 stamp-libm-err and stamp-version.
9766 (generated-dirs): Add libc directory.
9767 ($(inst_infodir)/libc.info): Install files from build dir.
9769 * manual/install.texi (Configuring and compiling): Adjust since
9770 the info files are not part of the tar ball anymore.
9772 2012-05-14 Andreas Jaeger <aj@suse.de>
9774 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9777 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9780 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9781 to 2.2.0 where earlier.
9782 * sysdeps/unix/sysv/linux/configure: Regenerated.
9783 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9784 Remove conditional code.
9785 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9786 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9787 Remove conditional code.
9788 [!__NR_lchown]: Likewise.
9789 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9790 [__NR_lchown]: Likewise.
9791 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9792 comment referencing __ASSUME_LCHOWN_SYSCALL.
9793 * sysdeps/unix/sysv/linux/i386/sigaction.c
9794 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9795 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9796 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9797 Remove conditional code.
9798 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9799 (__protocol_available): Remove #if 0 code.
9800 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9802 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9803 * sysdeps/unix/sysv/linux/kernel-features.h
9804 (__ASSUME_GETCWD_SYSCALL): Don't define.
9805 (__ASSUME_REALTIME_SIGNALS): Likewise.
9806 (__ASSUME_PREAD_SYSCALL): Likewise.
9807 (__ASSUME_PWRITE_SYSCALL): Likewise.
9808 (__ASSUME_POLL_SYSCALL): Likewise.
9809 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9810 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9812 (__ASSUME_SIOCGIFNAME): Don't define.
9813 (__ASSUME_MSG_NOSIGNAL): Likewise.
9814 (__ASSUME_SENDFILE): Define unconditionally.
9815 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9816 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9818 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9819 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9820 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9821 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9822 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9823 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9824 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9826 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9827 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9829 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9830 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9832 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9833 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9835 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9836 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9838 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9839 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9841 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9842 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9844 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9845 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9847 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9848 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9849 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9850 Remove conditional code.
9851 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9852 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9853 Remove conditional code.
9854 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9855 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9856 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9857 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9858 Remove conditional code.
9859 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9860 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9861 Remove conditional code.
9862 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9863 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9864 Remove conditional code.
9865 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9866 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9867 Remove conditional code.
9868 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9869 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9870 Remove conditional code.
9871 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9872 * sysdeps/unix/sysv/linux/sh/pwrite64.c
9873 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9874 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9875 * sysdeps/unix/sysv/linux/sigaction.c
9876 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9877 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9878 * sysdeps/unix/sysv/linux/sigpending.c
9879 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9880 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9881 * sysdeps/unix/sysv/linux/sigprocmask.c
9882 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9883 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9884 * sysdeps/unix/sysv/linux/sigsuspend.c
9885 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9886 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9887 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9888 (__libc_missing_rt_sigs): Remove.
9889 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
9890 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
9891 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
9892 Remove conditional code.
9893 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
9894 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
9896 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
9897 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
9898 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
9899 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
9901 2012-05-14 Andreas Jaeger <aj@suse.de>
9903 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
9904 it's not used in glibc.
9905 (__coshm1): Likewise.
9906 (__acosh1p): Likewise.
9909 * manual/string.texi (Copying and Concatenation): Add missing
9910 variable in concat example.
9911 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
9913 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9916 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
9917 __builtin_clzl with __builtin_clzll.
9919 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9922 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
9925 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9927 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
9928 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
9929 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
9930 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
9932 2012-05-14 Mike Frysinger <vapier@gentoo.org>
9934 * NEWS: Update ia64 info.
9936 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
9938 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
9941 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
9943 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
9944 * sysdeps/unix/syscalls.list (dup3): Likewise.
9945 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
9946 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
9948 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9950 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
9951 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
9953 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
9955 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
9957 (TLS_IE): Use mov/add instead of movq/addq to load thread
9959 (TLS_GD_PREFIX): New.
9962 2012-05-11 David S. Miller <davem@davemloft.net>
9964 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
9965 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
9966 (_FPU_SETCW): Likewise.
9968 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9970 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
9973 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
9976 * iconvdata/gb18030.c: Update tables.
9977 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
9978 characters specially.
9979 (BODY for TO_LOOP): Add encoding of missing ranges.
9981 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
9984 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
9985 * sysdeps/mach/hurd/dup3.c: Likewise.
9986 * sysdeps/mach/hurd/readlinkat.c: Likewise.
9987 * sysdeps/powerpc/memmove.c:: Likewise.
9989 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9991 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
9992 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
9994 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
9996 * elf/elf.h (R_X86_64_RELATIVE64): New.
9997 (R_X86_64_NUM): Updated.
9998 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
9999 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10000 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10001 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10002 tst-quad1pie tst-quad2pie
10003 (modules-names): Add tst-quadmod1 tst-quadmod2.
10004 ($(objpfx)tst-quad1): New dependency.
10005 ($(objpfx)tst-quad2): Likewise.
10006 ($(objpfx)tst-quad1pie): Likewise.
10007 ($(objpfx)tst-quad2pie): Likewise.
10008 * sysdeps/x86_64/tst-quad1.c: New file.
10009 * sysdeps/x86_64/tst-quad1pie.c: New file.
10010 * sysdeps/x86_64/tst-quad2.c: Likewise.
10011 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10012 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10013 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10014 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10015 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10017 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10019 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10020 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10021 * streams/stropts.h (t_scalar_t): Define type.
10023 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10024 (_PATH_PRESERVE): Set to "/var/lib".
10025 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10027 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10030 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10031 if __dir_mkfile succeeded.
10033 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10034 checking for _hurd_dtablesize. Unlock it right after having
10035 finished _hurd_dtable allocation.
10037 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10039 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10040 * sysdeps/mach/hurd/configure: Regenerated.
10041 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10042 special-casing to...
10043 * sysdeps/gnu/configure.in: ... this new file.
10044 * sysdeps/unix/sysv/linux/configure: Regenerated.
10045 * sysdeps/gnu/configure: New generated file.
10047 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10048 for Linux: use nsec instead of usec, as well as:
10049 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10050 members of type struct timespec.
10051 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10053 (struct stat64): Likewise.
10054 (_STATBUF_ST_NSEC): New macro.
10055 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10057 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10058 __strtoul_internal rather than strtoul.
10060 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10062 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10065 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10067 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10068 which preserves existing values.
10069 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10071 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10073 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10074 TIMEOUT values. Return EINVAL for NFDS values either negative or
10075 greater than FD_SETSIZE.
10077 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10079 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10080 allocated, call __vm_protect to finish enabling the existing space, and
10081 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10082 allocate the remainder.
10084 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10086 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10087 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10089 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10091 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10092 sysdeps/mach/hurd/readlink.c.
10094 * posix/tst-sysconf.c (posix_options): Only use
10095 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10096 _POSIX_SYNCHRONIZED_IO when they are defined
10097 * sysdeps/mach/hurd/bits/posix_opt.h:
10098 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10099 (_XOPEN_REALTIME): Undefine macro.
10100 (_XOPEN_REALTIME_THREADS): Undefine macro.
10101 (_XOPEN_SHM): Undefine macro.
10102 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10104 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10106 (_POSIX_ASYNC_IO): Undefine macro.
10107 (_POSIX_PRIORITIZED_IO): Undefine macro.
10108 (_POSIX_SPIN_LOCKS): Define macro to -1.
10110 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10111 SA_NODEFER, SA_RESETHAND.
10112 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10113 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10116 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10118 * elf/Makefile (pldd-modules): Define unconditionally.
10120 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10122 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10124 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10126 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10127 Return ENOENT when name is empty.
10128 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10130 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10132 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10134 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10136 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10138 Fix mlock in all cases except non-readable pages.
10139 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10140 instead of VM_PROT_ALL as parameter to __vm_wire function.
10142 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10143 (__mkdir): When path is `/', just fail with EEXIST.
10144 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10146 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10148 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10149 <sys/uio.h> (for writev).
10150 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10151 and <sys/param.h> (for MIN).
10153 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10155 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10156 REQUESTED_TIME. Properly set the remaining time and return EINTR
10159 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10161 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10162 Depend on against $(link-rpcuserlibs).
10164 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10166 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10167 (__libc_stack_end): Do not use attribute_relro.
10168 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10169 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
10170 to libthread-provided value.
10171 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10174 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10177 * bits/libc-lock.h (__libc_once_get): New macro.
10178 * sysdeps/mach/bits/libc-lock.h: Likewise.
10179 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10180 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10181 instead of using implementation details.
10183 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10184 * libio/freopen.c: Likewise.
10185 * libio/freopen64.c: Likewise.
10186 * misc/syslog.c: Likewise.
10187 * nscd/connections.c: Likewise.
10188 * nscd/netgroupcache.c: Likewise.
10189 * sysdeps/posix/getcwd.c: Likewise.
10191 2012-05-10 Roland McGrath <roland@hack.frob.com>
10193 * math/w_ilogbf.c: Add #include <limits.h>.
10195 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10197 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
10198 path instead of returning without unlocking.
10200 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10201 immediate-write ioctls.
10202 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10204 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10206 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10207 __builtin_frame_address instead of making assumptions about the
10208 location of the return address relative to DATA. Force early load of
10209 the return address.
10210 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10211 __builtin_frame_address.
10214 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10215 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10216 implement dup3 and do some further code clean-ups.
10217 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10218 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10220 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10222 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10224 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10225 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10226 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10227 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10228 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10231 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10232 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10233 when handler == SIG_ERR, not when handler != SIG_ERR.
10235 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10237 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10238 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10241 accept4 for GNU Hurd.
10242 * include/sys/socket.h (__libc_accept4): New prototype.
10243 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10244 to implement __libc_accept4.
10245 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10247 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10249 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10250 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10251 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10252 signal-defines.sym.
10254 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10256 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
10258 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10260 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10261 assertion on O_CLOEXEC flag.
10262 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10263 * hurd/intern-fd.c: Likewise.
10264 * hurd/port2fd.c: Likewise.
10266 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10269 * bits/in.h (IPV6_PKTINFO): Define new macro.
10270 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10272 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10277 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10278 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10279 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10280 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10281 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10282 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10283 * math/libm-test.inc (logb_test) : Additional logb tests.
10285 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10286 Andreas Jaeger <aj@suse.de>
10288 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10289 * configure: Regenerated.
10290 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10291 * config.make.in (link-obsolete-rpc): New substituted variable.
10292 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10293 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10294 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10295 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10296 so that libc.a contains the symbols.
10297 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10298 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10299 * sunrpc/auth_none.c: Likewise.
10300 * sunrpc/auth_unix.c: Likewise.
10301 * sunrpc/authdes_prot.c: Likewise.
10302 * sunrpc/authuxprot.c: Likewise.
10303 * sunrpc/clnt_gen.c: Likewise.
10304 * sunrpc/clnt_perr.c: Likewise.
10305 * sunrpc/clnt_raw.c: Likewise.
10306 * sunrpc/clnt_simp.c: Likewise.
10307 * sunrpc/clnt_tcp.c: Likewise.
10308 * sunrpc/clnt_udp.c: Likewise.
10309 * sunrpc/clnt_unix.c: Likewise.
10310 * sunrpc/des_crypt.c: Likewise.
10311 * sunrpc/des_soft.c: Likewise.
10312 * sunrpc/get_myaddr.c: Likewise.
10313 * sunrpc/key_call.c: Likewise.
10314 * sunrpc/key_prot.c: Likewise.
10315 * sunrpc/netname.c: Likewise.
10316 * sunrpc/pm_getmaps.c: Likewise.
10317 * sunrpc/pm_getport.c: Likewise.
10318 * sunrpc/pmap_clnt.c: Likewise.
10319 * sunrpc/pmap_prot.c: Likewise.
10320 * sunrpc/pmap_prot2.c: Likewise.
10321 * sunrpc/pmap_rmt.c: Likewise.
10322 * sunrpc/publickey.c: Likewise.
10323 * sunrpc/rpc_cmsg.c: Likewise.
10324 * sunrpc/rpc_common.c: Likewise.
10325 * sunrpc/rpc_dtable.c: Likewise.
10326 * sunrpc/rpc_prot.c: Likewise.
10327 * sunrpc/rpc_thread.c: Likewise.
10328 * sunrpc/rtime.c: Likewise.
10329 * sunrpc/svc.c: Likewise.
10330 * sunrpc/svc_auth.c: Likewise.
10331 * sunrpc/svc_raw.c: Likewise.
10332 * sunrpc/svc_run.c: Likewise.
10333 * sunrpc/svc_tcp.c: Likewise.
10334 * sunrpc/svc_udp.c: Likewise.
10335 * sunrpc/svc_unix.c: Likewise.
10336 * sunrpc/svcauth_des.c: Likewise.
10337 * sunrpc/xcrypt.c: Likewise.
10338 * sunrpc/xdr.c: Likewise.
10339 * sunrpc/xdr_array.c: Likewise.
10340 * sunrpc/xdr_float.c: Likewise.
10341 * sunrpc/xdr_intXX_t.c: Likewise.
10342 * sunrpc/xdr_mem.c: Likewise.
10343 * sunrpc/xdr_rec.c: Likewise.
10344 * sunrpc/xdr_ref.c: Likewise.
10345 * sunrpc/xdr_sizeof.c: Likewise.
10346 * sunrpc/xdr_stdio.c: Likewise.
10348 2012-05-10 Roland McGrath <roland@hack.frob.com>
10350 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10351 change. Update copyright years.
10353 2012-05-10 Joseph Myers <joseph@codesourcery.com>
10355 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10357 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10358 Joseph Myers <joseph@codesourcery.com>
10359 Paul Pluzhnikov <ppluzhnikov@google.com>
10362 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10364 [cross-compiling] (extra-libs): Likewise.
10365 [cross-compiling] (extra-libs-others): Likewise.
10366 [cross-compiling] (librpcsvc-routines): Likewise.
10367 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10368 [cross-compiling] (omit-deps): Likewise.
10369 (sunrpc-CPPFLAGS): New variable.
10370 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10371 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10372 (cross-rpcgen-objs): New variable.
10373 (extra-objs): Append $(cross-rpcgen-objs).
10374 ($(cross-rpcgen-objs)): New rule.
10375 ($(objpfx)cross-rpcgen): Likewise.
10376 (rpcgen-cmd): Define to use $(built-program-file). Expand
10378 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10379 ($(objpfx)x%.stmp): Likewise.
10380 * sunrpc/proto.h [IS_IN_build] (_): Define.
10381 [IS_IN_build] (_libc_intl_domainname): Likewise.
10383 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10385 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10386 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10387 and R_X86_64_TPOFF64.
10389 2012-05-10 Joseph Myers <joseph@codesourcery.com>
10391 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10392 sysdeps/unix/sysv/syscalls.list.
10395 * sysdeps/unix/sysv/syscalls.list: Remove file.
10397 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10400 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10401 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10402 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10403 (__LC_IDENTIFICATION): Make these macros useful in #if
10404 expressions, as required by C99.
10406 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10408 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10409 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10412 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10414 * stdlib/longlong.h: Updated from GCC.
10416 2012-05-09 Andreas Jaeger <aj@suse.de>
10418 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10419 default is first entry.
10420 (run_mode): Set type.
10421 (main): Remove informal message about syslog.
10422 (options): Fix typo.
10425 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
10428 (llrintf): Likewise.
10429 (llrint): Likewise.
10432 (nearbyint): Likewise.
10433 (nearbyintf): Likewise.
10435 2012-05-09 Andreas Jaeger <aj@suse.de>
10436 Pedro Alves <palves@redhat.com>
10438 * nscd/nscd.c (run_mode): Use enum.
10439 (main): Cleanup coding style issue.
10441 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
10442 Andreas Jaeger <aj@suse.de>
10444 * nscd/nscd.c (go_background): Replaced with...
10445 (run_mode): ... this.
10446 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
10447 (options): Add -F --foreground.
10448 (main): Implement it.
10449 (parse_opt): Parse it.
10451 2012-05-09 Andreas Jaeger <aj@suse.de>
10454 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10455 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10456 -Wconversion warning.
10457 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10460 2012-05-09 Joseph Myers <joseph@codesourcery.com>
10462 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10464 (LC_ALL): Use macro-int-constant.
10465 (LC_COLLATE): Likewise.
10466 (LC_CTYPE): Likewise.
10467 (LC_MESSAGES): Likewise.
10468 (LC_MONETARY): Likewise.
10469 (LC_NUMERIC): Likewise.
10470 (LC_TIME): Likewise.
10471 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10472 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10473 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10474 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10476 [C99-based standards] (float_t): Expect type.
10477 [C99-based standards] (double_t): Expect type.
10478 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10480 [C99-based standards] (HUGE_VALL): Likewise.
10481 [C99-based standards] (INFINITY): Likewise.
10482 [C99-based standards] (NAN): Likewise.
10483 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10484 [C99-based standards] (FP_NAN): Likewise.
10485 [C99-based standards] (FP_NORMAL): Likewise.
10486 [C99-based standards] (FP_SUBNORMAL): Likewise.
10487 [C99-based standards] (FP_ZERO): Likewise.
10488 [C99-based standards] (FP_FAST_FMA): Use
10489 optional-macro-int-constant. Specify type. Require == 1.
10490 [C99-based standards] (FP_FAST_FMAF): Likewise.
10491 [C99-based standards] (FP_FAST_FMAL): Likewise.
10492 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10493 [C99-based standards] (FP_ILOGBNAN): Likewise.
10494 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10496 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10497 [C99-based standards] (math_errhandling): Specify type.
10498 [ISO99 || ISO11] (signgam): Do not allow.
10499 [non-C99-based standards] (copysignf): Do not allow.
10500 [non-C99-based standards] (exp2f): Likewise.
10501 [non-C99-based standards] (log2f): Likewise.
10502 [non-C99-based standards] (modff): Allow.
10503 [non-C99-based standards] (erff): Do not allow.
10504 [non-C99-based standards] (erfcf): Likewise.
10505 [non-C99-based standards] (gammaf): Likewise.
10506 [non-C99-based standards] (hypotf): Likewise.
10507 [non-C99-based standards] (j0f): Likewise.
10508 [non-C99-based standards] (j1f): Likewise.
10509 [non-C99-based standards] (jnf): Likewise.
10510 [non-C99-based standards] (lgammaf): Likewise.
10511 [non-C99-based standards] (tgammaf): Likewise.
10512 [non-C99-based standards] (y0f): Likewise.
10513 [non-C99-based standards] (y1f): Likewise.
10514 [non-C99-based standards] (ynf): Likewise.
10515 [non-C99-based standards] (isnanf): Likewise.
10516 [non-C99-based standards] (acoshf): Likewise.
10517 [non-C99-based standards] (asinhf): Likewise.
10518 [non-C99-based standards] (atanhf): Likewise.
10519 [non-C99-based standards] (cbrtf): Likewise.
10520 [non-C99-based standards] (expm1f): Likewise.
10521 [non-C99-based standards] (ilogbf): Likewise.
10522 [non-C99-based standards] (log1pf): Likewise.
10523 [non-C99-based standards] (logbf): Likewise.
10524 [non-C99-based standards] (nextafterf): Likewise.
10525 [non-C99-based standards] (remainderf): Likewise.
10526 [non-C99-based standards] (rintf): Likewise.
10527 [non-C99-based standards] (scalbf): Likewise.
10528 [non-C99-based standards] (copysignl): Likewise.
10529 [non-C99-based standards] (exp2l): Likewise.
10530 [non-C99-based standards] (log2l): Likewise.
10531 [non-C99-based standards] (modfl): Allow.
10532 [non-C99-based standards] (erfl): Do not allow.
10533 [non-C99-based standards] (erfcl): Likewise.
10534 [non-C99-based standards] (gammal): Likewise.
10535 [non-C99-based standards] (hypotl): Likewise.
10536 [non-C99-based standards] (j0l): Likewise.
10537 [non-C99-based standards] (j1l): Likewise.
10538 [non-C99-based standards] (jnl): Likewise.
10539 [non-C99-based standards] (lgammal): Likewise.
10540 [non-C99-based standards] (tgammal): Likewise.
10541 [non-C99-based standards] (y0l): Likewise.
10542 [non-C99-based standards] (y1l): Likewise.
10543 [non-C99-based standards] (ynl): Likewise.
10544 [non-C99-based standards] (isnanl): Likewise.
10545 [non-C99-based standards] (acoshl): Likewise.
10546 [non-C99-based standards] (asinhl): Likewise.
10547 [non-C99-based standards] (atanhl): Likewise.
10548 [non-C99-based standards] (cbrtl): Likewise.
10549 [non-C99-based standards] (expm1l): Likewise.
10550 [non-C99-based standards] (ilogbl): Likewise.
10551 [non-C99-based standards] (log1pl): Likewise.
10552 [non-C99-based standards] (logbl): Likewise.
10553 [non-C99-based standards] (nextafterl): Likewise.
10554 [non-C99-based standards] (remainderl): Likewise.
10555 [non-C99-based standards] (rintl): Likewise.
10556 [non-C99-based standards] (scalbl): Likewise.
10557 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10558 [non-C99-based standards] (FP_*): Do not allow.
10559 [C99-based standards] (FP_*): Change to
10560 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10561 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10563 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10564 (SIG_ERR): Likewise.
10565 [X/Open-based standards] (SIG_HOLD): Likewise.
10566 (SIG_IGN): Likewise.
10567 (SIGABRT): Use macro-int-constant. Specify type. Require
10569 (SIGFPE): Likewise.
10570 (SIGILL): Likewise.
10571 (SIGINT): Likewise.
10572 (SIGSEGV): Likewise.
10573 (SIGTER): Likewise.
10574 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10575 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10576 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10577 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10578 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10579 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10580 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10581 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10582 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10583 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10584 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10585 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10586 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10587 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10588 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10589 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10590 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10591 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10592 [X/Open-based standards] (SIGTRAP): Likewise.
10593 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10594 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10595 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10596 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10597 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10600 2012-05-08 Ian Wienand <ianw@vmware.com>
10603 * time/tzset.c (__tzset_parse_tz): Update default rules for
10604 daylight time changes in the Energy Policy Act of 2005.
10606 2012-05-09 Andreas Jaeger <aj@suse.de>
10609 * elf/ldconfig.c (parse_conf): Change string to make clear that
10610 ldconfig only issued a warning if ld.so.conf does not exist.
10612 2012-05-08 David S. Miller <davem@davemloft.net>
10614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10615 movxtod instead of popping the value on the stack.
10617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10619 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10621 * config.h.in: Add HAVE_ARM_PCS_VFP.
10623 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
10626 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10627 checking but the checks are disabled for any reason.
10629 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10631 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10632 and ELF64_R_TYPE with ELFW(R_TYPE).
10634 2012-05-08 Joseph Myers <joseph@codesourcery.com>
10636 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10637 (ulimit): Likewise.
10639 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10640 (settimeofday): Likewise.
10642 2012-05-08 Mike Frysinger <vapier@gentoo.org>
10644 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10645 a struct th_u2 inside the union, and move tu_block/tu_code into
10646 a new th_u3 union of tu_block/tu_code inside of that. Move
10647 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10648 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10649 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10650 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10651 (th_stuff): Change to th_u1.tu_stuff.
10653 (th_msg): Change to th_u1.th_u2.tu_data.
10655 2012-05-07 David S. Miller <davem@davemloft.net>
10657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10660 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10661 (SETUP_PIC_REG): Use it.
10662 (SETUP_PIC_REG_LEAF): Use it.
10664 2012-05-07 Joseph Myers <joseph@codesourcery.com>
10668 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10670 (EXPL_FINITE): Likewise.
10671 (FLDLOG): Likewise.
10672 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10673 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10675 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10677 (EXPL_FINITE): Likewise.
10678 (FLDLOG): Likewise.
10679 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10680 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10682 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10683 test of -max_value argument for long double.
10684 * sysdeps/i386/fpu/libm-test-ulps: Update.
10685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10687 2012-05-06 David S. Miller <davem@davemloft.net>
10689 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10690 quad soft-float symbols whose references which are compiler
10692 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10694 2012-05-06 Joseph Myers <joseph@codesourcery.com>
10698 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10700 (EXPL_FINITE): Likewise.
10701 (FLDLOG): Likewise.
10704 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10705 Adjust comments for base varying.
10706 (__expl_finite): Change alias to EXPL_FINITE.
10707 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10709 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10710 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10711 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10712 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10713 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10715 (EXPL_FINITE): Likewise.
10716 (FLDLOG): Likewise.
10719 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10720 Adjust comments for base varying.
10721 (__expl_finite): Change alias to EXPL_FINITE.
10722 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10727 * math/libm-test.inc (check_float_internal): Correct ulp
10728 calculation for subnormal expected results.
10730 2012-05-06 Andreas Jaeger <aj@suse.de>
10732 * Makeconfig (+math-flags): New, set to -frounding-math.
10733 (+cflags): Add +math-flags so that all of glibc gets compiled with
10736 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10738 2012-05-05 Joseph Myers <joseph@codesourcery.com>
10740 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10746 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10747 (__ieee754_expl): Allow for and saturate large arguments.
10748 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10749 (u_threshold): Likewise.
10750 (__exp): Call __ieee754_exp before checking for overflow and
10752 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10753 (u_threshold): Likewise.
10754 (__expf): Call __ieee754_expf before checking for overflow and
10756 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10757 (u_threshold): Likewise.
10758 (__expl): Call __ieee754_expl before checking for overflow and
10760 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10761 (__ieee754_expl): Allow for and saturate large arguments.
10762 * math/libm-test.inc (exp_test): Add another test. Do not allow
10763 missing overflow exception on overflow.
10764 (expm1_test): Do not allow missing overflow exception on overflow.
10766 * sysdeps/i386/fpu/e_expl.c: Move to ...
10767 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10768 rather than using inline asm.
10769 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10770 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10771 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10773 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10776 (signal): Likewise.
10780 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10782 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10783 sysdeps/unix/common/syscalls.list.
10784 (fchmod): Likewise.
10785 (fchown): Likewise.
10786 (ftruncate): Likewise.
10787 (getrusage): Likewise.
10788 (gettimeofday): Likewise.
10789 (setpgid): Likewise.
10790 (setregid): Likewise.
10791 (setreuid): Likewise.
10792 (sigaction): Likewise.
10793 (truncate): Likewise.
10794 (vhangup): Likewise.
10795 * sysdeps/unix/common/syscalls.list: Remove file.
10796 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10797 * sysdeps/unix/sysv/linux/Implies: Likewise.
10799 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10801 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10802 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10803 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10807 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10809 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10810 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10813 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10815 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10816 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10818 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10819 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10821 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10822 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10824 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10825 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10827 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10829 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10833 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10835 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10836 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10838 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10840 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10842 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10844 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10846 * sysdeps/unix/common/bits/dirent.h: Remove file.
10847 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10849 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10850 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10851 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10852 * sysdeps/unix/bsd/isatty.c: Likewise.
10853 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10854 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10855 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10857 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10860 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10861 long double comparison inaccuracies.
10862 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10865 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10867 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10868 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10870 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10873 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
10874 nonzero digits before rounding a hex value.
10875 * stdlib/tst-strtod.c (tests): Add another test.
10877 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10879 * sysdeps/s390/fpu/libm-test-ulps: Update.
10881 2012-05-03 Andreas Jaeger <aj@suse.de>
10883 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
10884 does not get optimized out.
10885 (malloc_opt_barrier): New.
10887 2012-05-03 Andreas Jaeger <aj@suse.de>
10888 Roland McGrath <roland@hack.frob.com>
10890 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
10891 intermediate file deletion.
10892 (generated): Add .symlist files.
10894 2012-05-03 Joseph Myers <joseph@codesourcery.com>
10897 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
10898 Redirect under this condition.
10899 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10900 [__USE_GNU] (__dprintf_chk): Not under this condition.
10901 [__USE_GNU] (__vdprintf_chk): Likewise.
10902 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
10903 under this condition.
10904 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
10905 [__USE_XOPEN2K8] (dprintf): Define under this condition.
10906 [__USE_XOPEN2K8] (vdprintf): Likewise.
10907 [__USE_GNU] (__dprintf_chk): Not under this condition.
10908 [__USE_GNU] (__vdprintf_chk): Likewise.
10909 [__USE_GNU] (dprintf): Likewise.
10910 [__USE_GNU] (vdprintf): Likewise.
10912 2012-05-03 Roland McGrath <roland@hack.frob.com>
10914 * elf/Makefile (common-generated): Set this instead of generated for
10915 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
10916 $(all-built-dso)-derived lists.
10918 2012-05-03 Andreas Jaeger <aj@suse.de>
10920 * sysdeps/i386/fpu/libm-test-ulps: Update.
10923 * FAQ.in: Likewise.
10924 * scripts/gen-FAQ.pl: Likewise.
10925 * manual/install.texi (Installation): Point to online location of
10927 * Makefile (files-for-dist): Remove FAQ.
10930 2012-05-02 Allan McRae <allan@archlinux.org>
10932 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
10933 (LDFLAGS-reldepmod5.so): Likewise.
10934 (LDFLAGS-reldep6mod1.so): Likewise.
10935 (LDFLAGS-reldep6mod4.so): Likewise.
10936 (LDFLAGS-reldep8mod3.so): Likewise.
10937 (LDFLAGS-unload4mod1.so): Likewise.
10938 (LDFLAGS-unload4mod2.so): Likewise.
10939 (LDFLAGS-tst-initorder): Likewise.
10940 (LDFLAGS-tst-initordera2.so): Likewise.
10941 (LDFLAGS-tst-initordera3.so): Likewise.
10942 (LDFLAGS-tst-initordera4.so): Likewise.
10943 (LDFLAGS-tst-initorderb2.so): Likewise.
10944 (LDFLAGS-noload): Likewise.
10945 (LDFLAGS-next): Likewise.
10946 (LDFLAGS-order2mod1.so): Likewise.
10947 (LDFLAGS-order2mod2.so): Likewise.
10948 (LDFLAGS-tst-initorder2): Likewise.
10949 (LDFLAGS-tst-initorder2a.so): Likewise.
10950 (LDFLAGS-tst-initorder2b.so): Likewise.
10951 (LDFLAGS-tst-initorder2c.so): Likewise.
10952 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
10954 2012-05-02 David S. Miller <davem@davemloft.net>
10956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10958 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
10961 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
10963 2012-05-02 Andreas Jaeger <aj@suse.de>
10965 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
10966 since we manipulate rounding mode.
10967 (CPPFLAGS-test-idouble.c): Likewise.
10968 (CPPFLAGS-test-ifloat.c): Likewise.
10969 (CFLAGS-test-ldouble.c): Likewise.
10970 (CFLAGS-test-double.c): Likewise.
10971 (CFLAGS-test-float.c): Likewise.
10972 (CFLAGS-test-misc.c): Likewise.
10973 (CFLAGS-test-test-fenv.c): Likewise.
10975 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10979 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
10980 comparisons to determine direction to adjust input.
10982 2012-05-01 Roland McGrath <roland@hack.frob.com>
10984 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
10985 output to the target.
10987 * scripts/localplt.awk: New file.
10988 * elf/Makefile ($(objpfx)check-localplt): Target removed.
10989 (check-localplt-CFLAGS): Variable removed.
10990 ($(all-built-dso:=.jmprel)): New static pattern rule.
10991 (generated): Add those targets.
10992 (localplt-built-dso): New variable.
10993 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
10995 * elf/check-localplt.c: File removed.
10997 * scripts/check-execstack.awk: New file.
10998 * elf/Makefile ($(objpfx)check-execstack): Target removed.
10999 (check-execstack-CFLAGS): Variable removed.
11000 ($(objpfx)check-execstack.h): Target removed.
11001 ($(objpfx)execstack-default): New target.
11002 (generated): Add that instead of check-execstack.h.
11003 ($(all-built-dso:=.phdr)): New static pattern rule.
11004 (generated): Add those targets.
11005 * elf/check-execstack.c: File removed.
11007 * scripts/check-textrel.awk: New file.
11008 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11009 (check-textrel-CFLAGS): Variable removed.
11010 (all-built-dso): Use := to define.o
11011 ($(all-built-dso:=.dyn)): New static pattern rule.
11012 (generated): Add those targets.
11013 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11014 * config.make.in (READELF): New substituted variable.
11015 * elf/check-textrel.c: File removed.
11017 2012-05-01 Joseph Myers <joseph@codesourcery.com>
11019 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11021 * conform/data/ctype.h-data [C99-based standards] (isblank):
11023 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11024 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11025 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11026 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11027 Specify type. Require positive value.
11028 (EILSEQ): Likewise.
11029 (ERANGE): Likewise.
11030 [ISO || POSIX] (EILSEQ): Do not expect.
11031 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11032 Specify type. Require positive value.
11033 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11034 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11035 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11036 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11037 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11038 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11039 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11040 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11041 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11042 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11043 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11044 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11045 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11046 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11047 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11048 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11049 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11050 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11051 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11052 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11053 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11054 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11055 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11056 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11057 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11058 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11059 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11060 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11061 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11062 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11063 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11064 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11065 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11066 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11067 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11068 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11069 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11070 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11071 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11072 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11073 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11074 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11075 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11076 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11077 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11078 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11079 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11080 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11081 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11082 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11083 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11084 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11085 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11086 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11087 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11088 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11089 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11090 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11091 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11092 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11093 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11094 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11095 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11096 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11097 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11098 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11099 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11100 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11101 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11102 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11103 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11104 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11105 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11106 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11107 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11108 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11109 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11111 (FLT_ROUNDS): Expect as macro, not constant.
11112 (FLT_MANT_DIG): Use macro-int-constant.
11113 (DBL_MANT_DIG): Likewise.
11114 (LDBL_MANT_DIG): Likewise.
11115 (FLT_DIG): Likewise.
11116 (DBL_DIG): Likewise.
11117 (LDBL_DIG): Likewise.
11118 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11119 (DBL_MIN_EXP): Likewise.
11120 (LDBL_MIN_EXP): Likewise.
11121 (FLT_MAX_EXP): Use macro-int-constant.
11122 (DBL_MAX_EXP): Likewise.
11123 (LDBL_MAX_EXP): Likewise.
11124 (FLT_MAX_10_EXP): Likewise.
11125 (DBL_MAX_10_EXP): Likewise.
11126 (LDBL_MAX_10_EXP): Likewise.
11127 (FLT_MAX): Use macro-constant.
11128 (DBL_MAX): Likewise.
11129 (LDBL_MAX): Likewise.
11130 (FLT_EPSILON): Use macro-constant. Give upper bound.
11131 (DBL_EPSILON): Likewise.
11132 (LDBL_EPSILON): Likewise.
11133 (FLT_MIN): Likewise.
11134 (DBL_MIN): Likewise.
11135 (LDBL_MIN): Likewise.
11136 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11137 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11138 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11139 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11140 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11141 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11142 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11143 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11144 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11145 [ISO11] (FLT_TRUE_MIN): Likewise.
11146 [ISO11] (LDBL_TRUE_MIN): Likewise.
11147 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11148 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11149 (SCHAR_MIN): Use macro-int-constant. Specify type.
11150 (SCHAR_MAX): Likewise.
11151 (UCHAR_MAX): Likewise.
11152 (CHAR_MIN): Likewise.
11153 (CHAR_MAX): Likewise.
11154 (MB_LEN_MAX): Use macro-int-constant.
11155 (SHRT_MIN): Use macro-int-constant. Specify type.
11156 (SHRT_MAX): Likewise.
11157 (USHRT_MAX): Likewise.
11158 (INT_MAX): Likewise.
11159 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11161 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11163 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11165 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11166 bound negative. Suffix upper bound with "L".
11167 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11169 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11171 [C99-based standards] (LLONG_MAX): Likewise.
11172 [C99-based standards] (ULLONG_MAX): Likewise.
11173 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11175 [ISO11] (max_align_t): Require type.
11176 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11178 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11179 from $CFLAGS, without defining away __attribute__ calls.
11180 (checknamespace): Use $CFLAGS_namespace.
11182 * conform/conformtest.pl (@keywords): Only include C99 keywords
11183 for standards based on C99 or C11.
11185 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11187 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11190 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11191 usability of symbols in #if.
11193 * conform/conformtest.pl: If macro or constant types start
11194 "promoted:", expect the symbol to be of the following type
11195 promoted by the integer promotions.
11197 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11198 in one place. Also handle "macro-constant".
11200 * conform/conformtest.pl: Only accept expected macro values with
11201 "==". Parse all "macro" lines in one place.
11202 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11204 * conform/conformtest.pl: Handle braced types on "constant" lines
11205 instead of handling "typed-constant".
11206 * conform/data/signal.h-data: Use "constant" instead of
11209 * conform/conformtest.pl: Handle "optional-" at start of lines in
11210 one place rather than duplicating several cases. Handle each
11211 format of "macro" line with initial "optional-".
11213 * conform/conformtest.pl: Only accept expected constant or
11214 optional-constant values with "==". Parse all "constant" lines in
11215 one place. Parse all "optional-constant" lines in one place.
11216 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11217 * conform/data/fmtmsg.h-data: Likewise.
11218 * conform/data/netinet/in.h-data: Likewise.
11219 * conform/data/tar.h-data: Likewise.
11220 * conform/data/limits.h-data: Use "==" form on "constant" and
11221 "optional-constant" lines.
11223 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11224 Use -std=c99 for XOPEN2K.
11225 (@knownproblems): Remove.
11226 (newtoken): Don't check %isknown.
11228 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11229 Do not expect macro.
11230 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11231 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11232 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11233 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11234 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11235 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11236 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11237 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11238 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11239 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11240 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11241 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11242 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11243 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11244 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11245 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11246 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11247 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11248 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11249 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11250 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11251 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11252 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11253 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11254 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11255 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11256 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11257 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11258 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11259 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11260 [XPG3] (acosh): Likewise.
11261 [XPG3] (asinh): Likewise.
11262 [XPG3] (atanh): Likewise.
11263 [XPG3] (cbrt): Likewise.
11264 [XPG3] (expm1): Likewise.
11265 [XPG3] (ilogb): Likewise.
11266 [XPG3] (log1p): Likewise.
11267 [XPG3] (logb): Likewise.
11268 [XPG3] (nextafter): Likewise.
11269 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11270 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11271 [XPG3] (remainder): Likewise.
11272 [XPG3] (rint): Likewise.
11273 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11274 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11275 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11276 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11277 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11278 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11279 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11280 [UNIX98 || XOPEN2K] (scalb): Expect.
11281 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11282 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11283 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11284 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11285 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11286 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11287 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11288 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11289 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11290 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11291 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11292 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11293 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11294 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11295 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11296 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11297 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11298 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11299 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11300 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11301 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11302 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11303 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11304 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11305 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11306 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11307 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11308 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11309 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11310 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11311 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11312 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11313 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11314 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11315 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11316 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11317 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11318 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11319 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11320 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11321 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11322 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11323 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11324 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11325 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11326 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11327 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11328 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11329 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11330 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11331 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11332 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11333 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11334 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11335 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11336 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11337 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11338 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11339 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11340 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11341 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11342 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11343 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11344 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11345 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11346 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11347 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11348 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11349 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11350 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11351 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11352 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11353 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11354 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11355 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11356 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11357 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11358 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11359 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11360 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11361 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11362 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11363 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11364 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11365 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11366 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11367 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11368 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11369 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11370 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11371 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11372 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11373 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11374 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11375 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11376 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11377 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11378 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11379 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11380 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11381 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11382 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11383 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11384 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11385 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11386 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11387 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11388 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11389 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11390 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11391 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11392 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11393 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11394 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11395 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11396 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11397 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11398 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11399 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11400 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11401 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11402 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11403 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11404 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11405 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11406 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11407 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11408 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11409 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11410 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11411 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11412 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11413 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11414 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11415 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11416 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11417 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11419 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11420 _XOPEN_SOURCE_EXTENDED for XPG4.
11422 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11424 * Makeconfig (localtime): Remove variable.
11425 (inst_localtime-file): Likewise.
11427 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11448 2012-05-01 Joseph Myers <joseph@codesourcery.com>
11452 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11453 comparisons to determine direction to adjust input.
11454 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11455 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11456 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11458 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11460 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11462 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11463 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11465 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11467 * math/libm-test.inc (nexttoward_test): Add more tests.
11469 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11472 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11473 in version GLIBC_2.1, not GLIBC_2.0.
11474 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11477 2012-04-30 Joseph Myers <joseph@codesourcery.com>
11480 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11482 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11483 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11484 * math/libm-test.inc (acos_test): Add more tests.
11485 (asin_test): Likewise.
11486 * sysdeps/i386/fpu/libm-test-ulps: Update.
11487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11490 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11492 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11493 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11494 * math/libm-test.inc (acos_test_tonearest): New function.
11495 (acos_test_towardzero): Likewise.
11496 (acos_test_downward): Likewise.
11497 (acos_test_upward): Likewise.
11498 (asin_test_tonearest): Likewise.
11499 (asin_test_towardzero): Likewise.
11500 (asin_test_downward): Likewise.
11501 (asin_test_upward): Likewise.
11502 (main): Call the new functions.
11503 * sysdeps/i386/fpu/libm-test-ulps: Update.
11504 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11508 * math/e_exp10.c: Include <float.h>.
11509 (__ieee754_exp10): Handle underflow here rather than multiplying
11510 large negative argument by M_LN10.
11511 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11513 * math/e_exp10l.c: Include <float.h>.
11514 (__ieee754_exp10l): Handle underflow here rather than multiplying
11515 large negative argument by M_LN10l.
11516 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11517 spurious overflow exception on underflow.
11519 2012-04-29 Marek Polacek <polacek@redhat.com>
11521 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11522 (__fortify_function): New macro.
11523 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11524 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11525 __extern_always_inline.
11526 * libio/bits/stdio2.h: Likewise.
11527 * libio/bits/stdio.h: Likewise.
11528 * string/string.h: Likewise.
11529 * string/bits/string3.h: Likewise.
11530 * include/stdio.h: Likewise.
11531 * stdlib/bits/stdlib.h: Likewise.
11532 * stdlib/stdlib.h: Likewise.
11533 * rt/bits/mqueue2.h: Likewise.
11534 * rt/mqueue.h: Likewise.
11535 * posix/bits/unistd.h: Likewise.
11536 * posix/unistd.h: Likewise.
11537 * io/bits/poll2.h: Likewise.
11538 * io/bits/fcntl2.h: Likewise.
11539 * io/fcntl.h: Likewise.
11540 * io/sys/poll.h: Likewise.
11541 * misc/bits/syslog.h: Likewise.
11542 * misc/bits/syslog-ldbl.h: Likewise.
11543 * misc/sys/syslog.h: Likewise.
11544 * socket/bits/socket2.h: Likewise.
11545 * socket/sys/socket.h: Likewise.
11546 * debug/tst-chk1.c: Likewise.
11547 * wcsmbs/bits/wchar2.h: Likewise.
11548 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11549 * wcsmbs/wchar.h: Likewise.
11551 2012-04-29 Andreas Jaeger <aj@suse.de>
11553 * Makerules (tests): Remove enable-check-abi protection.
11554 (check-abi-warn): Remove.
11555 (check-abi-%): Remove check-abi-warn usage.
11557 * configure.in: Remove check-abi configure option.
11558 * configure: Regenerated.
11559 * config.make.in (enable-check-abi): Remove.
11561 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11564 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11565 double functions to double *_finite functions.
11568 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11569 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11571 * stdio-common/Makefile (tests): Add tst-sprintf3.
11572 * stdio-common/tst-sprintf3.c: New file.
11574 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11575 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11577 2012-04-28 Joseph Myers <joseph@codesourcery.com>
11579 * conform/conformtest.pl: Remove duplicate typed-constant
11582 2012-04-28 David S. Miller <davem@davemloft.net>
11584 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11585 (check-abi-%): Remove AWK script prerequisite and explicit
11587 (check-abi): Rewrite to just diff the symlist with the abilist.
11588 (config-tls, config-abi-config): Delete, no longer used.
11589 (update-abi-%): Remove AWK script and explicit abilist directory.
11590 (update-abi): Rewrite to simply compare and conditionally copy the
11591 symlist and the sysdep abilist file. Remove update-abi-config
11593 * abilist/ld.abilist: Remove.
11594 * abilist/libBrokenLocale.abilist: Remove.
11595 * abilist/libanl.abilist: Remove.
11596 * abilist/libcrypt.abilist: Remove.
11597 * abilist/libdl.abilist: Remove.
11598 * abilist/librt.abilist: Remove.
11599 * abilist/libthread_db.abilist: Remove.
11600 * abilist/libutil.abilist: Remove.
11601 * scripts/extract-abilist.awk: Remove.
11602 * scripts/merge-abilist.awk: Remove.
11603 * sysdeps/generic/libcidn.abilist: New file.
11604 * sysdeps/generic/libnss_compat.abilist: New file.
11605 * sysdeps/generic/libnss_db.abilist: New file.
11606 * sysdeps/generic/libnss_dns.abilist: New file.
11607 * sysdeps/generic/libnss_files.abilist: New file.
11608 * sysdeps/generic/libnss_hesiod.abilist: New file.
11609 * sysdeps/generic/libnss_nis.abilist: New file.
11610 * sysdeps/generic/libnss_nisplus.abilist: New file.
11611 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11612 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11613 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11615 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11616 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11617 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11618 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11619 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11620 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11621 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11622 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11623 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11625 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11626 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11627 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11628 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11630 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11631 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11632 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11633 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11634 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11635 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11637 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11638 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11639 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11641 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11642 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11644 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11646 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11648 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11650 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11652 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11654 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11656 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11658 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11660 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11662 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11664 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11666 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11701 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11744 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11745 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11746 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11748 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11749 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11750 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11751 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11752 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11753 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11754 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11755 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11756 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11757 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11758 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11759 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11765 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11769 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11771 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11773 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11775 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11777 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11781 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11783 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11786 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11788 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11790 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11794 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11796 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11798 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11802 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11804 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11806 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11809 2012-04-28 Joseph Myers <joseph@codesourcery.com>
11811 * conform/conformtest.pl: Fix typo in handling typed-constant from
11814 2012-04-27 Joseph Myers <joseph@codesourcery.com>
11816 * README: Cut down references to pre-2.6 Linux kernels and
11817 Linuxthreads. Update lists of configurations in libc and ports
11818 and sort alphabetically. Say "or newer" with Linux kernel version
11821 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11823 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11826 * math/libm-test.inc (logb_test_downward): New test to expose
11827 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11830 2012-04-27 Joseph Myers <joseph@codesourcery.com>
11833 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11835 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11836 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11838 2012-04-26 Joseph Myers <joseph@codesourcery.com>
11840 * sysdeps/unix/i386/brk.S: Remove file.
11841 * sysdeps/unix/i386/dl-brk.S: Likewise.
11842 * sysdeps/unix/i386/pipe.S: Likewise.
11843 * sysdeps/unix/i386/sigreturn.S: Likewise.
11844 * sysdeps/unix/i386/syscall.S: Likewise.
11845 * sysdeps/unix/i386/vfork.S: Likewise.
11846 * sysdeps/unix/i386/wait.S: Likewise.
11848 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11849 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11851 * configure.in (arm*-none*): Do not allow without
11852 --enable-hacker-mode.
11853 (netbsd*): Remove case setting base_os.
11854 (386bsd*): Likewise.
11855 (freebsd*): Likewise.
11858 (sunos*): Likewise.
11859 (ultrix*): Likewise.
11860 (newsos*): Likewise.
11861 (dynix*): Likewise.
11867 (minix*): Likewise.
11868 (irix4*): Likewise.
11869 (irix6*): Likewise.
11870 (solaris[2-9]*): Likewise.
11872 * configure: Regenerated.
11874 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11877 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
11878 overflow or cancellation in calculating denominator.
11879 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
11880 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
11881 down expression to avoid unexpected rounding in newer GCCs.
11882 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
11884 2012-04-26 David S. Miller <davem@davemloft.net>
11886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
11887 long-double compat symbols.
11888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
11890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
11891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
11892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
11893 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11894 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11895 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
11896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
11897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
11898 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
11899 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
11900 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
11902 2012-04-25 David S. Miller <davem@davemloft.net>
11904 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
11905 HWCAP_* values only after the memory barriers have been defined.
11906 (atomic_full_barrier): Define.
11907 (atomic_read_barrier): Define.
11908 (atomic_write_barrier): Define.
11910 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11912 * shlib-versions: Add libgcc_s version information.
11913 * sysdeps/generic/libgcc_s.h: Remove.
11914 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
11916 * sysdeps/gnu/unwind-resume.c: Likewise.
11917 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
11919 2012-04-25 David S. Miller <davem@davemloft.net>
11921 * sysdeps/unix/sparc/brk.S: Delete.
11922 * sysdeps/unix/sparc/dl-brk.S: Delete.
11923 * sysdeps/unix/sparc/pipe.S: Delete.
11924 * sysdeps/unix/sparc/sysdep.S: Delete.
11925 * sysdeps/unix/sparc/sysdep.h: Delete.
11926 * sysdeps/unix/sparc/vfork.S: Delete.
11927 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
11928 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
11929 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
11930 ret_ERRVAL, r0, r1, MOVE): Define.
11931 (JUMPTARGET): Remove.
11932 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
11933 sysdeps/unix/sparc/sysdep.h
11934 (ENTRY, END): Remove.
11935 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11937 2012-04-25 Joseph Myers <joseph@codesourcery.com>
11939 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
11940 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
11943 * timezone/README: Update upstream location and email address for
11945 * timezone/zdump.c: Update from tzcode 2012b.
11946 * timezone/zic.c: Likewise.
11948 * configure.in (libc_cv_as_needed): Remove test.
11949 * configure: Regenerated.
11950 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
11951 conditional definition.
11952 [$(have-as-needed) != yes] (no-as-needed): Likewise.
11953 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
11954 * config.make.in (have-as-needed): Remove variable.
11956 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11957 Paul Pluzhnikov <ppluzhnikov@google.com>
11959 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
11962 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
11964 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
11965 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
11966 * sysdeps/sh/strlen.S: Likewise.
11968 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11970 * sysdeps/unix/fork.S: Remove file.
11971 * sysdeps/unix/i386/fork.S: Likewise.
11972 * sysdeps/unix/sparc/fork.S: Likewise.
11974 * sysdeps/unix/system.c: Remove file.
11975 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
11977 * sysdeps/unix/getegid.S: Remove file.
11978 * sysdeps/unix/geteuid.S: Likewise.
11980 2012-04-24 Roland McGrath <roland@hack.frob.com>
11982 * scripts/check-localplt.awk: New file.
11983 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
11985 * scripts/data/localplt-generic.data: Add a comment.
11987 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
11988 NODE when __dir_mkfile failed.
11989 * sysdeps/mach/hurd/symlinkat.c: Likewise.
11990 Reported by Ludovic Courtès <ludo@gnu.org>.
11992 2012-04-24 Andreas Jaeger <aj@suse.de>
11994 * Makerules (common-clean): Also remove gen-as-const-headers
11997 2012-04-24 Joseph Myers <joseph@codesourcery.com>
11999 * Makerules (native-compile): Do not change working directory for
12000 build. Use $(OUTPUT_OPTION) in command.
12001 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12003 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12006 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12007 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12008 * math/libm-test.inc (floor_test): Add more tests.
12009 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12011 2012-04-24 Joseph Myers <joseph@codesourcery.com>
12013 * sysdeps/unix/getdents.c: Remove file.
12014 * sysdeps/unix/sysv/getdents.c: Likewise.
12015 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12017 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12018 sysdeps/unix/mman/syscalls.list.
12020 (mprotect): Likewise.
12022 (munmap): Likewise.
12023 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12024 * sysdeps/unix/mman/syscalls.list: Remove.
12025 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12027 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12028 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12029 * configure: Regenerated.
12030 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12031 $(libgcc_s_suffix).
12032 * config.make.in (libgcc_s_suffix): Remove variable.
12034 2012-04-23 Joseph Myers <joseph@codesourcery.com>
12036 * sysdeps/unix/sysv/gethostname.c: Move to ...
12037 * sysdeps/posix/gethostname.c: ... here.
12039 * sysdeps/unix/execve.S: Remove file.
12041 * sysdeps/unix/_exit.S: Remove file.
12043 2012-04-23 Andreas Jaeger <aj@suse.de>
12046 * manual/Makefile: Remove make dist support, there's no
12047 need for a stand-alone documentation tar ball.
12048 (TEXI2DVI): Define always, it's not in Makeconfig.
12051 (edition): Removed.
12052 (glibc-doc-$(edition).tar): Removed
12056 (ETAGS): Remove, it's in Makeconfig.
12057 (move-if-change): Remove, it's in Makeconfig.
12059 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
12062 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12063 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12064 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12065 (strtod_l, strtof_l, strtold_l): Remove __wur.
12066 It is not necessarily an error to ignore strtol's return value.
12067 One can reliably look at the stored endptr to decide whether
12068 the number had valid syntax.
12070 2012-04-21 Andreas Jaeger <aj@suse.de>
12073 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12075 2012-04-21 Joseph Myers <joseph@codesourcery.com>
12077 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12078 * sysdeps/unix/sysv/Versions: Remove file.
12080 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12083 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12085 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
12088 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12089 version from __vm86.
12091 2012-04-20 Joseph Myers <joseph@codesourcery.com>
12093 * sysdeps/unix/common/lxstat.c: Remove file.
12094 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12096 * sysdeps/unix/sysv/Makefile: Remove file.
12098 * sysdeps/unix/sysv/direct.h: Remove file.
12100 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12101 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12102 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12103 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12104 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12105 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12106 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12108 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12110 * sysdeps/unix/xmknod.c: Remove file.
12111 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12113 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12115 * sysdeps/unix/sysv/i386/time.S: Remove file.
12117 * sysdeps/unix/fxstat.c: Remove file.
12118 * sysdeps/unix/xstat.c: Likewise.
12119 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12121 * sysdeps/unix/sysv/sigaction.c: Remove file.
12123 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12124 (sysdep_headers): Remove variable.
12125 [termio.h not in sysdep_headers] (generated): Likewise.
12126 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12127 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12128 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12129 * sysdeps/unix/sysv/tcflow.c: Likewise.
12130 * sysdeps/unix/sysv/tcflush.c: Likewise.
12131 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12132 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12133 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12134 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12135 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12137 * sysdeps/unix/siglist.c: Remove file.
12139 * sysdeps/unix/getppid.S: Remove file.
12141 * sysdeps/unix/mkdir.c: Remove file.
12142 * sysdeps/unix/rmdir.c: Likewise.
12144 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12146 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12148 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12149 errlist-compat value.
12151 2012-04-18 David S. Miller <davem@davemloft.net>
12153 * sysdeps/generic/memcopy.h (reg_char): Delete.
12154 * debug/strcat_chk.c: Use char, not reg_char.
12155 * debug/strcpy_chk.c: Likewise.
12156 * debug/strncat_chk.c: Likewise.
12157 * debug/strncpy_chk.c: Likewise.
12158 * string/memchr.c: Likewise.
12159 * string/memrchr.c: Likewise.
12160 * string/rawmemchr.c: Likewise.
12161 * string/strcat.c: Likewise.
12162 * string/strchr.c: Likewise.
12163 * string/strchrnul.c: Likewise.
12164 * string/strcmp.c: Likewise.
12165 * string/strcpy.c: Likewise.
12166 * string/strncat.c: Likewise.
12167 * string/strncmp.c: Likewise.
12168 * string/strncpy.c: Likewise.
12170 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12172 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12173 __builtin_memcopy is called when src and dest ranges are known to not
12176 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12178 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12179 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12180 fwd_align_merge macro call.
12181 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12182 bwd_align_merge macro call.
12183 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12185 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12187 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12188 bwd_align_merge macros.
12189 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12190 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12191 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12193 2012-04-18 David S. Miller <davem@davemloft.net>
12195 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12197 2012-04-18 Andreas Jaeger <aj@suse.de>
12200 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12201 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12202 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12204 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12205 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12206 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12208 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12209 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12210 Adjust for changed ldbl-128 files.
12212 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12213 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12214 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12216 2012-04-17 David S. Miller <davem@davemloft.net>
12218 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12220 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12222 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12223 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12224 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12225 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12226 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12227 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12229 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12232 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12233 * math/libm-test.inc: Add ilogb errno and exception tests.
12234 * math/w_ilogb.c: New file: ilogb wrapper.
12235 * math/w_ilogbf.c: New file: ilogbf wrapper.
12236 * math/w_ilogbl.c: New file: ilogbl wrapper.
12237 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12238 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12239 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12240 exception being thrown with 0.0 as argument.
12241 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12242 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12243 exception being thrown with 0.0 as argument.
12244 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12245 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12246 exception being thrown with 0.0 as argument.
12247 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12248 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12249 exception being thrown with 0.0 as argument.
12250 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12251 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
12252 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
12253 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12254 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12255 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12256 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12257 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12258 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12260 2012-04-17 Petr Baudis <pasky@ucw.cz>
12262 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12265 2012-04-16 Marek Polacek <polacek@redhat.com>
12267 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12269 2012-04-16 Marek Polacek <polacek@redhat.com>
12271 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12272 operands of fdivp instruction.
12274 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12276 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12277 * elf/tst-auditmod3b.c: Likewise.
12278 * elf/tst-auditmod4b.c: Likewise.
12279 * elf/tst-auditmod5b.c: Likewise.
12280 * elf/tst-auditmod6b.c: Likewise.
12281 * elf/tst-auditmod6c.c: Likewise.
12282 * elf/tst-auditmod7b.c: Likewise.
12283 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12284 * sysdeps/x86_64/preconfigure.in: Likewise.
12285 * sysdeps/x86_64/preconfigure: Regenerated.
12287 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12289 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12292 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
12294 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12295 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12297 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12300 * locale/iso-639.def: Fix gl language name. Spotted by
12303 2012-04-12 Roland McGrath <roland@hack.frob.com>
12306 * libio/libio.h (__io_write_fn): Update comment.
12308 2012-04-12 Petr Baudis <pasky@ucw.cz>
12311 * stdio.texi (Hook Functions): The user provided writer function
12312 is not allowed to return -1.
12314 2012-04-11 David S. Miller <davem@davemloft.net>
12316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12318 2012-04-11 Mike Frysinger <vapier@gentoo.org>
12320 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12321 Add a leading slash to rtkaio.
12323 2012-04-11 Jim Meyering <meyering@redhat.com>
12326 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12327 It is not necessarily an error to ignore fwrite's return
12328 value. One can reliably use ferror to test for errors after
12331 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12333 * bits/types.h (__snseconds_t): New type.
12334 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12336 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12337 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12338 (__SNSECONDS_T_TYPE): Likewise.
12339 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12340 (__SNSECONDS_T_TYPE): Likewise.
12341 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12342 (__SNSECONDS_T_TYPE): Likewise.
12344 2012-04-10 Andreas Jaeger <aj@suse.de>
12347 * manual/time.texi (Processor Time): Return type of times is
12348 elapsed real time since an arbitrary point in the past.
12349 (CPU Time): Move CLK_TCK from here...
12350 (Processor Time): ...to here. Correct description.
12351 * manual/conf.texi (Constants for Sysconf): Correct description of
12354 2012-04-10 David S. Miller <davem@davemloft.net>
12357 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12358 where the is a gap between DT_REL(A) and DT_JMPREL.
12360 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12362 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12363 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12364 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12366 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12368 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12369 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12370 (dl_main): Handle --inhibit-cache.
12371 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12373 * elf/dl-load.c (_dl_map_object): Use it.
12374 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12376 2012-04-09 Joseph Myers <joseph@codesourcery.com>
12379 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12380 (__ieee754_powl): Saturate large exponents rather than testing for
12381 overflow of y*log2(x).
12382 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12383 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12387 * math/s_ctan.c: Include <float.h>.
12388 (__ctan): Avoid internal overflow or cancellation in calculating
12390 * math/s_ctanf.c: Likewise.
12391 * math/s_ctanl.c: Likewise.
12392 * math/s_ctanh.c: Likewise.
12393 * math/s_ctanhf.c: Likewise.
12394 * math/s_ctanhl.c: Likewise.
12395 * math/libm-test.inc (ctan_test): Add more tests.
12396 (ctanh_test): Likewise.
12397 * sysdeps/i386/fpu/libm-test-ulps: Update.
12398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12400 2012-04-09 Andreas Jaeger <aj@suse.de>
12403 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12404 is an optional BSD extension.
12407 * manual/stdio.texi (Opening Streams): Document additional fopen
12410 2012-04-09 Roland McGrath <roland@hack.frob.com>
12412 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12413 %eax without telling the compiler.
12415 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12418 * manual/install.texi: Use sourceware.org.
12420 2012-04-09 Joseph Myers <joseph@codesourcery.com>
12423 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12424 (__ieee754_pow): Generate overflow and underflow using huge*huge
12425 and tiny*tiny rather than just returning constant infinity or zero
12426 for large exponents.
12427 * math/libm-test.inc (pow_test): Require overflow exceptions for
12428 applicable cases of large exponents.
12431 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12432 (__ieee754_pow): Use iterative multiplication algorithm only for
12433 integer exponents with absolute value below 1024. Check for odd
12434 integer exponents when using algorithm for real exponents.
12435 * math/libm-test.inc (pow_test): Add more tests.
12436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12438 2012-04-08 Joseph Myers <joseph@codesourcery.com>
12441 * math/libm-test.inc (exp_test): Do not allow overflow exception
12444 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12447 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12448 instead of __kernel_standard_f.
12450 2012-04-08 Mike Frysinger <vapier@gentoo.org>
12452 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12453 * sysdeps/x86_64/memset_chk.S: Likewise.
12455 2012-04-08 Andreas Jaeger <aj@suse.de>
12458 * manual/startup.texi (Environment Access): Describe return value
12459 for putenv and setenv.
12462 * manual/filesys.texi (Directory Entries): Add description for
12466 * manual/filesys.texi (Directory Entries): Clarify that it's file
12467 system not operating system in the description of DT_UNKNOWN.
12470 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12472 2012-04-08 Stephen Compall <s11@member.fsf.org>
12475 * manual/llio.texi (Opening and Closing Files): Add cross
12476 reference to explain mode argument.
12478 2012-04-07 Mike Frysinger <vapier@gentoo.org>
12480 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12481 * sysdeps/x86_64/memset_chk.S: Likewise.
12483 2012-04-07 David S. Miller <davem@davemloft.net>
12485 * elf/elf.h (R_SPARC_WDISP10): Define.
12486 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12488 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12489 R_SPARC_SIZE64 and R_SPARC_H34.
12491 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12493 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12494 conditions and remove no longer applicable assertion.
12496 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12498 * bits/byteswap.h: Include <features.h>.
12499 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12500 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12502 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12504 * bits/byteswap.h (__bswap_16): Removed.
12505 Include <bits/byteswap-16.h> to get __bswap_16.
12506 * sysdeps/i386/bits/byteswap.h: Likewise.
12507 * sysdeps/s390/bits/byteswap.h: Likewise.
12508 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12509 * bits/byteswap-16.h: New file.
12510 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12511 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12512 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12513 * string/Makefile (headers): Add bits/byteswap-16.h.
12515 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12518 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12520 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12521 * nss/tst-nss-static.c: New.
12523 2012-04-06 Robert Millan <rmh@gnu.org>
12526 * manual/llio.texi (File Position Primitive): lseek
12527 refers to WHENCE when it really means OFFSET.
12529 2012-04-06 Andreas Jaeger <aj@suse.de>
12531 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12532 strncmp declarations.
12534 * abilist/libc.abilist: Add __poll and __ppoll.
12536 2012-04-05 David S. Miller <davem@davemloft.net>
12538 * scripts/check-local-headers.sh: Accept a host triplet in the
12539 path matched by the exclude regexp.
12541 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12543 * sysdeps/powerpc/powerpc32/dl-machine.h
12544 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12545 * sysdeps/s390/s390-32/dl-machine.h
12546 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12547 * sysdeps/sparc/sparc32/dl-machine.h
12548 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12549 * sysdeps/sparc/sparc64/dl-machine.h
12550 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12552 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12554 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
12555 undefined symbol errors.
12557 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
12560 2012-04-05 Michael Matz <matz@suse.de>
12563 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12565 2012-04-05 Andreas Jaeger <aj@suse.de>
12568 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12571 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12573 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12574 which ROUND is no valid rounding mode.
12576 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12578 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12580 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12582 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12584 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12585 an exception using FPU order intentionally.
12587 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12589 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12590 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12591 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12592 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12594 2012-04-05 Simon Josefsson <simon@josefsson.org>
12597 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12598 EINVAL when BUFLEN is too smal.
12600 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12603 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12604 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12606 2012-04-03 Andreas Jaeger <aj@suse.de>
12609 * manual/setjmp.texi (System V contexts): Fix sentence.
12612 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12613 New macro for this case.
12614 [!__GNUC__] (__bswap_64): New inline function for this case.
12615 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12616 * bits/byteswap.h: Likewise.
12617 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12618 ull, guard with __GLIBC_HAVE_LONG_LONG.
12620 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12621 __GLIBC_HAVE_LONG_LONG.
12623 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12624 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12626 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12629 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12630 inptr and inend, rather than using last_ch.
12632 2012-04-02 David S. Miller <davem@davemloft.net>
12634 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12635 * stdio-common/printf-parse.h (read_int): Change return type to
12636 'int', return -1 on INT_MAX overflow.
12637 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12638 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12639 overflows INT_MAX. Check for overflow of in-format-string precision
12640 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12641 SIZE_MAX not INT_MAX for integer overflow test.
12642 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12643 skip the construct in the format string but do not record anything.
12644 * stdio-common/bug22.c: Adjust to test both width/prevision
12645 INT_MAX overflow as well as total length INT_MAX overflow. Check
12646 explicitly for proper errno values.
12648 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12650 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12652 * string/test-strcmp.c [! WIDE]: Likewise.
12653 * time/tst-mktime2.c: Likewise for INT_MAX.
12654 * string/test-string.h: #include <sys/param.h> for MIN.
12656 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12657 * sysdeps/i386/init-first.c (init): Likewise.
12658 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12659 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12660 * sysdeps/sh/init-first.c (init): Likewise.
12662 2012-04-01 Ulrich Drepper <drepper@gmail.com>
12664 * po/ru.po: Update from translation team.
12665 * po/vi.po: Likewise.
12667 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12669 * resolv/nss_dns/dns-host.c: Merge copyright years.
12671 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12673 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12674 Optimize memcpy with prefetch if
12675 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12676 src, dst pointers have unequal 16 byte alignments.
12678 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12681 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12682 from a CNAME entry and return the minimum ttl for the query.
12683 (gaih_getanswer_slice): Likewise.
12685 2012-03-30 Jeff Law <law@redhat.com>
12687 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12689 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12690 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12692 * resolv/nss_dns/dns-host.c: Update copyright year.
12694 2012-03-30 Ulrich Drepper <drepper@gmail.com>
12696 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12697 requests to save a system call. Fix check that all bytes are sent.
12699 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12700 comments for sendmmsg.
12702 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12705 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12706 with only 1 character between 0x0041 and 0x01b0.
12707 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12708 * wcsmbs/tst-mbsnrtowcs.c: New file.
12710 2012-03-29 David S. Miller <davem@davemloft.net>
12712 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12713 small copies by hand.
12715 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12718 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12719 _nss_compat_initgroups_dyn): Fall back to malloc/free
12720 for large group memberships.
12722 2012-03-28 David S. Miller <davem@davemloft.net>
12724 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12725 that branches into memcpy.
12726 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12727 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12728 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12729 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12730 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12732 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12733 implementation too.
12734 * sysdeps/sparc/mempcpy.S: New file.
12736 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12737 the IFUNC routine in the libc case.
12738 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12740 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12741 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12742 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12743 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12744 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12745 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12746 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12747 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12749 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12750 loop to 256 bytes instead of 64 bytes and fix test signedness.
12752 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12753 * sysdeps/sparc/sparc32/Makefile: rather than here...
12754 * sysdeps/sparc/sparc64/Makefile: and here.
12756 2012-03-28 Ulrich Drepper <drepper@gmail.com>
12758 * malloc/mallocbug.c: Avoid warnings about unused variables.
12760 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12763 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12764 in the right place. Discard and retry query if response is
12765 larger than input buffer size.
12767 2012-03-28 Joseph Myers <joseph@codesourcery.com>
12772 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12773 x for large integer exponent.
12774 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12775 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12776 sign of result as needed afterwards.
12777 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12778 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12779 result for underflowing pow the same as for overflow.
12780 (__kernel_standard_l): Handle powl overflow and underflow here
12781 rather than calling __kernel_standard.
12782 * math/libm-test.inc (pow_test): Add more tests.
12797 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12798 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12799 (__kernel_standard_l): New function.
12800 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12802 * math/w_acosl.c (__acosl): Likewise.
12803 * math/w_asinl.c (__asinl): Likewise.
12804 * math/w_atan2l.c (__atan2l): Likewise.
12805 * math/w_atanhl.c (__atanhl): Likewise.
12806 * math/w_coshl.c (__coshl): Likewise.
12807 * math/w_exp10l.c (__exp10l): Likewise.
12808 * math/w_exp2l.c (__exp2l): Likewise.
12809 * math/w_fmodl.c (__fmodl): Likewise.
12810 * math/w_hypotl.c (__hypotl): Likewise.
12811 * math/w_j0l.c (__j0l, __y0l): Likewise.
12812 * math/w_j1l.c (__j1l, __y1l): Likewise.
12813 * math/w_jnl.c (__jnl, __ynl): Likewise.
12814 * math/w_lgammal.c (__lgammal): Likewise.
12815 * math/w_log10l.c (__log10l): Likewise.
12816 * math/w_log2l.c (__log2l): Likewise.
12817 * math/w_logl.c (__logl): Likewise.
12818 * math/w_powl.c (__powl): Likewise.
12819 * math/w_remainderl.c (__remainderl): Likewise.
12820 * math/w_scalbl.c (sysv_scalbl): Likewise.
12821 * math/w_sinhl.c (__sinhl): Likewise.
12822 * math/w_sqrtl.c (__sqrtl): Likewise.
12823 * math/w_tgammal.c (__tgammal): Likewise.
12824 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12825 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12826 * math/libm-test.inc (acos_test): Add more tests.
12827 (acosh_test): Likewise.
12828 (asin_test): Likewise.
12829 (atanh_test): Likewise.
12830 (exp_test): Likewise.
12831 (exp10_test): Likewise.
12832 (exp2_test): Likewise.
12833 (expm1_test): Likewise.
12834 (lgamma_test): Likewise.
12835 (log_test): Likewise.
12836 (log10_test): Likewise.
12837 (log1p_test): Likewise.
12838 (log2_test): Likewise.
12839 (pow_test): Do not allow some spurious overflow exceptions.
12840 (sqrt_test): Add more tests.
12841 (tgamma_test): Likewise.
12842 (y0_test): Likewise.
12843 (y1_test): Likewise.
12844 (yn_test): Likewise.
12846 2012-03-27 Anton Blanchard <anton@samba.org>
12848 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12850 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12851 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12852 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12854 2012-03-27 David S. Miller <davem@davemloft.net>
12856 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12858 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12859 have-as-vis3 check.
12861 2012-03-27 Andreas Jaeger <aj@suse.de>
12863 * sysdeps/x86_64/elf/configure.in: Moved to ...
12864 * sysdeps/x86_64/configure.in: ... here.
12865 * sysdeps/x86_64/elf/start.S: Moved to ...
12866 * sysdeps/x86_64/start.S: ... here.
12867 * sysdeps/x86_64/elf/configure: Delete.
12869 * sysdeps/x86_64/configure.in: Merge contents from
12870 sysdeps/i386/configure.in (without i686 check).
12872 * sysdeps/i386/elf/Versions: Merge into ...
12873 * sysdeps/i386/Versions: ... this.
12874 * sysdeps/i386/elf/Versions: Delete file.
12875 * sysdeps/i386/elf/start.S: Moved to ...
12876 * sysdeps/i386/start.S: ...here.
12877 * sysdeps/i386/elf/configure.in: Merge into...
12878 * sysdeps/i386/configure.in: ...here.
12879 * sysdeps/i386/elf/configure.in: Delete file.
12880 * sysdeps/i386/elf/configure: Delete file.
12882 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
12883 * debug/backtracesyms.c: ... here.
12884 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
12885 * debug/backtracesymsfd.c: ... here.
12886 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
12887 * sysdeps/generic/ifunc-sel.h: ... here.
12889 * sysdeps/unix/i386/start.c: Delete file.
12890 * sysdeps/unix/sparc/start.c: Delete file.
12891 * sysdeps/unix/start.c: Delete file.
12893 * sysdeps/sh/elf/configure.in: Moved to ...
12894 * sysdeps/sh/configure.in: ... here.
12895 * sysdeps/sh/elf/start.S: Moved to ...
12896 * sysdeps/sh/start.S: ... here.
12897 * sysdeps/sh/elf/configure: Delete file.
12899 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
12900 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
12901 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
12902 * sysdeps/powerpc/powerpc64/entry.h: ... here.
12903 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
12904 * sysdeps/powerpc/powerpc64/start.S: here.
12905 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
12906 * sysdeps/powerpc/powerpc64/Makefile: ... this.
12907 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
12908 * sysdeps/powerpc/powerpc64/configure.in: ... this.
12909 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
12911 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
12912 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
12913 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
12914 * sysdeps/powerpc/powerpc32/start.S: ... here.
12915 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
12916 * sysdeps/powerpc/powerpc32/configure.in: ... this.
12917 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
12919 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
12920 * sysdeps/powerpc/ifunc-sel.h: ... here.
12921 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
12922 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
12924 * sysdeps/sparc/elf/configure.in: Moved to ...
12925 * sysdeps/sparc/configure.in: ... here.
12926 * sysdeps/sparc/elf/configure: Delete file.
12927 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
12928 * sysdeps/sparc/sparc32/start.S: ... here.
12929 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
12930 * sysdeps/sparc/sparc64/start.S: ... here.
12931 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
12932 * sysdeps/sparc/sparc32/Makefile: ... this.
12933 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
12934 * sysdeps/sparc/sparc64/Makefile: ... this.
12936 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
12937 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
12938 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
12939 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
12940 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
12941 * sysdeps/s390/s390-32/setjmp.S: ... here.
12942 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
12943 * sysdeps/s390/s390-32/configure.in: ... here.
12944 * sysdeps/s390/s390-32/elf/configure: Delete file.
12945 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
12946 * sysdeps/s390/s390-32/start.S: ... here.
12948 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
12949 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
12950 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
12951 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
12952 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
12953 * sysdeps/s390/s390-64/setjmp.S: ... here.
12954 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
12955 * sysdeps/s390/s390-64/configure.in: ... here
12956 * sysdeps/s390/s390-64/elf/configure: Delete file.
12957 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
12958 * sysdeps/s390/s390-64/start.S: ... here.
12959 * sysdeps/s390/s390-64/elf/configure: Delete.
12961 * configure.in: Remove support for elf directories in sysdeps.
12963 * configure: Regenerated.
12964 * sysdeps/i386/configure: Regenerated.
12965 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12966 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12967 * sysdeps/s390/s390-32/configure: Regenerated.
12968 * sysdeps/s390/s390-64/configure: Regenerated.
12969 * sysdeps/sh/configure: Regenerated.
12970 * sysdeps/sparc/configure: Regenerated.
12971 * sysdeps/x86_64/configure: Regenerated.
12973 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
12975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12977 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
12978 denormal result into account.
12980 2012-03-25 Roland McGrath <roland@hack.frob.com>
12982 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
12983 Reported by Allan McRae <allan@archlinux.org>.
12985 2012-03-23 Jeff Law <law@redhat.com>
12987 * nss/getnssent.c (__nss_getent): Fix typo.
12989 2012-03-23 David S. Miller <davem@davemloft.net>
12991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12993 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
12995 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
12996 to pad to uint64_t for each field.
12997 (dl_tls_index): Replace unsigned long with uint64_t.
12999 2012-03-23 Daniel Jacobowitz <dmj@google.com>
13000 Paul Pluzhnikov <ppluzhnikov@google.com>
13003 * grp/Makefile (otherlibs): Don't set it.
13004 * inet/Makefile (otherlibs): Likewise.
13005 * login/Makefile (otherlibs): Likewise.
13006 * nscd/Makefile (otherlibs): Likewise.
13007 * posix/Makefile (otherlibs): Likewise.
13008 * pwd/Makefile (otherlibs): Likewise.
13009 * rt/Makefile (otherlibs): Likewise.
13010 * sunrpc/Makefile (otherlibs): Likewise.
13011 * nss/Makefile (otherlibs): Likewise.
13012 Add libnss_files to routines and static-only-routines.
13013 ($(objpfx)getent): Remove rule.
13014 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13015 static-only-routines.
13017 2012-03-22 Joseph Myers <joseph@codesourcery.com>
13020 * math/s_cexp.c: Include <float.h>.
13021 (__cexp): Handle exp result overflowing not necessarily
13022 overflowing both real and imaginary parts of result.
13023 * math/s_cexpf.c: Likewise.
13024 * math/s_cexpl.c: Likewise.
13025 * math/libm-test.inc (cexp_test): Add more tests.
13026 * sysdeps/i386/fpu/libm-test-ulps: Update.
13027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13029 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13031 * include/link.h (ELFW): New macro.
13032 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13033 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13035 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13037 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13040 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13042 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13044 (struct La_x32_retval): Likewise.
13046 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13048 * sysdeps/x86_64/preconfigure.in: New file.
13049 * sysdeps/x86_64/preconfigure: New generated file.
13051 2012-03-22 Joseph Myers <joseph@codesourcery.com>
13054 * math/e_exp2l.c: Include <float.h>.
13055 (__ieee754_exp2l): Handle overflow and underflow cases
13056 separately. Only pass fractional part of argument to
13058 * math/libm-test.inc (exp2_test): Add more tests.
13060 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13061 negating x to take absolute value.
13062 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13064 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13065 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13067 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13068 computing low part if x was negated.
13069 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13071 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13073 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13074 la_x32_gnu_pltexit.
13075 (pltexit): Cast int_retval to ptrdiff_t.
13076 * elf/tst-auditmod3b.c: Likewise.
13077 * elf/tst-auditmod4b.c: Likewise.
13078 * elf/tst-auditmod5b.c: Likewise.
13079 * elf/tst-auditmod6b.c: Likewise.
13080 * elf/tst-auditmod6c.c: Likewise.
13081 * elf/tst-auditmod7b.c: Likewise.
13083 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13084 and x32_gnu_pltexit.
13086 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13087 __ELF_NATIVE_CLASS.
13088 (La_x32_regs): New macro.
13089 (La_x32_retval): Likewise.
13090 (la_x32_gnu_pltenter): New function prototype.
13091 (la_x32_gnu_pltexit): Likewise.
13093 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13095 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13100 * configure.in (libc_cv_cc_nofma): Check for option to disable
13101 generation of FMA instructions.
13102 * configure: Regenerate.
13103 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13104 * sysdeps/ieee754/dbl-64/Makefile: New file.
13105 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13106 Remove brandred-fma4.
13107 (CFLAGS-brandred-fma4.c): Remove.
13108 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13109 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13111 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13114 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13116 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13117 LLONG_MAX != LONG_MAX.
13118 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13119 (_fitoa_word): Likewise.
13120 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13121 LLONG_MAX != LONG_MAX.
13122 * stdio-common/_itowa.h: Include <_itoa.h>.
13123 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13124 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13125 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13126 only if not defined.
13127 (_ITOA_WORD_TYPE): Likewise.
13128 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13129 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13131 2012-03-21 David S. Miller <davem@davemloft.net>
13133 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13135 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13137 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13138 of x86_64 when setting libc_cv_slibdir, libdir and
13140 * sysdeps/unix/sysv/linux/configure: Regenerated.
13142 2012-03-21 Joseph Myers <joseph@codesourcery.com>
13144 * manual/lang.texi (Old Varargs): Remove section.
13145 (How Variadic): Update menu.
13146 (va_start): Do not mention varargs.h.
13148 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13149 Joseph Myers <joseph@codesourcery.com>
13151 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13153 * configure: Regenerated.
13155 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13157 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13158 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13161 2012-03-21 Joseph Myers <joseph@codesourcery.com>
13164 * Makefile (files-for-dist): Remove NOTES.
13165 (NOTES): Remove rule.
13166 * README: Don't refer to NOTES.
13167 * manual/creature.texi: Don't include macros.texi.
13168 * manual/intro.texi (creature.texi): Remove comment referring to
13171 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13172 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13173 * configure: Regenerated.
13174 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13175 LIBC_TRY_CC_OPTION.
13176 (libc_cv_as_i686): Likewise.
13177 (libc_cv_cc_avx): Likewise.
13178 (libc_cv_cc_sse2avx): Likewise.
13179 (libc_cv_cc_fma4): Likewise.
13180 (libc_cv_cc_novzeroupper): Likewise.
13181 * sysdeps/i386/configure: Regenerated.
13184 * sysdeps/i386/fpu/s_cexp.S: Remove.
13185 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13186 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13187 * math/libm-test.inc (cexp_test): Add more tests.
13188 * sysdeps/i386/fpu/libm-test-ulps: Update.
13189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13191 2012-03-21 Allan McRae <allan@archlinux.org>
13193 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13195 2012-03-21 Joseph Myers <joseph@codesourcery.com>
13198 * math/w_exp2.c: Do not include <float.h>.
13199 (o_threshold, u_threshold): Remove.
13200 (__exp2): Calculate result before checking finiteness and calling
13202 * math/w_exp2f.c: Likewise.
13203 * math/w_exp2l.c: Likewise.
13204 * math/libm-test.inc (exp2_test): Require overflow exception for
13208 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13209 range of signed 64-bit integers before using fistpll. Remove
13210 checks for whether integers fit in mantissa bits.
13211 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13212 the range of signed 32-bit integers before using fistpl. Remove
13213 checks for whether integers fit in mantissa bits.
13214 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13215 (__ieee754_powl): Test for y outside the range of signed 64-bit
13216 integers before using fistpll. Reduce 64-bit values to 63-bit
13218 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13219 divide-by-zero is raised for zero to large negative powers.
13220 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13221 (__ieee754_powl): Test for y outside the range of signed 64-bit
13222 integers before using fistpll. Reduce 64-bit values to 63-bit
13224 * math/libm-test.inc (pow_test): Add more tests.
13226 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13228 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13229 <stdio-common/_itoa.h>.
13230 * debug/segfault.c: Likewise.
13231 * elf/dl-cache.c: Likewise.
13232 * elf/dl-minimal.c: Likewise.
13233 * elf/dl-misc.c: Likewise.
13234 * elf/dl-sysdep.c: Likewise.
13235 * elf/dl-version.c: Likewise.
13236 * elf/rtld.c: Likewise.
13237 * hurd/hurdsock.c: Likewise.
13238 * hurd/lookup-retry.c: Likewise.
13239 * malloc/malloc.c: Likewise.
13240 * malloc/mtrace.c: Likewise.
13241 * nscd/nscd_getgr_r.c: Likewise.
13242 * nscd/nscd_getpw_r.c: Likewise.
13243 * nscd/nscd_getserv_r.c: Likewise.
13244 * posix/getopt_init.c: Likewise.
13245 * posix/wordexp.c: Likewise.
13246 * stdio-common/_itoa.c: Likewise.
13247 * stdio-common/printf_fphex.c: Likewise.
13248 * stdio-common/vfprintf.c: Likewise.
13249 * string/_strerror.c: Likewise.
13250 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13251 * sysdeps/i386/i686/hp-timing.h: Likewise.
13252 * sysdeps/mach/_strerror.c: Likewise.
13253 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13254 * sysdeps/mach/hurd/sethostid.c: Likewise.
13255 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13256 * sysdeps/mach/xpg-strerror.c: Likewise.
13257 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13258 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13259 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13260 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13261 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13262 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13263 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13264 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13265 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13266 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13267 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13268 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13269 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13270 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13271 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13272 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13273 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13274 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13275 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13276 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13277 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13279 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13281 * stdio-common/_itoa.h: Moved to ...
13282 * sysdeps/generic/_itoa.h: Here.
13284 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13286 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13287 instead of "_itoa.h" and "_itowa.h".
13288 * stdio-common/vfprintf.: Likewise.
13290 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13292 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13294 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13295 (__signbit): Likwise.
13296 (llrintf): Likwise.
13299 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13301 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13304 2012-03-20 Joseph Myers <joseph@codesourcery.com>
13306 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13307 OVERFLOW_EXCEPTION_OK.
13308 * math/libm-test.inc ("Philosophy"): Update comment about
13310 (OVERFLOW_EXCEPTION): Define.
13311 (OVERFLOW_EXCEPTION_OK): Likewise.
13312 (INVALID_EXCEPTION_OK): Renumber.
13313 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13314 (IGNORE_ZERO_INF_SIGN): Likewise.
13315 (test_exceptions): Handle FE_OVERFLOW.
13316 (exp10_test): Expect overflow exceptions.
13317 (exp2_test): Likewise.
13318 (expm1_test): Likewise.
13319 (nextafter_test): Likewise.
13320 (pow_test): Likewise.
13321 (scalbn_test): Likewise.
13322 (scalbln_test): Likewise.
13324 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13326 * sysdeps/x86_64/bits/atomic.h
13327 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13329 (atomic_exchange_acq): Likewise.
13330 (__arch_exchange_and_add_body): Likewise.
13331 (__arch_add_body): Likewise.
13332 (atomic_add_negative): Likewise.
13333 (atomic_add_zero): Likewise.
13335 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13337 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
13338 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13340 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13342 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13343 Check __x86_64__ instead of __WORDSIZE.
13345 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13347 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13349 2012-03-19 David S. Miller <davem@davemloft.net>
13351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13353 * sysdeps/sparc/fpu/fenv_private.h: New file.
13354 * sysdeps/sparc/fpu/math_private.h: Use it.
13355 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13357 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13358 (libc_feholdexcept_setroundl): Remove.
13359 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13361 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13362 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13364 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13366 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13367 int64_t instead of long int.
13368 (INSERT_WORDS64): Likwise.
13370 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13372 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13373 _Unwind_GetCFA return to _Unwind_Ptr first.
13375 2012-03-19 Joseph Myers <joseph@codesourcery.com>
13378 * math/s_clog.c: Include <float.h>.
13379 (__clog): Scale large or subnormal inputs.
13380 * math/s_clogf.c: Likewise.
13381 * math/s_clogl.c: Likewise.
13382 * math/s_clog10.c: Include <float.h>.
13383 (M_LOG10_2): Define.
13384 (__clog10): Scale large or subnormal inputs.
13385 * math/s_clog10f.c: Likewise.
13386 * math/s_clog10l.c: Likewise.
13387 * math/libm-test.inc (clog_test): Add more tests.
13388 (clog10_test): Likewise.
13389 * sysdeps/i386/fpu/libm-test-ulps: Update.
13390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13393 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13395 * math/libm-test.inc (atan2_test): Add another test.
13397 * Makerules (common-objdir-compile): Remove.
13398 * sysdeps/unix/Makefile (config-generated): Do not add
13399 $(unix-generated) to variable.
13400 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13401 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13403 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13405 [generic bits/local_lim.h] (before-compile): Do not append to
13407 [generic bits/local_lim.h] (common-generated): Likewise.
13408 [generic sys/param.h] (before-compile): Do not append to variable.
13409 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13410 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13411 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13412 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13414 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13415 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13416 [generic sys/param.h] ($(addprefix
13417 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13418 [generic sys/param.h] (common-generated): Do not append to
13420 [generic sys/param.h] (sysdep_headers): Likewise.
13421 [generic bits/errno.h] (before-compile): Do not append to
13423 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13425 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13426 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13427 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13428 [generic bits/errno.h] (common-generated): Do not append to
13430 [generic bits/ioctls.h] (before-compile): Do not append to
13432 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13434 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13435 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13436 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13438 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13439 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13440 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13441 [generic bits/ioctls.h] (common-generated): Do not append to
13443 [generic sys/syscall.h] (syscall.h): Remove variable.
13444 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13446 [generic sys/syscall.h] (before-compile): Do not append to
13448 [generic sys/syscall.h] (common-generated): Likewise.
13449 * sysdeps/unix/errnos-tmpl.c: Remove file.
13450 * sysdeps/unix/errnos.awk: Likewise.
13451 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13452 * sysdeps/unix/ioctls.awk: Likewise.
13453 * sysdeps/unix/mk-local_lim.c: Likewise.
13454 * sysdeps/unix/snarf-ioctls: Likewise.
13456 2012-03-19 Richard Henderson <rth@twiddle.net>
13458 * sysdeps/i386/fpu/fenv_private.h: New file.
13459 * sysdeps/i386/fpu/math_private.h: Use it.
13460 (math_opt_barrier, math_force_eval): Remove.
13461 (libc_feholdexcept_setround_53bit): Remove.
13462 (libc_feupdateenv_53bit): Remove.
13463 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13464 (math_opt_barrier, math_force_eval): Remove.
13465 (libc_feholdexcept): Remove.
13466 (libc_feholdexcept_setround): Remove.
13467 (libc_fetestexcept, libc_fesetenv): Remove.
13468 (libc_feupdateenv_test): Remove.
13469 (libc_feupdateenv, libc_feholdsetround): Remove.
13470 (libc_feresetround): Remove.
13472 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13473 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13475 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13476 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13477 (libc_feupdateenv_testl): New.
13478 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13479 (libc_feupdateenv_testf): New.
13480 (libc_feupdateenv): Use libc_feupdateenv_test.
13481 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13482 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13484 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13485 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13486 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13487 (libc_feresetround_noex): New.
13488 (libc_feresetround_noexf): New.
13489 (libc_feresetround_noexl): New.
13490 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13491 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13492 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13493 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13495 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13496 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13498 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13499 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13500 SET_RESTORE_ROUND_NOEX.
13501 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13502 SET_RESTORE_ROUND_NOEXF.
13503 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13504 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13505 (libc_feholdsetroundf): New.
13506 (libc_feresetround, libc_feresetroundf): New.
13508 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13509 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13510 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13512 * sysdeps/generic/math_private.h: Include <fenv.h>.
13513 (default_libc_feholdexcept): New.
13514 (default_libc_feholdexcept_setround): New.
13515 (default_libc_fesetenv, default_libc_feupdateenv): New.
13516 (libc_feholdexcept): Only define if undefined.
13517 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13518 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13519 (libc_feholdexcept_setroundl): Likewise.
13520 (libc_feholdexcept_setround_53bit): Likewise.
13521 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13522 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13523 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13524 (libc_feupdateenv_53bit): Likewise.
13525 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13526 (libc_feholdexcept): Convert from macro to inline function.
13527 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13528 (libc_fesetenv, libc_feupdateenv): Likewise.
13530 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13531 not previously defined.
13532 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13533 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13534 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13535 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13536 * sysdeps/ieee754/flt-32/math_private.h: New file.
13537 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13538 math_private.h below SET_FLOAT_WORD.
13539 (__isnan, __isinf_ns, __finite): Remove.
13540 (__isnanf, __isinf_nsf, __finitef): Remove.
13542 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13546 2012-03-17 David S. Miller <davem@davemloft.net>
13549 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13552 2012-03-16 David S. Miller <davem@davemloft.net>
13554 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13558 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13560 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13561 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13562 sysdep_routines when subdir is sysvipc.
13563 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13564 __getshmlba helper.
13566 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13568 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13570 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13573 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13575 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13576 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13577 (__lround): Renamed to ...
13578 (__llround): This. Replace long int with long long int.
13579 Define lround functions as aliases of llround functions.
13580 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13582 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13584 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13585 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13586 adresses to uintptr_t. Replace "long int" and "unsigned long
13587 int" with "greg_t" on va_arg.
13589 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13591 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13592 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13594 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13595 Move e_machine check before EI_CLASS check. Handle x32
13596 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13597 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13598 SKIP_EM_IA_64 and include
13599 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13601 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13602 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13603 (add_system_dir): New macro.
13605 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13606 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13608 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13619 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13621 * math/w_j0f.c (j0f): Likewise.
13623 * math/w_j0l.c (__j0l): Likewise.
13625 * math/w_j1.c (j1): Likewise.
13627 * math/w_j1f.c (j1f): Likewise.
13629 * math/w_j1l.c (__j1l): Likewise.
13631 * math/w_jn.c (jn): Likewise.
13633 * math/w_jnf.c (jnf): Likewise.
13635 * math/w_jnl.c (__jnl): Likewise.
13637 * math/libm-test.inc (j0_test): Add more tests.
13638 (j1_test): Likewise.
13639 (jn_test): Likewise. Add trailing semicolon to existing test.
13640 (y0_test): Likewise.
13641 (y1_test): Likewise.
13642 * sysdeps/i386/fpu/libm-test-ulps: Update.
13643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13647 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13648 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13649 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13650 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13651 (__tanl): Set errno for infinite argument.
13652 * sysdeps/i386/fpu/mptan.c: Remove.
13653 * sysdeps/i386/fpu/s_tan.S: Likewise.
13654 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13655 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13656 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13657 * math/libm-test.inc (tan_test): Add more tests and enable more
13658 tests for double and long double.
13659 * sysdeps/i386/fpu/libm-test-ulps: Update.
13660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13662 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13664 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13665 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13667 2012-03-16 Roland McGrath <roland@hack.frob.com>
13669 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13670 * configure.in: Use it for both main tree and add-ons.
13671 * configure: Regenerated.
13673 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13675 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13677 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13679 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13683 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13684 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13685 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13686 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13687 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13689 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13690 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13691 != 0 for prec == 2.
13692 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13693 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13694 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13695 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13696 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13697 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13698 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13699 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13700 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13701 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13702 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13703 * math/libm-test.inc (cos_test): Add more tests and enable more
13704 tests for long double.
13705 (sin_test): Likewise.
13706 (sincos_test): Likewise.
13707 * sysdeps/i386/fpu/libm-test-ulps: Update.
13708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13710 2012-03-16 David S. Miller <davem@davemloft.net>
13712 * sysdeps/sparc/fpu/math_private.h: New file.
13714 2012-03-15 David S. Miller <davem@davemloft.net>
13716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
13719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13726 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13730 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13731 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13733 * sysdeps/sparc/sparc-ifunc.h: New file.
13734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
13750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13759 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13760 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13761 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13762 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13763 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13764 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13765 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13766 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13767 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13771 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13772 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13773 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13774 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13775 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13776 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13777 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13779 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13781 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13785 2012-03-15 Andreas Jaeger <aj@suse.de>
13788 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13789 ieee754/flt-32 implementation for sin, cos and sincos.
13790 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13791 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13792 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13793 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13794 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13795 ieee754/flt-32 implementation for tan.
13797 * math/libm-test.inc (cos_test): Enable some large input tests for
13799 (sin_test): Likewise.
13800 (sincos_test): Likewise.
13801 (tan_test): Add tests for large input.
13803 * sysdeps/i386/fpu/libm-test-ulps: Update.
13805 2012-03-15 Andreas Jaeger <aj@suse.de>
13808 * math/libm-test.inc (cos_test): Add more test cases.
13809 (sin_test): Likewise.
13810 (sincos_test): Likewise.
13812 2012-03-15 Andreas Jaeger <aj@suse.de>
13815 * math/libm-test.inc (cos_test): Add a test case for large input
13817 (sin_test): Likewise.
13818 (sincos_test): Likewise.
13820 2012-03-15 Andreas Jaeger <aj@suse.de>,
13821 Joseph Myers <joseph@codesourcery.com>
13824 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
13825 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13826 * sysdeps/i386/fpu/branred.c: Likewise.
13827 * sysdeps/i386/fpu/dosincos.c: Likewise.
13828 * sysdeps/i386/fpu/mpa.c: Likewise.
13829 * sysdeps/i386/fpu/s_cos.S: Likewise.
13830 * sysdeps/i386/fpu/s_sin.S: Likewise.
13831 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13832 * sysdeps/i386/fpu/sincos32.c: Likewise.
13834 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13836 (libc_feupdateenv_53bit): Define.
13837 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13839 (libc_feupdateenv_53bit): Define.
13841 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13842 53 bit (without extend i386 double precision).
13844 * math/libm-test.inc (sincos_test): Add tests for large input.
13848 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13850 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13852 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13854 2012-03-15 David S. Miller <davem@davemloft.net>
13856 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13857 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13858 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13859 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13860 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13861 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13864 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13865 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13866 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13867 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13868 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
13873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
13874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
13876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
13877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
13879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
13880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
13882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
13883 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
13884 fmin/fmax sysdep routines.
13885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13887 2012-03-14 David S. Miller <davem@davemloft.net>
13889 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
13890 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
13891 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
13892 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
13893 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
13894 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
13895 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
13896 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
13897 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
13898 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
13899 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
13900 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
13901 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
13902 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
13903 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
13904 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
13905 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
13906 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
13907 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
13908 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
13909 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
13910 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
13911 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
13912 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
13913 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
13914 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
13915 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
13916 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
13917 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
13919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
13921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
13922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
13924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
13925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
13927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
13928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
13930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
13931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
13933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
13934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
13936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
13938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
13940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
13942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
13944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
13946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
13948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
13949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
13951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
13952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
13954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
13955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
13957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
13958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
13961 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
13964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13966 * sysdeps/sparc/configure.in: New file.
13967 * sysdeps/sparc/configure: Generate.
13968 * configure.in (libc_cv_sparc_as_vis3): Substitute.
13969 * configure: Regenerate.
13970 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
13971 * config.make.in (have-as-vis3): New.
13972 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
13973 available use -Av9d instead of -Av9a.
13974 * sysdeps/sparc/sparc64/Makefile: Likewise.
13975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
13976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
13978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
13980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
13982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
13984 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
13985 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
13986 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
13987 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
13988 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
13990 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
13991 fzeros/fnegs to load 0x80000000 into a float register instead of
13993 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
13995 2012-03-14 Joseph Myers <joseph@codesourcery.com>
13997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13999 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14000 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14001 ($(inst_includedir)/bits/syscall.h): Remove rule.
14002 ($(objpfx)bits/syscall.d): Include instead of
14003 $(objpfx)syscall-list.d.
14004 (generated): Change syscall-list.h and syscall-list.d to
14005 bits/syscall.h and bits/syscall.d.
14007 2012-03-14 Roland McGrath <roland@hack.frob.com>
14010 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14012 2012-03-14 Joseph Myers <joseph@codesourcery.com>
14015 * math/s_csqrt.c: Include <float.h>.
14016 (__csqrt): Scale large or subnormal inputs.
14017 * math/s_csqrtf.c: Likewise.
14018 * math/s_csqrtl.c: Likewise.
14019 * math/libm-test.inc (csqrt_test): Add more tests.
14020 * sysdeps/i386/fpu/libm-test-ulps: Update.
14021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14024 * math/libm-test.inc (hypot_test): Add more tests.
14026 2012-03-13 David S. Miller <davem@davemloft.net>
14029 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14030 double-precision for the calculation instead of scaling.
14032 2012-03-13 Joseph Myers <joseph@codesourcery.com>
14034 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14035 manipulate bits before adding and subtracting TWO52[sx].
14036 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14037 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14039 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14041 2012-03-13 David S. Miller <davem@davemloft.net>
14043 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14044 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14045 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14046 rtld-global-offsets.h
14047 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14049 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14052 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14054 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14055 'err' in the ifdef scope in which it is actually used.
14057 * nss/nss_db/db-init.c: Include string.h
14059 2012-03-12 David S. Miller <davem@davemloft.net>
14061 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14062 masking out of the most significant byte of random value used.
14063 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14064 Fix coding style in previous change.
14066 * sysdeps/unix/sysv/linux/kernel-features.h
14067 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14068 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14070 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14073 2012-03-11 David S. Miller <davem@davemloft.net>
14075 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14076 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14077 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14078 for 'resultvar' otherwise things get truncated on 64-bit.
14080 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14081 Fix masking out of the most significant byte of random value used.
14083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14085 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14089 2012-03-09 David S. Miller <davem@davemloft.net>
14091 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14092 variables with appropriate CPP guards.
14093 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14094 frame pointer, not the stack pointer. Correct layout comments. Fix test
14095 on resulting framesize and the management of the outregs buffer for pltexit.
14096 Preserve floating point return values across _dl_call_pltexit call.
14097 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14098 framesize and the management of the outregs buffer for pltexit.
14099 Preserve floating point return values across _dl_call_pltexit
14101 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14102 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14103 (print_exit): Fix format string for return register value.
14105 2012-03-10 Joseph Myers <joseph@codesourcery.com>
14107 * sunrpc/Makefile (others): Add rpcgen.
14108 ($(objpfx)rpcgen): Remove special build rule and dependency on
14110 * sunrpc/rpcgen.c: New file.
14112 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14115 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14116 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14117 * sysdeps/i386/crti.S: Likewise.
14118 * sysdeps/i386/crtn.S: Likewise.
14119 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14120 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14121 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14122 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14123 * sysdeps/sh/crti.S: Likewise.
14124 * sysdeps/sh/crtn.S: Likewise.
14125 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14128 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14130 * locale/programs/locfile-kw.gperf: Likewise.
14131 * locale/programs/charmap-kw.h: Regenerated.
14132 * locale/programs/locfile-kw.h: Likewise.
14135 * intl/plural.y: Replace FSF snail mail address with URL.
14136 * intl/plural.c: Regenerated.
14138 2012-03-09 Richard Henderson <rth@twiddle.net>
14140 * include/math_private.h: Remove file.
14141 * math/math_private.h: Move file ...
14142 * sysdeps/generic/math_private.h: ... here.
14144 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14145 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14146 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14148 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
14149 and <math_private.h>.
14150 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14151 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14152 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14153 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14154 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14155 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14156 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14157 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14158 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14159 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14160 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14161 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14162 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14163 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14164 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14165 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14166 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14167 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14168 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14169 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14170 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14171 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14172 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14173 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14174 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14175 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14176 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14177 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14178 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14179 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14180 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14181 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14182 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14183 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14184 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14185 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14186 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14187 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14188 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14189 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14190 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14191 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14192 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14193 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14194 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14195 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14196 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14197 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14198 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14199 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14200 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14201 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14202 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14203 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14204 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14205 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14206 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14207 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14208 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14209 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14210 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14211 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14212 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14213 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14214 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14215 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14216 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14217 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14218 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14219 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14220 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14221 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14222 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14223 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14224 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14225 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14226 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14227 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14228 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14229 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14230 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14231 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14232 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14233 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14234 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14235 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14236 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14237 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14238 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14239 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14240 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14241 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14242 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14243 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14244 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14245 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14246 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14247 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14248 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14249 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14250 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14251 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14252 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14253 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14254 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14255 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14256 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14257 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14258 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14259 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14260 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14261 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14262 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14263 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14264 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14265 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14266 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14267 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14268 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14269 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14270 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14271 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14272 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14273 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14274 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14275 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14276 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14277 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14278 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14279 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14280 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14281 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14282 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14283 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14284 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14285 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14286 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14287 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14288 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14289 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14290 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14291 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14292 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14293 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14294 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14295 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14296 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14297 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14298 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14299 * sysdeps/ieee754/k_standard.c: Likewise.
14300 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14301 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14302 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14303 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14304 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14305 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14306 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14307 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14308 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14309 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14310 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14311 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14312 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14313 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14314 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14315 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14316 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14317 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14318 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14319 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14320 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14321 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14322 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14323 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14324 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14325 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14326 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14327 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14328 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14329 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14330 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14331 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14332 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14333 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14334 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14335 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14336 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14337 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14338 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14339 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14340 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14341 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14342 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14343 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14344 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14345 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14346 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14347 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14348 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14349 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14350 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14351 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14352 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14353 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14354 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14355 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14356 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14357 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14358 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14359 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14360 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14361 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14362 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14363 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14364 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14365 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14366 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14367 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14368 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14369 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14370 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14371 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14372 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14373 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14374 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14375 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14376 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14377 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14378 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14379 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14380 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14381 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14382 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14383 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14384 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14385 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14386 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14387 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14388 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14389 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14390 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14391 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14392 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14393 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14394 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14395 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14396 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14397 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14398 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14399 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14400 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14401 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14402 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14403 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14404 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14405 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14406 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14407 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14408 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14409 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14410 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14411 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14412 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14413 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14414 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14415 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14416 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14417 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14418 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14419 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14420 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14421 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14422 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14423 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14424 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14425 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14426 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14427 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14428 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14429 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14430 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14431 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14432 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14433 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14434 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14435 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14436 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14437 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14438 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14439 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14440 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14441 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14442 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14443 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14444 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14445 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14446 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14447 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14448 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14449 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14450 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14451 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14452 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14453 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14454 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14455 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14456 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14457 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14458 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14459 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14460 * sysdeps/ieee754/s_lib_version.c: Likewise.
14461 * sysdeps/ieee754/s_matherr.c: Likewise.
14462 * sysdeps/ieee754/s_signgam.c: Likewise.
14463 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14464 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14465 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14466 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14467 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14468 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14469 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14470 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14471 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14472 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14473 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14474 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14475 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14476 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14477 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14478 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14479 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14480 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14481 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14482 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14483 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14485 2012-03-09 Joseph Myers <joseph@codesourcery.com>
14487 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14488 * sunrpc/rpc_main.c: Likewise.
14489 * sunrpc/rpc_svcout.c: Likewise.
14491 2012-03-09 David S. Miller <davem@davemloft.net>
14493 * include/math_private.h: New file.
14495 2012-03-09 Joseph Myers <joseph@codesourcery.com>
14497 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14498 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14499 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14500 from <bits/socket_type.h>.
14501 (enum __socket_type): Don't define here.
14502 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14503 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14504 bits/socket_type.h.
14507 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14508 checking __USE_GNU.
14510 * Makerules ($(inst_includedir)/%.h): New rule.
14511 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14512 (install-others): Remove variable setting.
14513 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14515 2012-03-08 Richard Henderson <rth@twiddle.net>
14517 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14518 from macro to inline function; merge with the
14519 !__LIBC_INTERNAL_MATH_INLINES version.
14520 (__ieee754_sqrtf): Likewise.
14522 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14523 to inline function.
14524 (__rintf, __floor, __floorf): Likewise.
14526 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14527 macro to inline function.
14528 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14530 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14531 not <math/math_private.h>.
14533 2012-03-08 David S. Miller <davem@davemloft.net>
14535 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14537 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14539 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14541 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14543 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14544 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14546 2012-03-08 Ulrich Drepper <drepper@gmail.com>
14548 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14549 be defined individually, they must be defined as a block. Define
14550 S for printing a string instead of hidint the different by using a
14551 macro for adding the 'l'.
14552 * stdio-common/tst-fphex-wide.c: Adjust.
14554 2012-03-07 Marek Polacek <polacek@redhat.com>
14556 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14558 2012-03-08 Marek Polacek <polacek@redhat.com>
14561 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14562 * stdio-common/tst-fphex.c: Define a few macros to make the
14563 test reusable. Use them.
14564 * stdio-common/tst-fphex-wide.c: New file.
14566 2012-03-08 Joseph Myers <joseph@codesourcery.com>
14569 * manual/macros.texi (gnusystems): New macro.
14570 (nongnusystems): Likewise.
14571 (gnulinuxhurdsystems): Likewise.
14572 (gnuhurdsystems): Likewise..
14573 (gnulinuxsystems): Likewise.
14574 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14575 variants of the GNU system, not "GNU system".
14576 * manual/conf.texi: Likewise.
14577 * manual/errno.texi: Likewise. Update example of errno macro
14579 * manual/filesys.texi: Likewise.
14580 (getumask): Document as specific to GNU/Hurd.
14581 * manual/install.texi: Likewise. Reword some references to
14583 * manual/intro.texi: Likewise.
14584 * manual/io.texi: Likewise.
14585 (File Name Portability): Detail which constraints are inapplicable
14586 to all GNU systems and which are only inapplicable to GNU/Hurd.
14587 * manual/job.texi: Likewise.
14588 * manual/llio.texi: Likewise.
14589 (O_NOCTTY): Document as present on GNU/Linux.
14590 * manual/maint.texi: Likewise.
14591 * manual/memory.texi: Likewise.
14592 * manual/pattern.texi: Likewise.
14593 * manual/pipe.texi: Likewise.
14594 * manual/process.texi: Likewise.
14595 * manual/resource.texi: Likewise.
14596 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14598 * manual/setjmp.texi: Likewise.
14599 * manual/signal.texi: Likewise.
14600 * manual/startup.texi: Likewise.
14601 * manual/stdio.texi: Likewise.
14602 * manual/terminal.texi: Likewise.
14603 (ONLCR): Document as POSIX.
14604 (OXTABS): Document availability on GNU/Linux as XTABS.
14605 (ONOEOT): Document availability separately from other bits.
14606 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14607 * manual/time.texi: Likewise.
14608 * manual/users.texi: Likewise.
14609 * INSTALL: Regenerated.
14610 * sysdeps/gnu/errlist.c: Regenerated.
14612 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14613 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14614 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14616 * configure: Regenerated.
14618 2012-03-07 Joseph Myers <joseph@codesourcery.com>
14620 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14621 default includes instead of AC_HEADER_CHECK.
14622 * sysdeps/i386/configure: Regenerated.
14625 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14626 * math/s_cacoshf.c (__cacoshf): Likewise.
14627 * math/s_cacoshl.c (__cacoshl): Likewise.
14628 * math/s_casinh.c (__casinh): Set signs of result from argument.
14629 * math/s_casinhf.c (__casinhf): Likewise.
14630 * math/s_casinhl.c (__casinhl): Likewise.
14631 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14632 (casinh_test): Add more tests.
14633 * sysdeps/i386/fpu/libm-test-ulps: Update.
14634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14636 2012-03-07 Ulrich Drepper <drepper@gmail.com>
14638 * po/zh_TW.po: Update from translation team.
14640 * login/Makefile (distribute): Remove variable.
14641 * catgets/Makefile: Likewise.
14642 * mach/Makefile: Likewise.
14643 * malloc/Makefile: Likewise.
14644 * misc/Makefile: Likewise.
14645 * iconv/Makefile: Likewise.
14646 * nscd/Makefile: Likewise.
14647 * hurd/Makefile: Likewise.
14648 * manual/Makefile: Likewise.
14649 * locale/Makefile: Likewise.
14650 * intl/Makefile: Likewise.
14651 * conform/Makefile: Likewise.
14652 * nss/Makefile: Likewise.
14653 * time/Makefile: Likewise.
14654 * soft-fp/Makefile: Likewise.
14655 * dirent/Makefile: Likewise.
14656 * gmon/Makefile: Likewise.
14657 * po/Makefile: Likewise.
14658 * rt/Makefile: Likewise.
14659 * socket/Makefile: Likewise.
14660 * math/Makefile: Likewise.
14661 * signal/Makefile: Likewise.
14662 * debug/Makefile: Likewise.
14663 * elf/Makefile: Likewise.
14664 * timezone/Makefile: Likewise.
14665 * stdlib/Makefile: Likewise.
14666 * iconvdata/Makefile: Likewise.
14667 * sunrpc/Makefile: Likewise.
14668 * io/Makefile: Likewise.
14669 * argp/Makefile: Likewise.
14670 * inet/Makefile: Likewise.
14671 * hesiod/Makefile: Likewise.
14672 * grp/Makefile: Likewise.
14673 * csu/Makefile: Likewise.
14674 * wctype/Makefile: Likewise.
14675 * crypt/Makefile: Likewise.
14676 * libio/Makefile: Likewise.
14677 * string/Makefile: Likewise.
14678 * nis/Makefile: Likewise.
14679 * resolv/Makefile: Likewise.
14680 * stdio-common/Makefile: Likewise.
14681 * wcsmbs/Makefile: Likewise.
14682 * dlfcn/Makefile: Likewise.
14683 * posix/Makefile: Likewise.
14686 * timezone/Makefile: Don't install timezone files, just the programs
14689 2012-03-06 Ulrich Drepper <drepper@gmail.com>
14691 * nss/databases.def: Add missing gshadow entry.
14693 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14695 2012-03-06 Marek Polacek <polacek@redhat.com>
14698 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14699 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14700 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14701 * stdio-common/tst-long-dbl-fphex.c: New file.
14703 2012-03-06 David S. Miller <davem@davemloft.net>
14705 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14706 (set_obp_int): New function.
14707 (get_obp_int): New function.
14708 (__get_clockfreq_via_dev_openprom): Likewise.
14709 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14710 Avoid unused variable warnings on 'val' and use builtin_expect.
14711 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14713 (INLINE_CLONE_SYSCALL): Likewise.
14715 2012-03-05 David S. Miller <davem@davemloft.net>
14717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14719 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14723 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14724 only for |x| >= 40.
14725 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14727 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
14729 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14730 Replace gettimeofday with __vdso_gettimeofday.
14732 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14733 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14734 __vdso_clock_gettime and __vdso_getcpu.
14736 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14737 time with __vdso_time.
14739 2012-03-05 Joseph Myers <joseph@codesourcery.com>
14741 * manual/lang.texi (size_t): Note types to which size_t may be
14742 equivalent with the GNU C Library, but do not describe when
14743 differences between them are significant.
14745 2012-03-05 Andreas Jaeger <aj@suse.de>
14747 * sysdeps/i386/fpu/libm-test-ulps: Update.
14749 2012-03-05 Joseph Myers <joseph@codesourcery.com>
14752 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14753 (__ieee754_pow): Save and restore rounding mode and use
14754 round-to-nearest for main computations.
14755 * math/libm-test.inc (pow_test_tonearest): New function.
14756 (pow_test_towardzero): Likewise.
14757 (pow_test_downward): Likewise.
14758 (pow_test_upward): Likewise.
14759 (main): Call the new functions.
14760 * sysdeps/i386/fpu/libm-test-ulps: Update.
14761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14764 * math/libm-test.inc (cosh_test_tonearest): New function.
14765 (cosh_test_towardzero): Likewise.
14766 (cosh_test_downward): Likewise.
14767 (cosh_test_upward): Likewise.
14768 (sinh_test_tonearest): Likewise.
14769 (sinh_test_towardzero): Likewise.
14770 (sinh_test_downward): Likewise.
14771 (sinh_test_upward): Likewise.
14772 (main): Call the new functions.
14773 * sysdeps/i386/fpu/libm-test-ulps: Update.
14774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14776 2012-03-05 Tom de Vries <tom@codesourcery.com>
14778 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14779 default stack guard is set in last bytes.
14780 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14782 2012-03-05 Kees Cook <keescook@chromium.org>
14784 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
14787 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14788 possibly allocate from heap instead of stack.
14789 * stdio-common/bug-vfprintf-nargs.c: New file.
14790 * stdio-common/Makefile (tests): Add nargs overflow test.
14792 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14794 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14796 2012-03-03 Marek Polacek <polacek@redhat.com>
14798 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14799 * math/math_private.h: Likewise.
14800 * stdlib/tst-strtod.c: Likewise.
14801 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14802 * sysdeps/x86_64/bits/atomic.h: Likewise.
14804 2012-03-02 David S. Miller <davem@davemloft.net>
14806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14810 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14811 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14812 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14813 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14815 2012-03-02 Roland McGrath <roland@hack.frob.com>
14818 * manual/examples/README: New file, says the example source files
14819 can be used under GPL>=2.
14820 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14821 line containing just "*/".
14822 * manual/examples/add.c: Add copyright header (GPL>=2).
14823 * manual/examples/argp-ex1.c: Likewise.
14824 * manual/examples/argp-ex2.c: Likewise.
14825 * manual/examples/argp-ex3.c: Likewise.
14826 * manual/examples/argp-ex4.c: Likewise.
14827 * manual/examples/atexit.c: Likewise.
14828 * manual/examples/db.c: Likewise.
14829 * manual/examples/dir.c: Likewise.
14830 * manual/examples/dir2.c: Likewise.
14831 * manual/examples/execinfo.c: Likewise.
14832 * manual/examples/filecli.c: Likewise.
14833 * manual/examples/filesrv.c: Likewise.
14834 * manual/examples/fmtmsgexpl.c: Likewise.
14835 * manual/examples/genpass.c: Likewise.
14836 * manual/examples/inetcli.c: Likewise.
14837 * manual/examples/inetsrv.c: Likewise.
14838 * manual/examples/isockad.c: Likewise.
14839 * manual/examples/longopt.c: Likewise.
14840 * manual/examples/memopen.c: Likewise.
14841 * manual/examples/memstrm.c: Likewise.
14842 * manual/examples/mkfsock.c: Likewise.
14843 * manual/examples/mkisock.c: Likewise.
14844 * manual/examples/mygetpass.c: Likewise.
14845 * manual/examples/pipe.c: Likewise.
14846 * manual/examples/popen.c: Likewise.
14847 * manual/examples/rprintf.c: Likewise.
14848 * manual/examples/search.c: Likewise.
14849 * manual/examples/select.c: Likewise.
14850 * manual/examples/setjmp.c: Likewise.
14851 * manual/examples/sigh1.c: Likewise.
14852 * manual/examples/sigusr.c: Likewise.
14853 * manual/examples/stpcpy.c: Likewise.
14854 * manual/examples/strdupa.c: Likewise.
14855 * manual/examples/strftim.c: Likewise.
14856 * manual/examples/strncat.c: Likewise.
14857 * manual/examples/subopt.c: Likewise.
14858 * manual/examples/swapcontext.c: Likewise.
14859 * manual/examples/termios.c: Likewise.
14860 * manual/examples/testopt.c: Likewise.
14861 * manual/examples/testpass.c: Likewise.
14862 * manual/examples/timeval_subtract.c: Likewise.
14865 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14867 * manual/timeval_subtract.c.texi: ... here, new file.
14869 2012-03-02 David S. Miller <davem@davemloft.net>
14871 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
14873 2012-03-02 Joseph Myers <joseph@codesourcery.com>
14876 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
14877 (__sin): Save and restore rounding mode and use round-to-nearest
14878 for all computations.
14879 (__cos): Save and restore rounding mode and use round-to-nearest
14880 for all computations.
14881 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
14883 (tan): Save and restore rounding mode and use round-to-nearest for
14885 * math/libm-test.inc (cos_test_tonearest): New function.
14886 (cos_test_towardzero): Likewise.
14887 (cos_test_downward): Likewise.
14888 (cos_test_upward): Likewise.
14889 (sin_test_tonearest): Likewise.
14890 (sin_test_towardzero): Likewise.
14891 (sin_test_downward): Likewise.
14892 (sin_test_upward): Likewise.
14893 (tan_test_tonearest): Likewise.
14894 (tan_test_towardzero): Likewise.
14895 (tan_test_downward): Likewise.
14896 (tan_test_upward): Likewise.
14897 (main): Call the new functions.
14898 * sysdeps/i386/fpu/libm-test-ulps: Update.
14899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14902 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
14903 small n, then large n, before computing and testing k+n.
14904 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14905 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
14907 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
14909 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
14910 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
14911 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
14912 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
14913 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14914 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14915 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
14916 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
14917 * math/libm-test.inc (scalbn_test): Add more tests.
14918 (scalbln_test): Likewise.
14920 * manual/filesys.texi (mode_t): Describe constraints on size and
14921 signedness, not exact equivalence to a particular type.
14923 (ino64_t): Likewise.
14925 (nlink_t): Likewise.
14926 (blkcnt_t): Likewise.
14927 (blkcnt64_t): Likewise.
14928 * manual/llio.texi (off_t): Likewise.
14931 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
14932 (__ieee754_exp): Save and restore rounding mode and use
14933 round-to-nearest for all computations.
14934 * math/libm-test.inc (exp_test_tonearest): New function.
14935 (exp_test_towardzero): Likewise.
14936 (exp_test_downward): Likewise.
14937 (exp_test_upward): Likewise.
14938 (main): Call the new functions.
14939 * sysdeps/i386/fpu/libm-test-ulps: Update.
14940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14942 2012-03-01 Chris Demetriou <cgd@google.com>
14944 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
14945 have predictable order.
14947 2012-03-01 David S. Miller <davem@davemloft.net>
14949 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
14951 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
14952 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
14953 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
14954 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
14956 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
14957 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
14958 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
14959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
14960 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
14961 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
14962 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
14963 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
14964 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
14966 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14968 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
14969 * sysdeps/sparc/fpu/libm-test-ulps: to here.
14970 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
14972 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
14973 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14974 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
14975 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
14976 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
14977 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
14978 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
14979 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14980 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
14981 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
14982 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
14983 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
14984 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14985 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
14986 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14987 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14988 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
14989 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
14990 * sysdeps/sparc/elf/configure: Regenerated.
14992 2012-03-01 Joseph Myers <joseph@codesourcery.com>
14994 * configure.in (AS, LD): Require binutils 2.20 or later.
14995 * configure: Regenerated.
14996 * manual/install.texi (Tools for Compilation): Give binutils 2.20
14997 as required minimum version.
14998 * INSTALL: Regenerated.
15002 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15003 before squaring exponent.
15004 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15005 bottom long double and 27 bits of top long double before squaring
15007 * math/libm-test.inc (erfc_test): Add more tests.
15008 * sysdeps/i386/fpu/libm-test-ulps: Update.
15009 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15012 2012-03-01 Kai Tietz <ktietz@redhat.com>
15014 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15015 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15016 containing bit-fields.
15017 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15018 * soft-fp/single.h (_FP_UNION_S): Likewise.
15019 * soft-fp/double.h (_FP_UNION_D): Likewise.
15021 2012-02-29 Joseph Myers <joseph@codesourcery.com>
15024 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15025 not include ../strcmp.S.
15026 [USE_AS_STRNCASECMP_L]: Likewise.
15027 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15028 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15029 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15030 (__strncasecmp_l_ia32): Define as alias to
15031 __strncasecmp_l_nonascii.
15034 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15035 * sysdeps/i386/fpu/libm-test-ulps: Update.
15036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15038 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15041 2012-02-29 Jeff Law <law@redhat.com>
15043 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15044 out of bounds read.
15046 2012-02-29 Marek Polacek <polacek@redhat.com>
15049 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15050 * elf/Makefile: Add rules to run tst-unused-dep.out.
15052 2012-02-28 David S. Miller <davem@davemloft.net>
15054 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15055 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15056 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15057 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15058 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15059 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15061 2012-02-29 Joseph Myers <joseph@codesourcery.com>
15063 * math/libm-test.inc (llround_test): Move one test from
15064 lround_test. Use TEST_f_L in moved test.
15065 (lround_test): Move misplaced test to llround_test. Add testcase
15068 2012-02-28 Ulrich Drepper <drepper@gmail.com>
15070 * sysdeps/x86_64/fpu/e_expf.S: New file.
15071 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15073 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15076 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15077 of remain_len that may cause incomplete multi-byte character and
15079 * posix/bug-regex33.c: New file.
15080 * posix/Makefile (tests): Add bug-regex33.
15082 2012-02-28 Joseph Myers <joseph@codesourcery.com>
15084 * manual/macros.texi: New file.
15085 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15086 * manual/libc.texinfo: Include macros.texi.
15087 * manual/creatute.texi: Likewise.
15088 * manual/install.texi: Likewise.
15089 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15090 @glibcadj{} in references to the GNU C Library.
15091 * manual/charset.texi: Likewise.
15092 * manual/conf.texi: Likewise.
15093 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15094 when not using those macros.
15095 * manual/creature.texi: Likewise.
15096 * manual/crypt.texi: Likewise.
15097 * manual/errno.texi: Likewise.
15098 * manual/filesys.texi: Likewise.
15099 * manual/header.texi: Likewise.
15100 * manual/install.texi: Likewise.
15101 * manual/intro.texi: Likewise.
15102 * manual/io.texi: Likewise.
15103 * manual/job.texi: Likewise.
15104 * manual/lang.texi: Likewise.
15105 * manual/libc.texiinfo: Likewise.
15106 * manual/llio.texi: Likewise.
15107 * manual/locale.texi: Likewise.
15108 * manual/maint.texi: Likewise.
15109 * manual/math.texi: Likewise.
15110 * manual/memory.texi: Likewise.
15111 * manual/message.texi: Likewise.
15112 * manual/nss.texi: Likewise.
15113 * manual/pattern.texi: Likewise.
15114 * manual/process.texi: Likewise.
15115 * manual/resource.texi: Likewise.
15116 * manual/search.texi: Likewise.
15117 * manual/setjmp.texi: Likewise.
15118 * manual/signal.texi: Likewise.
15119 * manual/socket.texi: Likewise.
15120 * manual/startup.texi: Likewise.
15121 * manual/stdio.texi: Likewise.
15122 * manual/string.texi: Likewise.
15123 * manual/sysinfo.texi: Likewise.
15124 * manual/syslog.texi: Likewise.
15125 * manual/terminal.texi: Likewise.
15126 * manual/time.texi: Likewise.
15127 * manual/users.texi: Likewise.
15128 * INSTALL: Regenerated.
15129 * NOTES: Regenerated.
15130 * sysdeps/gnu/errlist.c: Regenerated.
15132 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15134 * include/dirent.h: Include <dirstream.h> before
15137 2012-02-28 David S. Miller <davem@davemloft.net>
15139 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15140 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15141 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15142 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15144 2012-02-27 David S. Miller <davem@davemloft.net>
15146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15148 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15149 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15152 frame pointer instead of stack pointer relative arg slot.
15153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15154 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15155 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15157 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15160 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15162 2012-02-27 David S. Miller <davem@davemloft.net>
15164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15168 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15169 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15170 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15171 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15173 2012-02-27 Joseph Myers <joseph@codesourcery.com>
15175 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15176 later. Allow versions 5-9.
15177 * configure: Regenerated.
15178 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15179 required minimum version and 4.6 as recommended version. Do not
15180 mention bugs in GCC 2.7 and 2.8.
15181 * INSTALL: Regenerated.
15183 2012-02-27 David S. Miller <davem@davemloft.net>
15185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15189 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15190 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15191 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15192 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15194 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15195 manipulate bits before adding and subtracting TWO112[sx].
15196 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15198 2012-02-27 Roland McGrath <roland@hack.frob.com>
15201 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15202 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15203 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15204 being in POSIX, because they are in 1003.1-2008.
15206 * rt/tst-aio.c: Include <fcntl.h>.
15207 * rt/tst-aio7.c: Likewise.
15208 * rt/tst-aio64.c: Likewise.
15210 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15212 2012-02-27 Joseph Myers <joseph@codesourcery.com>
15214 * manual/install.texi (--with-headers): Describe headers as
15215 interface headers, not private headers.
15216 (Specific advice for GNU/Linux systems): Describe use of headers
15217 from "make headers_install", not private headers from older
15219 * INSTALL: Regenerated.
15220 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15222 * sysdeps/unix/sysv/linux/configure: Regenerated.
15224 * manual/llio.texi (fclean): Remove documentation.
15226 * manual/Makefile (libc-texi-generated): New variable. Include
15228 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15229 $(libc-texi-generated), not duplicated list of files.
15230 (version.texi, stamp-version): New rules.
15231 (realclean): Remove $(libc-texi-generated), not individual files
15232 from that list. Do not remove dir-add.texinfo.
15233 * manual/libc.texinfo: Comment out uses of edition numbers and
15234 references to printed manual. Remove last-updated dates.
15235 (EDITION): Comment out.
15237 (VERSION, UPDATED): Remove.
15238 (version.texi): Include.
15240 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15242 * sysdeps/posix/spawni.c: Include <signal.h>.
15243 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15244 * sysdeps/pthread/aio_fsync.c: Likewise.
15246 2012-02-26 Ulrich Drepper <drepper@gmail.com>
15248 * conform/Makefile (tests): Run only when not cross-compiling and
15249 when fast-check is not defined.
15251 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15252 * conform/data/limits.h-data: Fixes for POSIX2008.
15253 * conform/run-conformtest.sh: Run all tests.
15254 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15256 * include/bits/dlfcn.h: Likewise.
15257 * include/langinfo.h: Likewise.
15258 * include/monetary.h: Likewise.
15259 * include/sys/poll.h: Likewise.
15261 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15263 * posix/spawn.h: Define __need_sigset_t.
15264 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15265 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15266 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15267 to get sigevent_t only.
15268 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15269 only for __USE_GNU.
15270 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15271 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15272 process_vm_writev only for __USE_GNU.
15273 * termios/termios.h: Declare tcgetsid also for POSIX2008.
15275 * conform/Makefile: For now ignore errors from run-conformtest.
15276 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15277 POSIX to avoid namespace pollution. Don't prepend headers.
15278 * conform/data/aio.h-data: Fixes for POSIX testing.
15279 * conform/data/fcntl.h-data: Likewise.
15280 * conform/data/glob.h-data: Likewise.
15281 * conform/data/grp.h-data: Likewise.
15282 * conform/data/pthread.h-data: Likewise.
15283 * conform/data/pwd.h-data: Likewise.
15284 * conform/data/signal.h-data: Likewise.
15285 * conform/data/spawn.h-data: Likewise.
15286 * conform/data/stdio.h-data: Likewise.
15287 * conform/data/stdlib.h-data: Likewise.
15288 * conform/data/stropts.h-data: Likewise.
15289 * conform/data/sys/mman.h-data: Likewise.
15290 * conform/data/sys/stat.h-data: Likewise.
15291 * conform/data/sys/types.h-data: Likewise.
15292 * conform/data/sys/wait.h-data: Likewise.
15293 * conform/data/time.h-data: Likewise.
15294 * conform/data/unistd.h-data: Likewise.
15295 * conform/data/utime.h-data: Likewise.
15297 * io/sys/stat.h: fchmod was always in POSIX.
15298 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15299 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15300 * rt/aio.h: Define __need_timespec before including <time.h>.
15301 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15302 struct. Add forward declaration of pthread_attr_t and use it in
15304 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15305 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15306 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15307 always remove CLK_TCK definition.
15309 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15311 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15313 2012-02-25 Ulrich Drepper <drepper@gmail.com>
15315 * conform/run-conformtest.sh: New file.
15316 * conform/Makefile: Run run-conformtest for tests.
15317 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15320 * conform/data/uchar.h-data: New file.
15321 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15322 * conform/data/arpa/inet.h-data: Likewise.
15323 * conform/data/assert.h-data: Likewise.
15324 * conform/data/complex.h-data: Likewise.
15325 * conform/data/cpio.h-data: Likewise.
15326 * conform/data/ctype.h-data: Likewise.
15327 * conform/data/dirent.h-data: Likewise.
15328 * conform/data/dlfcn.h-data: Likewise.
15329 * conform/data/errno.h-data: Likewise.
15330 * conform/data/fcntl.h-data: Likewise.
15331 * conform/data/float.h-data: Likewise.
15332 * conform/data/fmtmsg.h-data: Likewise.
15333 * conform/data/fnmatch.h-data: Likewise.
15334 * conform/data/ftw.h-data: Likewise.
15335 * conform/data/glob.h-data: Likewise.
15336 * conform/data/grp.h-data: Likewise.
15337 * conform/data/iconv.h-data: Likewise.
15338 * conform/data/inttypes.h-data: Likewise.
15339 * conform/data/langinfo.h-data: Likewise.
15340 * conform/data/libgen.h-data: Likewise.
15341 * conform/data/limits.h-data: Likewise.
15342 * conform/data/locale.h-data: Likewise.
15343 * conform/data/math.h-data: Likewise.
15344 * conform/data/monetary.h-data: Likewise.
15345 * conform/data/mqueue.h-data: Likewise.
15346 * conform/data/ndbm.h-data: Likewise.
15347 * conform/data/net/if.h-data: Likewise.
15348 * conform/data/netdb.h-data: Likewise.
15349 * conform/data/netinet/in.h-data: Likewise.
15350 * conform/data/nl_types.h-data: Likewise.
15351 * conform/data/poll.h-data: Likewise.
15352 * conform/data/pthread.h-data: Likewise.
15353 * conform/data/pwd.h-data: Likewise.
15354 * conform/data/regex.h-data: Likewise.
15355 * conform/data/sched.h-data: Likewise.
15356 * conform/data/search.h-data: Likewise.
15357 * conform/data/semaphore.h-data: Likewise.
15358 * conform/data/setjmp.h-data: Likewise.
15359 * conform/data/signal.h-data: Likewise.
15360 * conform/data/spawn.h-data: Likewise.
15361 * conform/data/stdarg.h-data: Likewise.
15362 * conform/data/stdio.h-data: Likewise.
15363 * conform/data/stdlib.h-data: Likewise.
15364 * conform/data/string.h-data: Likewise.
15365 * conform/data/strings.h-data: Likewise.
15366 * conform/data/stropts.h-data: Likewise.
15367 * conform/data/sys/ipc.h-data: Likewise.
15368 * conform/data/sys/mman.h-data: Likewise.
15369 * conform/data/sys/msg.h-data: Likewise.
15370 * conform/data/sys/resource.h-data: Likewise.
15371 * conform/data/sys/select.h-data: Likewise.
15372 * conform/data/sys/sem.h-data: Likewise.
15373 * conform/data/sys/shm.h-data: Likewise.
15374 * conform/data/sys/socket.h-data: Likewise.
15375 * conform/data/sys/stat.h-data: Likewise.
15376 * conform/data/sys/statvfs.h-data: Likewise.
15377 * conform/data/sys/time.h-data: Likewise.
15378 * conform/data/sys/timeb.h-data: Likewise.
15379 * conform/data/sys/times.h-data: Likewise.
15380 * conform/data/sys/types.h-data: Likewise.
15381 * conform/data/sys/uio.h-data: Likewise.
15382 * conform/data/sys/un.h-data: Likewise.
15383 * conform/data/sys/utsname.h-data: Likewise.
15384 * conform/data/sys/wait.h-data: Likewise.
15385 * conform/data/syslog.h-data: Likewise.
15386 * conform/data/tar.h-data: Likewise.
15387 * conform/data/termios.h-data: Likewise.
15388 * conform/data/utime.h-data: Likewise.
15389 * conform/data/utmpx.h-data: Likewise.
15390 * conform/data/varargs.h-data: Likewise.
15391 * conform/data/wchar.h-data: Likewise.
15392 * conform/data/wctype.h-data: Likewise.
15393 * conform/data/wordexp.h-data: Likewise.
15395 * include/stropts.h: New file.
15396 * include/uchar.h: New file.
15397 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15398 * include/assert.h: Likewise.
15399 * include/ctype.h: Likewise.
15400 * include/dirent.h: Likewise.
15401 * include/dlfcn.h: Likewise.
15402 * include/fcntl.h: Likewise.
15403 * include/fnmatch.h: Likewise.
15404 * include/glob.h: Likewise.
15405 * include/grp.h: Likewise.
15406 * include/libio.h: Likewise.
15407 * include/locale.h: Likewise.
15408 * include/math.h: Likewise.
15409 * include/net/if.h: Likewise.
15410 * include/netdb.h: Likewise.
15411 * include/netinet/in.h: Likewise.
15412 * include/pthread.h: Likewise.
15413 * include/pwd.h: Likewise.
15414 * include/regex.h: Likewise.
15415 * include/sched.h: Likewise.
15416 * include/search.h: Likewise.
15417 * include/setjmp.h: Likewise.
15418 * include/signal.h: Likewise.
15419 * include/stdio.h: Likewise.
15420 * include/stdlib.h: Likewise.
15421 * include/string.h: Likewise.
15422 * include/sys/cdefs.h: Likewise.
15423 * include/sys/mman.h: Likewise.
15424 * include/sys/msg.h: Likewise.
15425 * include/sys/resource.h: Likewise.
15426 * include/sys/select.h: Likewise.
15427 * include/sys/socket.h: Likewise.
15428 * include/sys/stat.h: Likewise.
15429 * include/sys/statvfs.h: Likewise.
15430 * include/sys/time.h: Likewise.
15431 * include/sys/times.h: Likewise.
15432 * include/sys/uio.h: Likewise.
15433 * include/sys/utsname.h: Likewise.
15434 * include/sys/wait.h: Likewise.
15435 * include/termios.h: Likewise.
15436 * include/time.h: Likewise.
15437 * include/ulimit.h: Likewise.
15438 * include/unistd.h: Likewise.
15439 * include/utime.h: Likewise.
15440 * include/wchar.h: Likewise.
15441 * include/wctype.h: Likewise.
15442 * include/wordexp.h: Likewise.
15444 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15446 * time/time.h: TIME_UTC must be a macro.
15447 Make timespec_get available for ISO C11 only as well.
15449 2012-02-24 Ulrich Drepper <drepper@gmail.com>
15451 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15452 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15454 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15456 * configure.in: Use -o not -a in test for unsupported multi-arch.
15458 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15460 * manual/texinfo.tex: Update to version 2012-01-19.16.
15462 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15464 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15466 2012-02-24 Roland McGrath <roland@hack.frob.com>
15469 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15470 * manual/fdl-1.3.texi: New file.
15471 * manual/fdl-1.1.texi: File removed.
15474 * manual/libc.texinfo (FDL_VERSION): New @set.
15475 Use it for mention of FDL in cover text.
15476 (Documentation License): Use it in @include file name.
15478 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15479 Roland McGrath <roland@hack.frob.com>
15482 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15483 not LONG_LONG_MAX and LONG_LONG_MIN.
15484 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15485 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15487 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15489 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15493 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15494 manipulate bits before adding and subtracting TWO23[sx].
15495 * math/libm-test.inc (nearbyint_test): Add more tests.
15497 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15500 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15501 bits before adding and subtracting TWO23[sx].
15502 * math/libm-test.inc (rint_test): Add more tests.
15503 (rint_test_tonearest): Likewise.
15504 (rint_test_towardzero): Likewise.
15505 (rint_test_downward): Likewise.
15506 (rint_test_upward: Likewise.
15508 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15511 * include/stdc-predef.h: New file. Extracted from features.h.
15512 * include/features.h: Include stdc-predef.h.
15513 * Makefile (headers): Add stdc-predef.h.
15514 * CONFORMANCE (Compiler limitations): Update.
15516 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15518 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15520 2012-02-21 David S. Miller <davem@davemloft.net>
15522 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15523 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15525 2012-02-20 David S. Miller <davem@davemloft.net>
15527 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15528 using a normal save/restore sequence, rather than allocating a
15529 dummy stack frame just to store a frame pointer and restore.
15530 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15532 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15534 * manual/install.texi: Fix stray word in line-wrapped comment.
15536 2012-02-20 David S. Miller <davem@davemloft.net>
15538 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15539 both binutils and gcc support GOTDATA.
15541 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15542 "rd %pc" in the PIC register setup sequences.
15544 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15545 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15546 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15547 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15548 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15549 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15550 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15551 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15552 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15553 (SYSCALL_ERROR_HANDLER): Likewise.
15554 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15555 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15556 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15557 (SYSCALL_ERROR_HANDLER): Likewise.
15559 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15560 (HAVE_GCC_GOTDATA): New.
15561 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15562 relocation support in both binutils and gcc.
15563 * sysdeps/sparc/elf/configure: Regenerate.
15565 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15566 * sysdeps/sparc/sparc32/elf/configure: Delete.
15567 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15568 * sysdeps/sparc/sparc64/elf/configure: Delete.
15569 * sysdeps/sparc/elf/configure.in: New file.
15570 * sysdeps/sparc/elf/configure: Generate.
15572 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15573 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15574 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15575 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15576 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15578 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15580 * manual/install.texi: Do not mention specific glibc version
15582 * manual/libc.texinfo (VERSION, UPDATED): Update.
15583 (@copying): Use @copyright{} and range of years.
15585 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15588 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15589 [crti.S not in sysdirs] (generated): Do not append.
15590 [crti.S not in sysdirs] (omit-deps): Likewise.
15591 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15592 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15593 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15594 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15595 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15597 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15598 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15599 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15600 * csu/defs.awk: Remove file.
15601 * sysdeps/generic/initfini.c: Likewise.
15602 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15604 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15607 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15609 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15610 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15611 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15612 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15613 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15614 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15616 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15617 (__EPOLL_PACKED): Define to empty if not defined by
15619 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15623 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15625 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15626 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15627 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15628 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15630 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15631 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15634 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15636 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15638 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15639 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15640 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15643 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15645 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15646 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15648 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15650 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15651 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15653 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15655 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15658 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15660 * math/w_acos.c: Use non-signaling floating-point comparisons.
15661 * math/w_acosf.c: Likewise.
15662 * math/w_acosh.c: Likewise.
15663 * math/w_acoshf.c: Likewise.
15664 * math/w_acoshl.c: Likewise.
15665 * math/w_acosl.c: Likewise.
15666 * math/w_asin.c: Likewise.
15667 * math/w_asinf.c: Likewise.
15668 * math/w_asinl.c: Likewise.
15669 * math/w_atanh.c: Likewise.
15670 * math/w_atanhf.c: Likewise.
15671 * math/w_atanhl.c: Likewise.
15672 * math/w_exp2.c: Likewise.
15673 * math/w_exp2f.c: Likewise.
15674 * math/w_exp2l.c: Likewise.
15675 * math/w_j0.c: Likewise.
15676 * math/w_j0f.c: Likewise.
15677 * math/w_j0l.c: Likewise.
15678 * math/w_j1.c: Likewise.
15679 * math/w_j1f.c: Likewise.
15680 * math/w_j1l.c: Likewise.
15681 * math/w_jn.c: Likewise.
15682 * math/w_jnf.c: Likewise.
15683 * math/w_log.c: Likewise.
15684 * math/w_log10.c: Likewise.
15685 * math/w_log10f.c: Likewise.
15686 * math/w_log10l.c: Likewise.
15687 * math/w_log2.c: Likewise.
15688 * math/w_log2f.c: Likewise.
15689 * math/w_log2l.c: Likewise.
15690 * math/w_logf.c: Likewise.
15691 * math/w_logl.c: Likewise.
15692 * math/w_sqrt.c: Likewise.
15693 * math/w_sqrtf.c: Likewise.
15694 * math/w_sqrtl.c: Likewise.
15695 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15696 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15697 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15698 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15699 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15701 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15704 * manual/string.texi (strnlen): Use correct parameter name in
15705 equivalent expression.
15707 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15710 * manual/users.texi (seteuid): Consistently use neweuid for
15713 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15716 * manual/nss.texi (Services in the NSS configuration): Correct
15717 list of services in example configuration file.
15719 2012-02-19 Nick Bowler <nbowler@draconx.ca>
15722 * manual/arith.texi: Remove statements about negative zero
15723 behaving identically to zero.
15725 2012-02-18 Joseph Myers <joseph@codesourcery.com>
15728 * manual/install.texi: Do not document upgrading from libc5.
15730 2012-02-18 Joseph Myers <joseph@codesourcery.com>
15733 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15735 2012-02-18 David S. Miller <davem@davemloft.net>
15737 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15738 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15739 %o7 across the call.
15740 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15742 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15743 SETUP_PIC_REG_LEAF.
15744 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15745 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15746 * sysdeps/sparc/crtn.S: Likewise.
15748 2012-02-17 Ulrich Drepper <drepper@gmail.com>
15750 * aout/Makefile: Remove.
15752 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15755 * manual/examples/argp-ex1.c (main): Format definition in GNU
15757 * manual/examples/argp-ex2.c (main): Likewise.
15758 * manual/examples/argp-ex3.c (main): Likewise.
15759 * manual/examples/argp-ex4.c (main): Likewise.
15760 * manual/examples/longopt.c (main): Use new-style prototype
15762 * manual/examples/strncat.c (main): Specify return type and use
15763 (void) for arguments.
15764 * manual/examples/subopt.c (main): Use char **argv argument.
15766 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15769 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15772 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15775 * manual/string.texi (strchr): Change when strchrnul is
15778 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15781 * manual/locale.texi (setlocale): Document LOCPATH.
15783 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15786 * manual/process.texi (execle): Move @dots{} before last argument.
15788 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
15791 * manual/charset.texi (Generic Charset Conversion): Fix typo
15792 (LC_TYPE -> LC_CTYPE).
15794 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15797 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15798 (scalbnf): Likewise.
15799 (scalbnl): Likewise.
15800 (scalbln): Likewise.
15801 (scalblnf): Likewise.
15802 (scalblnl): Likewise.
15803 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15804 (vwarnx): Likewise.
15807 * manual/filesys.texi (telldir): Use braces around return type.
15808 * manual/llio.texi (mmap): Add space after comma.
15809 (mmap64): Likewise.
15810 * manual/math.texi (jn): Use @var{} on parameter names.
15816 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15818 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15820 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15821 (sched_get_priority_max): Likewise.
15822 * manual/signal.texi (sigvec): Add space after comma.
15823 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15825 (if_indextoname): Likewise.
15826 (if_freenameindex): Likewise.
15827 (sendto): Use ',' instead of '.' in prototype.
15828 * manual/startup.texi (syscall): Use @dots{} instead of literal
15830 * manual/stdio.texi (__fpending): Separate initial words of
15831 paragraph from @deftypefun line.
15832 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15834 (vsyslog): Use @var{} on parameter names.
15835 * manual/terminal.texi (stty): Use @var{} on parameter names.
15836 * manual/users.texi (getutmp): Use @var{} on parameter names.
15837 (getutmpx): Likewise.
15839 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15842 * manual/stdio.texi (fopen): Fix typos in description of
15845 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15848 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15849 get clock_id definition.
15851 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
15854 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15855 (madvise): Cast every argument to void on its own.
15857 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15860 * manual/startup.texi (Exit Status): Fix typo.
15862 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15865 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15866 * manual/examples/argp-ex2.c: Likewise.
15867 * manual/examples/argp-ex3.c: Likewise.
15869 2012-02-16 Richard Henderson <rth@redhat.com>
15871 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15872 * sysdeps/s390/s390-32/initfini.c: Remove.
15873 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
15874 * sysdeps/s390/s390-64/initfini.c: Remove.
15876 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15878 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
15879 compiler output for sysdeps/generic/initfini.c.
15880 * sysdeps/sh/elf/initfini.c: Remove file.
15882 2012-02-16 David S. Miller <davem@davemloft.net>
15885 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
15887 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
15888 * sysdeps/sparc/crti.S: New file.
15889 * sysdeps/sparc/crtn.S: New file.
15890 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
15891 * sysdeps/sparc/sparc64/Makefile: Likewise.
15893 2012-02-15 Mike Frysinger <vapier@gentoo.org>
15896 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
15898 2012-02-15 Roland McGrath <roland@hack.frob.com>
15901 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
15903 * mach/devstream.c (cookie_io_functions_t): Macro removed.
15904 (write, read, close): Likewise.
15905 Patch by Aurelien Jarno <aurelien@aurel32.net>.
15907 2012-02-15 Joseph Myers <joseph@codesourcery.com>
15909 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
15910 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
15911 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
15912 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
15914 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
15915 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15918 2012-02-14 Marek Polacek <polacek@redhat.com>
15920 * sysdeps/x86_64/crti.S: New file.
15921 * sysdeps/x86_64/crtn.S: New file.
15922 * sysdeps/x86_64/elf/initfini.c: Remove file.
15924 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15926 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
15927 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
15928 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
15929 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
15931 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
15932 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15935 2012-02-13 Joseph Myers <joseph@codesourcery.com>
15937 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
15938 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
15939 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
15940 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
15942 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
15943 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15946 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
15948 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
15949 __feraiseexcept instead of feraiseexcept.
15951 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
15952 nanosleep invocations.
15953 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
15954 strings, and add error checking for a nanosleep invocations.
15956 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
15958 Replace FSF snail mail address with URLs, as per GNU coding standards.
15959 Most of the snail mail addresses were wrong anyway, and omitting
15960 them makes the source code easier to maintain. Almost all of the
15961 changes are to license notices and to locale LC_IDENTIFICATION
15962 addresses, except for this one:
15963 * manual/libc.texinfo: In "Published by", give the FSF's URL,
15964 not its snail mail address.
15966 2012-02-09 Richard Henderson <rth@twiddle.net>
15968 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
15969 of kernel-features.h.
15971 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
15973 2012-02-08 Marek Polacek <polacek@redhat.com>
15975 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
15976 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
15977 * sysdeps/gnu/_G_config.h: Likewise.
15978 * sysdeps/generic/_G_config.h: Likewise.
15980 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
15982 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
15984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15986 * sysdeps/powerpc/powerpc32/crti.S: New file.
15987 * sysdeps/powerpc/powerpc32/crtn.S: New file.
15988 * sysdeps/powerpc/powerpc64/crti.S: New file.
15989 * sysdeps/powerpc/powerpc64/crtn.S: New file.
15991 * Makeconfig (have-initfini): Don't set.
15992 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
15993 * configure.in (nopic_initfini): Don't substitute.
15994 * config.h.in (HAVE_INITFINI): Don't #undef.
15995 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
15996 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
15998 2012-02-08 Joseph Myers <joseph@codesourcery.com>
16000 Support crti.S and crtn.S provided directly by architectures.
16001 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16002 [crti.S in sysdirs] (omit-deps): Likewise.
16003 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16004 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16005 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16006 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16007 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16008 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16009 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16010 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16011 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16012 compiler output for sysdeps/generic/initfini.c.
16013 * sysdeps/i386/elf/Makefile: Remove file.
16014 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16016 2012-02-07 Marek Polacek <polacek@redhat.com>
16018 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16019 * sysdeps/gnu/_G_config.h: Likewise.
16020 * sysdeps/mach/hurd/_G_config.h: Likewise.
16022 2012-02-07 Marek Polacek <polacek@redhat.com>
16024 * math/Makefile (tests): Add tst-CMPLX2.
16025 * math/tst-CMPLX2.c: New file.
16027 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16029 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16031 * math/libm-test.inc (jn_test): Add missing L suffix.
16033 2012-02-06 Marek Polacek <polacek@redhat.com>
16035 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16036 * sysdeps/i386/fpu/e_powf.S: Likewise.
16037 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16038 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16039 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16040 * sysdeps/i386/fpu/e_pow.S: Likewise.
16041 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16042 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16043 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16044 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16045 * sysdeps/i386/fpu/e_log2.S: Likewise.
16046 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16047 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16048 * sysdeps/i386/fpu/e_powl.S: Likewise.
16049 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16050 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16051 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16052 * sysdeps/i386/fpu/e_logl.S: Likewise.
16053 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16054 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16055 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16056 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16057 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16058 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16059 * sysdeps/i386/fpu/e_log.S: Likewise.
16060 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16061 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16062 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16063 * sysdeps/i386/fpu/e_logf.S: Likewise.
16064 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16065 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16066 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16067 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16068 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16069 * sysdeps/i386/fpu/e_log10.S: Likewise.
16070 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16071 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16072 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16073 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16074 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16075 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16076 * sysdeps/i386/asm-syntax.h: Likewise.
16077 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16078 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16079 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16080 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16081 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16082 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16083 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16084 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16085 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16086 * sysdeps/powerpc/sysdep.h: Likewise.
16087 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16088 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16090 2012-02-06 Joseph Myers <joseph@codesourcery.com>
16093 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16095 2012-02-06 Joseph Myers <joseph@codesourcery.com>
16097 * sysdeps/i386/sysdep.h: Include <features.h>.
16098 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16101 2012-02-05 Joseph Myers <joseph@codesourcery.com>
16103 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16105 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16108 2012-02-03 Joseph Myers <joseph@codesourcery.com>
16110 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16111 (SETUP_PIC_REG): Use GET_PC_THUNK.
16112 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16115 2012-02-03 Joseph Myers <joseph@codesourcery.com>
16117 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16118 for non-PIC compilation.
16119 (SETUP_PIC_REG): Add .p2align directive.
16120 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16121 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16122 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16123 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16124 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16125 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16126 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16127 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16128 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16129 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16130 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16131 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16132 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16133 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16134 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16135 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16136 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16137 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16138 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16139 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16140 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16141 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16142 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16143 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16144 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16145 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16146 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16147 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16148 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16149 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16150 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16151 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16152 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16153 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16154 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16155 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16156 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16157 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16158 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16159 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16160 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16162 2012-02-03 Joseph Myers <joseph@codesourcery.com>
16164 * math/tst-CMPLX.c: Include <stdio.h>.
16166 2012-01-31 Joseph Myers <joseph@codesourcery.com>
16168 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16170 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16171 * sysdeps/sparc/bits/mathdef.h: Likewise.
16173 2012-01-31 Marek Polacek <polacek@redhat.com>
16175 * libio/libio.h: Don't define _PARAMS.
16176 * locale/programs/config.h: Don't define PARAMS.
16177 * stdlib/strtol_l.c: Likewise.
16178 (__strtol_l): Remove PARAMS from the prototype.
16180 2012-01-31 Ulrich Drepper <drepper@gmail.com>
16182 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16183 names. Just use the correct names. Remove unnecessary wrapper
16185 * malloc/arena.c: Likewise.
16186 * malloc/hooks.c: Likewise.
16188 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16189 ARENA_TEST says not to. Simplify test for creation of a new arena.
16190 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16192 2012-01-30 Ulrich Drepper <drepper@gmail.com>
16194 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16196 (update_get_addr): New function.
16197 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16198 GET_ADDR_MODULE parameter.
16200 2012-01-30 Joseph Myers <joseph@codesourcery.com>
16202 * crypt/cert.c: Remove __STDC__ conditionals.
16203 * crypt/crypt-entry.c: Likewise.
16204 * crypt/crypt_util.c: Likewise.
16205 * libio/filedoalloc.c: Likewise.
16206 * libio/fileops.c: Likewise.
16207 * libio/genops.c: Likewise.
16208 * libio/iofclose.c: Likewise.
16209 * libio/iofdopen.c: Likewise.
16210 * libio/iofopen.c: Likewise.
16211 * libio/iofopen64.c: Likewise.
16212 * libio/iogetdelim.c: Likewise.
16213 * libio/iopopen.c: Likewise.
16214 * libio/obprintf.c: Likewise.
16215 * libio/oldfileops.c: Likewise.
16216 * libio/oldiofclose.c: Likewise.
16217 * libio/oldiofdopen.c: Likewise.
16218 * libio/oldiofopen.c: Likewise.
16219 * libio/oldiopopen.c: Likewise.
16220 * libio/wfiledoalloc.c: Likewise.
16221 * libio/wgenops.c: Likewise.
16222 * locale/programs/xmalloc.c: Likewise.
16223 * misc/syslog.c: Likewise.
16224 * stdio-common/xbug.c: Likewise.
16225 * string/memchr.c: Likewise.
16226 * string/memcmp.c: Likewise.
16227 * string/memrchr.c: Likewise.
16228 * string/rawmemchr.c: Likewise.
16229 * sysdeps/posix/getcwd.c: Likewise.
16230 * time/strftime_l.c: Likewise.
16232 2012-01-30 Joseph Myers <joseph@codesourcery.com>
16234 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
16235 * config.make.in (config-cflags-sse2avx): Define.
16236 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16239 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16241 * scripts/config.guess: Update from upstream config git repository.
16242 * scripts/config.sub: Likewise.
16244 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16246 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16248 (R_TILEPRO_*, R_TILEGX_*): New macros.
16250 * scripts/firstversions.awk: Fix bug in version range handling.
16252 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16254 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16256 * include/sys/epoll.h: New file.
16257 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16260 2012-01-28 Ulrich Drepper <drepper@gmail.com>
16262 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16263 Avoid unnecessary __WORDSIZE == 64 test.
16264 (fmaxf): Use VEX format if possible.
16269 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16270 * math/math_private.h: Remove libc_fegetround* and
16272 * sysdeps/i386/configure.in: Check for -msse2avx.
16273 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16274 also if SSE2AVX is defined.
16275 Remove libc_fegetround* and libc_fesetround*.
16276 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16277 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16278 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16280 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16281 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16282 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16283 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16284 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16286 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16288 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16290 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16292 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16294 2012-01-27 Ulrich Drepper <drepper@gmail.com>
16297 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16299 * Makeconfig (libm): Define.
16300 * elf/Makefile: Add rules to build and run tst-relsort1.
16301 * elf/tst-relsort1.c: New file.
16302 * elf/tst-relsort1mod1.c: New file.
16303 * elf/tst-relsort1mod2.c: New file.
16305 2012-01-27 Joseph Myers <joseph@codesourcery.com>
16307 * math/s_ldexp.c: Remove __STDC__ conditionals.
16308 * math/s_ldexpf.c: Likewise.
16309 * math/s_ldexpl.c: Likewise.
16310 * math/s_nextafter.c: Likewise.
16311 * math/s_nexttowardf.c: Likewise.
16312 * math/s_significand.c: Likewise.
16313 * math/s_significandf.c: Likewise.
16314 * math/s_significandl.c: Likewise.
16315 * math/w_jnl.c: Likewise.
16316 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16317 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16318 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16319 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16320 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16321 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16322 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16323 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16324 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16325 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16326 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16327 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16328 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16329 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16330 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16331 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16332 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16333 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16334 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16335 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16336 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16337 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16338 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16339 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16340 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16341 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16342 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16343 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16344 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16345 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16346 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16347 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16348 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16349 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16350 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16351 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16352 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16353 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16354 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16355 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16356 * sysdeps/ieee754/k_standard.c: Likewise.
16357 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16358 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16359 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16360 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16361 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16362 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16363 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16364 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16365 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16366 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16367 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16368 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16369 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16370 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16371 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16372 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16373 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16374 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16375 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16376 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16377 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16378 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16379 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16380 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16381 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16382 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16383 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16384 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16385 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16386 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16387 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16388 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16389 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16390 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16391 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16392 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16393 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16394 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16395 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16396 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16397 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16398 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16399 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16400 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16401 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16402 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16403 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16404 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16405 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16406 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16407 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16408 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16409 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16410 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16411 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16412 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16413 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16414 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16415 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16416 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16417 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16418 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16419 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16420 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16421 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16422 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16423 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16424 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16425 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16426 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16427 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16428 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16429 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16430 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16431 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16432 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16433 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16434 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16435 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16436 * sysdeps/ieee754/s_matherr.c: Likewise.
16437 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16438 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16439 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16440 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16442 2012-01-26 Joseph Myers <joseph@codesourcery.com>
16444 * crypt/md5.h: Remove __STDC__ conditionals.
16445 * libio/libioP.h: Likewise.
16446 * locale/programs/config.h: Likewise.
16447 * sysdeps/generic/sysdep.h: Likewise.
16448 * sysdeps/i386/asm-syntax.h: Likewise.
16449 * sysdeps/s390/asm-syntax.h: Likewise.
16450 * sysdeps/unix/sysdep.h: Likewise.
16451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16454 2012-01-26 Joseph Myers <joseph@codesourcery.com>
16456 * libio/libio.h: Remove __STDC__ conditionals.
16457 * malloc/obstack.h: Likewise.
16458 * math/complex.h: Likewise.
16459 * math/math.h: Likewise.
16460 * sysdeps/generic/_G_config.h: Likewise.
16461 * sysdeps/gnu/_G_config.h: Likewise.
16462 * sysdeps/mach/hurd/_G_config.h: Likewise.
16463 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16464 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16465 * sysdeps/sparc/bits/mathdef.h: Likewise.
16467 2012-01-26 Ulrich Drepper <drepper@gmail.com>
16470 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
16471 Clean up HAS_* macros.
16472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
16473 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16475 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16477 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16478 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16479 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16480 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16481 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16483 2012-01-25 Joseph Myers <joseph@codesourcery.com>
16485 * elf/tst-unique3.cc (gets): Remove declaration.
16486 * elf/tst-unique3lib.cc (gets): Likewise.
16487 * elf/tst-unique3lib2.cc (gets): Likewise.
16488 * elf/tst-unique4.cc (gets): Likewise.
16490 2012-01-24 Ulrich Drepper <drepper@gmail.com>
16492 * include/stdio.h: Add C++ protection. Add gets declarations and
16494 * debug/tst-chk1.c: Don't declare gets here.
16495 * stdio-common/tst-gets.c: Likewise.
16497 2012-01-24 Joseph Myers <joseph@codesourcery.com>
16499 * posix/glob: Remove directory.
16501 2012-01-24 Joseph Myers <joseph@codesourcery.com>
16503 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16505 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16507 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16508 of the non-standard EPFNOSUPPORT.
16510 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16512 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16513 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16514 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16516 2012-01-21 Ulrich Drepper <drepper@gmail.com>
16518 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16520 2012-01-20 Ulrich Drepper <drepper@gmail.com>
16522 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16524 * nscd/grpcache.c (cache_addgr): Likewise.
16525 * nscd/hstcache.c (cache_addhst): Likewise.
16526 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16527 * nscd/pwdcache.c (cache_addpw): Likewise.
16528 * nscd/servicescache.c (cache_addserv): Likewise.
16530 2012-01-16 Ulrich Drepper <drepper@gmail.com>
16532 * malloc/malloc.c: Various cleanups.
16533 * malloc/hooks.c: Likewise.
16535 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16536 * stdlib/bug-fmtmsg1.c: New file.
16538 * stdlib/fmtmsg.c (init): Add missing unlock.
16539 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16541 2012-01-12 Marek Polacek <polacek@redhat.com>
16543 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16546 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16548 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16549 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16550 macro to ensure uniqueness of label name.
16551 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16552 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16554 2012-01-11 Ulrich Drepper <drepper@gmail.com>
16556 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16558 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16559 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16560 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16561 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16563 2012-01-10 Ulrich Drepper <drepper@gmail.com>
16565 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16567 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16568 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16569 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16571 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16573 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
16574 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16575 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16576 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
16578 * math/bits/math-finite.h: Add ldexp support.
16580 2012-01-10 Marek Polacek <polacek@redhat.com>
16582 * locale/programs/localedef.h (show_archive_content): Add noreturn
16585 2012-01-09 Ulrich Drepper <drepper@gmail.com>
16587 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16589 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16591 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16593 * io/Makefile (headers): Add bits/poll2.h.
16595 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16598 typo #include statement.
16600 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16602 * include/sys/cdefs.h: Define __attribute_alloc_size.
16603 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16604 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16605 * elf/pldd.c: Likewise.
16606 * iconv/iconv_charmap.c: Likewise.
16607 * iconv/iconvconfig.c: Likewise.
16608 * iconv/strtab.c: Likewise.
16609 * locale/programs/locale.c: Likewise.
16610 * locale/programs/localedef.h: Likewise.
16611 * locale/programs/simple-hash.c: Likewise.
16612 * nscd/nscd.h: Likewise.
16613 * nss/makedb.c: Likewise.
16614 * sysdeps/generic/ldconfig.h: Likewise.
16615 * locale/programs/localedef.c: Remove xmalloc prototype.
16616 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16618 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16620 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16623 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16625 * math/Makefile (tests): Add tst-CMPLX.
16626 * math/tst-CMPLX.c: New file.
16628 * math/complex.h (CMPLXL): Fix typo.
16630 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16631 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16633 * debug/tst-chk1.c: Add poll and ppoll tests.
16634 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16635 * include/sys/poll.h: Add hidden proto for ppoll.
16636 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16637 * sysdeps/mach/hurd/ppoll.c: Likewise.
16638 * io/ppoll.c: Likewise.
16639 * debug/poll_chk.c: New file.
16640 * debug/ppoll_chk.c: New file.
16641 * include/bits/poll2.h: New file.
16642 * io/bits/poll2.h: New file.
16645 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16647 * configure.in: static is always set to yes. Remove.
16648 * config.make.in: Don't set build-static.
16649 * Makeconfig: Remove use of build-static.
16650 * dlfcn/Makefile: Likewise.
16651 * elf/Makefile: Likewise.
16652 * math/Makefile: Likewise.
16653 * misc/Makefile: Likewise.
16654 * nptl/Makefile: Likewise.
16655 * sysdeps/mach/hurd/Makefile: Likewise.
16657 * configure.in: PWD_P is not used anymore.
16658 * config.make.in: Remove PWD_P entry.
16660 * configure.in: Remove last remnants of RANLIB.
16661 No need to check for signed size_t anymore.
16662 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16664 Remove __builtin_expect test because we require at least gcc 3.4.
16665 * aclocal.m4: Likewise.
16667 * wcsmbs/mbrtoc16.c: Implement using towc function.
16668 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16669 * wcsmbs/wcsmbsload.c: Likewise.
16670 * iconv/gconv_simple.c: Likewise.
16671 * iconv/gconv_int.h: Likewise.
16672 * iconv/gconv_builtin.h: Likewise.
16673 * iconv/iconv_prog.c: Remove CHAR16 handling.
16675 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16677 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16679 * configure.in: Remove --with-elf and --enable-bounded options.
16680 Dont set base_machine for ia64. More non-ELF conditions removed.
16681 Remove testing and setting of leading underscore information.
16682 * config.make.in (build-bounded): Set to no.
16683 * config.h.in: Remove NO_UNDERSCORES entry.
16684 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16686 * csu/start.c: Remove !NO_UNDERSCORE code.
16687 * locale/localeinfo.h: Likewise.
16688 * sysdeps/generic/machine-gmon.h: Likewise.
16689 * sysdeps/generic/sysdep.h: Likewise.
16690 * sysdeps/i386/sysdep.h: Likewise.
16691 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16692 * sysdeps/mach/sysdep.h: Likewise.
16693 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16694 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16695 * sysdeps/sh/sysdep.h: Likewise.
16696 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16697 * sysdeps/unix/i386/sysdep.S: Likewise.
16698 * sysdeps/unix/sparc/start.c: Likewise.
16699 * sysdeps/unix/sparc/sysdep.S: Likewise.
16700 * sysdeps/unix/sparc/sysdep.h: Likewise.
16701 * sysdeps/unix/start.c: Likewise.
16702 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16703 * sysdeps/x86_64/sysdep.h: Likewise.
16705 2012-01-07 Ulrich Drepper <drepper@gmail.com>
16708 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16710 * argp/argp-fmtstream.h: Use const instead __const.
16711 * argp/argp.h: Likewise.
16712 * assert/assert.h: Likewise.
16713 * bits/fenv.h: Likewise.
16714 * bits/sched.h: Likewise.
16715 * bits/sigset.h: Likewise.
16716 * bits/sigthread.h: Likewise.
16717 * catgets/nl_types.h: Likewise.
16718 * conform/data/pthread.h-data: Likewise.
16719 * crypt/crypt-private.h: Likewise.
16720 * crypt/crypt.h: Likewise.
16721 * crypt/crypt_util.c: Likewise.
16722 * ctype/ctype.h: Likewise.
16723 * debug/execinfo.h: Likewise.
16724 * debug/mbsnrtowcs_chk.c: Likewise.
16725 * debug/mbsrtowcs_chk.c: Likewise.
16726 * debug/wcsnrtombs_chk.c: Likewise.
16727 * debug/wcsrtombs_chk.c: Likewise.
16728 * debug/wcstombs_chk.c: Likewise.
16729 * dirent/dirent.h: Likewise.
16730 * dlfcn/dlfcn.h: Likewise.
16731 * elf/neededtest4.c: Likewise.
16732 * grp/grp.h: Likewise.
16733 * gshadow/gshadow.h: Likewise.
16734 * iconv/gconv.h: Likewise.
16735 * iconv/gconv_int.h: Likewise.
16736 * iconv/gconv_simple.c: Likewise.
16737 * iconv/iconv.h: Likewise.
16738 * iconv/loop.c: Likewise.
16739 * iconv/skeleton.c: Likewise.
16740 * include/aio.h: Likewise.
16741 * include/aliases.h: Likewise.
16742 * include/argz.h: Likewise.
16743 * include/arpa/inet.h: Likewise.
16744 * include/assert.h: Likewise.
16745 * include/dirent.h: Likewise.
16746 * include/dlfcn.h: Likewise.
16747 * include/execinfo.h: Likewise.
16748 * include/fcntl.h: Likewise.
16749 * include/fenv.h: Likewise.
16750 * include/glob.h: Likewise.
16751 * include/grp.h: Likewise.
16752 * include/libintl.h: Likewise.
16753 * include/mntent.h: Likewise.
16754 * include/netdb.h: Likewise.
16755 * include/pwd.h: Likewise.
16756 * include/rpc/netdb.h: Likewise.
16757 * include/sched.h: Likewise.
16758 * include/search.h: Likewise.
16759 * include/shadow.h: Likewise.
16760 * include/signal.h: Likewise.
16761 * include/stdio.h: Likewise.
16762 * include/stdlib.h: Likewise.
16763 * include/string.h: Likewise.
16764 * include/sys/socket.h: Likewise.
16765 * include/sys/stat.h: Likewise.
16766 * include/sys/statfs.h: Likewise.
16767 * include/sys/statvfs.h: Likewise.
16768 * include/sys/syslog.h: Likewise.
16769 * include/sys/time.h: Likewise.
16770 * include/sys/uio.h: Likewise.
16771 * include/time.h: Likewise.
16772 * include/unistd.h: Likewise.
16773 * include/utmp.h: Likewise.
16774 * include/wchar.h: Likewise.
16775 * include/wctype.h: Likewise.
16776 * inet/aliases.h: Likewise.
16777 * inet/arpa/inet.h: Likewise.
16778 * inet/netinet/ether.h: Likewise.
16779 * inet/netinet/in.h: Likewise.
16780 * intl/libintl.h: Likewise.
16781 * io/bits/fcntl2.h: Likewise.
16782 * io/fcntl.h: Likewise.
16783 * io/ftw.h: Likewise.
16784 * io/sys/poll.h: Likewise.
16785 * io/sys/stat.h: Likewise.
16786 * io/sys/statfs.h: Likewise.
16787 * io/sys/statvfs.h: Likewise.
16788 * io/utime.h: Likewise.
16789 * libio/bits/stdio.h: Likewise.
16790 * libio/bits/stdio2.h: Likewise.
16791 * libio/libio.h: Likewise.
16792 * libio/libioP.h: Likewise.
16793 * libio/stdio.h: Likewise.
16794 * locale/lc-ctype.c: Likewise.
16795 * locale/locale.h: Likewise.
16796 * login/utmp.h: Likewise.
16797 * malloc/arena.c: Likewise.
16798 * malloc/malloc.c: Likewise.
16799 * malloc/malloc.h: Likewise.
16800 * malloc/mcheck.c: Likewise.
16801 * malloc/mtrace.c: Likewise.
16802 * math/bits/mathcalls.h: Likewise.
16803 * math/fenv.h: Likewise.
16804 * math/math_private.h: Likewise.
16805 * misc/bits/error.h: Likewise.
16806 * misc/bits/syslog.h: Likewise.
16807 * misc/err.h: Likewise.
16808 * misc/error.h: Likewise.
16809 * misc/fstab.h: Likewise.
16810 * misc/mntent.h: Likewise.
16811 * misc/regexp.h: Likewise.
16812 * misc/search.h: Likewise.
16813 * misc/sgtty.h: Likewise.
16814 * misc/sys/mman.h: Likewise.
16815 * misc/sys/syslog.h: Likewise.
16816 * misc/sys/uio.h: Likewise.
16817 * misc/sys/xattr.h: Likewise.
16818 * misc/ttyent.h: Likewise.
16819 * nis/rpcsvc/ypclnt.h: Likewise.
16820 * nss/nss.h: Likewise.
16821 * posix/bits/unistd.h: Likewise.
16822 * posix/fnmatch.h: Likewise.
16823 * posix/glob.h: Likewise.
16824 * posix/sched.h: Likewise.
16825 * posix/spawn.h: Likewise.
16826 * posix/sys/wait.h: Likewise.
16827 * posix/unistd.h: Likewise.
16828 * posix/wordexp.h: Likewise.
16829 * pwd/pwd.h: Likewise.
16830 * resolv/netdb.h: Likewise.
16831 * resource/sys/resource.h: Likewise.
16832 * rt/aio.h: Likewise.
16833 * rt/bits/mqueue2.h: Likewise.
16834 * rt/mqueue.h: Likewise.
16835 * shadow/shadow.h: Likewise.
16836 * signal/signal.h: Likewise.
16837 * socket/send.c: Likewise.
16838 * socket/sendto.c: Likewise.
16839 * socket/sys/socket.h: Likewise.
16840 * stdio-common/printf.h: Likewise.
16841 * stdlib/bits/stdlib.h: Likewise.
16842 * stdlib/fmtmsg.h: Likewise.
16843 * stdlib/monetary.h: Likewise.
16844 * stdlib/stdlib.h: Likewise.
16845 * stdlib/ucontext.h: Likewise.
16846 * streams/stropts.h: Likewise.
16847 * string/argz.h: Likewise.
16848 * string/bits/string2.h: Likewise.
16849 * string/string.h: Likewise.
16850 * string/strings.h: Likewise.
16851 * sunrpc/rpc/auth.h: Likewise.
16852 * sunrpc/rpc/auth_des.h: Likewise.
16853 * sunrpc/rpc/clnt.h: Likewise.
16854 * sunrpc/rpc/netdb.h: Likewise.
16855 * sunrpc/rpc/pmap_clnt.h: Likewise.
16856 * sunrpc/rpc/xdr.h: Likewise.
16857 * sysdeps/generic/inttypes.h: Likewise.
16858 * sysdeps/generic/net/if.h: Likewise.
16859 * sysdeps/generic/sys/swap.h: Likewise.
16860 * sysdeps/gnu/net/if.h: Likewise.
16861 * sysdeps/gnu/utmpx.h: Likewise.
16862 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16863 * sysdeps/i386/i486/bits/string.h: Likewise.
16864 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16865 * sysdeps/s390/bits/string.h: Likewise.
16866 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16867 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16868 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16869 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16870 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16871 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16872 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
16873 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
16874 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
16875 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
16876 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
16877 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
16878 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
16879 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
16880 * sysdeps/unix/sysv/linux/readv.c: Likewise.
16881 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
16882 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
16883 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16884 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16885 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16886 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
16887 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
16888 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
16889 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
16890 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
16891 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
16892 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
16893 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
16894 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
16895 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
16896 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
16897 * sysvipc/sys/ipc.h: Likewise.
16898 * sysvipc/sys/msg.h: Likewise.
16899 * sysvipc/sys/sem.h: Likewise.
16900 * sysvipc/sys/shm.h: Likewise.
16901 * termios/termios.h: Likewise.
16902 * time/sys/time.h: Likewise.
16903 * time/time.h: Likewise.
16904 * wcsmbs/bits/wchar2.h: Likewise.
16905 * wcsmbs/uchar.h: Likewise.
16906 * wcsmbs/wchar.h: Likewise.
16907 * wctype/wctype.h: Likewise.
16910 * Makeconfig: Remove all but ELF support including AIX support.
16911 * Makerules: Likewise.
16912 * config.h.in: Likewise.
16913 * config.make.in: Likewise.
16914 * configure: Likewise.
16915 * configure.in: Likewise.
16916 * csu/Makefile: Likewise.
16917 * csu/version.c: Likewise.
16918 * debug/Makefile: Likewise.
16919 * dlfcn/Makefile: Likewise.
16920 * elf/Makefile: Likewise.
16921 * extra-lib.mk: Likewise.
16922 * iconv/Makefile: Likewise.
16923 * include/libc-symbols.h: Likewise.
16924 * include/shlib-compat.h: Likewise.
16925 * resolv/Makefile: Likewise.
16926 * resolv/res_libc.c: Likewise.
16927 * rt/Makefile: Likewise.
16928 * sysdeps/i386/asm-syntax.h: Likewise.
16929 * sysdeps/i386/sysdep.h: Likewise.
16930 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16931 * sysdeps/mach/sysdep.h: Likewise.
16932 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
16933 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
16934 * sysdeps/s390/asm-syntax.h: Likewise.
16935 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16936 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16937 * sysdeps/sh/sysdep.h: Likewise.
16938 * sysdeps/unix/sparc/sysdep.h: Likewise.
16939 * sysdeps/wordsize-32/divdi3.c: Likewise.
16940 * sysdeps/x86_64/sysdep.h: Likewise.
16942 * argp/Versions: Remove _argp_unlock_xxx.
16945 * abilist/ld.abilist: Update. Adjust for removal of tls option.
16946 * abilist/libBrokenLocale.abilist: Likewise.
16947 * abilist/libanl.abilist: Likewise.
16948 * abilist/libc.abilist: Likewise.
16949 * abilist/libcrypt.abilist: Likewise.
16950 * abilist/libdl.abilist: Likewise.
16951 * abilist/libm.abilist: Likewise.
16952 * abilist/libnsl.abilist: Likewise.
16953 * abilist/libpthread.abilist: Likewise.
16954 * abilist/libresolv.abilist: Likewise.
16955 * abilist/librt.abilist: Likewise.
16956 * abilist/libthread_db.abilist: Likewise.
16957 * abilist/libutil.abilist: Likewise.
16958 * abilist/libnss_db.abilist: New file.
16960 * scripts/abilist.awk: Add support for indirect functions.
16962 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
16964 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
16966 * shlib-versions: Remove entries for ports architectures.
16968 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
16970 * elf/stackguard-macros.h: Remove support for IA-64.
16971 * elf/tst-auditmod1.c: Likewise.
16972 * sysdeps/generic/ldsodefs.h: Likewise.
16974 * sysdeps/unix/sysv/linux/configure.in: Ports should define
16975 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
16979 * configure.in: Remove --enable-omitfp support.
16981 * config.make.in: Likewise.
16982 * Makeconfig: Likewise.
16983 * manual/install.texi: Likewise.
16985 In case anyone cares, the IA-64 architecture could move to ports.
16986 * sysdeps/ia64/*: Removed.
16987 * sysdeps/unix/sysv/linux/ia64/*: Removed.
16988 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
16991 * configure.in: Remove entries for unsupported architectures.
16994 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
16995 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
16997 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
16998 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
16999 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17000 fall back to using wcrtomb.
17001 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17002 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17004 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17005 * wcsmbs/tst-c16c32-1.c: New file.
17007 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17010 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17012 * elf/tst-unique3.cc: Add explicit declaration of gets.
17013 * elf/tst-unique3lib.cc: Likewise.
17014 * elf/tst-unique3lib2.cc: Likewise.
17015 * elf/tst-unique4.cc: Likewise.
17017 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17019 2012-01-06 Joseph Myers <joseph@codesourcery.com>
17022 * assert/assert.h (static_assert): Don't define for C++.
17023 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17024 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17026 2012-01-03 Ulrich Drepper <drepper@gmail.com>
17028 * iconv/loop.c (single loop): Fix assertion in storing of
17031 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17033 2012-01-01 Ulrich Drepper <drepper@gmail.com>
17035 * posix/getconf.c: Update copyright year.
17036 * nss/getent.c: Likewise.
17037 * nss/makedb.c: Likewise.
17038 * iconv/iconvconfig.c: Likewise.
17039 * iconv/iconv_prog.c: Likewise.
17040 * elf/ldconfig.c: Likewise.
17041 * elf/pldd.c: Likewise.
17042 * elf/sotruss.ksh: Likewise.
17043 * catgets/gencat.c: Likewise.
17044 * csu/version.c: Likewise.
17045 * elf/ldd.bash.in: Likewise.
17046 * elf/sprof.c (print_version): Likewise.
17047 * locale/programs/locale.c: Likewise.
17048 * locale/programs/localedef.c: Likewise.
17049 * login/programs/pt_chown.c: Likewise.
17050 * nscd/nscd.c (print_version): Likewise.
17051 * debug/xtrace.sh: Likewise.
17052 * malloc/memusage.sh: Likewise.
17053 * malloc/mtrace.pl: Likewise.
17054 * debug/catchsegv.sh: Likewise.
17056 2011-12-30 Jakub Jelinek <jakub@redhat.com>
17058 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17061 2011-12-24 Ulrich Drepper <drepper@gmail.com>
17064 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17065 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17067 * iconv/gconv_int.h: Likewise.
17068 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17069 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17070 from libc for GLIBC_2.16.
17071 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17072 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17073 * wcsmbs/uchar.h: Really define mbstate_t.
17074 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17075 * wcsmbs/c16rtomb.c: New file.
17076 * wcsmbs/mbrtoc16.c: New file.
17077 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17078 for C/POSIX locale.
17079 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17080 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17082 * wcsmbs/wchar.h: Add missing __restrict.
17084 2011-12-23 Ulrich Drepper <drepper@gmail.com>
17087 * time/Makefile (routines): Add timespec_get.
17088 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17089 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17090 timespec for ISO C11.
17091 * time/timespec_get.c: New file.
17092 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17093 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17096 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17097 * stdlib/stdlib.h: Declare aligned_alloc.
17098 * Versions.def: Add GLIBC_2.16 for libc.
17099 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17102 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17105 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
17109 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17112 * assert/assert.h (static_assert): Define.
17114 * version.h: Update for 2.16 development version.
17117 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17120 * version.h (RELEASE): Bump for 2.15 release.
17121 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17123 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17124 Patch by Marek Polacek <mpolacek@redhat.com>.
17126 * bits/byteswap.h: Protect long long constants with __extension__.
17127 * sysdeps/i386/bits/byteswap.h: Likewise.
17128 * sysdeps/ia64/bits/byteswap.h: Likewise.
17129 * sysdeps/s390/bits/byteswap.h: Likewise.
17130 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17132 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17135 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17136 destination buffer.
17137 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17139 2011-12-23 Marek Polacek <polacek@redhat.com>
17141 * elf/dl-addr.c (determine_info): Add inline keyword.
17142 * elf/tst-auditmod4b.c (check_avx): Likewise.
17143 * elf/tst-auditmod6b.c (check_avx): Likewise.
17144 * elf/tst-auditmod6c.c (check_avx): Likewise.
17145 * elf/tst-auditmod7b.c (check_avx): Likewise.
17147 2011-12-23 Ulrich Drepper <drepper@gmail.com>
17149 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17152 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17155 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17156 processing for last bytes.
17158 2011-08-06 Bruno Haible <bruno@clisp.org>
17161 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17162 U+0385, not to U+1FEE.
17165 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17166 entry for U+00A5 U+0301.
17168 2011-12-22 Ulrich Drepper <drepper@gmail.com>
17171 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17172 buffer for the output is too small.
17174 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17178 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17179 SSE flags if possible.
17181 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17184 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17185 processing for last bytes.
17187 2011-12-22 Joseph Myers <joseph@codesourcery.com>
17189 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17190 (syscall-list-default-options, syscall-list-default-condition)
17191 (syscall-list-includes): Define.
17192 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17193 list of ABIs and options and #if conditions for each ABI. Do not
17194 handle common syscalls between ABIs specially.
17195 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17197 (syscall-list-variants, syscall-list-32bit-options)
17198 (syscall-list-32bit-condition, syscall-list-64bit-options)
17199 (syscall-list-64bit-condition): Define.
17200 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17201 (syscall-list-variants, syscall-list-32bit-options)
17202 (syscall-list-32bit-condition, syscall-list-64bit-options)
17203 (syscall-list-64bit-condition): Define.
17204 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17206 (syscall-list-variants, syscall-list-32bit-options)
17207 (syscall-list-32bit-condition, syscall-list-64bit-options)
17208 (syscall-list-64bit-condition): Define.
17209 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17211 (syscall-list-variants, syscall-list-32bit-options)
17212 (syscall-list-32bit-condition, syscall-list-64bit-options)
17213 (syscall-list-64bit-condition): Define.
17215 2011-12-22 Ulrich Drepper <drepper@gmail.com>
17217 * locale/iso-639.def: Add brx entry.
17220 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17221 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17223 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17224 __feraiseexcept_renamed.
17226 2011-12-21 Ulrich Drepper <drepper@gmail.com>
17229 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17230 EPOLLET with unsigned values.
17231 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17232 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17234 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17235 to large cancellation.
17236 * math/s_cacoshf.c: Likewise.
17237 * math/s_cacoshl.c: Likewise.
17239 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17243 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17244 * math/s_cacoshf.c: Likewise.
17245 * math/s_cacoshl.c: Likewise.
17247 2011-12-21 Ulrich Drepper <drepper@gmail.com>
17250 * iconv/gconv.h: Define __GCONV_SWAP.
17251 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17252 * iconvdata/utf-16.c: Likewise.
17253 * iconvdata/utf-32.c: Likewise.
17255 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17258 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17259 numerator after shifting it by one limb.
17261 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17263 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17264 under [__USE_EXTERN_INLINES].
17266 2011-12-17 Ulrich Drepper <drepper@gmail.com>
17269 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17271 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17273 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17274 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17276 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17277 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17278 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17279 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17280 for strncasecmp/strncasecmp_l compilation.
17281 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17282 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17284 2011-12-08 Marek Polacek <mpolacek@redhat.com>
17287 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17290 2011-12-17 Ulrich Drepper <drepper@gmail.com>
17293 * time/tzfile.c (__tzfile_read): Check values from file header.
17295 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17297 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17298 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17299 * powerpc/powerpc32/dl-start.S: Likewise.
17300 * powerpc/powerpc32/elf/start.S: Likewise.
17301 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17302 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17303 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17304 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17305 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17306 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17307 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17308 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17309 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17310 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17311 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17312 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17313 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17314 * powerpc/powerpc32/memset.S: Likewise.
17315 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17316 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17317 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17318 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17319 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17320 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17321 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17322 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17323 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17324 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17325 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17326 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17327 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17329 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17331 * math/libm-test.inc: Added more nearbyint tests.
17332 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17333 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17334 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17335 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17337 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17339 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17342 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17344 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17345 Add wcscpy-ssse3 wcscpy-c.
17346 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17347 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17348 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17349 * sysdeps/x86_64/wcschr.S: New file.
17350 * sysdeps/x86_64/wcsrchr.S: New file.
17351 * string/test-strcmp.c: Remove checking of wcscmp function for
17353 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17354 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17355 wcsrchr-sse2 wcsrchr-c.
17356 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17357 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17358 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17359 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17360 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17361 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17362 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17363 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17364 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17365 * wcsmbc/wcschr.c (WCSCHR): New macro.
17367 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17369 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17370 * wcsmbs/test-wcsrchr.c: New file.
17371 * string/test-strrchr.c: Add wcsrchr support.
17373 * wcsmbs/test-wcscpy.c: New file.
17374 * string/test-strcpy.c: Add wcscpy support.
17377 2011-12-10 Ulrich Drepper <drepper@gmail.com>
17379 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17382 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17385 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17387 2011-12-04 Ulrich Drepper <drepper@gmail.com>
17389 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
17390 Minor optimizations.
17392 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17393 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17394 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17396 2011-12-03 Ulrich Drepper <drepper@gmail.com>
17398 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17399 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17400 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17401 for gcc to avoid warnings.
17402 * inet/Makefile (tests): Add tst-checks.
17403 * inet/tst-checks.c: New file.
17405 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17408 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17411 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17412 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17414 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17416 2011-12-02 Ulrich Drepper <drepper@gmail.com>
17418 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17421 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17423 2011-11-29 Joseph Myers <joseph@codesourcery.com>
17425 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17426 conditional on GCC version.
17427 (__arch_compare_and_exchange_val_8_acq)
17428 (__arch_compare_and_exchange_val_16_acq)
17429 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17430 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17431 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17433 2011-12-02 Joseph Myers <joseph@codesourcery.com>
17435 * sysdeps/sh/backtrace.c: New file.
17437 2011-12-02 Andreas Schwab <schwab@redhat.com>
17439 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17442 2011-12-01 Andreas Schwab <schwab@redhat.com>
17444 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17445 falling back to utime.
17447 2011-11-30 Andreas Schwab <schwab@redhat.com>
17449 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17450 expectations for float.
17452 2011-11-29 Andreas Schwab <schwab@redhat.com>
17454 * locale/weight.h (findidx): Add parameter len.
17455 * locale/weightwc.h (findidx): Likewise.
17456 * posix/fnmatch_loop.c (FCT): Adjust caller.
17457 * posix/regcomp.c (build_equiv_class): Likewise.
17458 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17459 * posix/regexec.c (check_node_accept_bytes): Likewise.
17460 * string/strcoll_l.c (STRCOLL): Likewise.
17461 * string/strxfrm_l.c (STRXFRM): Likewise.
17463 2011-11-17 Ulrich Drepper <drepper@gmail.com>
17465 * Makefile.in: Remove CVSOPT handling.
17466 * configure.in: Remove use of AC_REVISION.
17467 * iconvdata/Makefile (distribute): No need to filter out CVS.
17468 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17471 2011-11-16 Andreas Schwab <schwab@redhat.com>
17473 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17474 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17475 [USE_AS_STRNCASECMP_L]: Likewise.
17476 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17477 NO_TLS_DIRECT_SEG_REFS.
17478 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17479 Fix argument offsets for non-PIC.
17480 [USE_AS_STRNCASECMP_L]: Likewise.
17481 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17482 NO_TLS_DIRECT_SEG_REFS.
17484 2011-11-15 Ulrich Drepper <drepper@gmail.com>
17486 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
17488 * locale/loadlocale.c (_nl_load_locale): Likewise.
17490 2011-11-15 Andreas Schwab <schwab@redhat.com>
17492 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17493 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17494 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17495 (SYSCALL_GETTIME): Set errno on error.
17497 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17498 count references to noai6ai_cached.
17500 2011-11-15 Ulrich Drepper <drepper@gmail.com>
17502 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17504 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17505 FD_CLOEXEC for /proc/self/maps.
17507 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17508 FD_CLOEXEC for /proc/meminfo.
17510 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17513 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17514 FD_CLOEXEC for given file.
17516 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17518 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17519 FD_CLOEXEC for /etc/hosts.
17520 (_gethtent): Likewise.
17522 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17524 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17525 cancellation and set FD_CLOEXEC for /etc/netgroup.
17527 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17528 reading /etc/publickey.
17530 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17531 allow cancellation when reading /etc/group.
17533 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17535 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17537 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17538 when using data file.
17540 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17542 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17543 (write_nis_obj): Use "c" and "e" in fopen.
17545 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17547 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17549 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17551 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17553 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17556 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17558 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17560 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17562 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17563 file parsing and set FD_CLOEXEC.
17565 2011-11-14 Ulrich Drepper <drepper@gmail.com>
17567 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17569 2011-11-14 Andreas Schwab <schwab@redhat.com>
17571 * malloc/arena.c (arena_get2): Don't call reused_arena when
17572 _int_new_arena failed.
17574 2011-11-14 Ulrich Drepper <drepper@gmail.com>
17576 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17577 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17578 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17579 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17580 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17581 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17582 to compile strcasecmp and strncasecmp.
17583 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17584 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17586 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17588 2011-11-13 Ulrich Drepper <drepper@gmail.com>
17590 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17591 locale-defines.sym to gen-as-const-headers.
17592 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17593 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17594 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17595 to compile strcasecmp and strncasecmp.
17596 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17597 strcasecmp_l and strncasecmp_l.
17598 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17599 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17600 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17601 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17602 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17603 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17604 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17605 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17606 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17607 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17608 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17610 2011-11-12 Ulrich Drepper <drepper@gmail.com>
17612 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17613 result of SYSDEP_GETTIME_CPU to retval.
17614 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17615 parameter list to macro. Remove trailing semicolon. Adjust users.
17617 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17620 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17622 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17624 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17625 from unused variable.
17627 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17629 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17632 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17635 * sunrpc/rpc_prot.c (rejected): Fix case value.
17637 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17638 unsigned long long int to avoid warnings in shift.
17640 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17642 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17645 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17646 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17647 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17649 * nis/nis_table.c (nis_list): Use variable of correct type for
17650 result of __follow_path call.
17652 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17654 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17655 of math functions ceil, trunc, floor, round, and sqrt, when
17656 avaliable on the platform.
17657 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17659 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17660 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17661 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17663 2011-10-30 Marek Polacek <mpolacek@redhat.com>
17665 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17666 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17668 2011-11-11 Roland McGrath <roland@hack.frob.com>
17670 * include/unistd.h: Fix __readlink return type.
17671 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17673 2011-11-11 Ulrich Drepper <drepper@gmail.com>
17675 * stdlib/ucontext.h: Undo last change for makecontext.
17677 2011-11-11 Andreas Schwab <schwab@redhat.com>
17679 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17681 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17682 * setjmp/setjmp.h: Mark functions as non-leaf.
17683 * setjmp/bits/setjmp2.h: Likewise.
17684 * stdlib/ucontext.h: Likewise.
17686 2011-11-10 Andreas Schwab <schwab@redhat.com>
17688 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17689 (reused_arena): Don't check arena limit.
17690 (arena_get2): Atomically check arena limit.
17692 2011-11-08 Ulrich Drepper <drepper@gmail.com>
17694 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17695 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17697 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17700 2011-11-07 Andreas Schwab <schwab@redhat.com>
17702 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17703 handler when locking.
17705 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17706 Fix size of allocated buffer.
17708 2011-11-04 Andreas Schwab <schwab@redhat.com>
17711 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17712 declarations for long double functions.
17713 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17715 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17717 2011-11-03 Andreas Schwab <schwab@redhat.com>
17719 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17722 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17725 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17727 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17729 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17731 * include/alloca.h (stackinfo_alloca_round): Define.
17732 (extend_alloca): Use it.
17733 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17734 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17737 * scripts/check-local-headers.sh: Ignore libaudit.h.
17739 * nscd/Makefile (extra-objs): Make recursively expanded.
17741 2011-11-01 Ulrich Drepper <drepper@gmail.com>
17743 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17744 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17746 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17747 * posix/tst-rfc3484-2.c: Likewise.
17748 * posix/tst-rfc3484-3.c: Likewise.
17750 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17752 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17754 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17755 process_vm_writev from libc using GLIBC_2.15 version.
17757 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17759 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17761 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17764 2011-10-31 Ulrich Drepper <drepper@gmail.com>
17767 * nss/getent.c (initgroups_keys): Show error message in case no group
17770 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17771 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17772 __bump_nl_timestamp.
17773 * nscd/connections (nscd_init): When host database is served open
17774 netlink socket and request notification about configuration changes.
17775 (main_loop_poll): Track netlink file descriptor and bump timestamp
17776 in case data becomes available.
17777 (main_loop_epoll): Likewise.
17778 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17779 (database_pers_head): Add extra_data fileds.
17780 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17781 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17782 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17784 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17785 in6ai data, call __free_in6ai.
17786 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17787 Add -DHAVE_NETLINK.
17788 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17789 interface information. Reuse previous data if netlink timestamp
17791 (__bump_nl_timestamp): New function.
17792 (__free_in6ai): New function.
17794 2011-10-30 Ulrich Drepper <drepper@gmail.com>
17796 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17797 close_not_cancel_no_status here.
17798 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17800 2011-10-29 Ulrich Drepper <drepper@gmail.com>
17803 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17806 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
17807 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17808 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17810 2011-07-03 Andreas Jaeger <aj@suse.de>
17813 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17814 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17815 * math/libm-test.inc (sin_test): Add test case.
17817 2011-10-29 Ulrich Drepper <drepper@gmail.com>
17820 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17821 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17823 * elf/chroot_canon.c (chroot_canon): Cleanups.
17825 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17828 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17829 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17831 * string/test-strchr.c: Make usable for strchrnul testing.
17832 * string/test-strchrnul.c: New file.
17833 * string/Makefile (strop-tests): Add strchrnul.
17835 * po/it.po: Update from translation team.
17836 * po/es.po: Likewise.
17838 2011-10-28 Ulrich Drepper <drepper@gmail.com>
17840 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17841 the three constants needed as parameters. Drop the others.
17842 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17843 __m128i_strloadu_tolower.
17844 Create and initialize variable zero and use it in all the places
17845 where _mm_setzero_si128 was used.
17847 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17848 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17849 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17850 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17852 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17853 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17854 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17855 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17856 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17857 __mpranred, __mptan.
17858 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17859 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17860 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17861 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17862 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17863 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17864 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17865 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17866 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17868 2011-10-28 Andreas Schwab <schwab@redhat.com>
17870 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17871 redefine if SHARED.
17872 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
17874 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
17875 wide char related routines to wcsmbs subdir.
17877 2011-10-27 Andreas Schwab <schwab@redhat.com>
17880 * misc/sys/cdefs.h (__THROWNL): Define.
17881 * posix/unistd.h: Use __THREADNL instead of __THREAD
17882 for memory synchronization functions.
17884 2011-10-26 Roland McGrath <roland@hack.frob.com>
17887 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
17889 * manual/stdio.texi (Obstack Streams): Node removed.
17891 2011-10-26 Andreas Schwab <schwab@redhat.com>
17893 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
17894 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17895 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17897 * math/math_private.h (math_force_eval): Allow non-addressable
17899 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
17901 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17903 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
17904 file is not needed.
17906 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
17907 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
17908 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
17909 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
17910 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
17911 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
17912 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
17913 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
17915 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
17916 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
17917 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
17918 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
17919 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
17920 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
17921 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
17922 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
17923 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
17924 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
17925 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
17926 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
17927 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
17928 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
17929 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
17930 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
17931 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
17932 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
17933 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
17935 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
17936 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
17938 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
17939 place. Use VEX encoding when compiling for AVX.
17941 2011-10-25 Andreas Schwab <schwab@redhat.com>
17943 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
17944 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17946 * string/test-strchr.c (do_test): Don't generate NUL bytes.
17948 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17950 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
17951 useless if() expression.
17952 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17953 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17954 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17955 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17956 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17957 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17958 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17959 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17960 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17961 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17962 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17963 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17964 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17965 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17966 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17967 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17968 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
17969 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
17970 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
17972 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
17974 2011-10-25 Andreas Schwab <schwab@redhat.com>
17976 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
17978 * elf/dl-fini.c (_dl_sort_fini): Likewise.
17980 2011-10-25 Ulrich Drepper <drepper@gmail.com>
17982 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
17983 .text section. Avoid duplicate constants.
17984 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17985 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17986 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17987 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17988 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17989 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17990 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17991 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17992 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17993 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
17994 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17995 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17996 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17997 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17998 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17999 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18000 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18001 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18002 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18003 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18004 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18005 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18006 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18007 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18008 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18009 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18010 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18011 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18012 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18013 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18014 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18015 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18016 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18017 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18018 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18019 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18020 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18021 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18022 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18023 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18024 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18025 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18026 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18027 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18028 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18030 2011-10-24 Ulrich Drepper <drepper@gmail.com>
18032 * sysdeps/x86_64/dla.h: Move to ...
18033 * sysdeps/x86_64/fpu/dla.h: ...here.
18034 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18035 situations. Use __builtin_fma only for gcc 4.6 and up.
18037 * config.make.in: Add have-mfma4 entry.
18038 * configure.in: Substitute libc_cv_cc_fma4.
18039 * math/Makefile (dbl-only-routines): Add sincostab.
18040 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18041 Use __sincostab not sincos.
18042 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18044 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18045 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18046 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18047 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18049 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18050 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18051 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18052 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18054 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18055 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18057 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18058 define aliases when function name is a macro.
18059 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18060 sysdeps/ieee754/dbl-64/sincos.tbl.
18061 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18062 fma4-enabled routines.
18063 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18064 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18065 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18066 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18067 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18068 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18069 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18070 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18071 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18072 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18073 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18074 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18075 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18076 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18077 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18078 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18079 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18080 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18081 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18082 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18083 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18084 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18085 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18086 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18087 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18088 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18089 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18090 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18091 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18092 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18094 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18096 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18097 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18098 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18099 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18100 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18101 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18102 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18103 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18105 2011-10-24 Andreas Schwab <schwab@redhat.com>
18107 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18109 2011-10-23 Ulrich Drepper <drepper@gmail.com>
18111 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18113 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18115 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18117 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18118 Remove unused variable magic_bits.
18119 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18121 * string/strnlen.c: Define and use STRNLEN macro.
18122 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18123 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18124 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18125 * wcsmbs/wcslen.c: Define and use WCSLEN.
18126 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18127 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18128 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18129 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18130 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18131 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18132 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18134 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18137 strnlen-sse2-no-bsf.
18138 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18139 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18140 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18141 Add strnlen support.
18142 (USE_AS_STRNLEN): New macro.
18143 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18144 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18145 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18146 * sysdeps/x86_64/wcslen.S: New file.
18148 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18150 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18151 XMM-moves are used for copying on small sizes.
18153 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18155 * wcsmbs/Makefile (strop-tests): Add wcschr.
18156 * wcsmbs/test-wcschr.c: New file.
18157 * string/test-strchr.c: Update.
18158 Add wcschr support.
18161 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18163 * wcsmbs/Makefile (strop-tests): Add wcslen.
18164 * wcsmbs/test-wcslen.c: New file.
18165 * string/test-strlen.c: Update.
18166 Add wcslen support.
18169 2011-10-23 Ulrich Drepper <drepper@gmail.com>
18171 * po/it.po: Update from translation team.
18173 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18175 * sysdeps/x86_64/wcscmp.S: Update.
18176 Fix wrong comparison semantics.
18177 wcscmp shall use signed comparison not unsigned.
18178 Don't use substraction to avoid overflow bug.
18179 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18180 * wcsmbc/wcscmp.c: Likewise.
18181 * string/test-strcmp.c: Likewise.
18182 Add new tests to check cases with negative values.
18184 2011-10-23 Ulrich Drepper <drepper@gmail.com>
18186 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18187 * sysdeps/x86_64/dla.h: ...here. New file.
18188 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18189 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18190 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18191 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18193 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18194 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18195 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18196 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18198 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18200 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18201 __ynl_finite aliases.
18203 2011-10-22 Ulrich Drepper <drepper@gmail.com>
18205 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18207 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18209 [DLA_FMA] (EMULV): Use DLA_FMA.
18210 [DLA_FMA] (MUL12): Use EMULV.
18211 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18212 that are not needed.
18213 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18214 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18215 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18216 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18217 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18218 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18219 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18221 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18223 * math/s_nan.c: Undef __nan.
18224 * math/s_nanf.c: Undef __nanf.
18225 * math/s_nanl.c: Undef __nanl.
18226 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18229 2011-10-22 Ulrich Drepper <drepper@gmail.com>
18231 * math/s_catan.c: Add branch predictions.
18232 * math/s_catanf.c: Likewise.
18233 * math/s_catanh.c: Likewise.
18234 * math/s_catanhf.c: Likewise.
18235 * math/s_catanhl.c: Likewise.
18236 * math/s_catanl.c: Likewise.
18237 * math/s_cexp.c: Likewise.
18238 * math/s_cexpf.c: Likewise.
18239 * math/s_cexpl.c: Likewise.
18240 * math/s_clog.c: Likewise.
18241 * math/s_clog10.c: Likewise.
18242 * math/s_clog10f.c: Likewise.
18243 * math/s_clog10l.c: Likewise.
18244 * math/s_clogf.c: Likewise.
18245 * math/s_clogl.c: Likewise.
18246 * math/s_csqrt.c: Likewise.
18247 * math/s_csqrtf.c: Likewise.
18248 * math/s_csqrtl.c: Likewise.
18249 * math/s_ctanf.c: Likewise.
18250 * math/s_ctanh.c: Likewise.
18251 * math/s_ctanhf.c: Likewise.
18252 * math/s_ctanhl.c: Likewise.
18253 * math/s_ctanl.c: Likewise.
18255 * math/math_private.h: Define __nan, __nanf, __nanl.
18256 * math/s_cacosh.c: Include <math_private.h>.
18257 * math/s_cacoshl.c: Likewise.
18258 * math/s_casinh.c: Likewise.
18259 * math/s_casinhf.c: Likewise.
18260 * math/s_casinhl.c: Likewise.
18261 * math/s_ccos.c: Rely entire on ccosh.
18262 * math/s_ccosf.c: Rely entire on ccoshf.
18263 * math/s_ccosl.c: Rely entirely on ccoshl.
18264 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18265 Remove tests for FE_INVALID.
18266 * math/s_ccoshf.c: Likewise.
18267 * math/s_ccoshl.c: Likewise.
18268 * math/s_csin.c: Likewise.
18269 * math/s_csinf.c: Likewise.
18270 * math/s_csinh.c Likewise.
18271 * math/s_csinhf.c: Likewise.
18272 * math/s_csinhl.c: Likewise.
18273 * math/s_csinl.c: Likewise.
18274 * math/s_ctan.c: Likewise.
18275 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18276 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18277 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18279 2011-10-21 Ulrich Drepper <drepper@gmail.com>
18281 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18282 compilation problems.
18284 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18287 2011-10-20 Ulrich Drepper <drepper@gmail.com>
18289 * sysdeps/i386/configure.in: Test for -mfma4 option.
18290 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18291 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18292 COMMON_CPUID_INDEX_80000001.
18293 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18294 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18295 use it if FMA3 is not supported.
18296 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18298 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18299 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18301 2011-10-20 Andreas Schwab <schwab@redhat.com>
18304 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18305 it would create a cycle with a link time dependency.
18307 2011-10-19 Ulrich Drepper <drepper@gmail.com>
18309 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18311 * string/Makefile (strop-tests): Add rawmemchr.
18312 * string/test-rawmemchr.c: New file.
18314 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18315 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18316 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18317 when compiling str{,n}casecmp and when AVX is available. Hook up
18318 new optimized code in initializers.
18320 2011-10-19 Andreas Schwab <schwab@redhat.com>
18322 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18323 __feraiseexcept instead of feraiseexcept.
18325 2011-10-18 Ulrich Drepper <drepper@gmail.com>
18327 * math/math_private.h: Define defaults for libc_fetestexcept and
18329 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18330 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18331 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18332 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18333 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18334 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18335 libc_fetestexcept and libc_feupdateenv.
18337 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18338 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18339 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18340 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18341 libc_feholdexcept_setround.
18343 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18344 Add s_nearbyint-c and s_nearbyintf-c.
18345 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18346 nearbyintf inlines.
18347 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18348 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18349 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18350 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18352 * math/math_private.h: Define defaults for libc_fegetround,
18353 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18354 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18355 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18356 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18357 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18358 standard functions.
18359 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18360 Remove comments and hacks for old compiler versions.
18361 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18362 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18363 libc_feholdexceptl.
18365 2011-10-18 Andreas Schwab <schwab@redhat.com>
18367 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
18368 (__feraiseexcept_renamed): Add __NTH.
18369 (feraiseexcept): Add __NTH. Rename local variables to fix
18370 namespace violations.
18372 2011-10-17 Ulrich Drepper <drepper@gmail.com>
18374 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18376 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18378 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18379 recently added interfaces.
18380 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18382 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18383 about macro parameter expansion.
18385 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18386 __NO_MATH_INLINES is defined. Cleanups.
18388 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18389 and __floorf is target has SSE4.1.
18390 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18391 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18392 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18393 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18395 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18397 (floorf): Likewise.
18399 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18401 2011-10-17 Andreas Schwab <schwab@redhat.com>
18403 * misc/sys/cdefs.h: Fix last change.
18405 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18408 2011-10-16 Ulrich Drepper <drepper@gmail.com>
18410 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18412 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18413 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18414 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18415 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18416 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18417 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18418 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18419 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18420 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18421 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18422 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18423 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18424 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18425 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18426 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18427 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18428 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18429 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18430 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18431 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18432 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18433 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18435 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18436 ceil, ceilf, floor, floorf.
18438 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18439 Perform IRELATIVE relocations last.
18441 * elf/do-rel.h: Add another parameter nrelative, replacing the
18442 local variable with the same name. Change name of the function
18443 to end in Rel or Rela (uppercase).
18444 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18445 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18446 elf_dynamic_do_##reloc function.
18448 2011-10-15 Ulrich Drepper <drepper@gmail.com>
18450 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18451 is sufficient, at least on modern CPUs.
18453 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18455 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18456 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18458 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18460 * math/bits/math-finite.h: Add entries for exp.
18461 * math/e_expl.c: Add __*_finite alias.
18462 * sysdeps/i386/fpu/e_exp.S: Likewise.
18463 * sysdeps/i386/fpu/e_expf.S: Likewise.
18464 * sysdeps/i386/fpu/e_expl.c: Likewise.
18465 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18466 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18467 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18468 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18469 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18470 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18471 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18473 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18474 is sufficient, at least on modern CPUs.
18476 * ctype/ctype-info.c (__ctype_init): Define.
18477 * include/ctype.h (__ctype_init): Declare.
18478 (__ctype_b_loc): The variable is always initialized.
18479 (__ctype_toupper_loc): Likewise.
18480 (__ctype_tolower_loc): Likewise.
18481 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18482 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18484 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18486 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18488 * configure.in: Also look in $cxxmachine/include for C++ system
18491 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18493 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18494 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18495 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18496 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18497 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18498 (USE_AS_WMEMCMP): New macro.
18500 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18501 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18502 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18503 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18504 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18505 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18506 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18507 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18508 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18509 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18510 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18511 (USE_AS_WMEMCMP): New macro.
18512 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18513 * sysdeps/string/test-memcmp.c: Update.
18514 Fix simple_wmemcmp.
18516 * wcsmbs/wmemcmp.c: Update.
18517 (WMEMCMP): New macro.
18520 2011-10-12 Andreas Jaeger <aj@suse.de>
18523 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18525 2011-10-15 Ulrich Drepper <drepper@gmail.com>
18527 * libio/iofwide.c (do_length): Avoid warning.
18529 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18531 2011-10-14 Ulrich Drepper <drepper@gmail.com>
18533 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18535 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18536 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18537 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18538 * sysdeps/i386/i686/fpu/e_log.S: New file.
18539 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18540 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18542 * ctype/ctype.h: Add support for inlined isXXX functions when
18543 compiling C++ code.
18545 2011-10-14 Andreas Schwab <schwab@redhat.com>
18547 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18549 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18551 2011-10-13 Roland McGrath <roland@hack.frob.com>
18554 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18556 2011-10-13 Andreas Schwab <schwab@redhat.com>
18558 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18559 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18562 * sysdeps/x86_64/memrchr.S: Check for zero size.
18564 * string/stratcliff.c: Add memrchr tests.
18566 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18568 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18569 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18570 rawmemchr-sse2 rawmemchr-sse2-bsf.
18571 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18572 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18573 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18574 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18575 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18576 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18577 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18578 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18579 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18580 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18581 * string/memrchr.c (MEMRCHR): New macro.
18583 2011-10-12 Ulrich Drepper <drepper@gmail.com>
18585 Add integration with gcc's -ffinite-math-only and optimize wrapper
18587 * Versions.def: Define GLIBC_2.15 version for libm.
18588 * math/Makefile (headers): Add bits/math-finite.h.
18589 * math/bits/math-finite.h: New file.
18590 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18591 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18592 * math/e_acoshl.c: Add __*_finite alias.
18593 * math/e_acosl.c: Likewise.
18594 * math/e_asinl.c: Likewise.
18595 * math/e_atan2l.c: Likewise.
18596 * math/e_atanhl.c: Likewise.
18597 * math/e_coshl.c: Likewise.
18598 * math/e_exp10.c: Likewise.
18599 * math/e_exp10f.c: Likewise.
18600 * math/e_exp10l.c: Likewise.
18601 * math/e_exp2l.c: Likewise.
18602 * math/e_fmodl.c: Likewise.
18603 * math/e_gammal_r.c: Likewise.
18604 * math/e_hypotl.c: Likewise.
18605 * math/e_j0l.c: Likewise.
18606 * math/e_j1l.c: Likewise.
18607 * math/e_jnl.c: Likewise.
18608 * math/e_lgammal_r.c: Likewise.
18609 * math/e_log10l.c: Likewise.
18610 * math/e_log2l.c: Likewise.
18611 * math/e_logl.c: Likewise.
18612 * math/e_powl.c: Likewise.
18613 * math/e_sinhl.c: Likewise.
18614 * math/e_sqrtl.c: Likewise.
18615 * math/e_scalb.c: Completely rewritten and optimized.
18616 * math/e_scalbf.c: Likewise.
18617 * math/e_scalbl.c: Likewise.
18618 * math/w_acos.c: Likewise.
18619 * math/w_acosf.c: Likewise.
18620 * math/w_acosl.c: Likewise.
18621 * math/w_acosh.c: Likewise.
18622 * math/w_acoshf.c: Likewise.
18623 * math/w_acoshl.c: Likewise.
18624 * math/w_asin.c: Likewise.
18625 * math/w_asinf.c: Likewise.
18626 * math/w_asinl.c: Likewise.
18627 * math/w_atan2.c: Likewise.
18628 * math/w_atan2f.c: Likewise.
18629 * math/w_atan2l.c: Likewise.
18630 * math/w_atanh.c: Likewise.
18631 * math/w_atanhf.c: Likewise.
18632 * math/w_atanhl.c: Likewise.
18633 * math/w_exp10.c: Likewise.
18634 * math/w_exp10f.c: Likewise.
18635 * math/w_exp10l.c: Likewise.
18636 * math/w_fmod.c: Likewise.
18637 * math/w_fmodf.c: Likewise.
18638 * math/w_fmodl.c: Likewise.
18639 * math/w_j0.c: Likewise.
18640 * math/w_j0f.c: Likewise.
18641 * math/w_j0l.c: Likewise.
18642 * math/w_j1.c: Likewise.
18643 * math/w_j1f.c: Likewise.
18644 * math/w_j1l.c: Likewise.
18645 * math/w_jn.c: Likewise.
18646 * math/w_jnf.c: Likewise.
18647 * math/w_log.c: Likewise.
18648 * math/w_logf.c: Likewise.
18649 * math/w_logl.c: Likewise.
18650 * math/w_log10.c: Likewise.
18651 * math/w_log10f.c: Likewise.
18652 * math/w_log10l.c: Likewise.
18653 * math/w_log2.c: Likewise.
18654 * math/w_log2f.c: Likewise.
18655 * math/w_log2l.c: Likewise.
18656 * math/w_pow.c: Likewise.
18657 * math/w_powf.c: Likewise.
18658 * math/w_powl.c: Likewise.
18659 * math/w_remainder.c: Likewise.
18660 * math/w_remainderf.c: Likewise.
18661 * math/w_remainderl.c: Likewise.
18662 * math/w_scalb.c: Likewise.
18663 * math/w_scalbf.c: Likewise.
18664 * math/w_scalbl.c: Likewise.
18665 * math/w_sqrt.c: Likewise.
18666 * math/w_sqrtf.c: Likewise.
18667 * math/w_sqrtl.c: Likewise.
18668 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18669 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18671 * math/math_private.h: Declare __kernel_standard_f.
18672 * math/w_cosh.c: Remove cruft and optimize a bit.
18673 * math/w_coshf.c: Likewise.
18674 * math/w_coshl.c: Likewise.
18675 * math/w_exp2.c: Likewise.
18676 * math/w_exp2f.c: Likewise.
18677 * math/w_exp2l.c: Likewise.
18678 * math/w_hypot.c: Likewise.
18679 * math/w_hypotf.c: Likewise.
18680 * math/w_hypotl.c: Likewise.
18681 * math/w_lgamma.c: Likewise.
18682 * math/w_lgamma_r.c: Likewise.
18683 * math/w_lgammaf.c: Likewise.
18684 * math/w_lgammaf_r.c: Likewise.
18685 * math/w_lgammal.c: Likewise.
18686 * math/w_lgammal_r.c: Likewise.
18687 * math/w_sinh.c: Likewise.
18688 * math/w_sinhf.c: Likewise.
18689 * math/w_sinhl.c: Likewise.
18690 * math/w_tgamma.c: Likewise.
18691 * math/w_tgammaf.c: Likewise.
18692 * math/w_tgammal.c: Likewise.
18693 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18694 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18695 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18696 Minor optimizations. Pretty printing. Remove cruft.
18697 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18698 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18699 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18700 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18701 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18702 * sysdeps/i386/fpu/e_asin.S: Likewise.
18703 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18704 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18705 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18706 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18707 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18708 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18709 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18710 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18711 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18712 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18713 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18714 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18715 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18716 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18717 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18718 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18719 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18720 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18721 * sysdeps/i386/fpu/e_log.S: Likewise.
18722 * sysdeps/i386/fpu/e_log10.S: Likewise.
18723 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18724 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18725 * sysdeps/i386/fpu/e_log2.S: Likewise.
18726 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18727 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18728 * sysdeps/i386/fpu/e_logf.S: Likewise.
18729 * sysdeps/i386/fpu/e_logl.S: Likewise.
18730 * sysdeps/i386/fpu/e_pow.S: Likewise.
18731 * sysdeps/i386/fpu/e_powf.S: Likewise.
18732 * sysdeps/i386/fpu/e_powl.S: Likewise.
18733 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18734 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18735 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18736 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18737 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18738 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18739 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18740 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18741 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18742 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18743 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18744 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18745 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18746 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18747 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18748 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18749 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18750 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18751 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18752 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18753 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18754 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18755 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18756 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18757 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18758 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18759 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18760 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18761 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18762 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18763 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18764 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18765 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18766 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18767 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18768 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18769 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18770 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18771 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18772 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18773 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18774 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18775 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18776 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18777 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18778 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18779 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18780 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18781 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18782 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18783 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18784 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18785 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18786 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18787 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18788 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18789 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18790 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18791 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18792 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18793 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18794 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18795 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18796 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18797 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18798 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18799 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18800 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18801 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18802 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18803 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18804 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18805 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18806 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18807 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18808 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18809 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18810 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18811 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18812 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18813 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18814 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18815 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18816 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18817 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18818 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18819 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18820 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18821 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18822 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18823 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18824 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18825 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18826 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18827 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18828 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18829 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18830 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18831 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18832 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18833 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18834 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18835 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18836 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18837 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18838 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18839 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18840 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18841 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18842 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18843 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18844 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18845 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18846 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18847 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18848 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18849 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18850 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18851 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18852 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18853 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18854 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18855 (__isnanf): Likewise.
18856 (__isinf_ns): Likewise.
18857 (__isinf_nsf): Likewise.
18858 (__finite): Likewise.
18859 (__finitef): Likewise.
18860 (__ieee754_sqrt): Define as macro.
18861 (__ieee754_sqrtf): Define as macro.
18862 (__ieee754_sqrtl): Define as macro.
18863 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18865 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18866 __FINITE_MATH_ONLY__ consistent.
18867 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18869 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18871 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
18874 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
18876 2011-10-09 Ulrich Drepper <drepper@gmail.com>
18878 * po/ja.po: Update from translation team.
18880 2011-10-08 Roland McGrath <roland@hack.frob.com>
18882 * locale/programs/locarchive.c (prepare_address_space): New function.
18883 (create_archive, enlarge_archive, open_archive): Use it.
18885 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
18886 inside [SHARED], where it is used.
18888 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
18890 * nss/getent.c (netgroup_keys): Remove unused variable.
18891 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18893 2011-10-08 Ulrich Drepper <drepper@gmail.com>
18895 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
18896 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
18897 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
18898 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
18899 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
18900 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
18901 * math/Makefile (libm-calls): Add s_isinf_ns.
18902 * math/divtc3.c: Use __isinf_nsl instead of isinf.
18903 * math/multc3.c: Likewise.
18904 * math/s_casin.c: Likewise.
18905 * math/s_casinf.c: Likewise.
18906 * math/s_casinl.c: Likewise.
18907 * math/s_ccos.c: Likewise.
18908 * math/s_ccosf.c: Likewise.
18909 * math/s_ccosl.c: Likewise.
18910 * math/s_ctan.c: Likewise.
18911 * math/s_ctanf.c: Likewise.
18912 * math/s_ctanh.c: Likewise.
18913 * math/s_ctanhf.c: Likewise.
18914 * math/s_ctanhl.c: Likewise.
18915 * math/s_ctanl.c: Likewise.
18916 * math/w_fmod.c: Likewise.
18917 * math/w_fmodf.c: Likewise.
18918 * math/w_fmodl.c: Likewise.
18919 * math/w_remainder.c: Likewise.
18920 * math/w_remainderf.c: Likewise.
18921 * math/w_remainderl.c: Likewise.
18922 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
18923 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
18924 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
18925 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
18926 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
18927 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
18928 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
18929 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
18931 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
18933 * stdio-common/printf_fphex.c: Likewise.
18934 * stdio-common/printf_size.c: Likewise.
18936 * math/e_exp10.c: Include math_private.h using <...> not "...".
18937 * math/e_exp10f.c: Likewise.
18938 * math/e_exp10l.c: Likewise.
18939 * math/e_exp2l.c: Likewise.
18940 * math/e_j0l.c: Likewise.
18941 * math/e_j1l.c: Likewise.
18942 * math/e_jnl.c: Likewise.
18943 * math/e_lgammal_r.c: Likewise.
18944 * math/e_rem_pio2l.c: Likewise.
18945 * math/e_scalb.c: Likewise.
18946 * math/e_scalbf.c: Likewise.
18947 * math/e_scalbl.c: Likewise.
18948 * math/k_cosl.c: Likewise.
18949 * math/k_sinl.c: Likewise.
18950 * math/k_tanl.c: Likewise.
18951 * math/s_cacoshf.c: Likewise.
18952 * math/s_catan.c: Likewise.
18953 * math/s_catanf.c: Likewise.
18954 * math/s_catanh.c: Likewise.
18955 * math/s_catanhf.c: Likewise.
18956 * math/s_catanhl.c: Likewise.
18957 * math/s_catanl.c: Likewise.
18958 * math/s_ccosh.c: Likewise.
18959 * math/s_ccoshf.c: Likewise.
18960 * math/s_ccoshl.c: Likewise.
18961 * math/s_cexp.c: Likewise.
18962 * math/s_cexpf.c: Likewise.
18963 * math/s_cexpl.c: Likewise.
18964 * math/s_clog.c: Likewise.
18965 * math/s_clog10.c: Likewise.
18966 * math/s_clog10f.c: Likewise.
18967 * math/s_clog10l.c: Likewise.
18968 * math/s_clogf.c: Likewise.
18969 * math/s_clogl.c: Likewise.
18970 * math/s_csin.c: Likewise.
18971 * math/s_csinf.c: Likewise.
18972 * math/s_csinh.c: Likewise.
18973 * math/s_csinhf.c: Likewise.
18974 * math/s_csinhl.c: Likewise.
18975 * math/s_csinl.c: Likewise.
18976 * math/s_csqrt.c: Likewise.
18977 * math/s_csqrtf.c: Likewise.
18978 * math/s_csqrtl.c: Likewise.
18979 * math/s_ctan.c: Likewise.
18980 * math/s_ctanf.c: Likewise.
18981 * math/s_ctanh.c: Likewise.
18982 * math/s_ctanhf.c: Likewise.
18983 * math/s_ctanhl.c: Likewise.
18984 * math/s_ctanl.c: Likewise.
18985 * math/s_ldexp.c: Likewise.
18986 * math/s_ldexpf.c: Likewise.
18987 * math/s_ldexpl.c: Likewise.
18988 * math/s_significand.c: Likewise.
18989 * math/s_significandf.c: Likewise.
18990 * math/s_significandl.c: Likewise.
18991 * math/w_acos.c: Likewise.
18992 * math/w_acosf.c: Likewise.
18993 * math/w_acosh.c: Likewise.
18994 * math/w_acoshf.c: Likewise.
18995 * math/w_acoshl.c: Likewise.
18996 * math/w_acosl.c: Likewise.
18997 * math/w_asin.c: Likewise.
18998 * math/w_asinf.c: Likewise.
18999 * math/w_asinl.c: Likewise.
19000 * math/w_atan2.c: Likewise.
19001 * math/w_atan2f.c: Likewise.
19002 * math/w_atan2l.c: Likewise.
19003 * math/w_atanh.c: Likewise.
19004 * math/w_atanhf.c: Likewise.
19005 * math/w_atanhl.c: Likewise.
19006 * math/w_cosh.c: Likewise.
19007 * math/w_coshf.c: Likewise.
19008 * math/w_coshl.c: Likewise.
19009 * math/w_dremf.c: Likewise.
19010 * math/w_exp10.c: Likewise.
19011 * math/w_exp10f.c: Likewise.
19012 * math/w_exp10l.c: Likewise.
19013 * math/w_exp2.c: Likewise.
19014 * math/w_exp2f.c: Likewise.
19015 * math/w_fmod.c: Likewise.
19016 * math/w_fmodf.c: Likewise.
19017 * math/w_fmodl.c: Likewise.
19018 * math/w_hypot.c: Likewise.
19019 * math/w_hypotf.c: Likewise.
19020 * math/w_hypotl.c: Likewise.
19021 * math/w_j0.c: Likewise.
19022 * math/w_j0f.c: Likewise.
19023 * math/w_j0l.c: Likewise.
19024 * math/w_j1.c: Likewise.
19025 * math/w_j1f.c: Likewise.
19026 * math/w_j1l.c: Likewise.
19027 * math/w_jn.c: Likewise.
19028 * math/w_jnf.c: Likewise.
19029 * math/w_jnl.c: Likewise.
19030 * math/w_lgamma.c: Likewise.
19031 * math/w_lgamma_r.c: Likewise.
19032 * math/w_lgammaf.c: Likewise.
19033 * math/w_lgammaf_r.c: Likewise.
19034 * math/w_lgammal.c: Likewise.
19035 * math/w_lgammal_r.c: Likewise.
19036 * math/w_log.c: Likewise.
19037 * math/w_log10.c: Likewise.
19038 * math/w_log10f.c: Likewise.
19039 * math/w_log10l.c: Likewise.
19040 * math/w_log2.c: Likewise.
19041 * math/w_log2f.c: Likewise.
19042 * math/w_log2l.c: Likewise.
19043 * math/w_logf.c: Likewise.
19044 * math/w_logl.c: Likewise.
19045 * math/w_pow.c: Likewise.
19046 * math/w_powf.c: Likewise.
19047 * math/w_powl.c: Likewise.
19048 * math/w_remainder.c: Likewise.
19049 * math/w_remainderf.c: Likewise.
19050 * math/w_remainderl.c: Likewise.
19051 * math/w_scalb.c: Likewise.
19052 * math/w_scalbf.c: Likewise.
19053 * math/w_scalbl.c: Likewise.
19054 * math/w_sinh.c: Likewise.
19055 * math/w_sinhf.c: Likewise.
19056 * math/w_sinhl.c: Likewise.
19057 * math/w_sqrt.c: Likewise.
19058 * math/w_sqrtf.c: Likewise.
19059 * math/w_sqrtl.c: Likewise.
19060 * math/w_tgamma.c: Likewise.
19061 * math/w_tgammaf.c: Likewise.
19062 * math/w_tgammal.c: Likewise.
19064 * po/ja.po: Update from translation team.
19066 2011-09-29 Andreas Jaeger <aj@suse.de>
19069 * sunrpc/netname.c (netname2host): Fix logic.
19073 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19075 * math/w_remainder.c (__remainder): Likewise.
19076 * math/w_remainderf.c (__remainderf): Likewise.
19077 * math/libm-test.inc (remainder_test): Add test cases.
19079 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19081 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19084 2011-10-07 Ulrich Drepper <drepper@gmail.com>
19086 * string/test-memcmp.c: Avoid unncessary #defines.
19087 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19089 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19091 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19092 Use new sse2 version for core i3 - i7 as it's faster
19093 than sse42 version.
19094 (bit_Prefer_PMINUB_for_stringop): New.
19095 * sysdeps/x86_64/rawmemchr.S: Update.
19096 Replace with faster SSE2 version.
19097 * sysdeps/x86_64/memrchr.S: New file.
19098 * sysdeps/x86_64/memchr.S: Update.
19099 Replace with faster SSE2 version.
19101 2011-09-12 Marek Polacek <mpolacek@redhat.com>
19103 * elf/dl-load.c (lose): Add cast to avoid warning.
19105 2011-10-07 Ulrich Drepper <drepper@gmail.com>
19107 * po/ca.po: Update from translation team.
19109 * inet/getnetgrent_r.c: Hook up nscd.
19110 * nscd/Makefile (routines): Add nscd_netgroup.
19111 (nscd-modules): Add netgroupcache.
19112 (CFLAGS-netgroupcache.c): Define.
19113 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19114 (cache_search): Add const to second parameter.
19115 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19117 (dbs): Add netgrdb entry.
19118 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19119 (verify_persistent_db): Handle netgrdb.
19120 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19121 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19123 (netgroup_response_header): Define.
19124 (innetgroup_response_header): Define.
19125 (datahead): Add netgroup_response_header and innetgroup_response_header
19127 * nscd/nscd.conf: Add entries for netgroup cache.
19128 * nscd/nscd.h (dbtype): Add netgrdb.
19129 (_PATH_NSCD_NETGROUP_DB): Define.
19130 (netgroup_iov_disabled): Declare.
19131 (xmalloc, xcalloc, xrealloc): Move declarations here.
19132 (cache_search): Adjust prototype.
19133 Add netgroup-related prototypes.
19134 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19135 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19136 (__nscd_innetgr): Declare.
19137 * nscd/selinux.c (perms): Use access_vector_t as element type and
19138 add netgroup-related initializers.
19139 * nscd/netgroupcache.c: New file.
19140 * nscd/nscd_netgroup.c: New file.
19141 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19142 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19143 For four parameters use innetgr.
19144 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19145 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19146 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19147 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19149 * nscd/connections.c (register_traced_file): Don't register file
19150 for disabled databases.
19152 2011-10-06 Ulrich Drepper <drepper@gmail.com>
19154 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19156 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19157 from tree and freeing node.
19159 2011-09-25 Jiri Olsa <jolsa@redhat.com>
19161 * nss/nsswitch.c (__nss_database_lookup): Handle
19162 nss_parse_service_list out of memory case.
19164 2011-09-15 Jiri Olsa <jolsa@redhat.com>
19166 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19167 out of memory case.
19169 2011-10-04 Andreas Schwab <schwab@redhat.com>
19171 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19172 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19174 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19175 elf_machine_rela, elf_machine_lazy_rel.
19176 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19177 (ELF_DYNAMIC_DO_REL): Likewise.
19178 (ELF_DYNAMIC_DO_RELA): Likewise.
19179 (ELF_DYNAMIC_RELOCATE): Likewise.
19180 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19181 to ELF_DYNAMIC_DO_REL.
19182 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19183 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19184 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19186 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19187 skip_ifunc, don't call ifunc function if non-zero.
19188 (elf_machine_rela): Likewise.
19189 (elf_machine_lazy_rel): Likewise.
19190 (elf_machine_lazy_rela): Likewise.
19191 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19192 (elf_machine_lazy_rel): Likewise.
19193 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19195 (elf_machine_lazy_rel): Likewise.
19196 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19198 (elf_machine_lazy_rel): Likewise.
19199 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19200 (elf_machine_lazy_rel): Likewise.
19201 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19202 (elf_machine_lazy_rel): Likewise.
19203 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19204 (elf_machine_lazy_rel): Likewise.
19205 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19206 (elf_machine_lazy_rel): Likewise.
19207 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19208 (elf_machine_lazy_rel): Likewise.
19209 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19210 (elf_machine_lazy_rel): Likewise.
19212 2011-09-28 Ulrich Drepper <drepper@gmail.com>
19214 * nss/nss_files/files-init.c (_nss_files_init): Use static
19215 initialization for all the *_traced_file variables.
19217 2011-09-28 Andreas Schwab <schwab@redhat.com>
19219 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19221 2011-09-27 Roland McGrath <roland@hack.frob.com>
19224 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19226 2011-09-27 Andreas Schwab <schwab@redhat.com>
19228 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19229 Reread the line before reparsing it.
19231 2011-09-26 Andreas Schwab <schwab@redhat.com>
19233 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19235 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19236 Maxim Kuvyrkov <maxim@codesourcery.com>
19237 Joseph Myers <joseph@codesourcery.com>
19239 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19240 if needed for __stack_chk_guard.
19242 2011-09-19 Roland McGrath <roland@hack.frob.com>
19244 * sysdeps/posix/spawni.c (script_execute): Always define it.
19245 It will be optimized away if unused.
19246 (maybe_script_execute): New function.
19247 (__spawni): Call it.
19249 * Makerules: Don't include tls.make.
19250 (config-tls): Always set to thread.
19251 * tls.make.c: File removed.
19253 2011-09-19 Mike Frysinger <vapier@gentoo.org>
19255 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19256 * config.make.in (CPPFLAGS-config): New substituted variable.
19258 2011-09-15 Ulrich Drepper <drepper@gmail.com>
19260 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19263 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19264 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19266 2011-09-15 Roland McGrath <roland@hack.frob.com>
19268 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19269 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19270 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19271 (CALL_FAIL): Likewise.
19272 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19273 (CALL_FAIL): Macro removed.
19274 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19276 2011-09-15 Ulrich Drepper <drepper@gmail.com>
19278 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19279 for __FINITE_MATH_ONLY__ == 1.
19281 2011-09-15 Andreas Schwab <schwab@redhat.com>
19283 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19284 __ieee754_sqrt instead of sqrt.
19285 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19286 __ieee754_sqrtf instead of sqrtf.
19287 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19288 __floorf instead of floorf.
19289 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19290 __floorf, __truncf instead of floorf, truncf.
19292 2011-09-14 Ulrich Drepper <drepper@gmail.com>
19294 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19296 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19297 __extern_always_inline.
19298 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19301 2011-09-14 Andreas Schwab <schwab@redhat.com>
19303 * elf/rtld.c (dl_main): Also relocate in dependency order when
19304 doing symbol dependency testing.
19306 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19308 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19309 Always define `refsym'.
19311 2011-09-13 Andreas Schwab <schwab@redhat.com>
19313 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19314 (__FD_ELT): Renamed from __FDELT.
19315 * misc/bits/select2.h (__FD_ELT): Likewise.
19316 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19317 __FD_MASK instead of __FDELT, __FDMASK.
19318 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19320 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19323 * elf/Makefile (gen-ldd): Fix pattern.
19325 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19326 (init_tls): Likewise.
19328 2011-09-12 Ulrich Drepper <drepper@gmail.com>
19330 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19332 2011-09-12 Andreas Schwab <schwab@redhat.com>
19334 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19335 `struct cmsghdr *' instead of `void *'.
19336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19339 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19341 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19343 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19344 ldd_rewrite_script.
19346 2011-09-11 Ulrich Drepper <drepper@gmail.com>
19348 * configure.in: Remove --with-tls option.
19349 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19350 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19351 out in case it is missing.
19352 * sysdeps/ia64/elf/configure.in: Likewise.
19353 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19354 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19355 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19356 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19357 * sysdeps/sh/elf/configure.in: Likewise.
19358 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19359 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19360 * sysdeps/x86_64/elf/configure.in: Likewise.
19361 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19362 * sysdeps/mach/hurd/tls.h: Likewise.
19365 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19368 * configure.in: Fix use of AC_INIT.
19370 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19372 2011-09-10 Ulrich Drepper <drepper@gmail.com>
19374 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19376 * malloc/hooks.c: Likewise.
19379 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19380 variables statically.
19381 (narenas): Initialize.
19382 (list_lock): Initialize.
19383 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19384 initializtion of main_arena and list_lock. Small cleanups.
19385 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19386 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19387 Add initializers to main_arena and mp_.
19388 (malloc_state): Remove pagesize member. Change all users to use
19391 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19392 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19393 is always initialized.
19395 * malloc/malloc.c: Removed unused configurations and dead code.
19396 * malloc/arena.c: Likewise.
19397 * malloc/hooks.c: Likewise.
19398 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
19400 * include/tls.h: Removed. USE___THREAD must always be defined.
19401 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19402 * elf/dl-libc.c: Likewise.
19403 * elf/dl-tsd.c: Likewise.
19404 * include/errno.h: Likewise.
19405 * include/netdb.h: Likewise.
19406 * include/resolv.h: Likewise.
19407 * inet/herrno-loc.c: Likewise.
19408 * inet/herrno.c: Likewise.
19409 * malloc/arena.c: Likewise.
19410 * malloc/hooks.c: Likewise.
19411 * malloc/malloc.c: Likewise.
19412 * resolv/res-state.c: Likewise.
19413 * resolv/res_libc.c: Likewise.
19414 * sysdeps/i386/dl-machine.h: Likewise.
19415 * sysdeps/ia64/dl-machine.h: Likewise.
19416 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19417 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19418 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19419 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19420 * sysdeps/sh/dl-machine.h: Likewise.
19421 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19422 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19423 * sysdeps/unix/i386/sysdep.S: Likewise.
19424 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19425 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19426 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19427 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19428 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19429 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19430 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19431 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19432 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19433 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19434 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19435 * sysdeps/x86_64/dl-machine.h: Likewise.
19436 * tls.make.c: Likewise.
19438 * configure.in: Remove --with-__thread option. Make tests for
19439 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19440 tls_model attribute fail if no support is available. Remove
19442 * Makeconfig: Adjust for dropped configure option. All features are
19444 * Makerules: Likewise.
19445 * Versions.def: Likewise.
19446 * argp/argp-fmtstream.c: Likewise.
19447 * argp/argp-fmtstream.h: Likewise.
19448 * argp/argp-help.c: Likewise.
19449 * assert/assert.c: Likewise.
19450 * config.h.in: Likewise.
19451 * config.make.in: Likewise.
19452 * configure: Likewise.
19453 * configure.in: Likewise.
19454 * csu/Versions: Likewise.
19455 * csu/init.c: Likewise.
19456 * elf/tst-audit2.c: Likewise.
19457 * elf/tst-tls10.c: Likewise.
19458 * elf/tst-tls10.h: Likewise.
19459 * elf/tst-tls11.c: Likewise.
19460 * elf/tst-tls12.c: Likewise.
19461 * elf/tst-tls14.c: Likewise.
19462 * elf/tst-tlsmod11.c: Likewise.
19463 * elf/tst-tlsmod12.c: Likewise.
19464 * elf/tst-tlsmod13.c: Likewise.
19465 * elf/tst-tlsmod13a.c: Likewise.
19466 * elf/tst-tlsmod14a.c: Likewise.
19467 * elf/tst-tlsmod15b.c: Likewise.
19468 * elf/tst-tlsmod16a.c: Likewise.
19469 * elf/tst-tlsmod16b.c: Likewise.
19470 * elf/tst-tlsmod7.c: Likewise.
19471 * elf/tst-tlsmod8.c: Likewise.
19472 * elf/tst-tlsmod9.c: Likewise.
19473 * gmon/gmon.c: Likewise.
19474 * grp/fgetgrent_r.c: Likewise.
19475 * grp/putgrent.c: Likewise.
19476 * hurd/fopenport.c: Likewise.
19477 * include/libc-symbols.h: Likewise.
19478 * include/tls.h: Likewise.
19479 * intl/gettextP.h: Likewise.
19480 * intl/loadinfo.h: Likewise.
19481 * locale/global-locale.c: Likewise.
19482 * locale/localeinfo.h: Likewise.
19483 * mach/devstream.c: Likewise.
19484 * malloc/arena.c: Likewise.
19485 * malloc/set-freeres.c: Likewise.
19486 * misc/err.c: Likewise.
19487 * misc/getttyent.c: Likewise.
19488 * misc/mntent_r.c: Likewise.
19489 * posix/getopt.c: Likewise.
19490 * posix/wordexp.c: Likewise.
19491 * pwd/fgetpwent_r.c: Likewise.
19492 * resolv/Versions: Likewise.
19493 * resolv/res_hconf.c: Likewise.
19494 * shadow/fgetspent_r.c: Likewise.
19495 * shadow/putspent.c: Likewise.
19496 * stdio-common/printf_fphex.c: Likewise.
19497 * stdio-common/tmpfile.c: Likewise.
19498 * stdlib/abort.c: Likewise.
19499 * stdlib/fmtmsg.c: Likewise.
19500 * sunrpc/auth_unix.c: Likewise.
19501 * sunrpc/clnt_perr.c: Likewise.
19502 * sunrpc/clnt_tcp.c: Likewise.
19503 * sunrpc/clnt_udp.c: Likewise.
19504 * sunrpc/clnt_unix.c: Likewise.
19505 * sunrpc/openchild.c: Likewise.
19506 * sunrpc/svc_simple.c: Likewise.
19507 * sunrpc/svc_tcp.c: Likewise.
19508 * sunrpc/svc_udp.c: Likewise.
19509 * sunrpc/svc_unix.c: Likewise.
19510 * sunrpc/xdr.c: Likewise.
19511 * sunrpc/xdr_array.c: Likewise.
19512 * sunrpc/xdr_rec.c: Likewise.
19513 * sunrpc/xdr_ref.c: Likewise.
19514 * sunrpc/xdr_stdio.c: Likewise.
19516 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19518 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19520 2011-07-03 Andreas Jaeger <aj@suse.de>
19522 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19523 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19524 regenerate with gen-libm-tests.pl.
19526 2010-05-12 Petr Baudis <pasky@suse.cz>
19529 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19530 around j0() zero points by switching to j1().
19531 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19532 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19533 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19534 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19536 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19538 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19540 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19542 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19543 Patch in part by Pavel Roskin <proski@gnu.org>.
19546 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19548 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19549 Free memory block if necessary.
19552 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19553 be NULL. Don't lock in this case.
19555 2011-09-09 Roland McGrath <roland@hack.frob.com>
19557 * elf/elf.h (ELFOSABI_GNU): New macro.
19558 (ELFOSABI_LINUX): Define to that.
19560 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19562 * string/strncat.c (strncat): Undef the symbol in case it has been
19563 defined in bits/string.h.
19565 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19567 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19569 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
19572 2011-08-17 Andreas Jaeger <aj@suse.de>
19574 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19576 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19577 Ian Lance Taylor <iant@google.com>
19579 * math/libm-test.inc (lround_test): New testcase.
19580 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19582 2011-09-08 Ulrich Drepper <drepper@gmail.com>
19584 * Makefile: Remove support for automatic cvs check-ins.
19585 * Makerules: Likewise.
19586 * config.make.in: Likewise.
19587 * configure.in: Likewise.
19588 * intl/Makefile: Likewise.
19589 * locale/Makefile: Likewise.
19590 * po/Makefile: Likewise.
19591 * posix/Makefile: Likewise.
19592 * sysdeps/gnu/Makefile: Likewise.
19593 * sysdeps/mach/hurd/Makefile: Likewise.
19594 * sysdeps/sparc/sparc32/Makefile: Likewise.
19597 * posix/Makefile (bug-regex32-ENV): Define.
19598 Patch by John Stanley <jpsinthemix@verizon.net>.
19600 * misc/Makefile (headers): Add bits/select2.h.
19601 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19602 * misc/bits/select2.h: New file.
19603 * include/bits/select2.h: New file.
19604 * debug/Makefile (routines): Add fdelt_chk.
19605 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19606 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19608 * debug/fdelt_chk.c: New file.
19610 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19611 * wcsmbs/test-wmemcmp.c: Likewise.
19612 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19613 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19615 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19617 * string/Makefile (strop-tests): Add memcmp.
19618 * string/test-wmemcmp.c: New file.
19619 * string/test-memcmp.c: Add wmemcmp support.
19621 2011-09-08 Roland McGrath <roland@hack.frob.com>
19624 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19627 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19628 garbage value in a __mach_port_mod_refs call in the cases of the
19629 task-self and thread-self ports.
19631 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19633 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19635 2011-09-08 Andreas Schwab <schwab@redhat.com>
19637 * elf/dl-load.c (lose): Check for non-null L.
19639 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19641 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19643 * elf/dl-libc.c (dlerror_run): Pass back error code from
19647 * elf/dl-load.c (lose): Free l_origin if it is valid.
19649 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19651 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19652 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19653 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19654 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19655 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19656 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19658 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19660 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19661 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19662 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19663 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19664 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19665 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19666 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19667 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19668 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19669 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19671 2011-08-15 Alan Modra <amodra@gmail.com>
19674 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19675 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19676 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19677 ppc_mcount to static-only-routines.
19678 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19680 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19681 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19683 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19685 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19686 for finite and infinity parameters.
19688 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19690 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19691 and add nop instructions for throughput optimization.
19692 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19694 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19696 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19697 aligned copy for power7 with vector-scalar instructions.
19698 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19700 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19702 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19705 2011-09-07 Andreas Schwab <schwab@redhat.com>
19708 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19711 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19713 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19714 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19715 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19716 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19719 2011-09-06 Ulrich Drepper <drepper@gmail.com>
19721 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19722 Forgot to demangle the pointer.
19724 * sysdeps/i386/sysdep.h: Define atom_text_section.
19725 * sysdeps/x86_64/sysdep.h: Likewise.
19726 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19727 section with atom_text_section.
19728 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19729 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19730 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19731 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19732 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19734 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19735 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19736 already be defined. Change to take two parameters and don't assign
19737 result to variable. Adjust all users.
19738 Define INTERNAL_GETTIME if not already defined.
19739 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19741 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19742 HAVE_CLOCK_GETTIME_VSYSCALL.
19743 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19745 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19746 gettimeofday vsyscall, just use time.
19748 2011-09-06 Andreas Schwab <schwab@redhat.com>
19750 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19753 2011-09-06 Ulrich Drepper <drepper@gmail.com>
19755 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19757 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19759 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19760 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19761 syscall if possible.
19763 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19765 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19766 e_ident. Don't pass to find_mapsXX.
19767 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19769 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19771 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19772 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19773 * sysdeps/x86_64/multiarch/strchr.S: Update.
19774 Check bit_slow_BSF bit.
19775 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19776 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19777 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19779 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19782 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19784 (tryshell): Define.
19785 (__spawni): Change last parameter to be flag. Test
19786 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19787 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19788 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19789 * posix/spawni.c: Likewise.
19790 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19791 * posix/spawnp.c: Likewise. Change normal version to use
19792 SPAWN_XFLAGS_USE_PATH.
19793 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19794 SPAWN_XFLAGS_TRY_SHELL.
19797 * posix/glob.h: Remove gcc 1.x support.
19800 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19802 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19804 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19805 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19807 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19808 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19809 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19810 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19811 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19812 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19814 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19816 * sysdeps/x86_64/wcscmp.S: New file.
19818 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19819 wcscmp-c wcscmp-sse2
19820 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19821 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19822 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19823 * wcsmbs/wcscmp.c: Allow renaming.
19825 2011-09-05 David S. Miller <davem@davemloft.net>
19827 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19828 stack slot, rather than the struct return pointer slot.
19829 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19830 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19832 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19834 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19836 * po/ja.po: Update from translation team.
19839 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19840 kernel in 64-bit binaries.
19842 2011-09-01 David S. Miller <davem@davemloft.net>
19844 * elf/elf.h (HWCAP_SPARC_*): Move to..
19845 * sysdeps/sparc/sysdep.h: this new file and add new values.
19846 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19847 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19848 _DL_HWCAP_COUNT to 24.
19849 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19851 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19852 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19853 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19854 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19855 instead of magic constants.
19856 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19858 2011-08-31 David S. Miller <davem@davemloft.net>
19860 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19861 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19862 Reimplement to do errno handling inline.
19863 (SYSCALL_ERROR_HANDLER): New macro.
19864 (__SYSCALL_STRING): Do not do errno handling in asm.
19865 (__CLONE_SYSCALL_STRING): Delete.
19866 (__INTERNAL_SYSCALL_STRING): Delete.
19867 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19868 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19869 (PSEUDO): Reimplement to do errno handling inline.
19870 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19871 (SYSCALL_ERROR_HANDLER): New macro.
19872 (__SYSCALL_STRING): Do not do errno handling in asm.
19873 (__CLONE_SYSCALL_STRING): Delete.
19874 (__INTERNAL_SYSCALL_STRING): Delete.
19875 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
19876 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
19878 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
19879 (inline_syscall*): Add 'err' argument.
19880 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
19881 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
19882 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
19883 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
19885 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
19886 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19888 2011-08-30 Andreas Schwab <schwab@redhat.com>
19890 * elf/rtld.c (dl_main): Relocate objects in dependency order.
19892 2011-08-29 Jiri Olsa <jolsa@redhat.com>
19894 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
19897 2011-08-24 David S. Miller <davem@davemloft.net>
19899 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
19901 2011-08-24 Andreas Schwab <schwab@redhat.com>
19903 * elf/Makefile: Add rules to build and run unload8 test.
19904 * elf/unload8.c: New file.
19905 * elf/unload8mod1.c: New file.
19906 * elf/unload8mod1x.c: New file.
19907 * elf/unload8mod2.c: New file.
19908 * elf/unload8mod3.c: New file.
19910 * elf/dl-close.c (_dl_close_worker): Reset private search list if
19913 2011-08-23 David S. Miller <davem@davemloft.net>
19915 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
19916 subtract stack bias.
19917 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
19918 %sp not %fp in calculations.
19919 (_JMPBUF_UNWINDS_ADJ): Likewise.
19921 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
19922 (aio_suspend): Call it to force an exception region around the
19923 AIO_MISC_WAIT() invocation.
19925 2011-08-23 Andreas Schwab <schwab@redhat.com>
19927 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
19930 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
19932 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
19934 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
19935 and <dl-machine.h>.
19936 (Elf64_FuncDesc): Remove.
19938 2011-08-22 David S. Miller <davem@davemloft.net>
19940 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
19941 sigaltstack check, add missing cfi directives.
19942 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
19943 missing cfi directives, and sigaltstack handling.
19945 2011-08-16 Andreas Schwab <schwab@redhat.com>
19948 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
19949 object is seen twice.
19950 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19952 * elf/Makefile (distribute): Add tst-initorder2.c.
19953 (tests): Add tst-initorder2.
19954 (modules-names): Add tst-initorder2a tst-initorder2b
19955 tst-initorder2c tst-initorder2d. Add rules to build them.
19956 ($(objpfx)tst-initorder2.out): New rule.
19957 * elf/tst-initorder2.c: New file.
19958 * elf/tst-initorder2.exp: New file.
19960 2011-08-22 Andreas Schwab <schwab@redhat.com>
19962 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
19964 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
19965 dependencies back to end of function.
19967 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
19968 $(elfobjdir)/ld.so.
19970 2011-08-21 Ulrich Drepper <drepper@gmail.com>
19972 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
19973 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
19974 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
19975 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
19976 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
19977 of __vdso_gettimeofday.
19978 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
19979 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
19981 (_libc_vdso_platform_setup): Remove initialization of
19982 __vdso_gettimeofday and __vdso_time.
19984 2011-08-20 Ulrich Drepper <drepper@gmail.com>
19986 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
19987 and fgetc_unlocked.
19988 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
19991 * elf/dl-open.c (add_to_global): Report additions to the global scope
19992 for LD_DEBUG=scopes.
19993 (dl_open_worker): Also print scope of newly loaded dependencies.
19994 (_dl_show_scope): Indicate if there is no scope.
19997 * stdio-common/Makefile (tests): Add bug24.
19998 * stdio-common/bug24.c: New file.
20000 2011-08-19 Andreas Jaeger <aj@suse.de>
20003 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20004 non-existant file when using close-on-exec mode.
20006 2011-08-20 Ulrich Drepper <drepper@gmail.com>
20008 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20009 the very first instruction.
20011 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20012 the CFI state in the end.
20013 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20014 inclusion of dl-trampoline.h.
20015 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20017 2011-08-19 Andreas Schwab <schwab@redhat.com>
20019 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20020 expectations for long double.
20022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20023 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20025 2011-08-14 David S. Miller <davem@davemloft.net>
20027 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20028 artificual limit depends upon the system page size.
20030 2011-08-17 Ulrich Drepper <drepper@gmail.com>
20032 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20033 * resolv/Makefile: Define CFLAGS-libresolv.
20035 2011-08-17 Andreas Schwab <schwab@redhat.com>
20037 * nss/makedb.c (compute_tables): Make variables used in nested
20040 2011-08-17 Ulrich Drepper <drepper@gmail.com>
20042 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20043 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20044 if buffer was too small.
20046 * elf/pldd.c (main): Attach to all threads in the process.
20047 Rewrite /proc handling to use *at functions.
20049 2011-08-16 Ulrich Drepper <drepper@gmail.com>
20051 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20052 specifies first scope to show.
20053 (dl_open_worker): Update callers. Move printing scope of new
20054 object to before the relocation.
20055 * elf/rtld.c (dl_main): Update _dl_show_scope call.
20056 * sysdeps/generic/ldsodefs.h: Update declaration.
20058 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20059 string for the scope number.
20061 2011-08-14 Ulrich Drepper <drepper@gmail.com>
20063 * nscd/servicescache.c (cache_addserv): Make sure written is always
20066 2011-08-14 Roland McGrath <roland@hack.frob.com>
20068 * sysdeps/i386/i486/bits/atomic.h
20069 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20070 statement expression, so as to suppress "set but not used" warning.
20071 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20073 * string/strncat.c (STRNCAT): Use prototype definition.
20075 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20076 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20078 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20079 (localedef-modules): Add localedef.
20080 (locale-modules): Add locale.
20082 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20083 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20084 to avoid a warning.
20086 2011-08-14 David S. Miller <davem@davemloft.net>
20088 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20089 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20091 2011-08-13 Ulrich Drepper <drepper@gmail.com>
20093 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
20094 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20095 * elf/rtld.c (dl_main): Set l_name of vDSO.
20096 Call _dl_show_scope when DL_DEBUG_SCOPES.
20097 (process_dl_debug): Recognize scopes flag and also set it for all.
20098 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20099 Declare _dl_show_scope.
20101 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20102 (do_dlopen): Pass caller_dlopen to dl_open.
20103 (__libc_dlopen_mode): Initialize caller_dlopen.
20105 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20106 of libc. Make tolower call locale-independent. Optimize a bit by
20107 using isdigit instead of isalnum.
20108 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20110 2011-08-12 Ulrich Drepper <drepper@gmail.com>
20112 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20113 was a dependency or dynamically loaded.
20115 2011-08-11 Ulrich Drepper <drepper@gmail.com>
20117 * intl/l10nflist.c: Allow architecture-specific pop function.
20118 * sysdeps/x86_64/l10nflist.c: New file.
20120 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20123 2011-08-10 Andreas Schwab <schwab@redhat.com>
20125 * include/dirent.h: Add libc_hidden_proto for scandirat and
20126 scandirat64. Don't declare __scandirat64.
20127 * dirent/scandirat.c: Add libc_hidden_def.
20128 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20129 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20131 2011-08-10 David S. Miller <davem@davemloft.net>
20133 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20135 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20136 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20137 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20139 2011-08-09 Ulrich Drepper <drepper@gmail.com>
20141 * Versions.def [libc]: Add GLIBC_2.15.
20142 * dirent/Makefile (routines): Add scandirat and scandirat64.
20143 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20145 * dirent/dirent.h: Declare scandirat and scandirat64.
20146 * dirent/scandirat.c: New file.
20147 * dirent/scandirat64.c: New file.
20148 * sysdeps/wordsize-64/scandirat.c: New file.
20149 * sysdeps/wordsize-64/scandirat64.c: New file.
20150 * dirent/opendir.c: Define opendirat.
20151 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20153 * dirent/scandir64.c: Adjust for scandir.c change.
20154 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20155 __scandirat64, and __scandir_cancel_handler.
20156 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20157 additional parameter and use openat instead of open (outside of ld.so).
20158 Add new __opendir as wrapper around __opendirat.
20159 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20160 here without requiring old scandirat implementation.
20162 2011-08-08 Ulrich Drepper <drepper@gmail.com>
20164 * dirent/scandir.c (cancel_handler): Renamed to
20165 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20166 defined. Adjust users.
20167 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20168 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20170 2011-08-04 Ulrich Drepper <drepper@gmail.com>
20172 * string/test-string.h (IMPL): Use __STRING to expand name and then
20175 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20178 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20180 * string/Makefile: Update.
20181 (strop-tests): Append strncat.
20182 * string/test-wcscmp.c: New file.
20183 New comprehensive test for wcscmp.
20184 * string/test-strcmp.c: Update.
20185 (WIDE): New define.
20187 2011-07-22 Andreas Schwab <schwab@redhat.com>
20189 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20192 2011-07-26 Andreas Schwab <schwab@redhat.com>
20194 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20195 encoding to ACE if AI_IDN.
20197 2011-08-01 Jakub Jelinek <jakub@redhat.com>
20199 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20200 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20202 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20204 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20205 Fix overflow bug in strncat.
20206 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20208 * string/test-strncat.c: Update.
20209 Add new tests for checking overflow bugs.
20211 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20214 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20215 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20216 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20217 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20218 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20219 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20220 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20221 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20223 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20224 (USE_AS_STRCAT): Define.
20225 Add strcat and strncat support.
20226 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20228 2011-07-25 Andreas Schwab <schwab@redhat.com>
20230 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20231 __n bigger than INT_MAX+1.
20232 (__strncmp_g): Likewise.
20234 2011-07-23 Ulrich Drepper <drepper@gmail.com>
20236 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20237 * libio/stido.h: Likewise.
20239 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20241 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20244 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20245 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20246 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20247 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20248 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20251 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20254 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20256 (_dl_x86_64_save_sse): Likewise.
20258 2011-07-22 Ulrich Drepper <drepper@gmail.com>
20260 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20262 (_dl_x86_64_save_sse): Likewise.
20264 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20266 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20268 2011-07-21 Andreas Schwab <schwab@redhat.com>
20270 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20272 (_dl_x86_64_save_sse): Use correct AVX check.
20274 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20276 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20277 bug in strncpy/strncat.
20278 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20280 2011-07-21 Ulrich Drepper <drepper@gmail.com>
20282 * string/tester.c (test_strcat): Add tests for different alignments
20283 of source and destination.
20284 (test_strncat): Likewise.
20286 2011-07-20 Ulrich Drepper <drepper@gmail.com>
20289 * posix/glob.c (glob): Check passed in values before using them in
20290 expressions to avoid some overflows.
20291 (glob_in_dir): Likewise.
20294 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20295 check for AVX enablement so that we don't crash with old kernels and
20297 * elf/tst-audit4.c: Add same checks here.
20298 * elf/tst-audit6.c: Likewise.
20300 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
20302 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20304 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20306 2011-07-20 Ulrich Drepper <drepper@gmail.com>
20308 * po/cs.po: Update from translation team.
20309 * po/bg.po: Likewise.
20311 2011-07-12 Marek Polacek <mpolacek@redhat.com>
20313 * misc/sys/cdefs.h: Add support for const attribute.
20314 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20315 to gnu_dev_{major,minor,makedev} functions.
20317 2011-07-20 Marek Polacek <mpolacek@redhat.com>
20319 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20321 2011-07-20 Andreas Schwab <schwab@redhat.com>
20323 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20326 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20328 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20329 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20330 register in order to avoid conflicts with the soft frame pointer
20331 being held in r11 when necessary.
20332 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20333 (INTERNAL_VSYSCALL_NCS): Likewise.
20335 2011-07-14 Marek Polacek <mpolacek@redhat.com>
20337 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20338 * elf/dl-fini.c (_dl_fini): Adjust caller.
20339 * elf/dl-close.c (_dl_close_worker): Likewise.
20340 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20342 2011-07-15 Marek Polacek <mpolacek@redhat.com>
20344 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20345 "aux_cache->nlibs < 0".
20347 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20348 in the reload-count case.
20350 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20352 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20353 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20354 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20355 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20356 * sysdeps/x86_64/multiarch/strcat.S: New file.
20357 * sysdeps/x86_64/multiarch/strncat.S: New file.
20358 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20359 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20360 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20361 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20362 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20363 (USE_AS_STRCAT): Define.
20364 Add strcat and strncat support.
20365 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20366 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20367 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20368 * string/strncat.c: Update.
20369 (USE_AS_STRNCAT): Define.
20370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20371 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20373 * sysdeps/x86_64/multiarch/init-arch.h
20374 (bit_Prefer_PMINUB_for_stringop): New.
20375 (index_Prefer_PMINUB_for_stringop): Likewise.
20376 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20377 bit_Prefer_PMINUB_for_stringop.
20379 2011-07-19 Ulrich Drepper <drepper@gmail.com>
20381 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20383 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20384 of casting of buffer.
20385 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20386 buffer32 and buffer64.
20387 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20388 writes instead of casting of buffer.
20389 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20391 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20394 2011-07-19 Andreas Schwab <schwab@redhat.com>
20396 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20398 2011-07-19 Ulrich Drepper <drepper@gmail.com>
20400 * nscd/nscd.c (termination_handler): Don't do anything for a database
20401 if it has not yet been initialized.
20403 2011-07-18 Ulrich Drepper <drepper@gmail.com>
20405 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20407 2011-07-15 Marek Polacek <mpolacek@redhat.com>
20409 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20411 2011-07-18 Ulrich Drepper <drepper@gmail.com>
20413 * po/nl.po: Update from translation team.
20414 * po/sv.po: Likewise.
20416 2011-07-16 Roland McGrath <roland@hack.frob.com>
20418 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20419 now disallowed by GCC.
20421 * configure.in (use-default-link): Default to yes if a test -shared
20422 link meets our qualifications.
20423 * configure: Regenerated.
20425 * config.make.in (output-format): New variable.
20426 * configure.in: Check for ld --print-output-format support.
20427 * configure: Regenerated.
20428 * Makerules ($(common-objpfx)format.lds)
20429 [$(output-format) != unknown]: Just use $(output-format),
20430 instead of the linker-script munging.
20432 2011-07-14 Roland McGrath <roland@hack.frob.com>
20434 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20435 of $(common-objpfx)shlib.lds.
20436 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20438 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20439 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20441 * configure.in (-z relro check): Adjust test code to add a large
20442 writable data section after it.
20443 * configure: Regenerated.
20445 2011-07-11 Roland McGrath <roland@hack.frob.com>
20447 * configure.in (-z relro check): Fix test code to make the variable
20449 * configure: Regenerated.
20451 2011-07-11 Ulrich Drepper <drepper@gmail.com>
20453 * nscd/nscd.h (struct traced_file): Define.
20454 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20455 elements. Add traced_files.
20456 (inotify_fd): Declare.
20457 (register_traced_file): Declare.
20458 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20459 (inotify_fd): Export.
20460 (resolv_conf_descr): Remove.
20461 (nscd_init): Move inotify descriptor creation to main.
20462 Don't register files for notification here.
20463 (register_traced_file): New function.
20464 (invalidate_cache): Don't use reset_res to determine whether to call
20465 res_init, go through the list of registered files.
20466 (main_loop_poll): The inotify descriptors are now stored in the
20467 structures for the traced files.
20468 (main_loop_epoll): Likewise
20469 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20470 to __nss_disable_nscd.
20471 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20472 for a database anymore. Check the records for all the registered
20474 * nss/Makefile (libnss_files-routines): Add files-init.
20475 (libnss_db-routines): Add db-init.
20476 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20477 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20478 * nss/nss_db/db-init.c: New file.
20479 * nss/nss_files/files-init.c: New file.
20480 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20481 __nss_lookup_function.
20482 (__nss_lookup_function): Call nss_load_library.
20483 (nss_load_all_libraries): New function.
20484 (__nss_disable_nscd): Take parameter with callback function for files
20485 to register. Set is_nscd. Load all the DSOs for the NSS modules
20486 used for the cached services.
20487 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20488 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20489 options for features to all the files in nscd.
20491 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20493 2011-07-10 Roland McGrath <roland@hack.frob.com>
20495 * csu/elf-init.c (__libc_csu_init): Comment typo.
20497 2011-07-09 Ulrich Drepper <drepper@gmail.com>
20499 * po/pl.po: Update from translation team.
20500 * po/ja.po: Likewise.
20501 * po/ru.po: Likewise.
20502 * po/ko.po: Likewise.
20503 * po/fr.po: Likewise.
20505 2011-07-09 Roland McGrath <roland@hack.frob.com>
20507 * configure.in (.ctors/.dtors header and trailer check):
20508 Use an empirical test on a built program.
20509 * configure: Regenerated.
20511 * configure.in (-z relro check): Use an empirical test on a built DSO.
20512 Detect, but do not require, on ia64.
20513 * configure: Regenerated.
20515 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20516 Update tests that use readelf to use $READELF instead.
20517 * configure: Regenerated.
20519 2011-07-08 Ulrich Drepper <drepper@gmail.com>
20521 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20522 if the result is not used.
20524 2011-07-05 Andreas Jaeger <aj@suse.de>
20527 * stdlib/tst-strtod.c: Add testcase.
20529 2011-07-07 Ulrich Drepper <drepper@gmail.com>
20531 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
20532 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
20533 The latter has a higher limit. Take additional parameter to pass to
20535 (__pathconf): Pass file to __statfs_link_max.
20536 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20538 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20542 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20543 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20545 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20546 (__statfs_filesize_max): Likewise.
20547 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20549 2011-07-05 Andreas Jaeger <aj@suse.de>
20551 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20553 2011-07-06 Marek Polacek <mpolacek@redhat.com>
20555 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20557 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20560 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20562 * Makefile (strop-tests): Add strncat.
20563 * string/test-strncat.c: New file.
20565 2011-06-30 Marek Polacek <mpolacek@redhat.com>
20567 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20569 2011-06-21 Andreas Jaeger <aj@suse.de>
20571 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20572 Copy rule from iconvdata/Makefile.
20574 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20577 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20578 but no long options are defined, just return 'W'.
20580 2011-06-22 Marek Polacek <mpolacek@redhat.com>
20583 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20585 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20587 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20589 (innetgr): Likewise.
20591 2011-07-05 Roland McGrath <roland@hack.frob.com>
20593 * config.make.in (install_root): Default to $(DESTDIR).
20595 2011-07-05 Ulrich Drepper <drepper@gmail.com>
20597 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20599 2011-07-02 Roland McGrath <roland@hack.frob.com>
20601 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20603 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20604 containing directory rather than embedding absolute directory names.
20606 * scripts/check-local-headers.sh: Rewritten using awk.
20607 Match by word, not by line. Print error messages for matches.
20608 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20610 * Makerules [shlib-lds-flags empty]:
20611 ($(common-objpfx)libc_pic.opts): New target.
20612 ($(common-objpfx)libc_pic.os.clean): New target.
20613 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20615 * config.make.in (OBJCOPY): New variable.
20616 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20617 * configure: Regenerated.
20619 * config.make.in (use-default-link): New variable.
20620 * configure.in (use_default_link): Grok --with-default-link to set it.
20621 * configure: Regenerated.
20622 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20623 (shlib-lds, shlib-lds-flags): Define to empty.
20625 * Makerules (shlib-lds): New variable.
20626 (shlib-lds-flags): New variable.
20627 (build-shlib, build-moduile, build-module-asneeded): Use it.
20628 ($(common-objpfx)libc.so): Use $(shlib-lds).
20629 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20630 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20632 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20633 DT_FLAGS/DT_FLAGS_1 with zero flags.
20635 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20636 linker script munging.
20638 2011-07-02 Ulrich Drepper <drepper@gmail.com>
20640 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20642 * crypt/sha512.c (sha512_process_block): Perform total addition using
20643 128-bit if possible.
20644 (__sha512_finish_ctx): Likewise.
20645 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20647 * crypt/sha256.c (SWAP64): Define.
20648 (sha256_process_block): Perform total addition using 64-bit if
20650 (__sha256_finish_ctx): Likewise.
20652 2011-07-01 Ulrich Drepper <drepper@gmail.com>
20654 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20655 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20656 * nscd/hstcache.c (cache_addhst): Likewise.
20657 * nscd/grpcache.c (cache_addgr): Likewise.
20658 * nscd/aicache.c (addhstaiX): Likewise
20659 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20661 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
20663 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20664 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20665 * nscd/hstcache.c (cache_addhst): Likewise.
20666 * nscd/grpcache.c (cache_addgr): Likewise.
20667 * nscd/aicache.c (addhstaiX): Likewise
20669 2011-07-01 Andreas Schwab <schwab@redhat.com>
20671 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20672 domain only when needed.
20674 2011-06-30 Andreas Schwab <schwab@redhat.com>
20676 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20677 is always restored.
20679 2011-06-29 Ulrich Drepper <drepper@gmail.com>
20681 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20682 are re-adding the entry.
20683 * nscd/servicescache.c (cache_addserv): Likewise.
20685 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20687 * sysdeps/generic/dl-irel.h: fix protection against multiple
20689 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20691 2011-06-28 Ulrich Drepper <drepper@gmail.com>
20694 * malloc/memusage.sh: Fix quoting in message.
20695 * debug/xtrace.sh: Likewise.
20697 * configure.in: Remove support for --experimental-malloc option, make
20699 * config.make.in: Likewise.
20700 * malloc/Makefile: Likewise.
20702 2011-06-27 Andreas Schwab <schwab@redhat.com>
20704 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20705 two-byte characters.
20707 2011-06-27 Roland McGrath <roland@hack.frob.com>
20709 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20710 AC_CACHE_CHECK invocation.
20711 * configure: Regenerated.
20713 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20715 2011-06-27 Ulrich Drepper <drepper@gmail.com>
20718 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20719 bit from old_res_options.
20721 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20723 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20724 value type for setfct.
20726 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20728 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20729 __gettimeofday instead of gettimeofday.
20731 2011-06-26 Ulrich Drepper <drepper@gmail.com>
20733 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20735 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20737 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20739 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20742 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20744 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20745 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20746 strcpy-sse2-unaligned strncpy-sse2-unaligned
20747 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20748 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20749 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20750 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20751 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20752 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20753 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20754 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20755 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20756 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20757 (STRCPY): Support SSE2 and SSSE3 versions.
20759 2011-06-24 Ulrich Drepper <drepper@gmail.com>
20762 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20763 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20764 kernels which artificially limit size of requests.
20766 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20768 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20769 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20770 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20771 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20772 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20773 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20774 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20775 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20776 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20777 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20778 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20779 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20780 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20781 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20782 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20783 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20784 Enable unaligned load optimization for Intel Core i3, i5 and i7
20786 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20788 (index_Fast_Unaligned_Load): Define.
20789 (HAS_FAST_UNALIGNED_LOAD): Define.
20791 2011-06-23 Marek Polacek <mpolacek@redhat.com>
20793 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20795 2011-06-22 Ulrich Drepper <drepper@gmail.com>
20798 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20799 until it is clear that the information is realy needed.
20800 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20802 2011-06-22 Andreas Schwab <schwab@redhat.com>
20804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20806 2011-06-22 Ulrich Drepper <drepper@gmail.com>
20808 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20809 /sys/devices/system/cpu/online if it is usable.
20811 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20812 reading the information from the /proc filesystem to once a second.
20814 2011-06-21 Andreas Jaeger <aj@suse.de>
20816 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20817 NULL after inclusion of kernel headers.
20819 2011-06-21 Ulrich Drepper <drepper@gmail.com>
20821 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20822 calls to internal_setent.
20825 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20826 addresses using gethostbyname4_r ignore IPv4 addresses.
20828 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20829 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20831 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20833 2011-06-20 David S. Miller <davem@davemloft.net>
20835 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20837 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20839 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20840 (elf_irel): Use it.
20841 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20842 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20843 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20844 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20845 * sysdeps/x86_64/dl-irel.h: Likewise.
20847 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20848 * elf/dl-sym.c: Likewise.
20850 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20852 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20853 need to dereference resplen2.
20855 2011-06-14 Andreas Schwab <schwab@redhat.com>
20857 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20859 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20861 * Makeconfig: Define vardbdir and inst_vardbdir.
20862 * nss/Makefile: Add rules to install db-Makefile.
20864 * nss/nss_db/db-XXX.c: Cleanup.
20866 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20867 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20869 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20870 * nss/makedb.c: Implement -g option to specify that value strings
20871 are generated and should not be added to table iterated over for
20873 * nss/nss_db/db-initgroups.c: New file.
20875 * nss/getent.c: Add support for initgroups lookups through getgrouplist
20878 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
20879 (internal_getgrouplist): Adjust to name change.
20880 Update use_initgroups_entry if this is not the first call.
20881 * nss/databases.def: Add initgroups entry.
20883 * nss/makedb.c (compute_tables): Check result of multiple hash table
20884 sizes to minimize maximum chain length.
20886 2011-06-14 Ulrich Drepper <drepper@gmail.com>
20888 * Versions.def: Add entry for libnss_db.
20889 * shlib-versions: Likewise.
20890 * nss/Makefile: Add rules to build libnss_db.
20891 * nss/Versions: Add libnss_db information. Organize libnss_files
20893 * nss/db-Makefile: Add gshadow support. Change rules for the new
20894 makedb progra. Some minor improvements to generate smaller files.
20895 * nss/nss_db/nss_db.h: Move NSS database header data structures to
20897 * nss/makedb.c: ...here.
20898 Improve database format to be smaller and require less memory at
20900 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
20902 * nss/nss_db/db-netgrp.c: Likewise.
20903 * nss/nss_db/db-open.c: Likewise.
20904 * nss/nss_files/flies-XXX.x: Adjust comments.
20905 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
20906 * nss/nss_files/files-grp.c: Likewise.
20907 * nss/nss_files/files-hosts.c: Likewise.
20908 * nss/nss_files/files-network.c: Likewise.
20909 * nss/nss_files/files-proto.c: Likewise.
20910 * nss/nss_files/files-pwd.c: Likewise.
20911 * nss/nss_files/files-rpc.c: Likewise.
20912 * nss/nss_files/files-service.c: Likewise.
20913 * nss/nss_files/files-sgrp.c: Likewise.
20914 * nss/nss_files/files-spwd.c: Likewise.
20915 * nss/nss_db/db-alias.c: Removed.
20916 * nss/nss_db/dummy-db.h: Removed.
20918 2011-06-02 Ulrich Drepper <drepper@gmail.com>
20920 * nss/makedb.c: Rewritten to not use database library.
20921 * nss/Makefile: Update to build new makedb program.
20923 2011-06-14 Andreas Jaeger <aj@suse.de>
20925 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
20926 memset declaration.
20928 2011-06-10 Andreas Schwab <schwab@redhat.com>
20930 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
20933 2011-06-10 Roland McGrath <roland@hack.frob.com>
20935 * Makerules (shlib.lds): Fail if the linker script comes out empty.
20936 * elf/Makefile ($(objpfx)ld.so): Likewise.
20938 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
20939 Don't list ld.so twice in dependencies.
20941 * posix/bug-regex31.c: Include <stdlib.h>.
20943 * nscd/hstcache.c (cache_addhst): Remove unused variable.
20945 * nis/nss_compat/compat-spwd.c
20946 (getspent_next_nss_netgr): Remove unused variable.
20947 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
20949 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
20950 nonmembers" output to use the right array.
20952 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
20954 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
20956 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
20957 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
20958 * catgets/gencat.c (read_input_file): Likewise.
20959 * locale/programs/locarchive.c (enlarge_archive): Likewise.
20961 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
20962 variable definition inside #if's controlling its use.
20964 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
20966 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
20968 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
20970 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
20973 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
20975 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
20976 * configure: Regenerated.
20978 * Makerules: Revert last change.
20979 * elf/Makefile: Likewise.
20981 2011-06-09 Roland McGrath <roland@hack.frob.com>
20983 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
20984 * elf/Makefile ($(objpfx)librtld.os): Likewise.
20985 (reloc-link): Likewise.
20987 2011-06-09 Ulrich Drepper <drepper@gmail.com>
20989 * elf/Makefile: Add rules to build pldd.
20990 * elf/pldd.c: New file.
20991 * elf/pldd-xx.c: New file.
20993 2011-06-07 Ulrich Drepper <drepper@gmail.com>
20995 * version.h: Update for 2.15 development version.
20997 2011-06-07 David S. Miller <davem@davemloft.net>
20999 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21001 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21002 elf_machine_lazy_rel): Likewise.
21003 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21004 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21005 elf_machine_lazy_rel): Likewise.
21006 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21007 dl_hwcap via passed in argument.
21008 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21011 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21013 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21015 2011-06-06 Roland McGrath <roland@hack.frob.com>
21018 * manual/fdl-1.1.texi: New file, verbatim from:
21019 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21020 * manual/lgpl-2.1.texi: New file, verbatim from:
21021 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21022 * manual/Makefile (licenses): New variable, list those new file names.
21024 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21026 * manual/fdl.texi: File removed.
21027 * manual/lesser.texi: File removed.
21028 * manual/libc.texinfo (Copying, Documentation License):
21029 Use new @include file names, put @appendix directive before @include.
21031 2011-06-04 Jakub Jelinek <jakub@redhat.com>
21034 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21035 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21036 (mq_open): Add __NTH.
21038 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21040 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21041 Assume Intel Core i3/i5/i7 processor if AVX is available.
21043 2011-05-31 Ulrich Drepper <drepper@gmail.com>
21045 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21048 2011-05-31 Andreas Schwab <schwab@redhat.com>
21050 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21051 memory. Use alloca_account. Fix memory leak when retrying.
21053 2011-05-31 Ulrich Drepper <drepper@gmail.com>
21055 * version.h (RELEASE): Bump for 2.14 release.
21056 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21058 * config.make.in (RANLIB): Remove entry.
21060 2011-05-30 Ulrich Drepper <drepper@gmail.com>
21062 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21063 (libc.pot): Work around missing support for .ksh extension in xgettext.
21066 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21067 if both request failed.
21068 (send_dg): In case of server errors clear resplen or *resplen2.
21071 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21072 when there are multiple maps.
21073 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21074 (_dl_fini): Remove test here.
21076 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21078 2011-05-29 Ulrich Drepper <drepper@gmail.com>
21081 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21082 bit from old_res_options.
21083 (gaih_inet): Likewise.
21086 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
21089 * resolv/res_init.c (res_setoptions): Make the code more compact.
21092 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21096 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21098 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21101 * malloc/malloc.h: Declare malloc hook variables as volatile.
21103 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21107 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
21108 raise in the comment.
21109 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21110 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21111 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
21113 2011-05-28 Ulrich Drepper <drepper@gmail.com>
21116 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21117 grow the buffers more if it already has to be sufficient.
21118 (build_wcs_upper_buffer): Likewise.
21119 * posix/regexec.c (check_matching): Likewise.
21120 (clean_state_log_if_needed): Likewise.
21121 (extend_buffers): Don't enlarge buffers beyond size of the input
21123 Patches mostly by Emil Wojak <emil@wojak.eu>.
21124 * posix/bug-regex32.c: New file.
21125 * posix/Makefile (tests): Add bug-regex32.
21127 * locale/findlocale.c (_nl_find_locale): Return right away if
21128 _nl_explode_name failed.
21129 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21131 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21133 * debug/xtrace.sh: Unify messages.
21134 * malloc/memusage.sh: Likewise.
21137 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21138 time symbol from vDSO. Substitute with vsyscall if not available.
21139 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21142 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21143 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21144 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21145 Add sendmmsg and internal_sendmmsg.
21146 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21147 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21148 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21150 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21151 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21152 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21154 2011-05-27 Ulrich Drepper <drepper@gmail.com>
21157 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21158 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21160 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21164 * iconvdata/Makefile (tests): Add bug-iconv9.
21165 * iconvdata/bug-iconv9.c: New file.
21167 2011-05-27 Andreas Schwab <schwab@redhat.com>
21170 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21172 2011-05-25 Jakub Jelinek <jakub@redhat.com>
21174 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21175 (struct user_regs_struct): Change intcs field back to cs.
21177 2011-05-25 Ulrich Drepper <drepper@gmail.com>
21179 * po/ja.po: Update from translation team.
21181 2011-05-23 Ulrich Drepper <drepper@gmail.com>
21184 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21185 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21187 2011-05-20 Andreas Schwab <schwab@redhat.com>
21189 * stdlib/longlong.h: Update from GCC.
21191 2011-05-23 Andreas Schwab <schwab@redhat.com>
21193 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21195 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21196 Add parameter name.
21197 (__sysconf): Pass it down.
21199 2011-05-22 Ulrich Drepper <drepper@gmail.com>
21202 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21204 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21205 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21206 add in in __libc_use_alloca calls. Adjust callers.
21207 (glob): Use malloc in some situations.
21209 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21210 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21213 2011-05-21 Ulrich Drepper <drepper@gmail.com>
21215 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21216 and CLOCK_BOOTTIME_ALARM.
21219 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21222 * string/_strerror.c (__strerror_r): Print negative errors as signed
21226 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21227 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21228 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21230 * configure.in: Fix typo in redirection and correct removal of test
21231 files in two cases.
21234 * locale/setlocale.c (new_composite_name): Fix test to check for
21235 identical name of all categories.
21238 * libio/filedoalloc.c (local_isatty): New function.
21239 (_IO_file_doallocate): Use local_isatty.
21240 * stdio-common/perror.c (perror): In case a new stream is used
21241 forward the stream error.
21242 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21245 2011-05-20 Ulrich Drepper <drepper@gmail.com>
21248 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21250 * include/alloca.h (extend_alloca_account): Define.
21253 * posix/regex.h: Fix comments with documentation of user-accessible
21254 fields after compilation and describe correct free'ing of pattern
21255 after re_compile_pattern.
21256 Patch by Reuben Thomas <rrt@sc3d.org>.
21258 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21260 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21261 and -mno-altivec to prevent the compiler from using Altivec and/or
21262 VSX instructions when the corresponding registers are not available.
21264 2011-05-19 Andreas Schwab <schwab@redhat.com>
21266 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21268 2011-05-19 Ulrich Drepper <drepper@gmail.com>
21270 * libio/freopen.c (freopen): Use __dup2, not dup2.
21271 * libio/freopen64.c (freopen64): Likewise.
21273 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21276 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21277 * math/Makefile (tests): Add test-powl.
21278 (CFLAGS-test-powl.c): Define.
21279 * math/test-powl.c: New file.
21281 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21283 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21285 2011-05-17 Ulrich Drepper <drepper@gmail.com>
21288 * iconvdata/gb18030.c: Update to GB18020-2005.
21290 2011-05-16 Ulrich Drepper <drepper@gmail.com>
21292 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21293 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21294 Patch by Aharon Robbins <arnold@skeeve.com>.
21297 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21301 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21302 through underflows.
21305 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21306 point to strings before performing equality test for error_one_per_line
21310 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21313 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21314 (struct user_fpregs_struct): Avoid __uint*_t types.
21317 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21318 symbol info. Use it instead of calling _dl_addr locally.
21319 (lock_and_info): New function.
21320 (tr_freehook): Call lock_and_info and pass symbol info as additional
21321 parameter to tr_where.
21322 (tr_mallochook): Likewise.
21323 (tr_reallochook): Likewise.
21324 (tr_memalignhook): Likewise.
21326 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21327 used and couldn't be at all thread-safe.
21329 2011-05-15 Ulrich Drepper <drepper@gmail.com>
21331 * libio/freopen.c (freopen): Don't close old file descriptor
21332 before the new one is opened. Instead dup the new file descriptor
21333 to the old one after the new stream is created.
21334 * libio/freopen64.c (freopen64): Likewise.
21335 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21336 * libio/fileops.c (_IO_new_file_close_it): Handle new
21337 _IO_FLAGS2_NOCLOSE flag.
21338 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21339 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21340 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21341 _IO_FLAGS2_NOCLOSE flag.
21342 * include/unistd.h: Add hidden_proto for dup3.
21343 Define __have_dup3.
21344 * io/dup3.c: Define hidden symbol.
21345 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21348 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21349 when an incomplete long option is used.
21350 * posix/tst-getopt_long1.c: New file.
21351 * posix/Makefile (tests): Add tst-getopt_long1.
21354 * scripts/config.guess: Update from autoconf-2.68.
21355 * scripts/config.sub: Likewise.
21358 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21360 (has_cpuclock): ...this. New function.
21361 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21362 macro here based on has_cpuclock code.
21365 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21366 First byte (not low byte) is now always NUL.
21367 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21369 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21370 Use non-cancelable interfaces.
21373 * locale/iso-639.def: Add entry for Sorani.
21376 * include/stdlib.h: Move include protection to the right place.
21377 Define abort_msg_s. Declare __abort_msg with it.
21378 * stdlib/abort.c (__abort_msg): Adjust type.
21379 * assert/assert.c (__assert_fail_base): New function. Majority
21380 of code from __assert_fail. Allocate memory for __abort_msg with
21382 (__assert_fail): Now call __assert_fail_base.
21383 * assert/assert-perr.c: Remove bulk of implementation. Use
21384 __assert_fail_base.
21385 * include/assert.hL Declare __assert_fail_base.
21386 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21388 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21390 2011-05-14 Ulrich Drepper <drepper@gmail.com>
21394 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21395 until all modules are registered in the DTV.
21396 * elf/Makefile: Add rules to build and run tst-tls19.
21397 * elf/tst-tls19.c: New file.
21398 * elf/tst-tls19mod1.c: New file.
21399 * elf/tst-tls19mod2.c: New file.
21400 * elf/tst-tls19mod3.c: New file.
21401 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21404 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21408 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21409 two-byte sequence errors.
21410 * iconvdata/Makefile (tests): Add bug-iconv8.
21411 * iconvdata/bug-iconv8.c: New file.
21414 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21417 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21420 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21421 (dummy_getcfa): New function.
21422 (init): Get _Unwind_GetCFA address, use dummy if not found.
21423 (backtrace_helper): In recursion check, also check whether CFA changes.
21424 (__backtrace): Completely initialize arg.
21426 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
21427 storing incomplete byte sequence in state object. Avoid testing for
21428 guaranteed too small input if we know there is enough data available.
21430 2011-05-11 Andreas Schwab <schwab@redhat.com>
21432 * Makeconfig (+link-pie): Indent.
21433 * Rules (binaries-pie): Define if $(have-fpie) and
21435 (binaries-shared): Also filter out $(binaries-pie).
21436 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21437 * nscd/Makefile (others-pie): Add nscd.
21438 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21439 ($(objpfx)nscd): Remove command override.
21440 * login/Makefile (others-pie): Add pt_chown.
21441 ($(objpfx)pt_chown): Remove command override.
21442 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21443 remove command overrides.
21445 2011-05-13 Ulrich Drepper <drepper@gmail.com>
21447 * libio/tst_putwc.c: Fix error messages.
21450 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21451 currently writing and seek to current position when not.
21452 * libio/Makefile (tests): Add bug-fclose1.
21453 * libio/bug-fclose1.c: New file.
21455 2011-05-12 Ulrich Drepper <drepper@gmail.com>
21458 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21459 don't set DF_1_NODELETE here.
21460 (do_lookup_x): When entering new entry test for copy relocation
21461 and if necessary set DF_1_NODELETE flag.
21462 * elf/tst-unique4.cc: New file.
21463 * elf/tst-unique4.h: New file.
21464 * elf/tst-unique4lib.cc: New file.
21465 * elf/Makefile: Add rules to build and run tst-unique4.
21466 Patch by Piotr Bury <pbury@goahead.com>.
21468 2011-05-11 Ulrich Drepper <drepper@gmail.com>
21471 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21474 * misc/mntent_r.c (addmntent): Flush the stream after the output
21477 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21478 (is_trusted_path_normalize): Skip initial colon. Append slash
21479 to empty buffer. Duplicate is_trusted_path code but allow
21480 constructed patch to be prefix.
21481 (is_dst): Allow $ORIGIN followed by /.
21482 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21483 Correct testing of result of is_trusted_path_normalize
21484 (decompose_rpath): Fix warning.
21486 2011-05-10 Ulrich Drepper <drepper@gmail.com>
21489 * grp/initgroups.c (internal_getgrouplist): When we found the service
21490 list through the initgroups entry in nsswitch.conf do not always
21491 continue on a successful lookup. Don't always use the
21492 __nss_group_database value if it is set.
21493 * nss/nsswitch.conf (initgroups): Change action for successful db
21494 lookup to continue for compatibility.
21496 2011-05-09 Ulrich Drepper <drepper@gmail.com>
21499 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21501 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21503 * iconvdata/tst-tables.sh: Likewise.
21504 * iconvdata/cp770.c: New file.
21505 * iconvdata/cp771.c: New file.
21506 * iconvdata/cp772.c: New file.
21507 * iconvdata/cp773.c: New file.
21508 * iconvdata/cp774.c: New file.
21509 * iconvdata/testdata/CP770: New file.
21510 * iconvdata/testdata/CP770..UTF8: New file.
21511 * iconvdata/testdata/CP771: New file.
21512 * iconvdata/testdata/CP771..UTF8: New file.
21513 * iconvdata/testdata/CP772: New file.
21514 * iconvdata/testdata/CP772..UTF8: New file.
21515 * iconvdata/testdata/CP773: New file.
21516 * iconvdata/testdata/CP773..UTF8: New file.
21517 * iconvdata/testdata/CP774: New file.
21518 * iconvdata/testdata/CP774..UTF8: New file.
21520 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21522 * iconvdata/gen-8bit-gap.sh: Likewise.
21523 * iconvdata/gen-8bit.sh: Likewise.
21525 * locale/iso-639.def: Add ary entry.
21528 * locale/C-translit.h.in: Add U20A1 transliteration.
21531 * locale/iso-639.def: Add wae entry.
21532 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21535 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21539 * locale/C-translit.h.in: Add entry for U20B9.
21540 Patch by pravin.d.s@gmail.com.
21542 2011-05-08 Ulrich Drepper <drepper@gmail.com>
21545 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21546 ENAMETOOLONG use generic getcwd.
21547 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21548 in rtld. Use *stat64.
21549 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
21550 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
21551 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
21552 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21553 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21554 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21555 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21556 __fstatat64 macros.
21557 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21558 * dirent/rewinddir.c: Add libc_hidden_def.
21559 * sysdeps/mach/hurd/rewinddir.c: Likewise.
21560 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
21562 * include/dirent.h (__alloc_dir): Add flags parameter.
21563 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21564 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21566 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21567 from fdopendir if O_CLOEXEC is already set.
21569 2011-03-15 Alan Modra <amodra@gmail.com>
21571 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21572 l_tls_firstbyte_offset non-zero. Save padding offset in
21573 l_tls_firstbyte_offset for later use.
21574 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21575 freeing static tls block.
21577 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21579 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21580 where #ifdef was intended. The intent is to prevent ARG_MAX from
21581 being defined by the kernel headers.
21583 2011-05-07 Ulrich Drepper <drepper@gmail.com>
21586 * resolv/resolv.h: Define RES_NOTLDQUERY.
21587 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21588 no-tld-query and set RES_NOTLDQUERY.
21589 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21590 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21591 modern BIND to search name as TLD unless forbidden.
21593 2011-05-07 Petr Baudis <pasky@suse.cz>
21594 Ulrich Drepper <drepper@gmail.com>
21597 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21598 (is_trusted_path): ...to here.
21599 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21600 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21601 using is_trusted_path_normalize() in setuid scripts.
21603 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21605 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21606 __BEGIN/__END_DECLS.
21608 2011-05-06 Ulrich Drepper <drepper@gmail.com>
21610 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21611 NSS_STATUS_NOTFOUND if no record was found.
21613 2011-05-05 Andreas Schwab <schwab@redhat.com>
21615 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21616 (headers-not-in-tirpc): Remove rpc/netdb.h
21617 * resolv/netdb.h: Revert last change.
21619 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21621 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21622 circular dependency between libgcc.a and libc.a.
21624 2011-05-05 Andreas Schwab <schwab@redhat.com>
21626 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21627 * nis/Makefile: Don't install rpcsvc/*.
21628 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21629 instead of <rpc/types.h>.
21630 (MAXHOSTNAMELEN): Define.
21632 2011-05-03 Andreas Schwab <schwab@redhat.com>
21634 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21636 2011-04-28 Maciej Babinski <mbabinski@google.com>
21639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21640 gethostbyname4_r when IPv6 results are possible.
21642 2011-05-02 Ulrich Drepper <drepper@gmail.com>
21645 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21646 _PC_PIPE_BUF handling.
21648 2011-04-30 Bruno Haible <bruno@clisp.org>
21651 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21652 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21654 * inet/getnameinfo.c (getnameinfo): Likewise.
21656 2011-04-29 Ulrich Drepper <drepper@gmail.com>
21658 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21659 to groups setting in database lookup.
21660 * nss/nsswitch.conf: Add initgroups entry.
21662 2011-04-22 Ulrich Drepper <drepper@gmail.com>
21665 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21667 Patch by Eric Blake <eblake@redhat.com>.
21669 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21671 * sunrpc/Makefile (need-export-routines): Add svc_run.
21672 (routines): Remove svc_run.
21673 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21674 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21675 * sunrpc/svc_run.c (svc_run): Likewise.
21676 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21678 2011-04-21 Ulrich Drepper <drepper@gmail.com>
21680 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21681 problem in reallocation in last patch.
21683 2011-04-20 Ulrich Drepper <drepper@gmail.com>
21685 * sunrpc/Makefile: Move inclusion of Rules.
21687 2011-04-19 Ulrich Drepper <drepper@gmail.com>
21689 * nss/nss_files/files-initgroups.c: New file.
21690 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21691 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21692 _nss_files_initgroups_dyn.
21694 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21696 * elf/elf.h (R_ARM_IRELATIVE): Define.
21698 2011-04-19 Ulrich Drepper <drepper@gmail.com>
21700 * po/ru.po: Update from translation team.
21702 2011-04-17 Ulrich Drepper <drepper@gmail.com>
21704 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21707 2011-02-06 Mike Frysinger <vapier@gentoo.org>
21710 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21711 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21712 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21713 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21714 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21716 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21718 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21720 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21721 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21722 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21724 2011-04-17 Ulrich Drepper <drepper@gmail.com>
21727 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21729 * stdlib/bug-getcontext.c: New file.
21730 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21732 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21734 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21735 instructions into .machine "z9-109".
21736 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21737 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21739 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21741 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21742 between environment variables and auxiliary vector.
21744 2011-04-16 Ulrich Drepper <drepper@gmail.com>
21746 * Makefile: Add rules to build linkobj/libc.so.
21747 * include/libc-symbols.h: Define libc_hidden_nolink.
21748 * include/rpc/auth.h: Mark functions which are to be hidden.
21749 * include/rpc/auth_des.h: Likewise.
21750 * include/rpc/auth_unix.h: Likewise.
21751 * include/rpc/clnt.h: Likewise.
21752 * include/rpc/des_crypt.h: Likewise.
21753 * include/rpc/key_prot.h: Likewise.
21754 * include/rpc/pmap_clnt.h: Likewise.
21755 * include/rpc/pmap_prot.h: Likewise.
21756 * include/rpc/pmap_rmt.h: Likewise.
21757 * include/rpc/rpc_msg.h: Likewise.
21758 * include/rpc/svc.h: Likewise.
21759 * include/rpc/svc_auth.h: Likewise.
21760 * include/rpc/xdr.h: Likewise.
21761 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21762 * nss/Makefile: Likewise.
21763 * sunrpc/Makefile: Don't install headers. Build library with normal
21764 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21765 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21766 for the compat linking library. Remove use of INTDEF/INTUSE.
21767 * sunrpc/auth_none.c: Likewise.
21768 * sunrpc/auth_unix.c: Likewise.
21769 * sunrpc/authdes_prot.c: Likewise.
21770 * sunrpc/authuxprot.c: Likewise.
21771 * sunrpc/clnt_gen.c: Likewise.
21772 * sunrpc/clnt_perr.c: Likewise.
21773 * sunrpc/clnt_raw.c: Likewise.
21774 * sunrpc/clnt_simp.c: Likewise.
21775 * sunrpc/clnt_tcp.c: Likewise.
21776 * sunrpc/clnt_udp.c: Likewise.
21777 * sunrpc/clnt_unix.c: Likewise.
21778 * sunrpc/des_crypt.c: Likewise.
21779 * sunrpc/des_soft.c: Likewise.
21780 * sunrpc/get_myaddr.c: Likewise.
21781 * sunrpc/key_call.c: Likewise.
21782 * sunrpc/key_prot.c: Likewise.
21783 * sunrpc/netname.c: Likewise.
21784 * sunrpc/pm_getmaps.c: Likewise.
21785 * sunrpc/pm_getport.c: Likewise.
21786 * sunrpc/pmap_clnt.c: Likewise.
21787 * sunrpc/pmap_prot.c: Likewise.
21788 * sunrpc/pmap_prot2.c: Likewise.
21789 * sunrpc/pmap_rmt.c: Likewise.
21790 * sunrpc/publickey.c: Likewise.
21791 * sunrpc/rpc_cmsg.c: Likewise.
21792 * sunrpc/rpc_common.c: Likewise.
21793 * sunrpc/rpc_dtable.c: Likewise.
21794 * sunrpc/rpc_prot.c: Likewise.
21795 * sunrpc/rpc_thread.c: Likewise.
21796 * sunrpc/rtime.c: Likewise.
21797 * sunrpc/svc.c: Likewise.
21798 * sunrpc/svc_auth.c: Likewise.
21799 * sunrpc/svc_authux.c: Likewise.
21800 * sunrpc/svc_raw.c: Likewise.
21801 * sunrpc/svc_run.c: Likewise.
21802 * sunrpc/svc_simple.c: Likewise.
21803 * sunrpc/svc_tcp.c: Likewise.
21804 * sunrpc/svc_udp.c: Likewise.
21805 * sunrpc/svc_unix.c: Likewise.
21806 * sunrpc/svcauth_des.c: Likewise.
21807 * sunrpc/xcrypt.c: Likewise.
21808 * sunrpc/xdr.c: Likewise.
21809 * sunrpc/xdr_array.c: Likewise.
21810 * sunrpc/xdr_float.c: Likewise.
21811 * sunrpc/xdr_intXX_t.c: Likewise.
21812 * sunrpc/xdr_mem.c: Likewise.
21813 * sunrpc/xdr_rec.c: Likewise.
21814 * sunrpc/xdr_ref.c: Likewise.
21815 * sunrpc/xdr_sizeof.c: Likewise.
21816 * sunrpc/xdr_stdio.c: Likewise.
21818 2011-04-10 Ulrich Drepper <drepper@gmail.com>
21821 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21822 * sysdeps/ia64/dl-tls.h: Likewise.
21823 * sysdeps/powerpc/dl-tls.h: Likewise.
21824 * sysdeps/s390/dl-tls.h: Likewise.
21825 * sysdeps/sh/dl-tls.h: Likewise.
21826 * sysdeps/sparc/dl-tls.h: Likewise.
21827 * sysdeps/x86_64/dl-tls.h: Likewise.
21828 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21830 2011-03-14 Andreas Schwab <schwab@redhat.com>
21832 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21833 rpath element also skip the following colon.
21834 (expand_dynamic_string_token): Add is_path parameter and pass
21835 down to DL_DST_REQUIRED and _dl_dst_substitute.
21836 (decompose_rpath): Call expand_dynamic_string_token with
21837 non-zero is_path. Ignore empty rpaths.
21838 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21841 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21846 2011-04-09 Ulrich Drepper <drepper@gmail.com>
21849 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21850 Patch by Filipe David Manana <fdmanana@apache.org>.
21852 2011-04-07 Andreas Schwab <schwab@redhat.com>
21854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21855 Maintain aligned stack.
21856 (CHECK_RSP): Remove unused macro.
21858 2011-04-03 Ulrich Drepper <drepper@gmail.com>
21860 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21861 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21863 2011-04-02 Ulrich Drepper <drepper@gmail.com>
21865 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21867 * include/features.h: Mention __USE_XOPEN2K8 in comment.
21869 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21872 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
21873 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
21874 * sysdeps/x86_64/memmove.c: New file.
21875 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
21876 (memcpy): Renamed to ...
21877 (__new_memcpy): This.
21878 (memcpy): Provide GLIBC_2_14 memcpy.
21879 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
21880 (memcpy): Provide GLIBC_2_2_5 memcpy.
21882 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21885 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
21887 2011-03-30 Andreas Schwab <schwab@redhat.com>
21889 * misc/syncfs.c: New file.
21890 * misc/Makefile (routines): Add syncfs.
21891 * posix/unistd.h: Declare syncfs.
21892 * sysdeps/unix/syscalls.list: Add syncfs.
21894 2011-04-01 Andreas Schwab <schwab@redhat.com>
21896 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
21898 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
21899 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21900 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21901 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21902 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21903 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
21904 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21906 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21908 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
21909 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21910 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
21911 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21912 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21913 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21914 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21916 * io/Makefile: Compile fallocate.c, fallocate64.c, and
21917 sync_file_range.c with -fexceptions.
21918 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
21919 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
21920 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21921 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21922 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
21923 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21924 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
21925 sync_file_range as cancellation point
21926 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
21927 now a wrapper around __call_sync_file_range with cancellation handling.
21928 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
21929 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
21930 function name to __call_sync_file_range.
21931 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
21932 Add call_sync_file_range.
21934 2011-04-01 Andreas Schwab <schwab@redhat.com>
21936 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21939 2011-04-01 Ulrich Drepper <drepper@gmail.com>
21941 * iconv/iconv.h: Fix typo in comment.
21942 * io/fcntl.h: Likewise.
21943 * libio/stdio.h: Likewise.
21944 * posix/spawn.h: Likewise.
21945 * posix/unistd.h: Likewise.
21946 * stdlib/stdlib.h: Likewise.
21947 * time/time.h: Likewise.
21948 * wcsmbs/wchar.h: Likewise.
21950 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
21951 open_by_handle): Add.
21952 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
21953 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
21954 Augment a few comments.
21955 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
21956 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21957 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
21958 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21959 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
21960 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
21963 * io/fcntl.h (AT_EMPTY_PATH): Define.
21965 2011-03-30 Ulrich Drepper <drepper@gmail.com>
21967 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
21968 * sysdeps/unix/sysv/linux/bits/time.h: New file.
21969 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
21971 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
21972 * Versions.def: Add GLIBC_2.14.
21973 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
21976 2011-03-22 Ulrich Drepper <drepper@gmail.com>
21978 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
21980 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21982 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
21985 * string/test-strncmp.c (do_page_test): New function.
21986 (check2): Likewise.
21987 (test_main): Call check2.
21988 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
21990 2011-03-20 Ulrich Drepper <drepper@gmail.com>
21993 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
21994 Handle cache information in CPU leaf 4.
21995 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
21997 2011-03-18 Ulrich Drepper <drepper@gmail.com>
22000 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22001 character representation.
22002 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22004 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22006 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22007 END(__isnan) to END(__isnanf) to match function entry point/label
22008 EALIGN(__isnanf,...).
22010 2011-03-10 Jakub Jelinek <jakub@redhat.com>
22012 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22014 2011-03-10 Ulrich Drepper <drepper@gmail.com>
22017 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22018 copy from the symbol referenced in the relocation to initialize the
22020 Patch by Piotr Bury <pbury@goahead.com>.
22021 * elf/Makefile: Add rules to build and tst-unique3.
22022 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22023 * elf/tst-unique3.cc: New file.
22024 * elf/tst-unique3.h: New file.
22025 * elf/tst-unique3lib.cc: New file.
22026 * elf/tst-unique3lib2.cc: New file.
22028 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22030 2011-03-10 Mike Frysinger <vapier@gentoo.org>
22032 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22033 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22036 2011-03-06 Ulrich Drepper <drepper@gmail.com>
22038 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22039 to-be-loaded object along a path to loader is ld.so.
22041 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22042 Ulrich Drepper <drepper@gmail.com>
22044 * sysdeps/x86_64/memset.S: After aligning destination, code
22045 branches to different locations depending on the value of
22046 misalignment, when multiarch is enabled. Fix this.
22048 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22050 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22051 Set _x86_64_preferred_memory_instruction for AMD processsors.
22052 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22053 Set bit_Prefer_SSE_for_memop for AMD processors.
22055 2011-03-04 Ulrich Drepper <drepper@gmail.com>
22057 * libio/fmemopen.c (fmemopen): Optimize a bit.
22059 2011-03-03 Andreas Schwab <schwab@redhat.com>
22061 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22063 2011-03-03 Roland McGrath <roland@redhat.com>
22065 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22067 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22069 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
22070 __bzero_ultra1 instead of __memset_ultra1.
22072 2011-02-23 Andreas Schwab <schwab@redhat.com>
22073 Ulrich Drepper <drepper@gmail.com>
22076 * include/link.h (struct link_map): Add l_orig_initfini.
22077 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22078 returning unsuccessfully.
22079 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22080 close of a file loaded at startup, restore the original l_initfini
22082 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22083 list, store the pointer.
22084 * elf/Makefile ($(objpfx)noload-mem): New rule.
22085 (noload-ENV): Define.
22086 (tests): Add $(objpfx)noload-mem.
22087 * elf/noload.c: Include <memcheck.h>.
22088 (main): Call mtrace. Close all opened handles.
22090 2011-02-17 Andreas Schwab <schwab@redhat.com>
22093 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22094 dependencies are missing.
22096 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22098 Fix __if_freereq crash: Unlike the generic version which uses free,
22100 * sysdeps/mach/hurd/ifreq.h: New file.
22102 2011-01-27 Petr Baudis <pasky@suse.cz>
22103 Ulrich Drepper <drepper@gmail.com>
22106 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22107 to extend_alloca().
22108 * stdio-common/bug23.c: New file.
22109 * stdio-common/Makefile (tests): Add bug23.
22111 2010-09-28 Andreas Schwab <schwab@redhat.com>
22112 Ulrich Drepper <drepper@gmail.com>
22115 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22116 before performing relro protection. At old place add assertion
22117 to make sure nothing changed.
22119 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22120 Glauber de Oliveira Costa <glommer@gmail.com>
22122 * elf/elf.h: Add new ARM TLS relocs.
22124 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22127 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22129 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22131 * sysdeps/wordsize-64/tst-writev.c: New file.
22133 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22135 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22136 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22137 insns in _dl_start to prevent a TOC reference before relocs are
22140 2011-02-15 Ulrich Drepper <drepper@gmail.com>
22143 * Makeconfig: Remove RANLIB definition.
22144 * Makerules: Don't use RANLIB.
22145 * aclocal.m4: Remove ranlib test.
22146 * configure.in: No need to check for ranlib.
22147 * elf/rtld-Rules: Don't use RANLIB.
22149 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22151 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22153 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22154 inclusion protection macro.
22156 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22157 SIGRTMIN and SIGRTMAX and print information in that case only when
22158 SIGRTMIN is defined.
22160 2011-02-11 Jakub Jelinek <jakub@redhat.com>
22162 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22163 arginfo fn returning -1.
22165 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22166 and thousands string is zero terminated.
22168 2011-02-03 Andreas Schwab <schwab@redhat.com>
22170 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22171 sysdeps/unix/sysv/linux/bits/socket.h.
22173 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22175 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22176 (__CPU_COUNT): Remove old macros.
22177 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22178 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22179 (__CPU_ALLOC, __CPU_FREE): Add macros.
22180 (__sched_cpualloc, __sched_cpufree): Add declarations.
22182 2011-02-05 Ulrich Drepper <drepper@gmail.com>
22184 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22185 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22186 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22187 (readdhstai): Return value of addhstaiX call.
22188 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22189 (addgrbyX): Return value returned by cache_addgr.
22190 (readdgrbyname): Return value returned by addgrbyX.
22191 (readdgrbygid): Likewise.
22192 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22193 (addpwbyX): Return value returned by cache_addpw.
22194 (readdpwbyname): Return value returned by addhstbyX.
22195 (readdpwbyuid): Likewise.
22196 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22197 (addservbyX): Return value returned by cache_addserv.
22198 (readdservbyname): Return value returned by addservbyX:
22199 (readdservbyport): Likewise.
22200 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22201 (addhstbyX): Return value returned by cache_addhst.
22202 (readdhstbyname): Return value returned by addhstbyX.
22203 (readdhstbyaddr): Likewise.
22204 (readdhstbynamev6): Likewise.
22205 (readdhstbyaddrv6): Likewise.
22206 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22207 (readdinitgroups): Return value returned by addinitgroupsX.
22208 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22209 (prune_cache): Keep track of timeout value of re-added entries.
22210 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22211 * nscd/nscd.h: Adjust prototypes of readd* functions.
22213 2011-02-04 Roland McGrath <roland@redhat.com>
22215 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22216 (nis_stats): Likewise.
22217 * nis/nis_modify.c (nis_modify): Likewise.
22218 * nis/nis_remove.c (nis_remove): Likewise.
22219 * nis/nis_add.c (nis_add): Likewise.
22221 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22223 * posix/fnmatch_loop.c: Add some consts.
22225 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22227 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22230 * config.make.in (config-cflags-novzeroupper): Define.
22231 * configure.in: Substitute libc_cv_cc_novzeroupper.
22232 * elf/Makefile (AVX-CFLAGS): Define.
22233 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22234 (CFLAGS-tst-auditmod4a.c): Likewise.
22235 (CFLAGS-tst-auditmod4b.c): Likewise.
22236 (CFLAGS-tst-auditmod6b.c): Likewise.
22237 (CFLAGS-tst-auditmod6c.c): Likewise.
22238 (CFLAGS-tst-auditmod7b.c): Likewise.
22239 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22241 2011-02-02 Ulrich Drepper <drepper@gmail.com>
22243 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22244 function to the callback.
22245 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22247 2011-02-02 Andreas Schwab <schwab@redhat.com>
22249 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22252 2011-01-19 Ulrich Drepper <drepper@gmail.com>
22255 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22257 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22259 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22262 * elf/Makefile: Add rules to build and run new test.
22263 * elf/tst-initorder.c: New file.
22264 * elf/tst-initorder.exp: New file.
22265 * elf/tst-initordera1.c: New file.
22266 * elf/tst-initordera2.c: New file.
22267 * elf/tst-initordera3.c: New file.
22268 * elf/tst-initordera4.c: New file.
22269 * elf/tst-initorderb1.c: New file.
22270 * elf/tst-initorderb2.c: New file.
22271 * elf/tst-order-a1.c: New file.
22272 * elf/tst-order-a2.c: New file.
22273 * elf/tst-order-a3.c: New file.
22274 * elf/tst-order-a4.c: New file.
22275 * elf/tst-order-b1.c: New file.
22276 * elf/tst-order-b2.c: New file.
22277 * elf/tst-order-main.c: New file.
22278 New test case by George Gensure <werkt0@gmail.com>.
22280 2010-10-01 Andreas Schwab <schwab@redhat.com>
22282 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22283 decoding ACE if AI_CANONIDN.
22285 2011-01-18 Ulrich Drepper <drepper@gmail.com>
22287 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22289 2011-01-17 Ulrich Drepper <drepper@gmail.com>
22291 * version.h (RELEASE): Bump for 2.13 release.
22292 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22294 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22296 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22298 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22299 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22300 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22301 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22302 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22303 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22305 * posix/getconf.c: Update copyright year.
22306 * catgets/gencat.c: Likewise.
22307 * csu/version.c: Likewise.
22308 * debug/catchsegv.sh: Likewise.
22309 * debug/xtrace.sh: Likewise.
22310 * elf/ldconfig.c: Likewise.
22311 * elf/ldd.bash.in: Likewise.
22312 * elf/sprof.c (print_version): Likewise.
22313 * iconv/iconv_prog.c: Likewise.
22314 * iconv/iconvconfig.c: Likewise.
22315 * locale/programs/locale.c: Likewise.
22316 * locale/programs/localedef.c: Likewise.
22317 * malloc/memusage.sh: Likewise.
22318 * malloc/mtrace.pl: Likewise.
22319 * nscd/nscd.c (print_version): Likewise.
22320 * nss/getent.c: Likewise.
22322 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22323 PF_CAIF, and PF_ALG.
22324 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22326 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22328 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22329 (modules-names): Use them.
22330 (ifunc-test-modules, ifunc-pie-tests): Define.
22331 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22332 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22333 (test-extras): Likewise.
22334 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22335 $(compile-command.c).
22336 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22337 (all-built-dso): Define.
22338 (check-textrel.out, check-execstack.out): Depend on it.
22340 * configure.in: Don't override --enable-multi-arch.
22342 2011-01-15 Ulrich Drepper <drepper@gmail.com>
22345 * nscd/hstcache.c (tryagain): Define.
22346 (cache_addhst): Return tryagain not notfound for temporary errors.
22347 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22350 2011-01-14 Ulrich Drepper <drepper@gmail.com>
22353 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22354 to make the syscall.
22355 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22358 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22359 and fall back to matching as normal character if the string ends before
22360 the matching ']' is found. This is what POSIX requires.
22361 * posix/testfnm.c: Adjust test result.
22362 * posix/globtest.sh: Adjust test result. Add new test.
22363 * posix/tst-fnmatch.input: Likewise.
22364 * posix/tst-fnmatch2.c: Add new test.
22366 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22368 * elf/Makefile (check-execstack): Revert last change. Depend on
22370 (check-execstack.h): New target.
22371 (generated): Add check-execstack.h.
22372 * elf/check-execstack.c: Include "check-execstack.h".
22373 (main): Revert last change.
22374 (handle_file): Return zero if GNU_STACK is absent and
22375 DEFAULT_STACK_PERMS doesn't include PF_X.
22377 2011-01-13 Ulrich Drepper <drepper@gmail.com>
22379 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22380 in child fails because the descriptor is already closed.
22381 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22382 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22383 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
22386 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22390 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22391 temporary buffer used to handle multi lookups locally.
22392 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
22394 2011-01-12 Ulrich Drepper <drepper@gmail.com>
22396 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22399 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22401 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22402 alignment for SSE2.
22404 2011-01-12 Ulrich Drepper <drepper@gmail.com>
22407 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22408 characters. When rounding increased number of integer digits recompute
22410 * stdio-common/tst-grouping.c: New file.
22411 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22413 2011-01-09 Ulrich Drepper <drepper@gmail.com>
22415 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22416 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22418 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22420 * bits/select.h: Likewise.
22422 2011-01-08 Ulrich Drepper <drepper@gmail.com>
22424 * po/ja.po: Update from translation team.
22426 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
22429 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22430 implementation just like for lxstat, fxstatat, et al.
22432 2010-12-27 Jim Meyering <meyering@redhat.com>
22435 * posix/regexec.c (build_trtable): Return failure indication upon
22436 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22438 2010-12-25 Ulrich Drepper <drepper@gmail.com>
22441 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22442 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22443 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22444 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22447 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22450 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22451 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22453 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22455 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22456 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22457 script has SORT_BY_INIT_PRIORITY.
22458 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22459 NO_CTORS_DTORS_SECTIONS is defined.
22460 * elf/soinit.c: Likewise.
22461 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22462 NO_CTORS_DTORS_SECTIONS is defined.
22463 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22464 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22465 * sysdeps/sh/init-first.c: Likewise.
22466 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22468 2010-12-24 Ulrich Drepper <drepper@gmail.com>
22470 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22471 always use the slow path.
22473 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22475 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22476 similar rule which adds the sysdep directories to the header search in
22477 order to pick up the correct platform stackinfo.h.
22478 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22479 perform test if it is, otherwise return successfully without testing.
22480 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22481 DEFAULT_STACK_PERMS define in stackinfo.h.
22482 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22483 defined in stackinfo.h.
22484 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22485 DEFAULT_STACK_PERMS defined in stackinfo.h.
22486 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22487 * sysdeps/ia64/stackinfo.h: Likewise.
22488 * sysdeps/s390/stackinfo.h: Likewise.
22489 * sysdeps/sh/stackinfo.h: Likewise.
22490 * sysdeps/sparc/stackinfo.h: Likewise.
22491 * sysdeps/x86_64/stackinfo.h: Likewise.
22492 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22493 PF_X for powerpc64. Retain PF_X for powerpc32.
22495 2010-12-19 Ulrich Drepper <drepper@gmail.com>
22497 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22499 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22500 GETDENTS_64BIT_ALIGNED.
22502 2010-12-14 Ulrich Drepper <dreper@gmail.com>
22504 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
22506 2010-12-10 Andreas Schwab <schwab@redhat.com>
22508 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22511 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22512 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22514 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22515 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22517 2010-12-09 Ulrich Drepper <drepper@gmail.com>
22520 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22523 2010-12-09 Jakub Jelinek <jakub@redhat.com>
22525 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22527 2010-12-03 Ulrich Drepper <drepper@gmail.com>
22529 * po/it.po: Update from translation team.
22531 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22533 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22536 2010-11-30 Ulrich Drepper <drepper@gmail.com>
22538 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22540 2010-11-24 Andreas Schwab <schwab@redhat.com>
22542 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22544 (gaih_getanswer_slice): Likewise.
22546 2010-10-20 Jakub Jelinek <jakub@redhat.com>
22548 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22550 2010-05-31 Petr Baudis <pasky@suse.cz>
22553 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22554 silently even in the chroot mode.
22556 2010-11-22 Ulrich Drepper <drepper@gmail.com>
22558 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22559 last patch a bit. Pretty printing
22561 2010-05-31 Petr Baudis <pasky@suse.cz>
22564 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22565 initialization of skip_initgroups_dyn.
22567 2010-11-19 Ulrich Drepper <drepper@gmail.com>
22569 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22570 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22572 2010-11-16 Ulrich Drepper <drepper@gmail.com>
22574 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22576 2010-11-11 Andreas Schwab <schwab@redhat.com>
22578 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22579 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22580 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22581 ($(objpfx)tst-fnmatch-mem): New rule.
22582 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22583 * posix/tst-fnmatch.c (main): Call mtrace.
22585 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22587 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22588 Support Intel processor model 6 and model 0x2c.
22590 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
22592 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22595 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22598 * string/test-strncasecmp.c (check_result): New function.
22599 (do_one_test): Use it.
22600 (check1): New function.
22601 (test_main): Use it.
22602 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22603 Support strcasecmp and strncasecmp.
22605 2010-11-08 Ulrich Drepper <drepper@gmail.com>
22608 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22609 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22611 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22613 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22615 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22617 * sysdeps/x86_64/multiarch/bzero.S: New file.
22618 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22619 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22620 * sysdeps/x86_64/multiarch/memset.S: New file.
22621 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22622 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22623 Set bit_Prefer_SSE_for_memop for Intel processors.
22624 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22626 (index_Prefer_SSE_for_memop): Define.
22627 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22629 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
22631 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22632 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22634 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22637 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22638 (__x86_64_raw_data_cache_size_half): Likewise.
22639 (__x86_64_raw_shared_cache_size): Likewise.
22640 (__x86_64_raw_shared_cache_size_half): Likewise.
22642 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22643 (__x86_64_raw_data_cache_size_half): Likewise.
22644 (__x86_64_raw_shared_cache_size): Likewise.
22645 (__x86_64_raw_shared_cache_size_half): Likewise.
22646 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22647 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22648 and __x86_64_raw_shared_cache_size_half. Round
22649 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22650 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22651 to multiple of 256 bytes.
22653 2010-11-03 Ulrich Drepper <drepper@gmail.com>
22656 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22657 of inacessible symlinks. Verify result of symlink before returning it.
22658 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22659 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22661 2010-10-28 Erich Ritz <erichritz@gmail.com>
22663 * math/math.h (isinf): Fix typo in comment.
22665 2010-11-01 Ulrich Drepper <drepper@gmail.com>
22667 * po/da.po: Update from translation team.
22669 2010-10-26 Ulrich Drepper <drepper@gmail.com>
22671 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22672 is added to the list.
22674 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22675 Ulrich Drepper <drepper@gmail.com>
22677 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22678 the global list here. Move code to...
22679 (_dl_add_to_namespace_list): ...here. New function.
22680 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22681 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22682 * elf/dl-load.c (lose): Don't remove the element from the list.
22683 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22684 (_dl_map_object): Likewise.
22686 2010-10-25 Ulrich Drepper <drepper@gmail.com>
22689 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22690 into all bytes of SSE register.
22691 Patch by Richard Li <richardpku@gmail.com>.
22693 2010-10-24 Ulrich Drepper <drepper@gmail.com>
22696 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22699 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22701 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22702 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22703 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22704 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22709 2010-10-22 Andreas Schwab <schwab@redhat.com>
22711 * include/dlfcn.h (__RTLD_SECURE): Define.
22712 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22713 mode & __RTLD_SECURE instead.
22714 (open_path): Rename preloaded parameter to secure.
22715 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22716 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22717 * elf/dl-deps.c (openaux): Likewise.
22718 * elf/rtld.c (struct map_args): Remove is_preloaded.
22719 (map_doit): Don't use it.
22720 (dl_main): Likewise.
22721 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22722 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22724 2010-09-09 Andreas Schwab <schwab@redhat.com>
22726 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22727 (sysd-rules-targets): Remove duplicates.
22728 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22729 rtld-%.$o dependency.
22731 2010-10-18 Andreas Schwab <schwab@redhat.com>
22733 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22734 _dl_map_object do it.
22736 2010-10-19 Ulrich Drepper <drepper@gmail.com>
22738 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22739 fast fma builtins, define the macros in the C99 standard.
22740 (FP_FAST_FMAF): Likewise.
22741 (FP_FAST_FMAL): Likewise.
22742 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22744 * bits/mathdef.h: Update copyright year.
22745 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22747 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22749 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22750 builtins, define the macros in the C99 standard.
22751 (FP_FAST_FMAF): Likewise.
22752 (FP_FAST_FMAL): Likewise.
22753 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22755 (FP_FAST_FMAF): Likewise.
22757 2010-10-15 Jakub Jelinek <jakub@redhat.com>
22760 * math/libm-test.inc (fma_test): Some new testcases.
22761 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22762 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22763 y and infinite z. Do multiplication by C already in long double.
22764 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22765 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22766 y and infinite z. Do bitwise or of inexact bit into u.d.
22767 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22768 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22769 * sysdeps/i386/fpu/s_fma.S: Removed.
22770 * sysdeps/i386/fpu/s_fmal.S: Removed.
22772 2010-10-16 Jakub Jelinek <jakub@redhat.com>
22775 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22776 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22777 computation is not scheduled after fetestexcept. Fix value
22778 of minimum denormal long double.
22780 2010-10-14 Jakub Jelinek <jakub@redhat.com>
22783 * math/libm-test.inc (fma_test): Add some more tests.
22784 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22787 2010-10-15 Andreas Schwab <schwab@redhat.com>
22789 * scripts/data/localplt-s390-linux-gnu.data: New file.
22790 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22792 2010-10-13 Jakub Jelinek <jakub@redhat.com>
22795 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22796 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22798 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22800 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22801 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22802 if one of x and y is very large and the other is subnormal.
22803 * sysdeps/s390/fpu/s_fmaf.c: New file.
22804 * sysdeps/s390/fpu/s_fma.c: New file.
22805 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22806 * sysdeps/powerpc/fpu/s_fma.S: New file.
22807 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22808 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22809 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22811 2010-10-12 Jakub Jelinek <jakub@redhat.com>
22814 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22816 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22817 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22818 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22819 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22820 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22821 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22822 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22824 2010-10-12 Ulrich Drepper <drepper@redhat.com>
22827 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22828 * posix/bug-regex31.input: Add test case.
22830 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22832 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22833 * posix/bug-regex31.input: New file.
22836 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22837 (parse_sub_exp): Fix last change, use postorder.
22839 * posix/bug-regex31.c: New file.
22840 * posix/Makefile: Add rules to build and run bug-regex31.
22842 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22845 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22848 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22849 to have entries in sys_siglist.
22852 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22855 2010-10-07 Jakub Jelinek <jakub@redhat.com>
22858 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22859 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22860 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22861 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22862 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22863 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22864 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22865 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22866 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22867 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22868 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22869 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22870 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22871 * math/ftestexcept.c (fetestexcept): Likewise.
22872 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
22873 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
22874 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22875 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
22876 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
22877 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
22878 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
22880 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22883 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
22886 2010-10-06 Ulrich Drepper <drepper@gmail.com>
22888 * string/bug-strstr1.c: New file.
22889 * string/Makefile: Add rules to build and run bug-strstr1.
22891 2010-10-05 Eric Blake <eblake@redhat.com>
22894 * string/str-two-way.h (two_way_long_needle): Always clear memory
22895 when skipping input due to the shift table.
22897 2010-10-03 Ulrich Drepper <drepper@gmail.com>
22900 * malloc/mcheck.c: Handle large requests.
22903 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
22904 for strncmp and strncasecmp.
22905 * string/stratcliff.c: Add tests for strcmp and strncmp.
22906 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
22908 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
22910 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
22913 2010-09-30 Andreas Jaeger <aj@suse.de>
22915 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
22916 (CGROUP_SUPER_MAGIC): Define.
22917 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
22918 Handle btrfs and cgroup file systems.
22919 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
22922 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
22924 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
22925 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
22927 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22930 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
22931 trying to locate the ELF header.
22933 2010-09-27 Andreas Schwab <schwab@redhat.com>
22936 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
22937 Mask out sign-bit copies when constructing f_fsid.
22939 2010-09-24 Petr Baudis <pasky@suse.cz>
22941 * debug/stack_chk_fail_local.c: Add missing licence exception.
22942 * debug/warning-nop.c: Likewise.
22944 2010-09-15 Joseph Myers <joseph@codesourcery.com>
22946 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
22947 implementing getdents64 using getdents syscall, set d_type if
22948 __ASSUME_GETDENTS32_D_TYPE.
22950 2010-09-16 Andreas Schwab <schwab@redhat.com>
22952 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
22953 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
22955 2010-09-21 Ulrich Drepper <drepper@redhat.com>
22958 * posix/unistd.h: Undo change of feature selection for ftruncate from
22961 2010-09-20 Ulrich Drepper <drepper@redhat.com>
22963 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
22966 2010-09-20 Andreas Schwab <schwab@redhat.com>
22968 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
22970 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
22972 2010-09-14 Andreas Schwab <schwab@redhat.com>
22974 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
22975 variables after CHECK_SP call.
22976 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
22978 2010-09-13 Andreas Schwab <schwab@redhat.com>
22979 Ulrich Drepper <drepper@redhat.com>
22981 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
22982 re-relocationg ld.so.
22983 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
22984 _dl_init_paths call.
22985 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
22988 2010-09-14 Ulrich Drepper <drepper@redhat.com>
22990 * resolv/res_init.c (__res_vinit): Count the default server we added.
22992 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
22993 Ulrich Drepper <drepper@redhat.com>
22996 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22997 (____longjmp_chk): Use %ebx for saving value across system call.
23000 2010-09-06 Andreas Schwab <schwab@redhat.com>
23002 * manual/Makefile: Don't mix pattern rules with normal rules.
23004 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23006 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23008 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23009 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23010 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23011 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23012 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23015 2010-09-04 Ulrich Drepper <drepper@redhat.com>
23018 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23019 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23021 2010-09-02 Ulrich Drepper <drepper@redhat.com>
23023 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23024 * sysdeps/x86_64/addmul_1.S: Likewise.
23025 * sysdeps/x86_64/lshift.S: Likewise.
23026 * sysdeps/x86_64/mul_1.S: Likewise.
23027 * sysdeps/x86_64/rshift.S: Likewise.
23028 * sysdeps/x86_64/sub_n.S: Likewise.
23029 * sysdeps/x86_64/submul_1.S: Likewise.
23031 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23033 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23034 Define __sched_param instead of SCHED_* and sched_param when
23035 <bits/sched.h> is included with __need_schedparam defined.
23036 * bits/sched.h [__need_schedparam]
23037 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
23038 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23039 (__defined_schedparam): Define to 1.
23040 (__sched_param): New structure, identical to sched_param.
23041 (__need_schedparam): Undefine.
23043 2010-08-31 Mike Frysinger <vapier@gentoo.org>
23045 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23046 (epoll_create1): Declare.
23048 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23050 2010-08-31 Andreas Schwab <schwab@redhat.com>
23053 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23054 shifting retval into place.
23056 2010-09-01 Ulrich Drepper <drepper@redhat.com>
23058 * nis/rpcsvc/nis.h: Update copyright notice.
23059 * nis/rpcsvc/nis.x: Likewise.
23060 * nis/rpcsvc/nis_callback.h: Likewise.
23061 * nis/rpcsvc/nis_callback.x: Likewise.
23062 * nis/rpcsvc/nis_object.x: Likewise.
23063 * nis/rpcsvc/nis_tags.h: Likewise.
23064 * nis/rpcsvc/yp.h: Likewise.
23065 * nis/rpcsvc/yp.x: Likewise.
23066 * nis/rpcsvc/ypupd.h: Likewise.
23067 * nis/yp_xdr.c: Likewise.
23068 * nis/ypupdate_xdr.c: Likewise.
23070 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23071 mainly the body of pmap_getport. Add parameters to specify timeouts.
23072 (pmap_getport): Use __libc_rpc_getport.
23073 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23074 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23075 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23077 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23082 2010-08-27 Roland McGrath <roland@redhat.com>
23084 * sysdeps/i386/i686/multiarch/Makefile
23085 (CFLAGS-varshift.c): New variable.
23087 2010-08-27 Ulrich Drepper <drepper@redhat.com>
23089 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23090 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23092 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23094 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23096 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23098 * sysdeps/x86_64/strlen.S: Unroll the loop.
23099 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23100 strlen-sse2 strlen-sse2-bsf.
23101 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23102 __strlen_no_bsf if bit_Slow_BSF is set.
23103 (__strlen_sse42): Removed.
23104 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23105 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23107 2010-08-25 Roland McGrath <roland@redhat.com>
23109 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23110 * sysdeps/x86_64/multiarch/varshift.c: New file.
23111 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23112 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23113 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23114 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23116 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23118 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23119 strlen-sse2 strlen-sse2-bsf.
23120 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23121 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23122 (__strlen_sse2): Removed.
23123 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23124 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23126 bit_Slow_BSF for Atom.
23127 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23128 (index_Slow_BSF): Define.
23129 (HAS_SLOW_BSF): Define.
23131 2010-08-25 Ulrich Drepper <drepper@redhat.com>
23134 * resolv/res_init.c (__res_vinit): When no server address at all
23135 is given default to loopback.
23137 2010-08-24 Roland McGrath <roland@redhat.com>
23139 * configure.in: Remove config-name.h generation.
23140 * configure: Regenerated.
23141 * config-name.in: File removed.
23142 * scripts/config-uname.sh: New file.
23143 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23144 ($(objdir)config-name.h): New target.
23146 * sunrpc/rpc_parse.h: Avoid nested comment.
23148 2010-08-24 Richard Henderson <rth@redhat.com>
23149 Ulrich Drepper <drepper@redhat.com>
23150 H.J. Lu <hongjiu.lu@intel.com>
23152 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23154 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23155 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23156 _mm_alignr_epi8 with _mm_loadu_si128.
23157 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23158 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23159 (__m128i_shift_right): Removed.
23160 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23161 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23162 * sysdeps/x86_64/multiarch/varshift.h: New file.
23163 * sysdeps/x86_64/multiarch/varshift.S: New file.
23165 2010-08-21 Mike Frysinger <vapier@gentoo.org>
23167 * configure.in: Move assembler checks to before sysdep dir checking.
23169 2010-08-20 Petr Baudis <pasky@suse.cz>
23171 * LICENSES: Sync the sunrpc license.
23173 2010-08-19 Ulrich Drepper <drepper@redhat.com>
23175 * sunrpc/auth_des.c: Update copyright notice once again.
23176 * sunrpc/auth_none.c: Likewise.
23177 * sunrpc/auth_unix.c: Likewise.
23178 * sunrpc/authdes_prot.c: Likewise.
23179 * sunrpc/authuxprot.c: Likewise.
23180 * sunrpc/bindrsvprt.c: Likewise.
23181 * sunrpc/clnt_gen.c: Likewise.
23182 * sunrpc/clnt_perr.c: Likewise.
23183 * sunrpc/clnt_raw.c: Likewise.
23184 * sunrpc/clnt_simp.c: Likewise.
23185 * sunrpc/clnt_tcp.c: Likewise.
23186 * sunrpc/clnt_udp.c: Likewise.
23187 * sunrpc/clnt_unix.c: Likewise.
23188 * sunrpc/des_crypt.c: Likewise.
23189 * sunrpc/des_soft.c: Likewise.
23190 * sunrpc/get_myaddr.c: Likewise.
23191 * sunrpc/getrpcport.c: Likewise.
23192 * sunrpc/key_call.c: Likewise.
23193 * sunrpc/key_prot.c: Likewise.
23194 * sunrpc/openchild.c: Likewise.
23195 * sunrpc/pm_getmaps.c: Likewise.
23196 * sunrpc/pm_getport.c: Likewise.
23197 * sunrpc/pmap_clnt.c: Likewise.
23198 * sunrpc/pmap_prot.c: Likewise.
23199 * sunrpc/pmap_prot2.c: Likewise.
23200 * sunrpc/pmap_rmt.c: Likewise.
23201 * sunrpc/rpc/auth.h: Likewise.
23202 * sunrpc/rpc/auth_unix.h: Likewise.
23203 * sunrpc/rpc/clnt.h: Likewise.
23204 * sunrpc/rpc/des_crypt.h: Likewise.
23205 * sunrpc/rpc/key_prot.h: Likewise.
23206 * sunrpc/rpc/netdb.h: Likewise.
23207 * sunrpc/rpc/pmap_clnt.h: Likewise.
23208 * sunrpc/rpc/pmap_prot.h: Likewise.
23209 * sunrpc/rpc/pmap_rmt.h: Likewise.
23210 * sunrpc/rpc/rpc.h: Likewise.
23211 * sunrpc/rpc/rpc_des.h: Likewise.
23212 * sunrpc/rpc/rpc_msg.h: Likewise.
23213 * sunrpc/rpc/svc.h: Likewise.
23214 * sunrpc/rpc/svc_auth.h: Likewise.
23215 * sunrpc/rpc/types.h: Likewise.
23216 * sunrpc/rpc/xdr.h: Likewise.
23217 * sunrpc/rpc_clntout.c: Likewise.
23218 * sunrpc/rpc_cmsg.c: Likewise.
23219 * sunrpc/rpc_common.c: Likewise.
23220 * sunrpc/rpc_cout.c: Likewise.
23221 * sunrpc/rpc_dtable.c: Likewise.
23222 * sunrpc/rpc_hout.c: Likewise.
23223 * sunrpc/rpc_main.c: Likewise.
23224 * sunrpc/rpc_parse.c: Likewise.
23225 * sunrpc/rpc_parse.h: Likewise.
23226 * sunrpc/rpc_prot.c: Likewise.
23227 * sunrpc/rpc_sample.c: Likewise.
23228 * sunrpc/rpc_scan.c: Likewise.
23229 * sunrpc/rpc_scan.h: Likewise.
23230 * sunrpc/rpc_svcout.c: Likewise.
23231 * sunrpc/rpc_tblout.c: Likewise.
23232 * sunrpc/rpc_util.c: Likewise.
23233 * sunrpc/rpc_util.h: Likewise.
23234 * sunrpc/rpcinfo.c: Likewise.
23235 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23236 * sunrpc/rpcsvc/key_prot.x: Likewise.
23237 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23238 * sunrpc/rpcsvc/mount.x: Likewise.
23239 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23240 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23241 * sunrpc/rpcsvc/rex.x: Likewise.
23242 * sunrpc/rpcsvc/rstat.x: Likewise.
23243 * sunrpc/rpcsvc/rusers.x: Likewise.
23244 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23245 * sunrpc/rpcsvc/spray.x: Likewise.
23246 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23247 * sunrpc/rtime.c: Likewise.
23248 * sunrpc/svc.c: Likewise.
23249 * sunrpc/svc_auth.c: Likewise.
23250 * sunrpc/svc_authux.c: Likewise.
23251 * sunrpc/svc_raw.c: Likewise.
23252 * sunrpc/svc_run.c: Likewise.
23253 * sunrpc/svc_simple.c: Likewise.
23254 * sunrpc/svc_tcp.c: Likewise.
23255 * sunrpc/svc_udp.c: Likewise.
23256 * sunrpc/svc_unix.c: Likewise.
23257 * sunrpc/svcauth_des.c: Likewise.
23258 * sunrpc/xcrypt.c: Likewise.
23259 * sunrpc/xdr.c: Likewise.
23260 * sunrpc/xdr_array.c: Likewise.
23261 * sunrpc/xdr_float.c: Likewise.
23262 * sunrpc/xdr_mem.c: Likewise.
23263 * sunrpc/xdr_rec.c: Likewise.
23264 * sunrpc/xdr_ref.c: Likewise.
23265 * sunrpc/xdr_sizeof.c: Likewise.
23266 * sunrpc/xdr_stdio.c: Likewise.
23268 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23271 2010-08-19 Andreas Schwab <schwab@redhat.com>
23273 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23275 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
23277 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23278 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23279 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23280 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23281 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23282 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23283 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23284 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23285 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23286 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23287 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23288 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23289 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23290 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23292 2010-07-26 Anton Blanchard <anton@samba.org>
23294 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23295 * malloc/arena.c (heap_trim): Likewise.
23297 2010-08-16 Ulrich Drepper <drepper@redhat.com>
23299 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23301 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23302 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23304 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23306 * sysdeps/i386/elf/Makefile: New file.
23308 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23310 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23311 from fanotify_init.
23312 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23313 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23315 2010-08-15 Ulrich Drepper <drepper@redhat.com>
23317 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23319 * sysdeps/multiarch/strcmp.S: Likewise.
23321 2010-08-14 Ulrich Drepper <drepper@redhat.com>
23323 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23324 strncase_l-nonascii.
23325 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23326 Add strncase_l-ssse3.
23327 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23328 * sysdeps/x86_64/strcmp.S: Likewise.
23329 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23330 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23331 * sysdeps/x86_64/strncase.S: New file.
23332 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23333 * sysdeps/x86_64/strncase_l.S: New file.
23334 * string/Makefile (strop-tests): Add strncasecmp.
23335 * string/test-strncasecmp.c: New file.
23337 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23340 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23341 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23343 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23345 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23347 2010-08-12 Ulrich Drepper <drepper@redhat.com>
23349 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23350 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23351 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23353 2010-05-01 Alan Modra <amodra@gmail.com>
23355 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23356 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23357 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23358 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23359 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23360 tidying. Don't tail-call __sigjmp_save for static lib.
23361 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23363 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23364 (CALL_MCOUNT): Add eh info, and nop after bl.
23365 (TAIL_CALL_SYSCALL_ERROR): New macro.
23366 (PSEUDO_RET): Use it.
23367 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23368 Correct save location of integer regs and cr.
23369 (_dl_profile_resolve): Correct cr save location. Delete nops
23370 after bl when SHARED. Reduce cfi size a little by better
23371 placement of cfi directives.
23372 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23373 make a stack frame. Instead use parm save area as a temp.
23374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23375 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23377 Don't make a stack frame for parent, use parm save area.
23378 Increase child stack frame to 112 bytes. Don't save unused reg,
23379 and adjust reg usage. Set up cfi on error recovery and
23380 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23382 (__makecontext): Add dummy nop after jump to exit.
23383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23384 Use correct parm save area and cr save, reduce stack frame.
23385 Correct cfi for possible PSEUDO_RET frame setup.
23386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23387 Branch to local label emitted by PSEUDO_RET rather than
23390 2010-08-12 Andreas Schwab <schwab@redhat.com>
23393 * locale/programs/locale.c (print_assignment): New function.
23394 (show_locale_vars): Use it.
23396 2010-08-11 Ulrich Drepper <drepper@redhat.com>
23398 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23400 (struct statfs64): Likewise.
23401 (_STATFS_F_FLAGS): Define.
23402 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23403 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23404 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23405 (ST_VALID): Define locally.
23406 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23407 __statvfs_getflags, use the provided value.
23408 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23409 __ASSUME_STATFS_F_FLAGS.
23411 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23413 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23414 Add sys/fanotify.h.
23415 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23416 fanotify_mask for GLIBC_2.13.
23417 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23418 fanotify_init and fanotify_mark.
23419 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23420 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23422 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23424 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23425 prlimit64 for GLIBC_2.13.
23426 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23428 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23431 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23432 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23433 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23434 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23436 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23439 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23440 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23442 * nss/Makefile: Add rules to build and run tst-nss-test1.
23443 * shlib-versions: Add entry for libnss_test1.
23444 * nss/nss_test1.c: New file.
23445 * nss/tst-nss-test1.c: New file.
23447 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23448 (__nss_configure_lookup): Set appropriate entry in
23449 __nss_configure_lookup to true.
23450 * nss/nsswitch.h: Define enum with indeces of databases in
23451 databases and __nss_database_custom arrays. Declare
23452 __nss_database_custom.
23453 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23454 to avoid using nscd when custom rules are installed.
23455 * nss/getXXbyYY_r.c: Likewise.
23456 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23458 * nss/nss_files/files-parse.c: Whitespace fixes.
23460 2010-08-09 Ulrich Drepper <drepper@redhat.com>
23463 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23464 * posix/fnmatch_loop.c: Likewise.
23466 2010-07-17 Andi Kleen <ak@linux.intel.com>
23468 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23469 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23470 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23471 * Versions.def [GLIBC_2.13]: Add.
23473 2010-08-06 Ulrich Drepper <drepper@redhat.com>
23475 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23476 Also fail if tpwd after pwuid call is NULL.
23478 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23480 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23481 when converting to ms.
23483 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23485 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23486 EOPNOTSUPP errors with ENOTTY.
23487 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23488 EOPNOTSUPP errors with ENOTTY.
23490 2010-07-31 Ulrich Drepper <drepper@redhat.com>
23492 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23493 Add strcasecmp_l-ssse3.
23494 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23496 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23497 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23498 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23500 2010-07-30 Ulrich Drepper <drepper@redhat.com>
23502 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23504 * string/Makefile (strop-tests): Add strcasecmp.
23505 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23506 strcasecmp_l-nonascii.
23507 (gen-as-const-headers): Add locale-defines.sym.
23508 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23509 * sysdeps/x86_64/strcasecmp.S: New file.
23510 * sysdeps/x86_64/strcasecmp_l.S: New file.
23511 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23512 * sysdeps/x86_64/locale-defines.sym: New file.
23513 * string/test-strcasecmp.c: New file.
23515 * string/test-strcasestr.c: Test both ends of the range of characters.
23516 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23518 2010-07-29 Roland McGrath <roland@redhat.com>
23521 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23523 2010-07-27 Ulrich Drepper <drepper@redhat.com>
23525 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23528 2010-07-27 Andreas Schwab <schwab@redhat.com>
23530 * manual/memory.texi (Malloc Tunable Parameters): Document
23533 2010-07-26 Roland McGrath <roland@redhat.com>
23536 * configure.in (-fgnu89-inline check): Set and substitute
23537 gnu89_inline, not libc_cv_gnu89_inline.
23538 * configure: Regenerated.
23539 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23541 2010-07-26 Ulrich Drepper <drepper@redhat.com>
23543 * string/test-strnlen.c: New file.
23544 * string/Makefile (strop-tests): Add strnlen.
23545 * string/tester.c (test_strnlen): Add a few more test cases.
23546 * string/tst-strlen.c: Better error reporting.
23548 * sysdeps/x86_64/strnlen.S: New file.
23550 2010-07-24 Ulrich Drepper <drepper@redhat.com>
23552 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23553 lower-latency instructions.
23555 2010-07-23 Ulrich Drepper <drepper@redhat.com>
23557 * string/test-strcasestr.c: New file.
23558 * string/test-strstr.c: New file.
23559 * string/Makefile (strop-tests): Add strstr and strcasestr.
23560 * string/str-two-way.h: Don't undefine MAX.
23561 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23563 2010-07-21 Andreas Schwab <schwab@redhat.com>
23565 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23566 strcasestr-nonascii.
23567 (CFLAGS-strcasestr-nonascii.c): Define.
23568 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23569 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23570 Remove unused attribute.
23572 2010-07-20 Roland McGrath <roland@redhat.com>
23574 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23575 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23576 ld.so.cache was broken. With it, there is no way to disable dsocaps
23577 like LD_HWCAP_MASK can disable hwcaps.
23579 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23581 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23583 2010-07-16 Ulrich Drepper <drepper@redhat.com>
23585 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23586 call in strcasestr.
23587 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23588 __strcasestr_sse42_nonascii.
23589 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23590 strcasestr-nonascii.c.
23591 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23593 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
23595 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23596 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23597 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23598 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23600 2010-07-09 Ulrich Drepper <drepper@redhat.com>
23602 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23605 2010-07-06 Andreas Schwab <schwab@redhat.com>
23608 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23611 2010-07-06 Ulrich Drepper <drepper@redhat.com>
23613 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23614 _PC_PIPE_BUF using F_GETPIPE_SZ.
23616 2010-07-05 Roland McGrath <roland@redhat.com>
23618 * manual/arith.texi (Rounding Functions): Fix rint description
23619 implicit in round description.
23621 2010-07-02 Ulrich Drepper <drepper@redhat.com>
23623 * elf/Makefile: Fix linking for a few tests to make recent linker
23626 2010-06-30 Andreas Schwab <schwab@redhat.com>
23628 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23629 $(common-objpfx)libc_nonshared.a.
23631 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
23633 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23634 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23635 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23636 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23637 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23638 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23639 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23640 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23655 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23656 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23657 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23658 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23659 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23660 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23661 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23662 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23663 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23664 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23665 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23666 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23682 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23684 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23685 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23686 * string/memmove.c (memmove): Renamed to ...
23687 (MEMMOVE): ...this. Default to memmove.
23688 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23689 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23691 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23692 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23693 mempcpy-ssse3-back memmove-ssse3-back.
23694 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23695 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23696 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23697 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23698 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23699 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23700 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23701 * sysdeps/x86_64/multiarch/memmove.c: New file.
23702 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23703 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23704 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23705 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23706 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23707 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23709 (index_Fast_Copy_Backward): Define.
23710 (HAS_ARCH_FEATURE): Define.
23711 (HAS_FAST_REP_STRING): Define.
23712 (HAS_FAST_COPY_BACKWARD): Define.
23714 2010-06-21 Andreas Schwab <schwab@redhat.com>
23716 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23717 Restore proper fallback handling.
23719 2010-06-19 Ulrich Drepper <drepper@redhat.com>
23722 * posix/group_member.c (__group_member): Correct checking loop.
23724 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23725 OOM in getpwuid_r correctly. Return error number when the caller
23726 should return, otherwise -1.
23727 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23728 call returning > 0 value.
23729 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23731 2010-06-07 Andreas Schwab <schwab@redhat.com>
23733 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23734 libc_nonshared.a from targets in modules-names.
23736 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23738 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23741 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
23743 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23744 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23745 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23746 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23748 2010-06-02 Andreas Schwab <schwab@redhat.com>
23750 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23752 2010-06-14 Ulrich Drepper <drepper@redhat.com>
23754 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23756 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23757 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23758 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23759 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23760 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23761 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23763 2010-06-14 Roland McGrath <roland@redhat.com>
23765 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23767 2010-06-07 Jakub Jelinek <jakub@redhat.com>
23769 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23770 __REDIRECT followed by __THROW.
23771 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23772 * posix/getopt.h (getopt): Likewise.
23774 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23776 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23777 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23778 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23780 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23781 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23783 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
23785 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23787 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23791 Properly check family and model.
23793 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23795 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23797 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
23799 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23801 2010-05-21 Ulrich Drepper <drepper@redhat.com>
23803 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23806 2010-05-19 Andreas Schwab <schwab@redhat.com>
23808 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23811 2010-05-21 Andreas Schwab <schwab@redhat.com>
23813 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23814 and internal_recvmmsg.
23815 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23816 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23817 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23818 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23820 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23821 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23822 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23824 2010-05-20 Andreas Schwab <schwab@redhat.com>
23826 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23828 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
23830 POWER7 optimizations.
23831 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23832 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23834 2010-05-19 Ulrich Drepper <drepper@redhat.com>
23836 * version.h: Update for 2.13 development version.
23838 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
23840 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23841 exceptions. Return 0.
23843 2010-05-07 Roland McGrath <roland@redhat.com>
23845 * elf/ldconfig.c (main): Add a const.
23847 2010-05-06 Ulrich Drepper <drepper@redhat.com>
23849 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23850 (args_options): Add no-idn option.
23851 (ahosts_keys_int): Add idn_flags to ai_flags.
23852 (parse_option): Handle 'i' option to clear idn_flags.
23854 * malloc/malloc.c (_int_free): Possible race in the most recently
23855 added check. Only act on the data if no current modification
23858 See ChangeLog.17 for earlier changes.