1 2013-01-10 Roland McGrath <roland@hack.frob.com>
3 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
4 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
5 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
6 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
9 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
14 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
15 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
17 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
21 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
23 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
26 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
27 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
28 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31 2013-01-10 David S. Miller <davem@davemloft.net>
33 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
37 * posix/Makefile (tests-static): New variable.
38 (tests): Add $(tests-static).
39 (tst-exec-static-ARGS): New variable.
40 (tst-spawn-static-ARGS): Likewise.
41 * posix/tst-exec-static.c: New file.
42 * posix/tst-spawn-static.c: Likewise.
43 * posix/tst-exec.c: Support run directly.
44 * posix/tst-spawn.c: Likewise.
46 2013-01-10 Joseph Myers <joseph@codesourcery.com>
48 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
50 * math/bits/mathcalls.h (llrint): Likewise.
52 * stdlib/stdlib.h (struct drand48_data): Likewise.
53 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
54 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
55 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
57 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
59 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
60 (elf_greg_t): Likewise.
61 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
62 (__jmp_buf): Likewise.
63 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
65 (llrint): Likewise, for all definitions.
68 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
69 Remove [__GNUC__] condition.
70 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
71 condition to just [__USE_ISOC99].
72 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
74 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
77 * sysdeps/unix/sysv/linux/x86/bits/environments.h
78 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
80 (_POSIX_V6_ILP32_OFF32): Likewise.
81 (_XBS5_ILP32_OFF32): Likewise.
82 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
83 (__ILP32_OFFBIG_LDFLAGS): Likewise.
85 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
87 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
89 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
90 doubles __mpexp_twomm1. Adjust usage.
91 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
94 2013-01-10 Andreas Schwab <schwab@suse.de>
97 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
98 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
100 2013-01-09 David S. Miller <davem@davemloft.net>
103 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
104 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
105 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
106 TCP_FASTOPEN): Define.
107 (tcp_repair_opt): New structure.
108 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
110 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
111 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
112 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
113 (tcp_cookie_transactions): New structure.
115 2013-01-09 Anton Blanchard <anton@samba.org>
117 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
118 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
119 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
120 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
122 2013-01-09 Joseph Myers <joseph@codesourcery.com>
124 * include/features.h (__USE_ANSI): Remove.
126 2013-01-09 Roland McGrath <roland@hack.frob.com>
128 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
130 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
132 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
134 * sysdeps/s390/fpu/libm-test-ulps: Update.
136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
138 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
143 (__mp_dbl): Likewise.
144 (__dbl_mp): Likewise.
145 (add_magnitudes): Likewise.
146 (sub_magnitudes): Likewise.
152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
157 (__mp_dbl): Likewise.
158 (__dbl_mp): Likewise.
159 (add_magnitudes): Likewise.
160 (sub_magnitudes): Likewise.
166 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
171 (__mp_dbl): Likewise.
172 (__dbl_mp): Likewise.
173 (add_magnitudes): Likewise.
174 (sub_magnitudes): Likewise.
181 2013-01-08 Joseph Myers <joseph@codesourcery.com>
183 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
184 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
185 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
186 2 && __USE_EXTERN_INLINES]: Likewise.
188 2013-01-08 Andreas Jaeger <aj@suse.de>
191 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
193 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
194 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
196 2013-01-07 Anton Blanchard <anton@samba.org>
198 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
199 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
200 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
201 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
202 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
203 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
204 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
205 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
206 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
207 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
208 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
209 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
210 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
211 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
212 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
213 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
214 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
215 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
216 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
217 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
218 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
219 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
220 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
221 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
222 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
223 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
224 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
225 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
226 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
227 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
228 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
229 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
230 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
231 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
232 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
233 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
234 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
235 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
236 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
237 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
238 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
239 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
240 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
242 2013-01-07 Joseph Myers <joseph@codesourcery.com>
244 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
245 (__MALLOC_PMT): Likewise.
246 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
247 [__GNUC__], only on [_LIBC].
248 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
249 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
250 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
251 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
253 (realloc_hook_ini): Likewise.
254 (memalign_hook_ini): Likewise.
255 (__libc_memalign): Do not use __MALLOC_PMT in variable
257 (__libc_valloc): Likewise.
258 (__libc_pvalloc): Likewise.
259 (__libc_calloc): Likewise.
260 (__posix_memalign): Likewise.
263 * math/s_casinh.c: Include <float.h>.
264 (__casinh): Do not do computation with squaring and square root
266 * math/s_casinhf.c: Include <float.h>.
267 (__casinhf): Do not do computation with squaring and square root
269 * math/s_casinhl.c: Include <float.h>.
270 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
271 (__casinhl): Do not do computation with squaring and square root
273 * math/libm-test.inc (casin_test): Add more tests.
274 (casinh_test): Likewise.
275 * sysdeps/i386/fpu/libm-test-ulps: Update.
276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
278 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
280 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
281 (__x86_64_raw_data_cache_size): Likewise.
282 (__x86_64_data_cache_size_half): Likewise.
283 (__x86_64_raw_data_cache_size_half): Likewise.
284 (__x86_64_shared_cache_size): Likewise.
285 (__x86_64_raw_shared_cache_size): Likewise.
286 (__x86_64_shared_cache_size_half): Likewise.
287 (__x86_64_raw_shared_cache_size_half): Likewise.
288 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
290 (__x86_data_cache_size): This.
291 (__x86_64_raw_data_cache_size): Renamed to ...
292 (__x86_raw_data_cache_size): This.
293 (__x86_64_data_cache_size_half): Renamed to ...
294 (__x86_data_cache_size_half): This.
295 (__x86_64_raw_data_cache_size_half): Renamed to ...
296 (__x86_raw_data_cache_size_half): This.
297 (__x86_64_shared_cache_size): Renamed to ...
298 (__x86_shared_cache_size): This.
299 (__x86_64_raw_shared_cache_size): Renamed to ...
300 (__x86_raw_shared_cache_size): This.
301 (__x86_64_shared_cache_size_half): Renamed to ...
302 (__x86_shared_cache_size_half): This.
303 (__x86_64_raw_shared_cache_size_half): Renamed to ...
304 (__x86_raw_shared_cache_size_half): This.
305 * sysdeps/x86_64/memcpy.S: Updated.
306 * sysdeps/x86_64/memset.S: Likewise.
307 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
308 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
309 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
311 2013-01-04 David S. Miller <davem@davemloft.net>
313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
315 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
317 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
318 1 to avoid redefinition warning.
319 (__USE_GNU): Don't define.
320 (init_signaling_nan): Protoize.
322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
324 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
326 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
327 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
329 (norm): Remove commented code.
331 (__mp_dbl): Likewise.
333 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
335 (norm): Remove commented code.
337 (__mp_dbl): Likewise.
340 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
341 mp_no value for 1.0 and 2.0.
342 (norm): Use RADIXI instead of radixi.d.
344 (__mul): Use 0.0 instead of zero.d.
345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
346 mp_no value for 1.0 and 2.0.
347 (norm): Use RADIXI instead of radixi.d.
349 (__mul): Use 0.0 instead of zero.d.
351 2013-01-04 Joseph Myers <joseph@codesourcery.com>
354 * math/s_casinh.c (__casinh): Reduce finite argument to first
355 quadrant then set signs of results at the end.
356 * math/s_casinhf.c (__casinhf): Likewise.
357 * math/s_casinhl.c (__casinhl): Likewise.
358 * math/libm-test.inc (casin_test): Add more tests.
359 (casinh_test): Likewise.
360 * sysdeps/i386/fpu/libm-test-ulps: Update.
361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
363 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
365 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
367 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
369 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
372 (__mp_dbl): Likewise.
375 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
376 and adjust the header comment.
378 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
379 variable name from declaration.
381 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
383 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
384 Initialize COMMON_CPUID_INDEX_7 element.
385 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
386 (CPUID_RTM): Likewise.
388 (COMMON_CPUID_INDEX_7): New enum.
390 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
393 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
394 size is zero, record memory as freed.
396 2013-01-03 Andreas Jaeger <aj@suse.de>
398 * po/ia.po: Add new Interlingua translation.
400 2012-01-03 Allan McRae <allan@archlinux.org>
402 * locale/programs/localedef.c: Fix description of '--posix' flag.
404 2013-01-02 Joseph Myers <joseph@codesourcery.com>
406 * NEWS: Update dates in second copyright notice.
407 * README: Update copyright dates in example.
408 * manual/libc.texinfo: Update copyright dates.
409 * scripts/test-installation.pl: Update copyright date in --version
412 * hurd/ctty-input.c: Fix copyright notice formatting.
413 * hurd/ctty-output.c: Likewise.
414 * hurd/dtable.c: Likewise.
415 * hurd/hurd-raise.c: Likewise.
416 * hurd/hurdprio.c: Likewise.
417 * hurd/msgportdemux.c: Likewise.
418 * misc/sys/file.h: Likewise.
419 * misc/sys/ioctl.h: Likewise.
420 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
421 * sysdeps/mach/hurd/chdir.c: Likewise.
422 * sysdeps/mach/hurd/fchdir.c: Likewise.
423 * sysdeps/mach/hurd/rename.c: Likewise.
424 * sysdeps/mach/hurd/rmdir.c: Likewise.
425 * sysdeps/mach/hurd/seekdir.c: Likewise.
426 * sysdeps/mach/hurd/setsid.c: Likewise.
427 * sysdeps/posix/wait3.c: Likewise.
429 * All files with FSF copyright notices: Update copyright dates
430 using scripts/update-copyrights.
431 * intl/plural.c: Regenerated.
432 * locale/programs/charmap-kw.h: Likewise.
433 * locale/programs/locfile-kw.h: Likewise.
435 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
437 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
440 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
441 calculation loop and add branch prediction.
443 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
444 check access beyond bounds of m1np.
446 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
448 (__inv): Remove local variable MPTWO to use the global
450 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
451 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
453 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
454 MP3HALFS static const.
456 2013-01-01 David S. Miller <davem@davemloft.net>
458 * po/ca.po: Update from translation team.
460 2013-01-01 Joseph Myers <joseph@codesourcery.com>
462 * scripts/update-copyrights: New file.
463 * Makeconfig: Reformat copyright notice.
464 * ctype/ctype.h: Likewise.
465 * debug/swprintf_chk.c: Likewise.
466 * elf/dl-cache.c: Likewise.
467 * elf/dl-debug.c: Likewise.
468 * elf/dl-object.c: Likewise.
469 * grp/initgroups.c: Likewise.
470 * hurd/Makefile: Likewise.
471 * hurd/hurd/signal.h: Likewise.
472 * hurd/hurdfault.c: Likewise.
473 * hurd/hurdioctl.c: Likewise.
474 * hurd/hurdlookup.c: Likewise.
475 * hurd/intr-msg.c: Likewise.
476 * iconv/gconv_open.c: Likewise.
477 * libio/swprintf.c: Likewise.
478 * locale/lc-ctype.c: Likewise.
479 * locale/nl_langinfo.c: Likewise.
480 * mach/Machrules: Likewise.
481 * mach/Makefile: Likewise.
482 * malloc/obstack.h: Likewise.
483 * manual/Makefile: Likewise.
484 * manual/tsort.awk: Likewise.
485 * misc/bits/stab.def: Likewise.
486 * nis/nis_print_group_entry.c: Likewise.
487 * nis/nis_table.c: Likewise.
488 * nis/nss_compat/compat-pwd.c: Likewise.
489 * nis/nss_compat/compat-spwd.c: Likewise.
490 * po/Makefile: Likewise.
491 * posix/fnmatch.c: Likewise.
492 * posix/regex.h: Likewise.
493 * resolv/Makefile: Likewise.
494 * resolv/nss_dns/dns-network.c: Likewise.
495 * resolv/res_hconf.c: Likewise.
496 * scripts/gen-sorted.awk: Likewise.
497 * soft-fp/soft-fp.h: Likewise.
498 * stdio-common/printf.h: Likewise.
499 * stdlib/monetary.h: Likewise.
500 * stdlib/random.c: Likewise.
501 * stdlib/random_r.c: Likewise.
502 * sysdeps/generic/Makefile: Likewise.
503 * sysdeps/gnu/Makefile: Likewise.
504 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
505 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
506 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
507 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
508 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
509 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
510 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
511 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
512 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
513 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
514 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
515 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
516 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
517 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
518 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
519 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
520 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
521 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
522 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
523 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
524 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
525 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
526 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
527 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
528 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
529 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
530 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
531 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
532 * sysdeps/mach/hurd/errnos.awk: Likewise.
533 * sysdeps/mach/hurd/fork.c: Likewise.
534 * sysdeps/mach/hurd/getcwd.c: Likewise.
535 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
536 * sysdeps/mach/hurd/mmap.c: Likewise.
537 * sysdeps/mach/hurd/utimes.c: Likewise.
538 * sysdeps/mach/hurd/xmknod.c: Likewise.
539 * sysdeps/posix/profil.c: Likewise.
540 * sysdeps/posix/readdir_r.c: Likewise.
541 * sysdeps/powerpc/bits/mathdef.h: Likewise.
542 * sysdeps/powerpc/bits/setjmp.h: Likewise.
543 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
544 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
545 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
546 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
547 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
548 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
549 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
550 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
551 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
552 * sysdeps/pthread/lio_listio.c: Likewise.
553 * sysdeps/sparc/dl-procinfo.h: Likewise.
554 * sysdeps/unix/i386/sysdep.S: Likewise.
555 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
556 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
557 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
558 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
560 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
561 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
562 * sysdeps/unix/sysv/linux/speed.c: Likewise.
563 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
564 * sysdeps/wordsize-32/divdi3.c: Likewise.
565 * time/sys/time.h: Likewise.
566 * wcsmbs/Makefile: Likewise.
568 2013-01-01 David S. Miller <davem@davemloft.net>
570 * po/fr.po: Update from translation team.
572 * catgets/gencat.c: Update copyright year.
573 * csu/version.c: Likewise.
574 * debug/catchsegv.sh: Likewise.
575 * debug/pcprofiledump.c: Likewise.
576 * debug/xtrace.sh: Likewise.
577 * elf/ldconfig.c: Likewise.
578 * elf/ldd.bash.in: Likewise.
579 * elf/pldd.c: Likewise.
580 * elf/sotruss.ksh: Likewise.
581 * elf/sprof.c: Likewise.
582 * iconv/iconv_prog.c: Likewise.
583 * iconv/iconvconfig.c: Likewise.
584 * locale/programs/locale.c: Likewise.
585 * locale/programs/localedef.c: Likewise.
586 * login/programs/pt_chown.c: Likewise.
587 * malloc/memusage.sh: Likewise.
588 * malloc/memusagestat.c: Likewise.
589 * malloc/mtrace.pl: Likewise.
590 * nscd/nscd.c: Likewise.
591 * nss/getent.c: Likewise.
592 * nss/makedb.c: Likewise.
593 * posix/getconf.c: Likewise.
595 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
597 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
600 2012-12-30 Mike Frysinger <vapier@gentoo.org>
602 * math/bits/mathcalls.h (modf): Use __nonnull.
604 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
606 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
607 (split): Use macro CN instead of the bare value.
608 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
610 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
611 instead of the bare value.
614 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
616 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
618 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
620 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
622 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
623 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
624 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
625 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
627 2012-12-28 Andreas Jaeger <aj@suse.de>
629 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
630 values are from Linux 3.7.
632 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
633 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
635 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
637 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
640 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
642 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
643 variables with preprocessor constants.
644 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
645 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
646 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
648 2012-12-27 Bruno Haible <bruno@clisp.org>
651 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
654 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
656 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
657 and use variable directly.
658 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
660 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
662 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
663 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
665 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
666 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
667 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
668 include directive. Remove local variable MPONE.
669 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
670 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
671 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
673 2012-12-25 David S. Miller <davem@davemloft.net>
675 * version.h (RELEASE): Set to "development".
676 (VERSION): Set to "2.17.90".
677 * NEWS: Add 2.18 section.
679 2012-12-21 David S. Miller <davem@davemloft.net>
681 * po/hr.po: Update from translation team.
683 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
685 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
687 2012-12-19 Steve Ellcey <sellcey@mips.com>
689 * NEWS: Mention new memcpy for MIPS.
691 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
693 * manual/contrib.texi (Contributors): Spelling correction.
695 2012-12-15 David S. Miller <davem@davemloft.net>
697 * po/ru.po: Update from translation team.
699 2012-12-13 David S. Miller <davem@davemloft.net>
701 * NEWS: Mention IFUNC testsuite enhancements.
703 * po/pl.po: Update from translation team.
704 * po/bg.po: Likewise.
706 * manual/contrib.texi (Contributors): Update entries for Hongjiu
707 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
709 2012-12-11 David S. Miller <davem@davemloft.net>
711 * po/sv.po: Update from translation team.
713 * po/vi.po: Update from translation team.
715 * po/cs.po: Update from translation team.
717 * po/de.po: Update from translation team.
718 * po/eo.po: Likewise.
719 * po/nl.po: Likewise.
721 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
724 * manual/argp.texi (Argp Helper Functions): Move node to follow
728 * manual/conf.texi (Limits on File System Capacity): Mention if
729 terminating null is included in the max size.
731 2012-12-10 Andreas Jaeger <aj@suse.de>
733 * po/cs.po: Update from translation team.
735 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
737 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
738 void pointer and cast to uintptr_t.
739 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
741 * sysdeps/s390/s390-64/memcpy.S: Likewise.
742 * sysdeps/s390/s390-64/memset.S: Likewise.
744 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
747 * menual/message.texi (Message Translation): Fix typos.
748 (Helper programs for gettext): Likewise.
750 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
753 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
756 2012-12-07 David S. Miller <davem@davemloft.net>
758 * po/libc.pot: Update.
760 2012-12-07 Richard Henderson <rth@redhat.com>
763 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
764 normal/normal case to before the switch.
767 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
768 Mike Frysinger <vapier@gentoo.org>
770 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
771 check for __NR_fadvise64_64.
773 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
775 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
776 0, not just to plain "0" as a statement.
777 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
780 2012-12-06 Joseph Myers <joseph@codesourcery.com>
782 * NEWS: Use sourceware.org in Bugzilla URL.
784 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
787 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
789 * stdio-common/tst-put-error.c (do_test): Add newline to the
790 padded test to ensure flush.
792 2012-12-05 Jeff Law <law@redhat.com>
794 * sunrpc/etc.rpc (fedfs_admin): Add entry.
796 2012-12-05 Joseph Myers <joseph@codesourcery.com>
798 * README: Don't refer to ports add-on as distributed separately.
799 Mention AArch64 in list of systems supported in the ports add-on.
801 * LICENSES: Add more non-FSF copyright and license notices.
803 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
806 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
808 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
809 10000 as width of padded output.
811 2012-12-04 Joseph Myers <joseph@codesourcery.com>
813 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
815 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
816 variable LX with __attribute__ ((unused)).
817 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
819 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
820 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
821 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
822 with __attribute__ ((unused)).
824 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
826 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
828 2012-12-04 Joseph Myers <joseph@codesourcery.com>
830 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
831 (CFLAGS-nldbl-acos.c): New variable.
832 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
833 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
834 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
835 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
836 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
837 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
838 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
839 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
840 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
841 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
842 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
843 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
844 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
845 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
846 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
847 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
848 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
849 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
850 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
851 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
852 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
853 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
854 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
855 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
856 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
857 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
858 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
859 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
860 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
861 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
862 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
863 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
864 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
865 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
866 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
867 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
868 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
869 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
870 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
871 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
872 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
873 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
874 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
875 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
876 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
877 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
878 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
879 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
880 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
881 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
882 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
883 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
884 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
885 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
886 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
887 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
888 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
889 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
890 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
891 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
892 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
893 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
894 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
895 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
896 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
897 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
898 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
899 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
900 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
901 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
902 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
903 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
904 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
905 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
906 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
907 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
908 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
909 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
910 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
911 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
912 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
913 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
914 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
915 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
916 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
917 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
918 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
919 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
920 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
921 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
922 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
923 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
924 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
925 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
926 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
927 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
928 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
931 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
934 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
935 whole low double instead of just low 47 bits when splitting values
938 2012-12-03 Allan McRae <allan@archlinux.org>
940 * manual/stdio.texi (Predefined Printf Handlers): Remove
941 @hsep and @vsep usage.
943 2012-12-03 Mike Frysinger <vapier@gentoo.org>
945 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
946 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
948 2012-12-03 Jeff Law <law@redhat.com>
950 * time/sys/time.h (settimeofday): Do not mark TV argument
953 2012-12-01 Mike Frysinger <vapier@gentoo.org>
955 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
956 when currently writing and seek to current position when not.
957 * libio/Makefile (tests): Remove bug-fclose1.
958 * libio/bug-fclose1.c: Delete.
960 2012-12-01 Joseph Myers <joseph@codesourcery.com>
962 * manual/arith.texi (feenableexcept): Fix typo.
963 (fedisableexcept): Likewise.
965 2012-11-30 Roland McGrath <roland@hack.frob.com>
967 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
968 second, differently-typed declaration, rather than a cast.
970 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
972 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
973 * include/rpc/svc.h: ... here.
975 2012-11-30 Aurelien Jarno <aurel32@debian.org>
978 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
979 depending n and resplen2 to catch cases where answer
982 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
984 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
985 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
987 2012-11-29 Mike Frysinger <vapier@gentoo.org>
989 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
991 2012-11-29 Roland McGrath <roland@hack.frob.com>
993 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
995 2012-11-28 Jeff Law <law@redhat.com>
998 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
999 dataset_temporary. Track alloca usage into alloca_used.
1000 If dataset is large allocate and release it via malloc/free.
1002 2012-06-04 Florian Weimer <fweimer@redhat.com>
1005 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
1007 2012-11-28 David S. Miller <davem@davemloft.net>
1009 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1011 2012-11-28 Joseph Myers <joseph@codesourcery.com>
1014 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
1015 of pi/2 rounded to nearest to 64 bits.
1016 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
1018 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
1021 2012-11-28 Jeff Law <law@redhat.com>
1022 Martin Osvald <mosvald@redhat.com>
1025 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
1026 * sunrpc/svc.c: Include time.h.
1027 (__svc_accept_failed): New function.
1028 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
1029 any reason other than EINTR, call __svc_accept_failed.
1030 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
1031 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
1033 2012-11-28 Andreas Schwab <schwab@suse.de>
1035 * scripts/abilist.awk: Also handle indirect functions in .opd
1038 2012-11-28 Joseph Myers <joseph@codesourcery.com>
1041 * sysdeps/x86/fpu/powl_helper.c: New file.
1042 * sysdeps/x86/fpu/Makefile: Likewise.
1043 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
1045 (__ieee754_powl): Use __powl_helper for finite arguments except
1046 integer exponents below 8.
1047 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
1049 (__ieee754_powl): Use __powl_helper for finite arguments except
1050 integer exponents below 8.
1051 * math/libm-test.inc (pow_test): Add more tests and enable some
1052 previously disabled tests.
1053 * sysdeps/i386/fpu/libm-test-ulps: Update.
1054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1056 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1057 Carlos O'Donell <carlos_odonell@mentor.com>
1059 * nss/makedb.c (is_prime): Assert that input is odd and greater
1060 than 4. Note that fact in a comment too.
1061 (next_prime): Add 4 to input.
1063 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1066 * libio/Makefile (tests): Add test case tst-fwrite-error.
1067 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
1068 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
1069 * libio/tst-fwrite-error.c: New test case.
1071 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
1073 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
1074 before casting to void *.
1075 * include/libc-internal.h (__pointer_type): New macro.
1076 (__integer_if_pointer_type_sub): Likewise.
1077 (__integer_if_pointer_type): Likewise.
1078 (cast_to_integer): Likewise.
1079 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
1080 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
1081 before casting to atomic64_t.
1082 (atomic_exchange_acq): Likewise.
1083 (__arch_exchange_and_add_body): Likewise.
1084 (__arch_add_body): Likewise.
1085 (atomic_add_negative): Likewise.
1086 (atomic_add_zero): Likewise.
1088 2012-11-26 Joseph Myers <joseph@codesourcery.com>
1090 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
1091 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
1092 (add_fdes): Likewise.
1093 (linear_search_fdes): Likewise.
1094 (binary_search_unencoded_fdes): Likewise.
1096 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
1098 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
1100 2012-11-24 Adam Conrad <adconrad@0c3.net>
1102 * configure.in: Autodetect C++ header directories.
1103 * configure: Regenerated.
1105 2012-11-23 Mike Frysinger <vapier@gentoo.org>
1107 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
1109 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
1111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1113 2012-11-22 Joseph Myers <joseph@codesourcery.com>
1115 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
1116 LDBL_MANT_DIG == 106]: Disable some tests.
1117 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1119 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
1123 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
1124 input for small inputs. Return +/- pi/2 for large inputs.
1125 * math/libm-test.inc (atan_test): Add more tests.
1127 * sysdeps/generic/unwind-dw2-fde-glibc.c
1128 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
1129 __attribute__ ((unused)).
1132 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
1133 x * y if x and y are nonzero and z is zero.
1136 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
1137 nonzero exponents with absolute value below 0x1p-117 to +/-
1141 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
1142 up arguments below 2**-450, not just those below 2**-500.
1143 * math/libm-test.inc (hypot_test): Add another test.
1146 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1147 Return a+b for ratio over 2**120, not 2**60.
1148 * math/libm-test.inc (hypot_test): Add another test.
1150 * math/libm-test.inc (clog_test): Use
1151 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
1152 (clog10_test): Likewise.
1155 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
1157 2012-11-22 Andreas Schwab <schwab@suse.de>
1159 * sysdeps/i386/fpu/libm-test-ulps: Update.
1161 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
1163 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
1164 printf output with newline.
1166 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
1169 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
1170 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
1171 -z nodlopen, -z initfirst and -z execstack support.
1172 * configure: Regenerated.
1174 * elf/elf.h (DF_1_NODIRECT): New macro.
1175 (DF_1_IGNMULDEF): Likewise.
1176 (DF_1_NOKSYMS): Likewise.
1177 (DF_1_NOHDR): Likewise.
1178 (DF_1_EDITED): Likewise.
1179 (DF_1_NORELOC): Likewise.
1180 (DF_1_SYMINTPOSE): Likewise.
1181 (DF_1_GLOBAUDIT): Likewise.
1182 (DF_1_SINGLETON): Likewise.
1183 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
1184 DT_1_SUPPORTED_MASK bits.
1185 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
1187 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
1189 * sysdeps/unix/make-syscalls.sh: Document prefixes.
1191 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
1193 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
1196 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
1197 (sendmmsg): Move declarations...
1198 * socket/sys/socket.h: ... here.
1199 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
1200 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
1202 * socket/recvmmsg.c: ... this new file.
1203 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
1204 (sendmmsg): Rename to __sendmmsg, create weak alias and make
1205 definition of __sendmmsg hidden.
1206 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1207 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
1208 Move ENOSYS stub into and include it from...
1209 * socket/sendmmsg.c: ... this new file.
1210 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
1211 (sysdep_routines): Move recvmmsg and sendmmsg...
1212 * socket/Makefile (routines): ... here.
1213 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
1214 (GLIBC_PRIVATE): Add __sendmmsg.
1215 * include/sys/socket.h (__sendmmsg): Add declarations.
1216 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
1219 2012-11-20 Joseph Myers <joseph@codesourcery.com>
1221 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
1222 variable I1 with __attribute__ ((unused)).
1223 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
1225 2012-11-19 Joseph Myers <joseph@codesourcery.com>
1227 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
1228 DUMMY variables with __attribute__ ((unused)).
1230 * bits/byteswap.h: Include <bits/types.h>.
1231 (__bswap_64): Use __uint64_t instead of unsigned long long int.
1233 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1235 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
1236 string_t. Do not manually set errno.
1237 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
1238 length with __strnlen. Make sure to both set errno and return it on
1241 2012-11-19 David S. Miller <davem@davemloft.net>
1243 With help from Joseph Myers.
1244 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
1245 very large arguments properly.
1246 * math/libm-test.inc (atan_test): New tests.
1247 (atan2_test): New tests.
1248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1251 2012-11-19 Joseph Myers <joseph@codesourcery.com>
1254 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
1257 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
1258 [POSIX] (EADDRNOTAVAIL): Likewise.
1259 [POSIX] (EAFNOSUPPORT): Likewise.
1260 [POSIX] (EALREADY): Likewise.
1261 [POSIX] (ECONNABORTED): Likewise.
1262 [POSIX] (ECONNREFUSED): Likewise.
1263 [POSIX] (ECONNRESET): Likewise.
1264 [POSIX] (EDESTADDRREQ): Likewise.
1265 [POSIX] (EDQUOT): Likewise.
1266 [POSIX] (EHOSTUNREACH): Likewise.
1267 [POSIX] (EIDRM): Likewise.
1268 [POSIX] (EISCONN): Likewise.
1269 [POSIX] (ELOOP): Likewise.
1270 [POSIX] (EMULTIHOP): Likewise.
1271 [POSIX] (ENETDOWN): Likewise.
1272 [POSIX] (ENETUNREACH): Likewise.
1273 [POSIX] (ENOBUFS): Likewise.
1274 [POSIX] (ENODATA): Likewise.
1275 [POSIX] (ENOLINK): Likewise.
1276 [POSIX] (ENOMSG): Likewise.
1277 [POSIX] (ENOPROTOOPT): Likewise.
1278 [POSIX] (ENOSR): Likewise.
1279 [POSIX] (ENOSTR): Likewise.
1280 [POSIX] (ENOTCONN): Likewise.
1281 [POSIX] (ENOTSOCK): Likewise.
1282 [POSIX] (EOPNOTSUPP): Likewise.
1283 [POSIX] (EOVERFLOW): Likewise.
1284 [POSIX] (EPROTO): Likewise.
1285 [POSIX] (EPROTONOSUPPORT): Likewise.
1286 [POSIX] (EPROTOTYPE): Likewise.
1287 [POSIX] (ESTALE): Likewise.
1288 [POSIX] (ETIME): Likewise.
1289 [POSIX] (ETXTBSY): Likewise.
1290 [POSIX] (EWOULDBLOCK): Likewise.
1291 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
1292 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
1293 [POSIX] (SEEK_CUR): Likewise.
1294 [POSIX] (SEEK_END): Likewise.
1295 [POSIX || UNIX98] (mode_t): Do not require.
1296 [POSIX] (off_t): Likewise.
1297 [POSIX] (pid_t): Likewise.
1298 [POSIX] (sys/stat.h): Do not allow header.
1299 [POSIX] (unistd.h): Likewise.
1300 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
1301 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
1302 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
1303 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
1305 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
1306 sigevent): Specify elements.
1307 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
1309 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
1310 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
1312 * conform/data/cpio.h-data [POSIX]: Disable whole file.
1313 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
1314 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
1315 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
1316 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
1317 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
1318 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
1319 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
1320 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
1321 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
1322 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
1323 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
1324 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
1325 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
1327 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
1329 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
1331 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
1333 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
1334 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
1335 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
1336 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
1337 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
1338 Specify lower bound on value.
1339 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
1340 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
1341 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
1342 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
1343 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
1344 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
1345 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
1346 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
1348 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
1350 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
1351 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
1352 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
1353 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
1354 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
1355 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
1356 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
1357 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
1358 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
1359 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
1360 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
1361 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
1362 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
1363 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
1364 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
1365 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
1367 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
1369 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
1370 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
1371 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
1372 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
1373 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
1374 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
1376 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
1377 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
1378 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
1379 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
1380 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
1381 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
1382 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
1384 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
1385 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
1386 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
1387 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
1388 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
1389 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
1390 specify as optional.
1391 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
1392 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
1393 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
1394 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
1395 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
1396 [XPG3] (NL_LANGMAX): Likewise.
1397 [POSIX || XPG3] (NL_MSGMAX): Likewise.
1398 [POSIX || XPG3] (NL_NMAX): Likewise.
1399 [POSIX || XPG3] (NL_SETMAX): Likewise.
1400 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
1401 [XPG3] (NZERO): Likewise.
1402 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
1403 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
1404 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
1405 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
1406 (REG_ERANGE): Expect.
1407 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
1409 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
1410 Use (void) in prototype.
1411 [POSIX] (*_t): Allow.
1412 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
1413 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
1414 (WRDE_BADVAL): Expect.
1416 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
1418 [XPG3 || XPG4] (O_RSYNC): Likewise.
1419 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
1421 [XPG3 || XPG4] (pthread_sigmask): Likewise.
1422 [XPG3 || XPG4] (sigqueue): Likewise.
1423 [XPG3 || XPG4] (sigtimedwait): Likewise.
1424 [XPG3 || XPG4] (sigwaitinfo): Likewise.
1425 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
1426 [XPG3 || XPG4] (vsnprintf): Likewise.
1427 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
1429 [XPG3 || XPG4] (blksize_t): Likewise.
1430 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
1432 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
1433 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1434 [XPG3 || XPG4] (struct itimerspec): Likewise.
1435 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
1436 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
1437 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
1438 [XPG3 || XPG4] (clockid_t): Likewise.
1439 [XPG3 || XPG4] (timer_t): Likewise.
1440 [XPG3 || XPG4] (clock_getres): Likewise.
1441 [XPG3 || XPG4] (clock_gettime): Likewise.
1442 [XPG3 || XPG4] (clock_settime): Likewise.
1443 [XPG3 || XPG4] (nanosleep): Likewise.
1444 [XPG3 || XPG4] (timer_create): Likewise.
1445 [XPG3 || XPG4] (timer_delete): Likewise.
1446 [XPG3 || XPG4] (timer_gettime): Likewise.
1447 [XPG3 || XPG4] (timer_getoverrun): Likewise.
1448 [XPG3 || XPG4] (timer_settime): Likewise.
1449 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
1450 [XPG3 || XPG4] (getlogin_r): Likewise.
1451 [XPG3 || XPG4] (pread): Likewise.
1452 [XPG3 || XPG4] (pthread_atfork): Likewise.
1453 [XPG3 || XPG4] (pwrite): Likewise.
1456 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
1459 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
1461 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
1462 finalizing MALLSTREAM.
1464 * sysdeps/mach/hurd/syncfs.c: New file.
1466 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1469 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
1470 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
1471 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
1472 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
1473 (_nss_dns_gethostbyname4_r): Likewise.
1474 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
1475 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
1477 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
1480 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
1482 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
1484 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
1485 * elf/cache.c (print_entry): Print ",AArch64" for
1488 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
1489 * elf/cache.c (print_entry): Print ",hard-float" for
1492 2012-11-18 David S. Miller <davem@davemloft.net>
1494 With help from Joseph Myers.
1495 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
1497 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
1499 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
1500 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
1502 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1503 * math/libm-test.inc (y0_test): New tests.
1504 (y1_test): New tests.
1505 * sysdeps/i386/fpu/libm-test-ulps: Update.
1506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1509 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
1511 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
1513 * configure: Regenerated.
1515 2012-11-17 David S. Miller <davem@davemloft.net>
1518 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
1519 nonzero exponents with absolute value below 0x1p-128 to +/-
1522 2012-11-17 Joseph Myers <joseph@codesourcery.com>
1524 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
1526 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
1528 * posix/getconf-speclist.c: New file.
1529 * posix/posix-envs.def: Likewise.
1530 * posix/confstr.c (START_ENV_GROUP): New macro.
1531 (END_ENV_GROUP): Likewise.
1532 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1533 (KNOWN_PRESENT_ENV_STRING): Likewise.
1534 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1535 (UNKNOWN_ENVIRONMENT): Likewise.
1536 (confstr): Include posix-envs.def instead of handling
1537 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
1538 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
1539 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
1540 (END_ENV_GROUP): Likewise.
1541 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
1542 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
1543 (UNKNOWN_ENVIRONMENT): Likewise.
1544 (__sysconf): Include posix-envs.def instead of handling associated
1545 cases directly here.
1546 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
1547 preprocessing getconf-speclist.c rather than running getconf or
1548 generating empty file.
1550 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
1552 * scripts/check-local-headers.sh: Ignore 'mach' headers.
1554 2012-11-16 Andrej Lajovic <natrij@gmail.com>
1557 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
1559 2012-11-16 David S. Miller <davem@davemloft.net>
1561 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
1562 smaller than LDBL_EPSILON/2.0L, just return xm1.
1564 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
1566 * elf/tst-array1.c (init): Set constructor priority to 1000.
1567 (fini): Set destructor priority to 1000.
1568 * elf/tst-array2dep.c: Likewise.
1570 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1573 * libio/fileops.c (_IO_new_file_write): Correctly return error.
1574 (_IO_new_file_xsputn): Also return EOF if none of the input
1575 data was written when overflow failed.
1576 * libio/iopadn.c (_IO_padn): Likewise.
1577 * libio/iowpadn.c (_IO_wpadn): Likewise.
1578 * stdio-common/tst-put-error.c: Add copyright notice.
1579 (do_test): Add case for printing padded string.
1580 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
1581 _IO_padn returned error.
1582 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
1583 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
1586 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1588 * libio/libioP.h: Add comment note that the references to C++
1589 bits are now obsolete.
1591 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1593 * math/libm-test.inc (check_complex): Use asprintf.
1595 2012-11-14 Joseph Myers <joseph@codesourcery.com>
1597 * debug/pcprofiledump.c (print_version): Update copyright year.
1598 * malloc/memusagestat.c (print_version): Likewise.
1600 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
1603 * elf/Makefile (tests): Add tst-audit8.
1604 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
1605 ($(objpfx)tst-audit8.out): New target.
1606 (tst-audit8-ENV): New variable.
1607 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
1608 audit if l_reloc_result is NULL.
1609 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
1610 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
1611 * elf/tst-audit8.c: New file.
1613 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1615 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
1616 * misc/Makefile (CFLAGS-select.c): Define.
1617 * posix/Makefile (CFLAGS-pause.c): Define.
1619 2012-11-13 David S. Miller <davem@davemloft.net>
1621 * crypt/Makefile: Move test targets after toplevel Rules
1622 inclusion. Grab any necessary sysdep routines when linking.
1623 * crypt/md5.c (md5_process_block): Remove define, we will always
1624 name it __md5_process_block.
1625 (md5_finish_ctx): Update md5_process_block call.
1626 (md5_stream): Likewise.
1627 (md5_process_bytes): Likewise.
1628 (md5_process_block): Rename to __md5_process_block and move to ...
1629 * crypt/md5-block.c: ... here.
1630 * crypt/sha256.c (sha256_process_block): Move to ...
1631 * crypt/sha256-block.c: ... here.
1632 * crypt/sha512.c (sha512_process_block): Move to ...
1633 * crypt/sha512-block.c: ... here.
1634 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
1636 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
1637 * sysdeps/sparc/sparc64/multiarch/Makefile
1638 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
1640 (localedef-aux): Add md5 crypto assembler when in locale subdir.
1641 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
1643 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
1644 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
1645 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
1646 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
1647 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
1648 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
1649 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
1650 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
1651 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
1653 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
1654 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
1656 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
1658 2012-11-13 Joseph Myers <joseph@codesourcery.com>
1660 * timezone/tzselect.ksh: Update from tzcode git revision
1661 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
1662 * timezone/zdump.c: Likewise.
1663 * timezone/zic.c: Likewise.
1664 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
1665 in TZVERSION setting, not $(PKGVERSION).
1666 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
1667 REPORT_BUGS_TO settings.
1670 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
1673 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1675 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
1676 detection to immediately after _FP_ROUND().
1677 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
1680 2012-11-11 David S. Miller <davem@davemloft.net>
1682 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
1684 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
1685 __close rather than their public counterparts.
1687 2012-11-10 Joseph Myers <joseph@codesourcery.com>
1689 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
1691 [UNIX98] (sem_timedwait): Do not expect.
1692 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
1693 [XPG4 || UNIX98] (sockatmark): Do not expect.
1694 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
1695 (clock_getcpuclockid): Do not expect.
1696 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
1697 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
1699 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
1700 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
1701 [UNIX98] (vwscanf): Likewise.
1702 [UNIX98] (vswscanf): Likewise.
1704 2012-11-09 Joseph Myers <joseph@codesourcery.com>
1706 * timezone/version.h: Remove file.
1707 * timezone/README: Do not refer to version.h.
1708 * timezone/Makefile ($(objpfx)zic.o): New dependency on
1710 ($(objpfx)zdump.o): Likewise.
1711 ($(objpfx)version.h): New target.
1713 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
1715 * timezone/README: Don't mention modification to tzselect.ksh.
1716 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
1717 work on unmodified tzselect.ksh. Substitute version numbers in
1720 * Makefile (format-me): Remove.
1721 (INSTALL): Adjust indentation. Use commands directly instead of
1724 * aclocal.m4 (ACX_PKGVERSION): New macro.
1725 (ACX_BUGURL): Likewise.
1726 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
1727 (PKGVERSION): New AC_DEFINE_UNQUOTED.
1728 (REPORT_BUGS_TO): Likewise.
1729 * configure: Regenerated.
1730 * config.h.in (PKGVERSION): New macro.
1731 (REPORT_BUGS_TO): Likewise.
1732 * config.make.in (PKGVERSION): New variable.
1733 (PKGVERSION_TEXI): Likewise.
1734 (REPORT_BUGS_TO): Likewise.
1735 (REPORT_BUGS_TEXI): Likewise.
1736 * Makefile (format-me): Use -I$(common-objpfx)manual.
1737 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
1738 ($(common-objpfx)manual/%): New target.
1739 (manual/%): Remove target.
1740 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
1741 (print_version): Use PKGVERSION.
1742 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
1743 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
1745 ($(objpfx)xtrace): Likewise.
1746 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
1747 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
1748 (print_version): Use PKGVERSION.
1749 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
1750 (do_version): Use PKGVERSION.
1751 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
1753 (common-ldd-rewrite): Likewise.
1754 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
1755 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
1756 (print_version): Use PKGVERSION.
1757 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
1758 * elf/pldd.c (argp_program_bug_address): Remove variable.
1759 (more_help): New function.
1760 (argp): Use more_help.
1761 (print_version): Use PKGVERSION.
1762 * elf/sln.c (main): Use PKGVERSION.
1763 (usage): Use REPORT_BUGS_TO.
1764 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
1765 (top level): Use PKGVERSION.
1766 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
1767 (print_version): Use PKGVERSION.
1768 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
1769 (print_version): Use PKGVERSION.
1770 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
1771 (print_version): Use PKGVERSION.
1772 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
1773 (print_version): Use PKGVERSION.
1774 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
1775 (print_version): Use PKGVERSION.
1776 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
1777 (print_version): Use PKGVERSION.
1778 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
1780 ($(objpfx)memusage): Likewise.
1781 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
1782 (do_version): Use PKGVERSION.
1783 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
1784 (print_version): Use PKGVERSION.
1785 * malloc/mtrace.pl ($PACKAGE): Remove variable.
1786 ($PKGVERSION): New variable.
1787 ($REPORT_BUGS_TO): Likewise.
1788 (usage): Use $REPORT_BUGS_TO.
1789 (top level): Use $PKGVERSION.
1790 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
1791 ($(objpfx)pkgvers.texi): New rule.
1792 ($(objpfx)stamp-pkgvers): Likewise.
1793 * manual/install.texi: Include pkgvers.texi.
1794 (--with-pkgversion): Document new configure option.
1795 (--with-bugurl): Likewise.
1796 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
1797 than necessarily for this particular distribution. Use
1798 REPORT_BUGS_TO for where to report bugs.
1799 * INSTALL: Regenerated.
1800 * manual/libc.texinfo: Include pkgvers.texi.
1801 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
1802 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
1803 (print_version): Use PKGVERSION.
1804 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
1805 (print_version): Use PKGVERSION.
1806 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
1807 (print_version): Use PKGVERSION.
1808 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
1809 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
1811 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
1812 (print_version): Use PKGVERSION.
1813 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
1814 (print_version): Use PKGVERSION.
1815 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
1818 * timezone/checktab.awk: Update from tzcode 2012i.
1819 * timezone/ialloc.c: Likewise.
1820 * timezone/private.h: Likewise.
1821 * timezone/scheck.c: Likewise.
1822 * timezone/tzfile.h: Likewise.
1823 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
1824 (TZVERSION): Hardcode tzcode version number.
1825 * timezone/zdump.c: Update from tzcode 2012i.
1826 * timezone/zic.c: Likewise.
1827 * timezone/version.h: New file.
1828 * timezone/README: Describe version.h. Update upstream location.
1831 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
1832 (mktemp): Enable declaration.
1833 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
1834 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
1835 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
1836 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
1838 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
1840 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
1842 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
1844 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
1846 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
1850 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
1851 offset in buffer as u_int32_t not u_long. Consistently use memcpy
1852 for copies of such integer values.
1853 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
1854 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
1856 2012-11-09 Andreas Jaeger <aj@suse.de>
1858 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
1859 definitions and declarations that are provided by
1860 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
1862 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1864 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
1865 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
1866 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
1869 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1871 * elf/elf.h: Update comment before AArch64 relocations.
1873 2012-11-07 David S. Miller <davem@davemloft.net>
1875 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
1876 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1877 (__start_context): Declare.
1878 (__makecontext_ret): Delete.
1879 (__makecontext): Hook up __start_context instead of
1881 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1882 (sysdep_routines): Add __start_context when in stdlib.
1884 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1886 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
1887 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
1888 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
1890 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
1891 (READELF): New variable. Use it instead of hardcoded "readelf".
1893 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
1895 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
1896 * sysdeps/x86/Makefile: Here.
1897 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
1898 * sysdeps/x86/tst-xmmymm.sh: This.
1900 2012-11-07 Joseph Myers <joseph@codesourcery.com>
1902 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
1904 [UNIX98] (pthread_barrier_t): Do not expect.
1905 [UNIX98] (pthread_barrierattr_t): Likewise.
1906 [UNIX98] (pthread_spinlock_t): Likewise.
1907 [UNIX98] (pthread_barrier_destroy): Likewise.
1908 [UNIX98] (pthread_barrier_init): Likewise.
1909 [UNIX98] (pthread_barrier_wait): Likewise.
1910 [UNIX98] (pthread_barrierattr_destroy): Likewise.
1911 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
1912 [UNIX98] (pthread_barrierattr_init): Likewise.
1913 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
1914 [UNIX98] (pthread_getcpuclockid): Likewise.
1915 [UNIX98] (pthread_mutex_timedlock): Likewise.
1916 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
1917 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
1918 [UNIX98] (pthread_sigmask): Likewise.
1919 [UNIX98] (pthread_spin_destroy): Likewise.
1920 [UNIX98] (pthread_spin_init): Likewise.
1921 [UNIX98] (pthread_spin_lock): Likewise.
1922 [UNIX98] (pthread_spin_trylock): Likewise.
1923 [UNIX98] (pthread_spin_unlock): Likewise.
1924 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
1926 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
1927 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
1928 [XPG3 || XPG4] (pthread_cond_t): Likewise.
1929 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
1930 [XPG3 || XPG4] (pthread_key_t): Likewise.
1931 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
1932 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
1933 [XPG3 || XPG4] (pthread_once_t): Likewise.
1934 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
1935 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
1936 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
1937 [XPG3 || XPG4] (pthread_t): Likewise.
1939 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
1941 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
1943 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
1944 Change function return type to int.
1946 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
1947 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
1948 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
1949 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
1950 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
1951 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
1952 [!POSIX] (posix_madvise): Likewise.
1953 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
1955 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
1956 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
1958 (posix_mem_offset): Likewise.
1959 (posix_typed_mem_get_info): Likewise.
1960 (posix_typed_mem_open): Likewise.
1962 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
1963 Change condition to [XOPEN2K8].
1965 * conform/conformtest.pl: Preprocess allow-header data with -x c
1966 instead of from stdin.
1967 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
1968 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
1969 [C99-based standards] (cerfc): Likewise.
1970 [C99-based standards] (cexp2): Likewise.
1971 [C99-based standards] (cexpm1): Likewise.
1972 [C99-based standards] (clog10): Likewise.
1973 [C99-based standards] (clog1p): Likewise.
1974 [C99-based standards] (clog2): Likewise.
1975 [C99-based standards] (clgamma): Likewise.
1976 [C99-based standards] (ctgamma): Likewise.
1977 [C99-based standards] (cerff): Likewise.
1978 [C99-based standards] (cerfcf): Likewise.
1979 [C99-based standards] (cexp2f): Likewise.
1980 [C99-based standards] (cexpm1f): Likewise.
1981 [C99-based standards] (clog10f): Likewise.
1982 [C99-based standards] (clog1pf): Likewise.
1983 [C99-based standards] (clog2f): Likewise.
1984 [C99-based standards] (clgammaf): Likewise.
1985 [C99-based standards] (ctgammaf): Likewise.
1986 [C99-based standards] (cerfl): Likewise.
1987 [C99-based standards] (cerfcl): Likewise.
1988 [C99-based standards] (cexp2l): Likewise.
1989 [C99-based standards] (cexpm1l): Likewise.
1990 [C99-based standards] (clog10l): Likewise.
1991 [C99-based standards] (clog1pl): Likewise.
1992 [C99-based standards] (clog2l): Likewise.
1993 [C99-based standards] (clgammal): Likewise.
1994 [C99-based standards] (ctgammal): Likewise.
1995 * conform/data/inttypes.h-data [C99-based standards]: Include
1996 stdint.h-data. Remove all expectations for stdint.h contents.
1997 [C99-based standards] (PRI*): Do not allow.
1998 [C99-based standards] (SCN*): Likewise.
1999 [C99-based standards] (*_t): Likewise.
2000 [C99-based-standards] (PRId8): Expect macro.
2001 [C99-based-standards] (PRIi8): Likewise.
2002 [C99-based-standards] (PRIo8): Likewise.
2003 [C99-based-standards] (PRIu8): Likewise.
2004 [C99-based-standards] (PRIx8): Likewise.
2005 [C99-based-standards] (PRIX8): Likewise.
2006 [C99-based-standards] (SCNd8): Likewise.
2007 [C99-based-standards] (SCNi8): Likewise.
2008 [C99-based-standards] (SCNo8): Likewise.
2009 [C99-based-standards] (SCNu8): Likewise.
2010 [C99-based-standards] (SCNx8): Likewise.
2011 [C99-based-standards] (PRIdLEAST8): Likewise.
2012 [C99-based-standards] (PRIiLEAST8): Likewise.
2013 [C99-based-standards] (PRIoLEAST8): Likewise.
2014 [C99-based-standards] (PRIuLEAST8): Likewise.
2015 [C99-based-standards] (PRIxLEAST8): Likewise.
2016 [C99-based-standards] (PRIXLEAST8): Likewise.
2017 [C99-based-standards] (SCNdLEAST8): Likewise.
2018 [C99-based-standards] (SCNiLEAST8): Likewise.
2019 [C99-based-standards] (SCNoLEAST8): Likewise.
2020 [C99-based-standards] (SCNuLEAST8): Likewise.
2021 [C99-based-standards] (SCNxLEAST8): Likewise.
2022 [C99-based-standards] (PRIdFAST8): Likewise.
2023 [C99-based-standards] (PRIiFAST8): Likewise.
2024 [C99-based-standards] (PRIoFAST8): Likewise.
2025 [C99-based-standards] (PRIuFAST8): Likewise.
2026 [C99-based-standards] (PRIxFAST8): Likewise.
2027 [C99-based-standards] (PRIXFAST8): Likewise.
2028 [C99-based-standards] (SCNdFAST8): Likewise.
2029 [C99-based-standards] (SCNiFAST8): Likewise.
2030 [C99-based-standards] (SCNoFAST8): Likewise.
2031 [C99-based-standards] (SCNuFAST8): Likewise.
2032 [C99-based-standards] (SCNxFAST8): Likewise.
2033 [C99-based-standards] (PRId16): Likewise.
2034 [C99-based-standards] (PRIi16): Likewise.
2035 [C99-based-standards] (PRIo16): Likewise.
2036 [C99-based-standards] (PRIu16): Likewise.
2037 [C99-based-standards] (PRIx16): Likewise.
2038 [C99-based-standards] (PRIX16): Likewise.
2039 [C99-based-standards] (SCNd16): Likewise.
2040 [C99-based-standards] (SCNi16): Likewise.
2041 [C99-based-standards] (SCNo16): Likewise.
2042 [C99-based-standards] (SCNu16): Likewise.
2043 [C99-based-standards] (SCNx16): Likewise.
2044 [C99-based-standards] (PRIdLEAST16): Likewise.
2045 [C99-based-standards] (PRIiLEAST16): Likewise.
2046 [C99-based-standards] (PRIoLEAST16): Likewise.
2047 [C99-based-standards] (PRIuLEAST16): Likewise.
2048 [C99-based-standards] (PRIxLEAST16): Likewise.
2049 [C99-based-standards] (PRIXLEAST16): Likewise.
2050 [C99-based-standards] (SCNdLEAST16): Likewise.
2051 [C99-based-standards] (SCNiLEAST16): Likewise.
2052 [C99-based-standards] (SCNoLEAST16): Likewise.
2053 [C99-based-standards] (SCNuLEAST16): Likewise.
2054 [C99-based-standards] (SCNxLEAST16): Likewise.
2055 [C99-based-standards] (PRIdFAST16): Likewise.
2056 [C99-based-standards] (PRIiFAST16): Likewise.
2057 [C99-based-standards] (PRIoFAST16): Likewise.
2058 [C99-based-standards] (PRIuFAST16): Likewise.
2059 [C99-based-standards] (PRIxFAST16): Likewise.
2060 [C99-based-standards] (PRIXFAST16): Likewise.
2061 [C99-based-standards] (SCNdFAST16): Likewise.
2062 [C99-based-standards] (SCNiFAST16): Likewise.
2063 [C99-based-standards] (SCNoFAST16): Likewise.
2064 [C99-based-standards] (SCNuFAST16): Likewise.
2065 [C99-based-standards] (SCNxFAST16): Likewise.
2066 [C99-based-standards] (PRId32): Likewise.
2067 [C99-based-standards] (PRIi32): Likewise.
2068 [C99-based-standards] (PRIo32): Likewise.
2069 [C99-based-standards] (PRIu32): Likewise.
2070 [C99-based-standards] (PRIx32): Likewise.
2071 [C99-based-standards] (PRIX32): Likewise.
2072 [C99-based-standards] (SCNd32): Likewise.
2073 [C99-based-standards] (SCNi32): Likewise.
2074 [C99-based-standards] (SCNo32): Likewise.
2075 [C99-based-standards] (SCNu32): Likewise.
2076 [C99-based-standards] (SCNx32): Likewise.
2077 [C99-based-standards] (PRIdLEAST32): Likewise.
2078 [C99-based-standards] (PRIiLEAST32): Likewise.
2079 [C99-based-standards] (PRIoLEAST32): Likewise.
2080 [C99-based-standards] (PRIuLEAST32): Likewise.
2081 [C99-based-standards] (PRIxLEAST32): Likewise.
2082 [C99-based-standards] (PRIXLEAST32): Likewise.
2083 [C99-based-standards] (SCNdLEAST32): Likewise.
2084 [C99-based-standards] (SCNiLEAST32): Likewise.
2085 [C99-based-standards] (SCNoLEAST32): Likewise.
2086 [C99-based-standards] (SCNuLEAST32): Likewise.
2087 [C99-based-standards] (SCNxLEAST32): Likewise.
2088 [C99-based-standards] (PRIdFAST32): Likewise.
2089 [C99-based-standards] (PRIiFAST32): Likewise.
2090 [C99-based-standards] (PRIoFAST32): Likewise.
2091 [C99-based-standards] (PRIuFAST32): Likewise.
2092 [C99-based-standards] (PRIxFAST32): Likewise.
2093 [C99-based-standards] (PRIXFAST32): Likewise.
2094 [C99-based-standards] (SCNdFAST32): Likewise.
2095 [C99-based-standards] (SCNiFAST32): Likewise.
2096 [C99-based-standards] (SCNoFAST32): Likewise.
2097 [C99-based-standards] (SCNuFAST32): Likewise.
2098 [C99-based-standards] (SCNxFAST32): Likewise.
2099 [C99-based-standards] (PRId64): Likewise.
2100 [C99-based-standards] (PRIi64): Likewise.
2101 [C99-based-standards] (PRIo64): Likewise.
2102 [C99-based-standards] (PRIu64): Likewise.
2103 [C99-based-standards] (PRIx64): Likewise.
2104 [C99-based-standards] (PRIX64): Likewise.
2105 [C99-based-standards] (SCNd64): Likewise.
2106 [C99-based-standards] (SCNi64): Likewise.
2107 [C99-based-standards] (SCNo64): Likewise.
2108 [C99-based-standards] (SCNu64): Likewise.
2109 [C99-based-standards] (SCNx64): Likewise.
2110 [C99-based-standards] (PRIdLEAST64): Likewise.
2111 [C99-based-standards] (PRIiLEAST64): Likewise.
2112 [C99-based-standards] (PRIoLEAST64): Likewise.
2113 [C99-based-standards] (PRIuLEAST64): Likewise.
2114 [C99-based-standards] (PRIxLEAST64): Likewise.
2115 [C99-based-standards] (PRIXLEAST64): Likewise.
2116 [C99-based-standards] (SCNdLEAST64): Likewise.
2117 [C99-based-standards] (SCNiLEAST64): Likewise.
2118 [C99-based-standards] (SCNoLEAST64): Likewise.
2119 [C99-based-standards] (SCNuLEAST64): Likewise.
2120 [C99-based-standards] (SCNxLEAST64): Likewise.
2121 [C99-based-standards] (PRIdFAST64): Likewise.
2122 [C99-based-standards] (PRIiFAST64): Likewise.
2123 [C99-based-standards] (PRIoFAST64): Likewise.
2124 [C99-based-standards] (PRIuFAST64): Likewise.
2125 [C99-based-standards] (PRIxFAST64): Likewise.
2126 [C99-based-standards] (PRIXFAST64): Likewise.
2127 [C99-based-standards] (SCNdFAST64): Likewise.
2128 [C99-based-standards] (SCNiFAST64): Likewise.
2129 [C99-based-standards] (SCNoFAST64): Likewise.
2130 [C99-based-standards] (SCNuFAST64): Likewise.
2131 [C99-based-standards] (SCNxFAST64): Likewise.
2132 [C99-based-standards] (PRIdMAX): Likewise.
2133 [C99-based-standards] (PRIiMAX): Likewise.
2134 [C99-based-standards] (PRIoMAX): Likewise.
2135 [C99-based-standards] (PRIuMAX): Likewise.
2136 [C99-based-standards] (PRIxMAX): Likewise.
2137 [C99-based-standards] (PRIXMAX): Likewise.
2138 [C99-based-standards] (SCNdMAX): Likewise.
2139 [C99-based-standards] (SCNiMAX): Likewise.
2140 [C99-based-standards] (SCNoMAX): Likewise.
2141 [C99-based-standards] (SCNuMAX): Likewise.
2142 [C99-based-standards] (SCNxMAX): Likewise.
2143 [C99-based-standards] (PRIdPTR): Likewise.
2144 [C99-based-standards] (PRIiPTR): Likewise.
2145 [C99-based-standards] (PRIoPTR): Likewise.
2146 [C99-based-standards] (PRIuPTR): Likewise.
2147 [C99-based-standards] (PRIxPTR): Likewise.
2148 [C99-based-standards] (PRIXPTR): Likewise.
2149 [C99-based-standards] (SCNdPTR): Likewise.
2150 [C99-based-standards] (SCNiPTR): Likewise.
2151 [C99-based-standards] (SCNoPTR): Likewise.
2152 [C99-based-standards] (SCNuPTR): Likewise.
2153 [C99-based-standards] (SCNxPTR): Likewise.
2154 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
2156 * conform/data/stdint.h-data: Update comments to clarify
2158 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
2160 [C99-based standards] (INT8_MAX): Likewise.
2161 [C99-based standards] (INT16_MIN): Likewise.
2162 [C99-based standards] (INT16_MAX): Likewise.
2163 [C99-based standards] (INT32_MIN): Likewise.
2164 [C99-based standards] (INT32_MAX): Likewise.
2165 [C99-based standards] (INT64_MIN): Likewise.
2166 [C99-based standards] (INT64_MAX): Likewise.
2167 [C99-based standards] (UINT8_MAX): Likewise.
2168 [C99-based standards] (UINT16_MAX): Likewise.
2169 [C99-based standards] (UINT32_MAX): Likewise.
2170 [C99-based standards] (UINT64_MAX): Likewise.
2171 [C99-based standards] (INT_LEAST8_MIN): Likewise.
2172 [C99-based standards] (INT_LEAST8_MAX): Likewise.
2173 [C99-based standards] (INT_LEAST16_MIN): Likewise.
2174 [C99-based standards] (INT_LEAST16_MAX): Likewise.
2175 [C99-based standards] (INT_LEAST32_MIN): Likewise.
2176 [C99-based standards] (INT_LEAST32_MAX): Likewise.
2177 [C99-based standards] (INT_LEAST64_MIN): Likewise.
2178 [C99-based standards] (INT_LEAST64_MAX): Likewise.
2179 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
2180 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
2181 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
2182 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
2183 [C99-based standards] (INT_FAST8_MIN): Likewise.
2184 [C99-based standards] (INT_FAST8_MAX): Likewise.
2185 [C99-based standards] (INT_FAST16_MIN): Likewise.
2186 [C99-based standards] (INT_FAST16_MAX): Likewise.
2187 [C99-based standards] (INT_FAST32_MIN): Likewise.
2188 [C99-based standards] (INT_FAST32_MAX): Likewise.
2189 [C99-based standards] (INT_FAST64_MIN): Likewise.
2190 [C99-based standards] (INT_FAST64_MAX): Likewise.
2191 [C99-based standards] (UINT_FAST8_MAX): Likewise.
2192 [C99-based standards] (UINT_FAST16_MAX): Likewise.
2193 [C99-based standards] (UINT_FAST32_MAX): Likewise.
2194 [C99-based standards] (UINT_FAST64_MAX): Likewise.
2195 [C99-based standards] (INTPTR_MIN): Likewise.
2196 [C99-based standards] (INTPTR_MAX): Likewise.
2197 [C99-based standards] (UINTPTR_MAX): Likewise.
2198 [C99-based standards] (INTMAX_MIN): Likewise.
2199 [C99-based standards] (INTMAX_MAX): Likewise.
2200 [C99-based standards] (UINTMAX_MAX): Likewise.
2201 [C99-based standards] (PTRDIFF_MIN): Likewise.
2202 [C99-based standards] (PTRDIFF_MAX): Likewise.
2203 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
2204 [C99-based standards] (SIZE_MAX): Likewise.
2205 [C99-based standards] (WCHAR_MAX): Likewise.
2206 [C99-based standards] (WINT_MAX): Likewise.
2207 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
2208 constraint on value.
2209 [C99-based standards] (WCHAR_MIN): Likewise.
2210 [C99-based standards] (WINT_MIN): Likewise.
2211 [C99-based standards] (*_t): Allow.
2212 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
2213 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
2214 Include math.h-data and complex.h-data. Remove all expectations
2215 of math.h and complex.h contents.
2216 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
2218 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
2219 (struct tm): Expect tag.
2220 [C99-based-standards] (wcstof): Expect function.
2221 [C99-based-standards] (wcstold): Likewise.
2222 [C99-based-standards] (wcstoll): Likewise.
2223 [C99-based-standards] (wcstoull): Likewise.
2224 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
2225 macro-int-constant. Specify type.
2226 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
2227 constraint on value.
2228 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2230 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
2232 [ISO C standards]: Do not allow headers.
2233 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
2234 wcs[abcdefghijklmnopqrstuvwxyz]*.
2235 [ISO C standards] (*_t): Do not allow.
2236 * conform/data/wctype.h-data [C99-based standards] (iswblank):
2238 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
2239 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
2241 [ISO C standards]: Do not allow headers.
2242 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
2243 is[abcdefghijklmnopqrstuvwxyz]*.
2244 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
2245 to[abcdefghijklmnopqrstuvwxyz]*.
2246 [ISO C standards] (*_t): Do not allow.
2247 * conform/data/stdalign.h-data: New file.
2248 * conform/data/stdbool.h-data: Likewise.
2249 * conform/data/stdnoreturn.h-data: Likewise.
2251 2012-11-07 Roland McGrath <roland@hack.frob.com>
2254 * manual/filesys.texi (Directory Entries): Typo fix.
2255 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
2257 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2259 * elf/elf.h (EM_AARCH64): New macro.
2260 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
2261 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
2262 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
2263 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
2264 (R_AARCH64_TLSDESC): Likewise.
2265 (NT_ARM_TLS): Likewise.
2266 (NT_ARM_HW_BREAK): Likewise.
2267 (NT_ARM_HW_WATCH): Likewise.
2269 2012-11-07 Joseph Myers <joseph@codesourcery.com>
2272 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
2273 (__ieee754_powl): Saturate nonzero exponents with absolute value
2274 below 0x1p-79 to +/- 0x1p-79.
2275 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
2276 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
2277 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
2278 nonzero exponents with absolute value below 0x1p-32 to +/-
2280 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
2281 (__ieee754_powl): Saturate nonzero exponents with absolute value
2282 below 0x1p-79 to +/- 0x1p-79.
2283 * math/libm-test.inc (pow_test): Add more tests.
2285 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2287 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
2288 _dl_s390_cap_flags with kernel. Increase string length.
2289 (_dl_s390_platforms): Add z196 and zEC12.
2291 2012-11-07 Joseph Myers <joseph@codesourcery.com>
2293 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
2294 Change XOPEN21K to XOPEN2K.
2296 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
2298 * string/memmove.c: Use memcpy when possible.
2300 2012-11-06 Andreas Jaeger <aj@suse.de>
2302 * po/eo.po: Update from translation team.
2304 2012-11-06 Joseph Myers <joseph@codesourcery.com>
2307 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
2308 exponent and small x and y exponents, scale x or y up. Increase
2309 by 2 the exponent used in scaling up.
2310 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2311 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2312 * math/libm-test.inc (fma_test): Add more tests.
2313 (fma_test_towardzero): Likewise.
2314 (fma_test_downward): Likewise.
2315 (fma_test_upward): Likewise.
2317 2012-11-05 Joseph Myers <joseph@codesourcery.com>
2320 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
2324 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
2325 namespace for names of struct fields.
2326 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
2328 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2329 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
2331 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2334 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
2336 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2338 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
2342 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
2345 2012-11-04 Joseph Myers <joseph@codesourcery.com>
2348 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
2349 definitely overflow as x * y not x * y + z.
2350 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2351 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2352 * math/libm-test.inc (fma_test): Add more tests.
2353 (fma_test_towardzero): Likewise.
2354 (fma_test_downward): Likewise.
2355 (fma_test_upward): Likewise.
2357 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
2361 * include/stub-tag.h: Remove file.
2362 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
2364 * manual/maint.texi (Porting): Don't reference it.
2365 * Makerules ($(objpfx)stubs): Likewise.
2366 * dirent/closedir.c: Don't include <stub-tag.h>.
2367 * dirent/dirfd.c: Likewise.
2368 * dirent/fdopendir.c: Likewise.
2369 * dirent/getdents.c: Likewise.
2370 * dirent/getdents64.c: Likewise.
2371 * dirent/opendir.c: Likewise.
2372 * dirent/readdir.c: Likewise.
2373 * dirent/readdir64.c: Likewise.
2374 * dirent/readdir64_r.c: Likewise.
2375 * dirent/readdir_r.c: Likewise.
2376 * dirent/rewinddir.c: Likewise.
2377 * dirent/seekdir.c: Likewise.
2378 * dirent/telldir.c: Likewise.
2379 * gmon/profil.c: Likewise.
2380 * grp/setgroups.c: Likewise.
2381 * inet/if_index.c: Likewise.
2382 * io/access.c: Likewise.
2383 * io/chdir.c: Likewise.
2384 * io/chmod.c: Likewise.
2385 * io/chown.c: Likewise.
2386 * io/close.c: Likewise.
2387 * io/dup.c: Likewise.
2388 * io/dup2.c: Likewise.
2389 * io/dup3.c: Likewise.
2390 * io/euidaccess.c: Likewise.
2391 * io/faccessat.c: Likewise.
2392 * io/fchdir.c: Likewise.
2393 * io/fchmod.c: Likewise.
2394 * io/fchmodat.c: Likewise.
2395 * io/fchown.c: Likewise.
2396 * io/fchownat.c: Likewise.
2397 * io/fcntl.c: Likewise.
2398 * io/flock.c: Likewise.
2399 * io/fstatfs.c: Likewise.
2400 * io/fstatfs64.c: Likewise.
2401 * io/fstatvfs.c: Likewise.
2402 * io/fstatvfs64.c: Likewise.
2403 * io/futimens.c: Likewise.
2404 * io/fxstat.c: Likewise.
2405 * io/fxstat64.c: Likewise.
2406 * io/fxstatat.c: Likewise.
2407 * io/fxstatat64.c: Likewise.
2408 * io/getcwd.c: Likewise.
2409 * io/isatty.c: Likewise.
2410 * io/lchmod.c: Likewise.
2411 * io/lchown.c: Likewise.
2412 * io/link.c: Likewise.
2413 * io/linkat.c: Likewise.
2414 * io/lseek.c: Likewise.
2415 * io/lseek64.c: Likewise.
2416 * io/lxstat64.c: Likewise.
2417 * io/mkdir.c: Likewise.
2418 * io/mkdirat.c: Likewise.
2419 * io/mkfifo.c: Likewise.
2420 * io/mkfifoat.c: Likewise.
2421 * io/open.c: Likewise.
2422 * io/open64.c: Likewise.
2423 * io/openat.c: Likewise.
2424 * io/openat64.c: Likewise.
2425 * io/pipe.c: Likewise.
2426 * io/pipe2.c: Likewise.
2427 * io/poll.c: Likewise.
2428 * io/posix_fadvise.c: Likewise.
2429 * io/posix_fadvise64.c: Likewise.
2430 * io/posix_fallocate.c: Likewise.
2431 * io/posix_fallocate64.c: Likewise.
2432 * io/read.c: Likewise.
2433 * io/readlink.c: Likewise.
2434 * io/readlinkat.c: Likewise.
2435 * io/rmdir.c: Likewise.
2436 * io/sendfile.c: Likewise.
2437 * io/sendfile64.c: Likewise.
2438 * io/statfs.c: Likewise.
2439 * io/statfs64.c: Likewise.
2440 * io/statvfs.c: Likewise.
2441 * io/statvfs64.c: Likewise.
2442 * io/symlink.c: Likewise.
2443 * io/symlinkat.c: Likewise.
2444 * io/ttyname.c: Likewise.
2445 * io/ttyname_r.c: Likewise.
2446 * io/umask.c: Likewise.
2447 * io/unlink.c: Likewise.
2448 * io/unlinkat.c: Likewise.
2449 * io/utime.c: Likewise.
2450 * io/utimensat.c: Likewise.
2451 * io/write.c: Likewise.
2452 * io/xmknod.c: Likewise.
2453 * io/xmknodat.c: Likewise.
2454 * io/xstat.c: Likewise.
2455 * io/xstat64.c: Likewise.
2456 * login/getpt.c: Likewise.
2457 * login/grantpt.c: Likewise.
2458 * login/unlockpt.c: Likewise.
2459 * math/e_acoshl.c: Likewise.
2460 * math/e_acosl.c: Likewise.
2461 * math/e_asinl.c: Likewise.
2462 * math/e_atan2l.c: Likewise.
2463 * math/e_atanhl.c: Likewise.
2464 * math/e_coshl.c: Likewise.
2465 * math/e_expl.c: Likewise.
2466 * math/e_fmodl.c: Likewise.
2467 * math/e_gammal_r.c: Likewise.
2468 * math/e_hypotl.c: Likewise.
2469 * math/e_j0l.c: Likewise.
2470 * math/e_j1l.c: Likewise.
2471 * math/e_jnl.c: Likewise.
2472 * math/e_lgammal_r.c: Likewise.
2473 * math/e_log10l.c: Likewise.
2474 * math/e_log2l.c: Likewise.
2475 * math/e_logl.c: Likewise.
2476 * math/e_powl.c: Likewise.
2477 * math/e_rem_pio2l.c: Likewise.
2478 * math/e_sinhl.c: Likewise.
2479 * math/e_sqrtl.c: Likewise.
2480 * math/fclrexcpt.c: Likewise.
2481 * math/fedisblxcpt.c: Likewise.
2482 * math/feenablxcpt.c: Likewise.
2483 * math/fegetenv.c: Likewise.
2484 * math/fegetexcept.c: Likewise.
2485 * math/fegetround.c: Likewise.
2486 * math/feholdexcpt.c: Likewise.
2487 * math/fesetenv.c: Likewise.
2488 * math/fesetround.c: Likewise.
2489 * math/feupdateenv.c: Likewise.
2490 * math/fgetexcptflg.c: Likewise.
2491 * math/fraiseexcpt.c: Likewise.
2492 * math/fsetexcptflg.c: Likewise.
2493 * math/ftestexcept.c: Likewise.
2494 * math/k_cosl.c: Likewise.
2495 * math/k_rem_pio2l.c: Likewise.
2496 * math/k_sinl.c: Likewise.
2497 * math/k_tanl.c: Likewise.
2498 * math/s_asinhl.c: Likewise.
2499 * math/s_atanl.c: Likewise.
2500 * math/s_cbrtl.c: Likewise.
2501 * math/s_erfl.c: Likewise.
2502 * math/s_expm1l.c: Likewise.
2503 * math/s_log1pl.c: Likewise.
2504 * math/s_tanhl.c: Likewise.
2505 * misc/acct.c: Likewise.
2506 * misc/brk.c: Likewise.
2507 * misc/chflags.c: Likewise.
2508 * misc/chroot.c: Likewise.
2509 * misc/fchflags.c: Likewise.
2510 * misc/fgetxattr.c: Likewise.
2511 * misc/flistxattr.c: Likewise.
2512 * misc/fremovexattr.c: Likewise.
2513 * misc/fsetxattr.c: Likewise.
2514 * misc/fsync.c: Likewise.
2515 * misc/ftruncate.c: Likewise.
2516 * misc/futimes.c: Likewise.
2517 * misc/futimesat.c: Likewise.
2518 * misc/getdomain.c: Likewise.
2519 * misc/getdtsz.c: Likewise.
2520 * misc/gethostid.c: Likewise.
2521 * misc/gethostname.c: Likewise.
2522 * misc/getloadavg.c: Likewise.
2523 * misc/getpagesize.c: Likewise.
2524 * misc/getsysstats.c: Likewise.
2525 * misc/getxattr.c: Likewise.
2526 * misc/gtty.c: Likewise.
2527 * misc/ioctl.c: Likewise.
2528 * misc/lgetxattr.c: Likewise.
2529 * misc/listxattr.c: Likewise.
2530 * misc/llistxattr.c: Likewise.
2531 * misc/lremovexattr.c: Likewise.
2532 * misc/lsetxattr.c: Likewise.
2533 * misc/lutimes.c: Likewise.
2534 * misc/madvise.c: Likewise.
2535 * misc/mincore.c: Likewise.
2536 * misc/mlock.c: Likewise.
2537 * misc/mlockall.c: Likewise.
2538 * misc/mmap.c: Likewise.
2539 * misc/mprotect.c: Likewise.
2540 * misc/msync.c: Likewise.
2541 * misc/munlock.c: Likewise.
2542 * misc/munlockall.c: Likewise.
2543 * misc/munmap.c: Likewise.
2544 * misc/preadv.c: Likewise.
2545 * misc/preadv64.c: Likewise.
2546 * misc/ptrace.c: Likewise.
2547 * misc/pwritev.c: Likewise.
2548 * misc/pwritev64.c: Likewise.
2549 * misc/readv.c: Likewise.
2550 * misc/reboot.c: Likewise.
2551 * misc/remap_file_pages.c: Likewise.
2552 * misc/removexattr.c: Likewise.
2553 * misc/revoke.c: Likewise.
2554 * misc/select.c: Likewise.
2555 * misc/setdomain.c: Likewise.
2556 * misc/setegid.c: Likewise.
2557 * misc/seteuid.c: Likewise.
2558 * misc/sethostid.c: Likewise.
2559 * misc/sethostname.c: Likewise.
2560 * misc/setregid.c: Likewise.
2561 * misc/setreuid.c: Likewise.
2562 * misc/setxattr.c: Likewise.
2563 * misc/sstk.c: Likewise.
2564 * misc/stty.c: Likewise.
2565 * misc/swapoff.c: Likewise.
2566 * misc/swapon.c: Likewise.
2567 * misc/sync.c: Likewise.
2568 * misc/syncfs.c: Likewise.
2569 * misc/syscall.c: Likewise.
2570 * misc/truncate.c: Likewise.
2571 * misc/ualarm.c: Likewise.
2572 * misc/usleep.c: Likewise.
2573 * misc/ustat.c: Likewise.
2574 * misc/utimes.c: Likewise.
2575 * misc/vhangup.c: Likewise.
2576 * misc/writev.c: Likewise.
2577 * posix/_exit.c: Likewise.
2578 * posix/alarm.c: Likewise.
2579 * posix/execve.c: Likewise.
2580 * posix/fexecve.c: Likewise.
2581 * posix/fork.c: Likewise.
2582 * posix/fpathconf.c: Likewise.
2583 * posix/getaddrinfo.c: Likewise.
2584 * posix/getegid.c: Likewise.
2585 * posix/geteuid.c: Likewise.
2586 * posix/getgid.c: Likewise.
2587 * posix/getgroups.c: Likewise.
2588 * posix/getlogin.c: Likewise.
2589 * posix/getlogin_r.c: Likewise.
2590 * posix/getpgid.c: Likewise.
2591 * posix/getpid.c: Likewise.
2592 * posix/getppid.c: Likewise.
2593 * posix/getresgid.c: Likewise.
2594 * posix/getresuid.c: Likewise.
2595 * posix/getsid.c: Likewise.
2596 * posix/getuid.c: Likewise.
2597 * posix/glob64.c: Likewise.
2598 * posix/nanosleep.c: Likewise.
2599 * posix/pathconf.c: Likewise.
2600 * posix/pause.c: Likewise.
2601 * posix/posix_madvise.c: Likewise.
2602 * posix/pread.c: Likewise.
2603 * posix/pread64.c: Likewise.
2604 * posix/pwrite.c: Likewise.
2605 * posix/pwrite64.c: Likewise.
2606 * posix/sched_getaffinity.c: Likewise.
2607 * posix/sched_getp.c: Likewise.
2608 * posix/sched_gets.c: Likewise.
2609 * posix/sched_primax.c: Likewise.
2610 * posix/sched_primin.c: Likewise.
2611 * posix/sched_rr_gi.c: Likewise.
2612 * posix/sched_setaffinity.c: Likewise.
2613 * posix/sched_setp.c: Likewise.
2614 * posix/sched_sets.c: Likewise.
2615 * posix/sched_yield.c: Likewise.
2616 * posix/setgid.c: Likewise.
2617 * posix/setlogin.c: Likewise.
2618 * posix/setpgid.c: Likewise.
2619 * posix/setresgid.c: Likewise.
2620 * posix/setresuid.c: Likewise.
2621 * posix/setsid.c: Likewise.
2622 * posix/setuid.c: Likewise.
2623 * posix/sleep.c: Likewise.
2624 * posix/spawni.c: Likewise.
2625 * posix/sysconf.c: Likewise.
2626 * posix/times.c: Likewise.
2627 * posix/wait.c: Likewise.
2628 * posix/wait3.c: Likewise.
2629 * posix/wait4.c: Likewise.
2630 * posix/waitpid.c: Likewise.
2631 * resolv/gai_sigqueue.c: Likewise.
2632 * resource/getpriority.c: Likewise.
2633 * resource/getrlimit.c: Likewise.
2634 * resource/getrusage.c: Likewise.
2635 * resource/nice.c: Likewise.
2636 * resource/setpriority.c: Likewise.
2637 * resource/setrlimit.c: Likewise.
2638 * resource/ulimit.c: Likewise.
2639 * rt/aio_cancel.c: Likewise.
2640 * rt/aio_fsync.c: Likewise.
2641 * rt/aio_read.c: Likewise.
2642 * rt/aio_sigqueue.c: Likewise.
2643 * rt/aio_suspend.c: Likewise.
2644 * rt/aio_write.c: Likewise.
2645 * rt/clock_getres.c: Likewise.
2646 * rt/clock_gettime.c: Likewise.
2647 * rt/clock_nanosleep.c: Likewise.
2648 * rt/clock_settime.c: Likewise.
2649 * rt/lio_listio.c: Likewise.
2650 * rt/mq_close.c: Likewise.
2651 * rt/mq_getattr.c: Likewise.
2652 * rt/mq_notify.c: Likewise.
2653 * rt/mq_open.c: Likewise.
2654 * rt/mq_receive.c: Likewise.
2655 * rt/mq_send.c: Likewise.
2656 * rt/mq_setattr.c: Likewise.
2657 * rt/mq_timedreceive.c: Likewise.
2658 * rt/mq_timedsend.c: Likewise.
2659 * rt/mq_unlink.c: Likewise.
2660 * rt/shm_open.c: Likewise.
2661 * rt/shm_unlink.c: Likewise.
2662 * rt/timer_create.c: Likewise.
2663 * rt/timer_delete.c: Likewise.
2664 * rt/timer_getoverr.c: Likewise.
2665 * rt/timer_gettime.c: Likewise.
2666 * rt/timer_settime.c: Likewise.
2667 * setjmp/__longjmp.c: Likewise.
2668 * setjmp/setjmp.c: Likewise.
2669 * signal/kill.c: Likewise.
2670 * signal/killpg.c: Likewise.
2671 * signal/raise.c: Likewise.
2672 * signal/sigaction.c: Likewise.
2673 * signal/sigaltstack.c: Likewise.
2674 * signal/sigblock.c: Likewise.
2675 * signal/sigignore.c: Likewise.
2676 * signal/sigintr.c: Likewise.
2677 * signal/signal.c: Likewise.
2678 * signal/sigpause.c: Likewise.
2679 * signal/sigpending.c: Likewise.
2680 * signal/sigqueue.c: Likewise.
2681 * signal/sigreturn.c: Likewise.
2682 * signal/sigset.c: Likewise.
2683 * signal/sigsetmask.c: Likewise.
2684 * signal/sigstack.c: Likewise.
2685 * signal/sigsuspend.c: Likewise.
2686 * signal/sigtimedwait.c: Likewise.
2687 * signal/sigvec.c: Likewise.
2688 * signal/sigwait.c: Likewise.
2689 * signal/sigwaitinfo.c: Likewise.
2690 * signal/sysv_signal.c: Likewise.
2691 * socket/accept.c: Likewise.
2692 * socket/accept4.c: Likewise.
2693 * socket/bind.c: Likewise.
2694 * socket/connect.c: Likewise.
2695 * socket/getpeername.c: Likewise.
2696 * socket/getsockname.c: Likewise.
2697 * socket/getsockopt.c: Likewise.
2698 * socket/isfdtype.c: Likewise.
2699 * socket/listen.c: Likewise.
2700 * socket/recv.c: Likewise.
2701 * socket/recvfrom.c: Likewise.
2702 * socket/recvmsg.c: Likewise.
2703 * socket/send.c: Likewise.
2704 * socket/sendmsg.c: Likewise.
2705 * socket/sendto.c: Likewise.
2706 * socket/setsockopt.c: Likewise.
2707 * socket/shutdown.c: Likewise.
2708 * socket/sockatmark.c: Likewise.
2709 * socket/socket.c: Likewise.
2710 * socket/socketpair.c: Likewise.
2711 * stdio-common/ctermid.c: Likewise.
2712 * stdio-common/cuserid.c: Likewise.
2713 * stdio-common/remove.c: Likewise.
2714 * stdio-common/rename.c: Likewise.
2715 * stdio-common/renameat.c: Likewise.
2716 * stdio-common/tempname.c: Likewise.
2717 * stdlib/getcontext.c: Likewise.
2718 * stdlib/makecontext.c: Likewise.
2719 * stdlib/setcontext.c: Likewise.
2720 * stdlib/swapcontext.c: Likewise.
2721 * stdlib/system.c: Likewise.
2722 * streams/fattach.c: Likewise.
2723 * streams/fdetach.c: Likewise.
2724 * streams/getmsg.c: Likewise.
2725 * streams/getpmsg.c: Likewise.
2726 * streams/putmsg.c: Likewise.
2727 * streams/putpmsg.c: Likewise.
2728 * sysdeps/unix/bsd/getpt.c: Likewise.
2729 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
2730 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
2731 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
2734 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
2735 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
2736 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2737 * sysvipc/msgctl.c: Likewise.
2738 * sysvipc/msgget.c: Likewise.
2739 * sysvipc/msgrcv.c: Likewise.
2740 * sysvipc/msgsnd.c: Likewise.
2741 * sysvipc/semctl.c: Likewise.
2742 * sysvipc/semget.c: Likewise.
2743 * sysvipc/semop.c: Likewise.
2744 * sysvipc/semtimedop.c: Likewise.
2745 * sysvipc/shmat.c: Likewise.
2746 * sysvipc/shmctl.c: Likewise.
2747 * sysvipc/shmdt.c: Likewise.
2748 * sysvipc/shmget.c: Likewise.
2749 * termios/tcdrain.c: Likewise.
2750 * termios/tcflow.c: Likewise.
2751 * termios/tcflush.c: Likewise.
2752 * termios/tcgetattr.c: Likewise.
2753 * termios/tcgetpgrp.c: Likewise.
2754 * termios/tcsendbrk.c: Likewise.
2755 * termios/tcsetattr.c: Likewise.
2756 * termios/tcsetpgrp.c: Likewise.
2757 * time/adjtime.c: Likewise.
2758 * time/clock.c: Likewise.
2759 * time/getitimer.c: Likewise.
2760 * time/gettimeofday.c: Likewise.
2761 * time/setitimer.c: Likewise.
2762 * time/settimeofday.c: Likewise.
2763 * time/stime.c: Likewise.
2764 * time/time.c: Likewise.
2766 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
2768 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
2771 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
2773 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
2775 2012-11-03 Joseph Myers <joseph@codesourcery.com>
2778 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
2779 FE_TONEAREST before applying Dekker multiplication and Knuth
2780 addition. Clear inexact exceptions and check for exact zero
2782 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2783 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2784 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2785 * math/libm-test.inc (fma_test): Add more tests.
2786 (fma_test_towardzero): Likewise.
2787 (fma_test_downward): Likewise.
2788 (fma_test_upward): Likewise.
2789 * sysdeps/generic/math_private.h (default_libc_fesetround): New
2791 (libc_fesetround): New macro.
2792 (libc_fesetroundf): Likewise.
2793 (libc_fesetroundl): Likewise.
2794 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
2796 (libc_fesetround_387): Likewise.
2797 (libc_fesetroundf): New macro.
2798 (libc_fesetround): Likewise.
2799 (libc_fesetroundl): Likewise.
2800 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
2802 (libc_fesetroundf): New macro.
2803 (libc_fesetround): Likewise.
2804 (libc_fesetroundl): Likewise.
2805 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
2806 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
2807 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
2809 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
2810 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
2812 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
2813 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
2815 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
2819 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
2820 integer constant usable in #if and use that to give value to enum
2822 (FE_DIVBYZERO): Likewise.
2823 (FE_UNDERFLOW): Likewise.
2824 (FE_OVERFLOW): Likewise.
2825 (FE_INVALID): Likewise.
2826 (FE_INVALID_SNAN): Likewise.
2827 (FE_INVALID_ISI): Likewise.
2828 (FE_INVALID_IDI): Likewise.
2829 (FE_INVALID_ZDZ): Likewise.
2830 (FE_INVALID_IMZ): Likewise.
2831 (FE_INVALID_COMPARE): Likewise.
2832 (FE_INVALID_SOFTWARE): Likewise.
2833 (FE_INVALID_SQRT): Likewise.
2834 (FE_INVALID_INTEGER_CONVERSION): Likewise.
2835 (FE_TONEAREST): Likewise.
2836 (FE_TOWARDZERO): Likewise.
2837 (FE_UPWARD): Likewise.
2838 (FE_DOWNWARD): Likewise.
2839 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
2840 (FE_DIVBYZERO): Likewise.
2841 (FE_OVERFLOW): Likewise.
2842 (FE_UNDERFLOW): Likewise.
2843 (FE_INEXACT): Likewise.
2844 (FE_TONEAREST): Likewise.
2845 (FE_DOWNWARD): Likewise.
2846 (FE_UPWARD): Likewise.
2847 (FE_TOWARDZERO): Likewise.
2848 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
2849 (FE_UNDERFLOW): Likewise.
2850 (FE_OVERFLOW): Likewise.
2851 (FE_DIVBYZERO): Likewise.
2852 (FE_INVALID): Likewise.
2853 (FE_TONEAREST): Likewise.
2854 (FE_TOWARDZERO): Likewise.
2855 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
2856 (FE_OVERFLOW): Likewise.
2857 (FE_UNDERFLOW): Likewise.
2858 (FE_DIVBYZERO): Likewise.
2859 (FE_INEXACT): Likewise.
2860 (FE_TONEAREST): Likewise.
2861 (FE_TOWARDZERO): Likewise.
2862 (FE_UPWARD): Likewise.
2863 (FE_DOWNWARD): Likewise.
2864 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
2865 (FE_DIVBYZERO): Likewise.
2866 (FE_OVERFLOW): Likewise.
2867 (FE_UNDERFLOW): Likewise.
2868 (FE_INEXACT): Likewise.
2869 (FE_TONEAREST): Likewise.
2870 (FE_DOWNWARD): Likewise.
2871 (FE_UPWARD): Likewise.
2872 (FE_TOWARDZERO): Likewise.
2874 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
2876 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
2878 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
2880 * scripts/cross-test-ssh.sh (command): Use newlines to separate
2881 commands. Quote $PWD.
2882 (blacklist_exports): Don't use remove_newlines. Replace "declare
2884 (remove_newlines): Remove.
2886 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
2888 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
2889 * stdlib/stdlib.h (atof): Moved to ...
2890 * include/bits/stdlib-float.h: Here. New file.
2891 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
2892 * stdlib/bits/stdlib-float.h: New file.
2893 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
2895 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
2898 2012-11-02 Joseph Myers <joseph@codesourcery.com>
2900 * conform/conformtest.pl (@headers): Add fenv.h.
2901 * conform/data/fenv.h-data: New file.
2902 * include/fenv.h [_ISOMAC]: Disable all contents of file except
2903 include of <math/fenv.h>.
2905 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
2906 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
2907 && !UNIX98]. Enables tests for XOPEN2K8.
2908 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
2909 POSIX2008]: Likewise.
2911 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
2912 (struct rusage): Do not expect type or its members.
2915 * math/math.h (FP_NAN): Define macro to integer constant usable in
2916 #if and use that to give value to enum constant.
2917 (FP_INFINITE): Likewise.
2918 (FP_ZERO): Likewise.
2919 (FP_SUBNORMAL): Likewise.
2920 (FP_NORMAL): Likewise.
2922 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
2924 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
2925 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
2928 2012-11-02 Roland McGrath <roland@hack.frob.com>
2930 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
2931 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
2932 autoconf-time if not.
2933 * configure.in: Remove AC_PREREQ.
2935 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2937 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
2938 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
2939 of the internal implementation.
2941 2012-11-02 Joseph Myers <joseph@codesourcery.com>
2943 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
2944 except include of <misc/sys/syslog.h>.
2946 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
2949 function returns with a NULL context exit with zero.
2951 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2953 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
2955 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
2957 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
2958 (run_program_cmd): This.
2959 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
2960 (tst_langinfo): New variable. Use it.
2962 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
2964 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
2965 floating point opcodes.
2967 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2969 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
2972 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
2974 * sysdeps/mach/hurd/powerpc: Remove directory.
2975 * sysdeps/mach/powerpc: Likewise.
2977 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
2979 * scripts/check-local-headers.sh: Ignore c++ headers.
2981 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
2983 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
2984 __libc_cleanup_region_start argument.
2986 2012-11-01 Joseph Myers <joseph@codesourcery.com>
2990 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
2991 x * y using scaling, not as x * y + z.
2992 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
2993 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
2994 * math/libm-test.inc (fma_test): Add more tests.
2995 (fma_test_towardzero): Likewise.
2996 (fma_test_downward): Likewise.
2997 (fma_test_upward): Likewise.
2999 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
3001 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
3003 2012-10-31 Joseph Myers <joseph@codesourcery.com>
3005 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
3008 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
3010 * rt/tst-shm.c (worker): Correct checking for mmap failure.
3012 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3019 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3022 Fix the order of the list for glibc 2.17.
3023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3026 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
3028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3030 2012-10-31 Joseph Myers <joseph@codesourcery.com>
3033 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
3034 for low part of x being zero before using __atanl (y).
3035 * math/libm-test.inc (atan2_test): Add another test.
3037 * manual/install.texi (Configuring and compiling): Document
3038 general use of test-wrapper and test-wrapper-env.
3039 * INSTALL: Regenerated.
3041 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
3042 (__fma): Do not extract and scale down low bits on after-rounding
3043 systems when result rounded to normal precision would have normal
3045 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
3046 (__fmal): Do not extract and scale down low bits on after-rounding
3047 systems when result rounded to normal precision would have normal
3049 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
3050 (__fmal): Do not extract and scale down low bits on after-rounding
3051 systems when result rounded to normal precision would have normal
3053 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
3055 (fma_test): Add more tests.
3056 (fma_test_towardzero): Likewise.
3057 (fma_test_downward): Likewise.
3058 (fma_test_upward): Likewise.
3060 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
3062 * sysdeps/i386/tininess.h: Renamed to ...
3063 * sysdeps/x86/tininess.h: This.
3064 * sysdeps/x86_64/tininess.h: Removed.
3066 2012-10-30 Joseph Myers <joseph@codesourcery.com>
3068 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
3069 input. Use $(build-program-cmd).
3070 ($(objpfx)tst-array1-static.out): Likewise.
3071 ($(objpfx)tst-array2.out): Likewise.
3072 ($(objpfx)tst-array3.out): Likewise.
3073 ($(objpfx)tst-array4.out): Likewise.
3074 ($(objpfx)tst-array5.out): Likewise.
3075 ($(objpfx)tst-array5-static.out): Likewise.
3077 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
3079 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
3082 * nss/nsswitch.h (nss_interface_function): Provide new
3083 macro for use with NSS functions.
3084 * grp/initgroups.c: Use new macro.
3085 * nss/getXXbyYY.c: Likewise.
3086 * nss/getXXbyYY_r.c: Likewise.
3087 * nss/getXXent.c: Likewise.
3088 * nss/getXXent_r.c: Likewise.
3089 * sysdeps/posix/getaddrinfo.c: Likewise.
3091 2012-10-30 Andreas Jaeger <aj@suse.de>
3093 * po/ru.po: Update Russion translation from translation project.
3095 2012-10-30 Joseph Myers <joseph@codesourcery.com>
3099 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
3100 result and shift together with sticky bit instead of replicating
3101 round-to-nearest rounding.
3102 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3103 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3104 * math/libm-test.inc (fma_test): Add more tests. Do not permit
3105 missing underflow exceptions.
3106 (fma_test_towardzero): Add more tests.
3107 (fma_test_downward): Likewise.
3108 (fma_test_upward): Likewise.
3111 * sysdeps/generic/tininess.h: New file.
3112 * sysdeps/i386/tininess.h: Likewise.
3113 * sysdeps/sh/tininess.h: Likewise.
3114 * sysdeps/x86_64/tininess.h: Likewise.
3115 * stdlib/tst-strtod-underflow.c: Likewise.
3116 * stdlib/tst-tininess.c: Likewise.
3117 * stdlib/strtod_l.c: Include <tininess.h>.
3118 (round_and_return): Do not set errno for exact underflow cases.
3119 Force an underflow exception when setting errno for underflow.
3120 Determine underflow based on rounding to normal precision if
3121 TININESS_AFTER_ROUNDING.
3122 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
3123 ERANGE for exact underflow cases.
3124 * stdlib/Makefile (tests): Add tst-tininess and
3125 tst-strtod-underflow.
3126 ($(objpfx)tst-tininess): Use $(link-libm).
3127 ($(objpfx)tst-strtod-underflow): Likewise.
3129 2012-10-30 Andreas Jaeger <aj@suse.de>
3132 * elf/Makefile (tests): Remove conditional for have-initfini-array
3133 since this is now always required and the variable does not exist
3135 (tests-static): Likewise.
3136 (modules-names): Likewise.
3138 * po/eo.po: Add Esperanto translation from translation project.
3140 * elf/tst-array1.c (fini_array): Make writeable so that it can be
3141 merged with constructor/destructor.
3142 (init_array): Likewise.
3143 * elf/tst-array2dep.c (fini_array): Likewise.
3144 (init_array): Likewise.
3146 2012-10-29 Mike Frysinger <vapier@gentoo.org>
3148 * manual/message.texi: Delete @cartouche tags.
3150 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
3152 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
3154 * sysdeps/mach/hurd/fsync.c: Likewise.
3156 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
3157 [_POSIX_REALTIME_SIGNALS]: Change condition to
3158 [_POSIX_REALTIME_SIGNALS > 0].
3160 2012-10-27 Andreas Jaeger <aj@suse.de>
3162 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
3163 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
3164 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
3165 [__WORDSIZE != 64]: Likewise.
3167 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
3169 * iconvdata/tst-table.sh: Remove ${SHELL}.
3170 * iconvdata/tst-tables.sh: Likewise.
3172 2012-10-25 David S. Miller <davem@davemloft.net>
3174 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3175 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
3178 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
3180 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3181 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
3182 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
3185 2012-10-25 Roland McGrath <roland@hack.frob.com>
3187 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3188 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
3191 2012-10-25 Joseph Myers <joseph@codesourcery.com>
3192 Jim Blandy <jimb@codesourcery.com>
3194 * scripts/cross-test-ssh.sh: New file.
3195 * manual/install.texi (Configuring and compiling): Document use of
3197 * INSTALL: Regenerated.
3199 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
3201 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
3204 2012-10-25 Joseph Myers <joseph@codesourcery.com>
3206 * Makeconfig (run-program-prefix): Fix comment.
3208 2012-10-24 Joseph Myers <joseph@codesourcery.com>
3209 Jim Blandy <jimb@codesourcery.com>
3211 * Makeconfig (test-wrapper): New variable,
3212 (test-wrapper-env): Likewise.
3213 [$(cross-compiling) = yes && $(test-wrapper) != ""]
3214 (run-built-tests): Define to yes.
3215 (run-program-prefix): Use $(test-wrapper).
3216 (built-program-cmd): Likewise.
3217 * Rules (make-test-out): Use $(test-wrapper-env) and
3218 $(host-built-program-cmd).
3219 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
3220 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
3222 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
3223 $(test-wrapper-env) to tst-rtld-load-self.sh.
3224 ($(objpfx)order2.out): Use $(test-wrapper).
3225 ($(objpfx)tst-initorder.out): Likewise.
3226 ($(objpfx)tst-initorder2.out): Likewise.
3227 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
3228 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
3229 (test_wrapper_env): New variable. Use it to run ld.so.
3230 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
3231 Use it to run ld.so.
3232 (test_wrapper_env): Likewise.
3233 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
3234 $(test-wrapper) to run-iconv-test.sh.
3235 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
3236 (ICONV): Use $test_wrapper.
3237 * posix/Makefile ($(objpfx)globtest.out): Pass
3238 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
3239 globtest.sh, not $(run-program-prefix).
3240 * posix/globtest.sh (run_via_rtld_prefix): New variable.
3241 (test_wrapper): Likewise.
3242 (test_wrapper_env): Likewise. Use it to run globtest with HOME
3243 set together with run_via_rtld_prefix.
3244 (run_program_prefix): Define in terms of test_wrapper and
3245 run_via_rtld_prefix.
3247 2012-10-24 Roland McGrath <roland@hack.frob.com>
3249 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
3250 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
3254 * include/time.h: Remove librt_hidden_proto (clock_gettime).
3255 Declare __clock_getres, __clock_gettime, __clock_settime,
3256 __clock_nanosleep, and __clock_getcpuclockid.
3257 * rt/clock_gettime.c: Define __clock_gettime as an alias.
3258 Remove librt_hidden_def (clock_gettime).
3259 * sysdeps/unix/clock_gettime.c: Likewise.
3260 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
3261 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
3262 * rt/clock_getres.c: Define __clock_getres as an alias.
3263 * sysdeps/posix/clock_getres.c: Likewise.
3264 * rt/clock_settime.c: Define __clock_settime as an alias.
3265 * sysdeps/unix/clock_settime.c: Likewise.
3266 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
3267 * sysdeps/unix/clock_nanosleep.c: Likewise.
3268 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
3269 * rt/clock-compat.c: New file.
3270 * rt/Makefile (librt-routines): Add clock-compat and move
3271 $(clock-routines) to ...
3272 (routines): ... here, new variable.
3273 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
3274 Don't add get_clockfreq here.
3275 * rt/Versions (libc: GLIBC_2.17): New version set.
3276 Add clock_* symbols here.
3277 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
3278 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
3279 (GLIBC_2.17): Add clock_* symbols.
3280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
3281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
3282 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
3283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
3285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
3287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
3288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
3289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
3290 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
3291 * NEWS: Mention the move.
3293 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3294 Use __open, __read, __close rather than their public counterparts.
3295 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
3296 (__get_clockfreq_via_cpuinfo): Likewise.
3297 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
3298 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
3300 * config.h.in (HAVE_IFUNC): New #undef.
3301 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
3303 * configure: Regenerated.
3305 2012-10-24 Mike Frysinger <vapier@gentoo.org>
3307 * configure.in: Move READELF check to start of file.
3308 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
3309 libc_cv_asm_gnu_indirect_function in the process.
3310 * configure: Regenerated.
3312 2012-10-24 Mike Frysinger <vapier@gentoo.org>
3314 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
3315 send the output to /dev/null.
3316 (libc_cv_cc_with_libunwind): Likewise.
3317 (libc_cv_as_noexecstack): Likewise.
3318 * configure: Regenerate.
3320 2012-10-24 Joseph Myers <joseph@codesourcery.com>
3322 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
3324 * posix/globtest.sh (TMPDIR): Do not set.
3325 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
3326 (testout): Likewise.
3328 2012-10-24 Andreas Jaeger <aj@suse.de>
3330 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
3331 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
3332 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
3333 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
3334 posix_fadvise64, posix_fallocate64.
3336 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
3337 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
3338 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
3340 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
3342 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
3344 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
3345 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
3346 <bits/fcntl-linux.h>.
3347 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
3349 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
3350 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
3351 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
3352 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
3353 [__WORDSIZE != 64]: Likewise.
3355 2012-10-23 Joseph Myers <joseph@codesourcery.com>
3357 * Makeconfig (run-built-tests): New variable.
3358 * Rules [$(cross-compiling) = yes]: Change condition to
3359 [$(run-built-tests) = no].
3360 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
3361 to [$(run-built-tests) = yes].
3362 * elf/Makefile [$(cross-compiling) = no]: Likewise
3363 * grp/Makefile [$(cross-compiling) = no]: Likewise.
3364 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
3365 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
3366 * intl/Makefile [$(cross-compiling) = no]: Likewise.
3367 * io/Makefile [$(cross-compiling) = no]: Likewise.
3368 * libio/Makefile [$(cross-compiling) = no]: Likewise.
3369 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
3370 * misc/Makefile [$(cross-compiling) = no]: Likewise.
3371 * posix/Makefile [$(cross-compiling) = no]: Likewise.
3372 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
3373 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
3374 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
3375 * string/Makefile [$(cross-compiling) = no]: Likewise.
3377 * posix/Makefile ($(objpfx)globtest.out): Pass
3378 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
3379 $(rtld-installed-name).
3380 * posix/globtest.sh (elf_objpfx): Remove variable.
3381 (rtld_installed_name): Likewise.
3382 (library_path): Likewise.
3383 (run_program_prefix): New variable. Use for running globtest
3386 2012-10-23 Jim Blandy <jimb@codesourcery.com>
3387 Joseph Myers <joseph@codesourcery.com>
3389 * Makeconfig (host-built-program-cmd): New variable.
3390 * elf/Makefile (tst-stackguard1-ARGS): Use
3391 $(host-built-program-cmd).
3392 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
3393 (tst-spawn-ARGS): Likewise.
3394 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
3396 2012-10-23 Joseph Myers <joseph@codesourcery.com>
3397 Jim Blandy <jimb@codesourcery.com>
3399 * Makeconfig (run-via-rtld-prefix): New variable.
3400 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
3401 (built-program-cmd): Likewise.
3403 2012-10-22 Andreas Jaeger <aj@suse.de>
3405 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
3406 __O_RSYNC if it exists, otherwise to O_SYNC.
3408 2012-10-22 Jim Blandy <jimb@codesourcery.com>
3409 Joseph Myers <joseph@codesourcery.com>
3411 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
3413 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
3415 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
3418 2012-10-22 Andreas Jaeger <aj@suse.de>
3420 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
3422 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
3424 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3427 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
3428 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
3430 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
3432 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
3435 2012-10-21 Jim Blandy <jimb@codesourcery.com>
3436 Joseph Myers <joseph@codesourcery.com>
3438 * config.make.in (NM): New variable.
3440 2012-10-21 Andreas Jaeger <aj@suse.de>
3442 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
3443 definitions and declarations that are provided by
3444 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
3446 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3449 * elf/Makefile (tests-static): Add tst-leaks1-static.
3450 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
3451 ($(objpfx)tst-leaks1-static): New rule.
3452 ($(objpfx)tst-leaks1-static-mem): Likewise.
3453 (tst-leaks1-static-ENV): New macro.
3454 * elf/dl-open.c (dl_open_worker): Check the main application
3455 only if SHARED is defined.
3456 * elf/tst-leaks1-static.c: New file.
3458 2012-10-20 Andreas Jaeger <aj@suse.de>
3460 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
3461 generic values for Linux.
3462 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
3463 and declarations that are provided by <bits/fcntl-linux.h> and
3464 include <bits/fcntl-linux.h>.
3465 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
3466 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
3468 2012-10-20 Roland McGrath <roland@hack.frob.com>
3470 * io/fcntl.h: Move include of <bits/types.h> to the top and
3471 include it unconditionally.
3473 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
3475 * wcsmbs/Makefile (tests-ifunc): New variable.
3476 (tests): Add $(tests-ifunc).
3477 * wcsmbs/test-wcschr-ifunc.c: New file.
3478 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3479 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3480 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3481 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3482 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3484 * string/Makefile (tests-ifunc): New variable.
3485 (tests): Add $(tests-ifunc).
3486 * string/test-memccpy.c (TEST_NAME): New macro.
3487 * string/test-memchr.c (TEST_NAME): Likewise.
3488 * string/test-memcmp.c (TEST_NAME): Likewise.
3489 * string/test-memcpy.c (TEST_NAME): Likewise.
3490 * string/test-memmem.c (TEST_NAME): Likewise.
3491 * string/test-memmove.c (TEST_NAME): Likewise.
3492 * string/test-memset.c (TEST_NAME): Likewise.
3493 * string/test-rawmemchr.c (TEST_NAME): Likewise.
3494 * string/test-stpcpy.c (TEST_NAME): Likewise.
3495 * string/test-stpncpy.c (TEST_NAME): Likewise.
3496 * string/test-strcasecmp.c (TEST_NAME): Likewise.
3497 * string/test-strcasestr.c (TEST_NAME): Likewise.
3498 * string/test-strcat.c (TEST_NAME): Likewise.
3499 * string/test-strchr.c (TEST_NAME): Likewise.
3500 * string/test-strcmp.c(TEST_NAME): Likewise.
3501 * string/test-strcpy.c (TEST_NAME): Likewise.
3502 * string/test-strcspn.c (TEST_NAME): Likewise.
3503 * string/test-strlen.c (TEST_NAME): Likewise.
3504 * string/test-strncasecmp.c (TEST_NAME): Likewise.
3505 * string/test-strncmp.c (TEST_NAME): Likewise.
3506 * string/test-strncpy.c (TEST_NAME): Likewise.
3507 * string/test-strnlen.c (TEST_NAME): Likewise.
3508 * string/test-strpbrk.c (TEST_NAME): Likewise.
3509 * string/test-strrchr.c (TEST_NAME): Likewise.
3510 * string/test-strspn.c (TEST_NAME): Likewise.
3511 * string/test-strstr.c (TEST_NAME): Likewise.
3512 * string/test-bcopy-ifunc.c: New file.
3513 * string/test-bzero-ifunc.c: Likewise.
3514 * string/test-memccpy-ifunc.c: Likewise.
3515 * string/test-memchr-ifunc.c: Likewise.
3516 * string/test-memcmp-ifunc.c: Likewise.
3517 * string/test-memcpy-ifunc.c: Likewise.
3518 * string/test-memmem-ifunc.c: Likewise.
3519 * string/test-memmove-ifunc.c: Likewise.
3520 * string/test-mempcpy-ifunc.c: Likewise.
3521 * string/test-memset-ifunc.c: Likewise.
3522 * string/test-rawmemchr-ifunc.c: Likewise.
3523 * string/test-stpcpy-ifunc.c: Likewise.
3524 * string/test-stpncpy-ifunc.c: Likewise.
3525 * string/test-strcasecmp-ifunc.c: Likewise.
3526 * string/test-strcasestr-ifunc.c: Likewise.
3527 * string/test-strcat-ifunc.c: Likewise.
3528 * string/test-strchr-ifunc.c: Likewise.
3529 * string/test-strchrnul-ifunc.c: Likewise.
3530 * string/test-strcmp-ifunc.c: Likewise.
3531 * string/test-strcpy-ifunc.c: Likewise.
3532 * string/test-strcspn-ifunc.c: Likewise.
3533 * string/test-strlen-ifunc.c: Likewise.
3534 * string/test-strncasecmp-ifunc.c: Likewise.
3535 * string/test-strncat-ifunc.c: Likewise.
3536 * string/test-strncmp-ifunc.c: Likewise.
3537 * string/test-strncpy-ifunc.c: Likewise.
3538 * string/test-strnlen-ifunc.c: Likewise.
3539 * string/test-strpbrk-ifunc.c: Likewise.
3540 * string/test-strrchr-ifunc.c: Likewise.
3541 * string/test-strspn-ifunc.c: Likewise.
3542 * string/test-strstr-ifunc.c: Likewise.
3544 * debug/Makefile (tests-ifunc): New variable.
3545 (tests): Add $(tests-ifunc).
3546 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
3547 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
3548 * debug/test-stpcpy_chk-ifunc.c: New file.
3549 * debug/test-strcpy_chk-ifunc.c: Likewise.
3551 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
3554 * elf/dl-load.c (open_verify): Retry read if the entire ELF
3555 header is not read in.
3557 2012-10-19 Joseph Myers <joseph@codesourcery.com>
3559 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
3560 script to $(SHELL) as $<. Pass $(common-objpfx) to script
3561 directly. Pass built executable to script as
3562 $(built-program-cmd).
3563 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
3564 $testprogram without using LD_LIBRARY_PATH and $ldso.
3566 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
3567 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
3568 $(rtld-installed-name).
3569 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
3570 (rtld_installed_name): Likewise.
3571 (library_path): Likewise.
3572 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
3573 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
3574 $(run-program-prefix) to tst-tables.sh.
3575 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
3576 it to run tst-table-from and tst-table-to.
3577 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
3578 Pass it to tst-table.sh.
3579 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
3580 $(run-program-prefix) to tst-gettext.sh.
3581 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
3583 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
3585 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
3587 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
3588 to run tst-gettext2.
3589 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
3590 to run tst-translit.
3591 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
3592 $(run-program-prefix) to tst-mtrace.sh.
3593 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
3595 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
3596 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
3597 $(rtld-installed-name).
3598 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
3599 (rtld_installed_name): Likewise.
3600 (run_program_prefix): New variable. Use it to run wordexp-test.
3602 * Makeconfig (ARCH): Remove all definitions.
3603 (machine): Likewise.
3604 [ARCH]: Remove conditional code.
3605 [!objdir]: Give error.
3606 [!objdir] (objpfx): Remove.
3607 [!objdir] (common-objpfx): Likewise.
3608 [!objdir] (common-objdir): Likewise.
3609 * configure.in (config_makefile): Remove. Hardcode Makefile in
3610 AC_CONFIG_FILES call.
3611 * configure: Regenerated.
3614 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
3616 (testout): Likewise.
3618 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
3619 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
3620 $(rtld-installed-name).
3621 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
3622 (rtld_installed_name): Likwise.
3623 (runit): Remove function.
3624 (run_getconf): New variable, Use it for running getconf binary.
3626 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
3629 * string/test-memmem.c (check_result): New function.
3630 (do_one_test): Use it.
3631 (check1): New function.
3632 (test_main): Use it.
3634 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
3636 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
3638 2012-10-18 Joseph Myers <joseph@codesourcery.com>
3640 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
3641 (_G_LSEEK64): Likewise.
3642 (_G_MMAP64): Likewise.
3643 (_G_FSTAT64): Likewise.
3644 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
3645 (_G_LSEEK64): Likewise.
3646 (_G_MMAP64): Likewise.
3647 (_G_FSTAT64): Likewise.
3648 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
3649 unconditional. Call __mmap64 directly.
3650 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
3651 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
3653 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
3654 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
3656 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
3657 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
3659 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
3660 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
3662 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
3663 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
3665 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
3666 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
3667 __fxstat64 directly.
3668 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
3669 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
3671 (freopen64) [!_G_OPEN64]: Remove conditional code.
3672 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
3674 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
3675 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
3677 (ftello64) [!_G_LSEEK64]: Remove conditional code.
3678 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
3680 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3681 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
3683 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
3684 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
3686 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3687 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
3689 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
3690 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
3692 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
3694 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3697 * manual/memory.texi (Malloc Tunable Parameters): Add note
3698 about free list pointers overwriting some perturb bytes.
3699 Wording suggested by Roland McGrath.
3701 2012-10-17 Joseph Myers <joseph@codesourcery.com>
3703 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
3704 (lgamma_test): Likewise.
3705 (tgamma_test): Likewise.
3707 2012-10-16 Florian Weimer <fweimer@redhat.com>
3710 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
3711 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
3713 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
3715 * NEWS: Mention BZ #14716.
3716 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
3717 when removing AVAILABLE1_USES_J macro.
3719 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
3721 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
3722 (__bswap_64): __uint64_t for unsigned 64-bit int.
3724 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
3726 * include/string.h (memmem): Declare libc hidden alias.
3727 * string/memmem.c (memmem): Define libc hidden alias.
3728 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
3729 __read, __close instead of open, read, close.
3731 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
3733 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
3734 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
3736 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
3737 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
3738 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
3740 (__rawmemchr_sse2): Likewise.
3741 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
3742 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
3743 (__strchr_sse2): Likewise.
3744 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
3745 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
3746 (__strcasecmp_sse2): Likewise.
3747 (__strncasecmp_sse2): Likewise.
3748 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
3749 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
3750 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
3751 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
3752 (__strrchr_sse2): Likewise.
3753 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
3755 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3756 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3757 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3758 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3759 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3760 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3761 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3762 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3763 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
3764 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
3765 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3766 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
3767 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
3768 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3769 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3770 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3771 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3772 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3773 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
3774 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
3775 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
3776 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
3777 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3778 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
3779 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
3780 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3781 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3782 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
3783 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3784 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3786 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
3788 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
3789 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
3790 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
3791 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
3793 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
3795 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
3796 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
3797 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
3798 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
3800 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3801 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3802 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3803 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3804 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3805 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3806 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3807 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3808 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3809 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3810 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3811 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3812 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3813 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
3814 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
3815 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3816 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
3817 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
3818 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3819 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3820 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3821 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3822 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3823 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3824 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3825 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
3826 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
3827 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
3828 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
3829 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3830 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
3831 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3832 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3833 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
3834 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3835 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3836 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3837 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3838 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3839 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3840 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
3842 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
3843 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
3844 * include/ifunc-impl-list.h: New file.
3845 * misc/ifunc-impl-list.c: Likewise.
3846 * misc/Makefile (routines): Add ifunc-impl-list.
3847 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
3848 * string/test-string.h: Include <ifunc-impl-list.h>.
3849 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
3850 impl_array): New variables.
3851 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
3853 (test_init): Call __libc_ifunc_impl_list to initialize
3854 func_list if TEST_IFUNC and TEST_NAME are defined.
3856 * string/Makefile (strop-tests): Add bcopy and bzero.
3857 * string/test-bcopy.c: New file.
3858 * string/test-bzero.c: Likewise.
3859 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
3861 * string/test-memset.c: Support bzero test if TEST_BZERO is
3863 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
3865 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
3867 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
3870 2012-10-10 Joseph Myers <joseph@codesourcery.com>
3872 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
3873 * configure: Regenerated.
3875 * Makeconfig (+link-static-before-libc): Don't include
3876 $(link-static-libc).
3878 * libio/libio.h (_IO_pos_t): Remove.
3880 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3882 * NEWS: Add note about FIPS mode. Wording suggested by Roland
3885 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3887 * crypt/crypt-entry.c: Include fips-private.h.
3888 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
3889 * crypt/md5c-test.c (main): Tolerate disabled MD5.
3890 * sysdeps/unix/sysv/linux/fips-private.h: New file.
3891 * sysdeps/generic/fips-private.h: New file, dummy fallback.
3893 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
3895 * crypt/crypt-private.h: Include stdbool.h.
3896 (_ufc_setup_salt_r): Return bool.
3897 * crypt/crypt-entry.c: Include errno.h.
3898 (__crypt_r): Return NULL with EINVAL for bad salt.
3899 * crypt/crypt_util.c (bad_for_salt): New.
3900 (_ufc_setup_salt_r): Check that salt is long enough and within
3901 the specified alphabet.
3902 * crypt/badsalttest.c: New file.
3903 * crypt/Makefile (tests): Add it.
3904 ($(objpfx)badsalttest): New.
3906 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
3908 * NEWS: Add entry for BZ #14602.
3910 2012-10-09 Joseph Myers <joseph@codesourcery.com>
3912 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
3914 * math/libm-test.inc: Update comment listing what functions and
3916 (isgreater_test): New function.
3917 (isgreaterequal_test): Likewise.
3918 (isless_test): Likewise.
3919 (islessequal_test): Likewise.
3920 (islessgreater_test): Likewise.
3921 (isunordered_test): Likewise.
3922 (main): Call the new functions.
3924 2012-10-09 Roland McGrath <roland@hack.frob.com>
3926 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
3927 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
3928 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
3929 * sysdeps/i386/configure: Regenerated.
3930 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
3931 * sysdeps/mach/configure: Regenerated.
3932 * sysdeps/mach/hurd/configure: Regenerated.
3933 * sysdeps/powerpc/configure: Regenerated.
3934 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3935 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3936 * sysdeps/s390/s390-32/configure: Regenerated.
3937 * sysdeps/s390/s390-64/configure: Regenerated.
3938 * sysdeps/sh/configure: Regenerated.
3939 * sysdeps/sparc/configure: Regenerated.
3940 * sysdeps/unix/sysv/linux/configure: Regenerated.
3941 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
3942 * sysdeps/x86_64/configure: Regenerated.
3944 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
3945 defined. Don't check if MAP is NULL.
3947 2012-10-09 Joseph Myers <joseph@codesourcery.com>
3949 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
3950 (_G_stat64): Likewise.
3951 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
3952 (_G_stat64): Likewise.
3953 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
3954 instead of struct _G_stat64.
3955 * libio/fileops.c (mmap_remap_check): Likewise.
3956 (decide_maybe_mmap): Likewise.
3957 (_IO_new_file_seekoff): Likewise.
3958 (_IO_file_stat): Likewise.
3959 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
3961 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
3962 instead of struct _G_stat64.
3963 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
3965 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
3968 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3970 (CHECK_EOL): New macro.
3971 (two_way_short_needle): Check beginning of haystack for EOL. Use
3973 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3974 Replace with CHECK_EOL.
3975 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
3976 Replace with CHECK_EOL.
3978 2012-10-08 Joseph Myers <joseph@codesourcery.com>
3980 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
3982 * math/libm-test.inc: Update comment listing what functions and
3984 (finite_test): New function.
3985 (isinf_test): Likewise.
3986 (isnan_test): Likewise.
3987 (fpclassify_test): Test subnormal input.
3988 (isfinite_test): Likewise.
3989 (isnormal_test): Likewise.
3990 (main): Call the new functions.
3992 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
3995 * Makerules (%.dynsym): Force C locale when running
3996 $(OBJDUMP) --dynamic-syms.
3998 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
4000 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
4003 2012-10-06 David S. Miller <davem@davemloft.net>
4005 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
4006 upper 32-bits of the length value in %o2 since we use branch-on-register
4007 tests which consider the entire 64-bit register.
4009 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
4011 * string/test-strstr.c (check2): Add a test for page boundary.
4013 2012-10-05 David S. Miller <davem@davemloft.net>
4015 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
4016 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
4018 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4020 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4021 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
4022 and bzero when HWCAP_SPARC_CRYPTO is present.
4024 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
4027 * string/test-strstr.c (check2): New function.
4028 (test_main): Call check2.
4030 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
4032 * string/bug-strcasestr1.c (do_test): Moved to ...
4033 * string/test-strcasestr.c (check1): Here. New function.
4034 (do_one_test): Break out result checking code into ...
4035 (check_result): This. New function.
4036 (do_one_test): Call check_result.
4037 (test_main): Call check1.
4038 * string/bug-strchr1.c (do_test): Moved to ...
4039 * string/test-strchr.c (check1): Here. New function.
4040 (do_one_test): Break out result checking code into ...
4041 (check_result): This. New function.
4042 (do_one_test): Call check_result.
4043 (test_main): Call check1.
4044 * string/bug-strstr1.c (main): Moved to ...
4045 * string/test-strchr.c (check1): Here. New function.
4046 (do_one_test): Break out result checking code into ...
4047 (check_result): This. New function.
4048 (do_one_test): Call check_result.
4049 (test_main): Call check1.
4050 * string/bug-strcasestr1.c: Removed.
4051 * string/bug-strchr1.c: Likewise.
4052 * string/bug-strstr1.c: Likewise.
4054 * elf/Makefile (dl-routines): Add hwcaps.
4055 * elf/dl-support.c (_dl_important_hwcaps): Removed.
4056 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
4057 (_dl_important_hwcaps): Moved to ...
4058 * elf/dl-hwcaps.c: Here. New file.
4059 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
4062 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
4063 if IS_IN_rtld isn't defined.
4065 * elf/dl-support.c (_dl_sysinfo_map): New.
4066 Include "get-dynamic-info.h" and "setup-vdso.h".
4067 (_dl_non_dynamic_init): Call setup_vdso.
4068 * elf/dynamic-link.h: Don't include <assert.h>.
4069 (elf_get_dynamic_info): Moved to ...
4070 * elf/get-dynamic-info.h: Here. New file.
4071 * elf/dynamic-link.h: Include "get-dynamic-info.h".
4072 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
4073 * elf/setup-vdso.h: Here. New file.
4074 * elf/rtld.c: Include "setup-vdso.h".
4075 (dl_main): Call setup_vdso.
4077 2012-10-05 Joseph Myers <joseph@codesourcery.com>
4079 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
4080 creal in comment listing functions tested. List finite, isinf,
4081 isnan, isless, islessequal, isgreater, isgreaterequal,
4082 islessgreater, isunordered, lgamma_r and pow10 as functions and
4083 macros not tested. Mention which functions not tested are aliases
4084 for other functions. Fix typo. Note that signs of NaNs are not
4087 * scripts/config.guess: Update from config.git.
4088 * scripts/config.sub: Likewise.
4090 2012-10-04 Roland McGrath <roland@hack.frob.com>
4092 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
4093 * misc/madvise.c (madvise): Renamed to __madvise.
4094 Make madvise a weak alias.
4095 * include/sys/mman.h: Declare __madvise.
4096 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
4097 * sysdeps/unix/syscalls.list
4098 (madvise): Make __madvise the strong name, and madvise a weak alias.
4099 * sysdeps/unix/sysv/linux/syscalls.list
4100 (madvise, mmap): Remove redundant entries.
4101 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
4102 * malloc/malloc.c (mtrim): Likewise.
4103 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
4105 2012-10-03 Roland McGrath <roland@hack.frob.com>
4107 * sysdeps/mach/hurd/dl-cache.c: File removed.
4108 * config.h.in (USE_LDCONFIG): New #undef.
4109 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
4110 * configure: Regenerated.
4111 * elf/Makefile (dl-routines): Add dl-cache only under
4112 [$(use-ldconfig) = yes].
4113 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
4114 cache on [USE_LDCONFIG].
4115 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
4117 * elf/rtld.c (dl_main): Likewise.
4119 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
4121 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
4122 _SC_LEVEL4_CACHE_LINESIZE.
4124 2012-10-03 Roland McGrath <roland@hack.frob.com>
4126 * sysdeps/unix/bsd/confstr.h: File removed.
4128 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
4130 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
4133 2012-10-02 Roland McGrath <roland@hack.frob.com>
4135 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
4136 Make 'mapoff' field ElfW(Off) rather than off_t.
4138 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
4140 * nscd/Makefile: Remove nscd-cflags and all its users.
4141 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
4142 (CFLAGS-nonlib): Add compiler flags for nscd modules.
4145 * malloc.c (malloc_printerr): Clarify error message.
4147 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
4150 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4151 Set bit_FMA_Usable if FMA is supported.
4152 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
4154 (bit_FMA4_Usable): Updated.
4155 (index_FMA_Usable): New macro.
4156 (CPUID_FMA): Likewise
4157 (HAS_FMA): Defined with bit_FMA_Usable.
4159 2012-10-01 Roland McGrath <roland@hack.frob.com>
4161 * bits/types.h (__swblk_t): Type removed.
4162 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
4163 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
4164 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
4165 (__SWBLK_T_TYPE): Likewise.
4166 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
4167 (__SWBLK_T_TYPE): Likewise.
4168 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4169 (__SWBLK_T_TYPE): Likewise.
4170 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
4171 (__SWBLK_T_TYPE): Likewise.
4173 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
4174 Honza Horak <hhorak@redhat.com>
4176 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
4177 (xdr_mapname): Use YPMAXMAP as maxsize.
4178 (xdr_peername): Use YPMAXPEER as maxsize.
4179 (xdr_keydat): Use YPAXRECORD as maxsize.
4180 (xdr_valdat): Use YPMAXRECORD as maxsize.
4182 2012-10-01 Roland McGrath <roland@hack.frob.com>
4184 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
4186 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
4187 * csu/init-first.c: ... here.
4188 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
4189 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
4190 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4191 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4192 * sysdeps/i386/init-first.c: File removed.
4193 * sysdeps/sh/init-first.c: File removed.
4195 2012-10-01 Joseph Myers <joseph@codesourcery.com>
4198 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
4199 if x * y might underflow to zero and z is zero.
4200 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4201 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4202 * math/libm-test.inc (min_subnorm_value): New variable.
4203 (fma_test): Add more tests.
4204 (fma_test_towardzero): Likewise.
4205 (fma_test_downward): Likewise
4206 (fma_test_upward): Likewise.
4207 (initialize): Set min_subnorm_value.
4209 2012-09-29 Joseph Myers <joseph@codesourcery.com>
4212 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
4214 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
4215 mode for addition resulting in exact zero.
4216 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
4217 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
4219 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4220 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4221 * math/libm-test.inc (fma_test): Add more tests.
4222 (fma_test_towardzero): New function.
4223 (fma_test_downward): Likewise.
4224 (fma_test_upward): Likewise.
4225 (main): Call the new functions.
4227 2012-09-28 David S. Miller <davem@davemloft.net>
4229 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
4231 2012-09-28 Roland McGrath <roland@hack.frob.com>
4233 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
4236 * sysdeps/gnu/_G_config.h: Moved to ...
4237 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
4238 * sysdeps/mach/hurd/_G_config.h: Moved to ...
4239 * sysdeps/generic/_G_config.h: ... here.
4241 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
4243 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
4245 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
4246 Conditionalize target on [libnss_test1.so-version].
4248 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
4250 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
4251 (elfobjdir): Move out of conditionals.
4253 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
4254 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
4255 (__nss_lookup_function): Conditionalize label remove_from_tree on
4256 [!DO_STATIC_NSS || SHARED], matching its only use.
4258 2012-09-28 David S. Miller <davem@davemloft.net>
4260 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
4261 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
4263 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
4265 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
4266 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
4267 when HWCAP_SPARC_CRYPTO is present.
4269 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4271 * io/tst-mknodat.c: Create a FIFO instead of a socket.
4273 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
4276 * stdio-common/vfprintf.c (process_string_arg): Revert
4279 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
4281 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
4283 * stdio-common/tst-sprintf.c: Include <locale.h>
4284 (main): Test sprintf's handling of incomplete multibyte
4287 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
4289 * elf/dl-runtime.c (VERSYMIDX): Removed.
4290 * elf/dl-version.c (VERSYMIDX): Likewise.
4291 * elf/do-rel.h (VERSYMIDX): Likewise.
4293 * elf/dynamic-link.h (VERSYMIDX): Likewise.
4294 * elf/rtld.c (VALIDX): Likewise.
4295 (ADDRIDX): Likewise.
4296 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
4297 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
4298 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
4299 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
4301 (ADDRIDX): Likewise.
4303 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4305 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
4307 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
4310 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
4312 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
4313 addresses are in the same scope as 192.0.2/24.
4314 * posix/gai.conf: Document new scope table defaults.
4316 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4319 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
4320 for ftell. Compute offsets from write pointers instead.
4321 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
4323 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4326 * libio/Makefile (tests): New test case tst-fseek.
4327 * libio/tst-fseek.c: New test case to verify that fseek/ftell
4328 combination works in wide mode.
4329 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
4330 state when the external buffer state changes.
4332 2012-09-27 David S. Miller <davem@davemloft.net>
4335 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
4336 pass reloc->r_addend in as the 'high' argument to
4337 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
4339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4341 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
4343 * rt/tst-aio2.c: Include <pthread.h>.
4344 * rt/tst-aio3.c: Likewise.
4346 2012-09-27 Steve Ellcey <sellcey@mips.com>
4348 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
4350 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
4352 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
4353 contents on [SHARED].
4355 2012-09-26 Marek Polacek <polacek@redhat.com>
4359 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
4360 for C++ and GCC <4.3 as well as for non GCC compilers.
4362 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4364 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4366 2012-09-25 Roland McGrath <roland@hack.frob.com>
4368 * Makefile.in (all, install): Declare with .PHONY.
4369 Reported by Michael Hope <michael.hope@linaro.org>.
4371 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4373 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
4374 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
4376 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
4378 (sydep_routines): Add the new and the internal functions.
4379 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
4380 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
4381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
4382 (GLIBC_2.17): Add the new function.
4383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
4384 (GLIBC_2.17): Likewise.
4385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
4386 (GLIBC_2.17): Likewise.
4387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
4388 (GLIBC_2.17): Likewise.
4389 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
4391 2012-09-25 Alan Modra <amodra@gmail.com>
4393 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
4394 Add release barrier before setting once_control to say
4395 initialisation is done. Add hints on lwarx. Use macro in
4397 (clear_once_control): Add release barrier.
4399 2012-09-25 Joseph Myers <joseph@codesourcery.com>
4402 * math/s_clog.c (__clog): Handle more values close to |z| = 1
4404 * math/s_clog10.c (__clog10): Likewise.
4405 * math/s_clog10f.c (__clog10f): Likewise.
4406 * math/s_clog10l.c (__clog10l): Likewise.
4407 * math/s_clogf.c (__clogf): Likewise.
4408 * math/s_clogl.c (__clogl): Likewise.
4409 * math/Makefile (libm-calls): Add x2y2m1.
4410 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
4411 (__x2y2m1): Likewise.
4412 (__x2y2m1l): Likewise.
4413 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
4414 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
4415 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4416 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
4417 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4418 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
4419 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
4420 * sysdeps/i386/fpu/libm-test-ulps: Update.
4421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4424 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
4425 int as type of variable DEPTH.
4426 (glob): Use size_t instead of int as type of variables NEWCOUNT
4429 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4431 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4433 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
4434 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
4435 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
4436 macros for using routine as __sincosf_ia32.
4437 Use macro for function declaration and weak_alias.
4438 * sysdeps/i386/fpu/libm-test-ulps: Update.
4440 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
4441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4443 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
4445 * math/s_cexpf.c (__cexpf): Likewise.
4446 * math/s_csinf.c (__csinf): Likewise.
4447 * math/s_csinhf.c (__csinhf): Likewise.
4448 * math/s_ctanf.c (__ctanf): Likewise.
4449 * math/s_ctanhf.c (__ctanhf): Likewise.
4450 * math/s_ccosh.c (__ccoshf): Likewise.
4451 * math/s_cexp.c (__cexpl): Likewise.
4452 * math/s_csin.c (__csin): Likewise.
4453 * math/s_csinh.c (__csinh): Likewise.
4454 * math/s_ctan.c (__ctan): Likewise.
4455 * math/s_ctanh.c (ctanh): Likewise.
4456 * math/s_ccoshl.c (__ccoshl): Likewise.
4457 * math/s_cexpl.c (__cexpl): Likewise.
4458 * math/s_csinl.c (__csinl): Likewise.
4459 * math/s_csinhl.c (__csinhl): Likewise.
4460 * math/s_ctanl.c (__ctanl): Likewise.
4461 * math/s_ctanhl.c (__ctanhl): Likewise.
4463 2012-09-25 Joseph Myers <joseph@codesourcery.com>
4465 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
4466 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
4467 (_IO_off_t): Define to __off_t, not _G_off_t.
4468 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
4469 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
4470 (_IO_wint_t): Define to wint_t, not _G_wint_t.
4471 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
4472 type of __dummy and __dummy2 fields.
4473 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
4474 (_G_ssize_t): Likewise.
4475 (_G_off_t): Likewise.
4476 (_G_pid_t): Likewise.
4477 (_G_uid_t): Likewise.
4478 (_G_wchar_t): Likewise.
4479 (_G_wint_t): Likewise.
4480 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
4481 (_G_ssize_t): Likewise.
4482 (_G_off_t): Likewise.
4483 (_G_pid_t): Likewise.
4484 (_G_uid_t): Likewise.
4485 (_G_wchar_t): Likewise.
4486 (_G_wint_t): Likewise.
4487 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
4488 (_G_ssize_t): Likewise.
4489 (_G_off_t): Likewise.
4490 (_G_pid_t): Likewise.
4491 (_G_uid_t): Likewise.
4492 (_G_wchar_t): Likewise.
4493 (_G_wint_t): Likewise.
4495 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4497 * malloc/arena.c: Include malloc-sysdep.h.
4498 (shrink_heap): Use check_may_shrink_heap to decide if madvise
4499 is sufficient to shrink the heap or an unmap is needed.
4500 * sysdeps/generic/malloc-sysdep.h: New file. Define
4501 new function check_may_shrink_heap.
4502 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
4503 new function check_may_shrink_heap.
4505 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
4507 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
4510 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
4512 * catgets/test-gencat.sh: Add "set -e".
4513 * elf/tst-pathopt.sh: Likewise.
4514 * grp/tst_fgetgrent.sh: Likewise.
4515 * iconvdata/run-iconv-test.sh: Likewise.
4516 * intl/tst-gettext.sh: Likewise.
4517 * intl/tst-gettext2.sh: Likewise.
4518 * intl/tst-gettext4.sh: Likewise.
4519 * intl/tst-gettext6.sh: Likewise.
4520 * intl/tst-translit.sh: Likewise.
4521 * io/ftwtest-sh: Likewise.
4522 * libio/test-freopen.sh: Likewise.
4523 * malloc/tst-mtrace.sh: Likewise.
4524 * posix/globtest.sh: Likewise.
4525 * posix/tst-getconf.sh: Likewise.
4526 * posix/wordexp-tst.sh: Likewise.
4527 * stdio-common/tst-printf.sh: Likewise.
4528 * stdio-common/tst-unbputc.sh: Likewise.
4529 * stdlib/tst-fmtmsg.sh: Likewise.
4530 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4531 * catgets/Makefile: Do not specify -e option when running
4532 testsuite shell scripts.
4533 * elf/Makefile: Likewise.
4534 * grp/Makefile: Likewise.
4535 * iconvdata/Makefile: Likewise.
4536 * intl/Makefile: Likewise.
4537 * io/Makefile: Likewise.
4538 * libio/Makefile: Likewise.
4539 * malloc/Makefile: Likewise.
4540 * posix/Makefile: Likewise.
4541 * stdio-common/Makefile: Likewise.
4542 * stdlib/Makefile: Likewise.
4543 * sysdeps/x86_64/Makefile: Likewise.
4545 * io/ftwtest-sh: Add copyright header.
4546 * posix/globtest.sh: Likewise.
4547 * posix/tst-getconf.sh: Likewise.
4548 * posix/wordexp-tst.sh: Likewise.
4549 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
4551 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
4554 * Makeconfig (+link): Defined as $(+link-static) if
4555 $(build-shared) isn't yes.
4556 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
4558 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
4560 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
4563 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
4564 new chunk size with MALLOC_ALIGN_MASK.
4566 2012-09-24 Joseph Myers <joseph@codesourcery.com>
4569 * stdio-common/printf_fphex.c: Include <stdbool.h> and
4571 (__printf_fphex): Determine rounding using get_rounding_mode and
4573 * stdio-common/tst-printf-round.c (struct hex_test): New
4575 (hex_tests): New variable.
4576 (test_hex_in_one_mode): New function.
4577 (do_test): Also run tests for hex float output.
4579 2012-09-21 Joseph Myers <joseph@codesourcery.com>
4581 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4582 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4583 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
4584 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
4585 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
4586 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
4587 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4588 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
4590 2012-09-20 Joseph Myers <joseph@codesourcery.com>
4592 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
4593 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
4594 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
4595 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
4597 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
4600 * elf/rtld.c (dl_main): Limit the check for self loading to normal
4602 * elf/tst-rtld-load-self.sh: New test.
4603 * elf/Makefile: Run it.
4605 2012-09-18 Joseph Myers <joseph@codesourcery.com>
4607 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
4608 (tst-writev-ENV): Remove.
4609 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
4611 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
4613 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
4615 2012-09-17 Joseph Myers <joseph@codesourcery.com>
4617 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
4619 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
4621 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
4622 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
4623 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
4626 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
4629 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
4630 * config.make.in (have-cpp-asm-debuginfo): Removed.
4631 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
4632 * configure: Regenerated.
4634 2012-09-14 Joseph Myers <joseph@codesourcery.com>
4637 * stdio-common/printf_fp.c: Include <stdbool.h> and
4639 (___printf_fp): Determine rounding using get_rounding_mode and
4641 * stdio-common/tst-printf-round.c: New file.
4642 * stdio-common/Makefile (tests): Add tst-printf-round.
4643 (link-libm): New variable.
4644 ($(objpfx)tst-printf-round): Depend in $(link-libm).
4646 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
4649 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
4650 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
4652 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
4655 2012-09-13 Joseph Myers <joseph@codesourcery.com>
4657 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
4658 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4659 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4660 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
4662 2012-09-12 Joseph Myers <joseph@codesourcery.com>
4665 * include/rounding-mode.h: New file.
4666 * sysdeps/generic/get-rounding-mode.h: Likewise.
4667 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
4668 * stdlib/strtod_l.c: Include <rounding-mode.h>.
4669 (MAX_VALUE): New macro.
4670 (MIN_VALUE): Likewise.
4671 (overflow_value): New function.
4672 (underflow_value): Likewise.
4673 (round_and_return): Use overflow_value and underflow_value to
4674 determine return values in overflow and underflow cases. Use
4675 round_away to determine rounding depending on rounding mode.
4676 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
4677 determine return values in overflow and underflow cases.
4678 * stdlib/tst-strtod-round.c: Include <fenv.h>.
4679 (struct test_results): New structure.
4680 (struct test): Use struct test_results to store expected results
4681 for all rounding modes.
4682 (TEST): Include expected results for all rounding modes.
4683 (test_in_one_mode): New function.
4684 (do_test): Use test_in_one_mode to compute and check results.
4685 Check results for all rounding modes.
4686 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
4689 2012-12-09 Allan McRae <allan@archlinux.org>
4691 * sysdeps/i386/fpu/libm-test-ulps: Update
4693 2012-09-11 Joseph Myers <joseph@codesourcery.com>
4695 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
4696 (_G_int32_t): Likewise.
4697 (_G_uint16_t): Likewise.
4698 (_G_uint32_t): Likewise.
4699 (_G_HAVE_BOOL): Likewise.
4700 (_G_HAVE_ATEXIT): Likewise.
4701 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4702 (_G_HAVE_IO_FILE_OPEN): Likewise.
4703 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
4704 (_G_int32_t): Likewise.
4705 (_G_uint16_t): Likewise.
4706 (_G_uint32_t): Likewise.
4707 (_G_HAVE_BOOL): Likewise.
4708 (_G_HAVE_ATEXIT): Likewise.
4709 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4710 (_G_HAVE_IO_FILE_OPEN): Likewise.
4711 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
4712 (_G_int32_t): Likewise.
4713 (_G_uint16_t): Likewise.
4714 (_G_uint32_t): Likewise.
4715 (_G_HAVE_BOOL): Likewise.
4716 (_G_HAVE_ATEXIT): Likewise.
4717 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
4718 (_G_HAVE_IO_FILE_OPEN): Likewise.
4720 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
4722 * csu/libc-tls.c: Update copyright years.
4724 2012-09-10 Joseph Myers <joseph@codesourcery.com>
4726 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
4727 [!_G_USING_THUNKS]: Remove conditional code.
4728 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
4729 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
4731 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
4732 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
4733 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4734 (_G_VTABLE_LABEL_PREFIX): Likewise.
4735 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4736 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4737 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4738 (_G_VTABLE_LABEL_PREFIX): Likewise.
4739 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4740 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
4741 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
4742 (_G_VTABLE_LABEL_PREFIX): Likewise.
4743 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
4745 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
4747 * libio/Makefile: Include ../Makeconfig before tests.
4748 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
4749 only if $(build-shared) is yes.
4751 * iconv/gconv_db.c: Update copyright years.
4753 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4755 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
4756 unwind info if defined PIC. Fix special cases description.
4757 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
4759 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
4761 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
4763 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
4765 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
4767 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
4770 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
4771 (LDLIBS-tst-chk4): This.
4772 (LDFLAGS-tst-chk5): Renamed to ...
4773 (LDLIBS-tst-chk5): This.
4774 (LDFLAGS-tst-chk6): Renamed to ...
4775 (LDLIBS-tst-chk6): This.
4776 (LDFLAGS-tst-lfschk4): Renamed to ...
4777 (LDLIBS-tst-lfschk4): This.
4778 (LDFLAGS-tst-lfschk5): Renamed to ...
4779 (LDLIBS-tst-lfschk5): This.
4780 (LDFLAGS-tst-lfschk6): Renamed to ...
4781 (LDLIBS-tst-lfschk6): This.
4783 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
4784 on $(common-objpfx)soversions.mk.
4786 2012-09-07 Joseph Myers <joseph@codesourcery.com>
4789 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
4792 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4794 * malloc/arena.c (arena_get_retry): New function that gets
4795 another arena for the caller to try its request on.
4796 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
4797 current arena cannot fulfill the request.
4798 (__libc_memalign): Likewise.
4799 (__libc_memalign): Likewise.
4800 (__libc_pvalloc): Likewise.
4801 (__libc_calloc): Likewise.
4803 2012-09-05 John Tobey <john.tobey@gmail.com>
4806 * manual/arith.texi (Operations on Complex): Fix description
4809 2012-09-06 Joseph Myers <joseph@codesourcery.com>
4812 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
4816 * manual/memory.texi (Memory): Make order of menu items match
4819 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4821 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
4822 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
4823 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
4825 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4827 * csu/libc-tls.c (static_dtv): Renamed to ...
4828 (_dl_static_dtv): This. Make it global.
4829 (_dl_initial_dtv): Removed.
4830 (__libc_setup_tls): Updated.
4831 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
4832 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
4835 2012-09-06 Petr Machata <pmachata@redhat.com>
4837 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
4838 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
4839 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
4840 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
4842 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4845 * csu/libc-tls.c (_dl_initial_dtv): New variable.
4846 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
4849 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
4852 * Makeconfig (link-static-before-libc): Replace $(+prector)
4854 (link-static-after-libc): Replace $(+postctor) with
4856 (link-bounded): Replace $(+prector)/$(+postctor) with
4857 $(+prectorT)/$(+postctorT).
4858 (+prectorT): New macro.
4859 (+postctorT): Likewise.
4861 2012-09-06 Joseph Myers <joseph@codesourcery.com>
4863 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
4864 (round_str): Handle values above the maximum for IBM long double
4866 * stdlib/tst-strtod-round.c (tests): Regenerated.
4868 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4870 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
4872 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
4873 zarch_nohighgprs around the zarch optimized routines.
4874 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4875 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4876 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
4879 2012-09-05 David S. Miller <davem@davemloft.net>
4881 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4883 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
4884 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
4885 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
4886 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
4889 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4891 * malloc/arena.c: Fold copyright years.
4892 * malloc/mcheck.c, malloc/memusage.c: Likewise.
4894 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4896 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
4898 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4900 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
4902 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4904 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
4905 change internal state upon failure.
4907 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
4909 * malloc/mcheck.c (mcheck_check_all): Fix typo.
4910 * malloc/memusage.c (mmap): Likewise.
4911 (mmap64, mremap): Likewise. Adjust name in comment.
4913 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4915 * libio/fileops.c: Fix typos in comments.
4916 * libio/oldfileops.c: Likewise.
4917 * libio/wfileops.c: Likewise.
4919 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4922 * malloc/Makefile (tests): Add tst-malloc-usable test case.
4923 (tst-malloc-usable-ENV): Set environment for test case.
4924 * malloc/hooks.c (malloc_check_get_size): New function to get
4926 * malloc/malloc.c (musable): Use malloc_check_get_size.
4927 * malloc/tst-malloc-usable.c: New test case.
4929 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4931 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
4933 2012-09-05 Allan McRae <allan@archlinux.org>
4936 * configure.in (CXX_SYSINCLUDES): Use compiler output to
4937 determine header location.
4938 * configure: Regenerated.
4940 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
4942 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
4944 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
4945 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
4949 2012-09-04 David S. Miller <davem@davemloft.net>
4951 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
4952 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
4953 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
4955 2012-09-04 Florian Weimer <fweimer@redhat.com>
4957 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
4960 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
4962 2012-09-04 Joseph Myers <joseph@codesourcery.com>
4965 * libio/iogetdelim.c: Include <limits.h>.
4966 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
4967 + len + 1 would overflow.
4969 2012-09-03 Andreas Jaeger <aj@suse.de>
4971 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4972 * sysdeps/i386/fpu/libm-test-ulps: Update.
4974 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4976 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
4977 Add s_sinf-sse2, s_conf-sse2.
4979 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
4980 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
4981 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
4982 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
4984 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
4985 for using routine as __sinf_ia32.
4986 Use macro for function declaration and weak_alias.
4987 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
4988 for using routine as __cosf_ia32.
4989 Use macro for function declaration and weak_alias.
4991 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
4992 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
4994 * sysdeps/x86_64/fpu/s_sinf.S: New file.
4995 * sysdeps/x86_64/fpu/s_cosf.S: New file.
4996 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4998 * math/libm-test.inc (cos_test): Add more test cases.
4999 (sin_test): Likewise.
5000 (sincos_test): Likewise.
5002 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5004 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5005 (IFUNC_RESOLVE): Make pointers to the specialized implementations
5007 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5009 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
5012 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
5013 first element of the GOT.
5014 (elf_machine_load_address): Return the difference between
5015 the runtime address of _DYNAMIC and elf_machine_dynamic ().
5017 2012-09-01 Allan McRae <allan@archlinux.org>
5020 * configure.in (AWK): Require gawk version 3.0 or later.
5021 * configure: Regenerated.
5023 2012-09-01 Joseph Myers <joseph@codesourcery.com>
5025 * sysdeps/unix/sysv/linux/kernel-features.h
5026 (__ASSUME_POSIX_CPU_TIMERS): Remove.
5027 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5028 [__NR_clock_getres]: Make code unconditional.
5029 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
5030 (clock_getcpuclockid): Remove code left unreachable by removal of
5032 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
5034 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5035 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5036 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
5037 Make code unconditional.
5038 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
5039 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5040 * sysdeps/unix/sysv/linux/clock_settime.c
5041 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
5043 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
5044 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
5046 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
5049 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
5050 scripts/test-installation.pl.
5052 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
5053 and $ld_so_version if it is set.
5055 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5058 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
5059 failure if reading from procfs failed.
5060 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
5062 2012-08-27 Joseph Myers <joseph@codesourcery.com>
5064 * sysdeps/unix/sysv/linux/kernel-features.h
5065 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
5066 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5067 Remove conditional code.
5068 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5069 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
5070 Remove conditional code.
5071 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5072 * sysdeps/unix/sysv/linux/i386/fxstat.c
5073 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5074 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5075 * sysdeps/unix/sysv/linux/i386/fxstatat.c
5076 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5077 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5078 * sysdeps/unix/sysv/linux/i386/lxstat.c
5079 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
5080 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5081 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
5082 Remove conditional code.
5083 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5084 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
5085 Remove conditional code.
5086 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5087 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
5088 <kernel-features.h>.
5089 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
5091 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
5092 Remove conditional code.
5093 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
5094 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
5097 2012-08-27 Mike Frysinger <vapier@gentoo.org>
5100 * NEWS: Add fixed bug number.
5102 2012-08-27 Joseph Myers <joseph@codesourcery.com>
5105 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
5106 underflowing exponent in case of negative sign.
5107 * stdlib/tst-strtod-round-data: Add more tests.
5108 * stdlib/tst-strtod-round.c (tests): Regenerated.
5111 * stdlib/strtod_l.c (NDIG): Remove.
5112 (HEXNDIG): Likewise.
5113 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
5114 smallest representable value.
5115 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
5116 lie within an exact representation of 1/2 ulp of the result.
5117 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
5119 (TENS_P9_IDX): Define unconditionally.
5120 (TENS_P9_SIZE): Likewise.
5121 (TENS_P10_IDX): Likewise.
5122 (TENS_P10_SIZE): Likewise.
5123 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
5124 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
5125 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
5126 entries for 10^2^13 and 10^2^14.
5127 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
5128 (TENS_P13_IDX): Define.
5129 (TENS_P13_SIZE): Likewise.
5130 (TENS_P14_IDX): Likewise.
5131 (TENS_P14_SIZE): Likewise.
5132 (_fpioconst_pow10): Change array size to
5133 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
5135 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
5136 1024]: Add entries for 10^2^13 and 10^2^14.
5137 [LAST_POW10 > _LAST_POW10]: Remove #error.
5138 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
5139 (_fpioconst_pow10): Change array size to
5140 FPIOCONST_POW10_ARRAY_SIZE.
5141 * stdlib/gen-fpioconst.c: New file.
5142 * stdlib/gen-tst-strtod-round.c: Likewise.
5143 * stdlib/tst-strtod-round-data: Likewise.
5144 * stdlib/tst-strtod-round.c: Likewise.
5145 * stdlib/Makefile (tests): Add tst-strtod-round.
5148 * stdlib/strtod_l.c: Include <stdint.h>.
5149 (NDEBUG): Do not define.
5150 (round_and_return): Change EXPONENT parameter to type intmax_t.
5151 Rearrange calculations to avoid internal overflow possibilities.
5152 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
5153 Rearrange calculations to avoid internal overflow possibilities.
5154 Assert that number fits inside MPNSIZE limbs.
5155 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
5156 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
5157 calculations and add assertions to avoid internal overflow
5158 possibilities. Add casts to avoid signed/unsigned operations.
5159 * stdlib/tst-strtod-overflow.c: New file.
5160 * stdlib/Makefile (tests): Add tst-strtod-overflow.
5162 2012-08-25 Marek Polacek <polacek@redhat.com>
5164 * time/time.h: Fix some typos in comments.
5166 2012-08-23 Roland McGrath <roland@hack.frob.com>
5168 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
5169 * posix/tst-rfc3484-2.c: Likewise.
5170 * posix/tst-rfc3484-3.c: Likewise.
5172 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
5174 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
5175 (EF_ARM_ABI_FLOAT_HARD): Likewise.
5177 2012-08-23 Joseph Myers <joseph@codesourcery.com>
5179 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
5180 #include of fxstatat64.c.
5182 2012-08-22 Roland McGrath <roland@hack.frob.com>
5184 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
5185 * shadow/getspent_r.c: Likewise.
5186 * shadow/getspnam.c: Likewise.
5187 * shadow/getspnam_r.c: Likewise.
5188 * gshadow/getsgent.c: Likewise.
5189 * gshadow/getsgent_r.c: Likewise.
5190 * gshadow/getsgnam.c: Likewise.
5191 * gshadow/getsgnam_r.c: Likewise.
5192 * inet/getnetbyad.c: Likewise.
5193 * inet/getnetbyad_r.c: Likewise.
5194 * inet/getnetbynm.c: Likewise.
5195 * inet/getnetbynm_r.c: Likewise.
5196 * inet/getnetent.c: Likewise.
5197 * inet/getnetent_r.c: Likewise.
5198 * inet/getproto.c: Likewise.
5199 * inet/getproto_r.c: Likewise.
5200 * inet/getprtent.c: Likewise.
5201 * inet/getprtent_r.c: Likewise.
5202 * inet/getprtname.c: Likewise.
5203 * inet/getprtname_r.c: Likewise.
5204 * inet/getrpcbyname.c: Likewise.
5205 * inet/getrpcbyname_r.c: Likewise.
5206 * inet/getrpcbynumber.c: Likewise.
5207 * inet/getrpcbynumber_r.c: Likewise.
5208 * inet/getrpcent.c: Likewise.
5209 * inet/getrpcent_r.c: Likewise.
5210 * inet/getaliasent.c: Likewise.
5211 * inet/getaliasent_r.c: Likewise.
5212 * inet/getaliasname.c: Likewise.
5213 * inet/getaliasname_r.c: Likewise.
5214 * nscd/getgrgid_r.c: Likewise.
5215 * nscd/getgrnam_r.c: Likewise.
5216 * nscd/gethstbyad_r.c: Likewise.
5217 * nscd/gethstbynm3_r.c: Likewise.
5218 * nscd/getpwnam_r.c: Likewise.
5219 * nscd/getpwuid_r.c: Likewise.
5220 * nscd/getsrvbynm_r.c: Likewise.
5221 * nscd/getsrvbypt_r.c: Likewise.
5222 * nscd/gai.c: Likewise.
5224 * configure.in (build_nscd): New substituted variable, set
5225 by --disable-build-nscd and defaults to $use_nscd.
5226 * configure: Regenerated.
5227 * config.make.in (build-nscd): New substituted variable.
5228 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
5229 Change conditional to require [$(build-nscd) = yes] as well.
5230 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
5233 * configure.in (use_nscd): New substituted variable, set by
5234 --disable-nscd. If enabled, define USE_NSCD.
5235 * configure: Regenerated.
5236 * config.h.in: Add USE_NSCD.
5237 * config.make.in (use-nscd): New substituted variable.
5238 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
5239 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
5240 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
5241 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
5242 (CFLAGS-getgrnam_r.c): Likewise.
5243 (CFLAGS-initgroups.c): Likewise.
5244 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
5245 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
5247 * inet/getnetgrent_r.c
5248 (nscd_setnetgrent): New function, broken out of ...
5249 (setnetgrent): ... here. Call it.
5250 (innetgr): Conditionalize nscd bits on [USE_NSCD].
5251 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
5252 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
5253 * nscd/Makefile (routines, aux): Move definitions after include of
5254 Makeconfig. Conditionalize on [$(use-nscd) != no].
5255 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
5256 Conditionalize on [USE_NSCD].
5257 (is_nscd, nscd_init_cb): Likewise.
5258 (nss_load_library): Conditionalize init callback on [USE_NSCD].
5259 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
5260 * nss/nss_db/db-init.c: Likewise.
5261 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
5263 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
5264 (make_request): Use it.
5265 (cache_valid_p): New function.
5266 (__check_pf): Use it.
5267 * NEWS: Add item for --disable-nscd.
5269 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
5271 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
5272 to support sed >= 4.2.1-20-ga9bf076.
5273 * configure: Regenerated.
5275 2012-08-22 Roland McGrath <roland@hack.frob.com>
5277 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
5278 Conditionalize whole body on [IREL].
5280 2012-08-22 Jeff Law <law@redhat.com>
5283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
5284 if the family is PF_UNSPEC.
5286 2012-08-22 Mike Frysinger <vapier@gentoo.org>
5288 * Makerules (lib-version): Rename from V.
5289 (install-lib-nosubdir): Change V to lib-version.
5291 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
5294 * powerpc32/power6/wcschr.c: New file.
5295 * powerpc32/power6/wcscpy.c: New file.
5296 * powerpc32/power6/wcsrchr.c: New file.
5297 * powerpc64/power6/wcschr.c: New file.
5298 * powerpc64/power6/wcscpy.c: New file.
5299 * powerpc64/power6/wcsrchr.c: New file.
5301 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5303 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
5304 (two_way_short_needle): Use it.
5305 * string/strstr.c (AVAILABLE1_USES_J): Define.
5306 * string/strcasestr.c: Likewise.
5308 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
5310 * string/strcasestr.c (TOLOWER): Make side-effect safe.
5313 * NEWS: Add an entry.
5314 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
5315 define their defaults.
5316 (two_way_short_needle): Detect end-of-string on-the-fly.
5317 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
5318 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
5319 * string/bug-strcasestr1.c: New test.
5320 * string/Makefile: Run it.
5322 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
5325 * string/str-two-way.h (two_way_short_needle): Optimize matching of
5326 the first character.
5328 2012-08-21 Roland McGrath <roland@hack.frob.com>
5330 * csu/elf-init.c (__libc_csu_irel): Function removed.
5331 * csu/libc-start.c (apply_irel): New function.
5332 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
5334 2012-08-21 Joseph Myers <joseph@codesourcery.com>
5336 * sysdeps/unix/sysv/linux/kernel-features.h
5337 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
5338 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5339 <kernel-features.h>.
5340 [__NR_fadvise64_64]: Make code unconditional.
5341 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
5342 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5343 !__NR_fadvise64_64)]: Likewise.
5344 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
5345 !__NR_fadvise64_64))]: Likewise.
5346 [__NR_fadvise64]: Make code unconditional.
5347 [!__NR_fadvise64]: Remove conditional code.
5348 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
5349 <kernel-features.h>.
5350 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5352 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
5355 not include <kernel-features.h>.
5356 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5358 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5360 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
5361 include <kernel-features.h>.
5362 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
5364 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
5367 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
5369 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
5370 slight instruction rearrangements per scrollpipe analysis.
5371 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
5373 2012-08-20 Roland McGrath <roland@hack.frob.com>
5375 * manual/syslog.texi (syslog; vsyslog, closelog):
5376 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
5377 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
5379 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
5380 DSOCAPS to match condition on defining it.
5382 2012-08-20 Joseph Myers <joseph@codesourcery.com>
5384 * sysdeps/unix/sysv/linux/kernel-features.h
5385 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
5386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
5387 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5388 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
5390 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5391 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
5393 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
5394 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
5396 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
5397 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
5399 * sysdeps/unix/sysv/linux/kernel-features.h
5400 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
5401 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
5403 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5404 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
5405 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5406 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5407 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
5408 Make code unconditional.
5409 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5410 (__mmap64) [!__NR_mmap2]: Likewise.
5411 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
5412 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
5413 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5414 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
5415 [__NR_mmap2]: Make code unconditional.
5416 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
5417 (__mmap64) [!__NR_mmap2]: Likewise.
5419 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5421 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
5423 2012-08-18 Andreas Jaeger <aj@suse.de>
5425 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
5427 2012-08-18 Mike Frysinger <vapier@gentoo.org>
5429 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
5430 * include/unistd.h (__have_sock_cloexec): Likewise.
5431 (__have_pipe2): Likewise.
5432 (__have_dup3): Likewise.
5434 2012-08-18 Mike Frysinger <vapier@gentoo.org>
5437 * include/unistd.h (__have_pipe2): Change define into an extern int.
5438 (__have_dup3): Likewise.
5439 * socket/have_sock_cloexec.c: Include fcntl.h.
5440 (__have_pipe2): New variable.
5441 (__have_dup3): Likewise.
5443 2012-08-17 Mike Frysinger <vapier@gentoo.org>
5445 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
5447 2012-08-17 Marek Polacek <polacek@redhat.com>
5449 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
5450 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
5452 2012-08-17 Roland McGrath <roland@hack.frob.com>
5454 * configure.in: Add AC_SUBST for sysheaders.
5455 * configure: Regenerated.
5456 * config.make.in (sysheaders): New substituted variable.
5458 * sysdeps/unix/mkfifo.c: Moved ...
5459 * sysdeps/posix/mkfifo.c: ... here.
5460 * sysdeps/unix/mkfifoat.c: Moved ...
5461 * sysdeps/posix/mkfifoat.c: ... here.
5463 * sysdeps/unix/utime.c: Moved ...
5464 * sysdeps/posix/utime.c: ... here.
5466 * sysdeps/unix/time.c: Moved ...
5467 * sysdeps/posix/time.c: ... here.
5468 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
5469 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
5471 * sysdeps/unix/nice.c: Moved ...
5472 * sysdeps/posix/nice.c: ... here.
5474 * sysdeps/unix/alarm.c: Moved ...
5475 * sysdeps/posix/alarm.c: ... here.
5477 * intl/Makefile ($(codeset_mo)): Depend on the input file.
5479 2012-08-17 Jeff Law <law@redhat.com>
5481 * intl/Makefile (codeset_mo): New variable.
5482 ($(codeset_mo)): New target.
5483 (tst-codeset.out): Depend on that. Remove explicit rule.
5484 (tst-gettext3.out, tst-gettext5.out): Likewise.
5485 (LOCPATH-ENV, tst-codeset-ENV): New variables.
5486 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
5487 * intl/tst-codeset.sh: Remove.
5488 * intl/tst-gettext3.sh: Likewise.
5489 * intl/tst-gettext5.sh: Likewise.
5491 2012-08-17 Roland McGrath <roland@hack.frob.com>
5493 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
5494 * sysdeps/unix/syscalls.list: ... here.
5496 * sysdeps/posix/getaddrinfo.c
5497 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
5498 (gaiconf_init, gaiconf_reload): Use them.
5500 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
5501 Define using time_t rather than struct timespec.
5503 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
5504 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
5506 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
5508 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
5509 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
5512 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
5513 __libc_cleanup_push argument.
5515 * bits/param.h: New file.
5516 * misc/sys/param.h: New file.
5517 * include/sys/param.h: New file.
5518 * misc/Makefile (headers): Add bits/param.h.
5519 * sysdeps/generic/sys/param.h: File removed.
5520 * sysdeps/unix/sysv/linux/bits/param.h: New file.
5521 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
5522 * sysdeps/mach/hurd/bits/param.h: New file.
5523 * sysdeps/mach/hurd/sys/param.h: File removed.
5525 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
5528 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
5530 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
5531 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
5534 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
5535 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
5536 rather than -D_IO_MTSAFE_IO conditionally.
5537 * stdio-common/Makefile (CPPFLAGS): Likewise.
5538 * wcsmbs/Makefile (CPPFLAGS): Likewise.
5539 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
5540 Use $(libio-mtsafe).
5541 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
5543 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
5544 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
5545 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
5546 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
5547 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
5548 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
5549 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
5550 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
5551 (CFLAGS-fread_u_chk.c): Likewise.
5552 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
5553 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
5554 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
5555 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
5556 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
5557 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
5558 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
5559 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
5560 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
5562 * libio/Makefile: Test [$(libc-reentrant) = yes]
5563 instead of [$(filter %REENTRANT, $(defines)) nonempty].
5566 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
5567 * sysdeps/pthread/configure: File removed.
5568 * sysdeps/pthread/Makeconfig: New file.
5569 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
5570 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
5572 2012-08-16 Gary Benson <gbenson@redhat.com>
5574 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
5575 unmapping the first object in a namespace.
5577 2012-08-16 Roland McGrath <roland@hack.frob.com>
5579 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
5580 (__internal_setnetgrent): ... this. Add internal_function to
5581 definition. Add libc_hidden_def.
5582 (setnetgrent): Update caller.
5583 (internal_endnetgrent): Renamed to ...
5584 (__internal_endnetgrent): ... this. Add internal_function to
5585 definition. Add libc_hidden_def.
5586 (endnetgrent): Update caller.
5587 (internal_getnetgrent_r): Renamed to ...
5588 (__internal_getnetgrent_r): ... this. Add internal_function to
5589 definition. Add libc_hidden_def.
5590 (__getnetgrent_r): Update caller.
5591 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
5593 2012-08-16 Joseph Myers <joseph@codesourcery.com>
5595 * stdlib/longlong.h: Update from GCC.
5597 2012-08-16 Roland McGrath <roland@hack.frob.com>
5599 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
5600 on _QL, which is set by umul_ppmm but never used.
5601 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
5602 variables, which are set by GMP macros but never used.
5603 * stdio-common/_itowa.c (_itowa): Likewise.
5604 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
5605 * stdlib/mod_1.c (mpn_mod_1): Likewise.
5607 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
5609 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
5610 struct La_sh_regs is not constant.
5611 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
5612 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
5613 and struct La_sparc64_regs are not constant.
5615 2012-08-16 Joseph Myers <joseph@codesourcery.com>
5617 * sysdeps/unix/sysv/linux/kernel-features.h
5618 (__ASSUME_POSIX_TIMERS): Remove.
5619 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5620 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5621 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
5622 Make code unconditional.
5623 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5624 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
5625 Make code unconditional.
5626 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5627 * sysdeps/unix/sysv/linux/clock_nanosleep.c
5628 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
5629 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5630 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
5631 Make code unconditional.
5632 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
5633 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
5634 (__libc_missing_posix_timers): Remove.
5636 2012-08-15 Roland McGrath <roland@hack.frob.com>
5638 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
5639 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
5641 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
5643 * elf/dl-sym.c: Include <stdlib.h>.
5645 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
5646 constants, which avoids warnings in 32-bit builds.
5648 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
5649 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
5651 * misc/lseek.c: File moved to ...
5652 * io/lseek.c: ... here.
5654 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
5656 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
5657 shifting LEN more than 31 bits at once.
5659 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5662 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
5663 segmentation fault for a case of two empty input strings.
5664 * string/test-strncasecmp.c (check1): Renamed to...
5666 (bz14195): Add new testcase for two empty input strings and N > 0.
5667 (test_main): Call new testcase, adapt for renamed function.
5669 2012-08-15 Andreas Jaeger <aj@suse.de>
5672 * crypt/md5test2.c: New test, based on test supplied by Serge
5673 Belyshev <belyshev@depni.sinp.msu.ru>.
5674 * crypt/Makefile (xtests): Add md5test-giant..
5675 * crypt/Makefile ($(objpfx)md5test-giant): Add.
5677 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
5680 * crypt/md5.c (md5_process_block): Don't assume the buffer
5681 length is less than 2**32.
5682 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
5683 length is less than 2**64.
5685 2012-08-15 Roland McGrath <roland@hack.frob.com>
5687 * string/str-two-way.h: Include <sys/param.h>.
5688 (MAX): Macro removed.
5690 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
5691 Move #define and #undef of memmove to just before and after
5692 including <string.h>.
5694 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
5695 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
5696 and after including <string.h>. Move declarations of
5697 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
5698 to before #include "string/memmove.c".
5700 * include/dirent.h: Declare __getdirentries.
5702 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
5703 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
5705 2012-08-14 Mike Frysinger <vapier@gentoo.org>
5707 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
5708 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
5709 * sysdeps/i386/configure: Regenerated.
5710 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
5711 STABS_CURRENT_FILE, and STABS_FUN.
5712 (END): Remove call to STABS_FUN_END.
5713 (STABS_CURRENT_FILE1): Delete.
5714 (STABS_CURRENT_FILE): Likewise.
5715 (STABS_FUN): Likewise.
5716 (STABS_FUN_END): Likewise.
5717 (STABS_FUN2): Likewise.
5718 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
5719 * sysdeps/x86_64/configure: Regenerated.
5721 2012-08-14 Roland McGrath <roland@hack.frob.com>
5723 * elf/dl-open.c: Include <atomic.h>.
5724 * elf/dl-lookup.c: Likewise.
5726 2012-08-14 Joseph Myers <joseph@codesourcery.com>
5728 * sysdeps/unix/sysv/linux/kernel-features.h
5729 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
5730 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
5732 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
5734 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
5735 condition on __ASSUME_CLONE_THREAD_FLAGS.
5737 2012-08-14 Andreas Jaeger <aj@suse.de>
5739 * sysdeps/i386/fpu/libm-test-ulps: Update.
5741 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
5743 * include/atomic.h (atomic_exchange_and_add): Split into ...
5744 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
5747 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
5749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5751 2012-08-13 Jeff Law <law@redhat.com>
5753 * manual/stdio.texi (snprintf): Clarify handling of the trailing
5754 null byte in the output string.
5756 2012-08-10 Joseph Myers <joseph@codesourcery.com>
5758 * sysdeps/unix/sysv/linux/kernel-features.h
5759 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
5760 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
5761 (__ASSUME_ARG_MAX_STACK_BASED): Define.
5762 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
5763 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
5764 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
5765 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
5767 2012-08-09 Jeff Law <law@redhat.com>
5770 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
5771 When avoid_arena is set, don't retry in the that arena. Pick the
5772 next one, whatever it might be.
5773 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
5774 (arena_lock): Pass in new parameter to arena_get2.
5775 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
5777 (__libc_malloc): Unify retrying after main arena failure with
5778 __libc_memalign version.
5779 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
5781 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
5784 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
5785 to __redirect_strstr.
5786 (__strstr_sse42): Use typeof __redirect_strstr.
5787 (__strstr_ia32): Likewise.
5788 (__libc_strstr): New prototype.
5789 (strstr): Renamed to ...
5790 (__libc_strstr): This.
5791 (strstr): New strong alias of __libc_strstr.
5792 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
5793 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
5796 (__libc_time): New prototype.
5797 (time_ifunc): Replace time with __libc_time.
5798 (time): New strong alias and hidden definition of __libc_time.
5799 (__GI_time): Remove strong alias.
5800 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
5802 (memmove): Redefined to __redirect_memmove.
5803 (__memmove_sse2): Use typeof __redirect_memmove.
5804 (__memmove_ssse3): Likewise.
5805 (__memmove_ssse3_back): Likewise.
5806 (__libc_memmove): New prototype.
5807 (memmove): Renamed to ...
5808 (__libc_memmove): This.
5809 (memmove): New strong alias of __libc_memmove.
5811 2012-08-08 Mark Salter <msalter@redhat.com>
5814 (R_MN10300_TLS_GD): Define.
5815 (R_MN10300_TLS_LD): Likewise.
5816 (R_MN10300_TLS_LDO): Likewise.
5817 (R_MN10300_TLS_GOTIE): Likewise.
5818 (R_MN10300_TLS_IE): Likewise.
5819 (R_MN10300_TLS_LE): Likewise.
5820 (R_MN10300_TLS_DTPMOD): Likewise.
5821 (R_MN10300_TLS_DTPOFF): Likewise.
5822 (R_MN10300_TLS_TPOFF): Likewise.
5823 (R_MN10300_SYM_DIFF): Likewise.
5824 (R_MN10300_ALIGN): Likewise.
5825 (R_MN10300_NUM): Update.
5827 2012-08-08 Joseph Myers <joseph@codesourcery.com>
5829 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
5832 2012-08-08 Roland McGrath <roland@hack.frob.com>
5834 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
5836 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
5837 sysdeps/unix -> sysdeps/posix move.
5838 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
5840 2012-08-07 Allan McRae <allan@archlinux.org>
5843 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
5844 (SUNOS_CPP): Likewise.
5845 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
5847 (open_input): Call CPP using execvp.
5849 2012-08-07 Joseph Myers <joseph@codesourcery.com>
5851 * sysdeps/unix/sysv/linux/kernel-features.h
5852 (__ASSUME_PROT_GROWSUPDOWN): Remove.
5853 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5854 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5855 (__ASSUME_WAITID_SYSCALL): Likewise.
5856 * sysdeps/unix/sysv/linux/dl-execstack.c
5857 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
5859 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
5861 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
5862 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
5863 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
5865 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
5867 [__ASSUME_WAITID_SYSCALL]: Likewise.
5868 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
5870 2012-08-07 Roland McGrath <roland@hack.frob.com>
5872 * sysdeps/unix/closedir.c: Renamed to ...
5873 * sysdeps/posix/closedir.c: ... here.
5874 * sysdeps/unix/dirfd.c: Renamed to ...
5875 * sysdeps/posix/dirfd.c: ... here.
5876 * sysdeps/unix/dirstream.h: Renamed to ...
5877 * sysdeps/posix/dirstream.h: ... here.
5878 * sysdeps/unix/fdopendir.c: Renamed to ...
5879 * sysdeps/posix/fdopendir.c: ... here.
5880 * sysdeps/unix/opendir.c: Renamed to ...
5881 * sysdeps/posix/opendir.c: ... here.
5882 * sysdeps/unix/readdir.c: Renamed to ...
5883 * sysdeps/posix/readdir.c: ... here.
5884 * sysdeps/unix/readdir_r.c: Renamed to ...
5885 * sysdeps/posix/readdir_r.c: ... here.
5886 * sysdeps/unix/rewinddir.c: Renamed to ...
5887 * sysdeps/posix/rewinddir.c: ... here.
5888 * sysdeps/unix/seekdir.c: Renamed to ...
5889 * sysdeps/posix/seekdir.c: ... here.
5890 * sysdeps/unix/telldir.c: Renamed to ...
5891 * sysdeps/posix/telldir.c: ... here.
5892 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
5893 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
5894 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
5895 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
5897 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
5898 * bits/fcntl.h: ... here.
5900 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
5902 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
5903 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
5904 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
5905 (struct flock): Move l_start, l_len to the beginning.
5906 Use __pid_t for l_pid.
5907 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
5908 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
5909 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
5910 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
5911 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
5912 [__USE_LARGEFILE64] (struct flock64): New type.
5913 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
5915 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
5916 * bits/dirent.h: ... here.
5918 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
5919 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
5921 2012-08-07 Joseph Myers <joseph@codesourcery.com>
5923 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
5924 Change from 2.6.0 to 2.6.16.
5925 * sysdeps/unix/sysv/linux/configure: Regenerated.
5926 * sysdeps/unix/sysv/linux/kernel-features.h
5927 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
5928 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
5930 (__ASSUME_UTIMES): Likewise.
5931 (__ASSUME_CLONE_STOPPED): Remove.
5932 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
5933 architectures, not kernel version.
5934 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
5935 (__ASSUME_NO_CLONE_DETACHED): Likewise.
5936 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
5937 (__ASSUME_WAITID_SYSCALL): Likewise.
5938 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
5939 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
5940 * README: State 2.6.16 as minimum Linux kernel version. Do not
5941 refer to older versions.
5943 2012-08-06 Roland McGrath <roland@hack.frob.com>
5945 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
5946 Define alphasort64 as an alias.
5947 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
5948 Define versionsort64 as an alias.
5949 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
5950 Define scandir64 as an alias.
5951 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
5952 Define scandirat64 as an alias.
5953 * dirent/alphasort64.c (alphasort64):
5954 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
5955 * dirent/versionsort64.c: Likewise.
5956 * dirent/scandir64.c: Likewise.
5957 * dirent/scandirat64.c: Likewise.
5958 * sysdeps/wordsize-64/alphasort.c: File removed.
5959 * sysdeps/wordsize-64/alphasort64.c: File removed.
5960 * sysdeps/wordsize-64/scandir.c: File removed.
5961 * sysdeps/wordsize-64/scandir64.c: File removed.
5962 * sysdeps/wordsize-64/scandirat.c: File removed.
5963 * sysdeps/wordsize-64/scandirat64.c: File removed.
5964 * sysdeps/wordsize-64/versionsort.c: File removed.
5965 * sysdeps/wordsize-64/versionsort64.c: File removed.
5966 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
5967 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
5968 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
5969 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
5970 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
5971 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
5972 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
5973 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
5975 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
5976 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
5977 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
5978 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5979 [defined __arch64__ || defined __sparcv9]
5980 (__INO_T_MATCHES_INO64_T): New macro.
5981 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
5982 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
5983 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
5984 * sysdeps/unix/sysv/linux/bits/dirent.h
5985 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
5986 (_DIRENT_MATCHES_DIRENT64): New macro.
5988 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
5989 Define lockf64 as an alias.
5990 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
5991 Define fseeko64 as an alias.
5992 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
5993 Define ftello64 as an alias.
5994 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
5995 Define _IO_fgetpos64 and fgetpos64 as aliases.
5996 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
5997 Define _IO_fsetpos64 and fsetpos64 as aliases.
5998 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
5999 Conditionalize body on this.
6000 * libio/fseeko64.c: Likewise.
6001 * libio/ftello64.c: Likewise.
6002 * libio/iofgetpos64.c: Likewise.
6003 * libio/iofsetpos64.c: Likewise.
6004 * sysdeps/wordsize-64/lockf.c: File removed.
6005 * sysdeps/wordsize-64/lockf64.c: File removed.
6006 * sysdeps/wordsize-64/fseeko.c: File removed.
6007 * sysdeps/wordsize-64/fseeko64.c: File removed.
6008 * sysdeps/wordsize-64/ftello.c: File removed.
6009 * sysdeps/wordsize-64/ftello64.c: File removed.
6010 * sysdeps/wordsize-64/iofgetpos.c: File removed.
6011 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
6012 * sysdeps/wordsize-64/iofsetpos.c: File removed.
6013 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
6014 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
6015 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
6016 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
6017 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
6018 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
6019 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
6020 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
6021 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
6022 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
6023 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
6025 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6026 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
6027 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
6028 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6029 [defined __arch64__ || defined __sparcv9]
6030 (__OFF_T_MATCHES_OFF64_T): New macro.
6031 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
6032 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
6033 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6034 (__OFF_T_MATCHES_OFF64_T): New macro.
6036 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6038 * stdlib/secure-getenv.c (__secure_getenv): Replace
6039 GLIBC_2_16 with GLIBC_2_17.
6041 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
6043 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
6044 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
6046 2012-08-03 David S. Miller <davem@davemloft.net>
6048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6050 2012-08-03 Joseph Myers <joseph@codesourcery.com>
6052 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
6054 (__ASSUME_CORRECT_SI_PID): Likewise.
6055 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
6056 (__ASSUME_TMPFS_NAME): Likewise.
6057 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
6058 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
6059 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
6060 (HAVE_AUX_SECURE): Make definition unconditional.
6061 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
6062 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
6064 2012-08-03 Roland McGrath <roland@hack.frob.com>
6066 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
6067 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
6068 * sysdeps/mach/hurd/eloop-threshold.h: New file.
6069 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
6070 __eloop_threshold instead of SYMLOOP_MAX.
6072 * sysdeps/generic/eloop-threshold.h: New file.
6073 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
6075 * elf/chroot_canon.c (chroot_canon): Likewise.
6077 2012-08-03 Joseph Myers <joseph@codesourcery.com>
6080 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6081 Change to 2.6.0 everywhere.
6082 * sysdeps/unix/sysv/linux/configure: Regenerated.
6083 * sysdeps/unix/sysv/linux/kernel-features.h
6084 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
6085 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
6087 (__ASSUME_POSIX_TIMERS): Define unconditionally.
6088 (__ASSUME_FUTEX_REQUEUE): Remove.
6089 (__ASSUME_STATFS64): Define unconditionally.
6090 (__ASSUME_AT_SECURE): Likewise.
6091 (__ASSUME_CORRECT_SI_PID): Likewise.
6092 (__ASSUME_TGKILL): Define without depending on kernel version for
6094 (__ASSUME_UTIMES): Likewise.
6095 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
6097 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
6098 (__ASSUME_TMPFS_NAME): Likewise.
6099 * README: Update reference to Linux kernel versions.
6101 2012-08-02 Marek Polacek <polacek@redhat.com>
6104 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
6105 libc_cv_asm_type_prefix with %.
6106 * configure: Regenerated.
6107 * include/libc-symbols.h: Remove comment about
6108 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6109 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
6110 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
6111 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
6112 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
6113 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
6114 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
6115 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
6116 * elf/tst-unique2mod1.c: Likewise.
6117 * elf/tst-unique1mod2.c: Likewise.
6118 * elf/tst-unique1mod1.c: Likewise.
6119 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
6120 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
6121 Replace ASM_TYPE_DIRECTIVE with .type.
6122 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6123 * sysdeps/i386/sysdep.h: Likewise.
6124 * sysdeps/x86_64/sysdep.h: Likewise.
6125 * sysdeps/sh/sysdep.h: Likewise.
6126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6127 Do not define ASM_TYPE_DIRECTIVE.
6128 * sysdeps/powerpc/sysdep.h: Likewise.
6129 * sysdeps/powerpc/powerpc32/sysdep.h:
6130 Replace ASM_TYPE_DIRECTIVE with .type.
6131 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6132 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6133 * sysdeps/i386/fpu/e_powf.S: Likewise.
6134 * sysdeps/i386/fpu/e_expl.S: Likewise.
6135 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6136 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6137 * sysdeps/i386/fpu/e_pow.S: Likewise.
6138 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6139 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6140 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6141 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6142 * sysdeps/i386/fpu/e_log2.S: Likewise.
6143 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6144 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6145 * sysdeps/i386/fpu/e_powl.S: Likewise.
6146 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6147 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6148 * sysdeps/i386/fpu/e_logl.S: Likewise.
6149 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6150 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6151 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6152 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6153 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6154 * sysdeps/i386/fpu/e_log.S: Likewise.
6155 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6156 * sysdeps/i386/fpu/e_logf.S: Likewise.
6157 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6158 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6159 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6160 * sysdeps/i386/fpu/e_log10.S: Likewise.
6161 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6162 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6163 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6164 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6165 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6166 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
6167 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6168 * sysdeps/i386/i686/strtok.S: Likewise.
6169 * sysdeps/i386/i386-mcount.S: Likewise.
6170 * sysdeps/i386/strtok.S: Likewise.
6171 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
6172 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6173 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6174 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6175 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
6176 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6177 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6178 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6179 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6180 * sysdeps/x86_64/_mcount.S: Likewise.
6181 * sysdeps/x86_64/strtok.S: Likewise.
6182 * sysdeps/sh/_mcount.S: Likewise.
6184 2012-08-01 Roland McGrath <roland@hack.frob.com>
6186 * libio/iofopen.c: Include <fcntl.h>.
6187 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
6188 (_IO_fopen64, fopen64): Define as aliases.
6189 * libio/iofopen64.c: Include <fcntl.h>.
6190 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
6191 Conditionalize body on this.
6192 * sysdeps/wordsize-64/iofopen.c: File removed.
6193 * sysdeps/wordsize-64/iofopen64.c: File removed.
6195 2012-08-01 Marek Polacek <polacek@redhat.com>
6197 * libc/Makeconfig: Use elf in place of binfmt-subdir.
6198 Use dlfcn directly instead of a variable.
6199 (binfmt-subdir): Do not define.
6202 2012-08-01 Joseph Myers <joseph@codesourcery.com>
6204 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
6205 Remove all definitions.
6206 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
6207 <kernel-features.h>.
6208 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6209 (miss_F_GETOWN_EX): Remove all definitions.
6210 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
6212 [!__ASSUME_FCNTL64]: Remove conditional code.
6213 [__ASSUME_FCNTL64]: Make code unconditional.
6214 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
6215 <kernel-features.h>.
6216 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
6217 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
6218 (lockf64) [__NR_fcntl64]: Make code unconditional.
6219 (lockf64) [__ASSUME_FCNTL64]: Likewise.
6221 * sysdeps/unix/sysv/linux/kernel-features.h
6222 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
6223 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
6224 Make code unconditional.
6225 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6226 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
6228 [__NR_vfork]: Make code unconditional.
6229 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6230 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
6232 [__NR_vfork]: Make code unconditional.
6233 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
6234 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
6236 2012-08-01 Roland McGrath <roland@hack.frob.com>
6238 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
6239 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
6241 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6242 Define mkstemp64 as an alias.
6243 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6244 Define mkstemps64 as an alias.
6245 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6246 Define mkostemp64 as an alias.
6247 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
6248 Define mkostemps64 as an alias.
6249 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
6250 Conditionalize body on this.
6251 * misc/mkostemp64.c: Likewise.
6252 * misc/mkostemps64.c: Likewise.
6253 * misc/mkstemps64.c: Likewise.
6254 * sysdeps/wordsize-64/mkstemp64.c: File removed.
6255 * sysdeps/wordsize-64/mkostemp64.c: File removed.
6256 * sysdeps/wordsize-64/mkostemp.c: File removed.
6257 * sysdeps/wordsize-64/mkstemp.c: File removed.
6258 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
6259 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
6260 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
6261 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
6264 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
6265 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
6266 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
6267 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
6269 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
6270 compat_symbol macros from <shlib-compat.h> rather than the underlying
6271 default_symbol_version and symbol_version macros, so that DEFAULT
6272 lines in shlib-versions are respected.
6273 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
6275 2012-08-01 Florian Weimer <fweimer@redhat.com>
6277 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
6278 Declare with warn_unused_result.
6279 (setgid, setregid, setegid, setresgid): Likewise.
6280 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
6282 * WUR-REPORT: Remove set*id functions.
6284 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
6286 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
6288 2012-07-31 Roland McGrath <roland@hack.frob.com>
6290 * include/sys/socket.h (__libc_accept, __libc_accept4):
6291 Add attribute_hidden.
6292 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
6294 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
6296 * inet/getnetgrent_r.c (setup): Likewise.
6298 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
6300 2012-07-31 David S. Miller <davem@davemloft.net>
6302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6304 2012-07-31 Joseph Myers <joseph@codesourcery.com>
6307 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
6308 value between 1.0 and 2.0 and smaller part has absolute value less
6310 * math/s_clog10.c (__clog10): Likewise.
6311 * math/s_clog10f.c (__clog10f): Likewise.
6312 * math/s_clog10l.c (__clog10l): Likewise.
6313 * math/s_clogf.c (__clogf): Likewise.
6314 * math/s_clogl.c (__clogl): Likewise.
6315 * math/libm-test.inc (clog_test): Add more tests.
6316 (clog10_test): Likewise.
6317 * sysdeps/i386/fpu/libm-test-ulps: Update.
6318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6320 2012-07-31 Florian Weimer <fweimer@redhat.com>
6322 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
6323 Exit with zero in case no suitable GID is found, and write a
6324 message to standard error.
6326 2012-07-30 Roland McGrath <roland@hack.frob.com>
6328 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
6330 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
6331 (MAXPATHLEN): Removed.
6332 (NOGROUP, NODEV): New macros.
6333 (setbit, clrbit, isset, isclr): New macros.
6334 (howmany, roundup, powerof2): New macros.
6335 (DEV_BSIZE): New macro.
6337 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
6338 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
6340 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
6341 definition on [!__NO_LONG_DOUBLE_MATH].
6343 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
6344 PTR_MANGLE and PTR_DEMANGLE.
6346 * socket/accept4.c (accept4): Rename to __libc_accept4.
6347 Define accept4 as a weak alias.
6349 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
6350 on [_DIRENT_HAVE_D_TYPE].
6351 * io/ftw.c (ftw_dir): Likewise.
6353 * io/xmknod.c (__xmknod): Don't check PATH for being null.
6355 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
6357 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
6358 Use the BSD numbers rather than the arbitrary ones we had.
6359 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
6360 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
6361 (SIGXCPU, SIGXFSZ): New macros.
6364 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
6365 initializer on [_LIBC_REENTRANT].
6367 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
6368 definitions inside [_POSIX_MAPPED_FILES].
6370 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
6372 * dirent/opendir.c: Include <fcntl.h>.
6374 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
6375 (__libc_getspecific): Likewise.
6376 (__libc_key_create): Likewise.
6378 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
6379 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
6380 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
6381 (tmpfile64): Define as alias.
6382 * sysdeps/wordsize-64/tmpfile.c: File removed.
6383 * sysdeps/wordsize-64/tmpfile64.c: File removed.
6384 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
6385 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
6387 * stdio-common/vfscanf.c: Include <stdbool.h>.
6388 * nss/makedb.c: Likewise.
6389 * stdio-common/_i18n_number.h: Likewise.
6390 * argp/argp-help.c: Likewise.
6391 * posix/wordexp.c: Likewise.
6392 * sysdeps/posix/spawni.c: Likewise.
6393 * nss/nss_files/files-initgroups.c: Likewise.
6394 * stdio-common/reg-modifier.c: Include <stdlib.h>.
6395 * nss/nss_files/files-initgroups.c: Likewise.
6396 * nss/nss_db/db-netgrp.c: Likewise.
6397 * nss/nss_db/db-initgroups.c: Likewise.
6398 * io/fchmodat.c: Include <sys/stat.h>.
6400 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
6401 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
6403 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
6406 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
6407 Add multiple inclusion protection.
6409 2012-07-27 David S. Miller <davem@davemloft.net>
6411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6413 2012-07-27 Gary Benson <gbenson@redhat.com>
6416 * elf/rtld.c: Include <stap-probe.h>.
6417 (dl_main): Added static probes "init_start" and "init_complete".
6418 * elf/dl-load.c: Include <stap-probe.h>.
6419 (lose): Take new parameter "nsid".
6420 Added static probe "map_failed".
6421 (_dl_map_object_from_fd): Pass namespace id to lose.
6422 Added static probe "map_start".
6423 (open_verify): Pass namespace id to lose.
6424 * elf/dl-open.c: Include <stap-probe.h>.
6425 (dl_open_worker) Added static probes "map_complete", "reloc_start"
6426 and "reloc_complete".
6427 * elf/dl-close.c: Include <stap-probe.h>.
6428 (_dl_close_worker): Added static probes "unmap_start" and
6430 * elf/rtld-debugger-interface.txt: New file documenting the above.
6432 2012-07-26 Roland McGrath <roland@hack.frob.com>
6434 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
6435 rather than a string variable.
6436 * sunrpc/rpc_main.c (h_output): Likewise.
6437 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
6439 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
6441 * inet/check_native.c: New file.
6443 2012-07-26 Joseph Myers <joseph@codesourcery.com>
6446 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
6447 if larger part has absolute value 1.0.
6448 * math/s_clog10.c (__clog10): Likewise.
6449 * math/s_clog10f.c (__clog10f): Likewise.
6450 * math/s_clog10l.c (__clog10l): Likewise.
6451 * math/s_clogf.c (__clogf): Likewise.
6452 * math/s_clogl.c (__clogl): Likewise.
6453 * math/libm-test.inc (clog_test): Add more tests.
6454 (clog10_test): Likewise.
6455 * sysdeps/i386/fpu/libm-test-ulps: Update.
6456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6458 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
6459 (pltexit): Likewise.
6460 (La_regs): Likewise.
6461 (La_retval): Likewise.
6462 (int_retval): Likewise.
6463 Update #error for removed macros to refer only to definitions in
6465 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
6467 (pltexit): Likewise.
6468 (La_regs): Likewise.
6469 (La_retval): Likewise.
6470 (int_retval): Likewise.
6471 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
6473 (pltexit): Likewise.
6474 (La_regs): Likewise.
6475 (La_retval): Likewise.
6476 (int_retval): Likewise.
6477 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
6479 (pltexit): Likewise.
6480 (La_regs): Likewise.
6481 (La_retval): Likewise.
6482 (int_retval): Likewise.
6483 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
6485 (pltexit): Likewise.
6486 (La_regs): Likewise.
6487 (La_retval): Likewise.
6488 (int_retval): Likewise.
6489 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
6491 (pltexit): Likewise.
6492 (La_regs): Likewise.
6493 (La_retval): Likewise.
6494 (int_retval): Likewise.
6495 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
6497 (pltexit): Likewise.
6498 (La_regs): Likewise.
6499 (La_retval): Likewise.
6500 (int_retval): Likewise.
6501 * sysdeps/generic/tst-audit.h: Update comment to refer only to
6502 macro definitions in tst-audit.h.
6503 * sysdeps/i386/tst-audit.h: New file.
6504 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
6505 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
6506 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
6507 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
6508 * sysdeps/sh/tst-audit.h: Likewise.
6509 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
6510 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
6511 * sysdeps/x86_64/tst-audit.h: Likewise.
6513 2012-07-26 Andreas Jaeger <aj@suse.de>
6515 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
6518 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
6519 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
6520 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
6522 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
6523 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
6524 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
6526 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
6529 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
6531 (si_call_addr, si_syscall, si_arch): Define new macro.
6532 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
6534 (si_call_addr, si_syscall, si_arch): Define new marcro.
6535 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
6537 (si_call_addr, si_syscall, si_arch): Define new macro.
6538 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
6540 (si_call_addr, si_syscall, si_arch): Define new macro.
6542 2012-07-25 Joseph Myers <joseph@codesourcery.com>
6545 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6546 Change to 2.4.21 where previously 2.4.1.
6547 * sysdeps/unix/sysv/linux/configure: Regenerated.
6548 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
6549 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
6550 Linux kernel version.
6551 (__ASSUME_STD_AUXV): Remove.
6552 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
6554 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
6555 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
6556 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
6557 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
6558 (__ASSUME_NETLINK_SUPPORT): Likewise.
6559 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
6560 (__no_netlink_support): Remove conditional definition.
6561 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
6563 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6564 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
6565 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
6566 (if_nameindex_ioctl): Remove.
6567 (if_nameindex_netlink): Do not handle __no_netlink_support.
6568 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6570 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
6571 Remove conditional code.
6572 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
6574 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
6576 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
6577 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
6578 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
6580 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
6581 [!__ASSUME_STD_AUXV]: Remove conditional code.
6582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
6583 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
6584 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
6585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
6586 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
6587 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6589 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6591 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
6592 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6594 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
6595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
6596 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
6598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6599 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
6601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
6602 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6604 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6606 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6608 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6611 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6613 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
6616 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6618 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6620 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6622 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
6625 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
6627 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6629 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
6631 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
6634 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6636 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
6637 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
6638 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6639 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
6640 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
6641 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
6642 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6643 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6644 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
6645 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
6646 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
6647 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
6648 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
6649 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6650 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6651 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
6652 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
6653 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
6654 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
6655 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
6656 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
6657 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6658 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6660 2012-07-25 Florian Weimer <fweimer@redhat.com>
6662 * Versions.def: Add GLIBC_2.17.
6663 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
6664 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
6665 Introduce __libc_secure_getenv.
6666 * stdlib/Versions (2.17): Add secure_getenv
6667 (GLIBC_PRIVATE): Add __libc_secure_getenv.
6668 * stdlib/secure-getenv.c: Rename __secure_getenv to
6669 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
6670 symbol __secure_getenv for GLIBC_2.0.
6671 * stdlib/tst-secure-getenv.c: New.
6672 * stdlib/Makefile (tests): Add testcase.
6673 * manual/startup.texi (Environment Access): Document
6675 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
6676 __libc_secure_getenv.
6677 * inet/ruserpass.c (ruserpass): Likewise.
6678 * malloc/mtrace.c (mtrace): Likewise.
6679 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
6680 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
6681 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
6682 * sysdeps/posix/tempname.c: Likewise. Evaluate
6684 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
6685 __secure_getenv to __libc_secure_getenv.
6686 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
6687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6691 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6693 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6695 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6699 2012-07-25 Joseph Myers <joseph@codesourcery.com>
6701 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
6702 (struct La_i86_retval): Likewise.
6703 (struct La_x86_64_regs): Likewise.
6704 (struct La_x86_64_retval): Likewise.
6705 (struct La_x32_regs): Likewise.
6706 (struct La_x32_retval): Likewise.
6707 (struct La_ppc32_regs): Likewise.
6708 (struct La_ppc32_retval): Likewise.
6709 (struct La_ppc64_regs): Likewise.
6710 (struct La_ppc64_retval): Likewise.
6711 (struct La_sh_regs): Likewise.
6712 (struct La_sh_retval): Likewise.
6713 (struct La_s390_32_regs): Likewise.
6714 (struct La_s390_32_retval): Likewise.
6715 (struct La_s390_64_regs): Likewise.
6716 (struct La_s390_64_retval): Likewise.
6717 (struct La_sparc32_regs): Likewise.
6718 (struct La_sparc32_retval): Likewise.
6719 (struct La_sparc64_regs): Likewise.
6720 (struct La_sparc64_retval): Likewise.
6721 (struct audit_ifaces): Remove architecture-specific pltenter and
6723 * sysdeps/i386/ldsodefs.h: New file.
6724 * sysdeps/powerpc/ldsodefs.h: Likewise.
6725 * sysdeps/s390/ldsodefs.h: Likewise.
6726 * sysdeps/sh/ldsodefs.h: Likewise.
6727 * sysdeps/sparc/ldsodefs.h: Likewise.
6728 * sysdeps/x86_64/ldsodefs.h: Likewise.
6730 2012-07-25 Marek Polacek <polacek@redhat.com>
6733 * math/libm-test.inc (yn_test): Add another test.
6734 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
6735 to ERANGE when the result is +-Inf.
6736 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
6737 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
6738 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
6739 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
6741 2012-07-24 Joseph Myers <joseph@codesourcery.com>
6743 * conform/data/time.h-data (NULL): Use macro-constant. Require
6745 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
6747 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
6749 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
6751 * configure.in <sysdeps resolving>: Correct printing
6753 * configure: Regenerate.
6755 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
6757 * math/w_ilogb.c: Include <limits.h>.
6758 * math/w_ilogbl.c: Likewise.
6760 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6762 * manual/lang.texi (__va_copy): Document primarily as ISO C99
6763 va_copy. Document allowing for unavailable va_copy only as
6764 pre-C99 compatibility.
6765 * manual/string.texi (Copying and Concatenation): Use va_copy
6766 instead of __va_copy in concat example.
6768 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
6770 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
6771 (__sendto): Use create_address_port. Initialize APORT and deallocate
6774 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
6775 with O_NOLINK passed to __file_name_lookup.
6777 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
6778 with O_NOLINK passed to __file_name_lookup.
6780 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
6781 negative N or less than NGIDS.
6783 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
6784 type to string_t. Set ERANGE as errno and return it if NAME is not big
6785 enough. Use memcpy instead of strncpy.
6787 2012-07-20 Joseph Myers <joseph@codesourcery.com>
6789 * elf/Makefile (check-data): Remove.
6790 (localplt.data): New vpath directive.
6791 ($(objpfx)check-localplt.out): Use localplt.data from vpath
6792 instead of $(check-data).
6793 * scripts/data/localplt-generic.data: Move to ...
6794 * sysdeps/generic/localplt.data: ... here.
6795 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
6796 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
6797 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
6798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6800 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
6801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6803 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
6804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
6806 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
6807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6809 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
6810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
6812 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
6813 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
6816 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6818 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
6819 PPC32 and PPC64 files.
6820 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
6821 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
6823 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6825 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
6826 __makecontext_ret to ...
6827 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
6828 ... here and call exit if uc_link is NULL. New file.
6829 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
6830 __makecontext_ret.S.
6831 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
6832 __makecontext_ret to ...
6833 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
6834 ... here and call exit if uc_link is NULL. New file.
6835 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
6836 __makecontext_ret.S.
6838 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6840 * elf/elf.h (R_390_IRELATIVE): New definition.
6841 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
6842 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
6843 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
6844 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6845 (elf_machine_lazy_rel): Likewise.
6846 * sysdeps/s390/dl-irel.h: New file.
6847 * sysdeps/s390/s390-64/memcpy.S: New asm code.
6848 * sysdeps/s390/s390-64/memset.S: New asm code.
6849 * sysdeps/s390/s390-64/memcmp.S: New asm code.
6850 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
6851 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
6852 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
6853 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
6854 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
6855 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
6856 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
6857 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
6858 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
6859 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
6860 * sysdeps/s390/s390-32/memcpy.S: New asm code.
6861 * sysdeps/s390/s390-32/memset.S: New asm code.
6862 * sysdeps/s390/s390-32/memcmp.S: New asm code.
6864 2012-07-17 Marek Polacek <polacek@redhat.com>
6867 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
6868 * sysdeps/s390/s390-64/configure.in: Likewise.
6869 * sysdeps/sparc/configure.in: Likewise.
6870 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
6871 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
6872 * sysdeps/i386/configure.in: Likewise.
6873 * sysdeps/x86_64/configure.in: Likewise.
6874 * sysdeps/sh/configure.in: Likewise.
6875 * sysdeps/s390/s390-32/configure: Regenerated.
6876 * sysdeps/s390/s390-64/configure: Likewise.
6877 * sysdeps/x86_64/configure: Likewise.
6878 * sysdeps/sh/configure: Likewise.
6879 * sysdeps/powerpc/powerpc64/configure: Likewise.
6880 * sysdeps/powerpc/powerpc32/configure: Likewise.
6881 * sysdeps/sparc/configure: Likwise.
6882 * sysdeps/i386/configure: Likewise.
6884 * elf/dl-open.c: Comment fixes.
6886 2012-07-17 Joseph Myers <joseph@codesourcery.com>
6888 * Makefile [CXX] (check-data): Remove.
6889 [CXX] (c++-types.data): New vpath directive.
6890 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
6891 vpath. Do not allow for C++ type data being missing.
6892 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
6893 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
6894 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
6895 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
6896 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
6897 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
6898 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
6899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6901 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
6902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6904 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
6905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
6907 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
6908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
6910 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
6911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
6913 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
6914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
6916 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
6917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
6919 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
6920 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
6922 * elf/tls-macros.h (TLS_LE): Move architecture-specific
6923 definitions to architecture-specific files.
6927 * sysdeps/i386/tls-macros.h: New file.
6928 * sysdeps/powerpc/tls-macros.h: Likewise.
6929 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
6930 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
6931 * sysdeps/sh/tls-macros.h: Likewise.
6932 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
6933 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
6934 * sysdeps/x86_64/tls-macros.h: Likewise.
6936 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6938 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
6939 zero value for regular exit case.
6941 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6942 (__start_context): Preserve zero value for regular exit case.
6944 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
6945 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6947 * manual/setjmp.texi (setcontext): Clarify normal process
6948 termination when uc_link is the null pointer.
6949 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
6952 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
6954 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
6955 preprocessor. Test for each exception mask separately.
6957 2012-07-16 Andreas Jaeger <aj@suse.de>
6959 * po/ru.po: Update from translation team.
6961 2012-07-15 Joseph Myers <joseph@codesourcery.com>
6963 * conform/data/string.h-data (NULL): Use macro-constant. Require
6965 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
6966 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
6967 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
6968 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
6969 [ISO || ISO99 || ISO11] (*_t): Do not allow.
6971 2012-07-13 Andreas Jaeger <aj@suse.de>
6973 * po/fr.po: Update from translation team.
6975 2012-07-12 Marek Polacek <polacek@redhat.com>
6978 * math/libm-test.inc (yn_test): Add test for BZ #14173.
6979 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
6982 2012-07-12 Joseph Myers <joseph@codesourcery.com>
6985 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
6986 Change to 2.4.1 where previously 2.4.0.
6987 * sysdeps/unix/sysv/linux/configure: Regenerated.
6988 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
6989 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
6991 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
6992 (__ASSUME_AT_CLKTCK): Remove.
6993 (__ASSUME_AT_PAGESIZE): Likewise.
6994 (__ASSUME_AT_XID): Likewise.
6995 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
6996 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
6997 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
6999 (HAVE_AUX_PAGESIZE): Likewise.
7000 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
7001 [__ASSUME_AT_CLKTCK]: Make code unconditional.
7002 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
7004 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
7007 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
7008 the temporary buffer used to invoke __gethostbyname2_r,
7009 __gethostbyaddr_r and gethostbyname4_r to make room for struct
7010 host_data / struct gaih_addrtuple.
7011 * resolv/nss_dns/dns-host.c (global scope): Move definition of
7012 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
7013 header file nss/nsswitch.h.
7014 * nss/nsswitch.h (global scope): Add definition of implementation
7015 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
7016 resolv/nss_dns/dns-host.c).
7018 2012-07-11 Andreas Jaeger <aj@suse.de>
7020 * po/fr.po: Update from translation team.
7022 * po/sv.po: Update from translation team
7023 * po/fr.po: Another update from translation team.
7025 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7027 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
7028 for subnormals or multiply small sinh result by itself.
7029 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7030 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7032 2012-07-11 David S. Miller <davem@davemloft.net>
7034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7036 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
7039 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
7040 (INTERNAL_MARK): Shift it here.
7042 2012-07-10 Marek Polacek <polacek@redhat.com>
7045 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
7046 libc_cv_asm_global_directive with .globl.
7047 * configure: Regenerated.
7048 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
7050 * sysdeps/i386/configure: Regenerated.
7051 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
7053 * sysdeps/x86_64/configure: Regenerated.
7054 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
7055 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
7056 * elf/tst-unique2mod2.c: Likewise.
7057 * elf/tst-unique2mod1.c: Likewise.
7058 * elf/tst-unique1mod2.c: Likewise.
7059 * elf/tst-unique1mod1.c: Likewise.
7060 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7061 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
7062 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7063 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
7064 * sysdeps/mach/sysdep.h: Likewise.
7065 * sysdeps/i386/sysdep.h: Likewise.
7066 * sysdeps/i386/i386-mcount.S: Likewise.
7067 * sysdeps/x86_64/_mcount.S: Likewise.
7068 * sysdeps/x86_64/sysdep.h: Likewise.
7069 * sysdeps/sh/_mcount.S: Likewise.
7070 * sysdeps/sh/sysdep.h: Likewise.
7071 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
7072 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
7073 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
7074 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
7075 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
7076 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
7077 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
7078 * locale/localeinfo.h: Likewise.
7079 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
7080 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
7082 2012-07-09 Roland McGrath <roland@hack.frob.com>
7085 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
7087 * manual/message.texi (The Uniforum approach): Likewise.
7088 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
7089 (glibc iconv Implementation): Likewise.
7091 2012-07-09 Joseph Myers <joseph@codesourcery.com>
7094 * math/s_clog.c (__clog): Avoid scaling a value down where that
7095 could result in underflow.
7096 * math/s_clog10.c (__clog10): Likewise.
7097 * math/s_clog10f.c (__clog10f): Likewise.
7098 * math/s_clog10l.c (__clog10l): Likewise.
7099 * math/s_clogf.c (__clogf): Likewise.
7100 * math/s_clogl.c (__clogl): Likewise.
7101 * math/libm-test.inc (clog_test): Add more tests.
7102 (clog10_test): Likewise.
7103 * sysdeps/i386/fpu/libm-test-ulps: Update.
7104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7106 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
7109 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
7110 by 7 not 8 to examine high bit of fractional part.
7113 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
7114 for call to __mcount_internal.
7115 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
7116 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
7117 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
7119 2012-07-06 Joseph Myers <joseph@codesourcery.com>
7122 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
7123 approximation for values within 0x1p-13f of an odd multiple of
7125 * math/libm-test.inc (tan_test): Do not allow spurious underflow
7126 exception. Add more tests.
7127 * sysdeps/i386/fpu/libm-test-ulps: Update.
7130 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
7131 inputs and return -1 for them. Do not check for +Inf in case not
7133 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7134 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
7135 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7136 and return -1 for them. Do not check for +Inf in case not
7138 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
7140 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
7141 and return -1 for them. Do not check for +Inf in case not
7143 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
7145 * sysdeps/i386/fpu/libm-test-ulps: Update.
7146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7148 2012-07-06 Mike Frysinger <vapier@gentoo.org>
7150 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
7152 2012-07-05 Joseph Myers <joseph@codesourcery.com>
7156 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
7157 could result in spurious underflow. Scale down values above
7158 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
7159 * math/s_csqrtf.c (__csqrtf): Likewise.
7160 * math/s_csqrtl.c (__csqrtl): Likewise.
7161 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
7163 * sysdeps/i386/fpu/libm-test-ulps: Update.
7164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7166 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
7168 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
7170 * catgets/xopen-msg.awk: New file.
7171 * catgets/xopen-msg.sed: Removed.
7173 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
7175 * intl/po2test.awk: New file.
7176 * intl/po2test.sed: Removed.
7178 2012-07-04 Joseph Myers <joseph@codesourcery.com>
7181 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
7182 or multiply small sinh result by itself.
7183 * math/s_ctanf.c (__ctanf): Likewise.
7184 * math/s_ctanh.c (__ctanh): Likewise.
7185 * math/s_ctanhf.c (__ctanhf): Likewise.
7186 * math/s_ctanhl.c (__ctanhl): Likewise.
7187 * math/s_ctanl.c (__ctanl): Likewise.
7188 * math/libm-test.inc (ctan_test_tonearest): New function.
7189 (ctan_test_towardzero): Likewise.
7190 (ctan_test_downward): Likewise.
7191 (ctan_test_upward): Likewise.
7192 (ctanh_test_tonearest): Likewise.
7193 (ctanh_test_towardzero): Likewise.
7194 (ctanh_test_downward): Likewise.
7195 (ctanh_test_upward): Likewise.
7196 (main): Call these new functions.
7197 * sysdeps/i386/fpu/libm-test-ulps: Update.
7198 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7200 2012-07-03 Mike Frysinger <vapier@gentoo.org>
7202 * .gitignore: Delete /ports entry.
7204 2012-07-03 Andreas Jaeger <aj@suse.de>
7206 * po/bg.po: Update from translation team.
7207 * po/cs.po: Likewise.
7208 * po/de.po: Likewise.
7209 * po/hr.po: Likewise.
7210 * po/nl.pl: Likewise.
7211 * po/pl.po: Likewise.
7212 * po/vi.po: Likewise.
7214 2012-07-03 Joseph Myers <joseph@codesourcery.com>
7216 * Makeconfig [!+link] (+link-before-libc): New variable.
7217 [!+link] (+link-after-libc): Likewise.
7218 [!+link] (+link-tests): Likewise.
7219 [!+link] (+link): Define in terms of $(+link-before-libc) and
7220 $(+link-after-libc).
7221 [!+link-static] (+link-static-before-libc): New variable.
7222 [!+link-static] (+link-static-after-libc): Likewise.
7223 [!+link-static] (+link-static-tests): Likewise.
7224 [!+link-static] (+link-static): Define in terms of
7225 $(+link-static-before-libc) and $(+link-static-after-libc).
7226 [build-shared] (link-libc-before-gnulib): New variable.
7227 [build-shared] (link-libc-tests): Likewise.
7228 [build-shared] (link-libc): Define in terms of
7229 $(link-libc-before-gnulib).
7230 [!build-shared] (link-libc-tests): New variable.
7231 (link-libc-static-tests): New variable.
7232 [!gnulib] (gnulib-arch): New variable.
7233 [!gnulib] (gnulib-tests): Likewise.
7234 [!gnulib] (static-gnulib-arch): Likewise.
7235 [!gnulib] (static-gnulib-tests): Likewise.
7236 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
7237 Define with "=" instead of ":=".
7238 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
7239 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
7240 * Rules (binaries-all-notests): New variable.
7241 (binaries-all-tests): Likewise.
7242 (binaries-static-notests): Likewise.
7243 (binaries-static-tests): Likewise.
7244 (binaries-all): Define using $(binaries-all-notests) and
7245 $(binaries-all-tests).
7246 (binaries-static): Define using $(binaries-static-notests) and
7247 $(binaries-static-tests).
7248 (binaries-shared-tests): New variable.
7249 (binaries-shared-notests): Likewise.
7250 (binaries-shared): Remove variable.
7251 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
7252 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
7253 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
7254 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
7255 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
7256 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
7257 * elf/Makefile (sln-modules): New variable.
7258 (extra-objs): Add $(sln-modules:=.o).
7259 (ldconfig-modules): Add static-stubs.
7260 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
7261 * elf/static-stubs.c: New file.
7264 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
7265 by 7 not 8 to examine high bit of fractional part. Use volatile
7266 variables when splitting into final array of floats if
7267 __FLT_EVAL_METHOD__ != 0.
7268 * math/libm-test.inc (cos_test): Add another test.
7269 (sin_test): Likewise.
7270 * sysdeps/i386/fpu/libm-test-ulps: Update.
7273 * math/libm-test.inc (cosh_test): Add more tests.
7275 * version.h (RELEASE): Set to "development".
7276 (VERSION): Set to "2.16.90".
7278 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
7280 * NEWS: Update copyright. Remove last-updated date.
7281 Mention math library bug fixes and timezone data changes.
7282 * README: Mention GNU/Hurd, x32, and HPPA support status.
7284 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
7286 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
7288 2012-06-27 Andreas Jaeger <aj@suse.de>
7290 * manual/contrib.texi (Contributors): Add Samuel Thibault.
7292 2012-06-25 Andreas Jaeger <aj@suse.de>
7294 * sysdeps/s390/fpu/libm-test-ulps: Update.
7296 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
7297 Thomas Schwinge <thomas@codesourcery.com>
7299 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
7300 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
7301 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
7304 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
7306 * sysdeps/mach/start.c: Remove file.
7307 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
7308 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
7309 * sysdeps/sh/init-first.c: Likewise.
7311 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
7312 registers for frame unwinding purposes, add CFI directives.
7313 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7314 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
7315 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
7318 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
7319 __fortify_fail returning.
7320 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
7322 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
7323 sysdeps/sh/____longjmp_chk.S.
7324 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
7325 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
7326 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
7327 (gen-as-const-headers): Append sigaltstack-offsets.sym.
7329 * sysdeps/sh/abort-instr.h: New file.
7330 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
7331 process in case exit returns.
7333 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
7334 initialize the GOT register before use.
7336 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
7337 calculation of ARGC > 4.
7339 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
7340 meaningful names to some local labels.
7342 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
7343 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7345 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
7346 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
7347 (__arch_compare_and_exchange_val_16_acq): Likewise.
7348 (__arch_compare_and_exchange_val_32_acq): Likewise.
7349 (atomic_exchange_and_add): Fix gUSA sequence.
7350 (atomic_add): Likewise.
7351 (atomic_add_negative): Likewise.
7352 (atomic_add_zero): Likewise.
7353 (atomic_bit_test_set): Likewise.
7355 2012-06-22 Andreas Schwab <schwab@redhat.com>
7358 * include/link.h (struct link_map): Add l_free_initfini.
7359 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
7361 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
7362 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
7363 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
7366 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
7368 * configure.in: Use AC_LANG_SOURCE.
7369 * configure: Regenerate.
7371 2012-06-22 Roland McGrath <roland@hack.frob.com>
7373 * configure.in (libc_cv_localstatedir): New substituted variable.
7374 * configure: Regenerated.
7375 * config.make.in (localstatedir): New variable, substituted from
7376 libc_cv_localstatedir.
7377 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
7378 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
7379 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
7380 * sysdeps/gnu/configure: Regenerated.
7382 2012-06-21 Jeff Law <law@redhat.com>
7385 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
7386 free. Simplify list management for _LIBC case.
7388 2012-06-21 Joseph Myers <joseph@codesourcery.com>
7391 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
7392 Clear sign bit of 64-bit integer value before comparing against
7395 * sysdeps/mach/configure: Regenerated.
7397 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
7400 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
7402 2012-06-21 Jeff Law <law@redhat.com>
7405 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
7406 uint16_t for elements in the "seen" array to avoid char overflows.
7407 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7408 * elf/dl-open.c (dl_open_worker): Likewise.
7410 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
7412 * scripts/list-sources.sh: Scan PORTS for translations.
7413 * po/libc.pot: Regenerated.
7415 2012-06-21 Andreas Jaeger <aj@suse.de>
7418 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
7420 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
7421 * bits/byteswap-16.h (__bswap_16): Likewise.
7422 * bits/byteswap.h (__bswap_constant_16): Likewise.
7424 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
7427 * sysdeps/i386/fpu_control.h: Removed.
7428 * sysdeps/x86_64/fpu_control.h: Moved to ...
7429 * sysdeps/x86/fpu_control.h: Here.
7431 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
7432 (_FPU_SETCW): Likewise.
7434 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
7437 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
7438 * sysdeps/x86/fpu/bits/mathinline.h: This.
7439 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
7443 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
7444 functions if __x86_64__ is defined.
7446 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
7448 * string/endian.h: Add !__ASSEMBLER__ condition for including
7449 conversion interfaces.
7451 2012-06-15 Joseph Myers <joseph@codesourcery.com>
7454 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
7455 of ABS(x) in calculating zero to negative powers other than odd
7457 * math/libm-test.inc (pow_test): Add more tests.
7459 2012-06-15 Andreas Jaeger <aj@suse.de>
7461 * manual/contrib.texi (Contributors): Update entry of Liubov
7462 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
7465 2012-06-15 Cyril Hrubis <metan@ucw.cz>
7467 * string/string.h: Add __wur to GNU version of strerror_r.
7469 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
7472 * string/Makefile (tests): Add tst-strtok_r.
7473 * string/tst-strtok_r.c: New file.
7474 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
7475 RAX_LP/RDX_LP on SAVE_PTR.
7477 2012-06-14 Roland McGrath <roland@hack.frob.com>
7479 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
7481 2012-06-14 Joseph Myers <joseph@codesourcery.com>
7483 * libm_test.inc (csqrt_test): Allow more spurious underflow
7485 (j0_test): Likewise.
7486 (j1_test): Likewise.
7487 (y0_test): Likewise.
7488 (y1_test): Likewise.
7490 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
7492 * po/Makefile (libc.pot): Use UTF-8 charset.
7494 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
7497 Suppress sign-conversion warning from FD_SET.
7498 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
7499 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
7500 not unsigned long int.
7501 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
7503 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
7507 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
7508 __extern_always_inline instead of __extern_inline.
7509 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
7510 (__signbit): Likewise.
7511 (__signbitl): Support C++ namespace.
7512 (lrintf): New inline function.
7514 (llrintf): Likewise.
7526 (nearbyint): Likewise.
7527 (nearbyintf): Likewise.
7529 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
7531 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
7532 non-default versions.
7534 2012-06-11 Roland McGrath <roland@hack.frob.com>
7537 * manual/argp.texi (Argp): Reword argp_parse description slightly.
7539 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
7541 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
7542 (FE_UPWARD, FE_DOWNWARD): Don't define.
7543 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
7544 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
7546 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
7548 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
7549 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
7551 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7553 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
7554 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
7555 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
7556 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
7558 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
7561 * sysdeps/i386/fpu/bits/fenv.h: Removed.
7562 * sysdeps/i386/fpu/Implies: New file.
7563 * sysdeps/x86_64/fpu/Implies: Likewise.
7564 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
7565 * sysdeps/x86/fpu/bits/fenv.h: This.
7567 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
7570 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7573 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
7574 character 0xffff that matches the last element of the
7577 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7579 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
7582 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7584 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
7585 values higher than 25.6283.
7587 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7589 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
7590 subnormal exponent extraction and add some __builtin_expect.
7591 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
7592 Fix for subnormal mantissa calculation.
7594 2012-06-04 Mike Frysinger <vapier@gentoo.org>
7596 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
7597 cpu2 is -1 and errno is not ENOSYS.
7599 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
7602 * sysdeps/i386/i486/bits/string.h: Renamed to ...
7603 * sysdeps/x86/bits/string.h: This.
7604 * sysdeps/x86_64/bits/string.h: Removed.
7606 * sysdeps/i386/i486/bits/string.h: Define inline functions only
7607 if not compiling for x86-64, but compiling for >= i486.
7609 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
7610 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
7612 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
7613 New macro from Linux kernel 3.4.0.
7614 (FP_XSTATE_MAGIC2): Likewise.
7615 (FP_XSTATE_MAGIC2_SIZE): Likewise.
7616 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
7617 (struct _fpx_sw_bytes): New struct.
7618 (struct _xsave_hdr): Likewise.
7619 (struct _ymmh_state): Likewise.
7620 (struct _xstate): Likewise.
7622 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
7623 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
7624 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
7625 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
7626 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
7627 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
7629 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
7630 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
7631 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
7632 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
7633 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
7634 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
7636 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7639 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
7640 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
7641 (sysdep_headers): Include sys/platform/ppc.h.
7642 * sysdeps/powerpc/test-gettimebase.c: Test for
7643 __ppc_get_timebase() to catch future ISA opcode/insn changes.
7644 * manual/Makefile (appendices): Include platform.texi.
7645 * manual/contrib.texi (Contributors): Update @node pointers.
7646 * manual/maint.texi (Maintenance): Likewise.
7647 (Platform): New node.
7648 * manual/platform.texi: New file. Document the new features.
7650 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7651 Jakub Jelinek <jakub@redhat.com>
7654 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
7655 where __builtin_expect is unavailable.
7657 2012-06-03 David S. Miller <davem@davemloft.net>
7659 * stdlib/longlong.h: Updated from GCC.
7661 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
7664 * sysdeps/powerpc/powerpc32/mcount.c: New file.
7665 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
7667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7668 (GLIBC_2.16): Likewise.
7670 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7672 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
7674 2012-06-01 Joseph Myers <joseph@codesourcery.com>
7676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7677 (default-abi): New variable.
7678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
7679 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
7681 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
7683 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
7685 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
7688 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
7689 definition. Document in comment.
7691 2012-06-01 David S. Miller <davem@davemloft.net>
7693 * stdlib/longlong.h: Updated from GCC.
7695 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7698 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
7699 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
7700 sys/debugreg.h sys/io.h here.
7701 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
7702 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
7704 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
7705 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
7706 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
7707 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
7708 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
7709 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
7711 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
7712 Define only if __x86_64__ is defined.
7714 2012-06-01 Joseph Myers <joseph@codesourcery.com>
7717 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
7718 Use int64_t for variable i.
7719 * math/libm-test.inc (fmod_test): Add more tests.
7721 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
7722 z computation is not scheduled after fetestexcept.
7723 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
7724 Use math_force_eval instead of asm to ensure calculation scheduled
7725 before exception test.
7726 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
7727 Ensure a1 + u.d computation is not scheduled after fetestexcept.
7729 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
7731 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
7732 computation is not scheduled after fetestexcept.
7734 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
7737 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
7738 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
7740 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7742 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
7743 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7745 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7748 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
7750 (__WCHAR_MIN): Support __WORDSIZE == 64.
7751 (__WCHAR_MAX): Likewise.
7753 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
7754 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
7757 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
7758 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
7761 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
7762 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
7764 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
7765 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
7767 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
7768 Defined to 1 if __x86_64__ isn't defined.
7769 (_STAT_VER_LINUX_OLD): New.
7770 (st_atime): Remove duplicate.
7771 (st_mtime): Likewise.
7772 (st_ctime): Likewise.
7774 2012-05-31 David S. Miller <davem@davemloft.net>
7776 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
7779 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
7781 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
7785 * elf/dl-reloc.c: Include <_itoa.h>.
7786 (_dl_reloc_bad_type): Remove use of INTUSE.
7787 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
7788 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
7789 * stdio-common/psiginfo.c (psiginfo): Likewise.
7790 * stdio-common/psignal.c (psignal): Likewise.
7791 * string/strsignal.c (strsignal): Likewise.
7792 * include/signal.h (_sys_siglist): Declare hidden proto.
7793 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
7794 INTVARDEF with libc_hidden_data_def.
7795 * stdio-common/itoa-udigits.c: Likewise.
7796 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
7797 (_itoa_lower_digits_internal): Remove declaration.
7798 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
7799 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
7800 (_sys_sigabbrev_internal): Remove aliases.
7801 (_sys_siglist): Define hidden alias.
7803 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
7805 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7808 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
7811 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
7812 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
7814 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
7815 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
7816 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
7817 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
7818 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
7819 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
7821 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
7822 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
7823 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
7825 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
7833 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
7834 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
7835 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
7837 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
7838 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
7839 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
7840 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
7841 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
7842 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
7844 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
7845 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
7847 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
7848 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
7850 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
7851 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
7852 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
7854 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
7855 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
7857 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
7859 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
7860 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
7861 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
7863 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
7865 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
7867 2012-05-31 Joseph Myers <joseph@codesourcery.com>
7869 * math/math.h (M_El): Use two more decimal places.
7870 (M_LOG2El): Likewise.
7871 (M_LOG10El): Likewise.
7873 (M_LN10l): Likewise.
7875 (M_PI_2l): Likewise.
7876 (M_PI_4l): Likewise.
7877 (M_1_PIl): Likewise.
7878 (M_2_PIl): Likewise.
7879 (M_2_SQRTPIl): Likewise.
7880 (M_SQRT2l): Likewise.
7881 (M_SQRT1_2l): Likewise.
7883 2012-05-31 David S. Miller <davem@davemloft.net>
7885 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
7886 values between float registers.
7887 * sysdeps/sparc/sparc64/memset.S: Likewise.
7888 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7890 2012-05-31 Mike Frysinger <vapier@gentoo.org>
7892 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
7893 -D_FORTIFY_SOURCE=1.
7894 (CPPFLAGS-tst-longjmp_chk.c): Define.
7895 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
7896 (CPPFLAGS-tst-longjmp_chk2.c): Define.
7897 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
7898 CFLAGS-tst-wchar-h.c.
7900 2012-05-31 Marek Polacek <polacek@redhat.com>
7903 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
7904 __endmntent_internal): Remove declaration.
7905 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
7906 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
7907 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
7909 2012-05-30 David S. Miller <davem@davemloft.net>
7911 * sysdeps/sparc/sparc32/soft-fp/q_util.c
7912 (___Q_simulate_exceptions): Use real FP ops rather than writing
7914 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
7917 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7920 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
7921 * sysdeps/x86/bits/xtitypes.h: This.
7923 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
7924 * sysdeps/x86/bits/wordsize.h: This.
7926 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
7927 * sysdeps/x86/bits/huge_vall.h: This.
7929 * sysdeps/i386/bits/select.h: Removed.
7930 * sysdeps/x86_64/bits/select.h: Renamed to ...
7931 * sysdeps/x86/bits/select.h: This.
7933 * sysdeps/i386/bits/setjmp.h: Removed.
7934 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
7935 * sysdeps/x86/bits/setjmp.h: This.
7937 * sysdeps/i386/bits/mathdef.h: Removed.
7938 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
7939 * sysdeps/x86/bits/mathdef.h: This.
7941 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
7944 * include/sys/socket.h (__connect_internal)
7945 (__libc_sa_len_internal): Remove declaration.
7946 (__connect, __libc_sa_len): Declare hidden_proto.
7947 (SA_LEN): Remove use of INTUSE.
7948 * socket/connect.c: Add libc_hidden_def.
7949 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
7950 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
7951 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
7953 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7954 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7955 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
7956 of adding _internal alias.
7958 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7961 * sysdeps/i386/bits/link.h: Removed.
7962 * sysdeps/i386/bits/linkmap.h: Likewise.
7963 * sysdeps/x86_64/bits/link.h: Renamed to ...
7964 * sysdeps/x86/bits/link.h: This.
7965 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
7966 * sysdeps/x86/bits/linkmap.h: This.
7968 * sysdeps/i386/bits/endian.h: Removed.
7969 * sysdeps/x86_64/bits/endian.h: Renamed to ...
7970 * sysdeps/x86/bits/endian.h: This.
7972 * sysdeps/i386/bits/byteswap.h: Removed.
7973 * sysdeps/i386/bits/byteswap-16.h: Likewise.
7974 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
7975 * sysdeps/x86/bits/byteswap.h: This.
7976 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
7977 * sysdeps/x86/bits/byteswap-16.h: This.
7978 * sysdeps/i386/Implies: Add x86.
7979 * sysdeps/x86_64/Implies: Likewise.
7981 2012-05-30 David S. Miller <davem@davemloft.net>
7983 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
7984 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
7985 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7986 (FP_TRAPPING_EXCEPTIONS): Define.
7987 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7988 (FP_TRAPPING_EXCEPTIONS): Define.
7989 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
7990 subnormals only when inexact has been signalled or underflow
7991 exceptions are enabled.
7992 (_FP_PACK_CANONICAL): Likewise.
7994 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
7997 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
7998 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
8000 2012-05-30 Richard Henderson <rth@twiddle.net>
8002 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
8003 with #ifndef NOT_IN_libc.
8005 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
8006 marked to avoid plt entry.
8008 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
8011 * Makeconfig (default-abi): New macro.
8012 (abi-includes): Likewise.
8013 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
8014 $(abi-$(default-abi)-lib-soname) for soname if defined.
8015 ($(common-objpfx)gnu/lib-names.stmp): Generate from
8017 * Makefile (installed-stubs): Likewise.
8018 * include/stubs-biarch.h: Removed.
8019 * scripts/lib-names.awk: Only handle one library at a time.
8020 * scripts/soversions.awk: Remove WORDSIZE support.
8021 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
8023 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
8025 (syscall-list-default-condition): Likewise.
8026 (syscall-list-default-condition): Likewise.
8027 (syscall-list-includes): Likewise.
8028 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
8029 syscall-list-* with abi-*. Handle undefined abi-variants.
8030 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
8031 * sysdeps/unix/sysv/linux/i386/Implies: New file.
8032 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
8033 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
8034 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
8035 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
8037 (syscall-list-32-options): Likewise.
8038 (syscall-list-32-condition): Likewise.
8039 (syscall-list-64-options): Likewise.
8040 (syscall-list-64-condition): Likewise.
8041 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
8043 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
8046 (abi-64-ld-soname): New macro.
8047 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
8048 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
8051 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
8052 * sysdeps/x86_64/x32/shlib-versions: Likewise.
8054 2012-05-30 Joseph Myers <joseph@codesourcery.com>
8056 * sysdeps/unix/sysv/linux/kernel-features.h
8057 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
8058 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
8059 include <kernel-features.h>.
8060 [!__NR_ftruncate64]: Remove conditional code.
8061 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8062 [__NR_ftruncate64]: Make code unconditional.
8063 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8064 * sysdeps/unix/sysv/linux/truncate64.c: Do not
8065 include <kernel-features.h>.
8066 [!__NR_ftruncate64]: Remove conditional code.
8067 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8068 [__NR_ftruncate64]: Make code unconditional.
8069 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
8071 include <kernel-features.h>.
8072 [!__NR_ftruncate64]: Remove conditional code.
8073 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8074 [__NR_ftruncate64]: Make code unconditional.
8075 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
8077 include <kernel-features.h>.
8078 [!__NR_ftruncate64]: Remove conditional code.
8079 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8080 [__NR_ftruncate64]: Make code unconditional.
8081 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
8083 * configure.in (libc_cv_fpie): Weaken to a compile test using
8085 * configure: Regenerated.
8087 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
8090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
8091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
8092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
8095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
8096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
8097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
8098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
8099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8102 2012-05-27 David S. Miller <davem@davemloft.net>
8104 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
8106 (__Q_simulate_exceptions): Return void. Change to simulate
8107 exceptions by writing into the %fsr.
8108 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
8109 (__Qp_handle_exceptions): Likewise.
8111 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
8112 __Qp_handle_exceptions.
8113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
8114 __Qp_handle_exceptions.
8115 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8116 as unused and give dummy FP_RND_NEAREST initializer.
8117 (FP_INHIBIT_RESULTS): Define.
8118 (___Q_simulate_exceptions): Update declaration.
8119 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
8121 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
8122 as unused and give dummy FP_RND_NEAREST initializer.
8123 (__Qp_handle_exceptions): Update declaration.
8124 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
8127 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
8129 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
8130 the temporary FPU control word.
8131 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
8132 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
8133 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
8134 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
8135 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
8136 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
8137 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
8138 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
8139 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
8140 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
8141 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
8143 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8145 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
8148 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
8150 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
8151 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
8152 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
8153 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
8155 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
8156 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
8159 2012-05-27 Ulrich Drepper <drepper@gmail.com>
8161 * po/h.po: Update from translation team.
8163 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
8165 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
8167 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
8168 handling of denormals.
8169 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
8170 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
8171 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
8172 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
8173 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8174 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
8175 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
8178 2012-05-26 Marek Polacek <polacek@redhat.com>
8181 * math/libm-test.inc (fma_test): Don't always expect underflow
8184 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8187 * elf/tst-execstack.c: Include stackinfo.h.
8188 (do_test): Adjust test case to ensure that pthread_getattr_np
8189 behaviour remains the same after marking stack executable.
8191 2012-05-25 Joseph Myers <joseph@codesourcery.com>
8193 * sysdeps/unix/sysv/linux/kernel-features.h
8194 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
8195 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
8197 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8198 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8199 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
8201 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
8202 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
8204 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
8206 * configure.in: Define the default includes to being none.
8207 * configure: Regenerated.
8209 2012-05-25 Roland McGrath <roland@hack.frob.com>
8211 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
8212 * sysdeps/x86_64/setjmp.S: Likewise.
8213 * sysdeps/i386/bsd-setjmp.S: Likewise.
8214 * sysdeps/i386/bsd-_setjmp.S: Likewise.
8215 * sysdeps/i386/setjmp.S: Likewise.
8216 * sysdeps/i386/__longjmp.S: Likewise.
8217 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
8218 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
8220 * include/stap-probe.h: New file.
8221 * configure.in: Handle --enable-systemtap.
8222 * configure: Regenerated.
8223 * config.h.in (USE_STAP_PROBE): New #undef.
8224 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
8225 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
8226 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8228 2012-05-25 Joseph Myers <joseph@codesourcery.com>
8231 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
8232 to 2.4.0 where earlier.
8233 * sysdeps/unix/sysv/linux/configure: Regenerated.
8234 * sysdeps/unix/sysv/linux/i386/chown.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/i386/fchown.c: Do not include
8239 <kernel-features.h>.
8240 [__ASSUME_32BITUIDS]: Make code unconditional.
8241 [!__ASSUME_32BITUIDS]: Remove conditional code.
8242 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
8243 [__ASSUME_32BITUIDS]: Make code unconditional.
8244 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
8245 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
8246 <kernel-features.h>.
8247 [__ASSUME_32BITUIDS]: Make code unconditional.
8248 [!__ASSUME_32BITUIDS]: Remove conditional code.
8249 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
8250 <kernel-features.h>.
8251 [__ASSUME_32BITUIDS]: Make code unconditional.
8252 [!__ASSUME_32BITUIDS]: Remove conditional code.
8253 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
8254 <kernel-features.h>.
8255 [__ASSUME_32BITUIDS]: Make code unconditional.
8256 [!__ASSUME_32BITUIDS]: Remove conditional code.
8257 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
8258 <kernel-features.h>.
8259 [__ASSUME_32BITUIDS]: Make code unconditional.
8260 [!__ASSUME_32BITUIDS]: Remove conditional code.
8261 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
8262 <kernel-features.h>.
8263 [__ASSUME_32BITUIDS]: Make code unconditional.
8264 [!__ASSUME_32BITUIDS]: Remove conditional code.
8265 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
8266 <kernel-features.h>.
8267 [__ASSUME_32BITUIDS]: Make code unconditional.
8268 [!__ASSUME_32BITUIDS]: Remove conditional code.
8269 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
8270 <kernel-features.h>.
8271 [__ASSUME_32BITUIDS]: Make code unconditional.
8272 [!__ASSUME_32BITUIDS]: Remove conditional code.
8273 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
8274 <kernel-features.h>.
8275 [__ASSUME_32BITUIDS]: Make code unconditional.
8276 [!__ASSUME_32BITUIDS]: Remove conditional code.
8277 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
8278 <kernel-features.h>.
8279 [__ASSUME_32BITUIDS]: Make code unconditional.
8280 [!__ASSUME_32BITUIDS]: Remove conditional code.
8281 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
8282 <kernel-features.h>.
8283 [__ASSUME_32BITUIDS]: Make code unconditional.
8284 [!__ASSUME_32BITUIDS]: Remove conditional code.
8285 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
8286 <kernel-features.h>.
8287 [__NR_setresgid] (__setresgid): Do not declare.
8288 [__ASSUME_32BITUIDS]: Make code unconditional.
8289 [!__ASSUME_32BITUIDS]: Remove conditional code.
8290 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
8291 <kernel-features.h>.
8292 [__NR_setresuid] (__setresuid): Do not declare.
8293 [__ASSUME_32BITUIDS]: Make code unconditional.
8294 [!__ASSUME_32BITUIDS]: Remove conditional code.
8295 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
8296 <kernel-features.h>.
8297 [__ASSUME_32BITUIDS]: Make code unconditional.
8298 [!__ASSUME_32BITUIDS]: Remove conditional code.
8299 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
8300 <kernel-features.h>.
8301 [__ASSUME_32BITUIDS]: Make code unconditional.
8302 [!__ASSUME_32BITUIDS]: Remove conditional code.
8303 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
8304 <kernel-features.h>.
8305 [__ASSUME_32BITUIDS]: Make code unconditional.
8306 [!__ASSUME_32BITUIDS]: Remove conditional code.
8307 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
8308 <kernel-features.h>.
8309 [__ASSUME_32BITUIDS]: Make code unconditional.
8310 [!__ASSUME_32BITUIDS]: Remove conditional code.
8311 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
8312 <kernel-features.h>.
8313 [__ASSUME_32BITUIDS]: Make code unconditional.
8314 [!__ASSUME_32BITUIDS]: Remove conditional code.
8315 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
8316 <kernel-features.h>.
8317 [__ASSUME_32BITUIDS]: Make code unconditional.
8318 [!__ASSUME_32BITUIDS]: Remove conditional code.
8319 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
8320 <kernel-features.h>.
8321 [__ASSUME_32BITUIDS]: Make code unconditional.
8322 [!__ASSUME_32BITUIDS]: Remove conditional code.
8323 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
8324 <kernel-features.h>.
8325 [__ASSUME_32BITUIDS]: Make code unconditional.
8326 [!__ASSUME_32BITUIDS]: Remove conditional code.
8327 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
8328 <kernel-features.h>.
8329 [__ASSUME_32BITUIDS]: Make code unconditional.
8330 [!__ASSUME_32BITUIDS]: Remove conditional code.
8331 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
8332 <kernel-features.h>.
8333 [__ASSUME_32BITUIDS]: Make code unconditional.
8334 [!__ASSUME_32BITUIDS]: Remove conditional code.
8335 * sysdeps/unix/sysv/linux/kernel-features.h
8336 (__ASSUME_SETRESUID_SYSCALL): Remove.
8337 (__ASSUME_SETRESGID_SYSCALL): Likewise.
8338 (__ASSUME_32BITUIDS): Likewise.
8339 (__ASSUME_LDT_WORKS): Likewise.
8340 (__ASSUME_O_DIRECTORY): Likewise.
8341 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
8342 architecture but not kernel version.
8343 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
8344 (__ASSUME_MMAP2_SYSCALL): Likewise.
8345 (__ASSUME_STAT64_SYSCALL): Likewise.
8346 (__ASSUME_IPC64): Likewise.
8347 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
8348 <kernel-features.h>.
8349 [__ASSUME_32BITUIDS]: Make code unconditional.
8350 [!__ASSUME_32BITUIDS]: Remove conditional code.
8351 * sysdeps/unix/sysv/linux/opendir.c: Do not include
8352 <kernel-features.h>.
8353 [__ASSUME_O_DIRECTORY]: Make code unconditional.
8354 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
8355 132096]: Remove conditional code.
8356 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
8357 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
8358 <kernel-features.h>.
8359 [__ASSUME_32BITUIDS]: Make code unconditional.
8360 [!__ASSUME_32BITUIDS]: Remove conditional code.
8361 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
8362 <kernel-features.h>.
8363 [__ASSUME_32BITUIDS]: Make code unconditional.
8364 [!__ASSUME_32BITUIDS]: Remove conditional code.
8365 * sysdeps/unix/sysv/linux/setegid.c: Do not include
8366 <kernel-features.h>.
8367 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
8369 (__setresgid): Do not declare.
8370 [__ASSUME_32BITUIDS]: Make code unconditional.
8371 [!__ASSUME_32BITUIDS]: Remove conditional code.
8372 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
8373 <kernel-features.h>.
8374 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
8376 (__setresuid): Do not declare.
8377 [__ASSUME_32BITUIDS]: Make code unconditional.
8378 [!__ASSUME_32BITUIDS]: Remove conditional code.
8379 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
8380 <kernel-features.h>.
8381 [__ASSUME_32BITUIDS]: Make code unconditional.
8382 [!__ASSUME_32BITUIDS]: Remove conditional code.
8383 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
8384 <kernel-features.h>.
8385 [__ASSUME_32BITUIDS]: Make code unconditional.
8386 [!__ASSUME_32BITUIDS]: Remove conditional code.
8388 2012-05-25 Richard Henderson <rth@twiddle.net>
8390 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
8391 dl_hwcap to ifunc resolver.
8392 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
8394 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
8395 dl_hwcap to ifunc resolver.
8396 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
8398 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8401 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
8402 for |x| <= 2**-26, not 2**-57.
8403 * math/libm-test.inc (acos_test): Do not allow spurious underflow
8406 2012-05-24 Jeff Law <law@redhat.com>
8408 * stdio-common/Makefile (tests): Add bug25.
8409 * stdio-common/bug25.c: New test.
8411 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8414 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
8415 multiple of MALLOC_ALIGNMENT in size.
8416 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
8418 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8420 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
8422 (FILENAME_MAX): Use macro-int-constant.
8423 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
8424 (_IOFBF): Use macro-int-constant.
8427 (SEEK_CUR): Likewise.
8428 (SEEK_END): Likewise.
8429 (SEEK_SET): Likewise.
8430 (TMP_MAX): Likewise.
8431 (EOF): Use macro-int-constant. Require < 0.
8432 (NULL): Use macro-constant. Require == 0.
8433 (stdin): Require type to be FILE *.
8436 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
8438 (EXIT_SUCCESS): Likewise.
8439 (NULL): Use macro-constant. Require == 0.
8440 (RAND_MAX): Use macro-int-constant.
8441 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
8442 [C99-based standards] (strtof): Require function.
8443 [C99-based standards] (strtold): Likewise.
8444 [C99-based standards] (strtoll): Likewise.
8445 [C99-based standards] (strtoull): Likewise.
8446 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
8447 [ISO || ISO99 || ISO11] (limits.h): Likewise.
8448 [ISO || ISO99 || ISO11] (math.h): Likewise.
8449 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
8450 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
8451 [ISO || ISO99 || ISO11] (*_t): Do not allow.
8453 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
8456 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
8457 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
8458 * intl/dgettext.c (DCGETTEXT): Likewise.
8459 * intl/gettext.c (DCGETTEXT): Likewise.
8460 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
8461 * posix/regex_internal.h (gettext): Likewise.
8462 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
8464 * include/argz.h (__argz_count_internal)
8465 (__argz_stringify_internal): Remove declaration.
8466 (__argz_count, __argz_stringify): Declare hidden proto.
8467 * intl/dcgettext.c: Remove use of INTDEF.
8468 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
8469 * string/argz-stringify.c: Likewise.
8470 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8471 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8472 Declare hidden proto.
8473 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
8474 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
8475 Declare hidden proto.
8476 * include/stdio.h (__asprintf_internal): Don't declare.
8477 (__asprintf): Don't define as macro. Declare hidden proto.
8478 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
8479 (__fsetlocking): Declare hidden proto.
8480 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
8481 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
8483 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
8484 (_IO_setlinebuf): Remove use of INTUSE.
8485 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
8486 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
8487 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
8489 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
8490 (_IO_do_flush): Remove use of INTUSE.
8491 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
8492 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
8493 (_IO_adjust_column, _IO_least_wmarker)
8494 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
8495 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
8496 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
8497 (_IO_default_doallocate, _IO_wdefault_doallocate)
8498 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
8499 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
8500 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
8501 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
8502 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
8503 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
8504 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
8505 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
8506 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
8507 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
8508 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
8509 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
8510 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
8512 (_IO_flush_all_internal, _IO_adjust_column_internal)
8513 (_IO_default_uflow_internal, _IO_default_finish_internal)
8514 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
8515 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
8516 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
8517 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
8518 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
8519 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
8520 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
8521 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
8522 (_IO_file_close_internal, _IO_file_close_it_internal)
8523 (_IO_file_underflow_internal, _IO_file_overflow_internal)
8524 (_IO_file_init_internal, _IO_file_attach_internal)
8525 (_IO_file_fopen_internal, _IO_file_read_internal)
8526 (_IO_file_sync_internal, _IO_file_seek_internal)
8527 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
8528 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
8529 (_IO_str_underflow_internal, _IO_str_overflow_internal)
8530 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
8531 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
8532 (_IO_list_all_internal, _IO_link_in_internal)
8533 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
8534 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
8535 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
8536 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
8537 (_IO_do_write_internal, _IO_padn_internal)
8538 (_IO_getline_info_internal, _IO_getline_internal)
8539 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
8540 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
8541 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
8542 (_IO_vfscanf_internal, _IO_vfprintf_internal)
8543 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
8544 (_IO_init_internal, _IO_un_link_internal): Don't declare.
8545 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
8546 with libc_hidden_ver, remove use of INTUSE.
8547 * libio/genops.c: Likewise.
8548 * libio/freopen.c: Likewise.
8549 * libio/freopen64.c: Likewise.
8550 * libio/iofclose.c: Likewise.
8551 * libio/iofdopen.c: Likewise.
8552 * libio/iofflush.c: Likewise.
8553 * libio/iofflush_u.c: Likewise.
8554 * libio/iofgets.c: Likewise.
8555 * libio/iofgets_u.c: Likewise.
8556 * libio/iofopen.c: Likewise.
8557 * libio/iofopncook.c: Likewise.
8558 * libio/iofread.c: Likewise.
8559 * libio/iofread_u.c: Likewise.
8560 * libio/ioftell.c: Likewise.
8561 * libio/iofwrite.c: Likewise.
8562 * libio/iogetline.c: Likewise.
8563 * libio/iogets.c: Likewise.
8564 * libio/iogetwline.c: Likewise.
8565 * libio/iopadn.c: Likewise.
8566 * libio/iopopen.c: Likewise.
8567 * libio/ioseekoff.c: Likewise.
8568 * libio/ioseekpos.c: Likewise.
8569 * libio/iosetbuffer.c: Likewise.
8570 * libio/iosetvbuf.c: Likewise.
8571 * libio/ioungetc.c: Likewise.
8572 * libio/ioungetwc.c: Likewise.
8573 * libio/iovdprintf.c: Likewise.
8574 * libio/iovsprintf.c: Likewise.
8575 * libio/iovsscanf.c: Likewise.
8576 * libio/memstream.c: Likewise.
8577 * libio/obprintf.c: Likewise.
8578 * libio/oldfileops.c: Likewise.
8579 * libio/oldiofclose.c: Likewise.
8580 * libio/oldiofdopen.c: Likewise.
8581 * libio/oldiofopen.c: Likewise.
8582 * libio/oldiopopen.c: Likewise.
8583 * libio/oldstdfiles.c: Likewise.
8584 * libio/putc.c: Likewise.
8585 * libio/setbuf.c: Likewise.
8586 * libio/setlinebuf.c: Likewise.
8587 * libio/stdfiles.c: Likewise.
8588 * libio/strops.c: Likewise.
8589 * libio/vasprintf.c: Likewise.
8590 * libio/vscanf.c: Likewise.
8591 * libio/vsnprintf.c: Likewise.
8592 * libio/vswprintf.c: Likewise.
8593 * libio/wfiledoalloc.c: Likewise.
8594 * libio/wfileops.c: Likewise.
8595 * libio/wgenops.c: Likewise.
8596 * libio/wmemstream.c: Likewise.
8597 * libio/wstrops.c: Likewise.
8598 * libio/__fpurge.c: Likewise.
8599 * libio/__fsetlocking.c: Likewise.
8600 * assert/assert.c: Likewise.
8601 * debug/fgets_chk.c: Likewise.
8602 * debug/fgets_u_chk.c: Likewise.
8603 * debug/fread_chk.c: Likewise.
8604 * debug/fread_u_chk.c: Likewise.
8605 * debug/gets_chk.c: Likewise.
8606 * debug/obprintf_chk.c: Likewise.
8607 * debug/vasprintf_chk.c: Likewise.
8608 * debug/vdprintf_chk.c: Likewise.
8609 * debug/vsnprintf_chk.c: Likewise.
8610 * debug/vsprintf_chk.c: Likewise.
8611 * malloc/mtrace.c: Likewise.
8612 * misc/error.c: Likewise.
8613 * misc/syslog.c: Likewise.
8614 * stdio-common/asprintf.c: Likewise.
8615 * stdio-common/fxprintf.c: Likewise.
8616 * stdio-common/getw.c: Likewise.
8617 * stdio-common/isoc99_fscanf.c: Likewise.
8618 * stdio-common/isoc99_scanf.c: Likewise.
8619 * stdio-common/isoc99_vfscanf.c: Likewise.
8620 * stdio-common/isoc99_vscanf.c: Likewise.
8621 * stdio-common/isoc99_vsscanf.c: Likewise.
8622 * stdio-common/printf-prs.c: Likewise.
8623 * stdio-common/printf_fp.c: Likewise.
8624 * stdio-common/printf_fphex.c: Likewise.
8625 * stdio-common/printf_size.c: Likewise.
8626 * stdio-common/putw.c: Likewise.
8627 * stdio-common/scanf.c: Likewise.
8628 * stdio-common/sprintf.c: Likewise.
8629 * stdio-common/tmpfile.c: Likewise.
8630 * stdio-common/vfprintf.c: Likewise.
8631 * stdio-common/vfscanf.c: Likewise.
8632 * stdlib/strfmon_l.c: Likewise.
8633 * sunrpc/openchild.c: Likewise.
8634 * sunrpc/xdr_stdio.c: Likewise.
8635 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8636 * sysdeps/mach/hurd/tmpfile.c: Likewise.
8638 2012-05-24 Roland McGrath <roland@hack.frob.com>
8640 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
8642 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
8643 in the third column, to generate for the shared library an IFUNC
8644 that uses _dl_vdso_vsym.
8645 * Makerules (COMPILE.c, compile-stdin.c): New variables.
8646 * Makeconfig (object-suffixes-noshared): New variable.
8648 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
8649 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
8650 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
8651 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
8654 * include/sys/time.h (__gettimeofday): Remove macro.
8655 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
8656 * time/gettimeofday.c (__gettimeofday): Remove #undef.
8658 (__gettimeofday): Add libc_hidden_def.
8659 (gettimeofday): Add libc_hidden_weak.
8660 * sysdeps/mach/gettimeofday.c: Likewise.
8661 * sysdeps/posix/gettimeofday.c: Likewise.
8662 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8663 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
8664 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
8665 (__gettimeofday_internal): Remove strong_alias.
8666 (__gettimeofday): Add libc_hidden_def.
8667 (gettimeofday): Add libc_hidden_weak.
8668 * sysdeps/unix/syscalls.list (gettimeofday):
8669 Remove __gettimeofday_internal alias.
8671 2012-05-24 Daniel Jacobowitz <drow@false.org>
8672 H.J. Lu <hongjiu.lu@intel.com>
8675 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
8676 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
8677 (largebin_index_32_big): New.
8678 (largebin_index): Use it for 16-byte alignment.
8679 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
8680 correction with front_misalign.
8682 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
8684 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
8685 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8687 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
8689 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
8691 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
8693 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
8695 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
8697 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
8699 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8701 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
8703 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
8705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
8710 * scripts/data/c++-types-x32-linux-gnu.data: New file.
8711 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
8713 2012-05-24 Joseph Myers <joseph@codesourcery.com>
8717 * math/libm-test.inc (exp_test): Add test from bug 14036.
8718 (pow_test): Add test from bug 10846.
8720 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
8722 (special_function): Do not include flags in test name.
8723 (parse_args): Likewise.
8724 * sysdeps/i386/fpu/libm-test-ulps: Update.
8725 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8726 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
8727 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
8728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8730 * math/gen-libm-test.pl (%beautify): Add entries for underflow
8732 * math/libm-test.inc ("Philosophy"): Update comment about
8734 (UNDERFLOW_EXCEPTION): New macro.
8735 (UNDERFLOW_EXCEPTION_OK): Likewise.
8736 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8737 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8738 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8739 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8740 (INVALID_EXCEPTION_OK): Update value.
8741 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8742 (OVERFLOW_EXCEPTION_OK): Likewise.
8743 (IGNORE_ZERO_INF_SIGN): Likewise.
8744 (test_exceptions): Handle underflow exceptions.
8745 (acos_test): Update for underflow exception expectations.
8746 (cexp_test): Likewise.
8747 (clog_test): Likewise.
8748 (clog10_test): Likewise.
8749 (csqrt_test): Likewise.
8750 (ctan_test): Likewise.
8751 (ctanh_test): Likewise.
8752 (exp_test): Likewise.
8753 (exp10_test): Likewise.
8754 (exp2_test): Likewise.
8755 (expm1_test): Likewise.
8756 (fma_test): Likewise.
8757 (j0_test): Likewise.
8758 (jn_test): Likewise.
8759 (nexttoward_test): Likewise.
8760 (pow_test): Likewise.
8761 (scalbn_test): Likewise.
8762 (scalbln_test): Likewise.
8763 (tan_test): Likewise.
8764 (y1_test): Likewise.
8765 * sysdeps/i386/fpu/libm-test-ulps: Update.
8766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8768 2012-05-23 David S. Miller <davem@davemloft.net>
8770 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
8771 (__libc_sigaction): Remove unused local variables.
8773 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8775 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
8777 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
8779 mktime: avoid signed integer overflow
8780 * time/mktime.c (__mktime_internal): Do not mishandle the case
8781 where diff == INT_MIN.
8783 mktime: simplify computation of average
8784 * time/mktime.c (ranged_convert): Use new time_t_avg function
8785 instead of rolling our own (probably-slower) code.
8787 mktime: do not assume signed right shift propagates sign bit
8788 * time/mktime.c (isdst_differ): New static function.
8789 (__mktime_internal): No need to normalize tm_isdst now.
8790 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
8793 mktime: merge another wrapv change from gnulib
8794 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
8795 from some compilers.
8797 mktime: remove incorrect attempt at unusual arithmetics
8798 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
8799 The code didn't really work on such machines anyway.
8800 (TYPE_MINIMUM): Assume two's complement.
8801 (twos_complement_arithmetic): Verify that long_int and time_t
8802 are two's complement (or unsigned, in the latter case).
8804 mktime: check signed shifts on long_int and time_t, too
8805 * time/mktime.c (SHR): Check that shifts work as desired
8806 on the types long_int and time_t too, as SHR is used on
8809 mktime: do not assume 'long' is wide enough
8810 * time/mktime.c (verify): Move decl up.
8811 (long_int): New type.
8812 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
8813 to remove assumption in the code that 'long' is wide enough to
8814 store year values. This assumption is not true on x32 and on
8815 some non-glibc platforms.
8817 mktime: merge wrapv change from gnulib
8818 * time/mktime.c (WRAPV): New macro.
8819 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
8820 (guess_time_tm, __mktime_internal): Do not assume that signed
8821 integer overflow wraps around; modern compilers generate code
8822 where this assumption is no longer valid.
8824 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8826 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8827 Replace "jmp L(pseudo_end)" with "ret".
8828 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
8831 2012-05-23 Andreas Jaeger <aj@suse.de>
8833 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
8834 * sysdeps/unix/sysv/linux/poll.c: Remove file.
8836 2012-05-23 Andreas Jaeger <aj@suse.de>
8837 Maximilian Attems <max@stro.at>
8839 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
8842 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
8844 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
8845 code so that pseudo_end is just ret and the stack pointer is
8846 correct also for static library in error case.
8848 2012-05-23 Joseph Myers <joseph@codesourcery.com>
8850 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
8851 move to syscalls.list.
8852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8857 * manual/install.texi (Running make install): Do not mention Linux
8858 kernel version for which pt_chown is not needed.
8859 (Linux): Do not mention problems with nscd with 2.0 kernels.
8860 * INSTALL: Regenerated.
8862 2012-05-23 Andreas Jaeger <aj@suse.de>
8864 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
8865 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
8867 * sysdeps/unix/sysv/linux/s390/bits/mman.h
8868 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8869 * sysdeps/unix/sysv/linux/sh/bits/mman.h
8870 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8871 * sysdeps/unix/sysv/linux/i386/bits/mman.h
8872 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8873 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
8874 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8875 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
8876 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
8877 * sysdeps/unix/sysv/linux/bits/in.h
8878 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
8880 2012-05-22 Roland McGrath <roland@hack.frob.com>
8882 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
8883 (PREPARE_VERSION): Just use assert instead, it will be elided
8884 under [NDEBUG] anyway.
8886 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8888 * sysdeps/unix/sysv/linux/Makefile: Include
8889 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
8890 (sysdep_routines): Remove sysctl.
8891 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
8892 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
8893 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
8894 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
8895 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
8897 2012-05-22 Andreas Jaeger <aj@suse.de>
8899 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
8900 that pseudo_end is just ret and the stack pointer is correct also
8901 for static library in error case.
8903 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
8906 * nss/nsswitch.c (defconfig_entries): New variable.
8907 (__nss_database_lookup): Don't leak defconfig entries.
8908 (nss_parse_service_list): Don't leak on error paths.
8909 (free_database_entries): New function.
8910 (free_defconfig): New function.
8911 (free_mem): Move common code to free_database_entries.
8913 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8915 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
8917 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
8919 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8920 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
8921 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
8923 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8924 (INTERNAL_SYSCALL_TYPES): Likewise.
8925 (LOAD_ARGS_TYPES_[1-6]): Likewise.
8926 (LOAD_REGS_TYPES_[1-6]): Likewise.
8927 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
8928 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
8930 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8932 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
8933 copysignl for GLIBC_2_0.
8934 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
8935 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
8936 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
8937 logbl for GLIBC_2_0.
8938 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8939 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8941 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8943 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
8944 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
8946 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
8949 * time/mktime.c: Update copyright years.
8951 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
8953 mktime: merge comment-quoting-style change from gnulib
8954 * time/mktime.c: Quote 'like this' in comments.
8955 The GNU coding standards suggest that we no longer quote `like this',
8956 as "`" and "'" are typically rendered asymmetrically nowadays.
8957 The typical gnulib style is to quote 'like this' when quoting
8958 code, and "like this" when quoting English.
8960 * time/mktime.c (compile-command): Add "-I.".
8962 mktime: merge mktime-internal.h change from gnulib
8963 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
8965 mktime: merge time_r change from gnulib
8966 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
8968 mktime: merge DEBUG change from gnulib
8969 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
8970 case system <time.h> has a #define.
8972 mktime: merge <sys/types.h> change from gnulib
8973 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
8974 since <time.t> is now guaranteed to define time_t.
8976 mktime: merge HAVE_CONFIG_H change from gnulib
8977 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
8979 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
8981 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
8984 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
8986 (struct rusage): Use anonymous union to pad each field to
8989 2012-05-21 David S. Miller <davem@davemloft.net>
8991 * Makefules (o-iterator): Remove .s cases.
8992 (compile-command.s): Delete.
8993 (COMPILE.s): Delete.
8994 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
8996 2012-05-21 Joseph Myers <joseph@codesourcery.com>
8998 * configure.in (libc_cv_predef_stack_protector): Only consider
8999 "foobar" and "__stack_chk_fail" lines in libc_undefs.
9000 * configure: Regenerated.
9002 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9004 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
9005 New macro. Use R*LP on int and pointer.
9006 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
9007 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
9008 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
9009 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
9011 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
9012 [__WORDSIZE_TIME64_COMPAT32] instead of
9013 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
9014 (struct utmp): Likewise.
9015 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
9016 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
9018 (__WORDSIZE_TIME64_COMPAT32): This.
9019 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9020 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9021 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9022 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9023 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
9024 (__WORDSIZE_TIME64_COMPAT32): New macro.
9026 2012-05-21 Andreas Jaeger <aj@suse.de>
9028 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
9029 only if [SHARED]. Add prototype for __wcschr_ia32.
9031 2012-05-21 Roland McGrath <roland@hack.frob.com>
9033 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
9034 of %rbp unmolested in the jmp_buf while mangling the low bits.
9035 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
9036 unmolested high bits of %rbp while demangling the low bits.
9037 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
9039 2012-05-21 Andreas Jaeger <aj@suse.de>
9041 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
9042 * sunrpc/svc_simple.c: Use it for registerrpc.
9043 * sunrpc/xcrypt.c: Use it for passwd2des.
9045 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
9047 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9049 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
9050 Don't define if [__SYSCALL_WORDSIZE != 32].
9051 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
9054 2012-05-21 Bruno Haible <bruno@clisp.org>
9055 Andreas Jaeger <aj@suse.de>
9057 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
9058 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
9059 inptr and inend for must_buffer_ch.
9060 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
9061 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
9062 * stdio-common/Makefile (tests): Remove bug15.
9063 (bug15-ENV): Remove macro.
9064 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
9067 2012-05-19 Andreas Jaeger <aj@suse.de>
9068 Roland McGrath <roland@hack.frob.com>
9070 * manual/contrib.texi: Completely rewritten. It contains now an
9071 alphabetical list of contributors and their contributions.
9073 2012-05-21 Richard Henderson <rth@twiddle.net>
9075 * misc/getauxval.c (__getauxval): Use unsigned long int.
9076 * misc/sys/auxv.h: Include <sys/cdefs.h>.
9077 (getauxval): Use unsigned long int.
9079 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
9081 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
9083 2012-05-21 Roland McGrath <roland@hack.frob.com>
9085 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
9086 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
9087 __alignof__ (long double).
9089 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9091 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9093 2012-05-20 Richard Henderson <rth@twiddle.net>
9095 * misc/getauxval.c: New file.
9096 * misc/sys/auxv.h: New file.
9097 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
9098 (routines): Add getauxval.
9099 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
9100 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
9101 * elf/dl-sysdep.c (_dl_auxv): Remove.
9102 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
9103 * elf/dl-support.c (_dl_auxv): New variable.
9104 (_dl_aux_init): Initialize it.
9105 * manual/startup.texi (Auxiliary Vector): New node.
9106 * sysdeps/generic/bits/hwcap.h: New file.
9107 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
9108 * sysdeps/powerpc/sysdep.h: ... here. Include it.
9109 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
9110 * sysdeps/sparc/sysdep.h: ... here. Include it.
9111 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
9112 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
9113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
9116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
9117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
9118 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
9119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
9121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
9122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
9124 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9128 2012-05-19 David S. Miller <davem@davemloft.net>
9130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9132 2012-05-19 Joseph Myers <joseph@codesourcery.com>
9135 * math/s_ccosh.c: Include <float.h>
9136 (__ccosh): Avoid internal overflow calculating sinh and cosh
9137 values before multiplying by sin and cos values.
9138 * math/s_ccoshf.c: Likewise.
9139 * math/s_ccoshl.c: Likewise.
9140 * math/s_csin.c: Likewise.
9141 * math/s_csinf.c: Likewise.
9142 * math/s_csinl.c: Likewise.
9143 * math/s_csinh.c: Likewise.
9144 * math/s_csinhf.c: Likewise.
9145 * math/s_csinhl.c: Likewise.
9146 * math/libm-test.inc (ccos_test): Add more tests.
9147 (ccosh_test): Likewise.
9148 (csin_test): Likewise.
9149 (csinh_test): Likewise.
9150 * sysdeps/i386/fpu/libm-test-ulps: Update.
9151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9153 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
9155 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
9156 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
9158 * sysdeps/x86_64/x32/_itoa.h: Add comment.
9160 2012-05-19 Joseph Myers <joseph@codesourcery.com>
9162 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
9163 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
9164 * sysdeps/powerpc/soft-fp/Versions: Likewise.
9165 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
9166 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
9167 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
9168 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
9169 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
9170 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
9171 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
9172 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
9173 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
9174 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
9175 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
9176 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
9177 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
9178 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
9179 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
9180 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
9181 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
9182 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
9183 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
9184 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
9185 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
9186 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
9187 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
9188 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
9189 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
9190 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
9191 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
9192 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
9194 2012-05-18 Andreas Jaeger <aj@suse.de>
9196 * csu/.gitignore: Delete.
9198 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9200 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
9201 (timex): Use __syscall_slong_t.
9203 2012-05-18 Andreas Jaeger <aj@suse.de>
9204 Carlos O'Donell <carlos_odonell@mentor.com>
9206 * manual/install.texi (Configuring and compiling): Update
9207 description about files modified in the source directory.
9208 * INSTALL: Regenerated.
9210 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9212 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
9213 value. Use "or" to set return value to -1.
9214 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
9215 negate return value.
9217 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9219 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
9220 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
9221 failure if the compiler has Graphite support disabled.
9222 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
9224 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
9225 CFLAGS-memmove.c): Likewise.
9226 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
9229 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
9231 * sysdeps/x86_64/x32/_itoa.h: New file.
9233 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
9234 getdents system call only if kernel and user dirents have the
9235 same d_ino and d_off.
9237 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
9238 LLONG_MAX != LONG_MAX.
9239 (_itoa_word): Use _ITOA_WORD_TYPE on value.
9240 (_fitoa_word): Likewise.
9242 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
9244 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
9245 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
9246 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
9248 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
9249 include <bits/wordsize.h>. Check __x86_64__ instead of
9251 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
9252 if __x86_64__ is defined. Use anonymous union on fpstate.
9254 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
9257 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
9259 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9260 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
9261 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
9262 Refer to _rtld_local_ro instead of _rtld_global_ro.
9263 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
9265 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
9267 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
9269 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
9270 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
9271 of _rtld_global, and rtld_progname instead of _dl_argv[0].
9273 * sysdeps/powerpc/powerpc32/dl-machine.c
9274 (__elf_machine_runtime_setup) [PROF]: Don't reference
9277 2012-05-18 Andreas Jaeger <aj@suse.de>
9279 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
9280 function only available for GCCs before 3.4 since GCC 3.4
9281 introduced a builtin.
9283 (llrintf): Likewise.
9291 (nearbyint): Likewise.
9292 (nearbyintf): Likewise.
9298 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9300 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
9301 on both fields and cast pointer to __syscall_ulong_t.
9303 * bits/types.h (__fsword_t): New type.
9304 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
9305 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
9306 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9307 (__FSWORD_T_TYPE): Likewise.
9308 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9309 (__FSWORD_T_TYPE): Likewise.
9310 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9311 (__FSWORD_T_TYPE): Likewise.
9312 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
9313 (__FSWORD_T_TYPE): Likewise.
9314 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
9315 __SWORD_TYPE with __fsword_t.
9316 (statfs64): Likewise.
9318 2012-05-17 David S. Miller <davem@davemloft.net>
9320 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
9322 2012-05-17 Andreas Jaeger <aj@suse.de>
9324 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
9327 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9329 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
9331 2012-05-17 Andreas Jaeger <aj@suse.de>
9333 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
9336 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9338 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
9340 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
9342 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
9343 * sysdeps/x86_64/tst-mallocalign1.c: New file.
9345 2012-05-17 Andreas Jaeger <aj@suse.de>
9346 Carlos O'Donell <carlos_odonell@mentor.com>
9349 * sysdeps/x86_64/multiarch/init-arch.h
9350 (bit_YMM_Usable): Rename to...
9351 (bit_AVX_Usable): ... this.
9352 (bit_FMA4_Usable): New macro.
9353 (bit_XMM_state): New macro.
9354 (bit_YMM_state): New macro.
9355 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
9356 [__ASSEMBLER__] (index_AVX_Usable): ... this.
9357 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
9358 (CPUID_OSXSAVE): New macro.
9359 (CPUID_AVX): New macro.
9360 (CPUID_FMA4): New macro.
9361 (index_YMM_Usable): Rename to...
9362 (index_AVX_Usable): ... this.
9363 (HAS_AVX): Use HAS_ARCH_FEATURE.
9364 (HAS_FMA4): Likewise.
9365 (HAS_YMM_USABLE): Remove.
9366 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9367 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
9369 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
9370 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
9371 * sysdeps/x86_64/multiarch/Makefile: Likewise.
9372 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
9373 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
9375 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
9377 * math/libm-test.c: Support platforms without multiple rounding modes.
9378 * math/bug-nextafter.c: Support platforms without FP exceptions.
9379 * math/bug-nexttoward.c: Likewise.
9380 * math/test-fenv.c: Likewise.
9381 * math/test-misc.c: Likewise.
9382 * stdlib/bug-getcontext.c: Likewise.
9384 2012-05-17 Andreas Jaeger <aj@suse.de>
9386 * manual/examples/search.c (critter_cmp): Change signature to
9388 * manual/string.texi (Collation Functions): Likewise.
9390 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9392 * bits/types.h: Fold copyright years.
9393 * bits/typesizes.h: Likewise.
9394 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
9395 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9396 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
9397 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
9398 * time/time.h: Likewise.
9400 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
9403 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
9404 in instead of returning them. Return void.
9405 (__libc_mallinfo): Accumulate over all arenas.
9406 (__malloc_stats): Adjust for change in int_mallinfo interface.
9408 2012-05-16 Roland McGrath <roland@hack.frob.com>
9411 * configure.in (NM): Add AC_CHECK_TOOL for it.
9412 (libc_extra_cflags): New substituted variable.
9413 Check for -fstack-protector being used implicitly.
9414 * configure: Regenerated.
9415 * config.make.in (config-extra-cflags): New variable,
9416 gets @libc_extra_cflags@.
9417 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
9420 * configure.in: Check for _FORTIFY_SOURCE being predefined.
9421 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
9422 * configure: Regenerated.
9423 * config.make.in (CPPUNDEFS): New substituted variable.
9424 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
9425 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
9426 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
9428 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9430 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
9431 (mq_attr): Use __syscall_slong_t.
9433 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9435 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
9436 Check __x86_64__ instead of __WORDSIZE.
9437 (_STAT_VER_LINUX): Likewise.
9438 (stat): Check __x86_64__ instead of __WORDSIZE. Use
9439 __syscall_ulong_t and __syscall_slong_t.
9442 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9444 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
9446 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9448 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
9450 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9452 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
9455 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
9456 include <bits/wordsize.h>. Check __x86_64__ instead of
9458 (greg_t): Use "__extension__ long long int" if __x86_64__ is
9460 (mcontext_t): Replace "unsigned long" with "unsigned long long".
9462 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
9463 include <bits/wordsize.h>. Check __x86_64__ instead of
9465 (user_regs_struct): Use "__extension__ unsigned long long"
9466 instead of "unsigned long" if __x86_64__ is defined.
9467 (user): Likewise. Pad after pointer field if __ILP32__ is
9470 2012-05-16 Joseph Myers <joseph@codesourcery.com>
9472 * configure.in (makeinfo): Require version 4.5 or later. Allow
9474 * configure: Regenerated.
9475 * manual/install.texi (texinfo): Increase version requirement to
9477 * INSTALL: Regenerated.
9479 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
9481 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
9483 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
9485 * sysdeps/x86_64/x32/ffs.c: New file.
9487 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
9489 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
9490 defined. Use __syscall_ulong_t.
9491 (shminfo): Use __syscall_ulong_t.
9492 (shm_info): Likewise.
9494 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
9497 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
9499 (msgqnum_t): Use __syscall_ulong_t.
9500 (msglen_t): Likewise.
9501 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
9504 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
9505 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9507 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
9509 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
9510 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
9512 * sysvipc/sys/msg.h (msgbuf): Replace long int with
9515 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
9516 include <bits/wordsize.h>. Check __x86_64__ instead of
9519 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
9520 "unsigned long long int" if __x86_64__ is defined.
9521 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
9523 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
9524 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
9525 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
9527 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
9529 (GET_PC): Cast to uintptr_t first.
9530 (GET_FRAME): Likewise.
9531 (GET_STACK): Likewise.
9533 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
9534 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
9535 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
9536 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
9537 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
9538 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
9539 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
9540 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
9541 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
9542 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
9543 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
9544 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
9545 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9546 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
9547 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
9548 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
9549 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
9550 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
9551 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
9552 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
9553 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
9554 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
9555 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
9556 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
9557 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
9558 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
9559 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
9560 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
9561 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
9563 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
9565 * Makerules (+depfiles): Also collect depfiles from .oS in
9567 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
9568 .oS, $(libnldbl-routines)).
9570 * Makerules (native-compile-mkdep-flags): Define.
9571 * sunrpc/Makefile (extra-objs): Add $(addprefix
9572 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
9573 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
9574 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
9575 calling $(make-target-directory).
9577 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9579 * bits/types.h (__snseconds_t): Removed.
9580 * time/time.h (struct timespec): Replace __snseconds_t with
9582 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
9583 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
9585 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9586 (__SNSECONDS_T_TYPE): Likewise.
9587 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9588 (__SNSECONDS_T_TYPE): Likewise.
9589 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9590 (__SNSECONDS_T_TYPE): Likewise.
9592 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9594 * sysdeps/mach/hurd/bits/typesizes.h
9595 (__SYSCALL_SLONG_TYPE): New macro.
9596 (__SYSCALL_ULONG_TYPE): Likewise.
9598 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9600 * bits/types.h (__syscall_slong_t): New type.
9601 (__syscall_ulong_t): Likewise.
9603 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
9604 (__SYSCALL_ULONG_TYPE): Likewise.
9605 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9606 (__SYSCALL_SLONG_TYPE): Likewise.
9607 (__SYSCALL_ULONG_TYPE): Likewise.
9608 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
9609 (__SYSCALL_SLONG_TYPE): Likewise.
9610 (__SYSCALL_ULONG_TYPE): Likewise.
9611 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9612 (__SYSCALL_SLONG_TYPE): Likewise.
9613 (__SYSCALL_ULONG_TYPE): Likewise.
9615 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9617 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
9618 Add sigaltstack-offsets.sym.
9619 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
9620 <sigaltstack-offsets.h>.
9621 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
9622 longjmp_msg pointer.
9623 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
9624 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
9626 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
9628 2012-05-15 Joseph Myers <joseph@codesourcery.com>
9630 * elf/stackguard-macros.h: Remove file.
9631 * sysdeps/generic/stackguard-macros.h: New file.
9632 * sysdeps/i386/stackguard-macros.h: Likewise.
9633 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
9634 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
9635 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9636 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9637 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
9638 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
9639 * sysdeps/x86_64/stackguard-macros.h: Likewise.
9640 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
9641 <elf/stackguard-macros.h>.
9644 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
9645 __aligned__ in attribute.
9646 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
9647 (gregset_t): Likewise.
9649 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9651 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
9652 * sysdeps/x86_64/64/Implies-after: Here. New file.
9653 * sysdeps/x86_64/x32/Implies-after: New file.
9655 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9657 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
9658 and access return value for _dl_profile_fixup. Use R10_LP to
9661 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9663 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
9665 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9667 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
9668 * sysdeps/x86_64/x32/sysdep.h: New file.
9670 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9672 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
9673 * sysdeps/x86_64/setjmp.S: Likewise.
9675 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9677 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
9678 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
9679 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
9680 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
9681 remove unused global constant.
9683 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
9685 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
9686 include of <not-cancel.h>.
9688 2012-05-15 Roland McGrath <roland@hack.frob.com>
9690 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
9692 2012-05-15 Jeff Law <law@redhat.com>
9693 Andreas Jaeger <aj@suse.de>
9696 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
9698 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
9699 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
9700 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
9701 code changing __hst_map_handle.map.
9703 2012-05-15 Roland McGrath <roland@hack.frob.com>
9705 * configure.in (sysnames): Look for Implies-before and Implies-after
9707 * configure: Regenerated.
9709 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9711 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
9712 8-byte data alignment with LP_SIZE alignment.
9714 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9716 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
9719 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9721 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9723 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9725 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
9726 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
9727 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
9729 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
9731 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9733 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
9734 (stackinfo_sub_sp): Likewise.
9736 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9738 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
9741 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9743 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
9746 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9748 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
9751 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9753 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
9755 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9757 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
9758 into R11_LP and load __x86_64_shared_cache_size_half into
9761 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
9763 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
9766 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9768 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
9770 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
9772 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
9774 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
9775 powerpc32/power7/fpu/s_logb.c via #include.
9776 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
9777 powerpc32/power7/fpu/s_logbf.c via #include.
9778 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
9779 powerpc32/power7/fpu/s_logbl.c via #include.
9781 2012-05-15 Joseph Myers <joseph@codesourcery.com>
9783 * README.libm: Remove file.
9785 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9787 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
9788 count for x32. Use R*_LP and omit operand-size suffix.
9790 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9792 * shlib-versions: Move x86_64-.*-linux.* entries to ...
9793 * sysdeps/x86_64/64/shlib-versions: Here. New file.
9794 * sysdeps/x86_64/x32/shlib-versions: New file.
9796 2012-05-14 Roland McGrath <roland@hack.frob.com>
9798 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
9799 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
9800 Use _dl_fatal_printf instead.
9802 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9804 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
9805 set if not set by the user. Do not allow for being unset.
9806 * sysdeps/unix/sysv/linux/configure: Regenerated.
9808 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9810 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
9811 the `q' suffix from lea and replace .quad with ASM_ADDR.
9813 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9815 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9816 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
9818 (PTR_DEMANGLE): Likewise.
9820 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9822 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
9824 (ASM_ADDR): Likewise.
9842 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9844 * sysdeps/x86_64/x32/dl-machine.h: New file.
9846 2012-05-14 Andreas Jaeger <aj@suse.de>
9848 * manual/Makefile (subdir): Remove export of subdir.
9849 (all): Remove target.
9850 (.PHONY): Remove all from list.
9851 (mkinstalldirs): Remove.
9852 (.PHONY): Remove installdirs from list.
9853 ($(inst_infodir)/libc.info): Use make-target-directory.
9854 (installdirs): Remove.
9856 (glibc-targets): Remove.
9859 ($(objpfx)stubs ../po/manual.pot): Remove.
9860 ($(objpfx)stamp%): Remove.
9861 (make-target-directory): Remove.
9862 (subdir_install): Remove.
9870 * manual/.gitignore: Remove, it's not needed anymore.
9871 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
9873 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
9875 (texis): Renamed to $(objpfx)texis.
9876 (texis-path): New, contains path to generated files.
9877 (chapters.%): Use texis-path for complete path, add extra argument
9879 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
9880 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
9881 (summary,texi, stamp-summary): Use complete path of
9882 files. Generate files in build dir.
9883 (dir-add.texi): Build in build dir.
9884 (libm-err.texi,stamp-libm-err): Likewise.
9885 (version.texi, stamp-version): Likewise.
9886 (.%c.texi): Likewise.
9887 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
9888 (mostlyclean): Remove target.
9889 (realclean): Remove target.
9890 (generated): Add new variable with contents from mostlyclean and
9891 realclean, remove entries duplicated in common-mostlyclean, add
9892 stamp-libm-err and stamp-version.
9893 (generated-dirs): Add libc directory.
9894 ($(inst_infodir)/libc.info): Install files from build dir.
9896 * manual/install.texi (Configuring and compiling): Adjust since
9897 the info files are not part of the tar ball anymore.
9899 2012-05-14 Andreas Jaeger <aj@suse.de>
9901 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
9904 2012-05-14 Joseph Myers <joseph@codesourcery.com>
9907 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
9908 to 2.2.0 where earlier.
9909 * sysdeps/unix/sysv/linux/configure: Regenerated.
9910 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
9911 Remove conditional code.
9912 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
9913 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
9914 Remove conditional code.
9915 [!__NR_lchown]: Likewise.
9916 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9917 [__NR_lchown]: Likewise.
9918 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
9919 comment referencing __ASSUME_LCHOWN_SYSCALL.
9920 * sysdeps/unix/sysv/linux/i386/sigaction.c
9921 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
9922 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
9923 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
9924 Remove conditional code.
9925 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
9926 (__protocol_available): Remove #if 0 code.
9927 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
9929 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
9930 * sysdeps/unix/sysv/linux/kernel-features.h
9931 (__ASSUME_GETCWD_SYSCALL): Don't define.
9932 (__ASSUME_REALTIME_SIGNALS): Likewise.
9933 (__ASSUME_PREAD_SYSCALL): Likewise.
9934 (__ASSUME_PWRITE_SYSCALL): Likewise.
9935 (__ASSUME_POLL_SYSCALL): Likewise.
9936 (__ASSUME_LCHOWN_SYSCALL): Likewise.
9937 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
9939 (__ASSUME_SIOCGIFNAME): Don't define.
9940 (__ASSUME_MSG_NOSIGNAL): Likewise.
9941 (__ASSUME_SENDFILE): Define unconditionally.
9942 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
9943 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
9945 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
9946 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
9947 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9948 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9949 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
9950 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
9951 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
9952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
9953 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9954 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
9956 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9957 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
9959 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9960 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
9962 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9963 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
9965 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9966 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
9968 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
9969 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
9971 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9972 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
9974 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
9975 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9976 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
9977 Remove conditional code.
9978 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9979 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9980 Remove conditional code.
9981 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9982 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
9983 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
9984 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9985 Remove conditional code.
9986 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9987 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
9988 Remove conditional code.
9989 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9990 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
9991 Remove conditional code.
9992 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9993 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
9994 Remove conditional code.
9995 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
9996 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
9997 Remove conditional code.
9998 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
9999 * sysdeps/unix/sysv/linux/sh/pwrite64.c
10000 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
10001 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
10002 * sysdeps/unix/sysv/linux/sigaction.c
10003 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10004 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10005 * sysdeps/unix/sysv/linux/sigpending.c
10006 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10007 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10008 * sysdeps/unix/sysv/linux/sigprocmask.c
10009 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10010 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10011 * sysdeps/unix/sysv/linux/sigsuspend.c
10012 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
10013 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
10014 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
10015 (__libc_missing_rt_sigs): Remove.
10016 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
10017 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
10018 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
10019 Remove conditional code.
10020 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
10021 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
10023 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
10024 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
10025 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
10026 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
10028 2012-05-14 Andreas Jaeger <aj@suse.de>
10030 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
10031 it's not used in glibc.
10032 (__coshm1): Likewise.
10033 (__acosh1p): Likewise.
10036 * manual/string.texi (Copying and Concatenation): Add missing
10037 variable in concat example.
10038 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10040 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10043 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
10044 __builtin_clzl with __builtin_clzll.
10046 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
10049 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
10052 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10054 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
10055 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
10056 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
10057 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
10059 2012-05-14 Mike Frysinger <vapier@gentoo.org>
10061 * NEWS: Update ia64 info.
10063 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
10065 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
10068 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
10070 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
10071 * sysdeps/unix/syscalls.list (dup3): Likewise.
10072 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
10073 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
10075 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10077 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
10078 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
10080 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
10082 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
10084 (TLS_IE): Use mov/add instead of movq/addq to load thread
10086 (TLS_GD_PREFIX): New.
10089 2012-05-11 David S. Miller <davem@davemloft.net>
10091 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
10092 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
10093 (_FPU_SETCW): Likewise.
10095 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10097 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
10098 is 32-byte aligned.
10100 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
10103 * iconvdata/gb18030.c: Update tables.
10104 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
10105 characters specially.
10106 (BODY for TO_LOOP): Add encoding of missing ranges.
10108 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
10111 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
10112 * sysdeps/mach/hurd/dup3.c: Likewise.
10113 * sysdeps/mach/hurd/readlinkat.c: Likewise.
10114 * sysdeps/powerpc/memmove.c:: Likewise.
10116 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10118 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
10119 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
10121 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10123 * elf/elf.h (R_X86_64_RELATIVE64): New.
10124 (R_X86_64_NUM): Updated.
10125 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10126 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
10127 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
10128 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
10129 tst-quad1pie tst-quad2pie
10130 (modules-names): Add tst-quadmod1 tst-quadmod2.
10131 ($(objpfx)tst-quad1): New dependency.
10132 ($(objpfx)tst-quad2): Likewise.
10133 ($(objpfx)tst-quad1pie): Likewise.
10134 ($(objpfx)tst-quad2pie): Likewise.
10135 * sysdeps/x86_64/tst-quad1.c: New file.
10136 * sysdeps/x86_64/tst-quad1pie.c: New file.
10137 * sysdeps/x86_64/tst-quad2.c: Likewise.
10138 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
10139 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
10140 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
10141 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
10142 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
10144 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10146 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
10147 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
10148 * streams/stropts.h (t_scalar_t): Define type.
10150 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
10151 (_PATH_PRESERVE): Set to "/var/lib".
10152 (_PATH_RWHODIR): Set to "/var/spool/rwho".
10154 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
10157 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
10158 if __dir_mkfile succeeded.
10160 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
10161 checking for _hurd_dtablesize. Unlock it right after having
10162 finished _hurd_dtable allocation.
10164 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10166 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
10167 * sysdeps/mach/hurd/configure: Regenerated.
10168 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
10169 special-casing to...
10170 * sysdeps/gnu/configure.in: ... this new file.
10171 * sysdeps/unix/sysv/linux/configure: Regenerated.
10172 * sysdeps/gnu/configure: New generated file.
10174 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
10175 for Linux: use nsec instead of usec, as well as:
10176 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
10177 members of type struct timespec.
10178 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
10180 (struct stat64): Likewise.
10181 (_STATBUF_ST_NSEC): New macro.
10182 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
10184 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
10185 __strtoul_internal rather than strtoul.
10187 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10189 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
10192 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10194 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
10195 which preserves existing values.
10196 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
10198 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10200 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
10201 TIMEOUT values. Return EINVAL for NFDS values either negative or
10202 greater than FD_SETSIZE.
10204 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10206 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
10207 allocated, call __vm_protect to finish enabling the existing space, and
10208 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
10209 allocate the remainder.
10211 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10213 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
10214 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
10216 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10218 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
10219 sysdeps/mach/hurd/readlink.c.
10221 * posix/tst-sysconf.c (posix_options): Only use
10222 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
10223 _POSIX_SYNCHRONIZED_IO when they are defined
10224 * sysdeps/mach/hurd/bits/posix_opt.h:
10225 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
10226 (_XOPEN_REALTIME): Undefine macro.
10227 (_XOPEN_REALTIME_THREADS): Undefine macro.
10228 (_XOPEN_SHM): Undefine macro.
10229 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
10231 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
10233 (_POSIX_ASYNC_IO): Undefine macro.
10234 (_POSIX_PRIORITIZED_IO): Undefine macro.
10235 (_POSIX_SPIN_LOCKS): Define macro to -1.
10237 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
10238 SA_NODEFER, SA_RESETHAND.
10239 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
10240 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
10243 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10245 * elf/Makefile (pldd-modules): Define unconditionally.
10247 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10249 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
10251 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10253 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
10254 Return ENOENT when name is empty.
10255 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
10257 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10259 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
10261 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
10263 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10265 Fix mlock in all cases except non-readable pages.
10266 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
10267 instead of VM_PROT_ALL as parameter to __vm_wire function.
10269 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
10270 (__mkdir): When path is `/', just fail with EEXIST.
10271 * sysdeps/mach/hurd/mkdirat.c: Likewise.
10273 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10275 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
10276 <sys/uio.h> (for writev).
10277 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
10278 and <sys/param.h> (for MIN).
10280 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
10282 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
10283 REQUESTED_TIME. Properly set the remaining time and return EINTR
10286 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10288 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
10289 Depend on against $(link-rpcuserlibs).
10291 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10293 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
10294 (__libc_stack_end): Do not use attribute_relro.
10295 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
10296 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
10297 to libthread-provided value.
10298 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
10301 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10304 * bits/libc-lock.h (__libc_once_get): New macro.
10305 * sysdeps/mach/bits/libc-lock.h: Likewise.
10306 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
10307 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
10308 instead of using implementation details.
10310 * libio/fileops.c: Unconditionally include <kernel-features.h>.
10311 * libio/freopen.c: Likewise.
10312 * libio/freopen64.c: Likewise.
10313 * misc/syslog.c: Likewise.
10314 * nscd/connections.c: Likewise.
10315 * nscd/netgroupcache.c: Likewise.
10316 * sysdeps/posix/getcwd.c: Likewise.
10318 2012-05-10 Roland McGrath <roland@hack.frob.com>
10320 * math/w_ilogbf.c: Add #include <limits.h>.
10322 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10324 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
10325 path instead of returning without unlocking.
10327 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
10328 immediate-write ioctls.
10329 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
10331 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10333 * sysdeps/mach/hurd/i386/init-first.c (init): Use
10334 __builtin_frame_address instead of making assumptions about the
10335 location of the return address relative to DATA. Force early load of
10336 the return address.
10337 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
10338 __builtin_frame_address.
10341 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
10342 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
10343 implement dup3 and do some further code clean-ups.
10344 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
10345 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
10347 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10349 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
10351 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
10352 HURD_CRITICAL_END around holding _hurd_dtable_lock.
10353 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
10354 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
10355 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
10358 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
10359 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
10360 when handler == SIG_ERR, not when handler != SIG_ERR.
10362 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10364 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
10365 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
10368 accept4 for GNU Hurd.
10369 * include/sys/socket.h (__libc_accept4): New prototype.
10370 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
10371 to implement __libc_accept4.
10372 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
10374 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
10376 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
10377 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
10378 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
10379 signal-defines.sym.
10381 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10383 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
10385 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
10387 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
10388 assertion on O_CLOEXEC flag.
10389 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
10390 * hurd/intern-fd.c: Likewise.
10391 * hurd/port2fd.c: Likewise.
10393 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
10396 * bits/in.h (IPV6_PKTINFO): Define new macro.
10397 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
10399 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10404 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
10405 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
10406 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
10407 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
10408 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
10409 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
10410 * math/libm-test.inc (logb_test) : Additional logb tests.
10412 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
10413 Andreas Jaeger <aj@suse.de>
10415 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
10416 * configure: Regenerated.
10417 * config.h.in (LINK_OBSOLETE_RPC): New macro.
10418 * config.make.in (link-obsolete-rpc): New substituted variable.
10419 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
10420 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
10421 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10422 (shared-only-routines): Don't set it under [link-obsolete-rpc],
10423 so that libc.a contains the symbols.
10424 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
10425 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
10426 * sunrpc/auth_none.c: Likewise.
10427 * sunrpc/auth_unix.c: Likewise.
10428 * sunrpc/authdes_prot.c: Likewise.
10429 * sunrpc/authuxprot.c: Likewise.
10430 * sunrpc/clnt_gen.c: Likewise.
10431 * sunrpc/clnt_perr.c: Likewise.
10432 * sunrpc/clnt_raw.c: Likewise.
10433 * sunrpc/clnt_simp.c: Likewise.
10434 * sunrpc/clnt_tcp.c: Likewise.
10435 * sunrpc/clnt_udp.c: Likewise.
10436 * sunrpc/clnt_unix.c: Likewise.
10437 * sunrpc/des_crypt.c: Likewise.
10438 * sunrpc/des_soft.c: Likewise.
10439 * sunrpc/get_myaddr.c: Likewise.
10440 * sunrpc/key_call.c: Likewise.
10441 * sunrpc/key_prot.c: Likewise.
10442 * sunrpc/netname.c: Likewise.
10443 * sunrpc/pm_getmaps.c: Likewise.
10444 * sunrpc/pm_getport.c: Likewise.
10445 * sunrpc/pmap_clnt.c: Likewise.
10446 * sunrpc/pmap_prot.c: Likewise.
10447 * sunrpc/pmap_prot2.c: Likewise.
10448 * sunrpc/pmap_rmt.c: Likewise.
10449 * sunrpc/publickey.c: Likewise.
10450 * sunrpc/rpc_cmsg.c: Likewise.
10451 * sunrpc/rpc_common.c: Likewise.
10452 * sunrpc/rpc_dtable.c: Likewise.
10453 * sunrpc/rpc_prot.c: Likewise.
10454 * sunrpc/rpc_thread.c: Likewise.
10455 * sunrpc/rtime.c: Likewise.
10456 * sunrpc/svc.c: Likewise.
10457 * sunrpc/svc_auth.c: Likewise.
10458 * sunrpc/svc_raw.c: Likewise.
10459 * sunrpc/svc_run.c: Likewise.
10460 * sunrpc/svc_tcp.c: Likewise.
10461 * sunrpc/svc_udp.c: Likewise.
10462 * sunrpc/svc_unix.c: Likewise.
10463 * sunrpc/svcauth_des.c: Likewise.
10464 * sunrpc/xcrypt.c: Likewise.
10465 * sunrpc/xdr.c: Likewise.
10466 * sunrpc/xdr_array.c: Likewise.
10467 * sunrpc/xdr_float.c: Likewise.
10468 * sunrpc/xdr_intXX_t.c: Likewise.
10469 * sunrpc/xdr_mem.c: Likewise.
10470 * sunrpc/xdr_rec.c: Likewise.
10471 * sunrpc/xdr_ref.c: Likewise.
10472 * sunrpc/xdr_sizeof.c: Likewise.
10473 * sunrpc/xdr_stdio.c: Likewise.
10475 2012-05-10 Roland McGrath <roland@hack.frob.com>
10477 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
10478 change. Update copyright years.
10480 2012-05-10 Joseph Myers <joseph@codesourcery.com>
10482 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
10484 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
10485 Joseph Myers <joseph@codesourcery.com>
10486 Paul Pluzhnikov <ppluzhnikov@google.com>
10489 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
10491 [cross-compiling] (extra-libs): Likewise.
10492 [cross-compiling] (extra-libs-others): Likewise.
10493 [cross-compiling] (librpcsvc-routines): Likewise.
10494 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
10495 [cross-compiling] (omit-deps): Likewise.
10496 (sunrpc-CPPFLAGS): New variable.
10497 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
10498 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
10499 (cross-rpcgen-objs): New variable.
10500 (extra-objs): Append $(cross-rpcgen-objs).
10501 ($(cross-rpcgen-objs)): New rule.
10502 ($(objpfx)cross-rpcgen): Likewise.
10503 (rpcgen-cmd): Define to use $(built-program-file). Expand
10505 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
10506 ($(objpfx)x%.stmp): Likewise.
10507 * sunrpc/proto.h [IS_IN_build] (_): Define.
10508 [IS_IN_build] (_libc_intl_domainname): Likewise.
10510 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
10512 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
10513 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
10514 and R_X86_64_TPOFF64.
10516 2012-05-10 Joseph Myers <joseph@codesourcery.com>
10518 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
10519 sysdeps/unix/sysv/syscalls.list.
10522 * sysdeps/unix/sysv/syscalls.list: Remove file.
10524 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
10527 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
10528 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
10529 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
10530 (__LC_IDENTIFICATION): Make these macros useful in #if
10531 expressions, as required by C99.
10533 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
10535 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
10536 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
10539 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
10541 * stdlib/longlong.h: Updated from GCC.
10543 2012-05-09 Andreas Jaeger <aj@suse.de>
10545 * nscd/nscd.c (run_modes): Make named enum, reorder so that
10546 default is first entry.
10547 (run_mode): Set type.
10548 (main): Remove informal message about syslog.
10549 (options): Fix typo.
10552 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
10555 (llrintf): Likewise.
10556 (llrint): Likewise.
10559 (nearbyint): Likewise.
10560 (nearbyintf): Likewise.
10562 2012-05-09 Andreas Jaeger <aj@suse.de>
10563 Pedro Alves <palves@redhat.com>
10565 * nscd/nscd.c (run_mode): Use enum.
10566 (main): Cleanup coding style issue.
10568 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
10569 Andreas Jaeger <aj@suse.de>
10571 * nscd/nscd.c (go_background): Replaced with...
10572 (run_mode): ... this.
10573 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
10574 (options): Add -F --foreground.
10575 (main): Implement it.
10576 (parse_opt): Parse it.
10578 2012-05-09 Andreas Jaeger <aj@suse.de>
10581 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
10582 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
10583 -Wconversion warning.
10584 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
10587 2012-05-09 Joseph Myers <joseph@codesourcery.com>
10589 * conform/data/locale.h-data (NULL): Use macro-constant. Require
10591 (LC_ALL): Use macro-int-constant.
10592 (LC_COLLATE): Likewise.
10593 (LC_CTYPE): Likewise.
10594 (LC_MESSAGES): Likewise.
10595 (LC_MONETARY): Likewise.
10596 (LC_NUMERIC): Likewise.
10597 (LC_TIME): Likewise.
10598 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
10599 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10600 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10601 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
10603 [C99-based standards] (float_t): Expect type.
10604 [C99-based standards] (double_t): Expect type.
10605 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
10607 [C99-based standards] (HUGE_VALL): Likewise.
10608 [C99-based standards] (INFINITY): Likewise.
10609 [C99-based standards] (NAN): Likewise.
10610 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
10611 [C99-based standards] (FP_NAN): Likewise.
10612 [C99-based standards] (FP_NORMAL): Likewise.
10613 [C99-based standards] (FP_SUBNORMAL): Likewise.
10614 [C99-based standards] (FP_ZERO): Likewise.
10615 [C99-based standards] (FP_FAST_FMA): Use
10616 optional-macro-int-constant. Specify type. Require == 1.
10617 [C99-based standards] (FP_FAST_FMAF): Likewise.
10618 [C99-based standards] (FP_FAST_FMAL): Likewise.
10619 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
10620 [C99-based standards] (FP_ILOGBNAN): Likewise.
10621 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
10623 [C99-based standards] (MATH_ERREXCEPT): Likewise.
10624 [C99-based standards] (math_errhandling): Specify type.
10625 [ISO99 || ISO11] (signgam): Do not allow.
10626 [non-C99-based standards] (copysignf): Do not allow.
10627 [non-C99-based standards] (exp2f): Likewise.
10628 [non-C99-based standards] (log2f): Likewise.
10629 [non-C99-based standards] (modff): Allow.
10630 [non-C99-based standards] (erff): Do not allow.
10631 [non-C99-based standards] (erfcf): Likewise.
10632 [non-C99-based standards] (gammaf): Likewise.
10633 [non-C99-based standards] (hypotf): Likewise.
10634 [non-C99-based standards] (j0f): Likewise.
10635 [non-C99-based standards] (j1f): Likewise.
10636 [non-C99-based standards] (jnf): Likewise.
10637 [non-C99-based standards] (lgammaf): Likewise.
10638 [non-C99-based standards] (tgammaf): Likewise.
10639 [non-C99-based standards] (y0f): Likewise.
10640 [non-C99-based standards] (y1f): Likewise.
10641 [non-C99-based standards] (ynf): Likewise.
10642 [non-C99-based standards] (isnanf): Likewise.
10643 [non-C99-based standards] (acoshf): Likewise.
10644 [non-C99-based standards] (asinhf): Likewise.
10645 [non-C99-based standards] (atanhf): Likewise.
10646 [non-C99-based standards] (cbrtf): Likewise.
10647 [non-C99-based standards] (expm1f): Likewise.
10648 [non-C99-based standards] (ilogbf): Likewise.
10649 [non-C99-based standards] (log1pf): Likewise.
10650 [non-C99-based standards] (logbf): Likewise.
10651 [non-C99-based standards] (nextafterf): Likewise.
10652 [non-C99-based standards] (remainderf): Likewise.
10653 [non-C99-based standards] (rintf): Likewise.
10654 [non-C99-based standards] (scalbf): Likewise.
10655 [non-C99-based standards] (copysignl): Likewise.
10656 [non-C99-based standards] (exp2l): Likewise.
10657 [non-C99-based standards] (log2l): Likewise.
10658 [non-C99-based standards] (modfl): Allow.
10659 [non-C99-based standards] (erfl): Do not allow.
10660 [non-C99-based standards] (erfcl): Likewise.
10661 [non-C99-based standards] (gammal): Likewise.
10662 [non-C99-based standards] (hypotl): Likewise.
10663 [non-C99-based standards] (j0l): Likewise.
10664 [non-C99-based standards] (j1l): Likewise.
10665 [non-C99-based standards] (jnl): Likewise.
10666 [non-C99-based standards] (lgammal): Likewise.
10667 [non-C99-based standards] (tgammal): Likewise.
10668 [non-C99-based standards] (y0l): Likewise.
10669 [non-C99-based standards] (y1l): Likewise.
10670 [non-C99-based standards] (ynl): Likewise.
10671 [non-C99-based standards] (isnanl): Likewise.
10672 [non-C99-based standards] (acoshl): Likewise.
10673 [non-C99-based standards] (asinhl): Likewise.
10674 [non-C99-based standards] (atanhl): Likewise.
10675 [non-C99-based standards] (cbrtl): Likewise.
10676 [non-C99-based standards] (expm1l): Likewise.
10677 [non-C99-based standards] (ilogbl): Likewise.
10678 [non-C99-based standards] (log1pl): Likewise.
10679 [non-C99-based standards] (logbl): Likewise.
10680 [non-C99-based standards] (nextafterl): Likewise.
10681 [non-C99-based standards] (remainderl): Likewise.
10682 [non-C99-based standards] (rintl): Likewise.
10683 [non-C99-based standards] (scalbl): Likewise.
10684 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10685 [non-C99-based standards] (FP_*): Do not allow.
10686 [C99-based standards] (FP_*): Change to
10687 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
10688 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10690 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
10691 (SIG_ERR): Likewise.
10692 [X/Open-based standards] (SIG_HOLD): Likewise.
10693 (SIG_IGN): Likewise.
10694 (SIGABRT): Use macro-int-constant. Specify type. Require
10696 (SIGFPE): Likewise.
10697 (SIGILL): Likewise.
10698 (SIGINT): Likewise.
10699 (SIGSEGV): Likewise.
10700 (SIGTER): Likewise.
10701 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
10702 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
10703 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
10704 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
10705 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
10706 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
10707 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
10708 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
10709 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
10710 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
10711 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
10712 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
10713 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
10714 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
10715 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
10716 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
10717 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
10718 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
10719 [X/Open-based standards] (SIGTRAP): Likewise.
10720 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
10721 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
10722 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
10723 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
10724 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
10727 2012-05-08 Ian Wienand <ianw@vmware.com>
10730 * time/tzset.c (__tzset_parse_tz): Update default rules for
10731 daylight time changes in the Energy Policy Act of 2005.
10733 2012-05-09 Andreas Jaeger <aj@suse.de>
10736 * elf/ldconfig.c (parse_conf): Change string to make clear that
10737 ldconfig only issued a warning if ld.so.conf does not exist.
10739 2012-05-08 David S. Miller <davem@davemloft.net>
10741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
10742 movxtod instead of popping the value on the stack.
10744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10746 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
10748 * config.h.in: Add HAVE_ARM_PCS_VFP.
10750 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
10753 * include/features.h: Warn if user requests __FORTIFY_SOURCE
10754 checking but the checks are disabled for any reason.
10756 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
10758 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
10759 and ELF64_R_TYPE with ELFW(R_TYPE).
10761 2012-05-08 Joseph Myers <joseph@codesourcery.com>
10763 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
10764 (ulimit): Likewise.
10766 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
10767 (settimeofday): Likewise.
10769 2012-05-08 Mike Frysinger <vapier@gentoo.org>
10771 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
10772 a struct th_u2 inside the union, and move tu_block/tu_code into
10773 a new th_u3 union of tu_block/tu_code inside of that. Move
10774 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
10775 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
10776 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
10777 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
10778 (th_stuff): Change to th_u1.tu_stuff.
10780 (th_msg): Change to th_u1.th_u2.tu_data.
10782 2012-05-07 David S. Miller <davem@davemloft.net>
10784 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10787 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
10788 (SETUP_PIC_REG): Use it.
10789 (SETUP_PIC_REG_LEAF): Use it.
10791 2012-05-07 Joseph Myers <joseph@codesourcery.com>
10795 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10797 (EXPL_FINITE): Likewise.
10798 (FLDLOG): Likewise.
10799 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10800 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10802 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10804 (EXPL_FINITE): Likewise.
10805 (FLDLOG): Likewise.
10806 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
10807 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
10809 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
10810 test of -max_value argument for long double.
10811 * sysdeps/i386/fpu/libm-test-ulps: Update.
10812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10814 2012-05-06 David S. Miller <davem@davemloft.net>
10816 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
10817 quad soft-float symbols whose references which are compiler
10819 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10821 2012-05-06 Joseph Myers <joseph@codesourcery.com>
10825 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10827 (EXPL_FINITE): Likewise.
10828 (FLDLOG): Likewise.
10831 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10832 Adjust comments for base varying.
10833 (__expl_finite): Change alias to EXPL_FINITE.
10834 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
10836 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
10837 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10838 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
10839 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
10840 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
10842 (EXPL_FINITE): Likewise.
10843 (FLDLOG): Likewise.
10846 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
10847 Adjust comments for base varying.
10848 (__expl_finite): Change alias to EXPL_FINITE.
10849 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
10851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10854 * math/libm-test.inc (check_float_internal): Correct ulp
10855 calculation for subnormal expected results.
10857 2012-05-06 Andreas Jaeger <aj@suse.de>
10859 * Makeconfig (+math-flags): New, set to -frounding-math.
10860 (+cflags): Add +math-flags so that all of glibc gets compiled with
10863 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
10865 2012-05-05 Joseph Myers <joseph@codesourcery.com>
10867 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
10873 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
10874 (__ieee754_expl): Allow for and saturate large arguments.
10875 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
10876 (u_threshold): Likewise.
10877 (__exp): Call __ieee754_exp before checking for overflow and
10879 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
10880 (u_threshold): Likewise.
10881 (__expf): Call __ieee754_expf before checking for overflow and
10883 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
10884 (u_threshold): Likewise.
10885 (__expl): Call __ieee754_expl before checking for overflow and
10887 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
10888 (__ieee754_expl): Allow for and saturate large arguments.
10889 * math/libm-test.inc (exp_test): Add another test. Do not allow
10890 missing overflow exception on overflow.
10891 (expm1_test): Do not allow missing overflow exception on overflow.
10893 * sysdeps/i386/fpu/e_expl.c: Move to ...
10894 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
10895 rather than using inline asm.
10896 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
10897 * sysdeps/x86_64/fpu/e_expl.S: Copy from
10898 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
10900 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
10903 (signal): Likewise.
10907 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10909 * sysdeps/unix/syscalls.list (adjtime): Add entry from
10910 sysdeps/unix/common/syscalls.list.
10911 (fchmod): Likewise.
10912 (fchown): Likewise.
10913 (ftruncate): Likewise.
10914 (getrusage): Likewise.
10915 (gettimeofday): Likewise.
10916 (setpgid): Likewise.
10917 (setregid): Likewise.
10918 (setreuid): Likewise.
10919 (sigaction): Likewise.
10920 (truncate): Likewise.
10921 (vhangup): Likewise.
10922 * sysdeps/unix/common/syscalls.list: Remove file.
10923 * sysdeps/unix/bsd/Implies: Don't include unix/common.
10924 * sysdeps/unix/sysv/linux/Implies: Likewise.
10926 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
10928 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
10929 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
10930 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
10932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10934 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
10936 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
10937 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
10939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
10940 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
10942 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
10943 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
10945 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
10946 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
10948 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
10949 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
10951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
10952 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
10954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10956 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
10958 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
10960 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
10962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
10963 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
10965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
10967 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
10969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
10971 2012-05-04 Joseph Myers <joseph@codesourcery.com>
10973 * sysdeps/unix/common/bits/dirent.h: Remove file.
10974 * sysdeps/unix/common/bits/fcntl.h: Likewise.
10976 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
10977 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
10978 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
10979 * sysdeps/unix/bsd/isatty.c: Likewise.
10980 * sysdeps/unix/bsd/tcdrain.c: Likewise.
10981 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
10982 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
10984 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10987 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
10988 long double comparison inaccuracies.
10989 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
10990 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10992 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
10994 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
10995 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
10997 2012-05-04 Joseph Myers <joseph@codesourcery.com>
11000 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
11001 nonzero digits before rounding a hex value.
11002 * stdlib/tst-strtod.c (tests): Add another test.
11004 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11006 * sysdeps/s390/fpu/libm-test-ulps: Update.
11008 2012-05-03 Andreas Jaeger <aj@suse.de>
11010 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
11011 does not get optimized out.
11012 (malloc_opt_barrier): New.
11014 2012-05-03 Andreas Jaeger <aj@suse.de>
11015 Roland McGrath <roland@hack.frob.com>
11017 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
11018 intermediate file deletion.
11019 (generated): Add .symlist files.
11021 2012-05-03 Joseph Myers <joseph@codesourcery.com>
11024 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
11025 Redirect under this condition.
11026 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11027 [__USE_GNU] (__dprintf_chk): Not under this condition.
11028 [__USE_GNU] (__vdprintf_chk): Likewise.
11029 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
11030 under this condition.
11031 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
11032 [__USE_XOPEN2K8] (dprintf): Define under this condition.
11033 [__USE_XOPEN2K8] (vdprintf): Likewise.
11034 [__USE_GNU] (__dprintf_chk): Not under this condition.
11035 [__USE_GNU] (__vdprintf_chk): Likewise.
11036 [__USE_GNU] (dprintf): Likewise.
11037 [__USE_GNU] (vdprintf): Likewise.
11039 2012-05-03 Roland McGrath <roland@hack.frob.com>
11041 * elf/Makefile (common-generated): Set this instead of generated for
11042 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
11043 $(all-built-dso)-derived lists.
11045 2012-05-03 Andreas Jaeger <aj@suse.de>
11047 * sysdeps/i386/fpu/libm-test-ulps: Update.
11050 * FAQ.in: Likewise.
11051 * scripts/gen-FAQ.pl: Likewise.
11052 * manual/install.texi (Installation): Point to online location of
11054 * Makefile (files-for-dist): Remove FAQ.
11057 2012-05-02 Allan McRae <allan@archlinux.org>
11059 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
11060 (LDFLAGS-reldepmod5.so): Likewise.
11061 (LDFLAGS-reldep6mod1.so): Likewise.
11062 (LDFLAGS-reldep6mod4.so): Likewise.
11063 (LDFLAGS-reldep8mod3.so): Likewise.
11064 (LDFLAGS-unload4mod1.so): Likewise.
11065 (LDFLAGS-unload4mod2.so): Likewise.
11066 (LDFLAGS-tst-initorder): Likewise.
11067 (LDFLAGS-tst-initordera2.so): Likewise.
11068 (LDFLAGS-tst-initordera3.so): Likewise.
11069 (LDFLAGS-tst-initordera4.so): Likewise.
11070 (LDFLAGS-tst-initorderb2.so): Likewise.
11071 (LDFLAGS-noload): Likewise.
11072 (LDFLAGS-next): Likewise.
11073 (LDFLAGS-order2mod1.so): Likewise.
11074 (LDFLAGS-order2mod2.so): Likewise.
11075 (LDFLAGS-tst-initorder2): Likewise.
11076 (LDFLAGS-tst-initorder2a.so): Likewise.
11077 (LDFLAGS-tst-initorder2b.so): Likewise.
11078 (LDFLAGS-tst-initorder2c.so): Likewise.
11079 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
11081 2012-05-02 David S. Miller <davem@davemloft.net>
11083 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11085 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
11088 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
11090 2012-05-02 Andreas Jaeger <aj@suse.de>
11092 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
11093 since we manipulate rounding mode.
11094 (CPPFLAGS-test-idouble.c): Likewise.
11095 (CPPFLAGS-test-ifloat.c): Likewise.
11096 (CFLAGS-test-ldouble.c): Likewise.
11097 (CFLAGS-test-double.c): Likewise.
11098 (CFLAGS-test-float.c): Likewise.
11099 (CFLAGS-test-misc.c): Likewise.
11100 (CFLAGS-test-test-fenv.c): Likewise.
11102 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11106 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
11107 comparisons to determine direction to adjust input.
11109 2012-05-01 Roland McGrath <roland@hack.frob.com>
11111 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
11112 output to the target.
11114 * scripts/localplt.awk: New file.
11115 * elf/Makefile ($(objpfx)check-localplt): Target removed.
11116 (check-localplt-CFLAGS): Variable removed.
11117 ($(all-built-dso:=.jmprel)): New static pattern rule.
11118 (generated): Add those targets.
11119 (localplt-built-dso): New variable.
11120 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
11122 * elf/check-localplt.c: File removed.
11124 * scripts/check-execstack.awk: New file.
11125 * elf/Makefile ($(objpfx)check-execstack): Target removed.
11126 (check-execstack-CFLAGS): Variable removed.
11127 ($(objpfx)check-execstack.h): Target removed.
11128 ($(objpfx)execstack-default): New target.
11129 (generated): Add that instead of check-execstack.h.
11130 ($(all-built-dso:=.phdr)): New static pattern rule.
11131 (generated): Add those targets.
11132 * elf/check-execstack.c: File removed.
11134 * scripts/check-textrel.awk: New file.
11135 * elf/Makefile ($(objpfx)check-textrel): Target removed.
11136 (check-textrel-CFLAGS): Variable removed.
11137 (all-built-dso): Use := to define.o
11138 ($(all-built-dso:=.dyn)): New static pattern rule.
11139 (generated): Add those targets.
11140 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
11141 * config.make.in (READELF): New substituted variable.
11142 * elf/check-textrel.c: File removed.
11144 2012-05-01 Joseph Myers <joseph@codesourcery.com>
11146 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
11148 * conform/data/ctype.h-data [C99-based standards] (isblank):
11150 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
11151 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
11152 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11153 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
11154 Specify type. Require positive value.
11155 (EILSEQ): Likewise.
11156 (ERANGE): Likewise.
11157 [ISO || POSIX] (EILSEQ): Do not expect.
11158 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
11159 Specify type. Require positive value.
11160 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
11161 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
11162 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
11163 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
11164 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
11165 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
11166 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
11167 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
11168 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
11169 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
11170 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
11171 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
11172 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
11173 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
11174 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
11175 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
11176 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
11177 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
11178 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
11179 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
11180 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
11181 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
11182 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
11183 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
11184 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
11185 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
11186 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
11187 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
11188 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
11189 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
11190 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
11191 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
11192 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
11193 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
11194 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
11195 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
11196 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
11197 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
11198 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
11199 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
11200 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
11201 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
11202 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
11203 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
11204 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
11205 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
11206 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
11207 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
11208 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
11209 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
11210 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
11211 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
11212 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
11213 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
11214 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
11215 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
11216 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
11217 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
11218 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
11219 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
11220 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
11221 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
11222 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
11223 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
11224 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
11225 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
11226 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
11227 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
11228 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
11229 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
11230 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
11231 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
11232 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
11233 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
11234 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
11235 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
11236 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
11238 (FLT_ROUNDS): Expect as macro, not constant.
11239 (FLT_MANT_DIG): Use macro-int-constant.
11240 (DBL_MANT_DIG): Likewise.
11241 (LDBL_MANT_DIG): Likewise.
11242 (FLT_DIG): Likewise.
11243 (DBL_DIG): Likewise.
11244 (LDBL_DIG): Likewise.
11245 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
11246 (DBL_MIN_EXP): Likewise.
11247 (LDBL_MIN_EXP): Likewise.
11248 (FLT_MAX_EXP): Use macro-int-constant.
11249 (DBL_MAX_EXP): Likewise.
11250 (LDBL_MAX_EXP): Likewise.
11251 (FLT_MAX_10_EXP): Likewise.
11252 (DBL_MAX_10_EXP): Likewise.
11253 (LDBL_MAX_10_EXP): Likewise.
11254 (FLT_MAX): Use macro-constant.
11255 (DBL_MAX): Likewise.
11256 (LDBL_MAX): Likewise.
11257 (FLT_EPSILON): Use macro-constant. Give upper bound.
11258 (DBL_EPSILON): Likewise.
11259 (LDBL_EPSILON): Likewise.
11260 (FLT_MIN): Likewise.
11261 (DBL_MIN): Likewise.
11262 (LDBL_MIN): Likewise.
11263 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
11264 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
11265 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
11266 [ISO11] (FLT_HAS_SUBNORM): Likewise.
11267 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
11268 [ISO11] (DBL_DECIMAL_DIG): Likewise.
11269 [ISO11] (FLT_DECIMAL_DIG): Likewise.
11270 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
11271 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
11272 [ISO11] (FLT_TRUE_MIN): Likewise.
11273 [ISO11] (LDBL_TRUE_MIN): Likewise.
11274 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11275 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
11276 (SCHAR_MIN): Use macro-int-constant. Specify type.
11277 (SCHAR_MAX): Likewise.
11278 (UCHAR_MAX): Likewise.
11279 (CHAR_MIN): Likewise.
11280 (CHAR_MAX): Likewise.
11281 (MB_LEN_MAX): Use macro-int-constant.
11282 (SHRT_MIN): Use macro-int-constant. Specify type.
11283 (SHRT_MAX): Likewise.
11284 (USHRT_MAX): Likewise.
11285 (INT_MAX): Likewise.
11286 (INT_MIN): Use macro-int-constant. Specify type. Make upper
11288 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
11290 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11292 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
11293 bound negative. Suffix upper bound with "L".
11294 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
11296 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
11298 [C99-based standards] (LLONG_MAX): Likewise.
11299 [C99-based standards] (ULLONG_MAX): Likewise.
11300 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
11302 [ISO11] (max_align_t): Require type.
11303 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11305 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
11306 from $CFLAGS, without defining away __attribute__ calls.
11307 (checknamespace): Use $CFLAGS_namespace.
11309 * conform/conformtest.pl (@keywords): Only include C99 keywords
11310 for standards based on C99 or C11.
11312 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
11314 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
11317 * conform/conformtest.pl: Handle "macro-int-constant" and test for
11318 usability of symbols in #if.
11320 * conform/conformtest.pl: If macro or constant types start
11321 "promoted:", expect the symbol to be of the following type
11322 promoted by the integer promotions.
11324 * conform/conformtest.pl: Parse all "constant" and "macro" lines
11325 in one place. Also handle "macro-constant".
11327 * conform/conformtest.pl: Only accept expected macro values with
11328 "==". Parse all "macro" lines in one place.
11329 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
11331 * conform/conformtest.pl: Handle braced types on "constant" lines
11332 instead of handling "typed-constant".
11333 * conform/data/signal.h-data: Use "constant" instead of
11336 * conform/conformtest.pl: Handle "optional-" at start of lines in
11337 one place rather than duplicating several cases. Handle each
11338 format of "macro" line with initial "optional-".
11340 * conform/conformtest.pl: Only accept expected constant or
11341 optional-constant values with "==". Parse all "constant" lines in
11342 one place. Parse all "optional-constant" lines in one place.
11343 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
11344 * conform/data/fmtmsg.h-data: Likewise.
11345 * conform/data/netinet/in.h-data: Likewise.
11346 * conform/data/tar.h-data: Likewise.
11347 * conform/data/limits.h-data: Use "==" form on "constant" and
11348 "optional-constant" lines.
11350 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
11351 Use -std=c99 for XOPEN2K.
11352 (@knownproblems): Remove.
11353 (newtoken): Don't check %isknown.
11355 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
11356 Do not expect macro.
11357 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
11358 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
11359 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
11360 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
11361 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
11362 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
11363 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
11364 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
11365 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
11366 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
11367 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
11368 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
11369 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
11370 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
11371 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
11372 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
11373 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
11374 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
11375 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
11376 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
11377 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
11378 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
11379 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
11380 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
11381 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
11382 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
11383 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
11384 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
11385 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
11386 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
11387 [XPG3] (acosh): Likewise.
11388 [XPG3] (asinh): Likewise.
11389 [XPG3] (atanh): Likewise.
11390 [XPG3] (cbrt): Likewise.
11391 [XPG3] (expm1): Likewise.
11392 [XPG3] (ilogb): Likewise.
11393 [XPG3] (log1p): Likewise.
11394 [XPG3] (logb): Likewise.
11395 [XPG3] (nextafter): Likewise.
11396 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
11397 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
11398 [XPG3] (remainder): Likewise.
11399 [XPG3] (rint): Likewise.
11400 [XPG3 || XPG4 || UNIX98] (round): Likewise.
11401 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
11402 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
11403 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
11404 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
11405 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
11406 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
11407 [UNIX98 || XOPEN2K] (scalb): Expect.
11408 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
11409 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
11410 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
11411 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
11412 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
11413 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
11414 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
11415 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
11416 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
11417 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
11418 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
11419 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
11420 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
11421 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
11422 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
11423 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
11424 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
11425 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
11426 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
11427 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
11428 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
11429 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
11430 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
11431 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
11432 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
11433 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
11434 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
11435 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
11436 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
11437 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
11438 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
11439 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
11440 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
11441 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
11442 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
11443 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
11444 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
11445 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
11446 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
11447 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
11448 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
11449 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
11450 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
11451 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
11452 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
11453 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
11454 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
11455 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
11456 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
11457 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
11458 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
11459 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
11460 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
11461 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
11462 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
11463 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
11464 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
11465 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
11466 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
11467 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
11468 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
11469 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
11470 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
11471 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
11472 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
11473 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
11474 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
11475 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
11476 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
11477 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
11478 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
11479 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
11480 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
11481 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
11482 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
11483 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
11484 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
11485 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
11486 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
11487 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
11488 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
11489 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
11490 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
11491 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
11492 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
11493 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
11494 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
11495 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
11496 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
11497 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
11498 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
11499 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
11500 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
11501 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
11502 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
11503 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
11504 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
11505 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
11506 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
11507 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
11508 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
11509 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
11510 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
11511 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
11512 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
11513 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
11514 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
11515 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
11516 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
11517 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
11518 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
11519 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
11520 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
11521 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
11522 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
11523 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
11524 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
11525 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
11526 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
11527 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
11528 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
11529 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
11530 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
11531 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
11532 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
11533 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
11534 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
11535 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
11536 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
11537 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
11538 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
11539 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
11540 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
11541 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
11542 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
11543 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
11544 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
11546 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
11547 _XOPEN_SOURCE_EXTENDED for XPG4.
11549 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
11551 * Makeconfig (localtime): Remove variable.
11552 (inst_localtime-file): Likewise.
11554 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
11568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
11572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11575 2012-05-01 Joseph Myers <joseph@codesourcery.com>
11579 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
11580 comparisons to determine direction to adjust input.
11581 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
11582 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
11583 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
11585 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
11587 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11589 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
11590 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
11592 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
11594 * math/libm-test.inc (nexttoward_test): Add more tests.
11596 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
11599 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
11600 in version GLIBC_2.1, not GLIBC_2.0.
11601 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
11604 2012-04-30 Joseph Myers <joseph@codesourcery.com>
11607 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
11609 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11610 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
11611 * math/libm-test.inc (acos_test): Add more tests.
11612 (asin_test): Likewise.
11613 * sysdeps/i386/fpu/libm-test-ulps: Update.
11614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11617 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
11619 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
11620 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
11621 * math/libm-test.inc (acos_test_tonearest): New function.
11622 (acos_test_towardzero): Likewise.
11623 (acos_test_downward): Likewise.
11624 (acos_test_upward): Likewise.
11625 (asin_test_tonearest): Likewise.
11626 (asin_test_towardzero): Likewise.
11627 (asin_test_downward): Likewise.
11628 (asin_test_upward): Likewise.
11629 (main): Call the new functions.
11630 * sysdeps/i386/fpu/libm-test-ulps: Update.
11631 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11635 * math/e_exp10.c: Include <float.h>.
11636 (__ieee754_exp10): Handle underflow here rather than multiplying
11637 large negative argument by M_LN10.
11638 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
11640 * math/e_exp10l.c: Include <float.h>.
11641 (__ieee754_exp10l): Handle underflow here rather than multiplying
11642 large negative argument by M_LN10l.
11643 * math/libm-test.inc (exp10_test): Add another test. Do not allow
11644 spurious overflow exception on underflow.
11646 2012-04-29 Marek Polacek <polacek@redhat.com>
11648 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
11649 (__fortify_function): New macro.
11650 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
11651 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
11652 __extern_always_inline.
11653 * libio/bits/stdio2.h: Likewise.
11654 * libio/bits/stdio.h: Likewise.
11655 * string/string.h: Likewise.
11656 * string/bits/string3.h: Likewise.
11657 * include/stdio.h: Likewise.
11658 * stdlib/bits/stdlib.h: Likewise.
11659 * stdlib/stdlib.h: Likewise.
11660 * rt/bits/mqueue2.h: Likewise.
11661 * rt/mqueue.h: Likewise.
11662 * posix/bits/unistd.h: Likewise.
11663 * posix/unistd.h: Likewise.
11664 * io/bits/poll2.h: Likewise.
11665 * io/bits/fcntl2.h: Likewise.
11666 * io/fcntl.h: Likewise.
11667 * io/sys/poll.h: Likewise.
11668 * misc/bits/syslog.h: Likewise.
11669 * misc/bits/syslog-ldbl.h: Likewise.
11670 * misc/sys/syslog.h: Likewise.
11671 * socket/bits/socket2.h: Likewise.
11672 * socket/sys/socket.h: Likewise.
11673 * debug/tst-chk1.c: Likewise.
11674 * wcsmbs/bits/wchar2.h: Likewise.
11675 * wcsmbs/bits/wchar-ldbl.h: Likewise.
11676 * wcsmbs/wchar.h: Likewise.
11678 2012-04-29 Andreas Jaeger <aj@suse.de>
11680 * Makerules (tests): Remove enable-check-abi protection.
11681 (check-abi-warn): Remove.
11682 (check-abi-%): Remove check-abi-warn usage.
11684 * configure.in: Remove check-abi configure option.
11685 * configure: Regenerated.
11686 * config.make.in (enable-check-abi): Remove.
11688 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
11691 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
11692 double functions to double *_finite functions.
11695 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
11696 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
11698 * stdio-common/Makefile (tests): Add tst-sprintf3.
11699 * stdio-common/tst-sprintf3.c: New file.
11701 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
11702 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
11704 2012-04-28 Joseph Myers <joseph@codesourcery.com>
11706 * conform/conformtest.pl: Remove duplicate typed-constant
11709 2012-04-28 David S. Miller <davem@davemloft.net>
11711 * Makerules (%.abilist): Add vpath on sysdep_dirs.
11712 (check-abi-%): Remove AWK script prerequisite and explicit
11714 (check-abi): Rewrite to just diff the symlist with the abilist.
11715 (config-tls, config-abi-config): Delete, no longer used.
11716 (update-abi-%): Remove AWK script and explicit abilist directory.
11717 (update-abi): Rewrite to simply compare and conditionally copy the
11718 symlist and the sysdep abilist file. Remove update-abi-config
11720 * abilist/ld.abilist: Remove.
11721 * abilist/libBrokenLocale.abilist: Remove.
11722 * abilist/libanl.abilist: Remove.
11723 * abilist/libcrypt.abilist: Remove.
11724 * abilist/libdl.abilist: Remove.
11725 * abilist/librt.abilist: Remove.
11726 * abilist/libthread_db.abilist: Remove.
11727 * abilist/libutil.abilist: Remove.
11728 * scripts/extract-abilist.awk: Remove.
11729 * scripts/merge-abilist.awk: Remove.
11730 * sysdeps/generic/libcidn.abilist: New file.
11731 * sysdeps/generic/libnss_compat.abilist: New file.
11732 * sysdeps/generic/libnss_db.abilist: New file.
11733 * sysdeps/generic/libnss_dns.abilist: New file.
11734 * sysdeps/generic/libnss_files.abilist: New file.
11735 * sysdeps/generic/libnss_hesiod.abilist: New file.
11736 * sysdeps/generic/libnss_nis.abilist: New file.
11737 * sysdeps/generic/libnss_nisplus.abilist: New file.
11738 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
11739 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
11740 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
11742 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
11743 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
11744 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
11745 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
11746 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
11747 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
11748 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
11749 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
11750 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
11752 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
11753 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
11754 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
11755 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
11757 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
11758 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
11759 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
11760 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
11761 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
11762 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
11764 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
11765 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
11766 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
11768 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
11769 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
11771 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
11773 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
11775 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
11777 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
11779 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
11781 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
11783 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
11785 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
11787 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
11789 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
11791 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
11793 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
11795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
11797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
11803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
11809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
11822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
11824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
11826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
11828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
11830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
11832 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
11834 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
11836 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11838 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
11840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
11842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
11844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
11846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
11847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
11849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
11851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
11853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
11855 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
11857 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
11859 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
11861 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11863 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
11865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
11867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
11869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
11871 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11872 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
11873 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
11875 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
11876 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
11877 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
11878 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
11879 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
11880 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
11881 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
11882 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
11883 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
11884 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
11885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
11886 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
11888 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11890 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
11892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
11894 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
11896 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
11898 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
11900 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11902 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11904 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
11906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11908 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
11910 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
11911 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
11913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11915 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
11917 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
11919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
11921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
11923 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
11925 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11927 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11929 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
11931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
11936 2012-04-28 Joseph Myers <joseph@codesourcery.com>
11938 * conform/conformtest.pl: Fix typo in handling typed-constant from
11941 2012-04-27 Joseph Myers <joseph@codesourcery.com>
11943 * README: Cut down references to pre-2.6 Linux kernels and
11944 Linuxthreads. Update lists of configurations in libc and ports
11945 and sort alphabetically. Say "or newer" with Linux kernel version
11948 * config.h.in [IS_IN_build]: Allow compiling without optimization.
11950 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11953 * math/libm-test.inc (logb_test_downward): New test to expose
11954 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
11957 2012-04-27 Joseph Myers <joseph@codesourcery.com>
11960 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
11962 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
11963 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
11965 2012-04-26 Joseph Myers <joseph@codesourcery.com>
11967 * sysdeps/unix/i386/brk.S: Remove file.
11968 * sysdeps/unix/i386/dl-brk.S: Likewise.
11969 * sysdeps/unix/i386/pipe.S: Likewise.
11970 * sysdeps/unix/i386/sigreturn.S: Likewise.
11971 * sysdeps/unix/i386/syscall.S: Likewise.
11972 * sysdeps/unix/i386/vfork.S: Likewise.
11973 * sysdeps/unix/i386/wait.S: Likewise.
11975 * sysdeps/unix/common/tcsendbrk.c: Move to ...
11976 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
11978 * configure.in (arm*-none*): Do not allow without
11979 --enable-hacker-mode.
11980 (netbsd*): Remove case setting base_os.
11981 (386bsd*): Likewise.
11982 (freebsd*): Likewise.
11985 (sunos*): Likewise.
11986 (ultrix*): Likewise.
11987 (newsos*): Likewise.
11988 (dynix*): Likewise.
11994 (minix*): Likewise.
11995 (irix4*): Likewise.
11996 (irix6*): Likewise.
11997 (solaris[2-9]*): Likewise.
11999 * configure: Regenerated.
12001 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12004 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
12005 overflow or cancellation in calculating denominator.
12006 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
12007 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
12008 down expression to avoid unexpected rounding in newer GCCs.
12009 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
12011 2012-04-26 David S. Miller <davem@davemloft.net>
12013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
12014 long-double compat symbols.
12015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
12017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
12018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
12019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
12020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
12021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
12022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
12023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
12024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
12026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
12027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
12029 2012-04-25 David S. Miller <davem@davemloft.net>
12031 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
12032 HWCAP_* values only after the memory barriers have been defined.
12033 (atomic_full_barrier): Define.
12034 (atomic_read_barrier): Define.
12035 (atomic_write_barrier): Define.
12037 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12039 * shlib-versions: Add libgcc_s version information.
12040 * sysdeps/generic/libgcc_s.h: Remove.
12041 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
12043 * sysdeps/gnu/unwind-resume.c: Likewise.
12044 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
12046 2012-04-25 David S. Miller <davem@davemloft.net>
12048 * sysdeps/unix/sparc/brk.S: Delete.
12049 * sysdeps/unix/sparc/dl-brk.S: Delete.
12050 * sysdeps/unix/sparc/pipe.S: Delete.
12051 * sysdeps/unix/sparc/sysdep.S: Delete.
12052 * sysdeps/unix/sparc/sysdep.h: Delete.
12053 * sysdeps/unix/sparc/vfork.S: Delete.
12054 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
12055 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
12056 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
12057 ret_ERRVAL, r0, r1, MOVE): Define.
12058 (JUMPTARGET): Remove.
12059 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
12060 sysdeps/unix/sparc/sysdep.h
12061 (ENTRY, END): Remove.
12062 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12064 2012-04-25 Joseph Myers <joseph@codesourcery.com>
12066 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
12067 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
12070 * timezone/README: Update upstream location and email address for
12072 * timezone/zdump.c: Update from tzcode 2012b.
12073 * timezone/zic.c: Likewise.
12075 * configure.in (libc_cv_as_needed): Remove test.
12076 * configure: Regenerated.
12077 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
12078 conditional definition.
12079 [$(have-as-needed) != yes] (no-as-needed): Likewise.
12080 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
12081 * config.make.in (have-as-needed): Remove variable.
12083 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12084 Paul Pluzhnikov <ppluzhnikov@google.com>
12086 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
12089 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12091 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
12092 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
12093 * sysdeps/sh/strlen.S: Likewise.
12095 2012-04-24 Joseph Myers <joseph@codesourcery.com>
12097 * sysdeps/unix/fork.S: Remove file.
12098 * sysdeps/unix/i386/fork.S: Likewise.
12099 * sysdeps/unix/sparc/fork.S: Likewise.
12101 * sysdeps/unix/system.c: Remove file.
12102 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
12104 * sysdeps/unix/getegid.S: Remove file.
12105 * sysdeps/unix/geteuid.S: Likewise.
12107 2012-04-24 Roland McGrath <roland@hack.frob.com>
12109 * scripts/check-localplt.awk: New file.
12110 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
12112 * scripts/data/localplt-generic.data: Add a comment.
12114 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
12115 NODE when __dir_mkfile failed.
12116 * sysdeps/mach/hurd/symlinkat.c: Likewise.
12117 Reported by Ludovic Courtès <ludo@gnu.org>.
12119 2012-04-24 Andreas Jaeger <aj@suse.de>
12121 * Makerules (common-clean): Also remove gen-as-const-headers
12124 2012-04-24 Joseph Myers <joseph@codesourcery.com>
12126 * Makerules (native-compile): Do not change working directory for
12127 build. Use $(OUTPUT_OPTION) in command.
12128 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
12130 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12133 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
12134 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
12135 * math/libm-test.inc (floor_test): Add more tests.
12136 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
12138 2012-04-24 Joseph Myers <joseph@codesourcery.com>
12140 * sysdeps/unix/getdents.c: Remove file.
12141 * sysdeps/unix/sysv/getdents.c: Likewise.
12142 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
12144 * sysdeps/unix/syscalls.list (madvise): Add syscall from
12145 sysdeps/unix/mman/syscalls.list.
12147 (mprotect): Likewise.
12149 (munmap): Likewise.
12150 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
12151 * sysdeps/unix/mman/syscalls.list: Remove.
12152 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
12154 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
12155 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
12156 * configure: Regenerated.
12157 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
12158 $(libgcc_s_suffix).
12159 * config.make.in (libgcc_s_suffix): Remove variable.
12161 2012-04-23 Joseph Myers <joseph@codesourcery.com>
12163 * sysdeps/unix/sysv/gethostname.c: Move to ...
12164 * sysdeps/posix/gethostname.c: ... here.
12166 * sysdeps/unix/execve.S: Remove file.
12168 * sysdeps/unix/_exit.S: Remove file.
12170 2012-04-23 Andreas Jaeger <aj@suse.de>
12173 * manual/Makefile: Remove make dist support, there's no
12174 need for a stand-alone documentation tar ball.
12175 (TEXI2DVI): Define always, it's not in Makeconfig.
12178 (edition): Removed.
12179 (glibc-doc-$(edition).tar): Removed
12183 (ETAGS): Remove, it's in Makeconfig.
12184 (move-if-change): Remove, it's in Makeconfig.
12186 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
12189 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
12190 (strtod, strtof, strtold, strtol, strtoul, strtoq)
12191 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
12192 (strtod_l, strtof_l, strtold_l): Remove __wur.
12193 It is not necessarily an error to ignore strtol's return value.
12194 One can reliably look at the stored endptr to decide whether
12195 the number had valid syntax.
12197 2012-04-21 Andreas Jaeger <aj@suse.de>
12200 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
12202 2012-04-21 Joseph Myers <joseph@codesourcery.com>
12204 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
12205 * sysdeps/unix/sysv/Versions: Remove file.
12207 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
12210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12212 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
12215 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
12216 version from __vm86.
12218 2012-04-20 Joseph Myers <joseph@codesourcery.com>
12220 * sysdeps/unix/common/lxstat.c: Remove file.
12221 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
12223 * sysdeps/unix/sysv/Makefile: Remove file.
12225 * sysdeps/unix/sysv/direct.h: Remove file.
12227 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
12228 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
12229 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
12230 * sysdeps/unix/sysv/bits/signum.h: Likewise.
12231 * sysdeps/unix/sysv/bits/stat.h: Likewise.
12232 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
12233 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
12235 * sysdeps/unix/sysv/setrlimit.c: Remove file.
12237 * sysdeps/unix/xmknod.c: Remove file.
12238 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
12240 * sysdeps/unix/sysv/settimeofday.c: Remove file.
12242 * sysdeps/unix/sysv/i386/time.S: Remove file.
12244 * sysdeps/unix/fxstat.c: Remove file.
12245 * sysdeps/unix/xstat.c: Likewise.
12246 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
12248 * sysdeps/unix/sysv/sigaction.c: Remove file.
12250 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
12251 (sysdep_headers): Remove variable.
12252 [termio.h not in sysdep_headers] (generated): Likewise.
12253 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
12254 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
12255 * sysdeps/unix/sysv/tcdrain.c: Likewise.
12256 * sysdeps/unix/sysv/tcflow.c: Likewise.
12257 * sysdeps/unix/sysv/tcflush.c: Likewise.
12258 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
12259 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
12260 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
12261 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
12262 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
12264 * sysdeps/unix/siglist.c: Remove file.
12266 * sysdeps/unix/getppid.S: Remove file.
12268 * sysdeps/unix/mkdir.c: Remove file.
12269 * sysdeps/unix/rmdir.c: Likewise.
12271 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
12273 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
12275 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
12276 errlist-compat value.
12278 2012-04-18 David S. Miller <davem@davemloft.net>
12280 * sysdeps/generic/memcopy.h (reg_char): Delete.
12281 * debug/strcat_chk.c: Use char, not reg_char.
12282 * debug/strcpy_chk.c: Likewise.
12283 * debug/strncat_chk.c: Likewise.
12284 * debug/strncpy_chk.c: Likewise.
12285 * string/memchr.c: Likewise.
12286 * string/memrchr.c: Likewise.
12287 * string/rawmemchr.c: Likewise.
12288 * string/strcat.c: Likewise.
12289 * string/strchr.c: Likewise.
12290 * string/strchrnul.c: Likewise.
12291 * string/strcmp.c: Likewise.
12292 * string/strcpy.c: Likewise.
12293 * string/strncat.c: Likewise.
12294 * string/strncmp.c: Likewise.
12295 * string/strncpy.c: Likewise.
12297 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12299 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
12300 __builtin_memcopy is called when src and dest ranges are known to not
12303 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12305 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
12306 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
12307 fwd_align_merge macro call.
12308 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
12309 bwd_align_merge macro call.
12310 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12312 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
12314 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
12315 bwd_align_merge macros.
12316 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
12317 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
12318 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12320 2012-04-18 David S. Miller <davem@davemloft.net>
12322 * sysdeps/sparc/sparc64/memcopy.h: Delete.
12324 2012-04-18 Andreas Jaeger <aj@suse.de>
12327 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
12328 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
12329 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12331 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
12332 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
12333 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12335 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
12336 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
12337 Adjust for changed ldbl-128 files.
12339 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
12340 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
12341 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
12343 2012-04-17 David S. Miller <davem@davemloft.net>
12345 * sysdeps/sparc/sparc32/memcopy.h: Delete.
12347 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
12349 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
12350 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
12351 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
12352 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
12353 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12354 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
12356 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12359 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
12360 * math/libm-test.inc: Add ilogb errno and exception tests.
12361 * math/w_ilogb.c: New file: ilogb wrapper.
12362 * math/w_ilogbf.c: New file: ilogbf wrapper.
12363 * math/w_ilogbl.c: New file: ilogbl wrapper.
12364 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
12365 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
12366 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
12367 exception being thrown with 0.0 as argument.
12368 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
12369 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
12370 exception being thrown with 0.0 as argument.
12371 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
12372 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12373 exception being thrown with 0.0 as argument.
12374 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
12375 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
12376 exception being thrown with 0.0 as argument.
12377 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
12378 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
12379 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
12380 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
12381 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
12382 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
12383 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
12384 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
12385 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
12387 2012-04-17 Petr Baudis <pasky@ucw.cz>
12389 * include/sys/uio.h: Change __vector to __iovec to avoid clash
12392 2012-04-16 Marek Polacek <polacek@redhat.com>
12394 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
12396 2012-04-16 Marek Polacek <polacek@redhat.com>
12398 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
12399 operands of fdivp instruction.
12401 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12403 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
12404 * elf/tst-auditmod3b.c: Likewise.
12405 * elf/tst-auditmod4b.c: Likewise.
12406 * elf/tst-auditmod5b.c: Likewise.
12407 * elf/tst-auditmod6b.c: Likewise.
12408 * elf/tst-auditmod6c.c: Likewise.
12409 * elf/tst-auditmod7b.c: Likewise.
12410 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
12411 * sysdeps/x86_64/preconfigure.in: Likewise.
12412 * sysdeps/x86_64/preconfigure: Regenerated.
12414 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
12416 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
12419 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
12421 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
12422 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
12424 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
12427 * locale/iso-639.def: Fix gl language name. Spotted by
12430 2012-04-12 Roland McGrath <roland@hack.frob.com>
12433 * libio/libio.h (__io_write_fn): Update comment.
12435 2012-04-12 Petr Baudis <pasky@ucw.cz>
12438 * stdio.texi (Hook Functions): The user provided writer function
12439 is not allowed to return -1.
12441 2012-04-11 David S. Miller <davem@davemloft.net>
12443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12445 2012-04-11 Mike Frysinger <vapier@gentoo.org>
12447 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
12448 Add a leading slash to rtkaio.
12450 2012-04-11 Jim Meyering <meyering@redhat.com>
12453 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
12454 It is not necessarily an error to ignore fwrite's return
12455 value. One can reliably use ferror to test for errors after
12458 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12460 * bits/types.h (__snseconds_t): New type.
12461 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
12463 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
12464 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12465 (__SNSECONDS_T_TYPE): Likewise.
12466 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12467 (__SNSECONDS_T_TYPE): Likewise.
12468 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12469 (__SNSECONDS_T_TYPE): Likewise.
12471 2012-04-10 Andreas Jaeger <aj@suse.de>
12474 * manual/time.texi (Processor Time): Return type of times is
12475 elapsed real time since an arbitrary point in the past.
12476 (CPU Time): Move CLK_TCK from here...
12477 (Processor Time): ...to here. Correct description.
12478 * manual/conf.texi (Constants for Sysconf): Correct description of
12481 2012-04-10 David S. Miller <davem@davemloft.net>
12484 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
12485 where the is a gap between DT_REL(A) and DT_JMPREL.
12487 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
12489 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
12490 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12491 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12493 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12495 * elf/dl-support.c (_dl_inhibit_cache): New variable.
12496 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
12497 (dl_main): Handle --inhibit-cache.
12498 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
12500 * elf/dl-load.c (_dl_map_object): Use it.
12501 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
12503 2012-04-09 Joseph Myers <joseph@codesourcery.com>
12506 * sysdeps/i386/fpu/e_powl.S (p78): New object.
12507 (__ieee754_powl): Saturate large exponents rather than testing for
12508 overflow of y*log2(x).
12509 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12510 * math/libm-test.inc (pow_test): Do not permit spurious overflow
12514 * math/s_ctan.c: Include <float.h>.
12515 (__ctan): Avoid internal overflow or cancellation in calculating
12517 * math/s_ctanf.c: Likewise.
12518 * math/s_ctanl.c: Likewise.
12519 * math/s_ctanh.c: Likewise.
12520 * math/s_ctanhf.c: Likewise.
12521 * math/s_ctanhl.c: Likewise.
12522 * math/libm-test.inc (ctan_test): Add more tests.
12523 (ctanh_test): Likewise.
12524 * sysdeps/i386/fpu/libm-test-ulps: Update.
12525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12527 2012-04-09 Andreas Jaeger <aj@suse.de>
12530 * manual/filesys.texi (Directory Entries): Mention that d_namlen
12531 is an optional BSD extension.
12534 * manual/stdio.texi (Opening Streams): Document additional fopen
12537 2012-04-09 Roland McGrath <roland@hack.frob.com>
12539 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
12540 %eax without telling the compiler.
12542 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
12545 * manual/install.texi: Use sourceware.org.
12547 2012-04-09 Joseph Myers <joseph@codesourcery.com>
12550 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
12551 (__ieee754_pow): Generate overflow and underflow using huge*huge
12552 and tiny*tiny rather than just returning constant infinity or zero
12553 for large exponents.
12554 * math/libm-test.inc (pow_test): Require overflow exceptions for
12555 applicable cases of large exponents.
12558 * sysdeps/i386/fpu/e_pow.S (p10): New object.
12559 (__ieee754_pow): Use iterative multiplication algorithm only for
12560 integer exponents with absolute value below 1024. Check for odd
12561 integer exponents when using algorithm for real exponents.
12562 * math/libm-test.inc (pow_test): Add more tests.
12563 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12565 2012-04-08 Joseph Myers <joseph@codesourcery.com>
12568 * math/libm-test.inc (exp_test): Do not allow overflow exception
12571 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
12574 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
12575 instead of __kernel_standard_f.
12577 2012-04-08 Mike Frysinger <vapier@gentoo.org>
12579 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
12580 * sysdeps/x86_64/memset_chk.S: Likewise.
12582 2012-04-08 Andreas Jaeger <aj@suse.de>
12585 * manual/startup.texi (Environment Access): Describe return value
12586 for putenv and setenv.
12589 * manual/filesys.texi (Directory Entries): Add description for
12593 * manual/filesys.texi (Directory Entries): Clarify that it's file
12594 system not operating system in the description of DT_UNKNOWN.
12597 * manual/syslog.texi (closelog): Fix reference, it's openlog.
12599 2012-04-08 Stephen Compall <s11@member.fsf.org>
12602 * manual/llio.texi (Opening and Closing Files): Add cross
12603 reference to explain mode argument.
12605 2012-04-07 Mike Frysinger <vapier@gentoo.org>
12607 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
12608 * sysdeps/x86_64/memset_chk.S: Likewise.
12610 2012-04-07 David S. Miller <davem@davemloft.net>
12612 * elf/elf.h (R_SPARC_WDISP10): Define.
12613 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
12615 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
12616 R_SPARC_SIZE64 and R_SPARC_H34.
12618 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
12620 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
12621 conditions and remove no longer applicable assertion.
12623 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12625 * bits/byteswap.h: Include <features.h>.
12626 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
12627 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
12629 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
12631 * bits/byteswap.h (__bswap_16): Removed.
12632 Include <bits/byteswap-16.h> to get __bswap_16.
12633 * sysdeps/i386/bits/byteswap.h: Likewise.
12634 * sysdeps/s390/bits/byteswap.h: Likewise.
12635 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12636 * bits/byteswap-16.h: New file.
12637 * sysdeps/i386/bits/byteswap-16.h: Likewise.
12638 * sysdeps/s390/bits/byteswap-16.h: Likewise.
12639 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
12640 * string/Makefile (headers): Add bits/byteswap-16.h.
12642 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12645 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
12647 * nss/Makefile (tests-static, tests): Add tst-nss-static.
12648 * nss/tst-nss-static.c: New.
12650 2012-04-06 Robert Millan <rmh@gnu.org>
12653 * manual/llio.texi (File Position Primitive): lseek
12654 refers to WHENCE when it really means OFFSET.
12656 2012-04-06 Andreas Jaeger <aj@suse.de>
12658 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
12659 strncmp declarations.
12661 * abilist/libc.abilist: Add __poll and __ppoll.
12663 2012-04-05 David S. Miller <davem@davemloft.net>
12665 * scripts/check-local-headers.sh: Accept a host triplet in the
12666 path matched by the exclude regexp.
12668 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
12670 * sysdeps/powerpc/powerpc32/dl-machine.h
12671 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
12672 * sysdeps/s390/s390-32/dl-machine.h
12673 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12674 * sysdeps/sparc/sparc32/dl-machine.h
12675 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12676 * sysdeps/sparc/sparc64/dl-machine.h
12677 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
12679 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
12681 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
12682 undefined symbol errors.
12684 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
12687 2012-04-05 Michael Matz <matz@suse.de>
12690 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
12692 2012-04-05 Andreas Jaeger <aj@suse.de>
12695 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
12698 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12700 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
12701 which ROUND is no valid rounding mode.
12703 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12705 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
12707 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
12709 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12711 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
12712 an exception using FPU order intentionally.
12714 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
12716 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
12717 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
12718 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
12719 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
12721 2012-04-05 Simon Josefsson <simon@josefsson.org>
12724 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
12725 EINVAL when BUFLEN is too smal.
12727 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
12730 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
12731 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
12733 2012-04-03 Andreas Jaeger <aj@suse.de>
12736 * manual/setjmp.texi (System V contexts): Fix sentence.
12739 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
12740 New macro for this case.
12741 [!__GNUC__] (__bswap_64): New inline function for this case.
12742 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12743 * bits/byteswap.h: Likewise.
12744 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
12745 ull, guard with __GLIBC_HAVE_LONG_LONG.
12747 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
12748 __GLIBC_HAVE_LONG_LONG.
12750 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
12751 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
12753 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12756 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
12757 inptr and inend, rather than using last_ch.
12759 2012-04-02 David S. Miller <davem@davemloft.net>
12761 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
12762 * stdio-common/printf-parse.h (read_int): Change return type to
12763 'int', return -1 on INT_MAX overflow.
12764 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
12765 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
12766 overflows INT_MAX. Check for overflow of in-format-string precision
12767 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
12768 SIZE_MAX not INT_MAX for integer overflow test.
12769 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12770 skip the construct in the format string but do not record anything.
12771 * stdio-common/bug22.c: Adjust to test both width/prevision
12772 INT_MAX overflow as well as total length INT_MAX overflow. Check
12773 explicitly for proper errno values.
12775 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
12777 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
12779 * string/test-strcmp.c [! WIDE]: Likewise.
12780 * time/tst-mktime2.c: Likewise for INT_MAX.
12781 * string/test-string.h: #include <sys/param.h> for MIN.
12783 * csu/init-first.c (__libc_init_first): Call __ctype_init.
12784 * sysdeps/i386/init-first.c (init): Likewise.
12785 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
12786 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
12787 * sysdeps/sh/init-first.c (init): Likewise.
12789 2012-04-01 Ulrich Drepper <drepper@gmail.com>
12791 * po/ru.po: Update from translation team.
12792 * po/vi.po: Likewise.
12794 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12796 * resolv/nss_dns/dns-host.c: Merge copyright years.
12798 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12800 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12801 Optimize memcpy with prefetch if
12802 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
12803 src, dst pointers have unequal 16 byte alignments.
12805 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12808 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
12809 from a CNAME entry and return the minimum ttl for the query.
12810 (gaih_getanswer_slice): Likewise.
12812 2012-03-30 Jeff Law <law@redhat.com>
12814 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
12816 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12817 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12819 * resolv/nss_dns/dns-host.c: Update copyright year.
12821 2012-03-30 Ulrich Drepper <drepper@gmail.com>
12823 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
12824 requests to save a system call. Fix check that all bytes are sent.
12826 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
12827 comments for sendmmsg.
12829 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12832 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
12833 with only 1 character between 0x0041 and 0x01b0.
12834 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
12835 * wcsmbs/tst-mbsnrtowcs.c: New file.
12837 2012-03-29 David S. Miller <davem@davemloft.net>
12839 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
12840 small copies by hand.
12842 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12845 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
12846 _nss_compat_initgroups_dyn): Fall back to malloc/free
12847 for large group memberships.
12849 2012-03-28 David S. Miller <davem@davemloft.net>
12851 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
12852 that branches into memcpy.
12853 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12854 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12855 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12856 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12857 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
12859 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
12860 implementation too.
12861 * sysdeps/sparc/mempcpy.S: New file.
12863 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
12864 the IFUNC routine in the libc case.
12865 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12867 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
12868 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
12869 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
12870 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
12871 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
12872 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
12873 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
12874 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
12876 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
12877 loop to 256 bytes instead of 64 bytes and fix test signedness.
12879 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
12880 * sysdeps/sparc/sparc32/Makefile: rather than here...
12881 * sysdeps/sparc/sparc64/Makefile: and here.
12883 2012-03-28 Ulrich Drepper <drepper@gmail.com>
12885 * malloc/mallocbug.c: Avoid warnings about unused variables.
12887 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12890 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
12891 in the right place. Discard and retry query if response is
12892 larger than input buffer size.
12894 2012-03-28 Joseph Myers <joseph@codesourcery.com>
12899 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
12900 x for large integer exponent.
12901 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12902 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
12903 sign of result as needed afterwards.
12904 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12905 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
12906 result for underflowing pow the same as for overflow.
12907 (__kernel_standard_l): Handle powl overflow and underflow here
12908 rather than calling __kernel_standard.
12909 * math/libm-test.inc (pow_test): Add more tests.
12924 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
12925 * sysdeps/ieee754/k_standard.c: Include <float.h>.
12926 (__kernel_standard_l): New function.
12927 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
12929 * math/w_acosl.c (__acosl): Likewise.
12930 * math/w_asinl.c (__asinl): Likewise.
12931 * math/w_atan2l.c (__atan2l): Likewise.
12932 * math/w_atanhl.c (__atanhl): Likewise.
12933 * math/w_coshl.c (__coshl): Likewise.
12934 * math/w_exp10l.c (__exp10l): Likewise.
12935 * math/w_exp2l.c (__exp2l): Likewise.
12936 * math/w_fmodl.c (__fmodl): Likewise.
12937 * math/w_hypotl.c (__hypotl): Likewise.
12938 * math/w_j0l.c (__j0l, __y0l): Likewise.
12939 * math/w_j1l.c (__j1l, __y1l): Likewise.
12940 * math/w_jnl.c (__jnl, __ynl): Likewise.
12941 * math/w_lgammal.c (__lgammal): Likewise.
12942 * math/w_log10l.c (__log10l): Likewise.
12943 * math/w_log2l.c (__log2l): Likewise.
12944 * math/w_logl.c (__logl): Likewise.
12945 * math/w_powl.c (__powl): Likewise.
12946 * math/w_remainderl.c (__remainderl): Likewise.
12947 * math/w_scalbl.c (sysv_scalbl): Likewise.
12948 * math/w_sinhl.c (__sinhl): Likewise.
12949 * math/w_sqrtl.c (__sqrtl): Likewise.
12950 * math/w_tgammal.c (__tgammal): Likewise.
12951 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
12952 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
12953 * math/libm-test.inc (acos_test): Add more tests.
12954 (acosh_test): Likewise.
12955 (asin_test): Likewise.
12956 (atanh_test): Likewise.
12957 (exp_test): Likewise.
12958 (exp10_test): Likewise.
12959 (exp2_test): Likewise.
12960 (expm1_test): Likewise.
12961 (lgamma_test): Likewise.
12962 (log_test): Likewise.
12963 (log10_test): Likewise.
12964 (log1p_test): Likewise.
12965 (log2_test): Likewise.
12966 (pow_test): Do not allow some spurious overflow exceptions.
12967 (sqrt_test): Add more tests.
12968 (tgamma_test): Likewise.
12969 (y0_test): Likewise.
12970 (y1_test): Likewise.
12971 (yn_test): Likewise.
12973 2012-03-27 Anton Blanchard <anton@samba.org>
12975 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
12977 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12978 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12979 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12981 2012-03-27 David S. Miller <davem@davemloft.net>
12983 * conform/Makefile: Run run-conformtest.sh using $(BASH).
12985 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
12986 have-as-vis3 check.
12988 2012-03-27 Andreas Jaeger <aj@suse.de>
12990 * sysdeps/x86_64/elf/configure.in: Moved to ...
12991 * sysdeps/x86_64/configure.in: ... here.
12992 * sysdeps/x86_64/elf/start.S: Moved to ...
12993 * sysdeps/x86_64/start.S: ... here.
12994 * sysdeps/x86_64/elf/configure: Delete.
12996 * sysdeps/x86_64/configure.in: Merge contents from
12997 sysdeps/i386/configure.in (without i686 check).
12999 * sysdeps/i386/elf/Versions: Merge into ...
13000 * sysdeps/i386/Versions: ... this.
13001 * sysdeps/i386/elf/Versions: Delete file.
13002 * sysdeps/i386/elf/start.S: Moved to ...
13003 * sysdeps/i386/start.S: ...here.
13004 * sysdeps/i386/elf/configure.in: Merge into...
13005 * sysdeps/i386/configure.in: ...here.
13006 * sysdeps/i386/elf/configure.in: Delete file.
13007 * sysdeps/i386/elf/configure: Delete file.
13009 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
13010 * debug/backtracesyms.c: ... here.
13011 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
13012 * debug/backtracesymsfd.c: ... here.
13013 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
13014 * sysdeps/generic/ifunc-sel.h: ... here.
13016 * sysdeps/unix/i386/start.c: Delete file.
13017 * sysdeps/unix/sparc/start.c: Delete file.
13018 * sysdeps/unix/start.c: Delete file.
13020 * sysdeps/sh/elf/configure.in: Moved to ...
13021 * sysdeps/sh/configure.in: ... here.
13022 * sysdeps/sh/elf/start.S: Moved to ...
13023 * sysdeps/sh/start.S: ... here.
13024 * sysdeps/sh/elf/configure: Delete file.
13026 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
13027 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
13028 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
13029 * sysdeps/powerpc/powerpc64/entry.h: ... here.
13030 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
13031 * sysdeps/powerpc/powerpc64/start.S: here.
13032 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
13033 * sysdeps/powerpc/powerpc64/Makefile: ... this.
13034 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
13035 * sysdeps/powerpc/powerpc64/configure.in: ... this.
13036 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
13038 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
13039 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
13040 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
13041 * sysdeps/powerpc/powerpc32/start.S: ... here.
13042 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
13043 * sysdeps/powerpc/powerpc32/configure.in: ... this.
13044 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
13046 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
13047 * sysdeps/powerpc/ifunc-sel.h: ... here.
13048 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
13049 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
13051 * sysdeps/sparc/elf/configure.in: Moved to ...
13052 * sysdeps/sparc/configure.in: ... here.
13053 * sysdeps/sparc/elf/configure: Delete file.
13054 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
13055 * sysdeps/sparc/sparc32/start.S: ... here.
13056 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
13057 * sysdeps/sparc/sparc64/start.S: ... here.
13058 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
13059 * sysdeps/sparc/sparc32/Makefile: ... this.
13060 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
13061 * sysdeps/sparc/sparc64/Makefile: ... this.
13063 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
13064 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
13065 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
13066 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
13067 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
13068 * sysdeps/s390/s390-32/setjmp.S: ... here.
13069 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
13070 * sysdeps/s390/s390-32/configure.in: ... here.
13071 * sysdeps/s390/s390-32/elf/configure: Delete file.
13072 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
13073 * sysdeps/s390/s390-32/start.S: ... here.
13075 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
13076 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
13077 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
13078 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
13079 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
13080 * sysdeps/s390/s390-64/setjmp.S: ... here.
13081 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
13082 * sysdeps/s390/s390-64/configure.in: ... here
13083 * sysdeps/s390/s390-64/elf/configure: Delete file.
13084 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
13085 * sysdeps/s390/s390-64/start.S: ... here.
13086 * sysdeps/s390/s390-64/elf/configure: Delete.
13088 * configure.in: Remove support for elf directories in sysdeps.
13090 * configure: Regenerated.
13091 * sysdeps/i386/configure: Regenerated.
13092 * sysdeps/powerpc/powerpc32/configure: Regenerated.
13093 * sysdeps/powerpc/powerpc64/configure: Regenerated.
13094 * sysdeps/s390/s390-32/configure: Regenerated.
13095 * sysdeps/s390/s390-64/configure: Regenerated.
13096 * sysdeps/sh/configure: Regenerated.
13097 * sysdeps/sparc/configure: Regenerated.
13098 * sysdeps/x86_64/configure: Regenerated.
13100 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
13102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13104 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
13105 denormal result into account.
13107 2012-03-25 Roland McGrath <roland@hack.frob.com>
13109 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
13110 Reported by Allan McRae <allan@archlinux.org>.
13112 2012-03-23 Jeff Law <law@redhat.com>
13114 * nss/getnssent.c (__nss_getent): Fix typo.
13116 2012-03-23 David S. Miller <davem@davemloft.net>
13118 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13120 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
13122 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
13123 to pad to uint64_t for each field.
13124 (dl_tls_index): Replace unsigned long with uint64_t.
13126 2012-03-23 Daniel Jacobowitz <dmj@google.com>
13127 Paul Pluzhnikov <ppluzhnikov@google.com>
13130 * grp/Makefile (otherlibs): Don't set it.
13131 * inet/Makefile (otherlibs): Likewise.
13132 * login/Makefile (otherlibs): Likewise.
13133 * nscd/Makefile (otherlibs): Likewise.
13134 * posix/Makefile (otherlibs): Likewise.
13135 * pwd/Makefile (otherlibs): Likewise.
13136 * rt/Makefile (otherlibs): Likewise.
13137 * sunrpc/Makefile (otherlibs): Likewise.
13138 * nss/Makefile (otherlibs): Likewise.
13139 Add libnss_files to routines and static-only-routines.
13140 ($(objpfx)getent): Remove rule.
13141 * resolv/Makefile: Add libnss_dns and libresolv to routines and
13142 static-only-routines.
13144 2012-03-22 Joseph Myers <joseph@codesourcery.com>
13147 * math/s_cexp.c: Include <float.h>.
13148 (__cexp): Handle exp result overflowing not necessarily
13149 overflowing both real and imaginary parts of result.
13150 * math/s_cexpf.c: Likewise.
13151 * math/s_cexpl.c: Likewise.
13152 * math/libm-test.inc (cexp_test): Add more tests.
13153 * sysdeps/i386/fpu/libm-test-ulps: Update.
13154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13156 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13158 * include/link.h (ELFW): New macro.
13159 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
13160 Replace ELF64_R_TYPE with ELFW(R_TYPE).
13162 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13164 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
13167 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13169 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
13171 (struct La_x32_retval): Likewise.
13173 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
13175 * sysdeps/x86_64/preconfigure.in: New file.
13176 * sysdeps/x86_64/preconfigure: New generated file.
13178 2012-03-22 Joseph Myers <joseph@codesourcery.com>
13181 * math/e_exp2l.c: Include <float.h>.
13182 (__ieee754_exp2l): Handle overflow and underflow cases
13183 separately. Only pass fractional part of argument to
13185 * math/libm-test.inc (exp2_test): Add more tests.
13187 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
13188 negating x to take absolute value.
13189 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13191 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13192 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13194 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
13195 computing low part if x was negated.
13196 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13198 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13200 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
13201 la_x32_gnu_pltexit.
13202 (pltexit): Cast int_retval to ptrdiff_t.
13203 * elf/tst-auditmod3b.c: Likewise.
13204 * elf/tst-auditmod4b.c: Likewise.
13205 * elf/tst-auditmod5b.c: Likewise.
13206 * elf/tst-auditmod6b.c: Likewise.
13207 * elf/tst-auditmod6c.c: Likewise.
13208 * elf/tst-auditmod7b.c: Likewise.
13210 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
13211 and x32_gnu_pltexit.
13213 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
13214 __ELF_NATIVE_CLASS.
13215 (La_x32_regs): New macro.
13216 (La_x32_retval): Likewise.
13217 (la_x32_gnu_pltenter): New function prototype.
13218 (la_x32_gnu_pltexit): Likewise.
13220 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
13222 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
13225 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13227 * configure.in (libc_cv_cc_nofma): Check for option to disable
13228 generation of FMA instructions.
13229 * configure: Regenerate.
13230 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
13231 * sysdeps/ieee754/dbl-64/Makefile: New file.
13232 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
13233 Remove brandred-fma4.
13234 (CFLAGS-brandred-fma4.c): Remove.
13235 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
13236 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
13238 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
13241 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13243 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13244 LLONG_MAX != LONG_MAX.
13245 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13246 (_fitoa_word): Likewise.
13247 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
13248 LLONG_MAX != LONG_MAX.
13249 * stdio-common/_itowa.h: Include <_itoa.h>.
13250 (_itowa_word): Use _ITOA_WORD_TYPE on value.
13251 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
13252 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
13253 only if not defined.
13254 (_ITOA_WORD_TYPE): Likewise.
13255 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13256 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
13258 2012-03-21 David S. Miller <davem@davemloft.net>
13260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13262 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
13264 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
13265 of x86_64 when setting libc_cv_slibdir, libdir and
13267 * sysdeps/unix/sysv/linux/configure: Regenerated.
13269 2012-03-21 Joseph Myers <joseph@codesourcery.com>
13271 * manual/lang.texi (Old Varargs): Remove section.
13272 (How Variadic): Update menu.
13273 (va_start): Do not mention varargs.h.
13275 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13276 Joseph Myers <joseph@codesourcery.com>
13278 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
13280 * configure: Regenerated.
13282 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
13284 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
13285 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
13288 2012-03-21 Joseph Myers <joseph@codesourcery.com>
13291 * Makefile (files-for-dist): Remove NOTES.
13292 (NOTES): Remove rule.
13293 * README: Don't refer to NOTES.
13294 * manual/creature.texi: Don't include macros.texi.
13295 * manual/intro.texi (creature.texi): Remove comment referring to
13298 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
13299 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
13300 * configure: Regenerated.
13301 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
13302 LIBC_TRY_CC_OPTION.
13303 (libc_cv_as_i686): Likewise.
13304 (libc_cv_cc_avx): Likewise.
13305 (libc_cv_cc_sse2avx): Likewise.
13306 (libc_cv_cc_fma4): Likewise.
13307 (libc_cv_cc_novzeroupper): Likewise.
13308 * sysdeps/i386/configure: Regenerated.
13311 * sysdeps/i386/fpu/s_cexp.S: Remove.
13312 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
13313 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
13314 * math/libm-test.inc (cexp_test): Add more tests.
13315 * sysdeps/i386/fpu/libm-test-ulps: Update.
13316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13318 2012-03-21 Allan McRae <allan@archlinux.org>
13320 * timezone/Makefile: Do not install iso3166.tab and zone.tab
13322 2012-03-21 Joseph Myers <joseph@codesourcery.com>
13325 * math/w_exp2.c: Do not include <float.h>.
13326 (o_threshold, u_threshold): Remove.
13327 (__exp2): Calculate result before checking finiteness and calling
13329 * math/w_exp2f.c: Likewise.
13330 * math/w_exp2l.c: Likewise.
13331 * math/libm-test.inc (exp2_test): Require overflow exception for
13335 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
13336 range of signed 64-bit integers before using fistpll. Remove
13337 checks for whether integers fit in mantissa bits.
13338 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
13339 the range of signed 32-bit integers before using fistpl. Remove
13340 checks for whether integers fit in mantissa bits.
13341 * sysdeps/i386/fpu/e_powl.S (p64): New object.
13342 (__ieee754_powl): Test for y outside the range of signed 64-bit
13343 integers before using fistpll. Reduce 64-bit values to 63-bit
13345 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
13346 divide-by-zero is raised for zero to large negative powers.
13347 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
13348 (__ieee754_powl): Test for y outside the range of signed 64-bit
13349 integers before using fistpll. Reduce 64-bit values to 63-bit
13351 * math/libm-test.inc (pow_test): Add more tests.
13353 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13355 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
13356 <stdio-common/_itoa.h>.
13357 * debug/segfault.c: Likewise.
13358 * elf/dl-cache.c: Likewise.
13359 * elf/dl-minimal.c: Likewise.
13360 * elf/dl-misc.c: Likewise.
13361 * elf/dl-sysdep.c: Likewise.
13362 * elf/dl-version.c: Likewise.
13363 * elf/rtld.c: Likewise.
13364 * hurd/hurdsock.c: Likewise.
13365 * hurd/lookup-retry.c: Likewise.
13366 * malloc/malloc.c: Likewise.
13367 * malloc/mtrace.c: Likewise.
13368 * nscd/nscd_getgr_r.c: Likewise.
13369 * nscd/nscd_getpw_r.c: Likewise.
13370 * nscd/nscd_getserv_r.c: Likewise.
13371 * posix/getopt_init.c: Likewise.
13372 * posix/wordexp.c: Likewise.
13373 * stdio-common/_itoa.c: Likewise.
13374 * stdio-common/printf_fphex.c: Likewise.
13375 * stdio-common/vfprintf.c: Likewise.
13376 * string/_strerror.c: Likewise.
13377 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
13378 * sysdeps/i386/i686/hp-timing.h: Likewise.
13379 * sysdeps/mach/_strerror.c: Likewise.
13380 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
13381 * sysdeps/mach/hurd/sethostid.c: Likewise.
13382 * sysdeps/mach/hurd/xmknodat.c: Likewise.
13383 * sysdeps/mach/xpg-strerror.c: Likewise.
13384 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13385 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13386 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
13387 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
13388 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13389 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
13390 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13391 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13392 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
13393 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
13394 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
13395 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
13396 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
13397 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13398 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13399 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
13400 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
13401 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
13402 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13403 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13404 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
13406 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
13408 * stdio-common/_itoa.h: Moved to ...
13409 * sysdeps/generic/_itoa.h: Here.
13411 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
13413 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
13414 instead of "_itoa.h" and "_itowa.h".
13415 * stdio-common/vfprintf.: Likewise.
13417 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13419 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
13421 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
13422 (__signbit): Likwise.
13423 (llrintf): Likwise.
13426 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
13428 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
13431 2012-03-20 Joseph Myers <joseph@codesourcery.com>
13433 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
13434 OVERFLOW_EXCEPTION_OK.
13435 * math/libm-test.inc ("Philosophy"): Update comment about
13437 (OVERFLOW_EXCEPTION): Define.
13438 (OVERFLOW_EXCEPTION_OK): Likewise.
13439 (INVALID_EXCEPTION_OK): Renumber.
13440 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13441 (IGNORE_ZERO_INF_SIGN): Likewise.
13442 (test_exceptions): Handle FE_OVERFLOW.
13443 (exp10_test): Expect overflow exceptions.
13444 (exp2_test): Likewise.
13445 (expm1_test): Likewise.
13446 (nextafter_test): Likewise.
13447 (pow_test): Likewise.
13448 (scalbn_test): Likewise.
13449 (scalbln_test): Likewise.
13451 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13453 * sysdeps/x86_64/bits/atomic.h
13454 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
13456 (atomic_exchange_acq): Likewise.
13457 (__arch_exchange_and_add_body): Likewise.
13458 (__arch_add_body): Likewise.
13459 (atomic_add_negative): Likewise.
13460 (atomic_add_zero): Likewise.
13462 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13464 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
13465 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
13467 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13469 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
13470 Check __x86_64__ instead of __WORDSIZE.
13472 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13474 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
13476 2012-03-19 David S. Miller <davem@davemloft.net>
13478 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13480 * sysdeps/sparc/fpu/fenv_private.h: New file.
13481 * sysdeps/sparc/fpu/math_private.h: Use it.
13482 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
13484 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
13485 (libc_feholdexcept_setroundl): Remove.
13486 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
13488 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
13489 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
13491 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13493 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
13494 int64_t instead of long int.
13495 (INSERT_WORDS64): Likwise.
13497 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
13499 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
13500 _Unwind_GetCFA return to _Unwind_Ptr first.
13502 2012-03-19 Joseph Myers <joseph@codesourcery.com>
13505 * math/s_clog.c: Include <float.h>.
13506 (__clog): Scale large or subnormal inputs.
13507 * math/s_clogf.c: Likewise.
13508 * math/s_clogl.c: Likewise.
13509 * math/s_clog10.c: Include <float.h>.
13510 (M_LOG10_2): Define.
13511 (__clog10): Scale large or subnormal inputs.
13512 * math/s_clog10f.c: Likewise.
13513 * math/s_clog10l.c: Likewise.
13514 * math/libm-test.inc (clog_test): Add more tests.
13515 (clog10_test): Likewise.
13516 * sysdeps/i386/fpu/libm-test-ulps: Update.
13517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13520 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
13522 * math/libm-test.inc (atan2_test): Add another test.
13524 * Makerules (common-objdir-compile): Remove.
13525 * sysdeps/unix/Makefile (config-generated): Do not add
13526 $(unix-generated) to variable.
13527 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
13528 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
13530 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
13532 [generic bits/local_lim.h] (before-compile): Do not append to
13534 [generic bits/local_lim.h] (common-generated): Likewise.
13535 [generic sys/param.h] (before-compile): Do not append to variable.
13536 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
13537 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
13538 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
13539 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
13541 [generic sys/param.h] (sys/param.h-includes): Remove variable.
13542 [generic sys/param.h] (sys/param.h-includes): Remove rule.
13543 [generic sys/param.h] ($(addprefix
13544 $(common-objpfx),$(sys/param.h-includes))): Likewise.
13545 [generic sys/param.h] (common-generated): Do not append to
13547 [generic sys/param.h] (sysdep_headers): Likewise.
13548 [generic bits/errno.h] (before-compile): Do not append to
13550 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
13552 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
13553 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
13554 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
13555 [generic bits/errno.h] (common-generated): Do not append to
13557 [generic bits/ioctls.h] (before-compile): Do not append to
13559 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
13561 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
13562 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
13563 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
13565 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
13566 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
13567 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
13568 [generic bits/ioctls.h] (common-generated): Do not append to
13570 [generic sys/syscall.h] (syscall.h): Remove variable.
13571 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
13573 [generic sys/syscall.h] (before-compile): Do not append to
13575 [generic sys/syscall.h] (common-generated): Likewise.
13576 * sysdeps/unix/errnos-tmpl.c: Remove file.
13577 * sysdeps/unix/errnos.awk: Likewise.
13578 * sysdeps/unix/ioctls-tmpl.c: Likewise.
13579 * sysdeps/unix/ioctls.awk: Likewise.
13580 * sysdeps/unix/mk-local_lim.c: Likewise.
13581 * sysdeps/unix/snarf-ioctls: Likewise.
13583 2012-03-19 Richard Henderson <rth@twiddle.net>
13585 * sysdeps/i386/fpu/fenv_private.h: New file.
13586 * sysdeps/i386/fpu/math_private.h: Use it.
13587 (math_opt_barrier, math_force_eval): Remove.
13588 (libc_feholdexcept_setround_53bit): Remove.
13589 (libc_feupdateenv_53bit): Remove.
13590 * sysdeps/x86_64/fpu/math_private.h: Likewise.
13591 (math_opt_barrier, math_force_eval): Remove.
13592 (libc_feholdexcept): Remove.
13593 (libc_feholdexcept_setround): Remove.
13594 (libc_fetestexcept, libc_fesetenv): Remove.
13595 (libc_feupdateenv_test): Remove.
13596 (libc_feupdateenv, libc_feholdsetround): Remove.
13597 (libc_feresetround): Remove.
13599 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
13600 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
13602 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
13603 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
13604 (libc_feupdateenv_testl): New.
13605 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
13606 (libc_feupdateenv_testf): New.
13607 (libc_feupdateenv): Use libc_feupdateenv_test.
13608 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
13609 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
13611 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
13612 (libc_feholdsetroundf, libc_feholdsetroundl): New.
13613 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
13614 (libc_feresetround_noex): New.
13615 (libc_feresetround_noexf): New.
13616 (libc_feresetround_noexl): New.
13617 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
13618 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
13619 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
13620 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
13622 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13623 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
13625 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
13626 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13627 SET_RESTORE_ROUND_NOEX.
13628 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
13629 SET_RESTORE_ROUND_NOEXF.
13630 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
13631 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
13632 (libc_feholdsetroundf): New.
13633 (libc_feresetround, libc_feresetroundf): New.
13635 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
13636 (libc_feholdexcept_setround_53bit): Convert from macro to function.
13637 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
13639 * sysdeps/generic/math_private.h: Include <fenv.h>.
13640 (default_libc_feholdexcept): New.
13641 (default_libc_feholdexcept_setround): New.
13642 (default_libc_fesetenv, default_libc_feupdateenv): New.
13643 (libc_feholdexcept): Only define if undefined.
13644 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
13645 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
13646 (libc_feholdexcept_setroundl): Likewise.
13647 (libc_feholdexcept_setround_53bit): Likewise.
13648 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
13649 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
13650 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
13651 (libc_feupdateenv_53bit): Likewise.
13652 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
13653 (libc_feholdexcept): Convert from macro to inline function.
13654 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
13655 (libc_fesetenv, libc_feupdateenv): Likewise.
13657 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
13658 not previously defined.
13659 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
13660 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
13661 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
13662 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
13663 * sysdeps/ieee754/flt-32/math_private.h: New file.
13664 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
13665 math_private.h below SET_FLOAT_WORD.
13666 (__isnan, __isinf_ns, __finite): Remove.
13667 (__isnanf, __isinf_nsf, __finitef): Remove.
13669 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
13671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13673 2012-03-17 David S. Miller <davem@davemloft.net>
13676 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
13679 2012-03-16 David S. Miller <davem@davemloft.net>
13681 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
13685 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
13687 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
13688 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
13689 sysdep_routines when subdir is sysvipc.
13690 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
13691 __getshmlba helper.
13693 * sysdeps/sparc/fpu/libm-test/ulps: Update.
13695 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13697 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
13700 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13702 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
13703 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
13704 (__lround): Renamed to ...
13705 (__llround): This. Replace long int with long long int.
13706 Define lround functions as aliases of llround functions.
13707 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
13709 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13711 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
13712 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
13713 adresses to uintptr_t. Replace "long int" and "unsigned long
13714 int" with "greg_t" on va_arg.
13716 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13718 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
13719 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
13721 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
13722 Move e_machine check before EI_CLASS check. Handle x32
13723 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
13724 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
13725 SKIP_EM_IA_64 and include
13726 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
13728 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
13729 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
13730 (add_system_dir): New macro.
13732 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
13733 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
13735 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13746 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
13748 * math/w_j0f.c (j0f): Likewise.
13750 * math/w_j0l.c (__j0l): Likewise.
13752 * math/w_j1.c (j1): Likewise.
13754 * math/w_j1f.c (j1f): Likewise.
13756 * math/w_j1l.c (__j1l): Likewise.
13758 * math/w_jn.c (jn): Likewise.
13760 * math/w_jnf.c (jnf): Likewise.
13762 * math/w_jnl.c (__jnl): Likewise.
13764 * math/libm-test.inc (j0_test): Add more tests.
13765 (j1_test): Likewise.
13766 (jn_test): Likewise. Add trailing semicolon to existing test.
13767 (y0_test): Likewise.
13768 (y1_test): Likewise.
13769 * sysdeps/i386/fpu/libm-test-ulps: Update.
13770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13774 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13775 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
13776 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
13777 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
13778 (__tanl): Set errno for infinite argument.
13779 * sysdeps/i386/fpu/mptan.c: Remove.
13780 * sysdeps/i386/fpu/s_tan.S: Likewise.
13781 * sysdeps/i386/fpu/s_tanl.S: Likewise.
13782 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
13783 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
13784 * math/libm-test.inc (tan_test): Add more tests and enable more
13785 tests for double and long double.
13786 * sysdeps/i386/fpu/libm-test-ulps: Update.
13787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13789 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13791 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
13792 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
13794 2012-03-16 Roland McGrath <roland@hack.frob.com>
13796 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
13797 * configure.in: Use it for both main tree and add-ons.
13798 * configure: Regenerated.
13800 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
13802 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
13804 2012-03-16 Joseph Myers <joseph@codesourcery.com>
13806 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
13810 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
13811 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
13812 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
13813 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
13814 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
13816 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
13817 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
13818 != 0 for prec == 2.
13819 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
13820 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
13821 * sysdeps/i386/fpu/s_cosl.S: Likewise.
13822 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
13823 * sysdeps/i386/fpu/s_sinl.S: Likewise.
13824 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
13825 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
13826 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
13827 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
13828 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
13829 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
13830 * math/libm-test.inc (cos_test): Add more tests and enable more
13831 tests for long double.
13832 (sin_test): Likewise.
13833 (sincos_test): Likewise.
13834 * sysdeps/i386/fpu/libm-test-ulps: Update.
13835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13837 2012-03-16 David S. Miller <davem@davemloft.net>
13839 * sysdeps/sparc/fpu/math_private.h: New file.
13841 2012-03-15 David S. Miller <davem@davemloft.net>
13843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
13845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
13846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
13848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
13849 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
13850 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
13851 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
13852 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
13853 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
13855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
13857 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
13858 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
13860 * sysdeps/sparc/sparc-ifunc.h: New file.
13861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
13863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
13866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
13868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
13869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
13870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
13873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
13874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
13875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
13876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
13877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
13879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
13881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
13882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
13883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
13884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
13885 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13886 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13887 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
13888 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
13889 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13890 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
13892 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
13893 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
13894 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
13895 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
13896 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
13897 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
13898 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
13899 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
13900 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
13901 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
13902 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
13903 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
13904 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
13906 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13908 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
13910 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13912 2012-03-15 Andreas Jaeger <aj@suse.de>
13915 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
13916 ieee754/flt-32 implementation for sin, cos and sincos.
13917 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
13918 * sysdeps/i386/fpu/s_cosf.S: Likewise.
13919 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
13920 * sysdeps/i386/fpu/s_sinf.S: Likewise.
13921 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
13922 ieee754/flt-32 implementation for tan.
13924 * math/libm-test.inc (cos_test): Enable some large input tests for
13926 (sin_test): Likewise.
13927 (sincos_test): Likewise.
13928 (tan_test): Add tests for large input.
13930 * sysdeps/i386/fpu/libm-test-ulps: Update.
13932 2012-03-15 Andreas Jaeger <aj@suse.de>
13935 * math/libm-test.inc (cos_test): Add more test cases.
13936 (sin_test): Likewise.
13937 (sincos_test): Likewise.
13939 2012-03-15 Andreas Jaeger <aj@suse.de>
13942 * math/libm-test.inc (cos_test): Add a test case for large input
13944 (sin_test): Likewise.
13945 (sincos_test): Likewise.
13947 2012-03-15 Andreas Jaeger <aj@suse.de>,
13948 Joseph Myers <joseph@codesourcery.com>
13951 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
13952 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
13953 * sysdeps/i386/fpu/branred.c: Likewise.
13954 * sysdeps/i386/fpu/dosincos.c: Likewise.
13955 * sysdeps/i386/fpu/mpa.c: Likewise.
13956 * sysdeps/i386/fpu/s_cos.S: Likewise.
13957 * sysdeps/i386/fpu/s_sin.S: Likewise.
13958 * sysdeps/i386/fpu/s_sincos.S: Likewise.
13959 * sysdeps/i386/fpu/sincos32.c: Likewise.
13961 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
13963 (libc_feupdateenv_53bit): Define.
13964 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
13966 (libc_feupdateenv_53bit): Define.
13968 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
13969 53 bit (without extend i386 double precision).
13971 * math/libm-test.inc (sincos_test): Add tests for large input.
13975 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13977 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
13979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13981 2012-03-15 David S. Miller <davem@davemloft.net>
13983 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
13984 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
13985 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
13986 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
13987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
13988 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
13989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
13990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
13991 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
13992 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
13993 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
13994 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
13995 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
13996 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
13997 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
13998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
14000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
14001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
14003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
14004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
14006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
14007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
14009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
14010 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
14011 fmin/fmax sysdep routines.
14012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
14014 2012-03-14 David S. Miller <davem@davemloft.net>
14016 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
14017 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
14018 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
14019 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
14020 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
14021 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
14022 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
14023 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
14024 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
14025 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
14026 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
14027 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
14028 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
14029 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
14030 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
14031 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
14032 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
14033 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
14034 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
14035 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
14036 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
14037 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
14038 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
14039 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
14040 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
14041 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
14042 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
14043 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
14044 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
14046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
14048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
14049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
14051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
14052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
14054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
14055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
14057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
14058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
14060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
14061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
14063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
14065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
14067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
14069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
14071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
14073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
14075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
14076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
14078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
14079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
14081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
14082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
14084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
14085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
14088 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
14091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14093 * sysdeps/sparc/configure.in: New file.
14094 * sysdeps/sparc/configure: Generate.
14095 * configure.in (libc_cv_sparc_as_vis3): Substitute.
14096 * configure: Regenerate.
14097 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
14098 * config.make.in (have-as-vis3): New.
14099 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
14100 available use -Av9d instead of -Av9a.
14101 * sysdeps/sparc/sparc64/Makefile: Likewise.
14102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
14103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
14105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
14107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
14109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
14111 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
14112 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
14113 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
14114 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
14115 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
14117 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
14118 fzeros/fnegs to load 0x80000000 into a float register instead of
14120 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
14122 2012-03-14 Joseph Myers <joseph@codesourcery.com>
14124 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14126 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
14127 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
14128 ($(inst_includedir)/bits/syscall.h): Remove rule.
14129 ($(objpfx)bits/syscall.d): Include instead of
14130 $(objpfx)syscall-list.d.
14131 (generated): Change syscall-list.h and syscall-list.d to
14132 bits/syscall.h and bits/syscall.d.
14134 2012-03-14 Roland McGrath <roland@hack.frob.com>
14137 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
14139 2012-03-14 Joseph Myers <joseph@codesourcery.com>
14142 * math/s_csqrt.c: Include <float.h>.
14143 (__csqrt): Scale large or subnormal inputs.
14144 * math/s_csqrtf.c: Likewise.
14145 * math/s_csqrtl.c: Likewise.
14146 * math/libm-test.inc (csqrt_test): Add more tests.
14147 * sysdeps/i386/fpu/libm-test-ulps: Update.
14148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14151 * math/libm-test.inc (hypot_test): Add more tests.
14153 2012-03-13 David S. Miller <davem@davemloft.net>
14156 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
14157 double-precision for the calculation instead of scaling.
14159 2012-03-13 Joseph Myers <joseph@codesourcery.com>
14161 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
14162 manipulate bits before adding and subtracting TWO52[sx].
14163 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
14164 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
14166 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
14168 2012-03-13 David S. Miller <davem@davemloft.net>
14170 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
14171 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
14172 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
14173 rtld-global-offsets.h
14174 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14176 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
14179 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
14181 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
14182 'err' in the ifdef scope in which it is actually used.
14184 * nss/nss_db/db-init.c: Include string.h
14186 2012-03-12 David S. Miller <davem@davemloft.net>
14188 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14189 masking out of the most significant byte of random value used.
14190 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14191 Fix coding style in previous change.
14193 * sysdeps/unix/sysv/linux/kernel-features.h
14194 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
14195 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
14197 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
14200 2012-03-11 David S. Miller <davem@davemloft.net>
14202 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14203 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
14204 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
14205 for 'resultvar' otherwise things get truncated on 64-bit.
14207 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14208 Fix masking out of the most significant byte of random value used.
14210 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14212 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
14214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14216 2012-03-09 David S. Miller <davem@davemloft.net>
14218 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
14219 variables with appropriate CPP guards.
14220 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
14221 frame pointer, not the stack pointer. Correct layout comments. Fix test
14222 on resulting framesize and the management of the outregs buffer for pltexit.
14223 Preserve floating point return values across _dl_call_pltexit call.
14224 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
14225 framesize and the management of the outregs buffer for pltexit.
14226 Preserve floating point return values across _dl_call_pltexit
14228 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
14229 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
14230 (print_exit): Fix format string for return register value.
14232 2012-03-10 Joseph Myers <joseph@codesourcery.com>
14234 * sunrpc/Makefile (others): Add rpcgen.
14235 ($(objpfx)rpcgen): Remove special build rule and dependency on
14237 * sunrpc/rpcgen.c: New file.
14239 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
14242 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
14243 * stdio-common/bug-vfprintf-nargs.c: Likewise.
14244 * sysdeps/i386/crti.S: Likewise.
14245 * sysdeps/i386/crtn.S: Likewise.
14246 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
14247 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
14248 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
14249 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
14250 * sysdeps/sh/crti.S: Likewise.
14251 * sysdeps/sh/crtn.S: Likewise.
14252 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14255 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
14257 * locale/programs/locfile-kw.gperf: Likewise.
14258 * locale/programs/charmap-kw.h: Regenerated.
14259 * locale/programs/locfile-kw.h: Likewise.
14262 * intl/plural.y: Replace FSF snail mail address with URL.
14263 * intl/plural.c: Regenerated.
14265 2012-03-09 Richard Henderson <rth@twiddle.net>
14267 * include/math_private.h: Remove file.
14268 * math/math_private.h: Move file ...
14269 * sysdeps/generic/math_private.h: ... here.
14271 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
14272 * sysdeps/powerpc/fpu/math_private.h: Likewise.
14273 * sysdeps/x86_64/fpu/math_private.h: Likewise.
14275 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
14276 and <math_private.h>.
14277 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
14278 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
14279 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14280 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14281 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14282 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
14283 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
14284 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
14285 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
14286 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14287 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14288 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14289 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14290 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14291 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
14292 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14293 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14294 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14295 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14296 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14297 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
14298 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
14299 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
14300 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14301 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
14302 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
14303 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14304 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14305 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
14306 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14307 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14308 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14309 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
14310 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
14311 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
14312 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14313 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14314 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
14315 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
14316 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
14317 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
14318 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
14319 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
14320 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
14321 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
14322 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
14323 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14324 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
14325 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14326 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
14327 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14328 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
14329 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
14330 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14331 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
14332 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
14333 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
14334 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14335 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
14336 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
14337 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14338 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14339 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14340 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14341 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
14342 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
14343 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
14344 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
14345 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
14346 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
14347 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
14348 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
14349 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
14350 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
14351 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
14352 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
14353 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
14354 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
14355 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
14356 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
14357 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
14358 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14359 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
14360 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
14361 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
14362 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14363 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
14364 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
14365 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
14366 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
14367 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14368 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
14369 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14370 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14371 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
14372 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
14373 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14374 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14375 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14376 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14377 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
14378 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
14379 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
14380 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
14381 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
14382 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
14383 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14384 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
14385 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14386 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14387 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14388 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14389 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14390 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14391 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
14392 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
14393 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14394 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
14395 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14396 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14397 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14398 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
14399 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
14400 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
14401 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14402 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
14403 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
14404 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
14405 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
14406 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14407 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
14408 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14409 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14410 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14411 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
14412 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
14413 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14414 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14415 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
14416 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
14417 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
14418 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
14419 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
14420 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
14421 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
14422 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
14423 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
14424 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14425 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
14426 * sysdeps/ieee754/k_standard.c: Likewise.
14427 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
14428 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14429 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14430 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14431 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14432 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14433 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14434 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14435 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14436 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14437 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14438 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14439 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14440 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14441 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14442 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14443 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14444 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14445 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14446 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14447 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14448 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14449 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14450 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14451 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14452 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14453 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14454 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14455 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14456 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14457 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14458 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14459 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14460 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14461 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14462 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14463 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
14464 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
14465 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14466 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14467 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14468 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14469 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14470 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14471 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14472 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14473 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14474 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14475 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14476 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14477 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14478 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14479 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14480 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14481 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14482 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14483 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
14484 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14485 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14486 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14487 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14488 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14489 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
14490 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
14491 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
14492 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14493 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
14494 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14495 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
14496 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
14497 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14498 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14499 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
14500 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
14501 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
14502 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14503 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
14504 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
14505 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14506 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14507 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14508 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14509 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14510 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14511 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14512 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14513 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
14514 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14515 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14516 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14517 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
14518 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
14519 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14520 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
14521 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14522 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
14523 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
14524 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14525 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14526 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
14527 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
14528 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14529 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14530 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14531 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
14532 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
14533 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14534 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14535 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
14536 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
14537 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14538 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
14539 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
14540 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14541 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
14542 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14543 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
14544 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14545 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14546 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14547 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14548 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
14549 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14550 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14551 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14552 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
14553 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14554 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
14555 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
14556 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14557 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14558 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14559 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14560 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14561 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
14562 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
14563 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
14564 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14565 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14566 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
14567 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
14568 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14569 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
14570 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
14571 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
14572 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14573 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14574 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14575 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14576 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
14577 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14578 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
14579 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14580 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14581 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
14582 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
14583 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
14584 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14585 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
14586 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14587 * sysdeps/ieee754/s_lib_version.c: Likewise.
14588 * sysdeps/ieee754/s_matherr.c: Likewise.
14589 * sysdeps/ieee754/s_signgam.c: Likewise.
14590 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14591 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14592 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
14593 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
14594 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
14595 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
14596 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
14597 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
14598 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
14599 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
14600 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14601 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
14602 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
14603 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
14604 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
14605 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
14606 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
14607 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
14608 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
14609 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14610 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14612 2012-03-09 Joseph Myers <joseph@codesourcery.com>
14614 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
14615 * sunrpc/rpc_main.c: Likewise.
14616 * sunrpc/rpc_svcout.c: Likewise.
14618 2012-03-09 David S. Miller <davem@davemloft.net>
14620 * include/math_private.h: New file.
14622 2012-03-09 Joseph Myers <joseph@codesourcery.com>
14624 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
14625 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
14626 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
14627 from <bits/socket_type.h>.
14628 (enum __socket_type): Don't define here.
14629 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
14630 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14631 bits/socket_type.h.
14634 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
14635 checking __USE_GNU.
14637 * Makerules ($(inst_includedir)/%.h): New rule.
14638 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
14639 (install-others): Remove variable setting.
14640 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
14642 2012-03-08 Richard Henderson <rth@twiddle.net>
14644 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
14645 from macro to inline function; merge with the
14646 !__LIBC_INTERNAL_MATH_INLINES version.
14647 (__ieee754_sqrtf): Likewise.
14649 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
14650 to inline function.
14651 (__rintf, __floor, __floorf): Likewise.
14653 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
14654 macro to inline function.
14655 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
14657 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
14658 not <math/math_private.h>.
14660 2012-03-08 David S. Miller <davem@davemloft.net>
14662 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
14664 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14666 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
14668 * resolv/gai_misc.c (handle_requests): Fix struct timespec
14670 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
14671 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
14673 2012-03-08 Ulrich Drepper <drepper@gmail.com>
14675 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
14676 be defined individually, they must be defined as a block. Define
14677 S for printing a string instead of hidint the different by using a
14678 macro for adding the 'l'.
14679 * stdio-common/tst-fphex-wide.c: Adjust.
14681 2012-03-07 Marek Polacek <polacek@redhat.com>
14683 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
14685 2012-03-08 Marek Polacek <polacek@redhat.com>
14688 * stdio-common/Makefile (tests): Add tst-fphex-wide.
14689 * stdio-common/tst-fphex.c: Define a few macros to make the
14690 test reusable. Use them.
14691 * stdio-common/tst-fphex-wide.c: New file.
14693 2012-03-08 Joseph Myers <joseph@codesourcery.com>
14696 * manual/macros.texi (gnusystems): New macro.
14697 (nongnusystems): Likewise.
14698 (gnulinuxhurdsystems): Likewise.
14699 (gnuhurdsystems): Likewise..
14700 (gnulinuxsystems): Likewise.
14701 * manual/charset.texi: Use new macros or @theglibc{} to refer to
14702 variants of the GNU system, not "GNU system".
14703 * manual/conf.texi: Likewise.
14704 * manual/errno.texi: Likewise. Update example of errno macro
14706 * manual/filesys.texi: Likewise.
14707 (getumask): Document as specific to GNU/Hurd.
14708 * manual/install.texi: Likewise. Reword some references to
14710 * manual/intro.texi: Likewise.
14711 * manual/io.texi: Likewise.
14712 (File Name Portability): Detail which constraints are inapplicable
14713 to all GNU systems and which are only inapplicable to GNU/Hurd.
14714 * manual/job.texi: Likewise.
14715 * manual/llio.texi: Likewise.
14716 (O_NOCTTY): Document as present on GNU/Linux.
14717 * manual/maint.texi: Likewise.
14718 * manual/memory.texi: Likewise.
14719 * manual/pattern.texi: Likewise.
14720 * manual/pipe.texi: Likewise.
14721 * manual/process.texi: Likewise.
14722 * manual/resource.texi: Likewise.
14723 (RUSAGE_CHILDREN): Remove statement about specifying a particular
14725 * manual/setjmp.texi: Likewise.
14726 * manual/signal.texi: Likewise.
14727 * manual/startup.texi: Likewise.
14728 * manual/stdio.texi: Likewise.
14729 * manual/terminal.texi: Likewise.
14730 (ONLCR): Document as POSIX.
14731 (OXTABS): Document availability on GNU/Linux as XTABS.
14732 (ONOEOT): Document availability separately from other bits.
14733 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
14734 * manual/time.texi: Likewise.
14735 * manual/users.texi: Likewise.
14736 * INSTALL: Regenerated.
14737 * sysdeps/gnu/errlist.c: Regenerated.
14739 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
14740 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
14741 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
14743 * configure: Regenerated.
14745 2012-03-07 Joseph Myers <joseph@codesourcery.com>
14747 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
14748 default includes instead of AC_HEADER_CHECK.
14749 * sysdeps/i386/configure: Regenerated.
14752 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
14753 * math/s_cacoshf.c (__cacoshf): Likewise.
14754 * math/s_cacoshl.c (__cacoshl): Likewise.
14755 * math/s_casinh.c (__casinh): Set signs of result from argument.
14756 * math/s_casinhf.c (__casinhf): Likewise.
14757 * math/s_casinhl.c (__casinhl): Likewise.
14758 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
14759 (casinh_test): Add more tests.
14760 * sysdeps/i386/fpu/libm-test-ulps: Update.
14761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14763 2012-03-07 Ulrich Drepper <drepper@gmail.com>
14765 * po/zh_TW.po: Update from translation team.
14767 * login/Makefile (distribute): Remove variable.
14768 * catgets/Makefile: Likewise.
14769 * mach/Makefile: Likewise.
14770 * malloc/Makefile: Likewise.
14771 * misc/Makefile: Likewise.
14772 * iconv/Makefile: Likewise.
14773 * nscd/Makefile: Likewise.
14774 * hurd/Makefile: Likewise.
14775 * manual/Makefile: Likewise.
14776 * locale/Makefile: Likewise.
14777 * intl/Makefile: Likewise.
14778 * conform/Makefile: Likewise.
14779 * nss/Makefile: Likewise.
14780 * time/Makefile: Likewise.
14781 * soft-fp/Makefile: Likewise.
14782 * dirent/Makefile: Likewise.
14783 * gmon/Makefile: Likewise.
14784 * po/Makefile: Likewise.
14785 * rt/Makefile: Likewise.
14786 * socket/Makefile: Likewise.
14787 * math/Makefile: Likewise.
14788 * signal/Makefile: Likewise.
14789 * debug/Makefile: Likewise.
14790 * elf/Makefile: Likewise.
14791 * timezone/Makefile: Likewise.
14792 * stdlib/Makefile: Likewise.
14793 * iconvdata/Makefile: Likewise.
14794 * sunrpc/Makefile: Likewise.
14795 * io/Makefile: Likewise.
14796 * argp/Makefile: Likewise.
14797 * inet/Makefile: Likewise.
14798 * hesiod/Makefile: Likewise.
14799 * grp/Makefile: Likewise.
14800 * csu/Makefile: Likewise.
14801 * wctype/Makefile: Likewise.
14802 * crypt/Makefile: Likewise.
14803 * libio/Makefile: Likewise.
14804 * string/Makefile: Likewise.
14805 * nis/Makefile: Likewise.
14806 * resolv/Makefile: Likewise.
14807 * stdio-common/Makefile: Likewise.
14808 * wcsmbs/Makefile: Likewise.
14809 * dlfcn/Makefile: Likewise.
14810 * posix/Makefile: Likewise.
14813 * timezone/Makefile: Don't install timezone files, just the programs
14816 2012-03-06 Ulrich Drepper <drepper@gmail.com>
14818 * nss/databases.def: Add missing gshadow entry.
14820 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
14822 2012-03-06 Marek Polacek <polacek@redhat.com>
14825 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
14826 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14827 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
14828 * stdio-common/tst-long-dbl-fphex.c: New file.
14830 2012-03-06 David S. Miller <davem@davemloft.net>
14832 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14833 (set_obp_int): New function.
14834 (get_obp_int): New function.
14835 (__get_clockfreq_via_dev_openprom): Likewise.
14836 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
14837 Avoid unused variable warnings on 'val' and use builtin_expect.
14838 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
14840 (INLINE_CLONE_SYSCALL): Likewise.
14842 2012-03-05 David S. Miller <davem@davemloft.net>
14844 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14846 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
14848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14850 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
14851 only for |x| >= 40.
14852 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14854 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
14856 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
14857 Replace gettimeofday with __vdso_gettimeofday.
14859 * sysdeps/unix/sysv/linux/x86_64/init-first.c
14860 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
14861 __vdso_clock_gettime and __vdso_getcpu.
14863 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
14864 time with __vdso_time.
14866 2012-03-05 Joseph Myers <joseph@codesourcery.com>
14868 * manual/lang.texi (size_t): Note types to which size_t may be
14869 equivalent with the GNU C Library, but do not describe when
14870 differences between them are significant.
14872 2012-03-05 Andreas Jaeger <aj@suse.de>
14874 * sysdeps/i386/fpu/libm-test-ulps: Update.
14876 2012-03-05 Joseph Myers <joseph@codesourcery.com>
14879 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
14880 (__ieee754_pow): Save and restore rounding mode and use
14881 round-to-nearest for main computations.
14882 * math/libm-test.inc (pow_test_tonearest): New function.
14883 (pow_test_towardzero): Likewise.
14884 (pow_test_downward): Likewise.
14885 (pow_test_upward): Likewise.
14886 (main): Call the new functions.
14887 * sysdeps/i386/fpu/libm-test-ulps: Update.
14888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14891 * math/libm-test.inc (cosh_test_tonearest): New function.
14892 (cosh_test_towardzero): Likewise.
14893 (cosh_test_downward): Likewise.
14894 (cosh_test_upward): Likewise.
14895 (sinh_test_tonearest): Likewise.
14896 (sinh_test_towardzero): Likewise.
14897 (sinh_test_downward): Likewise.
14898 (sinh_test_upward): Likewise.
14899 (main): Call the new functions.
14900 * sysdeps/i386/fpu/libm-test-ulps: Update.
14901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14903 2012-03-05 Tom de Vries <tom@codesourcery.com>
14905 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
14906 default stack guard is set in last bytes.
14907 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
14909 2012-03-05 Kees Cook <keescook@chromium.org>
14911 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
14914 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
14915 possibly allocate from heap instead of stack.
14916 * stdio-common/bug-vfprintf-nargs.c: New file.
14917 * stdio-common/Makefile (tests): Add nargs overflow test.
14919 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
14921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14923 2012-03-03 Marek Polacek <polacek@redhat.com>
14925 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
14926 * math/math_private.h: Likewise.
14927 * stdlib/tst-strtod.c: Likewise.
14928 * sysdeps/i386/i486/bits/atomic.h: Likewise.
14929 * sysdeps/x86_64/bits/atomic.h: Likewise.
14931 2012-03-02 David S. Miller <davem@davemloft.net>
14933 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
14934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
14935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
14936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
14937 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
14938 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
14939 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
14940 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
14942 2012-03-02 Roland McGrath <roland@hack.frob.com>
14945 * manual/examples/README: New file, says the example source files
14946 can be used under GPL>=2.
14947 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
14948 line containing just "*/".
14949 * manual/examples/add.c: Add copyright header (GPL>=2).
14950 * manual/examples/argp-ex1.c: Likewise.
14951 * manual/examples/argp-ex2.c: Likewise.
14952 * manual/examples/argp-ex3.c: Likewise.
14953 * manual/examples/argp-ex4.c: Likewise.
14954 * manual/examples/atexit.c: Likewise.
14955 * manual/examples/db.c: Likewise.
14956 * manual/examples/dir.c: Likewise.
14957 * manual/examples/dir2.c: Likewise.
14958 * manual/examples/execinfo.c: Likewise.
14959 * manual/examples/filecli.c: Likewise.
14960 * manual/examples/filesrv.c: Likewise.
14961 * manual/examples/fmtmsgexpl.c: Likewise.
14962 * manual/examples/genpass.c: Likewise.
14963 * manual/examples/inetcli.c: Likewise.
14964 * manual/examples/inetsrv.c: Likewise.
14965 * manual/examples/isockad.c: Likewise.
14966 * manual/examples/longopt.c: Likewise.
14967 * manual/examples/memopen.c: Likewise.
14968 * manual/examples/memstrm.c: Likewise.
14969 * manual/examples/mkfsock.c: Likewise.
14970 * manual/examples/mkisock.c: Likewise.
14971 * manual/examples/mygetpass.c: Likewise.
14972 * manual/examples/pipe.c: Likewise.
14973 * manual/examples/popen.c: Likewise.
14974 * manual/examples/rprintf.c: Likewise.
14975 * manual/examples/search.c: Likewise.
14976 * manual/examples/select.c: Likewise.
14977 * manual/examples/setjmp.c: Likewise.
14978 * manual/examples/sigh1.c: Likewise.
14979 * manual/examples/sigusr.c: Likewise.
14980 * manual/examples/stpcpy.c: Likewise.
14981 * manual/examples/strdupa.c: Likewise.
14982 * manual/examples/strftim.c: Likewise.
14983 * manual/examples/strncat.c: Likewise.
14984 * manual/examples/subopt.c: Likewise.
14985 * manual/examples/swapcontext.c: Likewise.
14986 * manual/examples/termios.c: Likewise.
14987 * manual/examples/testopt.c: Likewise.
14988 * manual/examples/testpass.c: Likewise.
14989 * manual/examples/timeval_subtract.c: Likewise.
14992 * manual/time.texi (Elapsed Time): Move timeval_subtract example
14994 * manual/timeval_subtract.c.texi: ... here, new file.
14996 2012-03-02 David S. Miller <davem@davemloft.net>
14998 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
15000 2012-03-02 Joseph Myers <joseph@codesourcery.com>
15003 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
15004 (__sin): Save and restore rounding mode and use round-to-nearest
15005 for all computations.
15006 (__cos): Save and restore rounding mode and use round-to-nearest
15007 for all computations.
15008 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
15010 (tan): Save and restore rounding mode and use round-to-nearest for
15012 * math/libm-test.inc (cos_test_tonearest): New function.
15013 (cos_test_towardzero): Likewise.
15014 (cos_test_downward): Likewise.
15015 (cos_test_upward): Likewise.
15016 (sin_test_tonearest): Likewise.
15017 (sin_test_towardzero): Likewise.
15018 (sin_test_downward): Likewise.
15019 (sin_test_upward): Likewise.
15020 (tan_test_tonearest): Likewise.
15021 (tan_test_towardzero): Likewise.
15022 (tan_test_downward): Likewise.
15023 (tan_test_upward): Likewise.
15024 (main): Call the new functions.
15025 * sysdeps/i386/fpu/libm-test-ulps: Update.
15026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15029 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
15030 small n, then large n, before computing and testing k+n.
15031 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15032 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
15034 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
15036 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
15037 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
15038 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
15039 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
15040 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
15041 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
15042 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
15043 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
15044 * math/libm-test.inc (scalbn_test): Add more tests.
15045 (scalbln_test): Likewise.
15047 * manual/filesys.texi (mode_t): Describe constraints on size and
15048 signedness, not exact equivalence to a particular type.
15050 (ino64_t): Likewise.
15052 (nlink_t): Likewise.
15053 (blkcnt_t): Likewise.
15054 (blkcnt64_t): Likewise.
15055 * manual/llio.texi (off_t): Likewise.
15058 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
15059 (__ieee754_exp): Save and restore rounding mode and use
15060 round-to-nearest for all computations.
15061 * math/libm-test.inc (exp_test_tonearest): New function.
15062 (exp_test_towardzero): Likewise.
15063 (exp_test_downward): Likewise.
15064 (exp_test_upward): Likewise.
15065 (main): Call the new functions.
15066 * sysdeps/i386/fpu/libm-test-ulps: Update.
15067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15069 2012-03-01 Chris Demetriou <cgd@google.com>
15071 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
15072 have predictable order.
15074 2012-03-01 David S. Miller <davem@davemloft.net>
15076 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
15078 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
15079 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
15080 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
15081 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
15083 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
15084 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
15085 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
15086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
15087 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
15088 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
15089 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
15090 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
15091 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
15093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15095 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
15096 * sysdeps/sparc/fpu/libm-test-ulps: to here.
15097 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
15099 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
15100 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
15101 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15102 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
15103 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
15104 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
15105 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
15106 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
15107 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15108 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
15109 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
15110 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15111 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15112 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15113 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15114 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15115 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
15116 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
15117 * sysdeps/sparc/elf/configure: Regenerated.
15119 2012-03-01 Joseph Myers <joseph@codesourcery.com>
15121 * configure.in (AS, LD): Require binutils 2.20 or later.
15122 * configure: Regenerated.
15123 * manual/install.texi (Tools for Compilation): Give binutils 2.20
15124 as required minimum version.
15125 * INSTALL: Regenerated.
15129 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
15130 before squaring exponent.
15131 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
15132 bottom long double and 27 bits of top long double before squaring
15134 * math/libm-test.inc (erfc_test): Add more tests.
15135 * sysdeps/i386/fpu/libm-test-ulps: Update.
15136 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15139 2012-03-01 Kai Tietz <ktietz@redhat.com>
15141 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
15142 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
15143 containing bit-fields.
15144 * soft-fp/extended.h (_FP_UNION_E): Likewise.
15145 * soft-fp/single.h (_FP_UNION_S): Likewise.
15146 * soft-fp/double.h (_FP_UNION_D): Likewise.
15148 2012-02-29 Joseph Myers <joseph@codesourcery.com>
15151 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
15152 not include ../strcmp.S.
15153 [USE_AS_STRNCASECMP_L]: Likewise.
15154 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
15155 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
15156 * sysdeps/i386/i686/multiarch/strncase_l-c.c
15157 (__strncasecmp_l_ia32): Define as alias to
15158 __strncasecmp_l_nonascii.
15161 * math/libm-test.inc (expm1_test): Add test for bug 5794.
15162 * sysdeps/i386/fpu/libm-test-ulps: Update.
15163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15165 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
15166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15168 2012-02-29 Jeff Law <law@redhat.com>
15170 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
15171 out of bounds read.
15173 2012-02-29 Marek Polacek <polacek@redhat.com>
15176 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
15177 * elf/Makefile: Add rules to run tst-unused-dep.out.
15179 2012-02-28 David S. Miller <davem@davemloft.net>
15181 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
15182 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
15183 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
15184 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
15185 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
15186 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
15188 2012-02-29 Joseph Myers <joseph@codesourcery.com>
15190 * math/libm-test.inc (llround_test): Move one test from
15191 lround_test. Use TEST_f_L in moved test.
15192 (lround_test): Move misplaced test to llround_test. Add testcase
15195 2012-02-28 Ulrich Drepper <drepper@gmail.com>
15197 * sysdeps/x86_64/fpu/e_expf.S: New file.
15198 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
15200 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
15203 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
15204 of remain_len that may cause incomplete multi-byte character and
15206 * posix/bug-regex33.c: New file.
15207 * posix/Makefile (tests): Add bug-regex33.
15209 2012-02-28 Joseph Myers <joseph@codesourcery.com>
15211 * manual/macros.texi: New file.
15212 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
15213 * manual/libc.texinfo: Include macros.texi.
15214 * manual/creatute.texi: Likewise.
15215 * manual/install.texi: Likewise.
15216 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
15217 @glibcadj{} in references to the GNU C Library.
15218 * manual/charset.texi: Likewise.
15219 * manual/conf.texi: Likewise.
15220 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
15221 when not using those macros.
15222 * manual/creature.texi: Likewise.
15223 * manual/crypt.texi: Likewise.
15224 * manual/errno.texi: Likewise.
15225 * manual/filesys.texi: Likewise.
15226 * manual/header.texi: Likewise.
15227 * manual/install.texi: Likewise.
15228 * manual/intro.texi: Likewise.
15229 * manual/io.texi: Likewise.
15230 * manual/job.texi: Likewise.
15231 * manual/lang.texi: Likewise.
15232 * manual/libc.texiinfo: Likewise.
15233 * manual/llio.texi: Likewise.
15234 * manual/locale.texi: Likewise.
15235 * manual/maint.texi: Likewise.
15236 * manual/math.texi: Likewise.
15237 * manual/memory.texi: Likewise.
15238 * manual/message.texi: Likewise.
15239 * manual/nss.texi: Likewise.
15240 * manual/pattern.texi: Likewise.
15241 * manual/process.texi: Likewise.
15242 * manual/resource.texi: Likewise.
15243 * manual/search.texi: Likewise.
15244 * manual/setjmp.texi: Likewise.
15245 * manual/signal.texi: Likewise.
15246 * manual/socket.texi: Likewise.
15247 * manual/startup.texi: Likewise.
15248 * manual/stdio.texi: Likewise.
15249 * manual/string.texi: Likewise.
15250 * manual/sysinfo.texi: Likewise.
15251 * manual/syslog.texi: Likewise.
15252 * manual/terminal.texi: Likewise.
15253 * manual/time.texi: Likewise.
15254 * manual/users.texi: Likewise.
15255 * INSTALL: Regenerated.
15256 * NOTES: Regenerated.
15257 * sysdeps/gnu/errlist.c: Regenerated.
15259 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
15261 * include/dirent.h: Include <dirstream.h> before
15264 2012-02-28 David S. Miller <davem@davemloft.net>
15266 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
15267 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
15268 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
15269 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
15271 2012-02-27 David S. Miller <davem@davemloft.net>
15273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
15274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
15275 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
15276 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
15278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
15279 frame pointer instead of stack pointer relative arg slot.
15280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15281 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15282 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15284 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
15287 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
15289 2012-02-27 David S. Miller <davem@davemloft.net>
15291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
15292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
15295 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15296 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15297 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
15298 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
15300 2012-02-27 Joseph Myers <joseph@codesourcery.com>
15302 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
15303 later. Allow versions 5-9.
15304 * configure: Regenerated.
15305 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
15306 required minimum version and 4.6 as recommended version. Do not
15307 mention bugs in GCC 2.7 and 2.8.
15308 * INSTALL: Regenerated.
15310 2012-02-27 David S. Miller <davem@davemloft.net>
15312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
15313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
15314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
15315 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
15316 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
15317 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
15318 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
15319 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
15321 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
15322 manipulate bits before adding and subtracting TWO112[sx].
15323 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
15325 2012-02-27 Roland McGrath <roland@hack.frob.com>
15328 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
15329 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
15330 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
15331 being in POSIX, because they are in 1003.1-2008.
15333 * rt/tst-aio.c: Include <fcntl.h>.
15334 * rt/tst-aio7.c: Likewise.
15335 * rt/tst-aio64.c: Likewise.
15337 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
15339 2012-02-27 Joseph Myers <joseph@codesourcery.com>
15341 * manual/install.texi (--with-headers): Describe headers as
15342 interface headers, not private headers.
15343 (Specific advice for GNU/Linux systems): Describe use of headers
15344 from "make headers_install", not private headers from older
15346 * INSTALL: Regenerated.
15347 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
15349 * sysdeps/unix/sysv/linux/configure: Regenerated.
15351 * manual/llio.texi (fclean): Remove documentation.
15353 * manual/Makefile (libc-texi-generated): New variable. Include
15355 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
15356 $(libc-texi-generated), not duplicated list of files.
15357 (version.texi, stamp-version): New rules.
15358 (realclean): Remove $(libc-texi-generated), not individual files
15359 from that list. Do not remove dir-add.texinfo.
15360 * manual/libc.texinfo: Comment out uses of edition numbers and
15361 references to printed manual. Remove last-updated dates.
15362 (EDITION): Comment out.
15364 (VERSION, UPDATED): Remove.
15365 (version.texi): Include.
15367 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
15369 * sysdeps/posix/spawni.c: Include <signal.h>.
15370 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
15371 * sysdeps/pthread/aio_fsync.c: Likewise.
15373 2012-02-26 Ulrich Drepper <drepper@gmail.com>
15375 * conform/Makefile (tests): Run only when not cross-compiling and
15376 when fast-check is not defined.
15378 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
15379 * conform/data/limits.h-data: Fixes for POSIX2008.
15380 * conform/run-conformtest.sh: Run all tests.
15381 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
15383 * include/bits/dlfcn.h: Likewise.
15384 * include/langinfo.h: Likewise.
15385 * include/monetary.h: Likewise.
15386 * include/sys/poll.h: Likewise.
15388 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
15390 * posix/spawn.h: Define __need_sigset_t.
15391 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
15392 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
15393 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
15394 to get sigevent_t only.
15395 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
15396 only for __USE_GNU.
15397 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15398 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
15399 process_vm_writev only for __USE_GNU.
15400 * termios/termios.h: Declare tcgetsid also for POSIX2008.
15402 * conform/Makefile: For now ignore errors from run-conformtest.
15403 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
15404 POSIX to avoid namespace pollution. Don't prepend headers.
15405 * conform/data/aio.h-data: Fixes for POSIX testing.
15406 * conform/data/fcntl.h-data: Likewise.
15407 * conform/data/glob.h-data: Likewise.
15408 * conform/data/grp.h-data: Likewise.
15409 * conform/data/pthread.h-data: Likewise.
15410 * conform/data/pwd.h-data: Likewise.
15411 * conform/data/signal.h-data: Likewise.
15412 * conform/data/spawn.h-data: Likewise.
15413 * conform/data/stdio.h-data: Likewise.
15414 * conform/data/stdlib.h-data: Likewise.
15415 * conform/data/stropts.h-data: Likewise.
15416 * conform/data/sys/mman.h-data: Likewise.
15417 * conform/data/sys/stat.h-data: Likewise.
15418 * conform/data/sys/types.h-data: Likewise.
15419 * conform/data/sys/wait.h-data: Likewise.
15420 * conform/data/time.h-data: Likewise.
15421 * conform/data/unistd.h-data: Likewise.
15422 * conform/data/utime.h-data: Likewise.
15424 * io/sys/stat.h: fchmod was always in POSIX.
15425 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
15426 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
15427 * rt/aio.h: Define __need_timespec before including <time.h>.
15428 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
15429 struct. Add forward declaration of pthread_attr_t and use it in
15431 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15432 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15433 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
15434 always remove CLK_TCK definition.
15436 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
15438 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
15440 2012-02-25 Ulrich Drepper <drepper@gmail.com>
15442 * conform/run-conformtest.sh: New file.
15443 * conform/Makefile: Run run-conformtest for tests.
15444 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
15447 * conform/data/uchar.h-data: New file.
15448 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
15449 * conform/data/arpa/inet.h-data: Likewise.
15450 * conform/data/assert.h-data: Likewise.
15451 * conform/data/complex.h-data: Likewise.
15452 * conform/data/cpio.h-data: Likewise.
15453 * conform/data/ctype.h-data: Likewise.
15454 * conform/data/dirent.h-data: Likewise.
15455 * conform/data/dlfcn.h-data: Likewise.
15456 * conform/data/errno.h-data: Likewise.
15457 * conform/data/fcntl.h-data: Likewise.
15458 * conform/data/float.h-data: Likewise.
15459 * conform/data/fmtmsg.h-data: Likewise.
15460 * conform/data/fnmatch.h-data: Likewise.
15461 * conform/data/ftw.h-data: Likewise.
15462 * conform/data/glob.h-data: Likewise.
15463 * conform/data/grp.h-data: Likewise.
15464 * conform/data/iconv.h-data: Likewise.
15465 * conform/data/inttypes.h-data: Likewise.
15466 * conform/data/langinfo.h-data: Likewise.
15467 * conform/data/libgen.h-data: Likewise.
15468 * conform/data/limits.h-data: Likewise.
15469 * conform/data/locale.h-data: Likewise.
15470 * conform/data/math.h-data: Likewise.
15471 * conform/data/monetary.h-data: Likewise.
15472 * conform/data/mqueue.h-data: Likewise.
15473 * conform/data/ndbm.h-data: Likewise.
15474 * conform/data/net/if.h-data: Likewise.
15475 * conform/data/netdb.h-data: Likewise.
15476 * conform/data/netinet/in.h-data: Likewise.
15477 * conform/data/nl_types.h-data: Likewise.
15478 * conform/data/poll.h-data: Likewise.
15479 * conform/data/pthread.h-data: Likewise.
15480 * conform/data/pwd.h-data: Likewise.
15481 * conform/data/regex.h-data: Likewise.
15482 * conform/data/sched.h-data: Likewise.
15483 * conform/data/search.h-data: Likewise.
15484 * conform/data/semaphore.h-data: Likewise.
15485 * conform/data/setjmp.h-data: Likewise.
15486 * conform/data/signal.h-data: Likewise.
15487 * conform/data/spawn.h-data: Likewise.
15488 * conform/data/stdarg.h-data: Likewise.
15489 * conform/data/stdio.h-data: Likewise.
15490 * conform/data/stdlib.h-data: Likewise.
15491 * conform/data/string.h-data: Likewise.
15492 * conform/data/strings.h-data: Likewise.
15493 * conform/data/stropts.h-data: Likewise.
15494 * conform/data/sys/ipc.h-data: Likewise.
15495 * conform/data/sys/mman.h-data: Likewise.
15496 * conform/data/sys/msg.h-data: Likewise.
15497 * conform/data/sys/resource.h-data: Likewise.
15498 * conform/data/sys/select.h-data: Likewise.
15499 * conform/data/sys/sem.h-data: Likewise.
15500 * conform/data/sys/shm.h-data: Likewise.
15501 * conform/data/sys/socket.h-data: Likewise.
15502 * conform/data/sys/stat.h-data: Likewise.
15503 * conform/data/sys/statvfs.h-data: Likewise.
15504 * conform/data/sys/time.h-data: Likewise.
15505 * conform/data/sys/timeb.h-data: Likewise.
15506 * conform/data/sys/times.h-data: Likewise.
15507 * conform/data/sys/types.h-data: Likewise.
15508 * conform/data/sys/uio.h-data: Likewise.
15509 * conform/data/sys/un.h-data: Likewise.
15510 * conform/data/sys/utsname.h-data: Likewise.
15511 * conform/data/sys/wait.h-data: Likewise.
15512 * conform/data/syslog.h-data: Likewise.
15513 * conform/data/tar.h-data: Likewise.
15514 * conform/data/termios.h-data: Likewise.
15515 * conform/data/utime.h-data: Likewise.
15516 * conform/data/utmpx.h-data: Likewise.
15517 * conform/data/varargs.h-data: Likewise.
15518 * conform/data/wchar.h-data: Likewise.
15519 * conform/data/wctype.h-data: Likewise.
15520 * conform/data/wordexp.h-data: Likewise.
15522 * include/stropts.h: New file.
15523 * include/uchar.h: New file.
15524 * include/aio.h: Changes to allow conformtest.pl to use the headers.
15525 * include/assert.h: Likewise.
15526 * include/ctype.h: Likewise.
15527 * include/dirent.h: Likewise.
15528 * include/dlfcn.h: Likewise.
15529 * include/fcntl.h: Likewise.
15530 * include/fnmatch.h: Likewise.
15531 * include/glob.h: Likewise.
15532 * include/grp.h: Likewise.
15533 * include/libio.h: Likewise.
15534 * include/locale.h: Likewise.
15535 * include/math.h: Likewise.
15536 * include/net/if.h: Likewise.
15537 * include/netdb.h: Likewise.
15538 * include/netinet/in.h: Likewise.
15539 * include/pthread.h: Likewise.
15540 * include/pwd.h: Likewise.
15541 * include/regex.h: Likewise.
15542 * include/sched.h: Likewise.
15543 * include/search.h: Likewise.
15544 * include/setjmp.h: Likewise.
15545 * include/signal.h: Likewise.
15546 * include/stdio.h: Likewise.
15547 * include/stdlib.h: Likewise.
15548 * include/string.h: Likewise.
15549 * include/sys/cdefs.h: Likewise.
15550 * include/sys/mman.h: Likewise.
15551 * include/sys/msg.h: Likewise.
15552 * include/sys/resource.h: Likewise.
15553 * include/sys/select.h: Likewise.
15554 * include/sys/socket.h: Likewise.
15555 * include/sys/stat.h: Likewise.
15556 * include/sys/statvfs.h: Likewise.
15557 * include/sys/time.h: Likewise.
15558 * include/sys/times.h: Likewise.
15559 * include/sys/uio.h: Likewise.
15560 * include/sys/utsname.h: Likewise.
15561 * include/sys/wait.h: Likewise.
15562 * include/termios.h: Likewise.
15563 * include/time.h: Likewise.
15564 * include/ulimit.h: Likewise.
15565 * include/unistd.h: Likewise.
15566 * include/utime.h: Likewise.
15567 * include/wchar.h: Likewise.
15568 * include/wctype.h: Likewise.
15569 * include/wordexp.h: Likewise.
15571 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
15573 * time/time.h: TIME_UTC must be a macro.
15574 Make timespec_get available for ISO C11 only as well.
15576 2012-02-24 Ulrich Drepper <drepper@gmail.com>
15578 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
15579 Reported by Peng Haitao <penght@cn.fujitsu.com>.
15581 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15583 * configure.in: Use -o not -a in test for unsupported multi-arch.
15585 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15587 * manual/texinfo.tex: Update to version 2012-01-19.16.
15589 2012-02-24 Joseph Myers <joseph@codesourcery.com>
15591 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
15593 2012-02-24 Roland McGrath <roland@hack.frob.com>
15596 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
15597 * manual/fdl-1.3.texi: New file.
15598 * manual/fdl-1.1.texi: File removed.
15601 * manual/libc.texinfo (FDL_VERSION): New @set.
15602 Use it for mention of FDL in cover text.
15603 (Documentation License): Use it in @include file name.
15605 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15606 Roland McGrath <roland@hack.frob.com>
15609 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
15610 not LONG_LONG_MAX and LONG_LONG_MIN.
15611 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
15612 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
15614 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
15616 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15620 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
15621 manipulate bits before adding and subtracting TWO23[sx].
15622 * math/libm-test.inc (nearbyint_test): Add more tests.
15624 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15627 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
15628 bits before adding and subtracting TWO23[sx].
15629 * math/libm-test.inc (rint_test): Add more tests.
15630 (rint_test_tonearest): Likewise.
15631 (rint_test_towardzero): Likewise.
15632 (rint_test_downward): Likewise.
15633 (rint_test_upward: Likewise.
15635 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15638 * include/stdc-predef.h: New file. Extracted from features.h.
15639 * include/features.h: Include stdc-predef.h.
15640 * Makefile (headers): Add stdc-predef.h.
15641 * CONFORMANCE (Compiler limitations): Update.
15643 2012-02-22 Joseph Myers <joseph@codesourcery.com>
15645 * manual/libc.texinfo (VERSION, UPDATED): Revert.
15647 2012-02-21 David S. Miller <davem@davemloft.net>
15649 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
15650 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15652 2012-02-20 David S. Miller <davem@davemloft.net>
15654 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
15655 using a normal save/restore sequence, rather than allocating a
15656 dummy stack frame just to store a frame pointer and restore.
15657 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15659 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15661 * manual/install.texi: Fix stray word in line-wrapped comment.
15663 2012-02-20 David S. Miller <davem@davemloft.net>
15665 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
15666 both binutils and gcc support GOTDATA.
15668 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
15669 "rd %pc" in the PIC register setup sequences.
15671 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
15672 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15673 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
15674 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15675 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
15676 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
15677 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15678 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
15679 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
15680 (SYSCALL_ERROR_HANDLER): Likewise.
15681 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
15682 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
15683 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
15684 (SYSCALL_ERROR_HANDLER): Likewise.
15686 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
15687 (HAVE_GCC_GOTDATA): New.
15688 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
15689 relocation support in both binutils and gcc.
15690 * sysdeps/sparc/elf/configure: Regenerate.
15692 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
15693 * sysdeps/sparc/sparc32/elf/configure: Delete.
15694 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
15695 * sysdeps/sparc/sparc64/elf/configure: Delete.
15696 * sysdeps/sparc/elf/configure.in: New file.
15697 * sysdeps/sparc/elf/configure: Generate.
15699 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
15700 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
15701 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
15702 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
15703 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
15705 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15707 * manual/install.texi: Do not mention specific glibc version
15709 * manual/libc.texinfo (VERSION, UPDATED): Update.
15710 (@copying): Use @copyright{} and range of years.
15712 2012-02-21 Joseph Myers <joseph@codesourcery.com>
15715 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
15716 [crti.S not in sysdirs] (generated): Do not append.
15717 [crti.S not in sysdirs] (omit-deps): Likewise.
15718 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
15719 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
15720 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
15721 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
15722 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
15724 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
15725 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
15726 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
15727 * csu/defs.awk: Remove file.
15728 * sysdeps/generic/initfini.c: Likewise.
15729 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
15731 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
15734 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15736 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
15737 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
15738 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
15739 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
15740 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
15741 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
15743 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
15744 (__EPOLL_PACKED): Define to empty if not defined by
15746 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
15747 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15750 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15752 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
15753 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
15754 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
15755 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
15757 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
15758 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15761 2012-02-20 Joseph Myers <joseph@codesourcery.com>
15763 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
15765 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15766 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15767 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
15768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15770 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
15772 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
15773 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
15775 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
15777 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
15778 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
15780 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
15782 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
15785 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
15787 * math/w_acos.c: Use non-signaling floating-point comparisons.
15788 * math/w_acosf.c: Likewise.
15789 * math/w_acosh.c: Likewise.
15790 * math/w_acoshf.c: Likewise.
15791 * math/w_acoshl.c: Likewise.
15792 * math/w_acosl.c: Likewise.
15793 * math/w_asin.c: Likewise.
15794 * math/w_asinf.c: Likewise.
15795 * math/w_asinl.c: Likewise.
15796 * math/w_atanh.c: Likewise.
15797 * math/w_atanhf.c: Likewise.
15798 * math/w_atanhl.c: Likewise.
15799 * math/w_exp2.c: Likewise.
15800 * math/w_exp2f.c: Likewise.
15801 * math/w_exp2l.c: Likewise.
15802 * math/w_j0.c: Likewise.
15803 * math/w_j0f.c: Likewise.
15804 * math/w_j0l.c: Likewise.
15805 * math/w_j1.c: Likewise.
15806 * math/w_j1f.c: Likewise.
15807 * math/w_j1l.c: Likewise.
15808 * math/w_jn.c: Likewise.
15809 * math/w_jnf.c: Likewise.
15810 * math/w_log.c: Likewise.
15811 * math/w_log10.c: Likewise.
15812 * math/w_log10f.c: Likewise.
15813 * math/w_log10l.c: Likewise.
15814 * math/w_log2.c: Likewise.
15815 * math/w_log2f.c: Likewise.
15816 * math/w_log2l.c: Likewise.
15817 * math/w_logf.c: Likewise.
15818 * math/w_logl.c: Likewise.
15819 * math/w_sqrt.c: Likewise.
15820 * math/w_sqrtf.c: Likewise.
15821 * math/w_sqrtl.c: Likewise.
15822 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
15823 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15824 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
15825 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15826 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15828 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15831 * manual/string.texi (strnlen): Use correct parameter name in
15832 equivalent expression.
15834 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15837 * manual/users.texi (seteuid): Consistently use neweuid for
15840 2012-02-19 Joseph Myers <joseph@codesourcery.com>
15843 * manual/nss.texi (Services in the NSS configuration): Correct
15844 list of services in example configuration file.
15846 2012-02-19 Nick Bowler <nbowler@draconx.ca>
15849 * manual/arith.texi: Remove statements about negative zero
15850 behaving identically to zero.
15852 2012-02-18 Joseph Myers <joseph@codesourcery.com>
15855 * manual/install.texi: Do not document upgrading from libc5.
15857 2012-02-18 Joseph Myers <joseph@codesourcery.com>
15860 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
15862 2012-02-18 David S. Miller <davem@davemloft.net>
15864 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
15865 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
15866 %o7 across the call.
15867 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
15869 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
15870 SETUP_PIC_REG_LEAF.
15871 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15872 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
15873 * sysdeps/sparc/crtn.S: Likewise.
15875 2012-02-17 Ulrich Drepper <drepper@gmail.com>
15877 * aout/Makefile: Remove.
15879 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
15882 * manual/examples/argp-ex1.c (main): Format definition in GNU
15884 * manual/examples/argp-ex2.c (main): Likewise.
15885 * manual/examples/argp-ex3.c (main): Likewise.
15886 * manual/examples/argp-ex4.c (main): Likewise.
15887 * manual/examples/longopt.c (main): Use new-style prototype
15889 * manual/examples/strncat.c (main): Specify return type and use
15890 (void) for arguments.
15891 * manual/examples/subopt.c (main): Use char **argv argument.
15893 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15896 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
15899 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
15902 * manual/string.texi (strchr): Change when strchrnul is
15905 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
15908 * manual/locale.texi (setlocale): Document LOCPATH.
15910 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15913 * manual/process.texi (execle): Move @dots{} before last argument.
15915 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
15918 * manual/charset.texi (Generic Charset Conversion): Fix typo
15919 (LC_TYPE -> LC_CTYPE).
15921 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
15924 * manual/arith.texi (scalbn): Use @var{} on parameter names.
15925 (scalbnf): Likewise.
15926 (scalbnl): Likewise.
15927 (scalbln): Likewise.
15928 (scalblnf): Likewise.
15929 (scalblnl): Likewise.
15930 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
15931 (vwarnx): Likewise.
15934 * manual/filesys.texi (telldir): Use braces around return type.
15935 * manual/llio.texi (mmap): Add space after comma.
15936 (mmap64): Likewise.
15937 * manual/math.texi (jn): Use @var{} on parameter names.
15943 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
15945 * manual/resource.texi (ulimit): Use @dots{} instead of literal
15947 (sched_get_priority_min): Remove semicolon on @deftypefun line.
15948 (sched_get_priority_max): Likewise.
15949 * manual/signal.texi (sigvec): Add space after comma.
15950 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
15952 (if_indextoname): Likewise.
15953 (if_freenameindex): Likewise.
15954 (sendto): Use ',' instead of '.' in prototype.
15955 * manual/startup.texi (syscall): Use @dots{} instead of literal
15957 * manual/stdio.texi (__fpending): Separate initial words of
15958 paragraph from @deftypefun line.
15959 * manual/syslog.texi (syslog): Use @dots{} instead of literal
15961 (vsyslog): Use @var{} on parameter names.
15962 * manual/terminal.texi (stty): Use @var{} on parameter names.
15963 * manual/users.texi (getutmp): Use @var{} on parameter names.
15964 (getutmpx): Likewise.
15966 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15969 * manual/stdio.texi (fopen): Fix typos in description of
15972 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
15975 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
15976 get clock_id definition.
15978 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
15981 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
15982 (madvise): Cast every argument to void on its own.
15984 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15987 * manual/startup.texi (Exit Status): Fix typo.
15989 2012-02-17 Joseph Myers <joseph@codesourcery.com>
15992 * manual/examples/argp-ex1.c: Include <stdlib.h>.
15993 * manual/examples/argp-ex2.c: Likewise.
15994 * manual/examples/argp-ex3.c: Likewise.
15996 2012-02-16 Richard Henderson <rth@redhat.com>
15998 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
15999 * sysdeps/s390/s390-32/initfini.c: Remove.
16000 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
16001 * sysdeps/s390/s390-64/initfini.c: Remove.
16003 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16005 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
16006 compiler output for sysdeps/generic/initfini.c.
16007 * sysdeps/sh/elf/initfini.c: Remove file.
16009 2012-02-16 David S. Miller <davem@davemloft.net>
16012 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
16014 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
16015 * sysdeps/sparc/crti.S: New file.
16016 * sysdeps/sparc/crtn.S: New file.
16017 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
16018 * sysdeps/sparc/sparc64/Makefile: Likewise.
16020 2012-02-15 Mike Frysinger <vapier@gentoo.org>
16023 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
16025 2012-02-15 Roland McGrath <roland@hack.frob.com>
16028 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
16030 * mach/devstream.c (cookie_io_functions_t): Macro removed.
16031 (write, read, close): Likewise.
16032 Patch by Aurelien Jarno <aurelien@aurel32.net>.
16034 2012-02-15 Joseph Myers <joseph@codesourcery.com>
16036 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
16037 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
16038 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
16039 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
16041 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
16042 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16045 2012-02-14 Marek Polacek <polacek@redhat.com>
16047 * sysdeps/x86_64/crti.S: New file.
16048 * sysdeps/x86_64/crtn.S: New file.
16049 * sysdeps/x86_64/elf/initfini.c: Remove file.
16051 2012-02-13 Joseph Myers <joseph@codesourcery.com>
16053 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
16054 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
16055 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
16056 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
16058 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
16059 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16062 2012-02-13 Joseph Myers <joseph@codesourcery.com>
16064 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
16065 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
16066 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
16067 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
16069 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
16070 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16073 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
16075 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
16076 __feraiseexcept instead of feraiseexcept.
16078 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
16079 nanosleep invocations.
16080 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
16081 strings, and add error checking for a nanosleep invocations.
16083 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
16085 Replace FSF snail mail address with URLs, as per GNU coding standards.
16086 Most of the snail mail addresses were wrong anyway, and omitting
16087 them makes the source code easier to maintain. Almost all of the
16088 changes are to license notices and to locale LC_IDENTIFICATION
16089 addresses, except for this one:
16090 * manual/libc.texinfo: In "Published by", give the FSF's URL,
16091 not its snail mail address.
16093 2012-02-09 Richard Henderson <rth@twiddle.net>
16095 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
16096 of kernel-features.h.
16098 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
16100 2012-02-08 Marek Polacek <polacek@redhat.com>
16102 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
16103 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
16104 * sysdeps/gnu/_G_config.h: Likewise.
16105 * sysdeps/generic/_G_config.h: Likewise.
16107 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
16109 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
16111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16113 * sysdeps/powerpc/powerpc32/crti.S: New file.
16114 * sysdeps/powerpc/powerpc32/crtn.S: New file.
16115 * sysdeps/powerpc/powerpc64/crti.S: New file.
16116 * sysdeps/powerpc/powerpc64/crtn.S: New file.
16118 * Makeconfig (have-initfini): Don't set.
16119 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
16120 * configure.in (nopic_initfini): Don't substitute.
16121 * config.h.in (HAVE_INITFINI): Don't #undef.
16122 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
16123 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
16125 2012-02-08 Joseph Myers <joseph@codesourcery.com>
16127 Support crti.S and crtn.S provided directly by architectures.
16128 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
16129 [crti.S in sysdirs] (omit-deps): Likewise.
16130 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
16131 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
16132 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
16133 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
16134 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
16135 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
16136 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
16137 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
16138 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
16139 compiler output for sysdeps/generic/initfini.c.
16140 * sysdeps/i386/elf/Makefile: Remove file.
16141 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
16143 2012-02-07 Marek Polacek <polacek@redhat.com>
16145 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
16146 * sysdeps/gnu/_G_config.h: Likewise.
16147 * sysdeps/mach/hurd/_G_config.h: Likewise.
16149 2012-02-07 Marek Polacek <polacek@redhat.com>
16151 * math/Makefile (tests): Add tst-CMPLX2.
16152 * math/tst-CMPLX2.c: New file.
16154 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
16156 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
16158 * math/libm-test.inc (jn_test): Add missing L suffix.
16160 2012-02-06 Marek Polacek <polacek@redhat.com>
16162 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
16163 * sysdeps/i386/fpu/e_powf.S: Likewise.
16164 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16165 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16166 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16167 * sysdeps/i386/fpu/e_pow.S: Likewise.
16168 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16169 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16170 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16171 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16172 * sysdeps/i386/fpu/e_log2.S: Likewise.
16173 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16174 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16175 * sysdeps/i386/fpu/e_powl.S: Likewise.
16176 * sysdeps/i386/fpu/s_log1p.S: Likewise.
16177 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16178 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16179 * sysdeps/i386/fpu/e_logl.S: Likewise.
16180 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16181 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
16182 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16183 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16184 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16185 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16186 * sysdeps/i386/fpu/e_log.S: Likewise.
16187 * sysdeps/i386/fpu/s_cexp.S: Likewise.
16188 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16189 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
16190 * sysdeps/i386/fpu/e_logf.S: Likewise.
16191 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16192 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16193 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
16194 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16195 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16196 * sysdeps/i386/fpu/e_log10.S: Likewise.
16197 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16198 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16199 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16200 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16201 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16202 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16203 * sysdeps/i386/asm-syntax.h: Likewise.
16204 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16205 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16206 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16207 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
16208 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
16209 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16210 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16211 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16212 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16213 * sysdeps/powerpc/sysdep.h: Likewise.
16214 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
16215 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
16217 2012-02-06 Joseph Myers <joseph@codesourcery.com>
16220 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
16222 2012-02-06 Joseph Myers <joseph@codesourcery.com>
16224 * sysdeps/i386/sysdep.h: Include <features.h>.
16225 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
16228 2012-02-05 Joseph Myers <joseph@codesourcery.com>
16230 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
16232 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
16235 2012-02-03 Joseph Myers <joseph@codesourcery.com>
16237 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
16238 (SETUP_PIC_REG): Use GET_PC_THUNK.
16239 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
16242 2012-02-03 Joseph Myers <joseph@codesourcery.com>
16244 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
16245 for non-PIC compilation.
16246 (SETUP_PIC_REG): Add .p2align directive.
16247 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
16248 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
16249 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16250 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16251 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
16252 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16253 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
16254 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
16255 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16256 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16257 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16258 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16259 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16260 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16261 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16262 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
16263 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
16264 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16265 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16266 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16267 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16268 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
16269 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16270 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16271 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
16272 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
16273 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16274 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
16275 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16276 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16277 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16278 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16279 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16280 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16281 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16282 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16283 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16284 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16285 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16286 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16287 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16289 2012-02-03 Joseph Myers <joseph@codesourcery.com>
16291 * math/tst-CMPLX.c: Include <stdio.h>.
16293 2012-01-31 Joseph Myers <joseph@codesourcery.com>
16295 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
16297 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16298 * sysdeps/sparc/bits/mathdef.h: Likewise.
16300 2012-01-31 Marek Polacek <polacek@redhat.com>
16302 * libio/libio.h: Don't define _PARAMS.
16303 * locale/programs/config.h: Don't define PARAMS.
16304 * stdlib/strtol_l.c: Likewise.
16305 (__strtol_l): Remove PARAMS from the prototype.
16307 2012-01-31 Ulrich Drepper <drepper@gmail.com>
16309 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
16310 names. Just use the correct names. Remove unnecessary wrapper
16312 * malloc/arena.c: Likewise.
16313 * malloc/hooks.c: Likewise.
16315 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
16316 ARENA_TEST says not to. Simplify test for creation of a new arena.
16317 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
16319 2012-01-30 Ulrich Drepper <drepper@gmail.com>
16321 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
16323 (update_get_addr): New function.
16324 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
16325 GET_ADDR_MODULE parameter.
16327 2012-01-30 Joseph Myers <joseph@codesourcery.com>
16329 * crypt/cert.c: Remove __STDC__ conditionals.
16330 * crypt/crypt-entry.c: Likewise.
16331 * crypt/crypt_util.c: Likewise.
16332 * libio/filedoalloc.c: Likewise.
16333 * libio/fileops.c: Likewise.
16334 * libio/genops.c: Likewise.
16335 * libio/iofclose.c: Likewise.
16336 * libio/iofdopen.c: Likewise.
16337 * libio/iofopen.c: Likewise.
16338 * libio/iofopen64.c: Likewise.
16339 * libio/iogetdelim.c: Likewise.
16340 * libio/iopopen.c: Likewise.
16341 * libio/obprintf.c: Likewise.
16342 * libio/oldfileops.c: Likewise.
16343 * libio/oldiofclose.c: Likewise.
16344 * libio/oldiofdopen.c: Likewise.
16345 * libio/oldiofopen.c: Likewise.
16346 * libio/oldiopopen.c: Likewise.
16347 * libio/wfiledoalloc.c: Likewise.
16348 * libio/wgenops.c: Likewise.
16349 * locale/programs/xmalloc.c: Likewise.
16350 * misc/syslog.c: Likewise.
16351 * stdio-common/xbug.c: Likewise.
16352 * string/memchr.c: Likewise.
16353 * string/memcmp.c: Likewise.
16354 * string/memrchr.c: Likewise.
16355 * string/rawmemchr.c: Likewise.
16356 * sysdeps/posix/getcwd.c: Likewise.
16357 * time/strftime_l.c: Likewise.
16359 2012-01-30 Joseph Myers <joseph@codesourcery.com>
16361 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
16362 * config.make.in (config-cflags-sse2avx): Define.
16363 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
16366 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
16368 * scripts/config.guess: Update from upstream config git repository.
16369 * scripts/config.sub: Likewise.
16371 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
16373 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
16375 (R_TILEPRO_*, R_TILEGX_*): New macros.
16377 * scripts/firstversions.awk: Fix bug in version range handling.
16379 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
16381 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
16383 * include/sys/epoll.h: New file.
16384 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
16387 2012-01-28 Ulrich Drepper <drepper@gmail.com>
16389 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
16390 Avoid unnecessary __WORDSIZE == 64 test.
16391 (fmaxf): Use VEX format if possible.
16396 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
16397 * math/math_private.h: Remove libc_fegetround* and
16399 * sysdeps/i386/configure.in: Check for -msse2avx.
16400 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
16401 also if SSE2AVX is defined.
16402 Remove libc_fegetround* and libc_fesetround*.
16403 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
16404 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
16405 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
16407 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16408 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16409 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16410 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16411 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16413 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
16415 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16417 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
16419 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16421 2012-01-27 Ulrich Drepper <drepper@gmail.com>
16424 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
16426 * Makeconfig (libm): Define.
16427 * elf/Makefile: Add rules to build and run tst-relsort1.
16428 * elf/tst-relsort1.c: New file.
16429 * elf/tst-relsort1mod1.c: New file.
16430 * elf/tst-relsort1mod2.c: New file.
16432 2012-01-27 Joseph Myers <joseph@codesourcery.com>
16434 * math/s_ldexp.c: Remove __STDC__ conditionals.
16435 * math/s_ldexpf.c: Likewise.
16436 * math/s_ldexpl.c: Likewise.
16437 * math/s_nextafter.c: Likewise.
16438 * math/s_nexttowardf.c: Likewise.
16439 * math/s_significand.c: Likewise.
16440 * math/s_significandf.c: Likewise.
16441 * math/s_significandl.c: Likewise.
16442 * math/w_jnl.c: Likewise.
16443 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
16444 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
16445 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
16446 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
16447 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
16448 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
16449 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
16450 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
16451 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
16452 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
16453 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
16454 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
16455 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
16456 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
16457 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
16458 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
16459 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
16460 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
16461 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
16462 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
16463 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
16464 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
16465 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16466 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16467 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16468 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16469 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16470 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16471 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
16472 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16473 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16474 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
16475 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16476 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
16477 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
16478 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16479 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
16480 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
16481 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
16482 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
16483 * sysdeps/ieee754/k_standard.c: Likewise.
16484 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16485 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16486 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16487 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16488 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16489 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16490 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16491 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16492 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16493 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16494 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16495 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
16496 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16497 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16498 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16499 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16500 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16501 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
16502 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16503 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
16504 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16505 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16506 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16507 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16508 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16509 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
16510 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
16511 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
16512 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
16513 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
16514 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
16515 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
16516 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
16517 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
16518 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
16519 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
16520 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
16521 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
16522 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
16523 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
16524 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
16525 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
16526 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
16527 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
16528 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
16529 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16530 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16531 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
16532 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
16533 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
16534 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
16535 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
16536 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
16537 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
16538 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
16539 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
16540 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
16541 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
16542 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
16543 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
16544 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
16545 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
16546 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
16547 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16548 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
16549 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
16550 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
16551 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
16552 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
16553 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
16554 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
16555 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
16556 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
16557 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
16558 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
16559 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
16560 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
16561 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
16562 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
16563 * sysdeps/ieee754/s_matherr.c: Likewise.
16564 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
16565 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16566 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16567 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16569 2012-01-26 Joseph Myers <joseph@codesourcery.com>
16571 * crypt/md5.h: Remove __STDC__ conditionals.
16572 * libio/libioP.h: Likewise.
16573 * locale/programs/config.h: Likewise.
16574 * sysdeps/generic/sysdep.h: Likewise.
16575 * sysdeps/i386/asm-syntax.h: Likewise.
16576 * sysdeps/s390/asm-syntax.h: Likewise.
16577 * sysdeps/unix/sysdep.h: Likewise.
16578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16581 2012-01-26 Joseph Myers <joseph@codesourcery.com>
16583 * libio/libio.h: Remove __STDC__ conditionals.
16584 * malloc/obstack.h: Likewise.
16585 * math/complex.h: Likewise.
16586 * math/math.h: Likewise.
16587 * sysdeps/generic/_G_config.h: Likewise.
16588 * sysdeps/gnu/_G_config.h: Likewise.
16589 * sysdeps/mach/hurd/_G_config.h: Likewise.
16590 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16591 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
16592 * sysdeps/sparc/bits/mathdef.h: Likewise.
16594 2012-01-26 Ulrich Drepper <drepper@gmail.com>
16597 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
16598 Clean up HAS_* macros.
16599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
16600 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
16602 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
16604 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16605 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16606 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16607 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16608 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16610 2012-01-25 Joseph Myers <joseph@codesourcery.com>
16612 * elf/tst-unique3.cc (gets): Remove declaration.
16613 * elf/tst-unique3lib.cc (gets): Likewise.
16614 * elf/tst-unique3lib2.cc (gets): Likewise.
16615 * elf/tst-unique4.cc (gets): Likewise.
16617 2012-01-24 Ulrich Drepper <drepper@gmail.com>
16619 * include/stdio.h: Add C++ protection. Add gets declarations and
16621 * debug/tst-chk1.c: Don't declare gets here.
16622 * stdio-common/tst-gets.c: Likewise.
16624 2012-01-24 Joseph Myers <joseph@codesourcery.com>
16626 * posix/glob: Remove directory.
16628 2012-01-24 Joseph Myers <joseph@codesourcery.com>
16630 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
16632 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
16634 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
16635 of the non-standard EPFNOSUPPORT.
16637 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
16639 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
16640 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
16641 ANYWHERE set to 1 only on KERN_NO_SPACE error.
16643 2012-01-21 Ulrich Drepper <drepper@gmail.com>
16645 * wcsmbs/uchar.h: Test __STDC_VERSION__.
16647 2012-01-20 Ulrich Drepper <drepper@gmail.com>
16649 * nscd/aicache.c (addhstaiX): Do not cache negative results of
16651 * nscd/grpcache.c (cache_addgr): Likewise.
16652 * nscd/hstcache.c (cache_addhst): Likewise.
16653 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16654 * nscd/pwdcache.c (cache_addpw): Likewise.
16655 * nscd/servicescache.c (cache_addserv): Likewise.
16657 2012-01-16 Ulrich Drepper <drepper@gmail.com>
16659 * malloc/malloc.c: Various cleanups.
16660 * malloc/hooks.c: Likewise.
16662 * stdlib/Makefile (tests): Add bug-fmtmsg1.
16663 * stdlib/bug-fmtmsg1.c: New file.
16665 * stdlib/fmtmsg.c (init): Add missing unlock.
16666 Patch by Peng Haitao <penght@cn.fujitsu.com>.
16668 2012-01-12 Marek Polacek <polacek@redhat.com>
16670 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
16673 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
16675 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
16676 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
16677 macro to ensure uniqueness of label name.
16678 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
16679 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
16681 2012-01-11 Ulrich Drepper <drepper@gmail.com>
16683 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
16685 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
16686 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
16687 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
16688 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
16690 2012-01-10 Ulrich Drepper <drepper@gmail.com>
16692 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
16694 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
16695 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
16696 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
16698 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
16700 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
16701 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
16702 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
16703 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
16705 * math/bits/math-finite.h: Add ldexp support.
16707 2012-01-10 Marek Polacek <polacek@redhat.com>
16709 * locale/programs/localedef.h (show_archive_content): Add noreturn
16712 2012-01-09 Ulrich Drepper <drepper@gmail.com>
16714 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
16716 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16718 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
16720 * io/Makefile (headers): Add bits/poll2.h.
16722 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
16724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
16725 typo #include statement.
16727 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16729 * include/sys/cdefs.h: Define __attribute_alloc_size.
16730 * catgets/gencat.c: Add alloc_size attribute and apply consistently
16731 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
16732 * elf/pldd.c: Likewise.
16733 * iconv/iconv_charmap.c: Likewise.
16734 * iconv/iconvconfig.c: Likewise.
16735 * iconv/strtab.c: Likewise.
16736 * locale/programs/locale.c: Likewise.
16737 * locale/programs/localedef.h: Likewise.
16738 * locale/programs/simple-hash.c: Likewise.
16739 * nscd/nscd.h: Likewise.
16740 * nss/makedb.c: Likewise.
16741 * sysdeps/generic/ldconfig.h: Likewise.
16742 * locale/programs/localedef.c: Remove xmalloc prototype.
16743 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
16745 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16747 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
16750 2012-01-08 Ulrich Drepper <drepper@gmail.com>
16752 * math/Makefile (tests): Add tst-CMPLX.
16753 * math/tst-CMPLX.c: New file.
16755 * math/complex.h (CMPLXL): Fix typo.
16757 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
16758 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
16760 * debug/tst-chk1.c: Add poll and ppoll tests.
16761 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
16762 * include/sys/poll.h: Add hidden proto for ppoll.
16763 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
16764 * sysdeps/mach/hurd/ppoll.c: Likewise.
16765 * io/ppoll.c: Likewise.
16766 * debug/poll_chk.c: New file.
16767 * debug/ppoll_chk.c: New file.
16768 * include/bits/poll2.h: New file.
16769 * io/bits/poll2.h: New file.
16772 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
16774 * configure.in: static is always set to yes. Remove.
16775 * config.make.in: Don't set build-static.
16776 * Makeconfig: Remove use of build-static.
16777 * dlfcn/Makefile: Likewise.
16778 * elf/Makefile: Likewise.
16779 * math/Makefile: Likewise.
16780 * misc/Makefile: Likewise.
16781 * nptl/Makefile: Likewise.
16782 * sysdeps/mach/hurd/Makefile: Likewise.
16784 * configure.in: PWD_P is not used anymore.
16785 * config.make.in: Remove PWD_P entry.
16787 * configure.in: Remove last remnants of RANLIB.
16788 No need to check for signed size_t anymore.
16789 Don't set libc_commonpagesize and libc_relro_required here for Alpha
16791 Remove __builtin_expect test because we require at least gcc 3.4.
16792 * aclocal.m4: Likewise.
16794 * wcsmbs/mbrtoc16.c: Implement using towc function.
16795 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
16796 * wcsmbs/wcsmbsload.c: Likewise.
16797 * iconv/gconv_simple.c: Likewise.
16798 * iconv/gconv_int.h: Likewise.
16799 * iconv/gconv_builtin.h: Likewise.
16800 * iconv/iconv_prog.c: Remove CHAR16 handling.
16802 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
16804 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
16806 * configure.in: Remove --with-elf and --enable-bounded options.
16807 Dont set base_machine for ia64. More non-ELF conditions removed.
16808 Remove testing and setting of leading underscore information.
16809 * config.make.in (build-bounded): Set to no.
16810 * config.h.in: Remove NO_UNDERSCORES entry.
16811 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
16813 * csu/start.c: Remove !NO_UNDERSCORE code.
16814 * locale/localeinfo.h: Likewise.
16815 * sysdeps/generic/machine-gmon.h: Likewise.
16816 * sysdeps/generic/sysdep.h: Likewise.
16817 * sysdeps/i386/sysdep.h: Likewise.
16818 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
16819 * sysdeps/mach/sysdep.h: Likewise.
16820 * sysdeps/s390/s390-32/sysdep.h: Likewise.
16821 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16822 * sysdeps/sh/sysdep.h: Likewise.
16823 * sysdeps/sparc/sparc32/alloca.S: Likewise.
16824 * sysdeps/unix/i386/sysdep.S: Likewise.
16825 * sysdeps/unix/sparc/start.c: Likewise.
16826 * sysdeps/unix/sparc/sysdep.S: Likewise.
16827 * sysdeps/unix/sparc/sysdep.h: Likewise.
16828 * sysdeps/unix/start.c: Likewise.
16829 * sysdeps/unix/x86_64/sysdep.S: Likewise.
16830 * sysdeps/x86_64/sysdep.h: Likewise.
16832 2012-01-07 Ulrich Drepper <drepper@gmail.com>
16835 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
16837 * argp/argp-fmtstream.h: Use const instead __const.
16838 * argp/argp.h: Likewise.
16839 * assert/assert.h: Likewise.
16840 * bits/fenv.h: Likewise.
16841 * bits/sched.h: Likewise.
16842 * bits/sigset.h: Likewise.
16843 * bits/sigthread.h: Likewise.
16844 * catgets/nl_types.h: Likewise.
16845 * conform/data/pthread.h-data: Likewise.
16846 * crypt/crypt-private.h: Likewise.
16847 * crypt/crypt.h: Likewise.
16848 * crypt/crypt_util.c: Likewise.
16849 * ctype/ctype.h: Likewise.
16850 * debug/execinfo.h: Likewise.
16851 * debug/mbsnrtowcs_chk.c: Likewise.
16852 * debug/mbsrtowcs_chk.c: Likewise.
16853 * debug/wcsnrtombs_chk.c: Likewise.
16854 * debug/wcsrtombs_chk.c: Likewise.
16855 * debug/wcstombs_chk.c: Likewise.
16856 * dirent/dirent.h: Likewise.
16857 * dlfcn/dlfcn.h: Likewise.
16858 * elf/neededtest4.c: Likewise.
16859 * grp/grp.h: Likewise.
16860 * gshadow/gshadow.h: Likewise.
16861 * iconv/gconv.h: Likewise.
16862 * iconv/gconv_int.h: Likewise.
16863 * iconv/gconv_simple.c: Likewise.
16864 * iconv/iconv.h: Likewise.
16865 * iconv/loop.c: Likewise.
16866 * iconv/skeleton.c: Likewise.
16867 * include/aio.h: Likewise.
16868 * include/aliases.h: Likewise.
16869 * include/argz.h: Likewise.
16870 * include/arpa/inet.h: Likewise.
16871 * include/assert.h: Likewise.
16872 * include/dirent.h: Likewise.
16873 * include/dlfcn.h: Likewise.
16874 * include/execinfo.h: Likewise.
16875 * include/fcntl.h: Likewise.
16876 * include/fenv.h: Likewise.
16877 * include/glob.h: Likewise.
16878 * include/grp.h: Likewise.
16879 * include/libintl.h: Likewise.
16880 * include/mntent.h: Likewise.
16881 * include/netdb.h: Likewise.
16882 * include/pwd.h: Likewise.
16883 * include/rpc/netdb.h: Likewise.
16884 * include/sched.h: Likewise.
16885 * include/search.h: Likewise.
16886 * include/shadow.h: Likewise.
16887 * include/signal.h: Likewise.
16888 * include/stdio.h: Likewise.
16889 * include/stdlib.h: Likewise.
16890 * include/string.h: Likewise.
16891 * include/sys/socket.h: Likewise.
16892 * include/sys/stat.h: Likewise.
16893 * include/sys/statfs.h: Likewise.
16894 * include/sys/statvfs.h: Likewise.
16895 * include/sys/syslog.h: Likewise.
16896 * include/sys/time.h: Likewise.
16897 * include/sys/uio.h: Likewise.
16898 * include/time.h: Likewise.
16899 * include/unistd.h: Likewise.
16900 * include/utmp.h: Likewise.
16901 * include/wchar.h: Likewise.
16902 * include/wctype.h: Likewise.
16903 * inet/aliases.h: Likewise.
16904 * inet/arpa/inet.h: Likewise.
16905 * inet/netinet/ether.h: Likewise.
16906 * inet/netinet/in.h: Likewise.
16907 * intl/libintl.h: Likewise.
16908 * io/bits/fcntl2.h: Likewise.
16909 * io/fcntl.h: Likewise.
16910 * io/ftw.h: Likewise.
16911 * io/sys/poll.h: Likewise.
16912 * io/sys/stat.h: Likewise.
16913 * io/sys/statfs.h: Likewise.
16914 * io/sys/statvfs.h: Likewise.
16915 * io/utime.h: Likewise.
16916 * libio/bits/stdio.h: Likewise.
16917 * libio/bits/stdio2.h: Likewise.
16918 * libio/libio.h: Likewise.
16919 * libio/libioP.h: Likewise.
16920 * libio/stdio.h: Likewise.
16921 * locale/lc-ctype.c: Likewise.
16922 * locale/locale.h: Likewise.
16923 * login/utmp.h: Likewise.
16924 * malloc/arena.c: Likewise.
16925 * malloc/malloc.c: Likewise.
16926 * malloc/malloc.h: Likewise.
16927 * malloc/mcheck.c: Likewise.
16928 * malloc/mtrace.c: Likewise.
16929 * math/bits/mathcalls.h: Likewise.
16930 * math/fenv.h: Likewise.
16931 * math/math_private.h: Likewise.
16932 * misc/bits/error.h: Likewise.
16933 * misc/bits/syslog.h: Likewise.
16934 * misc/err.h: Likewise.
16935 * misc/error.h: Likewise.
16936 * misc/fstab.h: Likewise.
16937 * misc/mntent.h: Likewise.
16938 * misc/regexp.h: Likewise.
16939 * misc/search.h: Likewise.
16940 * misc/sgtty.h: Likewise.
16941 * misc/sys/mman.h: Likewise.
16942 * misc/sys/syslog.h: Likewise.
16943 * misc/sys/uio.h: Likewise.
16944 * misc/sys/xattr.h: Likewise.
16945 * misc/ttyent.h: Likewise.
16946 * nis/rpcsvc/ypclnt.h: Likewise.
16947 * nss/nss.h: Likewise.
16948 * posix/bits/unistd.h: Likewise.
16949 * posix/fnmatch.h: Likewise.
16950 * posix/glob.h: Likewise.
16951 * posix/sched.h: Likewise.
16952 * posix/spawn.h: Likewise.
16953 * posix/sys/wait.h: Likewise.
16954 * posix/unistd.h: Likewise.
16955 * posix/wordexp.h: Likewise.
16956 * pwd/pwd.h: Likewise.
16957 * resolv/netdb.h: Likewise.
16958 * resource/sys/resource.h: Likewise.
16959 * rt/aio.h: Likewise.
16960 * rt/bits/mqueue2.h: Likewise.
16961 * rt/mqueue.h: Likewise.
16962 * shadow/shadow.h: Likewise.
16963 * signal/signal.h: Likewise.
16964 * socket/send.c: Likewise.
16965 * socket/sendto.c: Likewise.
16966 * socket/sys/socket.h: Likewise.
16967 * stdio-common/printf.h: Likewise.
16968 * stdlib/bits/stdlib.h: Likewise.
16969 * stdlib/fmtmsg.h: Likewise.
16970 * stdlib/monetary.h: Likewise.
16971 * stdlib/stdlib.h: Likewise.
16972 * stdlib/ucontext.h: Likewise.
16973 * streams/stropts.h: Likewise.
16974 * string/argz.h: Likewise.
16975 * string/bits/string2.h: Likewise.
16976 * string/string.h: Likewise.
16977 * string/strings.h: Likewise.
16978 * sunrpc/rpc/auth.h: Likewise.
16979 * sunrpc/rpc/auth_des.h: Likewise.
16980 * sunrpc/rpc/clnt.h: Likewise.
16981 * sunrpc/rpc/netdb.h: Likewise.
16982 * sunrpc/rpc/pmap_clnt.h: Likewise.
16983 * sunrpc/rpc/xdr.h: Likewise.
16984 * sysdeps/generic/inttypes.h: Likewise.
16985 * sysdeps/generic/net/if.h: Likewise.
16986 * sysdeps/generic/sys/swap.h: Likewise.
16987 * sysdeps/gnu/net/if.h: Likewise.
16988 * sysdeps/gnu/utmpx.h: Likewise.
16989 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
16990 * sysdeps/i386/i486/bits/string.h: Likewise.
16991 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
16992 * sysdeps/s390/bits/string.h: Likewise.
16993 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
16994 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
16995 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
16996 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
16997 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
16998 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
16999 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
17000 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
17001 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
17002 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
17003 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
17004 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17005 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
17006 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17007 * sysdeps/unix/sysv/linux/readv.c: Likewise.
17008 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
17009 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17010 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
17011 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
17012 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
17013 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17014 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
17015 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
17016 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
17017 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
17018 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
17019 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
17020 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17021 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
17022 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
17023 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
17024 * sysvipc/sys/ipc.h: Likewise.
17025 * sysvipc/sys/msg.h: Likewise.
17026 * sysvipc/sys/sem.h: Likewise.
17027 * sysvipc/sys/shm.h: Likewise.
17028 * termios/termios.h: Likewise.
17029 * time/sys/time.h: Likewise.
17030 * time/time.h: Likewise.
17031 * wcsmbs/bits/wchar2.h: Likewise.
17032 * wcsmbs/uchar.h: Likewise.
17033 * wcsmbs/wchar.h: Likewise.
17034 * wctype/wctype.h: Likewise.
17037 * Makeconfig: Remove all but ELF support including AIX support.
17038 * Makerules: Likewise.
17039 * config.h.in: Likewise.
17040 * config.make.in: Likewise.
17041 * configure: Likewise.
17042 * configure.in: Likewise.
17043 * csu/Makefile: Likewise.
17044 * csu/version.c: Likewise.
17045 * debug/Makefile: Likewise.
17046 * dlfcn/Makefile: Likewise.
17047 * elf/Makefile: Likewise.
17048 * extra-lib.mk: Likewise.
17049 * iconv/Makefile: Likewise.
17050 * include/libc-symbols.h: Likewise.
17051 * include/shlib-compat.h: Likewise.
17052 * resolv/Makefile: Likewise.
17053 * resolv/res_libc.c: Likewise.
17054 * rt/Makefile: Likewise.
17055 * sysdeps/i386/asm-syntax.h: Likewise.
17056 * sysdeps/i386/sysdep.h: Likewise.
17057 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
17058 * sysdeps/mach/sysdep.h: Likewise.
17059 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
17060 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
17061 * sysdeps/s390/asm-syntax.h: Likewise.
17062 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17063 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17064 * sysdeps/sh/sysdep.h: Likewise.
17065 * sysdeps/unix/sparc/sysdep.h: Likewise.
17066 * sysdeps/wordsize-32/divdi3.c: Likewise.
17067 * sysdeps/x86_64/sysdep.h: Likewise.
17069 * argp/Versions: Remove _argp_unlock_xxx.
17072 * abilist/ld.abilist: Update. Adjust for removal of tls option.
17073 * abilist/libBrokenLocale.abilist: Likewise.
17074 * abilist/libanl.abilist: Likewise.
17075 * abilist/libc.abilist: Likewise.
17076 * abilist/libcrypt.abilist: Likewise.
17077 * abilist/libdl.abilist: Likewise.
17078 * abilist/libm.abilist: Likewise.
17079 * abilist/libnsl.abilist: Likewise.
17080 * abilist/libpthread.abilist: Likewise.
17081 * abilist/libresolv.abilist: Likewise.
17082 * abilist/librt.abilist: Likewise.
17083 * abilist/libthread_db.abilist: Likewise.
17084 * abilist/libutil.abilist: Likewise.
17085 * abilist/libnss_db.abilist: New file.
17087 * scripts/abilist.awk: Add support for indirect functions.
17089 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
17091 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
17093 * shlib-versions: Remove entries for ports architectures.
17095 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
17097 * elf/stackguard-macros.h: Remove support for IA-64.
17098 * elf/tst-auditmod1.c: Likewise.
17099 * sysdeps/generic/ldsodefs.h: Likewise.
17101 * sysdeps/unix/sysv/linux/configure.in: Ports should define
17102 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
17106 * configure.in: Remove --enable-omitfp support.
17108 * config.make.in: Likewise.
17109 * Makeconfig: Likewise.
17110 * manual/install.texi: Likewise.
17112 In case anyone cares, the IA-64 architecture could move to ports.
17113 * sysdeps/ia64/*: Removed.
17114 * sysdeps/unix/sysv/linux/ia64/*: Removed.
17115 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
17118 * configure.in: Remove entries for unsupported architectures.
17121 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
17122 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
17124 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
17125 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
17126 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
17127 fall back to using wcrtomb.
17128 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
17129 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
17131 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
17132 * wcsmbs/tst-c16c32-1.c: New file.
17134 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
17137 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
17139 * elf/tst-unique3.cc: Add explicit declaration of gets.
17140 * elf/tst-unique3lib.cc: Likewise.
17141 * elf/tst-unique3lib2.cc: Likewise.
17142 * elf/tst-unique4.cc: Likewise.
17144 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
17146 2012-01-06 Joseph Myers <joseph@codesourcery.com>
17149 * assert/assert.h (static_assert): Don't define for C++.
17150 * libio/stdio.h (gets): Do declare for C++ <= C++11.
17151 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
17153 2012-01-03 Ulrich Drepper <drepper@gmail.com>
17155 * iconv/loop.c (single loop): Fix assertion in storing of
17158 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
17160 2012-01-01 Ulrich Drepper <drepper@gmail.com>
17162 * posix/getconf.c: Update copyright year.
17163 * nss/getent.c: Likewise.
17164 * nss/makedb.c: Likewise.
17165 * iconv/iconvconfig.c: Likewise.
17166 * iconv/iconv_prog.c: Likewise.
17167 * elf/ldconfig.c: Likewise.
17168 * elf/pldd.c: Likewise.
17169 * elf/sotruss.ksh: Likewise.
17170 * catgets/gencat.c: Likewise.
17171 * csu/version.c: Likewise.
17172 * elf/ldd.bash.in: Likewise.
17173 * elf/sprof.c (print_version): Likewise.
17174 * locale/programs/locale.c: Likewise.
17175 * locale/programs/localedef.c: Likewise.
17176 * login/programs/pt_chown.c: Likewise.
17177 * nscd/nscd.c (print_version): Likewise.
17178 * debug/xtrace.sh: Likewise.
17179 * malloc/memusage.sh: Likewise.
17180 * malloc/mtrace.pl: Likewise.
17181 * debug/catchsegv.sh: Likewise.
17183 2011-12-30 Jakub Jelinek <jakub@redhat.com>
17185 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
17188 2011-12-24 Ulrich Drepper <drepper@gmail.com>
17191 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
17192 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
17194 * iconv/gconv_int.h: Likewise.
17195 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
17196 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
17197 from libc for GLIBC_2.16.
17198 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
17199 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
17200 * wcsmbs/uchar.h: Really define mbstate_t.
17201 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
17202 * wcsmbs/c16rtomb.c: New file.
17203 * wcsmbs/mbrtoc16.c: New file.
17204 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
17205 for C/POSIX locale.
17206 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
17207 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
17209 * wcsmbs/wchar.h: Add missing __restrict.
17211 2011-12-23 Ulrich Drepper <drepper@gmail.com>
17214 * time/Makefile (routines): Add timespec_get.
17215 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
17216 * time/time.h: Define TIME_UTC and declare timespec_get. Define
17217 timespec for ISO C11.
17218 * time/timespec_get.c: New file.
17219 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
17220 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
17223 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
17224 * stdlib/stdlib.h: Declare aligned_alloc.
17225 * Versions.def: Add GLIBC_2.16 for libc.
17226 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
17229 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
17232 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
17236 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
17239 * assert/assert.h (static_assert): Define.
17241 * version.h: Update for 2.16 development version.
17244 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
17247 * version.h (RELEASE): Bump for 2.15 release.
17248 * include/features.h (__GLIBC_MINOR__): Bump to 15.
17250 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
17251 Patch by Marek Polacek <mpolacek@redhat.com>.
17253 * bits/byteswap.h: Protect long long constants with __extension__.
17254 * sysdeps/i386/bits/byteswap.h: Likewise.
17255 * sysdeps/ia64/bits/byteswap.h: Likewise.
17256 * sysdeps/s390/bits/byteswap.h: Likewise.
17257 * sysdeps/x86_64/bits/byteswap.h: Likewise.
17259 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17262 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
17263 destination buffer.
17264 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
17266 2011-12-23 Marek Polacek <polacek@redhat.com>
17268 * elf/dl-addr.c (determine_info): Add inline keyword.
17269 * elf/tst-auditmod4b.c (check_avx): Likewise.
17270 * elf/tst-auditmod6b.c (check_avx): Likewise.
17271 * elf/tst-auditmod6c.c (check_avx): Likewise.
17272 * elf/tst-auditmod7b.c (check_avx): Likewise.
17274 2011-12-23 Ulrich Drepper <drepper@gmail.com>
17276 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
17279 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17282 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
17283 processing for last bytes.
17285 2011-08-06 Bruno Haible <bruno@clisp.org>
17288 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
17289 U+0385, not to U+1FEE.
17292 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
17293 entry for U+00A5 U+0301.
17295 2011-12-22 Ulrich Drepper <drepper@gmail.com>
17298 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
17299 buffer for the output is too small.
17301 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
17305 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
17306 SSE flags if possible.
17308 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17311 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
17312 processing for last bytes.
17314 2011-12-22 Joseph Myers <joseph@codesourcery.com>
17316 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
17317 (syscall-list-default-options, syscall-list-default-condition)
17318 (syscall-list-includes): Define.
17319 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
17320 list of ABIs and options and #if conditions for each ABI. Do not
17321 handle common syscalls between ABIs specially.
17322 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
17324 (syscall-list-variants, syscall-list-32bit-options)
17325 (syscall-list-32bit-condition, syscall-list-64bit-options)
17326 (syscall-list-64bit-condition): Define.
17327 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
17328 (syscall-list-variants, syscall-list-32bit-options)
17329 (syscall-list-32bit-condition, syscall-list-64bit-options)
17330 (syscall-list-64bit-condition): Define.
17331 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
17333 (syscall-list-variants, syscall-list-32bit-options)
17334 (syscall-list-32bit-condition, syscall-list-64bit-options)
17335 (syscall-list-64bit-condition): Define.
17336 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
17338 (syscall-list-variants, syscall-list-32bit-options)
17339 (syscall-list-32bit-condition, syscall-list-64bit-options)
17340 (syscall-list-64bit-condition): Define.
17342 2011-12-22 Ulrich Drepper <drepper@gmail.com>
17344 * locale/iso-639.def: Add brx entry.
17347 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
17348 Proposed by Mariusz_Cukr <marcukr@op.pl>.
17350 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
17351 __feraiseexcept_renamed.
17353 2011-12-21 Ulrich Drepper <drepper@gmail.com>
17356 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
17357 EPOLLET with unsigned values.
17358 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
17359 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
17361 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
17362 to large cancellation.
17363 * math/s_cacoshf.c: Likewise.
17364 * math/s_cacoshl.c: Likewise.
17366 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
17370 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
17371 * math/s_cacoshf.c: Likewise.
17372 * math/s_cacoshl.c: Likewise.
17374 2011-12-21 Ulrich Drepper <drepper@gmail.com>
17377 * iconv/gconv.h: Define __GCONV_SWAP.
17378 * iconvdata/unicode.c: The swap bit must be stored in __flags.
17379 * iconvdata/utf-16.c: Likewise.
17380 * iconvdata/utf-32.c: Likewise.
17382 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
17385 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
17386 numerator after shifting it by one limb.
17388 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
17390 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
17391 under [__USE_EXTERN_INLINES].
17393 2011-12-17 Ulrich Drepper <drepper@gmail.com>
17396 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
17398 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17400 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
17401 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
17403 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
17404 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
17405 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
17406 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
17407 for strncasecmp/strncasecmp_l compilation.
17408 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
17409 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
17411 2011-12-08 Marek Polacek <mpolacek@redhat.com>
17414 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
17417 2011-12-17 Ulrich Drepper <drepper@gmail.com>
17420 * time/tzfile.c (__tzfile_read): Check values from file header.
17422 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17424 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
17425 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
17426 * powerpc/powerpc32/dl-start.S: Likewise.
17427 * powerpc/powerpc32/elf/start.S: Likewise.
17428 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17429 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
17430 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
17431 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
17432 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17433 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
17434 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
17435 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17436 * powerpc/powerpc32/fpu/s_round.S: Likewise.
17437 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17438 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17439 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17440 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
17441 * powerpc/powerpc32/memset.S: Likewise.
17442 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17443 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17444 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17445 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17446 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17447 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
17448 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
17449 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
17450 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
17451 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
17452 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
17453 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
17454 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
17456 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17458 * math/libm-test.inc: Added more nearbyint tests.
17459 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
17460 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
17461 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
17462 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
17464 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
17466 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
17469 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17471 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
17472 Add wcscpy-ssse3 wcscpy-c.
17473 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
17474 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
17475 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
17476 * sysdeps/x86_64/wcschr.S: New file.
17477 * sysdeps/x86_64/wcsrchr.S: New file.
17478 * string/test-strcmp.c: Remove checking of wcscmp function for
17480 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
17481 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
17482 wcsrchr-sse2 wcsrchr-c.
17483 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
17484 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
17485 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
17486 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
17487 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
17488 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
17489 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
17490 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
17491 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
17492 * wcsmbc/wcschr.c (WCSCHR): New macro.
17494 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17496 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
17497 * wcsmbs/test-wcsrchr.c: New file.
17498 * string/test-strrchr.c: Add wcsrchr support.
17500 * wcsmbs/test-wcscpy.c: New file.
17501 * string/test-strcpy.c: Add wcscpy support.
17504 2011-12-10 Ulrich Drepper <drepper@gmail.com>
17506 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
17509 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
17512 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
17514 2011-12-04 Ulrich Drepper <drepper@gmail.com>
17516 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
17517 Minor optimizations.
17519 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
17520 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
17521 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17523 2011-12-03 Ulrich Drepper <drepper@gmail.com>
17525 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
17526 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
17527 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
17528 for gcc to avoid warnings.
17529 * inet/Makefile (tests): Add tst-checks.
17530 * inet/tst-checks.c: New file.
17532 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
17535 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
17538 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
17539 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
17541 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
17543 2011-12-02 Ulrich Drepper <drepper@gmail.com>
17545 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
17548 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
17550 2011-11-29 Joseph Myers <joseph@codesourcery.com>
17552 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
17553 conditional on GCC version.
17554 (__arch_compare_and_exchange_val_8_acq)
17555 (__arch_compare_and_exchange_val_16_acq)
17556 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
17557 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
17558 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
17560 2011-12-02 Joseph Myers <joseph@codesourcery.com>
17562 * sysdeps/sh/backtrace.c: New file.
17564 2011-12-02 Andreas Schwab <schwab@redhat.com>
17566 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
17569 2011-12-01 Andreas Schwab <schwab@redhat.com>
17571 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
17572 falling back to utime.
17574 2011-11-30 Andreas Schwab <schwab@redhat.com>
17576 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
17577 expectations for float.
17579 2011-11-29 Andreas Schwab <schwab@redhat.com>
17581 * locale/weight.h (findidx): Add parameter len.
17582 * locale/weightwc.h (findidx): Likewise.
17583 * posix/fnmatch_loop.c (FCT): Adjust caller.
17584 * posix/regcomp.c (build_equiv_class): Likewise.
17585 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
17586 * posix/regexec.c (check_node_accept_bytes): Likewise.
17587 * string/strcoll_l.c (STRCOLL): Likewise.
17588 * string/strxfrm_l.c (STRXFRM): Likewise.
17590 2011-11-17 Ulrich Drepper <drepper@gmail.com>
17592 * Makefile.in: Remove CVSOPT handling.
17593 * configure.in: Remove use of AC_REVISION.
17594 * iconvdata/Makefile (distribute): No need to filter out CVS.
17595 * scripts/list-sources.sh: Remove CVS, subversion and monotone
17598 2011-11-16 Andreas Schwab <schwab@redhat.com>
17600 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
17601 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
17602 [USE_AS_STRNCASECMP_L]: Likewise.
17603 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
17604 NO_TLS_DIRECT_SEG_REFS.
17605 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
17606 Fix argument offsets for non-PIC.
17607 [USE_AS_STRNCASECMP_L]: Likewise.
17608 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
17609 NO_TLS_DIRECT_SEG_REFS.
17611 2011-11-15 Ulrich Drepper <drepper@gmail.com>
17613 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
17615 * locale/loadlocale.c (_nl_load_locale): Likewise.
17617 2011-11-15 Andreas Schwab <schwab@redhat.com>
17619 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
17620 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
17621 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
17622 (SYSCALL_GETTIME): Set errno on error.
17624 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
17625 count references to noai6ai_cached.
17627 2011-11-15 Ulrich Drepper <drepper@gmail.com>
17629 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
17631 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
17632 FD_CLOEXEC for /proc/self/maps.
17634 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
17635 FD_CLOEXEC for /proc/meminfo.
17637 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
17640 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
17641 FD_CLOEXEC for given file.
17643 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
17645 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
17646 FD_CLOEXEC for /etc/hosts.
17647 (_gethtent): Likewise.
17649 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
17651 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
17652 cancellation and set FD_CLOEXEC for /etc/netgroup.
17654 * nss/nss_files/files-key.c (search): Don't allow cancellation when
17655 reading /etc/publickey.
17657 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
17658 allow cancellation when reading /etc/group.
17660 * nss/nss_files/files-alias.c (internal_setent): Don't allow
17662 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
17664 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
17665 when using data file.
17667 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
17669 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
17670 (write_nis_obj): Use "c" and "e" in fopen.
17672 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
17674 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
17676 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
17678 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
17680 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
17683 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
17685 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
17687 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
17689 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
17690 file parsing and set FD_CLOEXEC.
17692 2011-11-14 Ulrich Drepper <drepper@gmail.com>
17694 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
17696 2011-11-14 Andreas Schwab <schwab@redhat.com>
17698 * malloc/arena.c (arena_get2): Don't call reused_arena when
17699 _int_new_arena failed.
17701 2011-11-14 Ulrich Drepper <drepper@gmail.com>
17703 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
17704 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
17705 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
17706 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
17707 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17708 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
17709 to compile strcasecmp and strncasecmp.
17710 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
17711 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
17713 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
17715 2011-11-13 Ulrich Drepper <drepper@gmail.com>
17717 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
17718 locale-defines.sym to gen-as-const-headers.
17719 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
17720 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
17721 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
17722 to compile strcasecmp and strncasecmp.
17723 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
17724 strcasecmp_l and strncasecmp_l.
17725 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
17726 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
17727 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
17728 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
17729 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
17730 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
17731 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
17732 * sysdeps/i386/i686/multiarch/strncase.S: New file.
17733 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
17734 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
17735 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
17737 2011-11-12 Ulrich Drepper <drepper@gmail.com>
17739 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
17740 result of SYSDEP_GETTIME_CPU to retval.
17741 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
17742 parameter list to macro. Remove trailing semicolon. Adjust users.
17744 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
17747 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
17749 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17751 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
17752 from unused variable.
17754 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
17756 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
17759 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
17762 * sunrpc/rpc_prot.c (rejected): Fix case value.
17764 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
17765 unsigned long long int to avoid warnings in shift.
17767 * posix/regex_internal.c (re_string_reconstruct): Actually use result
17769 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
17772 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
17773 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
17774 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
17776 * nis/nis_table.c (nis_list): Use variable of correct type for
17777 result of __follow_path call.
17779 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17781 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
17782 of math functions ceil, trunc, floor, round, and sqrt, when
17783 avaliable on the platform.
17784 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
17786 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17787 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
17788 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
17790 2011-10-30 Marek Polacek <mpolacek@redhat.com>
17792 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
17793 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17795 2011-11-11 Roland McGrath <roland@hack.frob.com>
17797 * include/unistd.h: Fix __readlink return type.
17798 Reported by Chris Metcalf <cmetcalf@tilera.com>.
17800 2011-11-11 Ulrich Drepper <drepper@gmail.com>
17802 * stdlib/ucontext.h: Undo last change for makecontext.
17804 2011-11-11 Andreas Schwab <schwab@redhat.com>
17806 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
17808 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
17809 * setjmp/setjmp.h: Mark functions as non-leaf.
17810 * setjmp/bits/setjmp2.h: Likewise.
17811 * stdlib/ucontext.h: Likewise.
17813 2011-11-10 Andreas Schwab <schwab@redhat.com>
17815 * malloc/arena.c (_int_new_arena): Don't increment narenas.
17816 (reused_arena): Don't check arena limit.
17817 (arena_get2): Atomically check arena limit.
17819 2011-11-08 Ulrich Drepper <drepper@gmail.com>
17821 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
17822 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
17824 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
17827 2011-11-07 Andreas Schwab <schwab@redhat.com>
17829 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
17830 handler when locking.
17832 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
17833 Fix size of allocated buffer.
17835 2011-11-04 Andreas Schwab <schwab@redhat.com>
17838 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
17839 declarations for long double functions.
17840 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
17842 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
17844 2011-11-03 Andreas Schwab <schwab@redhat.com>
17846 * nscd/nscd.c (main): Don't start AVC thread until credentials are
17849 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
17852 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
17854 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
17856 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
17858 * include/alloca.h (stackinfo_alloca_round): Define.
17859 (extend_alloca): Use it.
17860 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
17861 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
17864 * scripts/check-local-headers.sh: Ignore libaudit.h.
17866 * nscd/Makefile (extra-objs): Make recursively expanded.
17868 2011-11-01 Ulrich Drepper <drepper@gmail.com>
17870 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
17871 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17873 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
17874 * posix/tst-rfc3484-2.c: Likewise.
17875 * posix/tst-rfc3484-3.c: Likewise.
17877 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
17879 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
17881 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
17882 process_vm_writev from libc using GLIBC_2.15 version.
17884 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
17886 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
17888 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
17891 2011-10-31 Ulrich Drepper <drepper@gmail.com>
17894 * nss/getent.c (initgroups_keys): Show error message in case no group
17897 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
17898 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
17899 __bump_nl_timestamp.
17900 * nscd/connections (nscd_init): When host database is served open
17901 netlink socket and request notification about configuration changes.
17902 (main_loop_poll): Track netlink file descriptor and bump timestamp
17903 in case data becomes available.
17904 (main_loop_epoll): Likewise.
17905 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
17906 (database_pers_head): Add extra_data fileds.
17907 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
17908 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
17909 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
17911 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
17912 in6ai data, call __free_in6ai.
17913 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
17914 Add -DHAVE_NETLINK.
17915 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
17916 interface information. Reuse previous data if netlink timestamp
17918 (__bump_nl_timestamp): New function.
17919 (__free_in6ai): New function.
17921 2011-10-30 Ulrich Drepper <drepper@gmail.com>
17923 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
17924 close_not_cancel_no_status here.
17925 (__check_pf): Reorganize code a bit to not call close twice if OOM.
17927 2011-10-29 Ulrich Drepper <drepper@gmail.com>
17930 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
17933 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
17934 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
17935 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
17937 2011-07-03 Andreas Jaeger <aj@suse.de>
17940 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
17941 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
17942 * math/libm-test.inc (sin_test): Add test case.
17944 2011-10-29 Ulrich Drepper <drepper@gmail.com>
17947 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
17948 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17950 * elf/chroot_canon.c (chroot_canon): Cleanups.
17952 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
17955 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
17956 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
17958 * string/test-strchr.c: Make usable for strchrnul testing.
17959 * string/test-strchrnul.c: New file.
17960 * string/Makefile (strop-tests): Add strchrnul.
17962 * po/it.po: Update from translation team.
17963 * po/es.po: Likewise.
17965 2011-10-28 Ulrich Drepper <drepper@gmail.com>
17967 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
17968 the three constants needed as parameters. Drop the others.
17969 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
17970 __m128i_strloadu_tolower.
17971 Create and initialize variable zero and use it in all the places
17972 where _mm_setzero_si128 was used.
17974 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
17975 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
17976 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
17977 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
17979 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
17980 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
17981 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
17982 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
17983 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
17984 __mpranred, __mptan.
17985 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
17986 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
17987 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
17988 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
17989 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
17990 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
17991 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
17992 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
17993 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
17995 2011-10-28 Andreas Schwab <schwab@redhat.com>
17997 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
17998 redefine if SHARED.
17999 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
18001 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
18002 wide char related routines to wcsmbs subdir.
18004 2011-10-27 Andreas Schwab <schwab@redhat.com>
18007 * misc/sys/cdefs.h (__THROWNL): Define.
18008 * posix/unistd.h: Use __THREADNL instead of __THREAD
18009 for memory synchronization functions.
18011 2011-10-26 Roland McGrath <roland@hack.frob.com>
18014 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
18016 * manual/stdio.texi (Obstack Streams): Node removed.
18018 2011-10-26 Andreas Schwab <schwab@redhat.com>
18020 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
18021 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18022 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18024 * math/math_private.h (math_force_eval): Allow non-addressable
18026 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
18028 2011-10-25 Ulrich Drepper <drepper@gmail.com>
18030 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
18031 file is not needed.
18033 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
18034 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18035 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18036 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18037 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18038 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18039 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18040 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
18042 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
18043 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
18044 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
18045 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
18046 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
18047 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
18048 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
18049 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
18050 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
18051 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
18052 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
18053 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
18054 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
18055 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
18056 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
18057 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
18058 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
18059 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
18060 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
18062 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
18063 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
18065 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
18066 place. Use VEX encoding when compiling for AVX.
18068 2011-10-25 Andreas Schwab <schwab@redhat.com>
18070 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
18071 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18073 * string/test-strchr.c (do_test): Don't generate NUL bytes.
18075 2011-10-25 Ulrich Drepper <drepper@gmail.com>
18077 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
18078 useless if() expression.
18079 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18080 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18081 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18082 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18083 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18084 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18085 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18086 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18087 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18088 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18089 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18090 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18091 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18092 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18093 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18094 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18095 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18096 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18097 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18099 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
18101 2011-10-25 Andreas Schwab <schwab@redhat.com>
18103 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
18105 * elf/dl-fini.c (_dl_sort_fini): Likewise.
18107 2011-10-25 Ulrich Drepper <drepper@gmail.com>
18109 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
18110 .text section. Avoid duplicate constants.
18111 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18112 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18113 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18114 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18115 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18116 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18117 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18118 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18119 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18120 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
18121 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18122 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18123 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18124 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18125 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18126 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18127 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18128 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18129 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18130 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18131 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18132 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18133 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18134 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
18135 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
18136 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
18137 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
18138 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
18139 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
18140 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18141 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
18142 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18143 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18144 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
18145 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
18146 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18147 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18148 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
18149 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
18150 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
18151 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
18152 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
18153 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
18154 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
18155 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18157 2011-10-24 Ulrich Drepper <drepper@gmail.com>
18159 * sysdeps/x86_64/dla.h: Move to ...
18160 * sysdeps/x86_64/fpu/dla.h: ...here.
18161 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
18162 situations. Use __builtin_fma only for gcc 4.6 and up.
18164 * config.make.in: Add have-mfma4 entry.
18165 * configure.in: Substitute libc_cv_cc_fma4.
18166 * math/Makefile (dbl-only-routines): Add sincostab.
18167 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
18168 Use __sincostab not sincos.
18169 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
18171 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18172 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18173 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18174 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
18176 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
18177 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
18178 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
18179 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
18181 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
18182 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
18184 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
18185 define aliases when function name is a macro.
18186 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
18187 sysdeps/ieee754/dbl-64/sincos.tbl.
18188 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
18189 fma4-enabled routines.
18190 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
18191 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
18192 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
18193 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
18194 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
18195 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
18196 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
18197 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
18198 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
18199 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
18200 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
18201 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
18202 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
18203 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
18204 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
18205 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
18206 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
18207 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
18208 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
18209 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
18210 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
18211 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
18212 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
18213 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
18214 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
18215 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
18216 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
18217 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
18218 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
18219 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
18221 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
18223 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18224 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18225 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18226 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18227 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18228 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18229 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18230 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18232 2011-10-24 Andreas Schwab <schwab@redhat.com>
18234 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
18236 2011-10-23 Ulrich Drepper <drepper@gmail.com>
18238 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
18240 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
18242 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
18244 * string/strnlen.c: Don't define STRNLEN, reverse logic.
18245 Remove unused variable magic_bits.
18246 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
18248 * string/strnlen.c: Define and use STRNLEN macro.
18249 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
18250 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
18251 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
18252 * wcsmbs/wcslen.c: Define and use WCSLEN.
18253 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
18254 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
18255 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
18256 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
18257 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
18258 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
18259 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
18261 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18263 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
18264 strnlen-sse2-no-bsf.
18265 Rename strlen-no-bsf to strlen-sse2-no-bsf.
18266 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
18267 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
18268 Add strnlen support.
18269 (USE_AS_STRNLEN): New macro.
18270 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
18271 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
18272 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
18273 * sysdeps/x86_64/wcslen.S: New file.
18275 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
18277 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
18278 XMM-moves are used for copying on small sizes.
18280 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18282 * wcsmbs/Makefile (strop-tests): Add wcschr.
18283 * wcsmbs/test-wcschr.c: New file.
18284 * string/test-strchr.c: Update.
18285 Add wcschr support.
18288 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18290 * wcsmbs/Makefile (strop-tests): Add wcslen.
18291 * wcsmbs/test-wcslen.c: New file.
18292 * string/test-strlen.c: Update.
18293 Add wcslen support.
18296 2011-10-23 Ulrich Drepper <drepper@gmail.com>
18298 * po/it.po: Update from translation team.
18300 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18302 * sysdeps/x86_64/wcscmp.S: Update.
18303 Fix wrong comparison semantics.
18304 wcscmp shall use signed comparison not unsigned.
18305 Don't use substraction to avoid overflow bug.
18306 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
18307 * wcsmbc/wcscmp.c: Likewise.
18308 * string/test-strcmp.c: Likewise.
18309 Add new tests to check cases with negative values.
18311 2011-10-23 Ulrich Drepper <drepper@gmail.com>
18313 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
18314 * sysdeps/x86_64/dla.h: ...here. New file.
18315 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
18316 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18317 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18318 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18319 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18320 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18321 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18322 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18323 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18325 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
18327 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
18328 __ynl_finite aliases.
18330 2011-10-22 Ulrich Drepper <drepper@gmail.com>
18332 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18334 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
18336 [DLA_FMA] (EMULV): Use DLA_FMA.
18337 [DLA_FMA] (MUL12): Use EMULV.
18338 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
18339 that are not needed.
18340 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18341 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18342 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18343 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18344 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18345 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18346 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18348 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
18350 * math/s_nan.c: Undef __nan.
18351 * math/s_nanf.c: Undef __nanf.
18352 * math/s_nanl.c: Undef __nanl.
18353 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
18356 2011-10-22 Ulrich Drepper <drepper@gmail.com>
18358 * math/s_catan.c: Add branch predictions.
18359 * math/s_catanf.c: Likewise.
18360 * math/s_catanh.c: Likewise.
18361 * math/s_catanhf.c: Likewise.
18362 * math/s_catanhl.c: Likewise.
18363 * math/s_catanl.c: Likewise.
18364 * math/s_cexp.c: Likewise.
18365 * math/s_cexpf.c: Likewise.
18366 * math/s_cexpl.c: Likewise.
18367 * math/s_clog.c: Likewise.
18368 * math/s_clog10.c: Likewise.
18369 * math/s_clog10f.c: Likewise.
18370 * math/s_clog10l.c: Likewise.
18371 * math/s_clogf.c: Likewise.
18372 * math/s_clogl.c: Likewise.
18373 * math/s_csqrt.c: Likewise.
18374 * math/s_csqrtf.c: Likewise.
18375 * math/s_csqrtl.c: Likewise.
18376 * math/s_ctanf.c: Likewise.
18377 * math/s_ctanh.c: Likewise.
18378 * math/s_ctanhf.c: Likewise.
18379 * math/s_ctanhl.c: Likewise.
18380 * math/s_ctanl.c: Likewise.
18382 * math/math_private.h: Define __nan, __nanf, __nanl.
18383 * math/s_cacosh.c: Include <math_private.h>.
18384 * math/s_cacoshl.c: Likewise.
18385 * math/s_casinh.c: Likewise.
18386 * math/s_casinhf.c: Likewise.
18387 * math/s_casinhl.c: Likewise.
18388 * math/s_ccos.c: Rely entire on ccosh.
18389 * math/s_ccosf.c: Rely entire on ccoshf.
18390 * math/s_ccosl.c: Rely entirely on ccoshl.
18391 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
18392 Remove tests for FE_INVALID.
18393 * math/s_ccoshf.c: Likewise.
18394 * math/s_ccoshl.c: Likewise.
18395 * math/s_csin.c: Likewise.
18396 * math/s_csinf.c: Likewise.
18397 * math/s_csinh.c Likewise.
18398 * math/s_csinhf.c: Likewise.
18399 * math/s_csinhl.c: Likewise.
18400 * math/s_csinl.c: Likewise.
18401 * math/s_ctan.c: Likewise.
18402 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
18403 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
18404 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
18406 2011-10-21 Ulrich Drepper <drepper@gmail.com>
18408 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
18409 compilation problems.
18411 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
18414 2011-10-20 Ulrich Drepper <drepper@gmail.com>
18416 * sysdeps/i386/configure.in: Test for -mfma4 option.
18417 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
18418 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
18419 COMMON_CPUID_INDEX_80000001.
18420 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
18421 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
18422 use it if FMA3 is not supported.
18423 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18425 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
18426 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
18428 2011-10-20 Andreas Schwab <schwab@redhat.com>
18431 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
18432 it would create a cycle with a link time dependency.
18434 2011-10-19 Ulrich Drepper <drepper@gmail.com>
18436 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
18438 * string/Makefile (strop-tests): Add rawmemchr.
18439 * string/test-rawmemchr.c: New file.
18441 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
18442 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
18443 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
18444 when compiling str{,n}casecmp and when AVX is available. Hook up
18445 new optimized code in initializers.
18447 2011-10-19 Andreas Schwab <schwab@redhat.com>
18449 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
18450 __feraiseexcept instead of feraiseexcept.
18452 2011-10-18 Ulrich Drepper <drepper@gmail.com>
18454 * math/math_private.h: Define defaults for libc_fetestexcept and
18456 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
18457 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
18458 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18459 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18460 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18461 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18462 libc_fetestexcept and libc_feupdateenv.
18464 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
18465 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
18466 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
18467 * sysdeps/x86_64/fpu/math_private.h: Define special version of
18468 libc_feholdexcept_setround.
18470 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
18471 Add s_nearbyint-c and s_nearbyintf-c.
18472 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
18473 nearbyintf inlines.
18474 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
18475 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
18476 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
18477 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
18479 * math/math_private.h: Define defaults for libc_fegetround,
18480 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
18481 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
18482 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
18483 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
18484 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
18485 standard functions.
18486 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18487 Remove comments and hacks for old compiler versions.
18488 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
18489 libc_fegetround, libc_fesetround, libc_feholdexcept, and
18490 libc_feholdexceptl.
18492 2011-10-18 Andreas Schwab <schwab@redhat.com>
18494 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
18495 (__feraiseexcept_renamed): Add __NTH.
18496 (feraiseexcept): Add __NTH. Rename local variables to fix
18497 namespace violations.
18499 2011-10-17 Ulrich Drepper <drepper@gmail.com>
18501 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
18503 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
18505 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
18506 recently added interfaces.
18507 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
18509 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
18510 about macro parameter expansion.
18512 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
18513 __NO_MATH_INLINES is defined. Cleanups.
18515 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
18516 and __floorf is target has SSE4.1.
18517 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
18518 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
18519 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
18520 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
18522 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
18524 (floorf): Likewise.
18526 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
18528 2011-10-17 Andreas Schwab <schwab@redhat.com>
18530 * misc/sys/cdefs.h: Fix last change.
18532 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
18535 2011-10-16 Ulrich Drepper <drepper@gmail.com>
18537 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
18539 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
18540 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18541 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18542 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18543 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18544 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18545 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18546 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18547 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18548 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
18549 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
18550 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
18551 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
18552 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
18553 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
18554 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
18555 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
18556 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
18557 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
18558 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
18559 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
18560 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
18562 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
18563 ceil, ceilf, floor, floorf.
18565 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
18566 Perform IRELATIVE relocations last.
18568 * elf/do-rel.h: Add another parameter nrelative, replacing the
18569 local variable with the same name. Change name of the function
18570 to end in Rel or Rela (uppercase).
18571 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
18572 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
18573 elf_dynamic_do_##reloc function.
18575 2011-10-15 Ulrich Drepper <drepper@gmail.com>
18577 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
18578 is sufficient, at least on modern CPUs.
18580 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
18582 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
18583 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
18585 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
18587 * math/bits/math-finite.h: Add entries for exp.
18588 * math/e_expl.c: Add __*_finite alias.
18589 * sysdeps/i386/fpu/e_exp.S: Likewise.
18590 * sysdeps/i386/fpu/e_expf.S: Likewise.
18591 * sysdeps/i386/fpu/e_expl.c: Likewise.
18592 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18593 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18594 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18595 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18596 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
18597 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18598 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
18600 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
18601 is sufficient, at least on modern CPUs.
18603 * ctype/ctype-info.c (__ctype_init): Define.
18604 * include/ctype.h (__ctype_init): Declare.
18605 (__ctype_b_loc): The variable is always initialized.
18606 (__ctype_toupper_loc): Likewise.
18607 (__ctype_tolower_loc): Likewise.
18608 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
18609 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
18611 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
18613 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
18615 * configure.in: Also look in $cxxmachine/include for C++ system
18618 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18620 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
18621 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
18622 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
18623 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
18624 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
18625 (USE_AS_WMEMCMP): New macro.
18627 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
18628 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
18629 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
18630 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
18631 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18632 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
18633 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
18634 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
18635 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
18636 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
18637 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
18638 (USE_AS_WMEMCMP): New macro.
18639 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
18640 * sysdeps/string/test-memcmp.c: Update.
18641 Fix simple_wmemcmp.
18643 * wcsmbs/wmemcmp.c: Update.
18644 (WMEMCMP): New macro.
18647 2011-10-12 Andreas Jaeger <aj@suse.de>
18650 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
18652 2011-10-15 Ulrich Drepper <drepper@gmail.com>
18654 * libio/iofwide.c (do_length): Avoid warning.
18656 * ctype/ctype.h (__isctype_f): Add missing __THROW.
18658 2011-10-14 Ulrich Drepper <drepper@gmail.com>
18660 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
18662 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
18663 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
18664 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
18665 * sysdeps/i386/i686/fpu/e_log.S: New file.
18666 * sysdeps/i386/i686/fpu/e_logf.S: New file.
18667 * sysdeps/i386/i686/fpu/e_logl.S: New file.
18669 * ctype/ctype.h: Add support for inlined isXXX functions when
18670 compiling C++ code.
18672 2011-10-14 Andreas Schwab <schwab@redhat.com>
18674 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
18676 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
18678 2011-10-13 Roland McGrath <roland@hack.frob.com>
18681 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
18683 2011-10-13 Andreas Schwab <schwab@redhat.com>
18685 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
18686 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
18689 * sysdeps/x86_64/memrchr.S: Check for zero size.
18691 * string/stratcliff.c: Add memrchr tests.
18693 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18695 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18696 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
18697 rawmemchr-sse2 rawmemchr-sse2-bsf.
18698 * sysdeps/i386/i686/multiarch/memchr.S: New file.
18699 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
18700 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
18701 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
18702 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
18703 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
18704 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
18705 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
18706 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
18707 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
18708 * string/memrchr.c (MEMRCHR): New macro.
18710 2011-10-12 Ulrich Drepper <drepper@gmail.com>
18712 Add integration with gcc's -ffinite-math-only and optimize wrapper
18714 * Versions.def: Define GLIBC_2.15 version for libm.
18715 * math/Makefile (headers): Add bits/math-finite.h.
18716 * math/bits/math-finite.h: New file.
18717 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
18718 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
18719 * math/e_acoshl.c: Add __*_finite alias.
18720 * math/e_acosl.c: Likewise.
18721 * math/e_asinl.c: Likewise.
18722 * math/e_atan2l.c: Likewise.
18723 * math/e_atanhl.c: Likewise.
18724 * math/e_coshl.c: Likewise.
18725 * math/e_exp10.c: Likewise.
18726 * math/e_exp10f.c: Likewise.
18727 * math/e_exp10l.c: Likewise.
18728 * math/e_exp2l.c: Likewise.
18729 * math/e_fmodl.c: Likewise.
18730 * math/e_gammal_r.c: Likewise.
18731 * math/e_hypotl.c: Likewise.
18732 * math/e_j0l.c: Likewise.
18733 * math/e_j1l.c: Likewise.
18734 * math/e_jnl.c: Likewise.
18735 * math/e_lgammal_r.c: Likewise.
18736 * math/e_log10l.c: Likewise.
18737 * math/e_log2l.c: Likewise.
18738 * math/e_logl.c: Likewise.
18739 * math/e_powl.c: Likewise.
18740 * math/e_sinhl.c: Likewise.
18741 * math/e_sqrtl.c: Likewise.
18742 * math/e_scalb.c: Completely rewritten and optimized.
18743 * math/e_scalbf.c: Likewise.
18744 * math/e_scalbl.c: Likewise.
18745 * math/w_acos.c: Likewise.
18746 * math/w_acosf.c: Likewise.
18747 * math/w_acosl.c: Likewise.
18748 * math/w_acosh.c: Likewise.
18749 * math/w_acoshf.c: Likewise.
18750 * math/w_acoshl.c: Likewise.
18751 * math/w_asin.c: Likewise.
18752 * math/w_asinf.c: Likewise.
18753 * math/w_asinl.c: Likewise.
18754 * math/w_atan2.c: Likewise.
18755 * math/w_atan2f.c: Likewise.
18756 * math/w_atan2l.c: Likewise.
18757 * math/w_atanh.c: Likewise.
18758 * math/w_atanhf.c: Likewise.
18759 * math/w_atanhl.c: Likewise.
18760 * math/w_exp10.c: Likewise.
18761 * math/w_exp10f.c: Likewise.
18762 * math/w_exp10l.c: Likewise.
18763 * math/w_fmod.c: Likewise.
18764 * math/w_fmodf.c: Likewise.
18765 * math/w_fmodl.c: Likewise.
18766 * math/w_j0.c: Likewise.
18767 * math/w_j0f.c: Likewise.
18768 * math/w_j0l.c: Likewise.
18769 * math/w_j1.c: Likewise.
18770 * math/w_j1f.c: Likewise.
18771 * math/w_j1l.c: Likewise.
18772 * math/w_jn.c: Likewise.
18773 * math/w_jnf.c: Likewise.
18774 * math/w_log.c: Likewise.
18775 * math/w_logf.c: Likewise.
18776 * math/w_logl.c: Likewise.
18777 * math/w_log10.c: Likewise.
18778 * math/w_log10f.c: Likewise.
18779 * math/w_log10l.c: Likewise.
18780 * math/w_log2.c: Likewise.
18781 * math/w_log2f.c: Likewise.
18782 * math/w_log2l.c: Likewise.
18783 * math/w_pow.c: Likewise.
18784 * math/w_powf.c: Likewise.
18785 * math/w_powl.c: Likewise.
18786 * math/w_remainder.c: Likewise.
18787 * math/w_remainderf.c: Likewise.
18788 * math/w_remainderl.c: Likewise.
18789 * math/w_scalb.c: Likewise.
18790 * math/w_scalbf.c: Likewise.
18791 * math/w_scalbl.c: Likewise.
18792 * math/w_sqrt.c: Likewise.
18793 * math/w_sqrtf.c: Likewise.
18794 * math/w_sqrtl.c: Likewise.
18795 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
18796 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
18798 * math/math_private.h: Declare __kernel_standard_f.
18799 * math/w_cosh.c: Remove cruft and optimize a bit.
18800 * math/w_coshf.c: Likewise.
18801 * math/w_coshl.c: Likewise.
18802 * math/w_exp2.c: Likewise.
18803 * math/w_exp2f.c: Likewise.
18804 * math/w_exp2l.c: Likewise.
18805 * math/w_hypot.c: Likewise.
18806 * math/w_hypotf.c: Likewise.
18807 * math/w_hypotl.c: Likewise.
18808 * math/w_lgamma.c: Likewise.
18809 * math/w_lgamma_r.c: Likewise.
18810 * math/w_lgammaf.c: Likewise.
18811 * math/w_lgammaf_r.c: Likewise.
18812 * math/w_lgammal.c: Likewise.
18813 * math/w_lgammal_r.c: Likewise.
18814 * math/w_sinh.c: Likewise.
18815 * math/w_sinhf.c: Likewise.
18816 * math/w_sinhl.c: Likewise.
18817 * math/w_tgamma.c: Likewise.
18818 * math/w_tgammaf.c: Likewise.
18819 * math/w_tgammal.c: Likewise.
18820 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18821 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18822 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
18823 Minor optimizations. Pretty printing. Remove cruft.
18824 * sysdeps/i386/fpu/e_acosf.S: Likewise.
18825 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18826 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18827 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18828 * sysdeps/i386/fpu/e_acosl.c: Likewise.
18829 * sysdeps/i386/fpu/e_asin.S: Likewise.
18830 * sysdeps/i386/fpu/e_asinf.S: Likewise.
18831 * sysdeps/i386/fpu/e_atan2.S: Likewise.
18832 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
18833 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
18834 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18835 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18836 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18837 * sysdeps/i386/fpu/e_exp10.S: Likewise.
18838 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
18839 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
18840 * sysdeps/i386/fpu/e_exp2.S: Likewise.
18841 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
18842 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
18843 * sysdeps/i386/fpu/e_fmod.S: Likewise.
18844 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
18845 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
18846 * sysdeps/i386/fpu/e_hypot.S: Likewise.
18847 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
18848 * sysdeps/i386/fpu/e_log.S: Likewise.
18849 * sysdeps/i386/fpu/e_log10.S: Likewise.
18850 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18851 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18852 * sysdeps/i386/fpu/e_log2.S: Likewise.
18853 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18854 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18855 * sysdeps/i386/fpu/e_logf.S: Likewise.
18856 * sysdeps/i386/fpu/e_logl.S: Likewise.
18857 * sysdeps/i386/fpu/e_pow.S: Likewise.
18858 * sysdeps/i386/fpu/e_powf.S: Likewise.
18859 * sysdeps/i386/fpu/e_powl.S: Likewise.
18860 * sysdeps/i386/fpu/e_remainder.S: Likewise.
18861 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
18862 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
18863 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18864 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18865 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18866 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
18867 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
18868 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
18869 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18870 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18871 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18872 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18873 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18874 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18875 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18876 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18877 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18878 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18879 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18880 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18881 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18882 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18883 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18884 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18885 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18886 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18887 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18888 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18889 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18890 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18891 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18892 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18893 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18894 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18895 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
18896 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18897 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
18898 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18899 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18900 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18901 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18902 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18903 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18904 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18905 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18906 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18907 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18908 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18909 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18910 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18911 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18912 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18913 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18914 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18915 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18916 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18917 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18918 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
18919 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18920 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18921 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18922 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18923 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18924 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18925 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18926 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18927 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18928 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18929 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18930 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18931 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18932 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18933 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18934 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18935 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18936 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18937 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
18938 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18939 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18940 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18941 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18942 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18943 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18944 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18945 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18946 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18947 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18948 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18949 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18950 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18951 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
18952 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18953 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18954 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18955 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18956 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18957 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18958 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18959 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18960 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18961 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18962 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18963 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18964 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
18965 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
18966 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18967 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18968 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18969 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
18970 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
18971 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
18972 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
18973 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18974 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18975 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18976 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18977 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
18978 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18979 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
18980 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
18981 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
18982 (__isnanf): Likewise.
18983 (__isinf_ns): Likewise.
18984 (__isinf_nsf): Likewise.
18985 (__finite): Likewise.
18986 (__finitef): Likewise.
18987 (__ieee754_sqrt): Define as macro.
18988 (__ieee754_sqrtf): Define as macro.
18989 (__ieee754_sqrtl): Define as macro.
18990 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
18992 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
18993 __FINITE_MATH_ONLY__ consistent.
18994 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
18996 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
18998 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
19001 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
19003 2011-10-09 Ulrich Drepper <drepper@gmail.com>
19005 * po/ja.po: Update from translation team.
19007 2011-10-08 Roland McGrath <roland@hack.frob.com>
19009 * locale/programs/locarchive.c (prepare_address_space): New function.
19010 (create_archive, enlarge_archive, open_archive): Use it.
19012 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
19013 inside [SHARED], where it is used.
19015 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
19017 * nss/getent.c (netgroup_keys): Remove unused variable.
19018 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
19020 2011-10-08 Ulrich Drepper <drepper@gmail.com>
19022 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
19023 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
19024 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
19025 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
19026 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
19027 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
19028 * math/Makefile (libm-calls): Add s_isinf_ns.
19029 * math/divtc3.c: Use __isinf_nsl instead of isinf.
19030 * math/multc3.c: Likewise.
19031 * math/s_casin.c: Likewise.
19032 * math/s_casinf.c: Likewise.
19033 * math/s_casinl.c: Likewise.
19034 * math/s_ccos.c: Likewise.
19035 * math/s_ccosf.c: Likewise.
19036 * math/s_ccosl.c: Likewise.
19037 * math/s_ctan.c: Likewise.
19038 * math/s_ctanf.c: Likewise.
19039 * math/s_ctanh.c: Likewise.
19040 * math/s_ctanhf.c: Likewise.
19041 * math/s_ctanhl.c: Likewise.
19042 * math/s_ctanl.c: Likewise.
19043 * math/w_fmod.c: Likewise.
19044 * math/w_fmodf.c: Likewise.
19045 * math/w_fmodl.c: Likewise.
19046 * math/w_remainder.c: Likewise.
19047 * math/w_remainderf.c: Likewise.
19048 * math/w_remainderl.c: Likewise.
19049 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
19050 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
19051 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
19052 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
19053 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
19054 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
19055 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
19056 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
19058 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
19060 * stdio-common/printf_fphex.c: Likewise.
19061 * stdio-common/printf_size.c: Likewise.
19063 * math/e_exp10.c: Include math_private.h using <...> not "...".
19064 * math/e_exp10f.c: Likewise.
19065 * math/e_exp10l.c: Likewise.
19066 * math/e_exp2l.c: Likewise.
19067 * math/e_j0l.c: Likewise.
19068 * math/e_j1l.c: Likewise.
19069 * math/e_jnl.c: Likewise.
19070 * math/e_lgammal_r.c: Likewise.
19071 * math/e_rem_pio2l.c: Likewise.
19072 * math/e_scalb.c: Likewise.
19073 * math/e_scalbf.c: Likewise.
19074 * math/e_scalbl.c: Likewise.
19075 * math/k_cosl.c: Likewise.
19076 * math/k_sinl.c: Likewise.
19077 * math/k_tanl.c: Likewise.
19078 * math/s_cacoshf.c: Likewise.
19079 * math/s_catan.c: Likewise.
19080 * math/s_catanf.c: Likewise.
19081 * math/s_catanh.c: Likewise.
19082 * math/s_catanhf.c: Likewise.
19083 * math/s_catanhl.c: Likewise.
19084 * math/s_catanl.c: Likewise.
19085 * math/s_ccosh.c: Likewise.
19086 * math/s_ccoshf.c: Likewise.
19087 * math/s_ccoshl.c: Likewise.
19088 * math/s_cexp.c: Likewise.
19089 * math/s_cexpf.c: Likewise.
19090 * math/s_cexpl.c: Likewise.
19091 * math/s_clog.c: Likewise.
19092 * math/s_clog10.c: Likewise.
19093 * math/s_clog10f.c: Likewise.
19094 * math/s_clog10l.c: Likewise.
19095 * math/s_clogf.c: Likewise.
19096 * math/s_clogl.c: Likewise.
19097 * math/s_csin.c: Likewise.
19098 * math/s_csinf.c: Likewise.
19099 * math/s_csinh.c: Likewise.
19100 * math/s_csinhf.c: Likewise.
19101 * math/s_csinhl.c: Likewise.
19102 * math/s_csinl.c: Likewise.
19103 * math/s_csqrt.c: Likewise.
19104 * math/s_csqrtf.c: Likewise.
19105 * math/s_csqrtl.c: Likewise.
19106 * math/s_ctan.c: Likewise.
19107 * math/s_ctanf.c: Likewise.
19108 * math/s_ctanh.c: Likewise.
19109 * math/s_ctanhf.c: Likewise.
19110 * math/s_ctanhl.c: Likewise.
19111 * math/s_ctanl.c: Likewise.
19112 * math/s_ldexp.c: Likewise.
19113 * math/s_ldexpf.c: Likewise.
19114 * math/s_ldexpl.c: Likewise.
19115 * math/s_significand.c: Likewise.
19116 * math/s_significandf.c: Likewise.
19117 * math/s_significandl.c: Likewise.
19118 * math/w_acos.c: Likewise.
19119 * math/w_acosf.c: Likewise.
19120 * math/w_acosh.c: Likewise.
19121 * math/w_acoshf.c: Likewise.
19122 * math/w_acoshl.c: Likewise.
19123 * math/w_acosl.c: Likewise.
19124 * math/w_asin.c: Likewise.
19125 * math/w_asinf.c: Likewise.
19126 * math/w_asinl.c: Likewise.
19127 * math/w_atan2.c: Likewise.
19128 * math/w_atan2f.c: Likewise.
19129 * math/w_atan2l.c: Likewise.
19130 * math/w_atanh.c: Likewise.
19131 * math/w_atanhf.c: Likewise.
19132 * math/w_atanhl.c: Likewise.
19133 * math/w_cosh.c: Likewise.
19134 * math/w_coshf.c: Likewise.
19135 * math/w_coshl.c: Likewise.
19136 * math/w_dremf.c: Likewise.
19137 * math/w_exp10.c: Likewise.
19138 * math/w_exp10f.c: Likewise.
19139 * math/w_exp10l.c: Likewise.
19140 * math/w_exp2.c: Likewise.
19141 * math/w_exp2f.c: Likewise.
19142 * math/w_fmod.c: Likewise.
19143 * math/w_fmodf.c: Likewise.
19144 * math/w_fmodl.c: Likewise.
19145 * math/w_hypot.c: Likewise.
19146 * math/w_hypotf.c: Likewise.
19147 * math/w_hypotl.c: Likewise.
19148 * math/w_j0.c: Likewise.
19149 * math/w_j0f.c: Likewise.
19150 * math/w_j0l.c: Likewise.
19151 * math/w_j1.c: Likewise.
19152 * math/w_j1f.c: Likewise.
19153 * math/w_j1l.c: Likewise.
19154 * math/w_jn.c: Likewise.
19155 * math/w_jnf.c: Likewise.
19156 * math/w_jnl.c: Likewise.
19157 * math/w_lgamma.c: Likewise.
19158 * math/w_lgamma_r.c: Likewise.
19159 * math/w_lgammaf.c: Likewise.
19160 * math/w_lgammaf_r.c: Likewise.
19161 * math/w_lgammal.c: Likewise.
19162 * math/w_lgammal_r.c: Likewise.
19163 * math/w_log.c: Likewise.
19164 * math/w_log10.c: Likewise.
19165 * math/w_log10f.c: Likewise.
19166 * math/w_log10l.c: Likewise.
19167 * math/w_log2.c: Likewise.
19168 * math/w_log2f.c: Likewise.
19169 * math/w_log2l.c: Likewise.
19170 * math/w_logf.c: Likewise.
19171 * math/w_logl.c: Likewise.
19172 * math/w_pow.c: Likewise.
19173 * math/w_powf.c: Likewise.
19174 * math/w_powl.c: Likewise.
19175 * math/w_remainder.c: Likewise.
19176 * math/w_remainderf.c: Likewise.
19177 * math/w_remainderl.c: Likewise.
19178 * math/w_scalb.c: Likewise.
19179 * math/w_scalbf.c: Likewise.
19180 * math/w_scalbl.c: Likewise.
19181 * math/w_sinh.c: Likewise.
19182 * math/w_sinhf.c: Likewise.
19183 * math/w_sinhl.c: Likewise.
19184 * math/w_sqrt.c: Likewise.
19185 * math/w_sqrtf.c: Likewise.
19186 * math/w_sqrtl.c: Likewise.
19187 * math/w_tgamma.c: Likewise.
19188 * math/w_tgammaf.c: Likewise.
19189 * math/w_tgammal.c: Likewise.
19191 * po/ja.po: Update from translation team.
19193 2011-09-29 Andreas Jaeger <aj@suse.de>
19196 * sunrpc/netname.c (netname2host): Fix logic.
19200 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
19202 * math/w_remainder.c (__remainder): Likewise.
19203 * math/w_remainderf.c (__remainderf): Likewise.
19204 * math/libm-test.inc (remainder_test): Add test cases.
19206 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19208 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
19211 2011-10-07 Ulrich Drepper <drepper@gmail.com>
19213 * string/test-memcmp.c: Avoid unncessary #defines.
19214 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
19216 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19218 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
19219 Use new sse2 version for core i3 - i7 as it's faster
19220 than sse42 version.
19221 (bit_Prefer_PMINUB_for_stringop): New.
19222 * sysdeps/x86_64/rawmemchr.S: Update.
19223 Replace with faster SSE2 version.
19224 * sysdeps/x86_64/memrchr.S: New file.
19225 * sysdeps/x86_64/memchr.S: Update.
19226 Replace with faster SSE2 version.
19228 2011-09-12 Marek Polacek <mpolacek@redhat.com>
19230 * elf/dl-load.c (lose): Add cast to avoid warning.
19232 2011-10-07 Ulrich Drepper <drepper@gmail.com>
19234 * po/ca.po: Update from translation team.
19236 * inet/getnetgrent_r.c: Hook up nscd.
19237 * nscd/Makefile (routines): Add nscd_netgroup.
19238 (nscd-modules): Add netgroupcache.
19239 (CFLAGS-netgroupcache.c): Define.
19240 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
19241 (cache_search): Add const to second parameter.
19242 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
19244 (dbs): Add netgrdb entry.
19245 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
19246 (verify_persistent_db): Handle netgrdb.
19247 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
19248 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
19250 (netgroup_response_header): Define.
19251 (innetgroup_response_header): Define.
19252 (datahead): Add netgroup_response_header and innetgroup_response_header
19254 * nscd/nscd.conf: Add entries for netgroup cache.
19255 * nscd/nscd.h (dbtype): Add netgrdb.
19256 (_PATH_NSCD_NETGROUP_DB): Define.
19257 (netgroup_iov_disabled): Declare.
19258 (xmalloc, xcalloc, xrealloc): Move declarations here.
19259 (cache_search): Adjust prototype.
19260 Add netgroup-related prototypes.
19261 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
19262 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
19263 (__nscd_innetgr): Declare.
19264 * nscd/selinux.c (perms): Use access_vector_t as element type and
19265 add netgroup-related initializers.
19266 * nscd/netgroupcache.c: New file.
19267 * nscd/nscd_netgroup.c: New file.
19268 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
19269 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
19270 For four parameters use innetgr.
19271 * nss/nss_files/files-init.c: Add definition and callback for netgr.
19272 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
19273 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
19274 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
19276 * nscd/connections.c (register_traced_file): Don't register file
19277 for disabled databases.
19279 2011-10-06 Ulrich Drepper <drepper@gmail.com>
19281 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
19283 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
19284 from tree and freeing node.
19286 2011-09-25 Jiri Olsa <jolsa@redhat.com>
19288 * nss/nsswitch.c (__nss_database_lookup): Handle
19289 nss_parse_service_list out of memory case.
19291 2011-09-15 Jiri Olsa <jolsa@redhat.com>
19293 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
19294 out of memory case.
19296 2011-10-04 Andreas Schwab <schwab@redhat.com>
19298 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
19299 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
19301 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
19302 elf_machine_rela, elf_machine_lazy_rel.
19303 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
19304 (ELF_DYNAMIC_DO_REL): Likewise.
19305 (ELF_DYNAMIC_DO_RELA): Likewise.
19306 (ELF_DYNAMIC_RELOCATE): Likewise.
19307 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
19308 to ELF_DYNAMIC_DO_REL.
19309 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
19310 (dl_main): In trace mode always set __RTLD_NOIFUNC.
19311 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
19313 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
19314 skip_ifunc, don't call ifunc function if non-zero.
19315 (elf_machine_rela): Likewise.
19316 (elf_machine_lazy_rel): Likewise.
19317 (elf_machine_lazy_rela): Likewise.
19318 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
19319 (elf_machine_lazy_rel): Likewise.
19320 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
19322 (elf_machine_lazy_rel): Likewise.
19323 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19325 (elf_machine_lazy_rel): Likewise.
19326 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
19327 (elf_machine_lazy_rel): Likewise.
19328 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
19329 (elf_machine_lazy_rel): Likewise.
19330 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19331 (elf_machine_lazy_rel): Likewise.
19332 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
19333 (elf_machine_lazy_rel): Likewise.
19334 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
19335 (elf_machine_lazy_rel): Likewise.
19336 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19337 (elf_machine_lazy_rel): Likewise.
19339 2011-09-28 Ulrich Drepper <drepper@gmail.com>
19341 * nss/nss_files/files-init.c (_nss_files_init): Use static
19342 initialization for all the *_traced_file variables.
19344 2011-09-28 Andreas Schwab <schwab@redhat.com>
19346 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19348 2011-09-27 Roland McGrath <roland@hack.frob.com>
19351 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
19353 2011-09-27 Andreas Schwab <schwab@redhat.com>
19355 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
19356 Reread the line before reparsing it.
19358 2011-09-26 Andreas Schwab <schwab@redhat.com>
19360 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
19362 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
19363 Maxim Kuvyrkov <maxim@codesourcery.com>
19364 Joseph Myers <joseph@codesourcery.com>
19366 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
19367 if needed for __stack_chk_guard.
19369 2011-09-19 Roland McGrath <roland@hack.frob.com>
19371 * sysdeps/posix/spawni.c (script_execute): Always define it.
19372 It will be optimized away if unused.
19373 (maybe_script_execute): New function.
19374 (__spawni): Call it.
19376 * Makerules: Don't include tls.make.
19377 (config-tls): Always set to thread.
19378 * tls.make.c: File removed.
19380 2011-09-19 Mike Frysinger <vapier@gentoo.org>
19382 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
19383 * config.make.in (CPPFLAGS-config): New substituted variable.
19385 2011-09-15 Ulrich Drepper <drepper@gmail.com>
19387 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
19390 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
19391 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
19393 2011-09-15 Roland McGrath <roland@hack.frob.com>
19395 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
19396 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
19397 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
19398 (CALL_FAIL): Likewise.
19399 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
19400 (CALL_FAIL): Macro removed.
19401 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
19403 2011-09-15 Ulrich Drepper <drepper@gmail.com>
19405 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
19406 for __FINITE_MATH_ONLY__ == 1.
19408 2011-09-15 Andreas Schwab <schwab@redhat.com>
19410 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
19411 __ieee754_sqrt instead of sqrt.
19412 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
19413 __ieee754_sqrtf instead of sqrtf.
19414 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
19415 __floorf instead of floorf.
19416 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
19417 __floorf, __truncf instead of floorf, truncf.
19419 2011-09-14 Ulrich Drepper <drepper@gmail.com>
19421 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
19423 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
19424 __extern_always_inline.
19425 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
19428 2011-09-14 Andreas Schwab <schwab@redhat.com>
19430 * elf/rtld.c (dl_main): Also relocate in dependency order when
19431 doing symbol dependency testing.
19433 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
19435 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19436 Always define `refsym'.
19438 2011-09-13 Andreas Schwab <schwab@redhat.com>
19440 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
19441 (__FD_ELT): Renamed from __FDELT.
19442 * misc/bits/select2.h (__FD_ELT): Likewise.
19443 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
19444 __FD_MASK instead of __FDELT, __FDMASK.
19445 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19447 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
19450 * elf/Makefile (gen-ldd): Fix pattern.
19452 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
19453 (init_tls): Likewise.
19455 2011-09-12 Ulrich Drepper <drepper@gmail.com>
19457 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
19459 2011-09-12 Andreas Schwab <schwab@redhat.com>
19461 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
19462 `struct cmsghdr *' instead of `void *'.
19463 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
19466 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19468 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
19470 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
19471 ldd_rewrite_script.
19473 2011-09-11 Ulrich Drepper <drepper@gmail.com>
19475 * configure.in: Remove --with-tls option.
19476 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
19477 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
19478 out in case it is missing.
19479 * sysdeps/ia64/elf/configure.in: Likewise.
19480 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
19481 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
19482 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
19483 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
19484 * sysdeps/sh/elf/configure.in: Likewise.
19485 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
19486 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19487 * sysdeps/x86_64/elf/configure.in: Likewise.
19488 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
19489 * sysdeps/mach/hurd/tls.h: Likewise.
19492 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
19495 * configure.in: Fix use of AC_INIT.
19497 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
19499 2011-09-10 Ulrich Drepper <drepper@gmail.com>
19501 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
19503 * malloc/hooks.c: Likewise.
19506 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
19507 variables statically.
19508 (narenas): Initialize.
19509 (list_lock): Initialize.
19510 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
19511 initializtion of main_arena and list_lock. Small cleanups.
19512 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
19513 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
19514 Add initializers to main_arena and mp_.
19515 (malloc_state): Remove pagesize member. Change all users to use
19518 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
19519 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
19520 is always initialized.
19522 * malloc/malloc.c: Removed unused configurations and dead code.
19523 * malloc/arena.c: Likewise.
19524 * malloc/hooks.c: Likewise.
19525 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
19527 * include/tls.h: Removed. USE___THREAD must always be defined.
19528 * bits/libc-tsd.h: Don't handle !USE___THREAD.
19529 * elf/dl-libc.c: Likewise.
19530 * elf/dl-tsd.c: Likewise.
19531 * include/errno.h: Likewise.
19532 * include/netdb.h: Likewise.
19533 * include/resolv.h: Likewise.
19534 * inet/herrno-loc.c: Likewise.
19535 * inet/herrno.c: Likewise.
19536 * malloc/arena.c: Likewise.
19537 * malloc/hooks.c: Likewise.
19538 * malloc/malloc.c: Likewise.
19539 * resolv/res-state.c: Likewise.
19540 * resolv/res_libc.c: Likewise.
19541 * sysdeps/i386/dl-machine.h: Likewise.
19542 * sysdeps/ia64/dl-machine.h: Likewise.
19543 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19544 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19545 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19546 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19547 * sysdeps/sh/dl-machine.h: Likewise.
19548 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19549 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19550 * sysdeps/unix/i386/sysdep.S: Likewise.
19551 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19552 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
19553 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
19554 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19555 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
19556 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19557 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19558 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
19559 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19560 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19561 * sysdeps/unix/x86_64/sysdep.S: Likewise.
19562 * sysdeps/x86_64/dl-machine.h: Likewise.
19563 * tls.make.c: Likewise.
19565 * configure.in: Remove --with-__thread option. Make tests for
19566 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
19567 tls_model attribute fail if no support is available. Remove
19569 * Makeconfig: Adjust for dropped configure option. All features are
19571 * Makerules: Likewise.
19572 * Versions.def: Likewise.
19573 * argp/argp-fmtstream.c: Likewise.
19574 * argp/argp-fmtstream.h: Likewise.
19575 * argp/argp-help.c: Likewise.
19576 * assert/assert.c: Likewise.
19577 * config.h.in: Likewise.
19578 * config.make.in: Likewise.
19579 * configure: Likewise.
19580 * configure.in: Likewise.
19581 * csu/Versions: Likewise.
19582 * csu/init.c: Likewise.
19583 * elf/tst-audit2.c: Likewise.
19584 * elf/tst-tls10.c: Likewise.
19585 * elf/tst-tls10.h: Likewise.
19586 * elf/tst-tls11.c: Likewise.
19587 * elf/tst-tls12.c: Likewise.
19588 * elf/tst-tls14.c: Likewise.
19589 * elf/tst-tlsmod11.c: Likewise.
19590 * elf/tst-tlsmod12.c: Likewise.
19591 * elf/tst-tlsmod13.c: Likewise.
19592 * elf/tst-tlsmod13a.c: Likewise.
19593 * elf/tst-tlsmod14a.c: Likewise.
19594 * elf/tst-tlsmod15b.c: Likewise.
19595 * elf/tst-tlsmod16a.c: Likewise.
19596 * elf/tst-tlsmod16b.c: Likewise.
19597 * elf/tst-tlsmod7.c: Likewise.
19598 * elf/tst-tlsmod8.c: Likewise.
19599 * elf/tst-tlsmod9.c: Likewise.
19600 * gmon/gmon.c: Likewise.
19601 * grp/fgetgrent_r.c: Likewise.
19602 * grp/putgrent.c: Likewise.
19603 * hurd/fopenport.c: Likewise.
19604 * include/libc-symbols.h: Likewise.
19605 * include/tls.h: Likewise.
19606 * intl/gettextP.h: Likewise.
19607 * intl/loadinfo.h: Likewise.
19608 * locale/global-locale.c: Likewise.
19609 * locale/localeinfo.h: Likewise.
19610 * mach/devstream.c: Likewise.
19611 * malloc/arena.c: Likewise.
19612 * malloc/set-freeres.c: Likewise.
19613 * misc/err.c: Likewise.
19614 * misc/getttyent.c: Likewise.
19615 * misc/mntent_r.c: Likewise.
19616 * posix/getopt.c: Likewise.
19617 * posix/wordexp.c: Likewise.
19618 * pwd/fgetpwent_r.c: Likewise.
19619 * resolv/Versions: Likewise.
19620 * resolv/res_hconf.c: Likewise.
19621 * shadow/fgetspent_r.c: Likewise.
19622 * shadow/putspent.c: Likewise.
19623 * stdio-common/printf_fphex.c: Likewise.
19624 * stdio-common/tmpfile.c: Likewise.
19625 * stdlib/abort.c: Likewise.
19626 * stdlib/fmtmsg.c: Likewise.
19627 * sunrpc/auth_unix.c: Likewise.
19628 * sunrpc/clnt_perr.c: Likewise.
19629 * sunrpc/clnt_tcp.c: Likewise.
19630 * sunrpc/clnt_udp.c: Likewise.
19631 * sunrpc/clnt_unix.c: Likewise.
19632 * sunrpc/openchild.c: Likewise.
19633 * sunrpc/svc_simple.c: Likewise.
19634 * sunrpc/svc_tcp.c: Likewise.
19635 * sunrpc/svc_udp.c: Likewise.
19636 * sunrpc/svc_unix.c: Likewise.
19637 * sunrpc/xdr.c: Likewise.
19638 * sunrpc/xdr_array.c: Likewise.
19639 * sunrpc/xdr_rec.c: Likewise.
19640 * sunrpc/xdr_ref.c: Likewise.
19641 * sunrpc/xdr_stdio.c: Likewise.
19643 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19645 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19647 2011-07-03 Andreas Jaeger <aj@suse.de>
19649 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
19650 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
19651 regenerate with gen-libm-tests.pl.
19653 2010-05-12 Petr Baudis <pasky@suse.cz>
19656 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
19657 around j0() zero points by switching to j1().
19658 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19659 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19660 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19661 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19663 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19665 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
19667 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
19669 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19670 Patch in part by Pavel Roskin <proski@gnu.org>.
19673 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
19675 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
19676 Free memory block if necessary.
19679 * libio/genops.c (INTDEF): For string streams the _lock pointer can
19680 be NULL. Don't lock in this case.
19682 2011-09-09 Roland McGrath <roland@hack.frob.com>
19684 * elf/elf.h (ELFOSABI_GNU): New macro.
19685 (ELFOSABI_LINUX): Define to that.
19687 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
19689 * string/strncat.c (strncat): Undef the symbol in case it has been
19690 defined in bits/string.h.
19692 2011-09-09 Ulrich Drepper <drepper@gmail.com>
19694 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
19696 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
19699 2011-08-17 Andreas Jaeger <aj@suse.de>
19701 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
19703 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19704 Ian Lance Taylor <iant@google.com>
19706 * math/libm-test.inc (lround_test): New testcase.
19707 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
19709 2011-09-08 Ulrich Drepper <drepper@gmail.com>
19711 * Makefile: Remove support for automatic cvs check-ins.
19712 * Makerules: Likewise.
19713 * config.make.in: Likewise.
19714 * configure.in: Likewise.
19715 * intl/Makefile: Likewise.
19716 * locale/Makefile: Likewise.
19717 * po/Makefile: Likewise.
19718 * posix/Makefile: Likewise.
19719 * sysdeps/gnu/Makefile: Likewise.
19720 * sysdeps/mach/hurd/Makefile: Likewise.
19721 * sysdeps/sparc/sparc32/Makefile: Likewise.
19724 * posix/Makefile (bug-regex32-ENV): Define.
19725 Patch by John Stanley <jpsinthemix@verizon.net>.
19727 * misc/Makefile (headers): Add bits/select2.h.
19728 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
19729 * misc/bits/select2.h: New file.
19730 * include/bits/select2.h: New file.
19731 * debug/Makefile (routines): Add fdelt_chk.
19732 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
19733 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
19735 * debug/fdelt_chk.c: New file.
19737 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
19738 * wcsmbs/test-wmemcmp.c: Likewise.
19739 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
19740 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
19742 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19744 * string/Makefile (strop-tests): Add memcmp.
19745 * string/test-wmemcmp.c: New file.
19746 * string/test-memcmp.c: Add wmemcmp support.
19748 2011-09-08 Roland McGrath <roland@hack.frob.com>
19751 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
19754 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
19755 garbage value in a __mach_port_mod_refs call in the cases of the
19756 task-self and thread-self ports.
19758 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19760 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
19762 2011-09-08 Andreas Schwab <schwab@redhat.com>
19764 * elf/dl-load.c (lose): Check for non-null L.
19766 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19768 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
19770 * elf/dl-libc.c (dlerror_run): Pass back error code from
19774 * elf/dl-load.c (lose): Free l_origin if it is valid.
19776 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
19778 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
19779 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19780 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
19781 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19782 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
19783 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
19785 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19787 * sysdeps/powerpc/fpu/e_hypot.c: New file.
19788 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
19789 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
19790 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
19791 * sysdeps/powerpc/fpu/k_cosf.c: New file.
19792 * sysdeps/powerpc/fpu/k_sinf.c: New file.
19793 * sysdeps/powerpc/fpu/s_cosf.c: New file.
19794 * sysdeps/powerpc/fpu/s_sinf.c: New file.
19795 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
19796 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
19798 2011-08-15 Alan Modra <amodra@gmail.com>
19801 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
19802 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
19803 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
19804 ppc_mcount to static-only-routines.
19805 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
19807 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
19808 __mcount_internal with usual JUMPTARGET. Remove useless nop.
19810 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
19812 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
19813 for finite and infinity parameters.
19815 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
19817 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
19818 and add nop instructions for throughput optimization.
19819 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19821 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
19823 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
19824 aligned copy for power7 with vector-scalar instructions.
19825 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19827 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
19829 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
19832 2011-09-07 Andreas Schwab <schwab@redhat.com>
19835 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
19838 2011-09-07 Ulrich Drepper <drepper@gmail.com>
19840 * sysdeps/unix/sysv/linux/x86_64/init-first.c
19841 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
19842 syscall wrapper around clock_gettime in __vdso_clock_gettime.
19843 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
19846 2011-09-06 Ulrich Drepper <drepper@gmail.com>
19848 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
19849 Forgot to demangle the pointer.
19851 * sysdeps/i386/sysdep.h: Define atom_text_section.
19852 * sysdeps/x86_64/sysdep.h: Likewise.
19853 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
19854 section with atom_text_section.
19855 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
19856 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
19857 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
19858 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
19859 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
19861 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
19862 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
19863 already be defined. Change to take two parameters and don't assign
19864 result to variable. Adjust all users.
19865 Define INTERNAL_GETTIME if not already defined.
19866 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
19868 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
19869 HAVE_CLOCK_GETTIME_VSYSCALL.
19870 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
19872 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
19873 gettimeofday vsyscall, just use time.
19875 2011-09-06 Andreas Schwab <schwab@redhat.com>
19877 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
19880 2011-09-06 Ulrich Drepper <drepper@gmail.com>
19882 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
19884 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
19886 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19887 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
19888 syscall if possible.
19890 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19892 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
19893 e_ident. Don't pass to find_mapsXX.
19894 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
19896 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19898 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19899 strchr-sse2-no-bsf strrchr-sse2-no-bsf
19900 * sysdeps/x86_64/multiarch/strchr.S: Update.
19901 Check bit_slow_BSF bit.
19902 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
19903 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
19904 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
19906 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19909 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
19911 (tryshell): Define.
19912 (__spawni): Change last parameter to be flag. Test
19913 SPAWN_XFLAGS_USE_PATH flag to use path or not.
19914 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
19915 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
19916 * posix/spawni.c: Likewise.
19917 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
19918 * posix/spawnp.c: Likewise. Change normal version to use
19919 SPAWN_XFLAGS_USE_PATH.
19920 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
19921 SPAWN_XFLAGS_TRY_SHELL.
19924 * posix/glob.h: Remove gcc 1.x support.
19927 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
19929 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
19931 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
19932 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
19934 * sysdeps/i386/i686/multiarch/strchr.S: New file.
19935 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
19936 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
19937 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
19938 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
19939 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
19941 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
19943 * sysdeps/x86_64/wcscmp.S: New file.
19945 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
19946 wcscmp-c wcscmp-sse2
19947 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
19948 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
19949 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
19950 * wcsmbs/wcscmp.c: Allow renaming.
19952 2011-09-05 David S. Miller <davem@davemloft.net>
19954 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
19955 stack slot, rather than the struct return pointer slot.
19956 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
19957 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
19958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
19959 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
19961 2011-09-05 Ulrich Drepper <drepper@gmail.com>
19963 * po/ja.po: Update from translation team.
19966 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
19967 kernel in 64-bit binaries.
19969 2011-09-01 David S. Miller <davem@davemloft.net>
19971 * elf/elf.h (HWCAP_SPARC_*): Move to..
19972 * sysdeps/sparc/sysdep.h: this new file and add new values.
19973 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
19974 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
19975 _DL_HWCAP_COUNT to 24.
19976 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
19978 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
19979 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
19980 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
19981 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
19982 instead of magic constants.
19983 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19985 2011-08-31 David S. Miller <davem@davemloft.net>
19987 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
19988 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
19989 Reimplement to do errno handling inline.
19990 (SYSCALL_ERROR_HANDLER): New macro.
19991 (__SYSCALL_STRING): Do not do errno handling in asm.
19992 (__CLONE_SYSCALL_STRING): Delete.
19993 (__INTERNAL_SYSCALL_STRING): Delete.
19994 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
19995 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
19996 (PSEUDO): Reimplement to do errno handling inline.
19997 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
19998 (SYSCALL_ERROR_HANDLER): New macro.
19999 (__SYSCALL_STRING): Do not do errno handling in asm.
20000 (__CLONE_SYSCALL_STRING): Delete.
20001 (__INTERNAL_SYSCALL_STRING): Delete.
20002 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
20003 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
20005 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
20006 (inline_syscall*): Add 'err' argument.
20007 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
20008 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
20009 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
20010 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
20012 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
20013 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
20015 2011-08-30 Andreas Schwab <schwab@redhat.com>
20017 * elf/rtld.c (dl_main): Relocate objects in dependency order.
20019 2011-08-29 Jiri Olsa <jolsa@redhat.com>
20021 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
20024 2011-08-24 David S. Miller <davem@davemloft.net>
20026 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
20028 2011-08-24 Andreas Schwab <schwab@redhat.com>
20030 * elf/Makefile: Add rules to build and run unload8 test.
20031 * elf/unload8.c: New file.
20032 * elf/unload8mod1.c: New file.
20033 * elf/unload8mod1x.c: New file.
20034 * elf/unload8mod2.c: New file.
20035 * elf/unload8mod3.c: New file.
20037 * elf/dl-close.c (_dl_close_worker): Reset private search list if
20040 2011-08-23 David S. Miller <davem@davemloft.net>
20042 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
20043 subtract stack bias.
20044 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
20045 %sp not %fp in calculations.
20046 (_JMPBUF_UNWINDS_ADJ): Likewise.
20048 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
20049 (aio_suspend): Call it to force an exception region around the
20050 AIO_MISC_WAIT() invocation.
20052 2011-08-23 Andreas Schwab <schwab@redhat.com>
20054 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
20057 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
20059 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
20061 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
20062 and <dl-machine.h>.
20063 (Elf64_FuncDesc): Remove.
20065 2011-08-22 David S. Miller <davem@davemloft.net>
20067 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
20068 sigaltstack check, add missing cfi directives.
20069 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
20070 missing cfi directives, and sigaltstack handling.
20072 2011-08-16 Andreas Schwab <schwab@redhat.com>
20075 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
20076 object is seen twice.
20077 * elf/dl-fini.c (_dl_sort_fini): Likewise.
20079 * elf/Makefile (distribute): Add tst-initorder2.c.
20080 (tests): Add tst-initorder2.
20081 (modules-names): Add tst-initorder2a tst-initorder2b
20082 tst-initorder2c tst-initorder2d. Add rules to build them.
20083 ($(objpfx)tst-initorder2.out): New rule.
20084 * elf/tst-initorder2.c: New file.
20085 * elf/tst-initorder2.exp: New file.
20087 2011-08-22 Andreas Schwab <schwab@redhat.com>
20089 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
20091 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
20092 dependencies back to end of function.
20094 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
20095 $(elfobjdir)/ld.so.
20097 2011-08-21 Ulrich Drepper <drepper@gmail.com>
20099 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
20100 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
20101 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
20102 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
20103 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
20104 of __vdso_gettimeofday.
20105 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
20106 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
20108 (_libc_vdso_platform_setup): Remove initialization of
20109 __vdso_gettimeofday and __vdso_time.
20111 2011-08-20 Ulrich Drepper <drepper@gmail.com>
20113 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
20114 and fgetc_unlocked.
20115 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
20118 * elf/dl-open.c (add_to_global): Report additions to the global scope
20119 for LD_DEBUG=scopes.
20120 (dl_open_worker): Also print scope of newly loaded dependencies.
20121 (_dl_show_scope): Indicate if there is no scope.
20124 * stdio-common/Makefile (tests): Add bug24.
20125 * stdio-common/bug24.c: New file.
20127 2011-08-19 Andreas Jaeger <aj@suse.de>
20130 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
20131 non-existant file when using close-on-exec mode.
20133 2011-08-20 Ulrich Drepper <drepper@gmail.com>
20135 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
20136 the very first instruction.
20138 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
20139 the CFI state in the end.
20140 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
20141 inclusion of dl-trampoline.h.
20142 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
20144 2011-08-19 Andreas Schwab <schwab@redhat.com>
20146 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
20147 expectations for long double.
20149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
20150 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
20152 2011-08-14 David S. Miller <davem@davemloft.net>
20154 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
20155 artificual limit depends upon the system page size.
20157 2011-08-17 Ulrich Drepper <drepper@gmail.com>
20159 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
20160 * resolv/Makefile: Define CFLAGS-libresolv.
20162 2011-08-17 Andreas Schwab <schwab@redhat.com>
20164 * nss/makedb.c (compute_tables): Make variables used in nested
20167 2011-08-17 Ulrich Drepper <drepper@gmail.com>
20169 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
20170 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
20171 if buffer was too small.
20173 * elf/pldd.c (main): Attach to all threads in the process.
20174 Rewrite /proc handling to use *at functions.
20176 2011-08-16 Ulrich Drepper <drepper@gmail.com>
20178 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
20179 specifies first scope to show.
20180 (dl_open_worker): Update callers. Move printing scope of new
20181 object to before the relocation.
20182 * elf/rtld.c (dl_main): Update _dl_show_scope call.
20183 * sysdeps/generic/ldsodefs.h: Update declaration.
20185 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
20186 string for the scope number.
20188 2011-08-14 Ulrich Drepper <drepper@gmail.com>
20190 * nscd/servicescache.c (cache_addserv): Make sure written is always
20193 2011-08-14 Roland McGrath <roland@hack.frob.com>
20195 * sysdeps/i386/i486/bits/atomic.h
20196 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
20197 statement expression, so as to suppress "set but not used" warning.
20198 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
20200 * string/strncat.c (STRNCAT): Use prototype definition.
20202 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
20203 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
20205 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
20206 (localedef-modules): Add localedef.
20207 (locale-modules): Add locale.
20209 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
20210 * elf/rtld.c (dl_main): Invert order of assignment in last change,
20211 to avoid a warning.
20213 2011-08-14 David S. Miller <davem@davemloft.net>
20215 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
20216 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
20218 2011-08-13 Ulrich Drepper <drepper@gmail.com>
20220 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
20221 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
20222 * elf/rtld.c (dl_main): Set l_name of vDSO.
20223 Call _dl_show_scope when DL_DEBUG_SCOPES.
20224 (process_dl_debug): Recognize scopes flag and also set it for all.
20225 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
20226 Declare _dl_show_scope.
20228 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
20229 (do_dlopen): Pass caller_dlopen to dl_open.
20230 (__libc_dlopen_mode): Initialize caller_dlopen.
20232 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
20233 of libc. Make tolower call locale-independent. Optimize a bit by
20234 using isdigit instead of isalnum.
20235 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
20237 2011-08-12 Ulrich Drepper <drepper@gmail.com>
20239 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
20240 was a dependency or dynamically loaded.
20242 2011-08-11 Ulrich Drepper <drepper@gmail.com>
20244 * intl/l10nflist.c: Allow architecture-specific pop function.
20245 * sysdeps/x86_64/l10nflist.c: New file.
20247 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
20250 2011-08-10 Andreas Schwab <schwab@redhat.com>
20252 * include/dirent.h: Add libc_hidden_proto for scandirat and
20253 scandirat64. Don't declare __scandirat64.
20254 * dirent/scandirat.c: Add libc_hidden_def.
20255 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
20256 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
20258 2011-08-10 David S. Miller <davem@davemloft.net>
20260 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
20262 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20263 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20264 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20266 2011-08-09 Ulrich Drepper <drepper@gmail.com>
20268 * Versions.def [libc]: Add GLIBC_2.15.
20269 * dirent/Makefile (routines): Add scandirat and scandirat64.
20270 * dirent/Versions [libc]: Export scandirat and scandirat64 for
20272 * dirent/dirent.h: Declare scandirat and scandirat64.
20273 * dirent/scandirat.c: New file.
20274 * dirent/scandirat64.c: New file.
20275 * sysdeps/wordsize-64/scandirat.c: New file.
20276 * sysdeps/wordsize-64/scandirat64.c: New file.
20277 * dirent/opendir.c: Define opendirat.
20278 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
20280 * dirent/scandir64.c: Adjust for scandir.c change.
20281 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
20282 __scandirat64, and __scandir_cancel_handler.
20283 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
20284 additional parameter and use openat instead of open (outside of ld.so).
20285 Add new __opendir as wrapper around __opendirat.
20286 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
20287 here without requiring old scandirat implementation.
20289 2011-08-08 Ulrich Drepper <drepper@gmail.com>
20291 * dirent/scandir.c (cancel_handler): Renamed to
20292 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
20293 defined. Adjust users.
20294 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
20295 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
20297 2011-08-04 Ulrich Drepper <drepper@gmail.com>
20299 * string/test-string.h (IMPL): Use __STRING to expand name and then
20302 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
20305 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20307 * string/Makefile: Update.
20308 (strop-tests): Append strncat.
20309 * string/test-wcscmp.c: New file.
20310 New comprehensive test for wcscmp.
20311 * string/test-strcmp.c: Update.
20312 (WIDE): New define.
20314 2011-07-22 Andreas Schwab <schwab@redhat.com>
20316 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
20319 2011-07-26 Andreas Schwab <schwab@redhat.com>
20321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
20322 encoding to ACE if AI_IDN.
20324 2011-08-01 Jakub Jelinek <jakub@redhat.com>
20326 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
20327 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
20329 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20331 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
20332 Fix overflow bug in strncat.
20333 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20335 * string/test-strncat.c: Update.
20336 Add new tests for checking overflow bugs.
20338 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20340 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20341 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
20342 * sysdeps/i386/i686/multiarch/strcat.S: New file.
20343 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
20344 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
20345 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
20346 * sysdeps/i386/i686/multiarch/strncat.S: New file.
20347 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
20348 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
20350 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
20351 (USE_AS_STRCAT): Define.
20352 Add strcat and strncat support.
20353 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20355 2011-07-25 Andreas Schwab <schwab@redhat.com>
20357 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
20358 __n bigger than INT_MAX+1.
20359 (__strncmp_g): Likewise.
20361 2011-07-23 Ulrich Drepper <drepper@gmail.com>
20363 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
20364 * libio/stido.h: Likewise.
20366 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
20368 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
20371 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
20372 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20373 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20374 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20375 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20378 * scripts/test-installation.pl: Don't expect libnss_test1 to be
20381 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
20383 (_dl_x86_64_save_sse): Likewise.
20385 2011-07-22 Ulrich Drepper <drepper@gmail.com>
20387 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
20389 (_dl_x86_64_save_sse): Likewise.
20391 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
20393 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
20395 2011-07-21 Andreas Schwab <schwab@redhat.com>
20397 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
20399 (_dl_x86_64_save_sse): Use correct AVX check.
20401 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20403 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
20404 bug in strncpy/strncat.
20405 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20407 2011-07-21 Ulrich Drepper <drepper@gmail.com>
20409 * string/tester.c (test_strcat): Add tests for different alignments
20410 of source and destination.
20411 (test_strncat): Likewise.
20413 2011-07-20 Ulrich Drepper <drepper@gmail.com>
20416 * posix/glob.c (glob): Check passed in values before using them in
20417 expressions to avoid some overflows.
20418 (glob_in_dir): Likewise.
20421 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
20422 check for AVX enablement so that we don't crash with old kernels and
20424 * elf/tst-audit4.c: Add same checks here.
20425 * elf/tst-audit6.c: Likewise.
20427 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
20429 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
20431 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
20433 2011-07-20 Ulrich Drepper <drepper@gmail.com>
20435 * po/cs.po: Update from translation team.
20436 * po/bg.po: Likewise.
20438 2011-07-12 Marek Polacek <mpolacek@redhat.com>
20440 * misc/sys/cdefs.h: Add support for const attribute.
20441 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
20442 to gnu_dev_{major,minor,makedev} functions.
20444 2011-07-20 Marek Polacek <mpolacek@redhat.com>
20446 * intl/dcigettext.c (get_output_charset): Add missing bracket.
20448 2011-07-20 Andreas Schwab <schwab@redhat.com>
20450 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
20453 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20455 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20456 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
20457 register in order to avoid conflicts with the soft frame pointer
20458 being held in r11 when necessary.
20459 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20460 (INTERNAL_VSYSCALL_NCS): Likewise.
20462 2011-07-14 Marek Polacek <mpolacek@redhat.com>
20464 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
20465 * elf/dl-fini.c (_dl_fini): Adjust caller.
20466 * elf/dl-close.c (_dl_close_worker): Likewise.
20467 * sysdeps/generic/ldsodefs.h: Adjust declaration.
20469 2011-07-15 Marek Polacek <mpolacek@redhat.com>
20471 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
20472 "aux_cache->nlibs < 0".
20474 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
20475 in the reload-count case.
20477 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
20479 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20480 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
20481 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
20482 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
20483 * sysdeps/x86_64/multiarch/strcat.S: New file.
20484 * sysdeps/x86_64/multiarch/strncat.S: New file.
20485 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
20486 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
20487 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
20488 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
20489 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
20490 (USE_AS_STRCAT): Define.
20491 Add strcat and strncat support.
20492 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
20493 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20494 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
20495 * string/strncat.c: Update.
20496 (USE_AS_STRNCAT): Define.
20497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20498 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
20500 * sysdeps/x86_64/multiarch/init-arch.h
20501 (bit_Prefer_PMINUB_for_stringop): New.
20502 (index_Prefer_PMINUB_for_stringop): Likewise.
20503 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
20504 bit_Prefer_PMINUB_for_stringop.
20506 2011-07-19 Ulrich Drepper <drepper@gmail.com>
20508 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
20510 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
20511 of casting of buffer.
20512 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
20513 buffer32 and buffer64.
20514 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
20515 writes instead of casting of buffer.
20516 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
20518 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
20521 2011-07-19 Andreas Schwab <schwab@redhat.com>
20523 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
20525 2011-07-19 Ulrich Drepper <drepper@gmail.com>
20527 * nscd/nscd.c (termination_handler): Don't do anything for a database
20528 if it has not yet been initialized.
20530 2011-07-18 Ulrich Drepper <drepper@gmail.com>
20532 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20534 2011-07-15 Marek Polacek <mpolacek@redhat.com>
20536 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
20538 2011-07-18 Ulrich Drepper <drepper@gmail.com>
20540 * po/nl.po: Update from translation team.
20541 * po/sv.po: Likewise.
20543 2011-07-16 Roland McGrath <roland@hack.frob.com>
20545 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
20546 now disallowed by GCC.
20548 * configure.in (use-default-link): Default to yes if a test -shared
20549 link meets our qualifications.
20550 * configure: Regenerated.
20552 * config.make.in (output-format): New variable.
20553 * configure.in: Check for ld --print-output-format support.
20554 * configure: Regenerated.
20555 * Makerules ($(common-objpfx)format.lds)
20556 [$(output-format) != unknown]: Just use $(output-format),
20557 instead of the linker-script munging.
20559 2011-07-14 Roland McGrath <roland@hack.frob.com>
20561 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
20562 of $(common-objpfx)shlib.lds.
20563 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
20565 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
20566 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
20568 * configure.in (-z relro check): Adjust test code to add a large
20569 writable data section after it.
20570 * configure: Regenerated.
20572 2011-07-11 Roland McGrath <roland@hack.frob.com>
20574 * configure.in (-z relro check): Fix test code to make the variable
20576 * configure: Regenerated.
20578 2011-07-11 Ulrich Drepper <drepper@gmail.com>
20580 * nscd/nscd.h (struct traced_file): Define.
20581 (struct database_dyn): Remove inotify_descr, reset_res, and filename
20582 elements. Add traced_files.
20583 (inotify_fd): Declare.
20584 (register_traced_file): Declare.
20585 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
20586 (inotify_fd): Export.
20587 (resolv_conf_descr): Remove.
20588 (nscd_init): Move inotify descriptor creation to main.
20589 Don't register files for notification here.
20590 (register_traced_file): New function.
20591 (invalidate_cache): Don't use reset_res to determine whether to call
20592 res_init, go through the list of registered files.
20593 (main_loop_poll): The inotify descriptors are now stored in the
20594 structures for the traced files.
20595 (main_loop_epoll): Likewise
20596 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
20597 to __nss_disable_nscd.
20598 * nscd/cache.c (prune_cache): There is no single inotify descriptor
20599 for a database anymore. Check the records for all the registered
20601 * nss/Makefile (libnss_files-routines): Add files-init.
20602 (libnss_db-routines): Add db-init.
20603 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
20604 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
20605 * nss/nss_db/db-init.c: New file.
20606 * nss/nss_files/files-init.c: New file.
20607 * nss/nsswitch.c (nss_load_library): New function. Broken out of
20608 __nss_lookup_function.
20609 (__nss_lookup_function): Call nss_load_library.
20610 (nss_load_all_libraries): New function.
20611 (__nss_disable_nscd): Take parameter with callback function for files
20612 to register. Set is_nscd. Load all the DSOs for the NSS modules
20613 used for the cached services.
20614 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
20615 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
20616 options for features to all the files in nscd.
20618 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
20620 2011-07-10 Roland McGrath <roland@hack.frob.com>
20622 * csu/elf-init.c (__libc_csu_init): Comment typo.
20624 2011-07-09 Ulrich Drepper <drepper@gmail.com>
20626 * po/pl.po: Update from translation team.
20627 * po/ja.po: Likewise.
20628 * po/ru.po: Likewise.
20629 * po/ko.po: Likewise.
20630 * po/fr.po: Likewise.
20632 2011-07-09 Roland McGrath <roland@hack.frob.com>
20634 * configure.in (.ctors/.dtors header and trailer check):
20635 Use an empirical test on a built program.
20636 * configure: Regenerated.
20638 * configure.in (-z relro check): Use an empirical test on a built DSO.
20639 Detect, but do not require, on ia64.
20640 * configure: Regenerated.
20642 * configure.in (READELF): Find it with AC_CHECK_TOOL.
20643 Update tests that use readelf to use $READELF instead.
20644 * configure: Regenerated.
20646 2011-07-08 Ulrich Drepper <drepper@gmail.com>
20648 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
20649 if the result is not used.
20651 2011-07-05 Andreas Jaeger <aj@suse.de>
20654 * stdlib/tst-strtod.c: Add testcase.
20656 2011-07-07 Ulrich Drepper <drepper@gmail.com>
20658 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
20659 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
20660 The latter has a higher limit. Take additional parameter to pass to
20662 (__pathconf): Pass file to __statfs_link_max.
20663 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
20665 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
20669 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
20670 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20672 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
20673 (__statfs_filesize_max): Likewise.
20674 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
20676 2011-07-05 Andreas Jaeger <aj@suse.de>
20678 * resolv/res_comp.c (dn_skipname): Remove unused variable.
20680 2011-07-06 Marek Polacek <mpolacek@redhat.com>
20682 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
20684 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
20687 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
20689 * Makefile (strop-tests): Add strncat.
20690 * string/test-strncat.c: New file.
20692 2011-06-30 Marek Polacek <mpolacek@redhat.com>
20694 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
20696 2011-06-21 Andreas Jaeger <aj@suse.de>
20698 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
20699 Copy rule from iconvdata/Makefile.
20701 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20704 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
20705 but no long options are defined, just return 'W'.
20707 2011-06-22 Marek Polacek <mpolacek@redhat.com>
20710 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
20712 2011-07-06 Ulrich Drepper <drepper@gmail.com>
20714 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
20716 (innetgr): Likewise.
20718 2011-07-05 Roland McGrath <roland@hack.frob.com>
20720 * config.make.in (install_root): Default to $(DESTDIR).
20722 2011-07-05 Ulrich Drepper <drepper@gmail.com>
20724 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
20726 2011-07-02 Roland McGrath <roland@hack.frob.com>
20728 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
20730 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
20731 containing directory rather than embedding absolute directory names.
20733 * scripts/check-local-headers.sh: Rewritten using awk.
20734 Match by word, not by line. Print error messages for matches.
20735 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
20737 * Makerules [shlib-lds-flags empty]:
20738 ($(common-objpfx)libc_pic.opts): New target.
20739 ($(common-objpfx)libc_pic.os.clean): New target.
20740 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
20742 * config.make.in (OBJCOPY): New variable.
20743 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
20744 * configure: Regenerated.
20746 * config.make.in (use-default-link): New variable.
20747 * configure.in (use_default_link): Grok --with-default-link to set it.
20748 * configure: Regenerated.
20749 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
20750 (shlib-lds, shlib-lds-flags): Define to empty.
20752 * Makerules (shlib-lds): New variable.
20753 (shlib-lds-flags): New variable.
20754 (build-shlib, build-moduile, build-module-asneeded): Use it.
20755 ($(common-objpfx)libc.so): Use $(shlib-lds).
20756 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
20757 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
20759 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
20760 DT_FLAGS/DT_FLAGS_1 with zero flags.
20762 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
20763 linker script munging.
20765 2011-07-02 Ulrich Drepper <drepper@gmail.com>
20767 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
20769 * crypt/sha512.c (sha512_process_block): Perform total addition using
20770 128-bit if possible.
20771 (__sha512_finish_ctx): Likewise.
20772 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
20774 * crypt/sha256.c (SWAP64): Define.
20775 (sha256_process_block): Perform total addition using 64-bit if
20777 (__sha256_finish_ctx): Likewise.
20779 2011-07-01 Ulrich Drepper <drepper@gmail.com>
20781 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
20782 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20783 * nscd/hstcache.c (cache_addhst): Likewise.
20784 * nscd/grpcache.c (cache_addgr): Likewise.
20785 * nscd/aicache.c (addhstaiX): Likewise
20786 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
20788 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
20790 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
20791 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20792 * nscd/hstcache.c (cache_addhst): Likewise.
20793 * nscd/grpcache.c (cache_addgr): Likewise.
20794 * nscd/aicache.c (addhstaiX): Likewise
20796 2011-07-01 Andreas Schwab <schwab@redhat.com>
20798 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
20799 domain only when needed.
20801 2011-06-30 Andreas Schwab <schwab@redhat.com>
20803 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
20804 is always restored.
20806 2011-06-29 Ulrich Drepper <drepper@gmail.com>
20808 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
20809 are re-adding the entry.
20810 * nscd/servicescache.c (cache_addserv): Likewise.
20812 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
20814 * sysdeps/generic/dl-irel.h: fix protection against multiple
20816 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
20818 2011-06-28 Ulrich Drepper <drepper@gmail.com>
20821 * malloc/memusage.sh: Fix quoting in message.
20822 * debug/xtrace.sh: Likewise.
20824 * configure.in: Remove support for --experimental-malloc option, make
20826 * config.make.in: Likewise.
20827 * malloc/Makefile: Likewise.
20829 2011-06-27 Andreas Schwab <schwab@redhat.com>
20831 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
20832 two-byte characters.
20834 2011-06-27 Roland McGrath <roland@hack.frob.com>
20836 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
20837 AC_CACHE_CHECK invocation.
20838 * configure: Regenerated.
20840 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
20842 2011-06-27 Ulrich Drepper <drepper@gmail.com>
20845 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
20846 bit from old_res_options.
20848 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
20850 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
20851 value type for setfct.
20853 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
20855 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20856 __gettimeofday instead of gettimeofday.
20858 2011-06-26 Ulrich Drepper <drepper@gmail.com>
20860 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
20862 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
20864 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
20866 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
20869 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20871 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20872 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20873 strcpy-sse2-unaligned strncpy-sse2-unaligned
20874 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
20875 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
20876 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
20877 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
20878 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
20879 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
20880 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
20881 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
20882 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
20883 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
20884 (STRCPY): Support SSE2 and SSSE3 versions.
20886 2011-06-24 Ulrich Drepper <drepper@gmail.com>
20889 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
20890 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
20891 kernels which artificially limit size of requests.
20893 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
20895 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
20896 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
20897 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
20898 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
20899 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
20900 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
20901 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
20902 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
20903 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
20904 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
20905 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
20906 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
20907 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
20908 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
20909 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
20910 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20911 Enable unaligned load optimization for Intel Core i3, i5 and i7
20913 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
20915 (index_Fast_Unaligned_Load): Define.
20916 (HAS_FAST_UNALIGNED_LOAD): Define.
20918 2011-06-23 Marek Polacek <mpolacek@redhat.com>
20920 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
20922 2011-06-22 Ulrich Drepper <drepper@gmail.com>
20925 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
20926 until it is clear that the information is realy needed.
20927 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
20929 2011-06-22 Andreas Schwab <schwab@redhat.com>
20931 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
20933 2011-06-22 Ulrich Drepper <drepper@gmail.com>
20935 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
20936 /sys/devices/system/cpu/online if it is usable.
20938 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
20939 reading the information from the /proc filesystem to once a second.
20941 2011-06-21 Andreas Jaeger <aj@suse.de>
20943 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
20944 NULL after inclusion of kernel headers.
20946 2011-06-21 Ulrich Drepper <drepper@gmail.com>
20948 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
20949 calls to internal_setent.
20952 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
20953 addresses using gethostbyname4_r ignore IPv4 addresses.
20955 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
20956 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
20958 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
20960 2011-06-20 David S. Miller <davem@davemloft.net>
20962 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
20964 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
20966 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
20967 (elf_irel): Use it.
20968 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
20969 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
20970 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
20971 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
20972 * sysdeps/x86_64/dl-irel.h: Likewise.
20974 * elf/dl-runtime.c: Use elf_ifunc_invoke.
20975 * elf/dl-sym.c: Likewise.
20977 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20979 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
20980 need to dereference resplen2.
20982 2011-06-14 Andreas Schwab <schwab@redhat.com>
20984 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
20986 2011-06-15 Ulrich Drepper <drepper@gmail.com>
20988 * Makeconfig: Define vardbdir and inst_vardbdir.
20989 * nss/Makefile: Add rules to install db-Makefile.
20991 * nss/nss_db/db-XXX.c: Cleanup.
20993 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
20994 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
20996 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
20997 * nss/makedb.c: Implement -g option to specify that value strings
20998 are generated and should not be added to table iterated over for
21000 * nss/nss_db/db-initgroups.c: New file.
21002 * nss/getent.c: Add support for initgroups lookups through getgrouplist
21005 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
21006 (internal_getgrouplist): Adjust to name change.
21007 Update use_initgroups_entry if this is not the first call.
21008 * nss/databases.def: Add initgroups entry.
21010 * nss/makedb.c (compute_tables): Check result of multiple hash table
21011 sizes to minimize maximum chain length.
21013 2011-06-14 Ulrich Drepper <drepper@gmail.com>
21015 * Versions.def: Add entry for libnss_db.
21016 * shlib-versions: Likewise.
21017 * nss/Makefile: Add rules to build libnss_db.
21018 * nss/Versions: Add libnss_db information. Organize libnss_files
21020 * nss/db-Makefile: Add gshadow support. Change rules for the new
21021 makedb progra. Some minor improvements to generate smaller files.
21022 * nss/nss_db/nss_db.h: Move NSS database header data structures to
21024 * nss/makedb.c: ...here.
21025 Improve database format to be smaller and require less memory at
21027 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
21029 * nss/nss_db/db-netgrp.c: Likewise.
21030 * nss/nss_db/db-open.c: Likewise.
21031 * nss/nss_files/flies-XXX.x: Adjust comments.
21032 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
21033 * nss/nss_files/files-grp.c: Likewise.
21034 * nss/nss_files/files-hosts.c: Likewise.
21035 * nss/nss_files/files-network.c: Likewise.
21036 * nss/nss_files/files-proto.c: Likewise.
21037 * nss/nss_files/files-pwd.c: Likewise.
21038 * nss/nss_files/files-rpc.c: Likewise.
21039 * nss/nss_files/files-service.c: Likewise.
21040 * nss/nss_files/files-sgrp.c: Likewise.
21041 * nss/nss_files/files-spwd.c: Likewise.
21042 * nss/nss_db/db-alias.c: Removed.
21043 * nss/nss_db/dummy-db.h: Removed.
21045 2011-06-02 Ulrich Drepper <drepper@gmail.com>
21047 * nss/makedb.c: Rewritten to not use database library.
21048 * nss/Makefile: Update to build new makedb program.
21050 2011-06-14 Andreas Jaeger <aj@suse.de>
21052 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
21053 memset declaration.
21055 2011-06-10 Andreas Schwab <schwab@redhat.com>
21057 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
21060 2011-06-10 Roland McGrath <roland@hack.frob.com>
21062 * Makerules (shlib.lds): Fail if the linker script comes out empty.
21063 * elf/Makefile ($(objpfx)ld.so): Likewise.
21065 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
21066 Don't list ld.so twice in dependencies.
21068 * posix/bug-regex31.c: Include <stdlib.h>.
21070 * nscd/hstcache.c (cache_addhst): Remove unused variable.
21072 * nis/nss_compat/compat-spwd.c
21073 (getspent_next_nss_netgr): Remove unused variable.
21074 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
21076 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
21077 nonmembers" output to use the right array.
21079 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
21081 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
21083 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
21084 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
21085 * catgets/gencat.c (read_input_file): Likewise.
21086 * locale/programs/locarchive.c (enlarge_archive): Likewise.
21088 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
21089 variable definition inside #if's controlling its use.
21091 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
21093 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
21095 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
21097 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
21100 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
21102 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
21103 * configure: Regenerated.
21105 * Makerules: Revert last change.
21106 * elf/Makefile: Likewise.
21108 2011-06-09 Roland McGrath <roland@hack.frob.com>
21110 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
21111 * elf/Makefile ($(objpfx)librtld.os): Likewise.
21112 (reloc-link): Likewise.
21114 2011-06-09 Ulrich Drepper <drepper@gmail.com>
21116 * elf/Makefile: Add rules to build pldd.
21117 * elf/pldd.c: New file.
21118 * elf/pldd-xx.c: New file.
21120 2011-06-07 Ulrich Drepper <drepper@gmail.com>
21122 * version.h: Update for 2.15 development version.
21124 2011-06-07 David S. Miller <davem@davemloft.net>
21126 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
21128 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
21129 elf_machine_lazy_rel): Likewise.
21130 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21131 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
21132 elf_machine_lazy_rel): Likewise.
21133 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
21134 dl_hwcap via passed in argument.
21135 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
21138 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21140 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
21142 2011-06-06 Roland McGrath <roland@hack.frob.com>
21145 * manual/fdl-1.1.texi: New file, verbatim from:
21146 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
21147 * manual/lgpl-2.1.texi: New file, verbatim from:
21148 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
21149 * manual/Makefile (licenses): New variable, list those new file names.
21151 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
21153 * manual/fdl.texi: File removed.
21154 * manual/lesser.texi: File removed.
21155 * manual/libc.texinfo (Copying, Documentation License):
21156 Use new @include file names, put @appendix directive before @include.
21158 2011-06-04 Jakub Jelinek <jakub@redhat.com>
21161 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
21162 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
21163 (mq_open): Add __NTH.
21165 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
21167 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21168 Assume Intel Core i3/i5/i7 processor if AVX is available.
21170 2011-05-31 Ulrich Drepper <drepper@gmail.com>
21172 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21175 2011-05-31 Andreas Schwab <schwab@redhat.com>
21177 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
21178 memory. Use alloca_account. Fix memory leak when retrying.
21180 2011-05-31 Ulrich Drepper <drepper@gmail.com>
21182 * version.h (RELEASE): Bump for 2.14 release.
21183 * include/features.h (__GLIBC_MINOR__): Bump to 14.
21185 * config.make.in (RANLIB): Remove entry.
21187 2011-05-30 Ulrich Drepper <drepper@gmail.com>
21189 * po/Makefile (po-sed-cmd): Add ksh to extensions.
21190 (libc.pot): Work around missing support for .ksh extension in xgettext.
21193 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
21194 if both request failed.
21195 (send_dg): In case of server errors clear resplen or *resplen2.
21198 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
21199 when there are multiple maps.
21200 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
21201 (_dl_fini): Remove test here.
21203 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
21205 2011-05-29 Ulrich Drepper <drepper@gmail.com>
21208 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
21209 bit from old_res_options.
21210 (gaih_inet): Likewise.
21213 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
21216 * resolv/res_init.c (res_setoptions): Make the code more compact.
21219 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
21223 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
21225 * malloc/malloc.h: Mark malloc hook variables as deprecated.
21228 * malloc/malloc.h: Declare malloc hook variables as volatile.
21230 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
21234 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
21235 raise in the comment.
21236 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
21237 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
21238 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
21240 2011-05-28 Ulrich Drepper <drepper@gmail.com>
21243 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
21244 grow the buffers more if it already has to be sufficient.
21245 (build_wcs_upper_buffer): Likewise.
21246 * posix/regexec.c (check_matching): Likewise.
21247 (clean_state_log_if_needed): Likewise.
21248 (extend_buffers): Don't enlarge buffers beyond size of the input
21250 Patches mostly by Emil Wojak <emil@wojak.eu>.
21251 * posix/bug-regex32.c: New file.
21252 * posix/Makefile (tests): Add bug-regex32.
21254 * locale/findlocale.c (_nl_find_locale): Return right away if
21255 _nl_explode_name failed.
21256 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21258 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
21260 * debug/xtrace.sh: Unify messages.
21261 * malloc/memusage.sh: Likewise.
21264 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
21265 time symbol from vDSO. Substitute with vsyscall if not available.
21266 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
21269 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
21270 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
21271 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
21272 Add sendmmsg and internal_sendmmsg.
21273 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
21274 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
21275 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
21277 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
21278 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
21279 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
21281 2011-05-27 Ulrich Drepper <drepper@gmail.com>
21284 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
21285 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
21287 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
21291 * iconvdata/Makefile (tests): Add bug-iconv9.
21292 * iconvdata/bug-iconv9.c: New file.
21294 2011-05-27 Andreas Schwab <schwab@redhat.com>
21297 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
21299 2011-05-25 Jakub Jelinek <jakub@redhat.com>
21301 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21302 (struct user_regs_struct): Change intcs field back to cs.
21304 2011-05-25 Ulrich Drepper <drepper@gmail.com>
21306 * po/ja.po: Update from translation team.
21308 2011-05-23 Ulrich Drepper <drepper@gmail.com>
21311 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
21312 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
21314 2011-05-20 Andreas Schwab <schwab@redhat.com>
21316 * stdlib/longlong.h: Update from GCC.
21318 2011-05-23 Andreas Schwab <schwab@redhat.com>
21320 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
21322 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
21323 Add parameter name.
21324 (__sysconf): Pass it down.
21326 2011-05-22 Ulrich Drepper <drepper@gmail.com>
21329 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
21331 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21332 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
21333 add in in __libc_use_alloca calls. Adjust callers.
21334 (glob): Use malloc in some situations.
21336 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
21337 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
21340 2011-05-21 Ulrich Drepper <drepper@gmail.com>
21342 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
21343 and CLOCK_BOOTTIME_ALARM.
21346 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
21349 * string/_strerror.c (__strerror_r): Print negative errors as signed
21353 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
21354 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
21355 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
21357 * configure.in: Fix typo in redirection and correct removal of test
21358 files in two cases.
21361 * locale/setlocale.c (new_composite_name): Fix test to check for
21362 identical name of all categories.
21365 * libio/filedoalloc.c (local_isatty): New function.
21366 (_IO_file_doallocate): Use local_isatty.
21367 * stdio-common/perror.c (perror): In case a new stream is used
21368 forward the stream error.
21369 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
21372 2011-05-20 Ulrich Drepper <drepper@gmail.com>
21375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
21377 * include/alloca.h (extend_alloca_account): Define.
21380 * posix/regex.h: Fix comments with documentation of user-accessible
21381 fields after compilation and describe correct free'ing of pattern
21382 after re_compile_pattern.
21383 Patch by Reuben Thomas <rrt@sc3d.org>.
21385 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
21387 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
21388 and -mno-altivec to prevent the compiler from using Altivec and/or
21389 VSX instructions when the corresponding registers are not available.
21391 2011-05-19 Andreas Schwab <schwab@redhat.com>
21393 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
21395 2011-05-19 Ulrich Drepper <drepper@gmail.com>
21397 * libio/freopen.c (freopen): Use __dup2, not dup2.
21398 * libio/freopen64.c (freopen64): Likewise.
21400 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
21403 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
21404 * math/Makefile (tests): Add test-powl.
21405 (CFLAGS-test-powl.c): Define.
21406 * math/test-powl.c: New file.
21408 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
21410 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
21412 2011-05-17 Ulrich Drepper <drepper@gmail.com>
21415 * iconvdata/gb18030.c: Update to GB18020-2005.
21417 2011-05-16 Ulrich Drepper <drepper@gmail.com>
21419 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
21420 RE_SYNTAX_POSIX_AWK): Update to match recent development.
21421 Patch by Aharon Robbins <arnold@skeeve.com>.
21424 * stdlib/putenv.c (putenv): Don't always create copy of the variable
21428 * misc/pselect.c (__pselect): Handle timeout value errors hidden
21429 through underflows.
21432 * misc/error.c (error_at_line): Ensure file_name and old_file_name
21433 point to strings before performing equality test for error_one_per_line
21437 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
21440 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
21441 (struct user_fpregs_struct): Avoid __uint*_t types.
21444 * malloc/mtrace.c (tr_where): Add additional parameter to point to
21445 symbol info. Use it instead of calling _dl_addr locally.
21446 (lock_and_info): New function.
21447 (tr_freehook): Call lock_and_info and pass symbol info as additional
21448 parameter to tr_where.
21449 (tr_mallochook): Likewise.
21450 (tr_reallochook): Likewise.
21451 (tr_memalignhook): Likewise.
21453 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
21454 used and couldn't be at all thread-safe.
21456 2011-05-15 Ulrich Drepper <drepper@gmail.com>
21458 * libio/freopen.c (freopen): Don't close old file descriptor
21459 before the new one is opened. Instead dup the new file descriptor
21460 to the old one after the new stream is created.
21461 * libio/freopen64.c (freopen64): Likewise.
21462 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
21463 * libio/fileops.c (_IO_new_file_close_it): Handle new
21464 _IO_FLAGS2_NOCLOSE flag.
21465 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
21466 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
21467 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
21468 _IO_FLAGS2_NOCLOSE flag.
21469 * include/unistd.h: Add hidden_proto for dup3.
21470 Define __have_dup3.
21471 * io/dup3.c: Define hidden symbol.
21472 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
21475 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
21476 when an incomplete long option is used.
21477 * posix/tst-getopt_long1.c: New file.
21478 * posix/Makefile (tests): Add tst-getopt_long1.
21481 * scripts/config.guess: Update from autoconf-2.68.
21482 * scripts/config.sub: Likewise.
21485 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
21487 (has_cpuclock): ...this. New function.
21488 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
21489 macro here based on has_cpuclock code.
21492 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21493 First byte (not low byte) is now always NUL.
21494 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
21496 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21497 Use non-cancelable interfaces.
21500 * locale/iso-639.def: Add entry for Sorani.
21503 * include/stdlib.h: Move include protection to the right place.
21504 Define abort_msg_s. Declare __abort_msg with it.
21505 * stdlib/abort.c (__abort_msg): Adjust type.
21506 * assert/assert.c (__assert_fail_base): New function. Majority
21507 of code from __assert_fail. Allocate memory for __abort_msg with
21509 (__assert_fail): Now call __assert_fail_base.
21510 * assert/assert-perr.c: Remove bulk of implementation. Use
21511 __assert_fail_base.
21512 * include/assert.hL Declare __assert_fail_base.
21513 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
21515 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
21517 2011-05-14 Ulrich Drepper <drepper@gmail.com>
21521 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
21522 until all modules are registered in the DTV.
21523 * elf/Makefile: Add rules to build and run tst-tls19.
21524 * elf/tst-tls19.c: New file.
21525 * elf/tst-tls19mod1.c: New file.
21526 * elf/tst-tls19mod2.c: New file.
21527 * elf/tst-tls19mod3.c: New file.
21528 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
21531 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
21535 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
21536 two-byte sequence errors.
21537 * iconvdata/Makefile (tests): Add bug-iconv8.
21538 * iconvdata/bug-iconv8.c: New file.
21541 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
21544 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
21547 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
21548 (dummy_getcfa): New function.
21549 (init): Get _Unwind_GetCFA address, use dummy if not found.
21550 (backtrace_helper): In recursion check, also check whether CFA changes.
21551 (__backtrace): Completely initialize arg.
21553 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
21554 storing incomplete byte sequence in state object. Avoid testing for
21555 guaranteed too small input if we know there is enough data available.
21557 2011-05-11 Andreas Schwab <schwab@redhat.com>
21559 * Makeconfig (+link-pie): Indent.
21560 * Rules (binaries-pie): Define if $(have-fpie) and
21562 (binaries-shared): Also filter out $(binaries-pie).
21563 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
21564 * nscd/Makefile (others-pie): Add nscd.
21565 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
21566 ($(objpfx)nscd): Remove command override.
21567 * login/Makefile (others-pie): Add pt_chown.
21568 ($(objpfx)pt_chown): Remove command override.
21569 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
21570 remove command overrides.
21572 2011-05-13 Ulrich Drepper <drepper@gmail.com>
21574 * libio/tst_putwc.c: Fix error messages.
21577 * libio/fileops.c (_IO_new_file_close_it): Always flush when
21578 currently writing and seek to current position when not.
21579 * libio/Makefile (tests): Add bug-fclose1.
21580 * libio/bug-fclose1.c: New file.
21582 2011-05-12 Ulrich Drepper <drepper@gmail.com>
21585 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
21586 don't set DF_1_NODELETE here.
21587 (do_lookup_x): When entering new entry test for copy relocation
21588 and if necessary set DF_1_NODELETE flag.
21589 * elf/tst-unique4.cc: New file.
21590 * elf/tst-unique4.h: New file.
21591 * elf/tst-unique4lib.cc: New file.
21592 * elf/Makefile: Add rules to build and run tst-unique4.
21593 Patch by Piotr Bury <pbury@goahead.com>.
21595 2011-05-11 Ulrich Drepper <drepper@gmail.com>
21598 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
21601 * misc/mntent_r.c (addmntent): Flush the stream after the output
21604 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
21605 (is_trusted_path_normalize): Skip initial colon. Append slash
21606 to empty buffer. Duplicate is_trusted_path code but allow
21607 constructed patch to be prefix.
21608 (is_dst): Allow $ORIGIN followed by /.
21609 (_dl_dst_substitute): Correct clearing of check_for_trusted.
21610 Correct testing of result of is_trusted_path_normalize
21611 (decompose_rpath): Fix warning.
21613 2011-05-10 Ulrich Drepper <drepper@gmail.com>
21616 * grp/initgroups.c (internal_getgrouplist): When we found the service
21617 list through the initgroups entry in nsswitch.conf do not always
21618 continue on a successful lookup. Don't always use the
21619 __nss_group_database value if it is set.
21620 * nss/nsswitch.conf (initgroups): Change action for successful db
21621 lookup to continue for compatibility.
21623 2011-05-09 Ulrich Drepper <drepper@gmail.com>
21626 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
21628 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
21630 * iconvdata/tst-tables.sh: Likewise.
21631 * iconvdata/cp770.c: New file.
21632 * iconvdata/cp771.c: New file.
21633 * iconvdata/cp772.c: New file.
21634 * iconvdata/cp773.c: New file.
21635 * iconvdata/cp774.c: New file.
21636 * iconvdata/testdata/CP770: New file.
21637 * iconvdata/testdata/CP770..UTF8: New file.
21638 * iconvdata/testdata/CP771: New file.
21639 * iconvdata/testdata/CP771..UTF8: New file.
21640 * iconvdata/testdata/CP772: New file.
21641 * iconvdata/testdata/CP772..UTF8: New file.
21642 * iconvdata/testdata/CP773: New file.
21643 * iconvdata/testdata/CP773..UTF8: New file.
21644 * iconvdata/testdata/CP774: New file.
21645 * iconvdata/testdata/CP774..UTF8: New file.
21647 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
21649 * iconvdata/gen-8bit-gap.sh: Likewise.
21650 * iconvdata/gen-8bit.sh: Likewise.
21652 * locale/iso-639.def: Add ary entry.
21655 * locale/C-translit.h.in: Add U20A1 transliteration.
21658 * locale/iso-639.def: Add wae entry.
21659 Patch by Kevin Bortis <bortis@translate-wae.ch>.
21662 * locale/programs/localedef.c (construct_output_path): Use ssize_t
21666 * locale/C-translit.h.in: Add entry for U20B9.
21667 Patch by pravin.d.s@gmail.com.
21669 2011-05-08 Ulrich Drepper <drepper@gmail.com>
21672 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
21673 ENAMETOOLONG use generic getcwd.
21674 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
21675 in rtld. Use *stat64.
21676 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
21677 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
21678 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
21679 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
21680 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
21681 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
21682 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
21683 __fstatat64 macros.
21684 * include/dirent.h: Add libc_hidden_proto for rewinddir.
21685 * dirent/rewinddir.c: Add libc_hidden_def.
21686 * sysdeps/mach/hurd/rewinddir.c: Likewise.
21687 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
21689 * include/dirent.h (__alloc_dir): Add flags parameter.
21690 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
21691 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
21693 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
21694 from fdopendir if O_CLOEXEC is already set.
21696 2011-03-15 Alan Modra <amodra@gmail.com>
21698 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
21699 l_tls_firstbyte_offset non-zero. Save padding offset in
21700 l_tls_firstbyte_offset for later use.
21701 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
21702 freeing static tls block.
21704 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
21706 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
21707 where #ifdef was intended. The intent is to prevent ARG_MAX from
21708 being defined by the kernel headers.
21710 2011-05-07 Ulrich Drepper <drepper@gmail.com>
21713 * resolv/resolv.h: Define RES_NOTLDQUERY.
21714 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
21715 no-tld-query and set RES_NOTLDQUERY.
21716 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
21717 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
21718 modern BIND to search name as TLD unless forbidden.
21720 2011-05-07 Petr Baudis <pasky@suse.cz>
21721 Ulrich Drepper <drepper@gmail.com>
21724 * elf/dl-load.c (fillin_rpath): Move trusted path check...
21725 (is_trusted_path): ...to here.
21726 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
21727 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
21728 using is_trusted_path_normalize() in setuid scripts.
21730 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
21732 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
21733 __BEGIN/__END_DECLS.
21735 2011-05-06 Ulrich Drepper <drepper@gmail.com>
21737 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
21738 NSS_STATUS_NOTFOUND if no record was found.
21740 2011-05-05 Andreas Schwab <schwab@redhat.com>
21742 * sunrpc/Makefile (headers): Add rpc/netdb.h.
21743 (headers-not-in-tirpc): Remove rpc/netdb.h
21744 * resolv/netdb.h: Revert last change.
21746 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
21748 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
21749 circular dependency between libgcc.a and libc.a.
21751 2011-05-05 Andreas Schwab <schwab@redhat.com>
21753 * resolv/netdb.h: Don't include <rpc/netdb.h>.
21754 * nis/Makefile: Don't install rpcsvc/*.
21755 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
21756 instead of <rpc/types.h>.
21757 (MAXHOSTNAMELEN): Define.
21759 2011-05-03 Andreas Schwab <schwab@redhat.com>
21761 * elf/ldconfig.c (add_dir): Don't crash on empty path.
21763 2011-04-28 Maciej Babinski <mbabinski@google.com>
21766 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
21767 gethostbyname4_r when IPv6 results are possible.
21769 2011-05-02 Ulrich Drepper <drepper@gmail.com>
21772 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
21773 _PC_PIPE_BUF handling.
21775 2011-04-30 Bruno Haible <bruno@clisp.org>
21778 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
21779 * resolv/netdb.h (getnameinfo): Change type of flags parameter
21781 * inet/getnameinfo.c (getnameinfo): Likewise.
21783 2011-04-29 Ulrich Drepper <drepper@gmail.com>
21785 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
21786 to groups setting in database lookup.
21787 * nss/nsswitch.conf: Add initgroups entry.
21789 2011-04-22 Ulrich Drepper <drepper@gmail.com>
21792 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
21794 Patch by Eric Blake <eblake@redhat.com>.
21796 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
21798 * sunrpc/Makefile (need-export-routines): Add svc_run.
21799 (routines): Remove svc_run.
21800 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
21801 * sunrpc/clnt_perr.c (clnt_perrno): Export.
21802 * sunrpc/svc_run.c (svc_run): Likewise.
21803 * sunrpc/svc_udp.c (svcudp_create): Likewise.
21805 2011-04-21 Ulrich Drepper <drepper@gmail.com>
21807 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
21808 problem in reallocation in last patch.
21810 2011-04-20 Ulrich Drepper <drepper@gmail.com>
21812 * sunrpc/Makefile: Move inclusion of Rules.
21814 2011-04-19 Ulrich Drepper <drepper@gmail.com>
21816 * nss/nss_files/files-initgroups.c: New file.
21817 * nss/Makefile (libnss_files-routines): Add files-initgroups.
21818 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
21819 _nss_files_initgroups_dyn.
21821 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
21823 * elf/elf.h (R_ARM_IRELATIVE): Define.
21825 2011-04-19 Ulrich Drepper <drepper@gmail.com>
21827 * po/ru.po: Update from translation team.
21829 2011-04-17 Ulrich Drepper <drepper@gmail.com>
21831 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
21834 2011-02-06 Mike Frysinger <vapier@gentoo.org>
21837 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
21838 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
21839 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
21840 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21841 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21843 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
21845 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
21847 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21848 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21849 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21851 2011-04-17 Ulrich Drepper <drepper@gmail.com>
21854 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
21856 * stdlib/bug-getcontext.c: New file.
21857 * stdlib/Makefile: Add rules to build and run bug-getcontext.
21859 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21861 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
21862 instructions into .machine "z9-109".
21863 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
21864 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
21866 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21868 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
21869 between environment variables and auxiliary vector.
21871 2011-04-16 Ulrich Drepper <drepper@gmail.com>
21873 * Makefile: Add rules to build linkobj/libc.so.
21874 * include/libc-symbols.h: Define libc_hidden_nolink.
21875 * include/rpc/auth.h: Mark functions which are to be hidden.
21876 * include/rpc/auth_des.h: Likewise.
21877 * include/rpc/auth_unix.h: Likewise.
21878 * include/rpc/clnt.h: Likewise.
21879 * include/rpc/des_crypt.h: Likewise.
21880 * include/rpc/key_prot.h: Likewise.
21881 * include/rpc/pmap_clnt.h: Likewise.
21882 * include/rpc/pmap_prot.h: Likewise.
21883 * include/rpc/pmap_rmt.h: Likewise.
21884 * include/rpc/rpc_msg.h: Likewise.
21885 * include/rpc/svc.h: Likewise.
21886 * include/rpc/svc_auth.h: Likewise.
21887 * include/rpc/xdr.h: Likewise.
21888 * nis/Makefile: Link all DSOs against linkobj/libc.so.
21889 * nss/Makefile: Likewise.
21890 * sunrpc/Makefile: Don't install headers. Build library with normal
21891 entry points. Don't build rpcinfo. Link RPC tests appropriately.
21892 * sunrpc/auth_des.c: Hide exported symbols by default, export some
21893 for the compat linking library. Remove use of INTDEF/INTUSE.
21894 * sunrpc/auth_none.c: Likewise.
21895 * sunrpc/auth_unix.c: Likewise.
21896 * sunrpc/authdes_prot.c: Likewise.
21897 * sunrpc/authuxprot.c: Likewise.
21898 * sunrpc/clnt_gen.c: Likewise.
21899 * sunrpc/clnt_perr.c: Likewise.
21900 * sunrpc/clnt_raw.c: Likewise.
21901 * sunrpc/clnt_simp.c: Likewise.
21902 * sunrpc/clnt_tcp.c: Likewise.
21903 * sunrpc/clnt_udp.c: Likewise.
21904 * sunrpc/clnt_unix.c: Likewise.
21905 * sunrpc/des_crypt.c: Likewise.
21906 * sunrpc/des_soft.c: Likewise.
21907 * sunrpc/get_myaddr.c: Likewise.
21908 * sunrpc/key_call.c: Likewise.
21909 * sunrpc/key_prot.c: Likewise.
21910 * sunrpc/netname.c: Likewise.
21911 * sunrpc/pm_getmaps.c: Likewise.
21912 * sunrpc/pm_getport.c: Likewise.
21913 * sunrpc/pmap_clnt.c: Likewise.
21914 * sunrpc/pmap_prot.c: Likewise.
21915 * sunrpc/pmap_prot2.c: Likewise.
21916 * sunrpc/pmap_rmt.c: Likewise.
21917 * sunrpc/publickey.c: Likewise.
21918 * sunrpc/rpc_cmsg.c: Likewise.
21919 * sunrpc/rpc_common.c: Likewise.
21920 * sunrpc/rpc_dtable.c: Likewise.
21921 * sunrpc/rpc_prot.c: Likewise.
21922 * sunrpc/rpc_thread.c: Likewise.
21923 * sunrpc/rtime.c: Likewise.
21924 * sunrpc/svc.c: Likewise.
21925 * sunrpc/svc_auth.c: Likewise.
21926 * sunrpc/svc_authux.c: Likewise.
21927 * sunrpc/svc_raw.c: Likewise.
21928 * sunrpc/svc_run.c: Likewise.
21929 * sunrpc/svc_simple.c: Likewise.
21930 * sunrpc/svc_tcp.c: Likewise.
21931 * sunrpc/svc_udp.c: Likewise.
21932 * sunrpc/svc_unix.c: Likewise.
21933 * sunrpc/svcauth_des.c: Likewise.
21934 * sunrpc/xcrypt.c: Likewise.
21935 * sunrpc/xdr.c: Likewise.
21936 * sunrpc/xdr_array.c: Likewise.
21937 * sunrpc/xdr_float.c: Likewise.
21938 * sunrpc/xdr_intXX_t.c: Likewise.
21939 * sunrpc/xdr_mem.c: Likewise.
21940 * sunrpc/xdr_rec.c: Likewise.
21941 * sunrpc/xdr_ref.c: Likewise.
21942 * sunrpc/xdr_sizeof.c: Likewise.
21943 * sunrpc/xdr_stdio.c: Likewise.
21945 2011-04-10 Ulrich Drepper <drepper@gmail.com>
21948 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
21949 * sysdeps/ia64/dl-tls.h: Likewise.
21950 * sysdeps/powerpc/dl-tls.h: Likewise.
21951 * sysdeps/s390/dl-tls.h: Likewise.
21952 * sysdeps/sh/dl-tls.h: Likewise.
21953 * sysdeps/sparc/dl-tls.h: Likewise.
21954 * sysdeps/x86_64/dl-tls.h: Likewise.
21955 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
21957 2011-03-14 Andreas Schwab <schwab@redhat.com>
21959 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
21960 rpath element also skip the following colon.
21961 (expand_dynamic_string_token): Add is_path parameter and pass
21962 down to DL_DST_REQUIRED and _dl_dst_substitute.
21963 (decompose_rpath): Call expand_dynamic_string_token with
21964 non-zero is_path. Ignore empty rpaths.
21965 (_dl_map_object_from_fd): Call expand_dynamic_string_token
21968 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
21970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21973 2011-04-09 Ulrich Drepper <drepper@gmail.com>
21976 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
21977 Patch by Filipe David Manana <fdmanana@apache.org>.
21979 2011-04-07 Andreas Schwab <schwab@redhat.com>
21981 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
21982 Maintain aligned stack.
21983 (CHECK_RSP): Remove unused macro.
21985 2011-04-03 Ulrich Drepper <drepper@gmail.com>
21987 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
21988 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
21990 2011-04-02 Ulrich Drepper <drepper@gmail.com>
21992 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
21994 * include/features.h: Mention __USE_XOPEN2K8 in comment.
21996 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
21999 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
22000 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
22001 * sysdeps/x86_64/memmove.c: New file.
22002 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
22003 (memcpy): Renamed to ...
22004 (__new_memcpy): This.
22005 (memcpy): Provide GLIBC_2_14 memcpy.
22006 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
22007 (memcpy): Provide GLIBC_2_2_5 memcpy.
22009 2011-04-01 Ulrich Drepper <drepper@gmail.com>
22012 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
22014 2011-03-30 Andreas Schwab <schwab@redhat.com>
22016 * misc/syncfs.c: New file.
22017 * misc/Makefile (routines): Add syncfs.
22018 * posix/unistd.h: Declare syncfs.
22019 * sysdeps/unix/syscalls.list: Add syncfs.
22021 2011-04-01 Andreas Schwab <schwab@redhat.com>
22023 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
22025 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
22026 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22027 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22028 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22029 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22030 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
22031 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22033 2011-04-01 Ulrich Drepper <drepper@gmail.com>
22035 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
22036 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22037 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
22038 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22039 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22040 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22041 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22043 * io/Makefile: Compile fallocate.c, fallocate64.c, and
22044 sync_file_range.c with -fexceptions.
22045 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
22046 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
22047 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
22048 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
22049 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
22050 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
22051 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
22052 sync_file_range as cancellation point
22053 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
22054 now a wrapper around __call_sync_file_range with cancellation handling.
22055 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
22056 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
22057 function name to __call_sync_file_range.
22058 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
22059 Add call_sync_file_range.
22061 2011-04-01 Andreas Schwab <schwab@redhat.com>
22063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22066 2011-04-01 Ulrich Drepper <drepper@gmail.com>
22068 * iconv/iconv.h: Fix typo in comment.
22069 * io/fcntl.h: Likewise.
22070 * libio/stdio.h: Likewise.
22071 * posix/spawn.h: Likewise.
22072 * posix/unistd.h: Likewise.
22073 * stdlib/stdlib.h: Likewise.
22074 * time/time.h: Likewise.
22075 * wcsmbs/wchar.h: Likewise.
22077 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
22078 open_by_handle): Add.
22079 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
22080 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
22081 Augment a few comments.
22082 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
22083 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22084 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
22085 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22086 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
22087 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
22090 * io/fcntl.h (AT_EMPTY_PATH): Define.
22092 2011-03-30 Ulrich Drepper <drepper@gmail.com>
22094 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
22095 * sysdeps/unix/sysv/linux/bits/time.h: New file.
22096 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
22098 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
22099 * Versions.def: Add GLIBC_2.14.
22100 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
22103 2011-03-22 Ulrich Drepper <drepper@gmail.com>
22105 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
22107 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22109 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
22112 * string/test-strncmp.c (do_page_test): New function.
22113 (check2): Likewise.
22114 (test_main): Call check2.
22115 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
22117 2011-03-20 Ulrich Drepper <drepper@gmail.com>
22120 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
22121 Handle cache information in CPU leaf 4.
22122 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
22124 2011-03-18 Ulrich Drepper <drepper@gmail.com>
22127 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
22128 character representation.
22129 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
22131 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
22133 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
22134 END(__isnan) to END(__isnanf) to match function entry point/label
22135 EALIGN(__isnanf,...).
22137 2011-03-10 Jakub Jelinek <jakub@redhat.com>
22139 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
22141 2011-03-10 Ulrich Drepper <drepper@gmail.com>
22144 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
22145 copy from the symbol referenced in the relocation to initialize the
22147 Patch by Piotr Bury <pbury@goahead.com>.
22148 * elf/Makefile: Add rules to build and tst-unique3.
22149 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
22150 * elf/tst-unique3.cc: New file.
22151 * elf/tst-unique3.h: New file.
22152 * elf/tst-unique3lib.cc: New file.
22153 * elf/tst-unique3lib2.cc: New file.
22155 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
22157 2011-03-10 Mike Frysinger <vapier@gentoo.org>
22159 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
22160 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
22163 2011-03-06 Ulrich Drepper <drepper@gmail.com>
22165 * elf/dl-load.c (_dl_map_object): If we are looking for the first
22166 to-be-loaded object along a path to loader is ld.so.
22168 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22169 Ulrich Drepper <drepper@gmail.com>
22171 * sysdeps/x86_64/memset.S: After aligning destination, code
22172 branches to different locations depending on the value of
22173 misalignment, when multiarch is enabled. Fix this.
22175 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
22177 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
22178 Set _x86_64_preferred_memory_instruction for AMD processsors.
22179 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22180 Set bit_Prefer_SSE_for_memop for AMD processors.
22182 2011-03-04 Ulrich Drepper <drepper@gmail.com>
22184 * libio/fmemopen.c (fmemopen): Optimize a bit.
22186 2011-03-03 Andreas Schwab <schwab@redhat.com>
22188 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
22190 2011-03-03 Roland McGrath <roland@redhat.com>
22192 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
22194 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
22196 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
22197 __bzero_ultra1 instead of __memset_ultra1.
22199 2011-02-23 Andreas Schwab <schwab@redhat.com>
22200 Ulrich Drepper <drepper@gmail.com>
22203 * include/link.h (struct link_map): Add l_orig_initfini.
22204 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
22205 returning unsuccessfully.
22206 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
22207 close of a file loaded at startup, restore the original l_initfini
22209 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
22210 list, store the pointer.
22211 * elf/Makefile ($(objpfx)noload-mem): New rule.
22212 (noload-ENV): Define.
22213 (tests): Add $(objpfx)noload-mem.
22214 * elf/noload.c: Include <memcheck.h>.
22215 (main): Call mtrace. Close all opened handles.
22217 2011-02-17 Andreas Schwab <schwab@redhat.com>
22220 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
22221 dependencies are missing.
22223 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
22225 Fix __if_freereq crash: Unlike the generic version which uses free,
22227 * sysdeps/mach/hurd/ifreq.h: New file.
22229 2011-01-27 Petr Baudis <pasky@suse.cz>
22230 Ulrich Drepper <drepper@gmail.com>
22233 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
22234 to extend_alloca().
22235 * stdio-common/bug23.c: New file.
22236 * stdio-common/Makefile (tests): Add bug23.
22238 2010-09-28 Andreas Schwab <schwab@redhat.com>
22239 Ulrich Drepper <drepper@gmail.com>
22242 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
22243 before performing relro protection. At old place add assertion
22244 to make sure nothing changed.
22246 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
22247 Glauber de Oliveira Costa <glommer@gmail.com>
22249 * elf/elf.h: Add new ARM TLS relocs.
22251 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
22253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22254 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
22256 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
22258 * sysdeps/wordsize-64/tst-writev.c: New file.
22260 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
22262 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
22263 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
22264 insns in _dl_start to prevent a TOC reference before relocs are
22267 2011-02-15 Ulrich Drepper <drepper@gmail.com>
22270 * Makeconfig: Remove RANLIB definition.
22271 * Makerules: Don't use RANLIB.
22272 * aclocal.m4: Remove ranlib test.
22273 * configure.in: No need to check for ranlib.
22274 * elf/rtld-Rules: Don't use RANLIB.
22276 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
22278 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
22280 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
22281 inclusion protection macro.
22283 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
22284 SIGRTMIN and SIGRTMAX and print information in that case only when
22285 SIGRTMIN is defined.
22287 2011-02-11 Jakub Jelinek <jakub@redhat.com>
22289 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
22290 arginfo fn returning -1.
22292 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
22293 and thousands string is zero terminated.
22295 2011-02-03 Andreas Schwab <schwab@redhat.com>
22297 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
22298 sysdeps/unix/sysv/linux/bits/socket.h.
22300 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
22302 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
22303 (__CPU_COUNT): Remove old macros.
22304 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
22305 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
22306 (__CPU_ALLOC, __CPU_FREE): Add macros.
22307 (__sched_cpualloc, __sched_cpufree): Add declarations.
22309 2011-02-05 Ulrich Drepper <drepper@gmail.com>
22311 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
22312 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
22313 * nscd/aicache.c (addhstaiX): Return timeout of added value.
22314 (readdhstai): Return value of addhstaiX call.
22315 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
22316 (addgrbyX): Return value returned by cache_addgr.
22317 (readdgrbyname): Return value returned by addgrbyX.
22318 (readdgrbygid): Likewise.
22319 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
22320 (addpwbyX): Return value returned by cache_addpw.
22321 (readdpwbyname): Return value returned by addhstbyX.
22322 (readdpwbyuid): Likewise.
22323 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
22324 (addservbyX): Return value returned by cache_addserv.
22325 (readdservbyname): Return value returned by addservbyX:
22326 (readdservbyport): Likewise.
22327 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
22328 (addhstbyX): Return value returned by cache_addhst.
22329 (readdhstbyname): Return value returned by addhstbyX.
22330 (readdhstbyaddr): Likewise.
22331 (readdhstbynamev6): Likewise.
22332 (readdhstbyaddrv6): Likewise.
22333 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
22334 (readdinitgroups): Return value returned by addinitgroupsX.
22335 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
22336 (prune_cache): Keep track of timeout value of re-added entries.
22337 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
22338 * nscd/nscd.h: Adjust prototypes of readd* functions.
22340 2011-02-04 Roland McGrath <roland@redhat.com>
22342 * nis/nis_server.c (nis_servstate): Use the right name for 0.
22343 (nis_stats): Likewise.
22344 * nis/nis_modify.c (nis_modify): Likewise.
22345 * nis/nis_remove.c (nis_remove): Likewise.
22346 * nis/nis_add.c (nis_add): Likewise.
22348 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
22350 * posix/fnmatch_loop.c: Add some consts.
22352 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
22354 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
22357 * config.make.in (config-cflags-novzeroupper): Define.
22358 * configure.in: Substitute libc_cv_cc_novzeroupper.
22359 * elf/Makefile (AVX-CFLAGS): Define.
22360 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
22361 (CFLAGS-tst-auditmod4a.c): Likewise.
22362 (CFLAGS-tst-auditmod4b.c): Likewise.
22363 (CFLAGS-tst-auditmod6b.c): Likewise.
22364 (CFLAGS-tst-auditmod6c.c): Likewise.
22365 (CFLAGS-tst-auditmod7b.c): Likewise.
22366 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
22368 2011-02-02 Ulrich Drepper <drepper@gmail.com>
22370 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
22371 function to the callback.
22372 Patch partly by Jiri Olsa <jolsa@redhat.com>.
22374 2011-02-02 Andreas Schwab <schwab@redhat.com>
22376 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
22379 2011-01-19 Ulrich Drepper <drepper@gmail.com>
22382 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
22384 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
22386 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
22389 * elf/Makefile: Add rules to build and run new test.
22390 * elf/tst-initorder.c: New file.
22391 * elf/tst-initorder.exp: New file.
22392 * elf/tst-initordera1.c: New file.
22393 * elf/tst-initordera2.c: New file.
22394 * elf/tst-initordera3.c: New file.
22395 * elf/tst-initordera4.c: New file.
22396 * elf/tst-initorderb1.c: New file.
22397 * elf/tst-initorderb2.c: New file.
22398 * elf/tst-order-a1.c: New file.
22399 * elf/tst-order-a2.c: New file.
22400 * elf/tst-order-a3.c: New file.
22401 * elf/tst-order-a4.c: New file.
22402 * elf/tst-order-b1.c: New file.
22403 * elf/tst-order-b2.c: New file.
22404 * elf/tst-order-main.c: New file.
22405 New test case by George Gensure <werkt0@gmail.com>.
22407 2010-10-01 Andreas Schwab <schwab@redhat.com>
22409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
22410 decoding ACE if AI_CANONIDN.
22412 2011-01-18 Ulrich Drepper <drepper@gmail.com>
22414 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
22416 2011-01-17 Ulrich Drepper <drepper@gmail.com>
22418 * version.h (RELEASE): Bump for 2.13 release.
22419 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
22421 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
22423 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
22425 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
22426 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
22427 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
22428 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
22429 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
22430 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22432 * posix/getconf.c: Update copyright year.
22433 * catgets/gencat.c: Likewise.
22434 * csu/version.c: Likewise.
22435 * debug/catchsegv.sh: Likewise.
22436 * debug/xtrace.sh: Likewise.
22437 * elf/ldconfig.c: Likewise.
22438 * elf/ldd.bash.in: Likewise.
22439 * elf/sprof.c (print_version): Likewise.
22440 * iconv/iconv_prog.c: Likewise.
22441 * iconv/iconvconfig.c: Likewise.
22442 * locale/programs/locale.c: Likewise.
22443 * locale/programs/localedef.c: Likewise.
22444 * malloc/memusage.sh: Likewise.
22445 * malloc/mtrace.pl: Likewise.
22446 * nscd/nscd.c (print_version): Likewise.
22447 * nss/getent.c: Likewise.
22449 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
22450 PF_CAIF, and PF_ALG.
22451 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
22453 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
22455 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
22456 (modules-names): Use them.
22457 (ifunc-test-modules, ifunc-pie-tests): Define.
22458 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
22459 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
22460 (test-extras): Likewise.
22461 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
22462 $(compile-command.c).
22463 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
22464 (all-built-dso): Define.
22465 (check-textrel.out, check-execstack.out): Depend on it.
22467 * configure.in: Don't override --enable-multi-arch.
22469 2011-01-15 Ulrich Drepper <drepper@gmail.com>
22472 * nscd/hstcache.c (tryagain): Define.
22473 (cache_addhst): Return tryagain not notfound for temporary errors.
22474 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
22477 2011-01-14 Ulrich Drepper <drepper@gmail.com>
22480 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
22481 to make the syscall.
22482 * sysdeps/unix/sysv/linux/setgroups.c: New file.
22485 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
22486 and fall back to matching as normal character if the string ends before
22487 the matching ']' is found. This is what POSIX requires.
22488 * posix/testfnm.c: Adjust test result.
22489 * posix/globtest.sh: Adjust test result. Add new test.
22490 * posix/tst-fnmatch.input: Likewise.
22491 * posix/tst-fnmatch2.c: Add new test.
22493 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
22495 * elf/Makefile (check-execstack): Revert last change. Depend on
22497 (check-execstack.h): New target.
22498 (generated): Add check-execstack.h.
22499 * elf/check-execstack.c: Include "check-execstack.h".
22500 (main): Revert last change.
22501 (handle_file): Return zero if GNU_STACK is absent and
22502 DEFAULT_STACK_PERMS doesn't include PF_X.
22504 2011-01-13 Ulrich Drepper <drepper@gmail.com>
22506 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
22507 in child fails because the descriptor is already closed.
22508 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
22509 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
22510 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
22513 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
22517 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
22518 temporary buffer used to handle multi lookups locally.
22519 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
22521 2011-01-12 Ulrich Drepper <drepper@gmail.com>
22523 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
22526 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
22528 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
22529 alignment for SSE2.
22531 2011-01-12 Ulrich Drepper <drepper@gmail.com>
22534 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
22535 characters. When rounding increased number of integer digits recompute
22537 * stdio-common/tst-grouping.c: New file.
22538 * stdio-common/Makefile: Add rules to build and run tst-grouping.
22540 2011-01-09 Ulrich Drepper <drepper@gmail.com>
22542 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
22543 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
22545 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
22547 * bits/select.h: Likewise.
22549 2011-01-08 Ulrich Drepper <drepper@gmail.com>
22551 * po/ja.po: Update from translation team.
22553 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
22556 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
22557 implementation just like for lxstat, fxstatat, et al.
22559 2010-12-27 Jim Meyering <meyering@redhat.com>
22562 * posix/regexec.c (build_trtable): Return failure indication upon
22563 calloc failure. Otherwise, re_search_internal could infloop on OOM.
22565 2010-12-25 Ulrich Drepper <drepper@gmail.com>
22568 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
22569 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
22570 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
22571 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
22574 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
22577 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
22578 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
22580 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
22582 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
22583 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
22584 script has SORT_BY_INIT_PRIORITY.
22585 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
22586 NO_CTORS_DTORS_SECTIONS is defined.
22587 * elf/soinit.c: Likewise.
22588 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
22589 NO_CTORS_DTORS_SECTIONS is defined.
22590 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
22591 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
22592 * sysdeps/sh/init-first.c: Likewise.
22593 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
22595 2010-12-24 Ulrich Drepper <drepper@gmail.com>
22597 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
22598 always use the slow path.
22600 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
22602 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
22603 similar rule which adds the sysdep directories to the header search in
22604 order to pick up the correct platform stackinfo.h.
22605 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
22606 perform test if it is, otherwise return successfully without testing.
22607 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
22608 DEFAULT_STACK_PERMS define in stackinfo.h.
22609 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
22610 defined in stackinfo.h.
22611 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
22612 DEFAULT_STACK_PERMS defined in stackinfo.h.
22613 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
22614 * sysdeps/ia64/stackinfo.h: Likewise.
22615 * sysdeps/s390/stackinfo.h: Likewise.
22616 * sysdeps/sh/stackinfo.h: Likewise.
22617 * sysdeps/sparc/stackinfo.h: Likewise.
22618 * sysdeps/x86_64/stackinfo.h: Likewise.
22619 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
22620 PF_X for powerpc64. Retain PF_X for powerpc32.
22622 2010-12-19 Ulrich Drepper <drepper@gmail.com>
22624 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
22626 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
22627 GETDENTS_64BIT_ALIGNED.
22629 2010-12-14 Ulrich Drepper <dreper@gmail.com>
22631 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
22633 2010-12-10 Andreas Schwab <schwab@redhat.com>
22635 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
22638 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
22639 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
22641 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
22642 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
22644 2010-12-09 Ulrich Drepper <drepper@gmail.com>
22647 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
22650 2010-12-09 Jakub Jelinek <jakub@redhat.com>
22652 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
22654 2010-12-03 Ulrich Drepper <drepper@gmail.com>
22656 * po/it.po: Update from translation team.
22658 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
22660 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
22663 2010-11-30 Ulrich Drepper <drepper@gmail.com>
22665 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
22667 2010-11-24 Andreas Schwab <schwab@redhat.com>
22669 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
22671 (gaih_getanswer_slice): Likewise.
22673 2010-10-20 Jakub Jelinek <jakub@redhat.com>
22675 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
22677 2010-05-31 Petr Baudis <pasky@suse.cz>
22680 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
22681 silently even in the chroot mode.
22683 2010-11-22 Ulrich Drepper <drepper@gmail.com>
22685 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
22686 last patch a bit. Pretty printing
22688 2010-05-31 Petr Baudis <pasky@suse.cz>
22691 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
22692 initialization of skip_initgroups_dyn.
22694 2010-11-19 Ulrich Drepper <drepper@gmail.com>
22696 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
22697 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
22699 2010-11-16 Ulrich Drepper <drepper@gmail.com>
22701 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
22703 2010-11-11 Andreas Schwab <schwab@redhat.com>
22705 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
22706 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
22707 (tst-fnmatch-ENV): Set MALLOC_TRACE.
22708 ($(objpfx)tst-fnmatch-mem): New rule.
22709 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
22710 * posix/tst-fnmatch.c (main): Call mtrace.
22712 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
22714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22715 Support Intel processor model 6 and model 0x2c.
22717 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
22719 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
22722 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
22725 * string/test-strncasecmp.c (check_result): New function.
22726 (do_one_test): Use it.
22727 (check1): New function.
22728 (test_main): Use it.
22729 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
22730 Support strcasecmp and strncasecmp.
22732 2010-11-08 Ulrich Drepper <drepper@gmail.com>
22735 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
22736 * sysdeps/x86_64/bits/byteswap.h: Likewise.
22738 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
22740 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
22742 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22744 * sysdeps/x86_64/multiarch/bzero.S: New file.
22745 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
22746 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
22747 * sysdeps/x86_64/multiarch/memset.S: New file.
22748 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
22749 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22750 Set bit_Prefer_SSE_for_memop for Intel processors.
22751 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
22753 (index_Prefer_SSE_for_memop): Define.
22754 (HAS_PREFER_SSE_FOR_MEMOP): Define.
22756 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
22758 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
22759 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
22761 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
22764 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22765 (__x86_64_raw_data_cache_size_half): Likewise.
22766 (__x86_64_raw_shared_cache_size): Likewise.
22767 (__x86_64_raw_shared_cache_size_half): Likewise.
22769 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
22770 (__x86_64_raw_data_cache_size_half): Likewise.
22771 (__x86_64_raw_shared_cache_size): Likewise.
22772 (__x86_64_raw_shared_cache_size_half): Likewise.
22773 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
22774 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
22775 and __x86_64_raw_shared_cache_size_half. Round
22776 __x86_64_data_cache_size_half, __x86_64_data_cache_size
22777 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
22778 to multiple of 256 bytes.
22780 2010-11-03 Ulrich Drepper <drepper@gmail.com>
22783 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
22784 of inacessible symlinks. Verify result of symlink before returning it.
22785 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22786 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
22788 2010-10-28 Erich Ritz <erichritz@gmail.com>
22790 * math/math.h (isinf): Fix typo in comment.
22792 2010-11-01 Ulrich Drepper <drepper@gmail.com>
22794 * po/da.po: Update from translation team.
22796 2010-10-26 Ulrich Drepper <drepper@gmail.com>
22798 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
22799 is added to the list.
22801 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22802 Ulrich Drepper <drepper@gmail.com>
22804 * elf/dl-object.c (_dl_new_object): Don't append the new object to
22805 the global list here. Move code to...
22806 (_dl_add_to_namespace_list): ...here. New function.
22807 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
22808 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
22809 * elf/dl-load.c (lose): Don't remove the element from the list.
22810 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
22811 (_dl_map_object): Likewise.
22813 2010-10-25 Ulrich Drepper <drepper@gmail.com>
22816 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
22817 into all bytes of SSE register.
22818 Patch by Richard Li <richardpku@gmail.com>.
22820 2010-10-24 Ulrich Drepper <drepper@gmail.com>
22823 * malloc/malloc.c (_int_free): Fill correct number of bytes when
22826 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
22828 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
22829 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
22830 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
22831 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
22832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
22834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
22836 2010-10-22 Andreas Schwab <schwab@redhat.com>
22838 * include/dlfcn.h (__RTLD_SECURE): Define.
22839 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
22840 mode & __RTLD_SECURE instead.
22841 (open_path): Rename preloaded parameter to secure.
22842 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
22843 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
22844 * elf/dl-deps.c (openaux): Likewise.
22845 * elf/rtld.c (struct map_args): Remove is_preloaded.
22846 (map_doit): Don't use it.
22847 (dl_main): Likewise.
22848 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
22849 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
22851 2010-09-09 Andreas Schwab <schwab@redhat.com>
22853 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
22854 (sysd-rules-targets): Remove duplicates.
22855 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
22856 rtld-%.$o dependency.
22858 2010-10-18 Andreas Schwab <schwab@redhat.com>
22860 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
22861 _dl_map_object do it.
22863 2010-10-19 Ulrich Drepper <drepper@gmail.com>
22865 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
22866 fast fma builtins, define the macros in the C99 standard.
22867 (FP_FAST_FMAF): Likewise.
22868 (FP_FAST_FMAL): Likewise.
22869 * sysdeps/x86_64/bits/mathdef.h: Likewise.
22871 * bits/mathdef.h: Update copyright year.
22872 * sysdeps/powerpc/bits/mathdef.h: Likewise.
22874 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
22876 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
22877 builtins, define the macros in the C99 standard.
22878 (FP_FAST_FMAF): Likewise.
22879 (FP_FAST_FMAL): Likewise.
22880 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
22882 (FP_FAST_FMAF): Likewise.
22884 2010-10-15 Jakub Jelinek <jakub@redhat.com>
22887 * math/libm-test.inc (fma_test): Some new testcases.
22888 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
22889 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
22890 y and infinite z. Do multiplication by C already in long double.
22891 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
22892 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
22893 y and infinite z. Do bitwise or of inexact bit into u.d.
22894 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
22895 * sysdeps/i386/fpu/s_fmaf.S: Removed.
22896 * sysdeps/i386/fpu/s_fma.S: Removed.
22897 * sysdeps/i386/fpu/s_fmal.S: Removed.
22899 2010-10-16 Jakub Jelinek <jakub@redhat.com>
22902 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
22903 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
22904 computation is not scheduled after fetestexcept. Fix value
22905 of minimum denormal long double.
22907 2010-10-14 Jakub Jelinek <jakub@redhat.com>
22910 * math/libm-test.inc (fma_test): Add some more tests.
22911 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
22914 2010-10-15 Andreas Schwab <schwab@redhat.com>
22916 * scripts/data/localplt-s390-linux-gnu.data: New file.
22917 * scripts/data/localplt-s390x-linux-gnu.data: New file.
22919 2010-10-13 Jakub Jelinek <jakub@redhat.com>
22922 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
22923 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
22925 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
22927 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
22928 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
22929 if one of x and y is very large and the other is subnormal.
22930 * sysdeps/s390/fpu/s_fmaf.c: New file.
22931 * sysdeps/s390/fpu/s_fma.c: New file.
22932 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
22933 * sysdeps/powerpc/fpu/s_fma.S: New file.
22934 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
22935 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
22936 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
22938 2010-10-12 Jakub Jelinek <jakub@redhat.com>
22941 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
22943 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
22944 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
22945 * sysdeps/i386/i686/multiarch/s_fma.c: Include
22946 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
22947 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
22948 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
22949 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
22951 2010-10-12 Ulrich Drepper <drepper@redhat.com>
22954 * posix/regcomp.c (parse_branch): One more memory leak plugged.
22955 * posix/bug-regex31.input: Add test case.
22957 2010-10-11 Ulrich Drepper <drepper@gmail.com>
22959 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
22960 * posix/bug-regex31.input: New file.
22963 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
22964 (parse_sub_exp): Fix last change, use postorder.
22966 * posix/bug-regex31.c: New file.
22967 * posix/Makefile: Add rules to build and run bug-regex31.
22969 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
22972 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
22975 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
22976 to have entries in sys_siglist.
22979 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
22982 2010-10-07 Jakub Jelinek <jakub@redhat.com>
22985 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
22986 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
22987 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
22988 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
22989 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22990 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
22991 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
22992 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
22993 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
22994 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
22995 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
22996 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
22997 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
22998 * math/ftestexcept.c (fetestexcept): Likewise.
22999 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
23000 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
23001 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
23002 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
23003 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
23004 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
23005 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
23007 2010-10-11 Ulrich Drepper <drepper@gmail.com>
23010 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
23013 2010-10-06 Ulrich Drepper <drepper@gmail.com>
23015 * string/bug-strstr1.c: New file.
23016 * string/Makefile: Add rules to build and run bug-strstr1.
23018 2010-10-05 Eric Blake <eblake@redhat.com>
23021 * string/str-two-way.h (two_way_long_needle): Always clear memory
23022 when skipping input due to the shift table.
23024 2010-10-03 Ulrich Drepper <drepper@gmail.com>
23027 * malloc/mcheck.c: Handle large requests.
23030 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
23031 for strncmp and strncasecmp.
23032 * string/stratcliff.c: Add tests for strcmp and strncmp.
23033 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
23035 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23037 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
23040 2010-09-30 Andreas Jaeger <aj@suse.de>
23042 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
23043 (CGROUP_SUPER_MAGIC): Define.
23044 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23045 Handle btrfs and cgroup file systems.
23046 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23049 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
23051 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
23052 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
23054 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23057 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
23058 trying to locate the ELF header.
23060 2010-09-27 Andreas Schwab <schwab@redhat.com>
23063 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
23064 Mask out sign-bit copies when constructing f_fsid.
23066 2010-09-24 Petr Baudis <pasky@suse.cz>
23068 * debug/stack_chk_fail_local.c: Add missing licence exception.
23069 * debug/warning-nop.c: Likewise.
23071 2010-09-15 Joseph Myers <joseph@codesourcery.com>
23073 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
23074 implementing getdents64 using getdents syscall, set d_type if
23075 __ASSUME_GETDENTS32_D_TYPE.
23077 2010-09-16 Andreas Schwab <schwab@redhat.com>
23079 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
23080 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
23082 2010-09-21 Ulrich Drepper <drepper@redhat.com>
23085 * posix/unistd.h: Undo change of feature selection for ftruncate from
23088 2010-09-20 Ulrich Drepper <drepper@redhat.com>
23090 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
23093 2010-09-20 Andreas Schwab <schwab@redhat.com>
23095 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
23097 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23099 2010-09-14 Andreas Schwab <schwab@redhat.com>
23101 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
23102 variables after CHECK_SP call.
23103 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
23105 2010-09-13 Andreas Schwab <schwab@redhat.com>
23106 Ulrich Drepper <drepper@redhat.com>
23108 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
23109 re-relocationg ld.so.
23110 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
23111 _dl_init_paths call.
23112 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
23115 2010-09-14 Ulrich Drepper <drepper@redhat.com>
23117 * resolv/res_init.c (__res_vinit): Count the default server we added.
23119 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
23120 Ulrich Drepper <drepper@redhat.com>
23123 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23124 (____longjmp_chk): Use %ebx for saving value across system call.
23127 2010-09-06 Andreas Schwab <schwab@redhat.com>
23129 * manual/Makefile: Don't mix pattern rules with normal rules.
23131 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
23133 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
23135 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
23136 * libio/iofopncook.c (_IO_cookie_init): Likewise.
23137 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
23138 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23139 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23142 2010-09-04 Ulrich Drepper <drepper@redhat.com>
23145 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
23146 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
23148 2010-09-02 Ulrich Drepper <drepper@redhat.com>
23150 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
23151 * sysdeps/x86_64/addmul_1.S: Likewise.
23152 * sysdeps/x86_64/lshift.S: Likewise.
23153 * sysdeps/x86_64/mul_1.S: Likewise.
23154 * sysdeps/x86_64/rshift.S: Likewise.
23155 * sysdeps/x86_64/sub_n.S: Likewise.
23156 * sysdeps/x86_64/submul_1.S: Likewise.
23158 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
23160 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
23161 Define __sched_param instead of SCHED_* and sched_param when
23162 <bits/sched.h> is included with __need_schedparam defined.
23163 * bits/sched.h [__need_schedparam]
23164 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
23165 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
23166 (__defined_schedparam): Define to 1.
23167 (__sched_param): New structure, identical to sched_param.
23168 (__need_schedparam): Undefine.
23170 2010-08-31 Mike Frysinger <vapier@gentoo.org>
23172 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
23173 (epoll_create1): Declare.
23175 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
23177 2010-08-31 Andreas Schwab <schwab@redhat.com>
23180 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
23181 shifting retval into place.
23183 2010-09-01 Ulrich Drepper <drepper@redhat.com>
23185 * nis/rpcsvc/nis.h: Update copyright notice.
23186 * nis/rpcsvc/nis.x: Likewise.
23187 * nis/rpcsvc/nis_callback.h: Likewise.
23188 * nis/rpcsvc/nis_callback.x: Likewise.
23189 * nis/rpcsvc/nis_object.x: Likewise.
23190 * nis/rpcsvc/nis_tags.h: Likewise.
23191 * nis/rpcsvc/yp.h: Likewise.
23192 * nis/rpcsvc/yp.x: Likewise.
23193 * nis/rpcsvc/ypupd.h: Likewise.
23194 * nis/yp_xdr.c: Likewise.
23195 * nis/ypupdate_xdr.c: Likewise.
23197 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
23198 mainly the body of pmap_getport. Add parameters to specify timeouts.
23199 (pmap_getport): Use __libc_rpc_getport.
23200 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
23201 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
23202 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
23204 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
23206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
23209 2010-08-27 Roland McGrath <roland@redhat.com>
23211 * sysdeps/i386/i686/multiarch/Makefile
23212 (CFLAGS-varshift.c): New variable.
23214 2010-08-27 Ulrich Drepper <drepper@redhat.com>
23216 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
23217 * sysdeps/i386/i686/multiarch/varshift.c: New file.
23219 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
23221 * sysdeps/x86_64/strlen.S: Minimal code improvement.
23223 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
23225 * sysdeps/x86_64/strlen.S: Unroll the loop.
23226 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23227 strlen-sse2 strlen-sse2-bsf.
23228 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
23229 __strlen_no_bsf if bit_Slow_BSF is set.
23230 (__strlen_sse42): Removed.
23231 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
23232 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
23234 2010-08-25 Roland McGrath <roland@redhat.com>
23236 * sysdeps/x86_64/multiarch/varshift.S: File removed.
23237 * sysdeps/x86_64/multiarch/varshift.c: New file.
23238 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
23239 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
23240 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
23241 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23243 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
23245 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23246 strlen-sse2 strlen-sse2-bsf.
23247 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
23248 __strlen_sse2_bsf if bit_Slow_BSF is unset.
23249 (__strlen_sse2): Removed.
23250 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
23251 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
23252 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23253 bit_Slow_BSF for Atom.
23254 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
23255 (index_Slow_BSF): Define.
23256 (HAS_SLOW_BSF): Define.
23258 2010-08-25 Ulrich Drepper <drepper@redhat.com>
23261 * resolv/res_init.c (__res_vinit): When no server address at all
23262 is given default to loopback.
23264 2010-08-24 Roland McGrath <roland@redhat.com>
23266 * configure.in: Remove config-name.h generation.
23267 * configure: Regenerated.
23268 * config-name.in: File removed.
23269 * scripts/config-uname.sh: New file.
23270 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
23271 ($(objdir)config-name.h): New target.
23273 * sunrpc/rpc_parse.h: Avoid nested comment.
23275 2010-08-24 Richard Henderson <rth@redhat.com>
23276 Ulrich Drepper <drepper@redhat.com>
23277 H.J. Lu <hongjiu.lu@intel.com>
23279 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
23280 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
23281 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
23282 Replace _mm_srli_si128 with __m128i_shift_right. Replace
23283 _mm_alignr_epi8 with _mm_loadu_si128.
23284 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
23285 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
23286 (__m128i_shift_right): Removed.
23287 * sysdeps/i386/i686/multiarch/varshift.h: New file.
23288 * sysdeps/i386/i686/multiarch/varshift.S: New file.
23289 * sysdeps/x86_64/multiarch/varshift.h: New file.
23290 * sysdeps/x86_64/multiarch/varshift.S: New file.
23292 2010-08-21 Mike Frysinger <vapier@gentoo.org>
23294 * configure.in: Move assembler checks to before sysdep dir checking.
23296 2010-08-20 Petr Baudis <pasky@suse.cz>
23298 * LICENSES: Sync the sunrpc license.
23300 2010-08-19 Ulrich Drepper <drepper@redhat.com>
23302 * sunrpc/auth_des.c: Update copyright notice once again.
23303 * sunrpc/auth_none.c: Likewise.
23304 * sunrpc/auth_unix.c: Likewise.
23305 * sunrpc/authdes_prot.c: Likewise.
23306 * sunrpc/authuxprot.c: Likewise.
23307 * sunrpc/bindrsvprt.c: Likewise.
23308 * sunrpc/clnt_gen.c: Likewise.
23309 * sunrpc/clnt_perr.c: Likewise.
23310 * sunrpc/clnt_raw.c: Likewise.
23311 * sunrpc/clnt_simp.c: Likewise.
23312 * sunrpc/clnt_tcp.c: Likewise.
23313 * sunrpc/clnt_udp.c: Likewise.
23314 * sunrpc/clnt_unix.c: Likewise.
23315 * sunrpc/des_crypt.c: Likewise.
23316 * sunrpc/des_soft.c: Likewise.
23317 * sunrpc/get_myaddr.c: Likewise.
23318 * sunrpc/getrpcport.c: Likewise.
23319 * sunrpc/key_call.c: Likewise.
23320 * sunrpc/key_prot.c: Likewise.
23321 * sunrpc/openchild.c: Likewise.
23322 * sunrpc/pm_getmaps.c: Likewise.
23323 * sunrpc/pm_getport.c: Likewise.
23324 * sunrpc/pmap_clnt.c: Likewise.
23325 * sunrpc/pmap_prot.c: Likewise.
23326 * sunrpc/pmap_prot2.c: Likewise.
23327 * sunrpc/pmap_rmt.c: Likewise.
23328 * sunrpc/rpc/auth.h: Likewise.
23329 * sunrpc/rpc/auth_unix.h: Likewise.
23330 * sunrpc/rpc/clnt.h: Likewise.
23331 * sunrpc/rpc/des_crypt.h: Likewise.
23332 * sunrpc/rpc/key_prot.h: Likewise.
23333 * sunrpc/rpc/netdb.h: Likewise.
23334 * sunrpc/rpc/pmap_clnt.h: Likewise.
23335 * sunrpc/rpc/pmap_prot.h: Likewise.
23336 * sunrpc/rpc/pmap_rmt.h: Likewise.
23337 * sunrpc/rpc/rpc.h: Likewise.
23338 * sunrpc/rpc/rpc_des.h: Likewise.
23339 * sunrpc/rpc/rpc_msg.h: Likewise.
23340 * sunrpc/rpc/svc.h: Likewise.
23341 * sunrpc/rpc/svc_auth.h: Likewise.
23342 * sunrpc/rpc/types.h: Likewise.
23343 * sunrpc/rpc/xdr.h: Likewise.
23344 * sunrpc/rpc_clntout.c: Likewise.
23345 * sunrpc/rpc_cmsg.c: Likewise.
23346 * sunrpc/rpc_common.c: Likewise.
23347 * sunrpc/rpc_cout.c: Likewise.
23348 * sunrpc/rpc_dtable.c: Likewise.
23349 * sunrpc/rpc_hout.c: Likewise.
23350 * sunrpc/rpc_main.c: Likewise.
23351 * sunrpc/rpc_parse.c: Likewise.
23352 * sunrpc/rpc_parse.h: Likewise.
23353 * sunrpc/rpc_prot.c: Likewise.
23354 * sunrpc/rpc_sample.c: Likewise.
23355 * sunrpc/rpc_scan.c: Likewise.
23356 * sunrpc/rpc_scan.h: Likewise.
23357 * sunrpc/rpc_svcout.c: Likewise.
23358 * sunrpc/rpc_tblout.c: Likewise.
23359 * sunrpc/rpc_util.c: Likewise.
23360 * sunrpc/rpc_util.h: Likewise.
23361 * sunrpc/rpcinfo.c: Likewise.
23362 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
23363 * sunrpc/rpcsvc/key_prot.x: Likewise.
23364 * sunrpc/rpcsvc/klm_prot.x: Likewise.
23365 * sunrpc/rpcsvc/mount.x: Likewise.
23366 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
23367 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
23368 * sunrpc/rpcsvc/rex.x: Likewise.
23369 * sunrpc/rpcsvc/rstat.x: Likewise.
23370 * sunrpc/rpcsvc/rusers.x: Likewise.
23371 * sunrpc/rpcsvc/sm_inter.x: Likewise.
23372 * sunrpc/rpcsvc/spray.x: Likewise.
23373 * sunrpc/rpcsvc/yppasswd.x: Likewise.
23374 * sunrpc/rtime.c: Likewise.
23375 * sunrpc/svc.c: Likewise.
23376 * sunrpc/svc_auth.c: Likewise.
23377 * sunrpc/svc_authux.c: Likewise.
23378 * sunrpc/svc_raw.c: Likewise.
23379 * sunrpc/svc_run.c: Likewise.
23380 * sunrpc/svc_simple.c: Likewise.
23381 * sunrpc/svc_tcp.c: Likewise.
23382 * sunrpc/svc_udp.c: Likewise.
23383 * sunrpc/svc_unix.c: Likewise.
23384 * sunrpc/svcauth_des.c: Likewise.
23385 * sunrpc/xcrypt.c: Likewise.
23386 * sunrpc/xdr.c: Likewise.
23387 * sunrpc/xdr_array.c: Likewise.
23388 * sunrpc/xdr_float.c: Likewise.
23389 * sunrpc/xdr_mem.c: Likewise.
23390 * sunrpc/xdr_rec.c: Likewise.
23391 * sunrpc/xdr_ref.c: Likewise.
23392 * sunrpc/xdr_sizeof.c: Likewise.
23393 * sunrpc/xdr_stdio.c: Likewise.
23395 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
23398 2010-08-19 Andreas Schwab <schwab@redhat.com>
23400 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
23402 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
23404 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
23405 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
23406 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
23407 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
23408 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
23409 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
23410 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
23411 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
23412 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
23413 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
23414 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
23415 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
23416 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
23417 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
23419 2010-07-26 Anton Blanchard <anton@samba.org>
23421 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
23422 * malloc/arena.c (heap_trim): Likewise.
23424 2010-08-16 Ulrich Drepper <drepper@redhat.com>
23426 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
23428 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
23429 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
23431 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
23433 * sysdeps/i386/elf/Makefile: New file.
23435 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23437 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
23438 from fanotify_init.
23439 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
23440 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23442 2010-08-15 Ulrich Drepper <drepper@redhat.com>
23444 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
23446 * sysdeps/multiarch/strcmp.S: Likewise.
23448 2010-08-14 Ulrich Drepper <drepper@redhat.com>
23450 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23451 strncase_l-nonascii.
23452 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23453 Add strncase_l-ssse3.
23454 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
23455 * sysdeps/x86_64/strcmp.S: Likewise.
23456 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
23457 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
23458 * sysdeps/x86_64/strncase.S: New file.
23459 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
23460 * sysdeps/x86_64/strncase_l.S: New file.
23461 * string/Makefile (strop-tests): Add strncasecmp.
23462 * string/test-strncasecmp.c: New file.
23464 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
23467 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
23468 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
23470 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
23472 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
23474 2010-08-12 Ulrich Drepper <drepper@redhat.com>
23476 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
23477 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
23478 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
23480 2010-05-01 Alan Modra <amodra@gmail.com>
23482 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
23483 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
23484 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
23485 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
23486 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
23487 tidying. Don't tail-call __sigjmp_save for static lib.
23488 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
23490 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
23491 (CALL_MCOUNT): Add eh info, and nop after bl.
23492 (TAIL_CALL_SYSCALL_ERROR): New macro.
23493 (PSEUDO_RET): Use it.
23494 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
23495 Correct save location of integer regs and cr.
23496 (_dl_profile_resolve): Correct cr save location. Delete nops
23497 after bl when SHARED. Reduce cfi size a little by better
23498 placement of cfi directives.
23499 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
23500 make a stack frame. Instead use parm save area as a temp.
23501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
23502 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
23503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23504 Don't make a stack frame for parent, use parm save area.
23505 Increase child stack frame to 112 bytes. Don't save unused reg,
23506 and adjust reg usage. Set up cfi on error recovery and
23507 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
23508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23509 (__makecontext): Add dummy nop after jump to exit.
23510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
23511 Use correct parm save area and cr save, reduce stack frame.
23512 Correct cfi for possible PSEUDO_RET frame setup.
23513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
23514 Branch to local label emitted by PSEUDO_RET rather than
23517 2010-08-12 Andreas Schwab <schwab@redhat.com>
23520 * locale/programs/locale.c (print_assignment): New function.
23521 (show_locale_vars): Use it.
23523 2010-08-11 Ulrich Drepper <drepper@redhat.com>
23525 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
23527 (struct statfs64): Likewise.
23528 (_STATFS_F_FLAGS): Define.
23529 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
23530 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23531 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
23532 (ST_VALID): Define locally.
23533 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
23534 __statvfs_getflags, use the provided value.
23535 * sysdeps/unix/sysv/linux/kernel-features.h: Define
23536 __ASSUME_STATFS_F_FLAGS.
23538 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
23540 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
23541 Add sys/fanotify.h.
23542 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
23543 fanotify_mask for GLIBC_2.13.
23544 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
23545 fanotify_init and fanotify_mark.
23546 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
23547 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
23549 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
23551 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
23552 prlimit64 for GLIBC_2.13.
23553 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
23555 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
23557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
23558 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
23559 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
23560 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
23561 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
23563 * sysdeps/unix/sysv/linux/prlimit.c: New file.
23566 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
23567 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
23569 * nss/Makefile: Add rules to build and run tst-nss-test1.
23570 * shlib-versions: Add entry for libnss_test1.
23571 * nss/nss_test1.c: New file.
23572 * nss/tst-nss-test1.c: New file.
23574 * nss/nsswitch.c (__nss_database_custom): Define new variable.
23575 (__nss_configure_lookup): Set appropriate entry in
23576 __nss_configure_lookup to true.
23577 * nss/nsswitch.h: Define enum with indeces of databases in
23578 databases and __nss_database_custom arrays. Declare
23579 __nss_database_custom.
23580 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
23581 to avoid using nscd when custom rules are installed.
23582 * nss/getXXbyYY_r.c: Likewise.
23583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23585 * nss/nss_files/files-parse.c: Whitespace fixes.
23587 2010-08-09 Ulrich Drepper <drepper@redhat.com>
23590 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
23591 * posix/fnmatch_loop.c: Likewise.
23593 2010-07-17 Andi Kleen <ak@linux.intel.com>
23595 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
23596 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
23597 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
23598 * Versions.def [GLIBC_2.13]: Add.
23600 2010-08-06 Ulrich Drepper <drepper@redhat.com>
23602 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23603 Also fail if tpwd after pwuid call is NULL.
23605 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
23607 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
23608 when converting to ms.
23610 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23612 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
23613 EOPNOTSUPP errors with ENOTTY.
23614 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
23615 EOPNOTSUPP errors with ENOTTY.
23617 2010-07-31 Ulrich Drepper <drepper@redhat.com>
23619 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
23620 Add strcasecmp_l-ssse3.
23621 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
23623 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
23624 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
23625 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
23627 2010-07-30 Ulrich Drepper <drepper@redhat.com>
23629 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
23631 * string/Makefile (strop-tests): Add strcasecmp.
23632 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
23633 strcasecmp_l-nonascii.
23634 (gen-as-const-headers): Add locale-defines.sym.
23635 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
23636 * sysdeps/x86_64/strcasecmp.S: New file.
23637 * sysdeps/x86_64/strcasecmp_l.S: New file.
23638 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
23639 * sysdeps/x86_64/locale-defines.sym: New file.
23640 * string/test-strcasecmp.c: New file.
23642 * string/test-strcasestr.c: Test both ends of the range of characters.
23643 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
23645 2010-07-29 Roland McGrath <roland@redhat.com>
23648 * manual/locale.texi (Yes-or-No Questions): Fix example code.
23650 2010-07-27 Ulrich Drepper <drepper@redhat.com>
23652 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
23655 2010-07-27 Andreas Schwab <schwab@redhat.com>
23657 * manual/memory.texi (Malloc Tunable Parameters): Document
23660 2010-07-26 Roland McGrath <roland@redhat.com>
23663 * configure.in (-fgnu89-inline check): Set and substitute
23664 gnu89_inline, not libc_cv_gnu89_inline.
23665 * configure: Regenerated.
23666 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
23668 2010-07-26 Ulrich Drepper <drepper@redhat.com>
23670 * string/test-strnlen.c: New file.
23671 * string/Makefile (strop-tests): Add strnlen.
23672 * string/tester.c (test_strnlen): Add a few more test cases.
23673 * string/tst-strlen.c: Better error reporting.
23675 * sysdeps/x86_64/strnlen.S: New file.
23677 2010-07-24 Ulrich Drepper <drepper@redhat.com>
23679 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
23680 lower-latency instructions.
23682 2010-07-23 Ulrich Drepper <drepper@redhat.com>
23684 * string/test-strcasestr.c: New file.
23685 * string/test-strstr.c: New file.
23686 * string/Makefile (strop-tests): Add strstr and strcasestr.
23687 * string/str-two-way.h: Don't undefine MAX.
23688 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
23690 2010-07-21 Andreas Schwab <schwab@redhat.com>
23692 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23693 strcasestr-nonascii.
23694 (CFLAGS-strcasestr-nonascii.c): Define.
23695 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
23696 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
23697 Remove unused attribute.
23699 2010-07-20 Roland McGrath <roland@redhat.com>
23701 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
23702 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
23703 ld.so.cache was broken. With it, there is no way to disable dsocaps
23704 like LD_HWCAP_MASK can disable hwcaps.
23706 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23708 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
23710 2010-07-16 Ulrich Drepper <drepper@redhat.com>
23712 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
23713 call in strcasestr.
23714 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
23715 __strcasestr_sse42_nonascii.
23716 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
23717 strcasestr-nonascii.c.
23718 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
23720 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
23722 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
23723 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
23724 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
23725 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
23727 2010-07-09 Ulrich Drepper <drepper@redhat.com>
23729 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
23732 2010-07-06 Andreas Schwab <schwab@redhat.com>
23735 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
23738 2010-07-06 Ulrich Drepper <drepper@redhat.com>
23740 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
23741 _PC_PIPE_BUF using F_GETPIPE_SZ.
23743 2010-07-05 Roland McGrath <roland@redhat.com>
23745 * manual/arith.texi (Rounding Functions): Fix rint description
23746 implicit in round description.
23748 2010-07-02 Ulrich Drepper <drepper@redhat.com>
23750 * elf/Makefile: Fix linking for a few tests to make recent linker
23753 2010-06-30 Andreas Schwab <schwab@redhat.com>
23755 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23756 $(common-objpfx)libc_nonshared.a.
23758 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
23760 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
23761 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
23762 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23763 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23764 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
23765 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
23766 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23767 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
23769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
23770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
23771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
23772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
23773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
23774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
23775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
23776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
23777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
23778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
23779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
23780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
23781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
23782 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
23783 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
23784 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
23785 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
23786 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
23787 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
23788 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
23789 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
23790 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
23791 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
23792 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
23793 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
23794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
23795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
23796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
23797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
23798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
23799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
23800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
23801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
23802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
23803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
23804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
23805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
23806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
23807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
23809 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
23811 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
23812 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
23813 * string/memmove.c (memmove): Renamed to ...
23814 (MEMMOVE): ...this. Default to memmove.
23815 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
23816 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
23818 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23819 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
23820 mempcpy-ssse3-back memmove-ssse3-back.
23821 * sysdeps/x86_64/multiarch/bcopy.S: New file .
23822 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
23823 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
23824 * sysdeps/x86_64/multiarch/memcpy.S: New file.
23825 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
23826 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
23827 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
23828 * sysdeps/x86_64/multiarch/memmove.c: New file.
23829 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
23830 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
23831 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
23832 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
23833 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
23834 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
23836 (index_Fast_Copy_Backward): Define.
23837 (HAS_ARCH_FEATURE): Define.
23838 (HAS_FAST_REP_STRING): Define.
23839 (HAS_FAST_COPY_BACKWARD): Define.
23841 2010-06-21 Andreas Schwab <schwab@redhat.com>
23843 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
23844 Restore proper fallback handling.
23846 2010-06-19 Ulrich Drepper <drepper@redhat.com>
23849 * posix/group_member.c (__group_member): Correct checking loop.
23851 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
23852 OOM in getpwuid_r correctly. Return error number when the caller
23853 should return, otherwise -1.
23854 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
23855 call returning > 0 value.
23856 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
23858 2010-06-07 Andreas Schwab <schwab@redhat.com>
23860 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
23861 libc_nonshared.a from targets in modules-names.
23863 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
23865 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
23868 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
23870 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
23871 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
23872 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
23873 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
23875 2010-06-02 Andreas Schwab <schwab@redhat.com>
23877 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
23879 2010-06-14 Ulrich Drepper <drepper@redhat.com>
23881 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
23883 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
23884 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
23885 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
23886 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23887 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
23888 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
23890 2010-06-14 Roland McGrath <roland@redhat.com>
23892 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
23894 2010-06-07 Jakub Jelinek <jakub@redhat.com>
23896 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
23897 __REDIRECT followed by __THROW.
23898 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
23899 * posix/getopt.h (getopt): Likewise.
23901 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
23903 * hurd/lookup-at.c (__file_name_lookup_at): Accept
23904 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
23905 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
23907 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
23908 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
23910 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
23912 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
23914 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
23917 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23918 Properly check family and model.
23920 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
23922 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
23924 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
23926 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
23928 2010-05-21 Ulrich Drepper <drepper@redhat.com>
23930 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
23933 2010-05-19 Andreas Schwab <schwab@redhat.com>
23935 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
23938 2010-05-21 Andreas Schwab <schwab@redhat.com>
23940 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
23941 and internal_recvmmsg.
23942 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
23943 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
23944 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
23945 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
23947 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
23948 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
23949 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
23951 2010-05-20 Andreas Schwab <schwab@redhat.com>
23953 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
23955 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
23957 POWER7 optimizations.
23958 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
23959 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
23961 2010-05-19 Ulrich Drepper <drepper@redhat.com>
23963 * version.h: Update for 2.13 development version.
23965 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
23967 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
23968 exceptions. Return 0.
23970 2010-05-07 Roland McGrath <roland@redhat.com>
23972 * elf/ldconfig.c (main): Add a const.
23974 2010-05-06 Ulrich Drepper <drepper@redhat.com>
23976 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
23977 (args_options): Add no-idn option.
23978 (ahosts_keys_int): Add idn_flags to ai_flags.
23979 (parse_option): Handle 'i' option to clear idn_flags.
23981 * malloc/malloc.c (_int_free): Possible race in the most recently
23982 added check. Only act on the data if no current modification
23985 See ChangeLog.17 for earlier changes.