Fix some places to use $(LN_S) makefile variable.
[glibc.git] / ChangeLog
blob90d5fa016a8f7302e5edf1907cf91423fd7403fa
1 2015-07-08  Roland McGrath  <roland@hack.frob.com>
3         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
4         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
5         rather than explicit 'ln -s'.
7         * resolv/rpc/netdb.h: New file.
8         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
10 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
13         length buffers.
14         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15         test-skeleton.c.
17         [BZ #6544]
18         [BZ #11216]
19         [BZ #12836]
20         [BZ #13151]
21         [BZ #13152]
22         [BZ #14292]
23         * include/stdio.h (fmemopen): Remove hidden prototype.
24         (__fmemopen): Add new hidden prototype.
25         * libio/Makefile: Add oldfmemopen object.
26         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
27         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
28         compliance.
29         * libio/oldfmemopen.c: New file: old fmemopen implementation for
30         symbol compatibility.
31         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
32         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
33         fmemopen.
34         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
35         on append and read mode.
36         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
37         fmemopen.
38         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
39         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
40         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
41         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
42         Likewise.
43         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
44         [GLIBC_2.22]: Likewise.
45         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
46         Likewise.
47         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
48         Likewise.
49         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
50         [GLIBC_2.22]: Likewise.
51         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
52         [GLIBC_2.22]: Likewise.
53         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
54         [GLIBC_2.22]: Likewise.
55         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
56         [GLIBC_2.22]: Likewise.
57         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
58         [GLIBC_2.22]: Likewise.
59         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
60         [GLIBC_2.22]: Likewise.
61         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
62         [GLIBC_2.22]: Likewise.
63         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
64         Likewise.
65         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
66         Likewise.
67         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
68         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
69         [GLIBC_2.22]: Likewise.
70         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
71         [GLIBC_2.22]: Likewise.
72         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
73         [GLIBC_2.22]: Likewise.
74         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
75         [GLIBC_2.22]: Likewise.
76         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
77         Likewise.
78         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
79         Likewise.
80         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
81         Likewise.
82         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
83         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
85 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
87         [BZ #18643]
88         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
89         IPV6_PATHMTU, and IPV6_DONTFRAG.
91 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
93         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
94         and _IO_UNBUFFERED.
95         * libio/oldfileops.c: Likewise.
96         * libio/wfileops.c: Likewise.
98 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
100         * nscd/selinux.c: Delete selinux/flask.h include.
102 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
104         [BZ #18641]
105         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
106         (putpwent): Likewise.
107         (getpwnam): Likewise.
108         (getpwent_r): Likewise.
109         (getpwuid_r): Likewise.
110         (getpwnam_r): Likewise.
111         (fgetpwent_r): Likewise.
113 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
115         [BZ #18557]
116         * inet/rcmd.c (__validuser2_sa): Check user first to
117         short-circuit host check.
119 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
120             Mikhail Ilin  <m.ilin@samsung.com>
122         [BZ #17833]
123         * elf/Makefile (tests): Add tst-nodelete.
124         (modules-names): Add tst-nodelete-uniquemod.
125         (tst-nodelete-uniquemod.so-no-z-defs): New.
126         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
127         (tst-nodelete-zmod.so-no-z-defs): Likewise.
128         ($(objpfx)tst-nodelete): Likewise.
129         ($(objpfx)tst-nodelete.out): Likewise.
130         (LDFLAGS-tst-nodelete): Likewise.
131         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
132         * elf/dl-close.c (_dl_close_worker): Add a parameter to
133         implement forced object deletion.
134         (_dl_close): Pass false to _dl_close_worker.
135         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
136         * elf/tst-nodelete.cc: New file.
137         * elf/tst-nodeletelib.cc: Likewise.
138         * elf/tst-znodeletelib.cc: Likewise.
139         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
141 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
143         [BZ #18508]
144         * stdlib/Makefile ($(objpfx)tst-makecontext3):
145         Depend on $(libdl).
146         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
147         is not called infinitely times.
148         (backtrace_helper): New function.
149         (trace_arg): New struct.
150         (st1): Enlarge stack size.
151         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
152         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
153         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
154         Likewise.
156 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
158         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
160 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
162         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
163         Include sys/types.h instead of bits/types.h.
164         Remove inclusion of bits/wordsize.h.
166 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
168         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
169         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
170         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
171         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
172         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
173         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
175 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
177         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
178         link-defines.sym.
179         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
180         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
181         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
182         and LR_SIZE.
183         * sysdeps/i386/link-defines.sym: New file.
185 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
187         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
188         (modules-names): Add tst-auditmod3a tst-auditmod3b.
189         ($(objpfx)tst-audit3): New rule.
190         ($(objpfx)tst-audit3.out): Likewise.
191         * sysdeps/i386/tst-audit3.c: New file.
192         * sysdeps/i386/tst-audit3.h: Likewise.
193         * sysdeps/i386/tst-auditmod3a.c: Likewise.
194         * sysdeps/i386/tst-auditmod3b.c: Likewise.
196 2015-07-07  Torvald Riegel  <triegel@redhat.com>
198         [BZ #18633]
199         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
200         pointer in C code.
201         (__strcat_c): Likewise.
202         (__strcat_g): Likewise.
204 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
206         [BZ #18592]
207         * misc/sbrk.c: Set errno to ENOMEM on overflow.
209 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
211         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
212         New function.  (__ieee754_sqrtf): New function.
213         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
214         New function.
215         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
216         New function.
218 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
220         * sysdeps/ieee754/support.c: Remove unused file.
222 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
224         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
225         registers instead of d ones so the layout is kernel abi compatible.
226         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
227         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
228         Likewise.
230 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
232         * sysdeps/aarch64/libm-test-ulps: Regenerated.
234 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
236         [BZ #18619]
237         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
238         and return argument in case of subnormal argument.
240 2015-07-01  Martin Sebor  <msebor@redhat.com>
242         [BZ #18435]
243         * nptl/Makefile: Add tst-once5.cc.
244         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
245         Remove macro redefinitions.
246         * nptl/tst-once5.cc: New test.
248 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
250         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
252         * sysdeps/arm/libm-test-ulps: Regenerated.
254         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
255         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
257 2015-06-30  Torvald Riegel  <triegel@redhat.com>
259         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
260         lll_lock_wait_private and lll_futex_wake probes.
262         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
263         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
264         Likewise.
265         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
266         atomic_spin_nop.
267         * sysdeps/x86_64/bits/atomic.h: Likewise.
268         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
269         to atomic_spin_nop and move ...
270         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
271         ... here and ...
272         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
273         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
274         atomic_spin_nop instead of BUSY_WAIT_NOP.
275         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
276         Likewise.
277         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
278         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
279         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
280         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
281         instead of atomic_delay.
283 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
285         [BZ #18613]
286         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
287         X_ADJ not X when adjusting exponent.
288         (__ieee754_gamma_r): Do intermediate computations in
289         round-to-nearest then adjust overflowing and underflowing results
290         as needed.
291         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
292         of X_ADJ not X when adjusting exponent.
293         (__ieee754_gammaf_r): Do intermediate computations in
294         round-to-nearest then adjust overflowing and underflowing results
295         as needed.
296         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
297         log of X_ADJ not X when adjusting exponent.
298         (__ieee754_gammal_r): Do intermediate computations in
299         round-to-nearest then adjust overflowing and underflowing results
300         as needed.  Use 1.0L not 1.0f as numerator of division.
301         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
302         log of X_ADJ not X when adjusting exponent.
303         (__ieee754_gammal_r): Do intermediate computations in
304         round-to-nearest then adjust overflowing and underflowing results
305         as needed.  Use 1.0L not 1.0f as numerator of division.
306         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
307         of X_ADJ not X when adjusting exponent.
308         (__ieee754_gammal_r): Do intermediate computations in
309         round-to-nearest then adjust overflowing and underflowing results
310         as needed.  Use 1.0L not 1.0f as numerator of division.
311         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
312         to auto-libm-test-in.
313         (tgamma_test): Use ALL_RM_TEST.
314         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
315         tests of tgamma with spurious-overflow.
316         * math/auto-libm-test-out: Regenerated.
317         * math/gen-libm-have-vector-test.sh: Do not check for START.
318         * sysdeps/i386/fpu/libm-test-ulps: Update.
319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
321         [BZ #18612]
322         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
323         arguments, just return 0.5 times the argument, with underflow
324         forced as needed.
325         * math/auto-libm-test-in: Add more tests of j1.
326         * math/auto-libm-test-out: Regenerated.
328         [BZ #16559]
329         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
330         (__ieee754_j1): Force underflow exception for small results.
331         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
332         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
333         (__ieee754_j1f): Force underflow exception for small results.
334         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
335         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
336         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
337         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
338         (__ieee754_j1l): Force underflow exception for small results.
339         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
340         * math/auto-libm-test-in: Add more tests of j1 and jn.
341         * math/auto-libm-test-out: Regenerated.
343         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
344         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
345         (PF_MPLS): Likewise.
346         (AF_IB): Likewise.
347         (AF_MPLS): Likewise.
348         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
349         value and macro.
350         (MS_RMT_MASK): Include MS_LAZYTIME.
352 2015-06-26  Mel Gorman  <mgorman@suse.de>
354         [BZ #18502]
355         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
356         already minimal.
358 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
360         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
361         (DT_MIPS_NUM): Update.
362         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
363         DT_MIPS_RLD_MAP_REL.
365 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
367         [BZ #16559]
368         [BZ #18602]
369         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
370         round-to-nearest internally then recompute results that
371         underflowed to zero in the original rounding mode.
372         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
373         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
374         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
375         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
376         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
377         * sysdeps/i386/fpu/libm-test-ulps: Update.
378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
380 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
382         * NEWS: Fixed description of link with vector math library.
384 2015-06-25  Andreas Schwab  <schwab@suse.de>
386         [BZ #18549]
387         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
388         * libio/test-fmemopen.c (do_test): Add test for it.
390 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
392         [BZ #17841]
393         * Makeconfig (no-pie-ldflag): New.
394         (+link): Set to $(+link-pie) if default to PIE.
395         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
396         * config.make.in (build-pie-default): New.
397         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
398         is default.  AC_SUBST.
399         * configure: Regenerated.
400         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
402 2015-06-24  Roland McGrath  <roland@hack.frob.com>
404         * nptl/descr.h (struct pthread): Change type of field setxid_futex
405         to 'unsigned int'.
407         * resolv/gai_misc.h (struct waitlist): Change type of field
408         counterp to 'volatile unsigned int *'.
409         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
410         FUTEXADDR and OLDVAL.
411         * resolv/getaddrinfo_a.c (getaddrinfo_a):
412         Give local variable TOTAL type 'volatile unsigned int'.
413         (struct async_waitlist): Change type of field counter to 'unsigned int'.
414         * resolv/gai_suspend.c (gai_suspend):
415         Give local variable CNTR type 'unsigned int'.
417         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
418         counterp to 'volatile unsigned int *'.
419         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
420         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
421         (aio_suspend): Give local variable CNTR type 'unsigned int'.
422         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
423         Give local variable TOTAL type 'volatile unsigned int'.
424         (struct async_waitlist): Change type of field counter to 'unsigned int'.
426 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
428         [BZ #18383]
429         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
430         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
431         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
432         comment for i386/x86-64.
433         (test-xfail-tst-tlsalign-extern-static): Removed.
435 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
437         * math/test-double.h: New file.
438         * math/test-float.h: Likewise.
439         * math/test-ldouble.h: Likewise.
440         * math/test-math-inline.h: Likewise.
441         * math/test-math-no-inline.h: Likewise.
442         * math/test-math-scalar.h: Likewise.
443         * math/test-math-vector.h: Likewise.
444         * math/test-vec-loop.h: Remove file.  Contents moved into
445         test-math-vector.h.
446         * math/libm-test.inc (MATHCONST): Do not document macro.
447         * math/test-double.c: Include test-double.h, test-math-no-inline.h
448         and test-math-scalar.h.
449         (FUNC): Remove macro.
450         (FUNC_TEST): Likewise.
451         (FLOAT): Likewise.
452         (MATHCONST): Likewise.
453         (PRINTF_EXPR): Likewise.
454         (PRINTF_XEXPR): Likewise.
455         (PRINTF_NEXPR): Likewise.
456         (TEST_DOUBLE): Likewise.
457         (TEST_MATHVEC): Likewise.
458         (__NO_MATH_INLINES): Likewise.
459         * math/test-float.c: Include test-float.h, test-math-no-inline.h
460         and test-math-scalar.h.
461         (FUNC): Remove macro.
462         (FUNC_TEST): Likewise.
463         (FLOAT): Likewise.
464         (MATHCONST): Likewise.
465         (PRINTF_EXPR): Likewise.
466         (PRINTF_XEXPR): Likewise.
467         (PRINTF_NEXPR): Likewise.
468         (TEST_FLOAT): Likewise.
469         (TEST_MATHVEC): Likewise.
470         (__NO_MATH_INLINES): Likewise.
471         * math/test-idouble.c: Include test-double.h, test-math-inline.h
472         and test-math-scalar.h.
473         (FUNC): Remove macro.
474         (FUNC_TEST): Likewise.
475         (FLOAT): Likewise.
476         (MATHCONST): Likewise.
477         (PRINTF_EXPR): Likewise.
478         (PRINTF_XEXPR): Likewise.
479         (PRINTF_NEXPR): Likewise.
480         (TEST_DOUBLE): Likewise.
481         (TEST_MATHVEC): Likewise.
482         (TEST_INLINE): Likewise.
483         (__NO_MATH_INLINES): Likewise.
484         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
485         test-math-scalar.h.
486         (FUNC): Remove macro.
487         (FUNC_TEST): Likewise.
488         (FLOAT): Likewise.
489         (MATHCONST): Likewise.
490         (PRINTF_EXPR): Likewise.
491         (PRINTF_XEXPR): Likewise.
492         (PRINTF_NEXPR): Likewise.
493         (TEST_FLOAT): Likewise.
494         (TEST_MATHVEC): Likewise.
495         (TEST_INLINE): Likewise.
496         (__NO_MATH_INLINES): Likewise.
497         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
498         and test-math-scalar.h.
499         (FUNC): Remove macro.
500         (FUNC_TEST): Likewise.
501         (FLOAT): Likewise.
502         (MATHCONST): Likewise.
503         (PRINTF_EXPR): Likewise.
504         (PRINTF_XEXPR): Likewise.
505         (PRINTF_NEXPR): Likewise.
506         (TEST_LDOUBLE): Likewise.
507         (TEST_MATHVEC): Likewise.
508         (TEST_INLINE): Likewise.
509         (__NO_MATH_INLINES): Likewise.
510         * math/test-ldouble.c: Include test-ldouble.h,
511         test-math-no-inline.h and test-math-scalar.h.
512         (FUNC): Remove macro.
513         (FUNC_TEST): Likewise.
514         (FLOAT): Likewise.
515         (MATHCONST): Likewise.
516         (PRINTF_EXPR): Likewise.
517         (PRINTF_XEXPR): Likewise.
518         (PRINTF_NEXPR): Likewise.
519         (TEST_LDOUBLE): Likewise.
520         (TEST_MATHVEC): Likewise.
521         (__NO_MATH_INLINES): Likewise.
522         * math/test-double-vlen2.h: Include test-double.h,
523         test-math-no-inline.h and test-math-vector.h.
524         (FLOAT): Remove macro.
525         (FUNC): Likewise.
526         (MATHCONST): Likewise.
527         (PRINTF_EXPR): Likewise.
528         (PRINTF_XEXPR): Likewise.
529         (PRINTF_NEXPR): Likewise.
530         (TEST_DOUBLE): Likewise.
531         (TEST_MATHVEC): Likewise.
532         (__NO_MATH_INLINES): Likewise.
533         (CNCT): Likewise.
534         (CONCAT): Likewise.
535         (WRAPPER_NAME): Likewise.
536         (WRAPPER_DECL): Likewise.
537         (WRAPPER_DECL_ff): Likewise.
538         (WRAPPER_DECL_fFF): Likewise.
539         (VECTOR_WRAPPER): Likewise.
540         (VECTOR_WRAPPER_ff): Likewise.
541         (VECTOR_WRAPPER_fFF): Likewise.
542         (VEC_LEN): New macro.
543         * math/test-double-vlen4.h: Include test-double.h,
544         test-math-no-inline.h and test-math-vector.h.
545         (FLOAT): Remove macro.
546         (FUNC): Likewise.
547         (MATHCONST): Likewise.
548         (PRINTF_EXPR): Likewise.
549         (PRINTF_XEXPR): Likewise.
550         (PRINTF_NEXPR): Likewise.
551         (TEST_DOUBLE): Likewise.
552         (TEST_MATHVEC): Likewise.
553         (__NO_MATH_INLINES): Likewise.
554         (CNCT): Likewise.
555         (CONCAT): Likewise.
556         (WRAPPER_NAME): Likewise.
557         (WRAPPER_DECL): Likewise.
558         (WRAPPER_DECL_ff): Likewise.
559         (WRAPPER_DECL_fFF): Likewise.
560         (VECTOR_WRAPPER): Likewise.
561         (VECTOR_WRAPPER_ff): Likewise.
562         (VECTOR_WRAPPER_fFF): Likewise.
563         (VEC_LEN): New macro.
564         * math/test-double-vlen8.h: Include test-double.h,
565         test-math-no-inline.h and test-math-vector.h.
566         (FLOAT): Remove macro.
567         (FUNC): Likewise.
568         (MATHCONST): Likewise.
569         (PRINTF_EXPR): Likewise.
570         (PRINTF_XEXPR): Likewise.
571         (PRINTF_NEXPR): Likewise.
572         (TEST_DOUBLE): Likewise.
573         (TEST_MATHVEC): Likewise.
574         (__NO_MATH_INLINES): Likewise.
575         (CNCT): Likewise.
576         (CONCAT): Likewise.
577         (WRAPPER_NAME): Likewise.
578         (WRAPPER_DECL): Likewise.
579         (WRAPPER_DECL_ff): Likewise.
580         (WRAPPER_DECL_fFF): Likewise.
581         (VECTOR_WRAPPER): Likewise.
582         (VECTOR_WRAPPER_ff): Likewise.
583         (VECTOR_WRAPPER_fFF): Likewise.
584         (VEC_LEN): New macro.
585         * math/test-float-vlen4.h: Include test-float.h,
586         test-math-no-inline.h and test-math-vector.h.
587         (FLOAT): Remove macro.
588         (FUNC): Likewise.
589         (MATHCONST): Likewise.
590         (PRINTF_EXPR): Likewise.
591         (PRINTF_XEXPR): Likewise.
592         (PRINTF_NEXPR): Likewise.
593         (TEST_FLOAT): Likewise.
594         (TEST_MATHVEC): Likewise.
595         (__NO_MATH_INLINES): Likewise.
596         (CNCT): Likewise.
597         (CONCAT): Likewise.
598         (WRAPPER_NAME): Likewise.
599         (WRAPPER_DECL): Likewise.
600         (WRAPPER_DECL_ff): Likewise.
601         (WRAPPER_DECL_fFF): Likewise.
602         (VECTOR_WRAPPER): Likewise.
603         (VECTOR_WRAPPER_ff): Likewise.
604         (VECTOR_WRAPPER_fFF): Likewise.
605         (VEC_LEN): New macro.
606         * math/test-float-vlen8.h: Include test-float.h,
607         test-math-no-inline.h and test-math-vector.h.
608         (FLOAT): Remove macro.
609         (FUNC): Likewise.
610         (MATHCONST): Likewise.
611         (PRINTF_EXPR): Likewise.
612         (PRINTF_XEXPR): Likewise.
613         (PRINTF_NEXPR): Likewise.
614         (TEST_FLOAT): Likewise.
615         (TEST_MATHVEC): Likewise.
616         (__NO_MATH_INLINES): Likewise.
617         (CNCT): Likewise.
618         (CONCAT): Likewise.
619         (WRAPPER_NAME): Likewise.
620         (WRAPPER_DECL): Likewise.
621         (WRAPPER_DECL_ff): Likewise.
622         (WRAPPER_DECL_fFF): Likewise.
623         (VECTOR_WRAPPER): Likewise.
624         (VECTOR_WRAPPER_ff): Likewise.
625         (VECTOR_WRAPPER_fFF): Likewise.
626         (VEC_LEN): New macro.
627         * math/test-float-vlen16.h: Include test-float.h,
628         test-math-no-inline.h and test-math-vector.h.
629         (FLOAT): Remove macro.
630         (FUNC): Likewise.
631         (MATHCONST): Likewise.
632         (PRINTF_EXPR): Likewise.
633         (PRINTF_XEXPR): Likewise.
634         (PRINTF_NEXPR): Likewise.
635         (TEST_FLOAT): Likewise.
636         (TEST_MATHVEC): Likewise.
637         (__NO_MATH_INLINES): Likewise.
638         (CNCT): Likewise.
639         (CONCAT): Likewise.
640         (WRAPPER_NAME): Likewise.
641         (WRAPPER_DECL): Likewise.
642         (WRAPPER_DECL_ff): Likewise.
643         (WRAPPER_DECL_fFF): Likewise.
644         (VECTOR_WRAPPER): Likewise.
645         (VECTOR_WRAPPER_ff): Likewise.
646         (VECTOR_WRAPPER_fFF): Likewise.
647         (VEC_LEN): New macro.
648         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
649         test-vec-loop.h.
650         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
651         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
652         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
653         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
654         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
655         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
656         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
658 2015-06-24  Roland McGrath  <roland@hack.frob.com>
660         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
661         (__getlogin_r): ... this.
663 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
665         [BZ #18594]
666         * math/s_ccosh.c (__ccosh): Compare with least normal value
667         instead of comparing class with FP_SUBNORMAL.
668         * math/s_ccoshf.c (__ccoshf): Likewise.
669         * math/s_ccoshl.c (__ccoshl): Likewise.
670         * math/s_cexp.c (__cexp): Likewise.
671         * math/s_cexpf.c (__cexpf): Likewise.
672         * math/s_cexpl.c (__cexpl): Likewise.
673         * math/s_csin.c (__csin): Likewise.
674         * math/s_csinf.c (__csinf): Likewise.
675         * math/s_csinh.c (__csinh): Likewise.
676         * math/s_csinhf.c (__csinhf): Likewise.
677         * math/s_csinhl.c (__csinhl): Likewise.
678         * math/s_csinl.c (__csinl): Likewise.
679         * math/s_ctan.c (__ctan): Likewise.
680         * math/s_ctanf.c (__ctanf): Likewise.
681         * math/s_ctanh.c (__ctanh): Likewise.
682         * math/s_ctanhf.c (__ctanhf): Likewise.
683         * math/s_ctanhl.c (__ctanhl): Likewise.
684         * math/s_ctanl.c (__ctanl): Likewise.
685         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
686         csin, csinh, ctan and ctanh.
687         * math/auto-libm-test-out: Regenerated.
688         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
689         * sysdeps/i386/fpu/libm-test-ulps: Update.
690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
692 2015-06-24  Roland McGrath  <roland@hack.frob.com>
694         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
695         return value is wrong, print the expected value too.
697 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
699         [BZ #18585]
700         * elf/readlib.c (is_gdb_python_file): New.
701         (process_file): Don't issue errors on filenames with -gdb.py
702         suffix.
704 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
706         * math/auto-libm-test-in: Add more tests of csin and csinh.
707         * math/auto-libm-test-out: Regenerated.
708         * math/libm-test.inc (csin_test_data): Remove tests moved to
709         auto-libm-test-in.
710         (csinh_test_data): Likewise.
712         [BZ #18593]
713         * math/s_csin.c (__csin): Negate before rather than after possibly
714         overflowing multiplication.
715         * math/s_csinf.c (__csinf): Likewise.
716         * math/s_csinh.c (__csinh): Likewise.
717         * math/s_csinhf.c (__csinhf): Likewise.
718         * math/s_csinhl.c (__csinhl): Likewise.
719         * math/s_csinl.c (__csinl): Likewise.
720         * math/auto-libm-test-in: Add some tests of csin and csinh.
721         * math/auto-libm-test-out: Regenerated.
722         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
723         (csinh_test_data): Likewise.
724         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
726         [BZ #18586]
727         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
728         underflow exception for small results.
730 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
732         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
733         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
734         variable and included header.
735         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
736         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
737         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
738         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
739         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
740         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
741         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
742         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
743         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
744         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
745         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
746         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
747         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
748         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
749         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
750         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
752 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
754         [BZ #16526]
755         [BZ #16538]
756         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
757         (__sin): Force underflow exception for arguments with small
758         absolute value.
759         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
760         (__kernel_sinf): Force underflow exception for arguments with
761         small absolute value.
762         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
763         (__kernel_sincosl): Force underflow exception for arguments with
764         small absolute value.
765         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
766         (__kernel_sinl): Force underflow exception for arguments with
767         small absolute value.
768         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
769         (__kernel_sincosl): Force underflow exception for arguments with
770         small absolute value.
771         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
772         (__kernel_sinl): Force underflow exception for arguments with
773         small absolute value.
774         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
775         (__kernel_sinl): Force underflow exception for arguments with
776         small absolute value.
777         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
778         (__kernel_sinf): Force underflow exception for arguments with
779         small absolute value.
780         * math/auto-libm-test-in: Add more tests of sin and sincos.
781         * math/auto-libm-test-out: Regenerated.
783         [BZ #18245]
784         [BZ #18583]
785         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
786         (__kernel_standard_l): Use feholdexcept and fesetenv around
787         conversion to double instead of special-casing overflow and
788         underflow.
789         * math/libm-test.inc (fmod_test_data): Add more tests.
790         (remainder_test_data): Likewise.
791         (sqrt_test_data): Likewise.
793 2015-06-23  Torvald Riegel  <triegel@redhat.com>
795         [BZ #17403]
796         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
797         atomic_read_barrier, atomic_write_barrier): Define.
798         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
799         atomic_read_barrier, atomic_write_barrier): Define.
801 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
803         * math/Makefile [$(PERL) != no]
804         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
805         dependency on libm-test.stmp below the inclusion of Rules.
807 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
809         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
810         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
811         and included header.
812         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
813         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
814         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
815         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
816         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
817         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
818         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
819         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
820         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
821         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
822         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
823         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
824         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
825         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
826         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
827         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
828         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
829         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
830         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
832 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
834         [BZ #18371]
835         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
836         intermediate but not final result might underflow.
837         * math/s_csqrtf.c (__csqrtf): Likewise.
838         * math/s_csqrtl.c (__csqrtl): Likewise.
839         * math/auto-libm-test-in: Add more tests of csqrt.
840         * math/auto-libm-test-out: Regenerated.
841         * sysdeps/i386/fpu/libm-test-ulps: Update.
843         [BZ #18219]
844         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
845         threshold on absolute value of exponent for which scaling is used.
846         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
847         * math/auto-libm-test-in: Add more tests of exp2.
848         * math/auto-libm-test-out: Regenerated.
850 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
852         [BZ #17977]
853         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
854         when initializing interface list, based on the bug analysis
855         and the patch proposed by Eric Newton.
856         * resolv/tst-res_hconf_reorder.c: New test.
857         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
858         tst-res_hconf_reorder.
859         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
860         and $(shared-thread-library).
861         (tst-res_hconf_reorder-ENV): New variable.
863         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
864         in comment.
866 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
868         [BZ #16353]
869         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
870         (__expm1): Force underflow exception for arguments with small
871         absolute value.
872         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
873         (__expm1f): Force underflow exception for arguments with small
874         absolute value.
875         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
876         (__expm1): Force underflow exception for arguments with small
877         absolute value.
878         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
879         (__expm1f): Force underflow exception for arguments with small
880         absolute value.
881         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
882         Check for small arguments before calling __expm1.
883         * math/auto-libm-test-in: Do not mark underflow exceptions as
884         possibly missing for bug 16353.
885         * math/auto-libm-test-out: Regenerated.
887 2015-06-22  Andreas Schwab  <schwab@suse.de>
889         [BZ #18513]
890         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
891         PTR queries.
893 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
895         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
897         * string/strcoll_l.c: Remove unused struct element idxnow.
899 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
901         [BZ #18569]
902         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
903         underflow and return argument in case of subnormal argument.
904         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
905         Likewise.
906         * math/auto-libm-test-in: Add more tests of expm1.
907         * math/auto-libm-test-out: Regenerated.
909         [BZ #16361]
910         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
911         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
912         tiny results.
913         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
914         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
915         tiny results.
916         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
917         mark underflow exceptions as possibly missing for bug 16361.
918         * math/auto-libm-test-out: Regenerated.
920 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
922         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
923         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
924         Remove variable.
925         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
926         (test-xfail-XOPEN2K8/utmpx.h/conform).
928         * conform/conformtest.pl ($xerrors): New variable.
929         (note_error): New function.
930         (compiletest): New argument $xfail.  Use not_error.
931         (runtest): Likewise.
932         (top level): Handle xfail- lines.  Update calls to compiletest and
933         runtest.  Handle xfail- and optional- in headers listed with
934         allow-header.
935         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
936         (O_EXEC): Likewise.
937         (O_SEARCH): Likewise.
938         * conform/data/stropts.h-data (ioctl): Likewise.
939         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
940         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
941         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
942         (msghdr.msg_controllen): Likewise.
943         (cmsghdr.cmsg_len): Likewise.
944         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
945         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
946         variable.
947         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
948         (test-xfail-XPG4/stropts.h/conform): Likewise.
949         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
950         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
951         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
952         (test-xfail-UNIX98/stropts.h/conform): Likewise.
953         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
954         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
955         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
956         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
957         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
958         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
959         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
960         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
961         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
962         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
963         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
964         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
965         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
966         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
967         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
969 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
971         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
972         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
973         definitions for proper unfolding of __MATHDECL_VEC.
975 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
977         * benchtests/bench-strcoll.c:
978         Include string.h.
979         (main): Remove unused variable res.
981 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
983         * timezone/Makefile (%/UTC %/Universal):
984         Generate test-result files for UTC and Universal.
986 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
988         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
990 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
992         [BZ #16350]
993         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
994         for arguments with small absolute value.
995         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
996         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
997         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
998         (__asinh): Force underflow exception for arguments with small
999         absolute value.
1000         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
1001         (__asinhf): Force underflow exception for arguments with small
1002         absolute value.
1003         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
1004         (__asinhl): Force underflow exception for arguments with small
1005         absolute value.
1006         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
1007         (__asinhl): Force underflow exception for arguments with small
1008         absolute value.
1009         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
1010         (__asinhl): Force underflow exception for arguments with small
1011         absolute value.
1012         * math/auto-libm-test-in: Do not mark underflow exceptions as
1013         possibly missing for bug 16350.
1014         * math/auto-libm-test-out: Regenerated.
1016         * include/bits/ipc.h: Remove file.
1017         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
1018         variable.
1019         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1020         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1021         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1022         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1023         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1024         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
1025         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
1026         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
1027         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
1029         * math/auto-libm-test-in: Remove spurious underflow allowance for
1030         tests of cexp.
1031         * math/auto-libm-test-out: Regenerated.
1033         [BZ #18558]
1034         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
1035         unconditional definition.
1036         (MCAST_BLOCK_SOURCE): Likewise.
1037         (MCAST_UNBLOCK_SOURCE): Likewise.
1038         (MCAST_LEAVE_GROUP): Likewise.
1039         (MCAST_JOIN_SOURCE_GROUP): Likewise.
1040         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1041         (MCAST_MSFILTER): Likewise.
1042         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
1043         Remove variable.
1044         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1045         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1046         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
1047         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
1048         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
1050 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
1052         * NEWS: Mention addition of x86_64 vector sincosf.
1053         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
1054         * math/test-float-vlen4.h: Likewise.
1055         * math/test-float-vlen8.h: Likewise.
1056         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1057         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
1058         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1059         * sysdeps/x86_64/fpu/Versions: New versions added.
1060         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1061         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1062         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1063         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
1064         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
1065         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
1066         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
1067         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
1068         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
1069         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
1070         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
1071         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
1072         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
1073         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
1074         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
1075         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
1076         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
1077         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1078         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1079         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1080         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1081         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1082         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1083         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1085         * NEWS: Mention addition of x86_64 vector sincos.
1086         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
1087         * math/math.h (__MATHDECL_VEC): New macro.
1088         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
1089         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
1090         declaration under condition.
1091         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
1092         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
1093         TEST_VEC_LOOP change.
1094         * math/test-double-vlen4.h: Likewise.
1095         * math/test-double-vlen8.h: Likewise.
1096         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
1097         * math/test-float-vlen4.h: Likewise.
1098         * math/test-float-vlen8.h: Likewise.
1099         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1100         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
1101         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1102         * sysdeps/x86_64/fpu/Versions: New versions added.
1103         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1104         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1105         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1106         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
1107         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
1108         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
1109         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
1110         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
1111         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
1112         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
1113         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
1114         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
1115         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
1116         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
1117         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
1118         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
1119         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
1120         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1121         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1122         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1123         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1124         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1125         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1126         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1128         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1129         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1130         redirections for powf.
1131         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1132         * sysdeps/x86_64/fpu/Versions: New versions added.
1133         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1134         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1135         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1136         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
1137         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
1138         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
1139         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
1140         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
1141         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
1142         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
1143         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
1144         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
1145         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
1146         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
1147         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
1148         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
1149         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
1150         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1151         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1152         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1153         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1154         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1155         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1156         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1157         * math/test-float-vlen16.h: Fixed 2 argument macro.
1158         * math/test-float-vlen4.h: Likewise.
1159         * math/test-float-vlen8.h: Likewise.
1160         * NEWS: Mention addition of x86_64 vector powf.
1162 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
1164         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1165         and redefine.
1166         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1167         and redefine.
1168         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
1169         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1170         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1172         [BZ #18553]
1173         * resource/getpriority.c (getpriority): Rename to __getpriority
1174         and define as weak alias of __getpriority.
1175         * resource/setpriority.c (setpriority): Rename to __setpriority
1176         and define as weak alias of __setpriority.
1177         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
1178         __getpriority and define as weak alias of __getpriority.
1179         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
1180         __setpriority and define as weak alias of __setpriority.
1181         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
1182         strong name.
1183         (setpriority): Use __setpriority as strong name.
1184         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
1185         __getpriority and define as weak alias of __getpriority.
1186         * include/sys/resource.h (__getpriority): Declare.  Use
1187         libc_hidden_proto.
1188         (__setpriority): Likewise.
1189         (getpriority): Don't use libc_hidden_proto.
1190         (setpriority): Likewise.
1191         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
1192         getpriority.  Call __setpriority instead of setpriority.
1193         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
1194         Remove variable.
1196         [BZ #18547]
1197         * misc/getttyent.c (getttynam): Rename to __getttynam and define
1198         as weak alias of __getttynam.  Use prototype function definition.
1199         Call __setttyent, __getttyent and __endttyent instead of
1200         setttyent, getttyent and endttyent.
1201         (getttyent): Rename to __getttyent and define as weak alias of
1202         __getttyent.  Call __setttyent instead of setttyent.  Call
1203         __fgets_unlocked instead of fgets_unlocked.
1204         (setttyent): Rename to __setttyent and define as weak alias of
1205         __setttyent.
1206         (endttyent): Rename to __endttyent and define as weak alias of
1207         __endttyent.
1208         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
1209         (__setttyent): Likewise.
1210         (__endttyent): Likewise.
1211         (getttyent): Don't use libc_hidden_proto.
1212         (setttyent): Likewise.
1213         (endttyent): Likewise.
1214         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
1215         __endttyent instead of setttyent, getttyent and endttyent.
1216         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
1217         Remove variable.
1219         [BZ #18546]
1220         * socket/recv.c (__recv): Use libc_hidden_def.
1221         * socket/socket.c (__socket): Likewise.
1222         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1223         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
1224         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
1225         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
1226         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
1227         libc_hidden_def.
1228         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
1229         libc_hidden_weak.
1230         * include/sys/socket.h (__socket): Do not use attribute_hidden.
1231         Use libc_hidden_proto.
1232         (__recv): Likewise.
1233         * socket/Versions (libc): Export __recv and __socket at version
1234         GLIBC_PRIVATE.
1235         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
1236         instead of recv.
1237         (init_mq_netlink): Call __socket instead of socket.
1238         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
1239         Remove variable.
1241         [BZ #18545]
1242         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
1243         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
1244         hidden_weak.
1245         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
1246         define as alias of __mq_timedsend.  Use hidden_weak.
1247         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
1248         __mq_timedsend as strong name.
1249         (mq_timedreceive): Use __mq_timedreceive as strong name.
1250         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
1251         (__mq_timedreceive): Likewise.
1252         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
1253         __mq_timedreceive instead of mq_timedreceive.
1254         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
1255         instead of mq_timedsend.
1256         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
1257         Remove variable.
1259         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
1260         hidden_def and hidden_weak instead of libc_hidden_def and
1261         libc_hidden_weak.
1262         (top level): Refer to hidden_def in comment.
1263         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
1264         macro.  Use it instead of libc_hidden_def.
1265         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
1266         specify __GI_* name explicitly.
1267         (mq_timedreceive): Likewise.
1268         (mq_setattr): Likewise.
1270         [BZ #18544]
1271         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
1272         __pthread_barrier_init and define as weak alias of
1273         __pthread_barrier_init.
1274         * sysdeps/sparc/nptl/pthread_barrier_init.c
1275         (pthread_barrier_init): Likewise.
1276         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
1277         __pthread_barrier_wait and define as weak alias of
1278         __pthread_barrier_wait.
1279         * sysdeps/sparc/nptl/pthread_barrier_wait.c
1280         (pthread_barrier_wait): Likewise.
1281         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
1282         (pthread_barrier_wait): Likewise.
1283         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
1284         (pthread_barrier_wait): Likewise.
1285         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
1286         (pthread_barrier_wait): Likewise.
1287         * nptl/Versions (libpthread): Export __pthread_barrier_init and
1288         __pthread_barrier_wait at version GLIBC_PRIVATE.
1289         * include/pthread.h (__pthread_barrier_init): Declare.
1290         (__pthread_barrier_wait): Likewise.
1291         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
1292         Call __pthread_barrier_wait instead of pthread_barrier_wait.
1293         (helper_thread): Likewise.
1294         (init_mq_netlink): Call __pthread_barrier_init instead of
1295         pthread_barrier_init.
1297         [BZ #18542]
1298         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
1299         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
1300         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
1301         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
1302         vswscanf.
1303         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
1304         Remove variable.
1306         [BZ #18540]
1307         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
1308         strong alias of _IO_fflush.  Use libc_hidden_def.
1309         * libio/iofflush_u.c (fflush_unlocked): Rename to
1310         __fflush_unlocked and define as weak alias of __fflush_unlocked.
1311         Use libc_hidden_weak.
1312         * include/stdio.h (__fflush_unlocked): Declare.  Use
1313         libc_hidden_proto.
1314         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
1315         fflush_unlocked.
1316         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
1317         Remove variable.
1319         [BZ #18539]
1320         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
1321         define as weak alias of __addseverity.
1322         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
1323         Remove variable.
1324         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1325         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1326         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1328         [BZ #18536]
1329         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
1330         (__tfind): Likewise.
1331         (__tdelete): Likewise.
1332         (__twalk): Likewise.
1333         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
1334         __twalk to GLIBC_PRIVATE.
1335         * include/search.h (__tsearch): Use libc_hidden_proto.
1336         (__tfind): Likewise.
1337         (__tdelete): Likewise.
1338         (__twalk): Likewise.
1339         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
1340         Call __tdelete instead of tdelete.
1341         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
1342         tfind.  Call __tsearch instead of tsearch.
1343         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
1344         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
1345         Remove variable.
1346         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1348         [BZ #18534]
1349         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
1350         (dprintf): Define as a weak alias of __dprintf, not a strong
1351         alias.
1352         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
1353         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
1354         dprintf.
1355         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
1356         Remove variable.
1357         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1358         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1360         [BZ #18533]
1361         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
1362         not a strong alias.
1363         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
1364         Remove variable.
1366         [BZ #18532]
1367         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
1368         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
1369         (in6addr_loopback): Rename to __in6addr_loopback and define as
1370         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
1371         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
1372         libc_hidden_proto.
1373         (__in6addr_any): Likewise.
1374         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
1375         in6addr_any.
1376         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
1377         variable.
1378         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1380 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1382         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
1383         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
1384         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1385         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1386         redirections for pow.
1387         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1388         * sysdeps/x86_64/fpu/Versions: New versions added.
1389         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1390         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1391         build of SSE, AVX2 and AVX512 IFUNC versions.
1392         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
1393         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
1394         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
1395         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
1396         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
1397         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
1398         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
1399         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
1400         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
1401         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
1402         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
1403         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
1404         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
1405         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
1406         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1407         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1408         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1409         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1410         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1411         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1412         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1413         * NEWS: Mention addition of x86_64 vector pow.
1415         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1416         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1417         redirections for expf.
1418         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1419         * sysdeps/x86_64/fpu/Versions: New versions added.
1420         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1421         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1422         build of SSE, AVX2 and AVX512 IFUNC versions.
1423         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
1424         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
1425         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
1426         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
1427         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
1428         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
1429         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
1430         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
1431         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
1432         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
1433         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
1434         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
1435         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
1436         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1437         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1438         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1439         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1440         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1441         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1442         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1443         * NEWS: Mention addition of x86_64 vector expf.
1445         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
1446         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
1447         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1448         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1449         redirections for exp.
1450         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1451         * sysdeps/x86_64/fpu/Versions: New versions added.
1452         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1453         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1454         build of SSE, AVX2 and AVX512 IFUNC versions.
1455         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
1456         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
1457         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
1458         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
1459         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
1460         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
1461         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
1462         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
1463         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
1464         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
1465         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
1466         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
1467         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
1468         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1469         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1470         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1471         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1472         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1473         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1474         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1475         * NEWS: Mention addition of x86_64 vector exp.
1477         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1478         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1479         redirections for logf.
1480         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1481         * sysdeps/x86_64/fpu/Versions: New versions added.
1482         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1483         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1484         build of SSE, AVX2 and AVX512 IFUNC versions.
1485         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
1486         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
1487         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
1488         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
1489         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
1490         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
1491         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
1492         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
1493         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
1494         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
1495         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
1496         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
1497         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
1498         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1499         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1500         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1501         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1502         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1503         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1504         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1505         * NEWS: Mention addition of x86_64 vector logf.
1507         * bits/libm-simd-decl-stubs.h: Added stubs for log.
1508         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
1509         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1510         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
1511         redirections for log.
1512         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1513         * sysdeps/x86_64/fpu/Versions: New versions added.
1514         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1515         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1516         build of SSE, AVX2 and AVX512 IFUNC versions.
1517         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
1518         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
1519         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
1520         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
1521         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
1522         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
1523         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
1524         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
1525         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
1526         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
1527         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
1528         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
1529         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
1530         test.
1531         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1532         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1533         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1534         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1535         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1536         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1537         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1538         * NEWS: Mention addition of x86_64 vector log.
1540 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1542         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
1543         cfi_adjust_cfa_offset argument.
1544         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
1545         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1547         [BZ #18034]
1548         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
1549         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
1550         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
1551         ordering using ldar.
1552         (_dl_tlsdesc_dynamic): Likewise.
1553         (_dl_tlsdesc_return_lazy): Likewise.
1554         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
1555         relaxed atomics instead of volatile and synchronize with release store.
1556         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
1557         volatile.
1558         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
1560 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
1562         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
1563         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
1564         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1565         * sysdeps/x86_64/fpu/Versions: New versions added.
1566         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1567         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
1568         build of SSE, AVX2 and AVX512 IFUNC versions.
1569         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
1570         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
1571         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
1572         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
1573         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
1574         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
1575         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
1576         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
1577         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
1578         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
1579         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
1580         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
1581         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
1582         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1583         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1584         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1585         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1586         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1587         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1588         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1589         * NEWS: Mention addition of x86_64 vector sinf.
1591 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
1593         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
1594         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
1595         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
1596         Remove variable.
1597         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1598         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1600 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1602         [BZ #18530]
1603         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
1604         strong alias of _IO_fputs.  Use libc_hidden_def.
1605         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
1606         and define as weak alias of __fputs_unlocked.  Use
1607         libc_hidden_weak.
1608         * include/stdio.h (__fputs_unlocked): Declare.  Use
1609         libc_hidden_proto.
1610         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
1611         fputs_unlocked.
1613         [BZ #18529]
1614         * resolv/netdb.h [__USE_POSIX]: Change condition to
1615         [__USE_XOPEN2K].
1616         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
1617         not expect.
1618         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
1619         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
1620         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
1621         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
1622         [XPG4 || UNIX98] (AI_ALL): Likewise.
1623         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
1624         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
1625         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
1626         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
1627         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
1628         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
1629         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
1630         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
1631         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
1632         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
1633         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
1634         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
1635         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
1636         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
1637         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
1638         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1639         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
1640         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
1641         [XPG4 || UNIX98] (gai_strerror): Likewise.
1642         [XPG4 || UNIX98] (getaddrinfo): Likewise.
1643         [XPG4 || UNIX98] (getnameinfo): Likewise.
1645         [BZ #18528]
1646         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
1647         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
1648         __USE_XOPEN2K8].
1649         (getgrent): Likewise.
1650         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
1651         expect.
1652         [XPG3 || POSIX2008] (endgrent): Likewise.
1653         [XPG3] (setgrent): Likewise.
1654         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
1655         variable.
1656         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1658         [BZ #18527]
1659         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
1660         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
1661         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
1662         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
1663         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
1664         * include/unistd.h (__getlogin_r): Declare.  Use
1665         libc_hidden_proto.
1666         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
1667         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
1668         variable.
1669         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1670         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1671         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1673 2015-06-12  Martin Sebor  <msebor@redhat.com>
1675         [BZ #18512]
1676         * Makerules (check-install-supported): New target.
1677         (install): Add check-install-supported as a dependency.
1678         * manual/install.texi (Installing the C Library): Document
1679         that overriding prefix and exec_prefix is not supported.
1680         Mention DESTDIR.
1681         * INSTALL: Regenerate from the above.
1683 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
1685         [BZ #18519]
1686         * posix/Versions (libc): Export __libc_pread at version
1687         GLIBC_PRIVATE.
1688         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
1689         instead of pread.
1690         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
1691         variable.
1693         [BZ #18522]
1694         * misc/efgcvt_r.c
1695         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
1696         (cvt_symbol): Use weak_alias instead of strong_alias.
1697         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
1698         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
1699         Remove variable.
1700         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1701         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1703         [BZ #18520]
1704         * inet/herrno.c (h_errno): Rename to __h_errno.
1705         (__libc_h_errno): Define as alias of __h_errno not h_errno.
1706         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
1707         to __h_errno instead of h_errno.
1708         * nptl/herrno.c (h_errno): Rename to __h_errno.
1709         (__h_errno_location): Refer to __h_errno not h_errno.
1710         * resolv/Versions (h_errno): Rename to __h_errno.
1711         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
1712         Remove variable.
1713         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1715 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
1717         * configure.ac: More strict check for AVX512 assembler support.
1718         * configure: Regenerated.
1720         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
1721         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
1722         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1723         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
1724         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1725         * sysdeps/x86_64/fpu/Versions: New versions added.
1726         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1727         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1728         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1729         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
1730         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
1731         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
1732         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
1733         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
1734         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
1735         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
1736         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
1737         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
1738         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
1739         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
1740         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
1741         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
1742         test.
1743         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1744         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1745         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1746         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1747         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1748         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1749         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1750         * NEWS: Mention addition of x86_64 vector sin.
1752 2015-06-11  Florian Weimer  <fweimer@redhat.com>
1754         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
1755         comment.
1757 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
1759         [BZ #18479]
1760         * nptl/pt-interp.c: New file.
1761         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
1762         Add pt-interp.
1763         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
1764         $(common-objpfx)runtime-linker.h.
1766 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
1768         * Makeconfig (+interp): Remove unused variable.
1769         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
1770         only.  Depend on $(common-objpfx)runtime-linker.h instead of
1771         $(elf-objpfx)runtime-linker.h.
1772         ($(elf-objpfx)runtime-linker.h): Rename to
1773         $(common-objpfx)runtime-linker.h and move ...
1774         * Makerules [$(build-shared) = yes]: ... here.
1775         * elf/interp.c: Include <runtime-linker.h> instead of
1776         <elf/runtime-linker.h>.
1778 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1780         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
1781         (__gettimeofday_syscall): Remove vsyscall fallback.
1782         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
1783         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
1784         Add syscall fallback function.
1785         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
1786         if vDSO is not present.
1787         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
1788         fallback function.
1789         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
1790         present.
1791         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
1792         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
1794 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
1796         [BZ #18497]
1797         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
1798         of wcscmp.
1799         (wcscmp): Define as weak alias of WCSCMP.
1800         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
1801         wcscoll.
1802         (USE_HIDDEN_DEF): Define.
1803         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
1804         __wcscoll.  Don't use libc_hidden_weak.
1805         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
1806         wcscmp.
1807         * sysdeps/i386/i686/multiarch/wcscmp-c.c
1808         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
1809         __GI_wcscmp.
1810         (weak_alias): Undefine and redefine.
1811         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
1812         __wcscmp and define as weak alias of __wcscmp.
1813         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
1814         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
1815         (__wcscoll): Likewise.
1816         (wcscmp): Don't use libc_hidden_proto.
1817         (wcscoll): Likewise.
1818         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
1819         wcscoll.
1820         * posix/regexec.c (check_node_accept_bytes): Likewise.
1821         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
1822         variable.
1823         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1824         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1826         [BZ #18507]
1827         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
1828         __fstatvfs and define as weak alias of __fstatvfs.  Use
1829         libc_hidden_weak.
1830         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
1831         and define as weak alias of __statvfs.  Use libc_hidden_weak.
1832         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
1833         Define as alias of __fstatvfs, not fstatvfs.
1834         (fstatvfs64): Likewise.
1835         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
1836         Define as alias of __statvfs, not statvfs.
1837         (statvfs64): Likewise.
1838         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
1839         Remove variable.
1841 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1844         (HAVE_GETCPU_VSYSCALL): Define.
1845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1846         (HAVE_GETCPU_VSYSCALL): Likewise.
1847         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
1848         * sysdeps/unix/sysv/linux/sched_getcpu.c
1849         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
1850         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
1851         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
1852         prototype.
1853         * sysdeps/unix/sysv/linux/x86_64/init-first.c
1854         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
1855         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
1856         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
1857         Define.
1858         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
1859         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1860         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
1861         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
1863 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
1865         * sysdeps/x86_64/fpu/Makefile: New file.
1866         * sysdeps/x86_64/fpu/Versions: New file.
1867         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
1868         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
1869         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
1870         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
1871         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
1872         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
1873         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
1874         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
1875         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
1876         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
1877         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
1878         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
1879         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
1880         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1881         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1882         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
1883         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
1884         * sysdeps/x86_64/configure.ac: Options for libmvec build.
1885         * sysdeps/x86_64/configure: Regenerated.
1886         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
1887         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
1888         * manual/install.texi (Configuring and compiling): Document
1889         --disable-mathvec.
1890         * INSTALL: Regenerated.
1891         * NEWS: Mention addition of libmvec and x86_64 vector cos.
1893         * math/Makefile: Added rules for vector tests.
1894         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
1895         declaration under condition.
1896         * math/test-double-vlen2.h: New file.
1897         * math/test-double-vlen4.h: New file.
1898         * math/test-double-vlen8.h: New file.
1899         * math/test-vec-loop.h: Added initialization macro.
1900         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
1901         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
1902         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
1903         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
1904         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
1905         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
1906         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
1907         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
1908         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
1909         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
1910         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
1912         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
1913         * sysdeps/x86_64/fpu/Versions: New versions added.
1914         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
1915         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
1916         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
1917         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
1918         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
1919         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
1920         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
1921         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
1922         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
1923         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
1924         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
1925         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
1926         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
1927         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
1928         Added build of SSE, AVX2 and AVX512 IFUNC versions.
1929         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
1930         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
1931         * NEWS: Mention addition of x86_64 vector cosf.
1933         * math/Makefile: Added CFLAGS for new tests.
1934         * math/test-float-vlen16.h: New file.
1935         * math/test-float-vlen4.h: New file.
1936         * math/test-float-vlen8.h: New file.
1937         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
1938         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
1939         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1940         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
1941         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
1942         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
1943         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
1944         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
1945         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
1946         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
1947         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
1949 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
1951         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
1952         * locale/programs/ld-ctype.c: Likewise.
1954 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
1956         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
1957         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
1958         bit_ZMM16_31_state): New macro.
1959         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1960         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
1962 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
1964         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
1966 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
1968         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
1970 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
1972         [BZ #18498]
1973         * libio/memstream.c (open_memstream): Rename to __open_memstream
1974         and define as weak alias of __open_memstream.
1975         * include/stdio.h (__open_memstream): Declare.  Use
1976         libc_hidden_proto.
1977         (open_memstream): Don't use libc_hidden_proto.
1978         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
1979         open_memstream.
1980         * posix/getopt.c (_getopt_internal_r): Likewise.
1981         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
1982         variable.
1983         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1984         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1985         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1987         [BZ #18496]
1988         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
1989         instead of wcrtomb.
1991         [BZ #18483]
1992         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
1993         [__USE_XOPEN2K8].  Remove redundant #endif.
1994         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
1995         Remove redundant #if.
1996         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
1997         Remove variable.
1998         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1999         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2001         [BZ #18495]
2002         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
2003         (__iswlower): Likewise.
2004         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
2005         (__iswlower): Likewise.
2006         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
2007         instead of towlower.
2008         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
2009         instead of iswlower.  Call __towupper instead of towupper.
2010         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
2011         instead of iswalnum.
2013 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2015         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
2016         errors to stderr.
2018 2015-06-05  Florian Weimer  <fweimer@redhat.com>
2020         [BZ #15661]
2021         [BZ #17322]
2022         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2023         Check for overflow properly.  Check for O_APPEND.  Ignore large
2024         file system block sizes.  Add comments about problems.
2025         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
2026         * manual/filesys.texi (Storage Allocation): New node.
2028 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2030         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
2031         cancellable syscalls.
2032         (SYS_ify): Add guard to no redefine it.
2033         (INLINE_SYSCALL): Likewise.
2034         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
2035         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
2036         SYSCALL_CANCEL instead.
2037         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
2038         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2039         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2040         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2041         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2042         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
2043         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
2044         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
2045         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
2046         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
2047         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
2048         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
2049         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
2050         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
2051         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
2052         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2053         Likewise.
2054         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2055         (__libc_pread64): Likewise.
2056         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
2057         (__libc_preadv): Likewise.
2058         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
2059         (__libc_readv64): Likewise.
2060         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2061         (__libc_pwrite): Likewise.
2062         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2063         (__libc_pwrite64): Likewise.
2064         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
2065         (__libc_pwritev): Likewise.
2066         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
2067         (__libc_pwritev64): Likewise.
2068         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
2069         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
2070         (sync_file_range): Likewise.
2071         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
2072         Likewise.
2073         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
2074         Likewise.
2075         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2076         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2077         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2078         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2079         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2080         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2081         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
2082         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
2083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2084         Likewise.
2085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2086         (__libc_read64): Likewise.
2087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
2088         Likewise.
2089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
2090         Likewise.
2091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
2092         Likewise.
2093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
2094         Likewise.
2095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
2096         (__libc_pread64): Likewise.
2097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
2098         Likewise.
2099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
2100         (__libc_pwrite64): Likewise.
2101         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
2102         (sync_file_range): Likewise.
2103         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
2104         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2105         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2106         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
2107         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
2108         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2109         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2110         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
2111         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
2112         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
2113         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
2114         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2115         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2116         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2117         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
2118         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2119         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2120         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2121         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2122         Likewise.
2123         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
2124         Likewise.
2125         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
2126         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
2127         Likewise.
2128         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
2129         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
2130         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
2131         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
2132         Likewise.
2133         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
2134         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
2135         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
2136         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
2137         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
2139 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
2141         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
2142         Include dl-vdso.
2143         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
2144         Use VDSO routines for gettimeofday, clock_gettime if
2145         available.
2146         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
2147         Declare VDSO symbols.
2148         * sysdeps/unix/sysv/linux/arm/sysdep.h:
2149         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
2150         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2151         * sysdeps/unix/sysv/linux/arm/Versions: Add
2152         __vdso_clock_gettime.
2154 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2156         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
2157         be an inline implementation regardless of library is built within.
2158         (open_not_cancel_2): Likewise.
2159         (__read_nocancel): Likewise.
2160         (__write_nocancel): Likewise.
2161         (openat_not_cancel): Likewise.
2162         (openat_not_cancel_3): Likewise.
2163         (openat64_not_cancel): Likewise.
2164         (openat64_not_cancel_3): Likewise.
2165         (__close_nocancel): Likewise.
2166         (pause_not_cancel): Likewise.
2167         (nanosleep_not_cancel): Likewise.
2168         (sigsuspend_not_cancel): Likewise.
2170 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2172         [BZ #14958]
2173         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
2174         wake-up.
2175         (__pthread_rwlock_rdlock_slow): Likewise.
2176         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2177         Likewise.
2178         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
2179         Likewise.
2180         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
2181         * nptl/tst-rwlock16.c: New file.
2182         * nptl/Makefile (tests): Add new test.
2184 2015-06-04  Torvald Riegel  <triegel@redhat.com>
2186         [BZ #18324]
2187         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
2188         missing wake-up of readers.
2189         * nptl/tst-rwlock15.c: New file.
2190         * nptl/Makefile (tests): Add new test.
2192 2015-06-03  Roland McGrath  <roland@hack.frob.com>
2194         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
2195         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
2196         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
2197         and __nacl_supply_interface_rtld.
2198         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
2199         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
2200         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
2201         Add __nacl_supply_interface_rtld.
2202         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
2204 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2206         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
2207         isfinite.
2208         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
2209         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
2211 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
2213         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
2214         __signbit* with standard C99 macros.
2215         * math/e_exp10l.c: Likewise.
2216         * math/e_exp2l.c: Likewise.
2217         * math/e_scalb.c: Likewise.
2218         * math/e_scalbf.c: Likewise.
2219         * math/e_scalbl.c: Likewise.
2220         * math/s_ldexp.c: Likewise.
2221         * math/s_ldexpf.c: Likewise.
2222         * math/s_ldexpl.c: Likewise.
2223         * math/w_atan2.c: Likewise.
2224         * math/w_atan2f.c: Likewise.
2225         * math/w_atan2l.c: Likewise.
2226         * math/w_cosh.c: Likewise.
2227         * math/w_coshf.c: Likewise.
2228         * math/w_coshl.c: Likewise.
2229         * math/w_exp10.c: Likewise.
2230         * math/w_exp10f.c: Likewise.
2231         * math/w_exp10l.c: Likewise.
2232         * math/w_exp2.c: Likewise.
2233         * math/w_exp2f.c: Likewise.
2234         * math/w_exp2l.c: Likewise.
2235         * math/w_fmod.c: Likewise.
2236         * math/w_fmodf.c: Likewise.
2237         * math/w_fmodl.c: Likewise.
2238         * math/w_hypot.c: Likewise.
2239         * math/w_hypotf.c: Likewise.
2240         * math/w_hypotl.c: Likewise.
2241         * math/w_jnl.c: Likewise.
2242         * math/w_lgamma.c: Likewise.
2243         * math/w_lgamma_r.c: Likewise.
2244         * math/w_lgammaf.c: Likewise.
2245         * math/w_lgammaf_r.c: Likewise.
2246         * math/w_lgammal.c: Likewise.
2247         * math/w_lgammal_r.c: Likewise.
2248         * math/w_pow.c: Likewise.
2249         * math/w_powf.c: Likewise.
2250         * math/w_powl.c: Likewise.
2251         * math/w_remainder.c: Likewise.
2252         * math/w_remainderf.c: Likewise.
2253         * math/w_remainderl.c: Likewise.
2254         * math/w_scalb.c: Likewise.
2255         * math/w_scalbf.c: Likewise.
2256         * math/w_scalbl.c: Likewise.
2257         * math/w_scalbln.c: Likewise.
2258         * math/w_scalblnf.c: Likewise.
2259         * math/w_scalblnl.c: Likewise.
2260         * math/w_sinh.c: Likewise.
2261         * math/w_sinhf.c: Likewise.
2262         * math/w_sinhl.c: Likewise.
2263         * math/w_tgamma.c: Likewise.
2264         * math/w_tgammaf.c: Likewise.
2265         * math/w_tgammal.c: Likewise.
2266         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
2267         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
2268         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2269         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2270         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2271         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
2272         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
2273         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
2274         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
2275         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
2276         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
2277         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2278         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2279         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2280         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2281         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2282         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2283         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2284         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
2285         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
2286         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
2287         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2288         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2289         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
2290         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
2291         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
2292         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
2293         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
2294         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
2295         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
2296         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
2297         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
2298         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
2299         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
2300         * stdio-common/printf_fp.c: Likewise.
2301         * stdio-common/printf_fphex.c: Likewise.
2302         * stdio-common/printf_size.c: Likewise.
2304 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
2306         [BZ #18470]
2307         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
2308         strnlen.
2309         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
2310         Remove variable.
2311         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2312         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2313         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2314         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2315         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2316         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2317         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2318         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2319         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2320         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2322         [BZ #18468]
2323         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
2324         weak alias of __wmemchr.  Use libc_hidden_weak.
2325         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
2326         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
2327         instead of wmemchr.
2329 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2331         [BZ #18383]
2332         * elf/tst-tlsalign-extern.c: New file.
2333         * elf/tst-tlsalign-extern-static.c: New file.
2334         * elf/tst-tlsalign-vars.c: New file.
2335         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
2336         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
2337         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
2338         ($(objpfx)tst-tlsalign-extern-static): Likewise.
2339         (test-xfail-tst-tlsalign-extern-static): New variable.
2341 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
2343         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
2344         Use variable name _sc_err instead of err.
2345         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
2346         instead of ret.
2347         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
2348         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
2349         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
2350         (INLINE_SYSCALL): Likewise.
2352         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
2353         * include/string.h (__strnlen): Use libc_hidden_proto.
2354         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
2355         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
2356         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
2357         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
2358         (libc_hidden_def): Undefine and redefine.
2359         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
2360         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
2361         __GI_strnlen.
2362         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
2363         libc_hidden_def.
2364         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
2366         [BZ #18469]
2367         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
2368         weak alias of __towlower.  Use libc_hidden_weak.
2369         (towupper): Rename to __towupper and define as weak alias of
2370         __towupper.  Use libc_hidden_weak.
2371         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
2372         (__towupper): Likewise.
2373         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
2374         __towlower instead of towlower.
2376 2015-06-02  Roland McGrath  <roland@hack.frob.com>
2378         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
2379         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
2381 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2383         * sysdeps/aarch64/libm-test-ulps: Update.
2385 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2387         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
2388         Define.
2389         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2390         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2391         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2392         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2393         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
2394         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
2395         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
2397 2015-06-01  Martin Sebor  <msebor@redhat.com>
2399         [BZ #18116]
2400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
2401         (__setcontext): Use extended four-operand version of mtsf whenever
2402         possible.
2403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
2404         (__novec_swapcontext): Likewise.
2406 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
2408         * benchtests/scripts/compare_bench.py: New file.
2409         * benchtests/scripts/import_bench.py (mean): New function.
2410         (split_list): Likewise.
2411         (do_for_all_timings): Likewise.
2412         (compress_timings): Likewise.
2414         * benchtests/scripts/import_bench.py: New file.
2415         * benchtests/scripts/validate_benchout.py: Import import_bench
2416         instead of jsonschema.
2417         (validate_bench): Remove function.
2418         (main): Use import_bench.
2420 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
2422         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
2423         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
2425 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2429 2015-05-28  Roland McGrath  <roland@hack.frob.com>
2431         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
2432         set THREAD_SELF->tid to a magic value and futex-wake it.
2433         Pass its address to the thread_exit system call.
2434         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
2435         bit is clear.
2436         * sysdeps/nacl/lowlevellock.h: New file.
2437         * sysdeps/nacl/lll_timedwait_tid.c: New file.
2439         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
2440         Add TIMEOUT to current time, don't subtract it.
2442 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
2444         [BZ #18422]
2445         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
2446         ($(objpfx)tst-audit2.out): Also depend on
2447         $(objpfx)tst-auditmod9b.so.
2448         * elf/tst-audit2.c: Include <dlfcn.h>.
2449         (calloc_called): New.
2450         (calloc): Allow to be called more than once.
2451         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
2453 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
2455         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
2456         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
2458 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
2460         * stdlib/monetary.h: Fix comment.
2462 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
2464         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
2465         Avoid using variables in #defines that might cause shadowing.
2466         (INTERNAL_VSYSCALL_CALL): Likewise.
2468 2015-05-26  Roland McGrath  <roland@hack.frob.com>
2470         * sysdeps/nacl/lll_timedlock_wait.c: New file.
2472         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
2473         * nptl/lll_timedlock_wait.c: ... to this new file.
2474         * nptl/Makefile (libpthread-routines): Add it.
2475         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
2476         * nptl/lll_timedwait_tid.c: ... to this new file.
2477         * nptl/Makefile (libpthread-routines): Add it.
2478         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
2479         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
2480         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
2481         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
2482         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
2483         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
2484         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
2485         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
2486         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
2487         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
2489 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2491         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
2492         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2493         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2494         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2495         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2496         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2497         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2498         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2499         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2500         * sysdeps/unix/sysv/linux/tile/sysdep.h
2501         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
2502         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
2503         using vDSO syscall macro.
2505 2015-05-26  Andriy Rysin  <arysin@gmail.com>
2507         [BZ #17293]
2508         * uk_UA: Fix sorting order for Ukrainian locale
2510 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
2512         * stdlib/monetary.h: Fix comment.
2514 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2516         [BZ #18234]
2517         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
2518         st_mtim and st_ctim members.
2519         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
2520         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
2521         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
2522         (struct stat64): Likewise.
2523         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
2524         (struct stat64): Likewise.
2525         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
2526         (struct stat64): Likewise.
2528 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2530         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
2531         Define and include sysdep-vdso.h.
2532         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
2533         Likewise.
2534         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
2535         Likewise.
2536         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
2537         Define with VDSO_SYMBOL and use PTR_MANGLE.
2538         (__vdso_clock_gettime): Likewise.
2539         (__vdso_clock_getres): Likewise.
2540         (_libc_vdso_platform_setup): Likewise.
2541         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2542         Likewise.
2543         (_libc_vdso_platform_setup): Likewise.
2544         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
2545         Likewise.
2546         (__vdso_clock_gettime): Likewise.
2547         (__vdso_clock_getres): Likewise.
2548         (__vdso_get_tbfreq): Likewise.
2549         (__vdso_getcpu): Likewise.
2550         (__vdso_time): Likewise.
2551         (__vdso_sigtramp_rt64): Likewise.
2552         (__vdso_signtramp32): Likewise.
2553         (__vdso_sigtramp_rt32): Likewise.
2554         (_libc_vdso_platform_setup): Likewise.
2555         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
2556         Likewise.
2557         (__vdso_clock_gettime): Likewise.
2558         (__vdso_clock_getres): Likewise.
2559         (_libc_vdso_platform_setup): Likewise.
2560         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
2561         Likewise.
2562         (__vdso_clock_gettime): Likewise.
2563         (_libc_vdso_platform_setup): Likewise.
2564         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2565         Likewise.
2566         (__vdso_getcpu): Likewise.
2567         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
2568         Use VDSO_SYMBOL macro to define.
2569         (__vdso_clock_gettime): Likewise.
2570         (__vdso_clock_getres): Likewise.
2571         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
2572         Likewise.
2573         (__vdso_clock_gettime): Likewise.
2574         (__vdso_clock_getres): Likewise.
2575         (__vdso_get_tbfreq): Likewise.
2576         (__vdso_getcpu): Likewise.
2577         (__vdso_time): Likewise.
2578         (__vdso_sigtramp_rt64): Likewise.
2579         (__vdso_signtramp32): Likewise.
2580         (__vdso_sigtramp_rt32): Likewise.
2581         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
2582         Likewise.
2583         (__vdso_clock_gettime): Likewise.
2584         (__vdso_clock_getres): Likewise.
2585         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
2586         Likewise.
2587         (__vdso_clock_gettime): Likewise.
2588         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2589         Likewise.
2590         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
2591         macro.
2592         (INTERNAL_VSYSCALL): Likewise.
2593         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
2594         Remove macro.
2595         (INTERNAL_VSYSCALL): Likewise.
2596         (INTERNAL_VSYSCALL_NCS): Likewise.
2597         (INTERNAL_VSYSCALL_CALL): New macro.
2598         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2599         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
2600         Likewise.
2601         (INTERNAL_VSYSCALL): Likewise.
2602         (INTERNAL_VSYSCALL_NCS): Likewise.
2603         (INTERNAL_VSYSCALL_CALL): New macro.
2604         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
2605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2606         (INLINE_VSYSCALL): Remove macro.
2607         (INTERNAL_VSYSCALL): Remove macro.
2608         (INTERNAL_VSYSCALL_NCS): Remove macro.
2609         (INTERNAL_VSYSCALL_CALL): New macro.
2610         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
2611         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
2612         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2613         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
2614         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
2615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2616         (INLINE_VSYSCALL): Remove macro.
2617         (INTERNAL_VSYSCALL): Likewise.
2618         (INTERNAL_VSYSCALL_NCS): Likewise.
2619         (INTERNAL_VSYSCALL_CALL): New macro.
2620         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
2621         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
2622         PTR_DEMANGLE on vDSO pointer.
2623         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
2624         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
2625         macro.
2626         (INTERNAL_SYSCALL): Likewise.
2627         (INTERNAL_VSYSCALL_NCS): Remove macro.
2628         (INTERNAL_VSYSCALL_CALL): New macro.
2629         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
2630         Remove macro.
2631         (INTERNAL_VSYSCALL): Likewise.
2632         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
2633         sysdep-vdso.h instead of libc-vdso.h.
2634         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
2635         definition.
2636         (INLINE_VSYSCALL): Likewise.
2637         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
2638         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
2639         definition.
2640         (INLINE_VSYSCALL): Likewise.
2641         (INTERNAL_VSYSCALL): Likewise.
2642         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2643         * sysdeps/unix/sysv/linux/timespec_get.c
2644         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
2645         (timespec_get): Use ANSI prototype.
2646         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
2647         and definition for Linux.
2649 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
2651         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
2652         * include/libc-symbols.h: libmvec_hidden_* macro series added.
2654 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
2656         [BZ #18410]
2657         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
2658         for missing DT_PLTRELSZ.
2660 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
2662         Remove obsolete aliases that broke 'locale -a'
2663         [BZ #18412]
2664         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
2665         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
2666         breaking some applications that use 'locale -a' output.
2667         Change the encoding of this file from Latin-1 to ASCII to avoid
2668         other potential problems with people grepping this file.
2670 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2672         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
2673         -fasynchronous-unwind-tables.
2674         (CFLAGS-sendto.c): Likewise.
2675         (CFLAGS-sendmsg.c): Likewise.
2676         (CFLAGS-connect.c): Likewise.
2677         (CFLAGS-recvmsg.c): Likewise.
2678         (CFLAGS-recvfrom.c): Likewise.
2679         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
2680         (SOCKETCALL): New macro: non-cancellable socketcall.
2681         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
2682         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
2683         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
2684         * sysdeps/unix/sysv/linux/accept.c: New file.
2685         * sysdeps/unix/sysv/linux/bind.c: Likewise.
2686         * sysdeps/unix/sysv/linux/connect.c: Likewise.
2687         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
2688         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
2689         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
2690         * sysdeps/unix/sysv/linux/listen.c: Likewise.
2691         * sysdeps/unix/sysv/linux/recv.c: Likewise.
2692         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
2693         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2694         * sysdeps/unix/sysv/linux/send.c: Likewise.
2695         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2696         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
2697         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
2698         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
2699         * sysdeps/unix/sysv/linux/socket.c: Likewise.
2700         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
2701         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
2702         prototype.
2703         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
2704         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2705         instead of __internal_xxx function.
2706         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
2707         prototype.
2708         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
2709         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2710         instead of __internal_xxx function.
2711         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
2712         prototype.
2713         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
2714         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
2715         instead of __internal_xxx function.
2716         * sysdeps/unix/sysv/linux/accept.S: Remove file.
2717         * sysdeps/unix/sysv/linux/bind.S: Likewise.
2718         * sysdeps/unix/sysv/linux/connect.S: Likewise.
2719         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
2720         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
2721         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
2722         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
2723         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
2724         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
2725         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
2726         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
2727         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
2728         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
2729         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
2730         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
2731         * sysdeps/unix/sysv/linux/listen.S: Likewise.
2732         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
2733         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
2734         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
2735         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
2736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
2737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
2738         * sysdeps/unix/sysv/linux/recv.S: Likewise.
2739         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
2740         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
2741         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
2742         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
2743         * sysdeps/unix/sysv/linux/send.S: Likewise.
2744         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
2745         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
2746         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
2747         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
2748         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
2749         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
2750         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
2751         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
2752         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
2753         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
2754         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
2755         socketcall is implemented in GLIBC.
2757 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2759         * soft-fp/fmadf4.c: Include <libc-internal.h>.
2760         (__fma): Ignore uninitialized warnings around packing.
2761         * soft-fp/fmasf4.c: Include <libc-internal.h>.
2762         (__fmaf): Ignore uninitialized warnings around packing.
2763         * soft-fp/fmatf4.c: Include <libc-internal.h>.
2764         (__fmal): Ignore uninitialized warnings around packing.
2766         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
2767         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2768         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
2769         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2771         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
2772         switch statement into default case.
2773         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
2775         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
2776         a conditional in forcing "inexact".
2777         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2778         Likewise.
2780 2015-05-22  Roland McGrath  <roland@hack.frob.com>
2782         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2783         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
2784         for each INTERNAL_SYSCALL use.
2786 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
2788         [BZ #438]
2789         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
2790         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
2791         variable.
2793         [BZ #18444]
2794         * string/basename.c (basename): Rename to __basename and define as
2795         weak alias of __basename.  Use libc_hidden_weak.
2796         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
2797         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
2798         __basename instead of basename.
2799         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
2800         Remove variable.
2801         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2803 2015-05-18  Florian Weimer  <fweimer@redhat.com>
2805         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
2806         (_IO_JUMPS_FILE_plus): New.
2807         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
2808         _IO_CAST_FIELD_ACCESS.
2809         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
2810         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
2811         * libio/freopen.c (freopen): Likewise.
2812         * libio/freopen64.c (freopen64): Likewise.
2813         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
2814         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
2815         * libio/iofwide.c (_IO_fwide): Likewise.
2816         * libio/memstream.c (open_memstream): Likewise.
2817         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
2818         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2819         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2821 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
2823         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
2824         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
2825         NADJ.
2826         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
2827         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
2828         NADJ.
2829         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
2830         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
2831         NADJ.
2833         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
2834         (p == 4) case.
2836         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
2837         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
2838         Remove variable.
2839         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2840         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2841         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2843 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2845         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
2846         Adjust jump table label generation macros.
2848 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2850         * stdio-common/vfprintf.c (vfprintf): Move local variables
2851         args_malloced, specs, specs_malloced, and the code after
2852         do_positional to the printf_positional function.
2853         (printf_positional): New function.
2855 2015-05-21  Florian Weimer  <fweimer@redhat.com>
2857         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
2858         function.
2859         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
2860         STEP4_TABLE, process_arg): Move macro definitions
2861         out of the vfprintf function.  (Cosmetic change only.)
2863 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
2865         * benchtests/Makefile (stdio-common-bench): Define.
2866         (benchset): Add stdio-common-bench.
2867         * sprintf-inputs: New file.
2868         * sprintf-source.c: New file.
2870 2015-05-21  Andreas Schwab  <schwab@suse.de>
2872         [BZ #13028]
2873         [BZ #17053]
2874         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
2875         of struct __res_state.
2876         * resolv/res_send.c (__libc_res_nsend): Likewise.
2877         (get_nsaddr): New function.
2878         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
2879         statp directly.
2881 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
2883         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
2884         -D_POSIX_C_SOURCE=199506L.
2886         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
2888         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
2889         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
2890         Do not mention otherwise.
2891         [POSIX] (_XOPEN_VERSION): Do not expect.
2892         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
2893         [POSIX] (_POSIX2_C_BIND): Likewise.
2894         [POSIX] (_POSIX2_VERSION): Likewise.
2895         [POSIX] (_XOPEN_XPG2): Likewise.
2896         [POSIX] (_XOPEN_XPG3): Likewise.
2897         [POSIX] (_XOPEN_XPG4): Likewise.
2898         [POSIX] (_XOPEN_UNIX): Likewise.
2899         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
2900         [POSIX] (_POSIX_BARRIERS): Likewise.
2901         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
2902         [POSIX] (_POSIX_CPUTIME): Likewise.
2903         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
2904         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
2905         [POSIX] (_POSIX_SHELL): Likewise.
2906         [POSIX] (_POSIX_SPAWN): Likewise.
2907         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
2908         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
2909         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
2910         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
2911         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
2912         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
2913         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
2914         [POSIX] (_XBS5_LP64_OFF64): Likewise.
2915         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
2916         [POSIX] (_POSIX_TIMEOUTS): Likewise.
2917         [POSIX] (_POSIX2_PBS): Likewise.
2918         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
2919         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
2920         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
2921         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
2922         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
2923         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
2924         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
2925         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
2926         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
2927         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
2928         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
2929         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
2930         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
2931         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
2932         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
2933         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
2934         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
2935         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
2936         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
2937         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
2938         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
2939         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
2940         [POSIX] (_SC_2_C_BIND): Likewise.
2941         [POSIX] (_SC_2_C_VERSION): Likewise.
2942         [POSIX] (_SC_2_PBS): Likewise.
2943         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
2944         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
2945         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
2946         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
2947         [POSIX] (_SC_2_PBS_TRACK): Likewise.
2948         [POSIX] (_SC_ATEXIT_MAX): Likewise.
2949         [POSIX] (_SC_BARRIERS): Likewise.
2950         [POSIX] (_SC_BASE): Likewise.
2951         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
2952         [POSIX] (_SC_DEVICE_IO): Likewise.
2953         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
2954         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
2955         [POSIX] (_SC_FD_MGMT): Likewise.
2956         [POSIX] (_SC_FIFO): Likewise.
2957         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
2958         [POSIX] (_SC_FILE_LOCKING): Likewise.
2959         [POSIX] (_SC_FILE_SYSTEM): Likewise.
2960         [POSIX] (_SC_IOV_MAX): Likewise.
2961         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
2962         [POSIX] (_SC_NETWORKING): Likewise.
2963         [POSIX] (_SC_PAGE_SIZE): Likewise.
2964         [POSIX] (_SC_PASS_MAX): Likewise.
2965         [POSIX] (_SC_PIPE): Likewise.
2966         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
2967         [POSIX] (_SC_REGEXP): Likewise.
2968         [POSIX] (_SC_SHELL): Likewise.
2969         [POSIX] (_SC_SIGNALS): Likewise.
2970         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
2971         [POSIX] (_SC_SPIN_LOCKS): Likewise.
2972         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
2973         [POSIX] (_SC_USER_GROUPS): Likewise.
2974         [POSIX] (_SC_USER_GROUPS_R): Likewise.
2975         [POSIX] (_SC_STREAMS): Likewise.
2976         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
2977         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
2978         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
2979         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
2980         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
2981         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
2982         [POSIX] (_PC_FILESIZEBITS): Likewise.
2983         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
2984         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
2985         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
2986         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
2987         [POSIX] (uid_t): Likewise.
2988         [POSIX] (gid_t): Likewise.
2989         [POSIX] (off_t): Likewise.
2990         [POSIX] (pid_t): Likewise.
2991         [POSIX] (cuserid): Allow.
2992         (_SC_2_CHAR_TERM): Require constant.
2993         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
2994         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
2995         variable.
2997 2015-05-20  Roland McGrath  <roland@hack.frob.com>
2999         * sysdeps/nacl/pthread-pids.h: New file.
3000         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
3001         (create_thread): Use __nacl_get_tid to initialize PD->tid.
3003         * nptl/pthread-pids.h: New file.
3004         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
3005         * nptl/nptl-init.c: Include <pthread-pids.h>.
3006         (__pthread_initialize_minimal_internal):
3007         Call __pthread_initialize_pids instead of set_tid_address syscall.
3009         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
3010         * sysdeps/posix/usleep.c: ... here.
3012 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3014         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
3015         call_pselect6 object.
3016         [$(subdir) = io]: Remove call_sync_file_range object.
3017         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
3018         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
3019         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
3020         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
3022 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
3024         * math/s_cproj.c: Add include "math_private.h".
3025         * math/s_cprojf.c: Likewise.
3026         * math/s_cprojl.c: Likewise.
3028 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
3030         [BZ #18244]
3031         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
3032         high mantissa bit when testing whether P is a NaN.
3033         * math/libm-test.inc (remainder_test_data): Add more tests.
3034         (remquo_test_data): Likewise.
3036         [BZ #18049]
3037         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
3038         below -32, return the argument, with underflow if subnormal.
3039         * math/auto-libm-test-in: Add more tests of atanh.
3040         * math/auto-libm-test-out: Regenerated.
3042 2015-05-19  Roland McGrath  <roland@hack.frob.com>
3044         [BZ #18434]
3045         * nptl/tst-sem15.c: New file.
3046         * nptl/Makefile (tests): Add it.
3047         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
3048         s/<</>>/ to fix typo in EOVERFLOW check.
3049         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
3051 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3053         * manual/strings.texi (envz_remove): Fix typo in safety
3054         annotations.
3056 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
3057             Steve Ellcey  <sellcey@imgtec.com>
3059         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
3060         in order to avoid strict alias warnings.
3061         (iruserok_af): Ditto for ra.
3063 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
3065         [BZ #17581]
3066         * malloc/hooks.c
3067         (magicbyte): Convert to a function and avoid returning 0x01.
3068         (mem2mem_check): Avoid using a length byte equal to the magic byte.
3069         (mem2chunk_check): Fix unsigned comparisons to zero.
3070         Hoist defs of sz and magic.
3072 2015-05-19  Richard Henderson  <rth@redhat.com>
3074         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
3076         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3078 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3080         [BZ #16159]
3081         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
3082         * malloc/arena.c (arena_lock): Check if arena is corrupt.
3083         (reused_arena): Find a non-corrupt arena.
3084         (heap_trim): Pass arena to unlink.
3085         * malloc/hooks.c (malloc_check_get_size): Pass arena to
3086         malloc_printerr.
3087         (top_check): Likewise.
3088         (free_check): Likewise.
3089         (realloc_check): Likewise.
3090         * malloc/malloc.c (malloc_printerr): Add arena argument.
3091         (unlink): Likewise.
3092         (munmap_chunk): Adjust.
3093         (ARENA_CORRUPTION_BIT): New macro.
3094         (arena_is_corrupt): Likewise.
3095         (set_arena_corrupt): Likewise.
3096         (sysmalloc): Use mmap if there are no usable arenas.
3097         (_int_malloc): Likewise.
3098         (__libc_malloc): Don't fail if arena_get returns NULL.
3099         (_mid_memalign): Likewise.
3100         (__libc_calloc): Likewise.
3101         (__libc_realloc): Adjust for additional argument to
3102         malloc_printerr.
3103         (_int_free): Likewise.
3104         (malloc_consolidate): Likewise.
3105         (_int_realloc): Likewise.
3106         (_int_memalign): Don't touch corrupt arenas.
3107         * malloc/tst-malloc-backtrace.c: New test case.
3109         * Makefile (summarize-tests): Fix return value on success.
3111         * manual/string.texi (Envz Functions): Add envz_remove.
3113 2015-05-18  Roland McGrath  <roland@hack.frob.com>
3115         * sysdeps/posix/opendir.c: Include <stdbool.h>.
3116         (invalid_name): New function, broken out of ...
3117         (__opendirat): ... here.  Call it.
3118         (need_isdir_precheck): New function, broken out of ...
3119         (__opendirat): ... here.  Call it.
3120         Use __fxstatat64, not __xstatat64.
3121         (opendir_oflags): New function, broken out of ...
3122         (__opendirat): ... here.  Call it.
3123         (opendir_tail): New function, broken out of ...
3124         (__opendirat): ... here.  Call it.
3125         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
3126         opendir_tail, rather than punting to __opendirat.
3127         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
3129 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3131         * .gitignore: Ignore generated *.pyc.
3133 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
3135         * include/stdio.h: Define __need_wint_t.
3136         * test-skeleton.c: Avoid `for' loop initial declaration.
3137         * nptl/tst-initializers1.c: Use test-skeleton.c.
3139 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3141         [BZ #18418]
3142         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
3144 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3146         [BZ #16352]
3147         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
3148         (__ieee754_atanh): Force underflow exception for results with
3149         small absolute value.
3150         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
3151         (__ieee754_atanhf): Force underflow exception for results with
3152         small absolute value.
3153         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
3154         (__ieee754_atanh): Force underflow exception for results with
3155         small absolute value.
3156         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
3157         (__ieee754_atanhf): Force underflow exception for results with
3158         small absolute value.
3159         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
3160         (__ieee754_atanhl): Force underflow exception for results with
3161         small absolute value.
3162         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
3163         (__ieee754_atanhl): Force underflow exception for results with
3164         small absolute value.
3165         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
3166         (__ieee754_atanhl): Force underflow exception for results with
3167         small absolute value.
3168         * math/auto-libm-test-in: Do not allow missing underflow
3169         exceptions from atanh.
3170         * math/auto-libm-test-out: Regenerated.
3172         [BZ #18221]
3173         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
3174         2**-28 as threshold for returning x or +/- 1/x.
3175         * math/auto-libm-test-in: Add more tests of tan.
3176         * math/auto-libm-test-out: Regenerated.
3178         [BZ #18220]
3179         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3180         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
3181         * math/auto-libm-test-in: Add another test of lgamma.
3182         * math/auto-libm-test-out: Regenerated.
3184 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
3186         * stdio-common/printf_fp.c (___printf_fp): Use abs.
3187         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
3188         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
3189         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
3190         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
3191         (ADD2A): Use fabs.  (SUB2A): Use fabs.
3192         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
3193         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
3194         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
3195         (log1): Use fabs.  (my_log2): Use fabs.
3196         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
3197         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
3198         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
3199         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
3200         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
3201         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
3202         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
3203         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
3204         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
3205         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
3206         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
3208 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
3210         [BZ #18217]
3211         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
3212         as threshold for returning 1 - x.
3213         * math/auto-libm-test-in: Add more tests of erfc.
3214         * math/auto-libm-test-out: Regenerated.
3216 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
3218         [BZ #18196]
3219         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
3220         threshold for large arguments.
3221         * math/auto-libm-test-in: Add another test of atan.
3222         * math/auto-libm-test-out: Regenerated.
3224         [BZ #16339]
3225         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
3226         (__log1p): Force underflow exception for results with small
3227         absolute value.
3228         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
3229         (__log1pf): Force underflow exception for results with small
3230         absolute value.
3231         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
3232         (__log1p): Force underflow exception for results with small
3233         absolute value.
3234         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
3235         (__log1pf): Force underflow exception for results with small
3236         absolute value.
3237         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
3238         (__log1pl): Force underflow exception for results with small
3239         absolute value.
3240         * math/auto-libm-test-in: Do not allow missing underflow
3241         exceptions from log1p.
3242         * math/auto-libm-test-out: Regenerated.
3244 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
3245             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3247         [BZ #16704]
3248         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
3250 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
3252         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
3253         (libmvec): New variable.
3254         * configure.ac: Added option for mathvec build.
3255         * configure: Regenerated.
3256         * mathvec/Depend: New file.
3257         * mathvec/Makefile: New file.
3258         * shlib-versions: Added libmvec.
3259         * math/Makefile: Added rule for libm.so installation.
3261         * bits/math-vector.h: New file.
3262         * bits/libm-simd-decl-stubs.h: New header.
3263         * math/Makefile (headers): Added new header
3264         libm-simd-decl-stubs.h.
3265         * math/math.h (__MATHCALL_VEC): New macro.
3267         * math/gen-libm-have-vector-test.sh: Script generates series of macros
3268         for conditions in testing functions.
3269         * math/Makefile: Added call of libm-have-vector-test.sh.
3270         * math/libm-test.inc (HAVE_VECTOR): New macros.
3272         * math/libm-test.inc: START refactored.
3273         * math/test-double.c (TEST_MATHVEC): Add define.
3274         * math/test-float.c: Likewise.
3275         * math/test-idouble.c: Likewise.
3276         * math/test-ifloat.c: Likewise.
3277         * math/test-ildoubl.c: Likewise.
3278         * math/test-ldouble.c: Likewise.
3279         * sysdeps/generic/math-tests-arch.h
3280         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
3281         architecture check.
3283         * math/test-double.c (FUNC_TEST): New macro.
3284         * math/test-float.c: Likewise.
3285         * math/test-idouble.c: Likewise.
3286         * math/test-ifloat.c: Likewise.
3287         * math/test-ildoubl.c: Likewise.
3288         * math/test-ldouble.c: Likewise.
3289         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
3291 2015-05-13  Roland McGrath  <roland@hack.frob.com>
3293         * sysdeps/nacl/fdopendir.c: New file.
3295         * dirent/scandir-tail.c: New file.
3296         * dirent/scandir64-tail.c: New file.
3297         * dirent/Makefile (routines): Add them.
3298         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
3299         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
3300         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
3301         [!SCANDIR] (SCANDIR_TAIL): New macro.
3302         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
3303         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
3304         (SCANDIRAT): Macro removed.
3305         (SCANDIR_TAIL): New macro.
3306         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
3307         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
3308         (SCANDIRAT): Just call __opendirat and __scandir_tail.
3309         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
3310         (READDIR): Macro removed.
3311         (SCANDIR_TAIL): New macro.
3312         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
3313         (SCANDIR_TAIL): New macro.
3315         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
3316         * dirent/scandir-cancel.c: ... to this new file.
3317         * dirent/Makefile (routines): Add it.
3318         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
3319         * sysdeps/unix/sysv/linux/i386/scandir64.c
3320         (SKIP_SCANDIR_CANCEL): Macro removed.
3321         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
3323         * dirent/tst-scandir.c: New file.
3324         * dirent/tst-scandir64.c: New file.
3325         * dirent/Makefile (tests): Add them.
3327 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
3329         [BZ #18409]
3330         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
3332 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3334         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
3335         list.
3337 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
3339         * benchtests/bench-strcoll.c: New benchmark.
3340         * benchtests/Makefile: Generate locales and run benchmark.
3341         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
3342         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
3343         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
3344         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
3345         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
3346         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
3347         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
3348         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
3349         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
3350         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
3351         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
3352         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
3353         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
3354         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
3355         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
3356         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
3357         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
3358         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
3359         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
3360         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
3361         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
3362         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
3363         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
3364         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
3366 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
3368         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
3369         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3371 2015-05-12  Roland McGrath  <roland@hack.frob.com>
3373         * posix/uname-values.h: New file.
3374         * posix/uname.c: Include that instead of <config-name.h>.
3375         * sysdeps/nacl/uname-values.h: New file.
3376         * sysdeps/arm/nacl/uname-values.h: New file.
3378 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
3380         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
3381         splitting into fields.
3383 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
3385         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
3386         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
3387         * locale/localeinfo.h: Add enum collation_encoding_type.
3388         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
3389         * programs/ld-collate.c (collate_output): Add encoding type info.
3390         * string/strcoll_l.c (STRDIFF): New function.
3391         * (STRCOLL): Use STRDIFF to skip over equal prefix.
3392         * wcsmbs/wcscoll_l.c: Define STRDIFF.
3394 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
3396         [BZ #18397]
3397         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
3398         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
3399         <fpu_control.h> instead of <math/fpu_control.c>.
3400         * sysdeps/mips/mips32/fpu/Makefile: New file.
3402 2015-05-11  Andreas Schwab  <schwab@suse.de>
3404         [BZ #18007]
3405         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
3406         nss_endgrent.
3407         (_nss_compat_endgrent): Call nss_endgrent.
3408         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
3409         nss_endpwent.
3410         (_nss_compat_endpwent): Call nss_endpwent.
3411         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
3412         needent, call nss_setspent only if non-zero.
3413         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
3414         (internal_endspent): Don't call nss_endspent.
3415         (_nss_compat_endspent): Call nss_endspent.
3416         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
3417         Remove.  All uses removed.
3418         (internal_setent): Remove parameter stayopen, add parameter
3419         stream.  Use it instead of global variable.
3420         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
3421         (internal_endent, internal_getent): Add parameter stream.  Use it
3422         instead of global variable.
3423         (CONCAT(_nss_files_end,ENTNAME))
3424         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
3425         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
3426         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
3427         uses removed.
3428         (internal_setent, internal_endent): Add parameter stream.  Use it
3429         instead of global variable.
3430         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
3431         stream.
3432         (get_next_alias): Add parameter stream.
3433         (_nss_files_getaliasent_r): Pass global stream.
3434         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
3435         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
3436         (_nss_files_gethostbyname4_r): Pass local stream to
3437         internal_setent, internal_getent and internal_endent.  Remove
3438         locking.
3440 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3442         * tst-strfmon1.c (tests): Update expected currency symbol.
3444 2015-05-08  Roland McGrath  <roland@hack.frob.com>
3446         * sysdeps/nacl/gethostname.c: New file.
3448 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
3450         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
3451         and sinh.
3452         * math/auto-libm-test-out: Regenerated.
3453         * sysdeps/i386/fpu/libm-test-ulps: Update.
3454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3456 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
3458         [BZ #18125]
3459         * stdlib/tst-setcontext3.c: New file.
3460         * stdlib/tst-setcontext3.sh: New file.
3461         * stdlib/Makefile (tests): Add tst-setcontext3.
3462         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
3463         to verify test program created output file.
3464         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
3465         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
3466         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
3467         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
3469 2015-05-06  Roland McGrath  <roland@hack.frob.com>
3471         [BZ #18383]
3472         * elf/tst-tlsalign.c: New file.
3473         * elf/tst-tlsalign-static.c: New file.
3474         * elf/tst-tlsalign-lib.c: New file.
3475         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
3476         (tests-static): Add tst-tlsalign-static.
3477         (modules-names): Add tst-tlsalign-lib.
3478         (test-xfail-tst-tlsalign): New variable.
3479         (test-xfail-tst-tlsalign-static): New variable.
3481         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
3482         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
3484 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
3486         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
3487         csqrt, erfc, sin and sincos.
3488         * math/auto-libm-test-out: Regenerated.
3489         * sysdeps/i386/fpu/libm-test-ulps: Update.
3490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3492 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3494         * sysdeps/aarch64/libm-test-ulps: Update.
3496 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
3498         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
3499         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
3500         * math/auto-libm-test-out: Regenerated.
3501         * sysdeps/i386/fpu/libm-test-ulps: Update.
3502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3504 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
3506         [BZ #18265]
3507         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
3508         (wcsncpy): Likewise.
3510 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3512         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3513         Assume __ASSUME_FALLOCATE is always true.
3514         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3515         (__posix_fallocate64_l64): Likweise.
3516         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
3517         (posix_fallocate): Likewise.
3518         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
3519         (__posix_fallocate64_l64): Likewise.
3520         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3521         [!__ASSUME_FALLOCATE]: Add comment.
3523 2015-05-05  Florian Weimer  <fweimer@redhat.com>
3525         * sysdeps/unix/sysv/linux/i386/Makefile
3526         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
3527         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
3528         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
3529         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
3530         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
3531         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
3532         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
3534 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
3536         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
3537         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
3538         tgamma.
3539         * math/auto-libm-test-out: Regenerated.
3540         * sysdeps/i386/fpu/libm-test-ulps: Update.
3541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3543 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3545         * math/auto-libm-test-in: Add more tests of tgamma.
3546         * math/auto-libm-test-out: Regenerated.
3547         * sysdeps/i386/fpu/libm-test-ulps: Update.
3548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3550         * math/auto-libm-test-in: Add more tests of tanh.
3551         * math/auto-libm-test-out: Regenerated.
3552         * sysdeps/i386/fpu/libm-test-ulps: Update.
3553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3555         * math/auto-libm-test-in: Add more tests of tan.
3556         * math/auto-libm-test-out: Regenerated.
3557         * sysdeps/i386/fpu/libm-test-ulps: Update.
3558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3560         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
3561         * math/auto-libm-test-out: Regenerated.
3562         * sysdeps/i386/fpu/libm-test-ulps: Update.
3563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3565         * math/auto-libm-test-in: Add another test of pow.
3566         * math/auto-libm-test-out: Regenerated.
3567         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3569         * math/auto-libm-test-in: Add more tests of lgamma.
3570         * math/auto-libm-test-out: Regenerated.
3571         * sysdeps/i386/fpu/libm-test-ulps: Update.
3572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3574         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
3575         log1p.
3576         * math/auto-libm-test-out: Regenerated.
3577         * sysdeps/i386/fpu/libm-test-ulps: Update.
3578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3580 2015-05-01  Mark Wielaard  <mjw@redhat.com>
3582         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
3583         Elf64_Chdr structs and ELFCOMPRESS constants.
3585 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
3587         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
3588         expm1.
3589         * math/auto-libm-test-out: Regenerated.
3590         * sysdeps/i386/fpu/libm-test-ulps: Update.
3591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3593         * math/auto-libm-test-in: Add more tests of erf and erfc.
3594         * math/auto-libm-test-out: Regenerated.
3595         * sysdeps/i386/fpu/libm-test-ulps: Update.
3596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3598 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3600         * config.h.in (HAVE_AARCH64_BE): Add.
3602 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
3604         * math/auto-libm-test-in: Add more tests of csqrt.
3605         * math/auto-libm-test-out: Regenerated.
3606         * sysdeps/i386/fpu/libm-test-ulps: Update.
3607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3609         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3610         * math/auto-libm-test-out: Regenerated.
3611         * sysdeps/i386/fpu/libm-test-ulps: Update.
3612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3614         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
3616 2015-04-29  Roland McGrath  <roland@hack.frob.com>
3618         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
3619         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
3621         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
3622         (euidaccess, eaccess): Define as weak aliases.
3624         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
3625         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
3626         but __suseconds_t is often 'long int' so some sources assume that
3627         type is being used (e.g. they use %ld to print tv_usec).
3629 2015-04-29  Florian Weimer  <fweimer@redhat.com>
3631         [BZ #18007]
3632         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
3633         (CVE-2014-8121)
3634         * nss/tst-nss-getpwent.c: New file.
3635         * nss/Makefile (tests): Add new test.
3637 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
3639         [BZ #18346]
3640         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
3641         exponents less than 48 as cases where high part of mantissa needs
3642         examining to determine whether argument is integral.
3643         * math/libm-test.inc (round_test_data): Add more tests.
3645 2015-04-28  Mark Wielaard  <mjw@redhat.com>
3647         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
3649 2015-04-27  David S. Miller  <davem@davemloft.net>
3651         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
3652         __tls_get_addr.
3653         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3655 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
3657         [BZ#18333]
3658         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
3660 2015-04-27  Florian Weimer  <fweimer@redhat.com>
3662         [BZ#18333]
3663         * time/tzset.c (parse_tzname): Return error on memory allocation
3664         failure.
3665         * test-skeleton.c (struct temp_name_list): Change type of name
3666         member to non-const.
3667         (add_temp_file): Create a copy of the file name.
3668         (delete_temp_files): Deallocate memory.
3669         (create_temp_file): Add comment.
3671 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3673         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
3674         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
3676 2015-04-24  Roland McGrath  <roland@hack.frob.com>
3678         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
3679         * sysdeps/arm/configure: Regenerated.
3681 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3683         [BZ #17715]
3684         * time/tzfile.c (__tzfile_read): Check for large values of
3685         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
3686         * time/tzset.c (__tzstring_len): New function, based on the old
3687         __tzstring function.
3688         (__tzstring): Call __tzstring_len.
3689         (parse_tzname): New helper function extracted from
3690         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
3691         the input string.
3692         (parse_offset): New helper function extracted from
3693         __tzset_parse_tz.  Replace switch with fallthrough with
3694         initialization before sscanf.
3695         (parse_rule): Likewise.
3696         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
3697         new-style function definition.
3698         * timezone/Makefile (tests): Add tst-tzset.
3699         (tst-tzset.out): Dependencies on time zone files.
3700         (tst-tzset-ENV): Set TZDIR.
3701         (testdata/XT%): Copy crafted time zone files.
3702         * timezone/README: Mention crafted time zone files.
3703         * timezone/testdata/XT1, timezone/testdata/XT2,
3704         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
3705         files.
3706         * timezone/tst-tzset.c: New test.
3708 2015-04-24  Florian Weimer  <fweimer@redhat.com>
3710         * Makeconfig (+gccwarn): Remove -Winline.
3712 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3714         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
3716 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3718         * NEWS: Mention sysconf() cache information support for s390.
3719         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
3721 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
3723         * math/k_casinh.c (__kernel_casinh): Use __copysign.
3724         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
3725         (__nearbyint): Likewise.
3726         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
3727         (copysignl): Likewise.
3729 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
3731         [BZ #18287]
3732         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
3733         based on padding.  (CVE-2015-1781)
3735 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3737         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
3738         libc-vdso.h.
3739         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
3740         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
3741         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
3742         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
3743         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
3744         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
3745         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
3746         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
3747         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3748         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
3749         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
3750         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
3751         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
3752         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
3753         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
3754         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
3755         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
3756         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
3757         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
3758         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
3759         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
3760         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
3761         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
3763 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
3765         * stdlib/setenv.c (__add_to_environ):
3766         Dump core quickly if setenv (..., NULL, ...) is called.
3767         This time, do it the right way, and pacify GCC with a pragma.
3769 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3771         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
3772         IMAP->l_prev cannot be null, and #if out the code for the contrary
3773         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
3774         believe that NS (&_dl_ns[NSID]) could point outside the array.
3776         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
3777         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
3778         before using NSID as an index.
3780 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
3782         [BZ #17825]
3783         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
3784         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
3785         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
3787 2015-04-17  Roland McGrath  <roland@hack.frob.com>
3789         Add preliminary port to Google Native Client on ARM.
3790         * abi-tags (.*-.*-nacl.*): New entry.
3791         * sysdeps/arm/nacl: New directory.
3792         * sysdeps/nacl: New directory.
3794 2015-04-16  David S. Miller  <davem@davemloft.net>
3796         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
3797         lowlevellock-futex.h
3799 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
3801         * sysdeps/tile/configure.ac: New file.
3802         * sysdeps/tile/configure: Regenerated.
3804 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3806         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
3807         conditionals for weak_alias and libc_hidden_weak.
3808         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
3809         libc_hidden_weak and weak_alias.
3810         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
3811         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
3812         and weak_alias for static one.
3814 2015-04-15  David S. Miller  <davem@davemloft.net>
3816         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3818 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3820         [BZ #18206]
3821         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
3822           Use signed comparision instead of substraction to avoid
3823           overflow bug.
3824         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
3825           Take the sign of ret.
3826         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
3827           Do not expect precise return values. Only the sign matters.
3828         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
3829         * wcsmbs/test-wcsncmp.c: New File.
3830         * string/test-strncmp.c: Add wcsncmp support.
3832 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
3834         [BZ #6792]
3835         * math/w_log1p.c: New file.
3836         * math/w_log1pf.c: Likewise.
3837         * math/w_log1pl.c: Likewise.
3838         * math/Makefile (libm-calls): Add w_log1p.
3839         * math/s_log1pl.c (log1pl): Remove weak_alias.
3840         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
3841         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
3842         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
3843         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
3844         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
3845         [NO_LONG_DOUBLE] (log1pl): Likewise.
3846         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
3847         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
3848         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
3849         (log1p): Remove long_double_symbol.
3850         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
3851         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
3852         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
3853         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
3854         remove weak_alias for corresponding log1p function.
3855         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
3856         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
3857         * sysdeps/ia64/fpu/w_log1p.c: New file.
3858         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
3859         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
3860         * math/libm-test.inc (log1p_test_data): Add errno expectations.
3862 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
3864         [BZ #18247]
3865         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
3866         decimal exponent by 1.
3867         * stdlib/tst-strtod-round-data: Add more tests.
3868         * stdlib/tst-strtod-round.c (tests): Regenerated.
3870 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
3872         * math/auto-libm-test-in: Add more tests of clog and clog10.
3873         * math/auto-libm-test-out: Regenerated.
3874         * sysdeps/i386/fpu/libm-test-ulps: Update.
3875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3877 2015-04-09  Roland McGrath  <roland@hack.frob.com>
3879         * Makeconfig (module-cppflags): Exclude all .v.i files.
3880         (skip-module-cppflags): Variable removed.
3882         * configure.ac (libc_config_ok): Initialize before reading
3883         preconfigure scripts, not after.
3884         * configure: Regenerated.
3886         * test-skeleton.c (TIMEOUT): Move #define to top level.
3887         (main): Grok environment variable TEST_DIRECT.  If set, print
3888         test expectation details into that file and then behave as if
3889         given --direct.
3891 2015-04-09  Florian Weimer  <fweimer@redhat.com>
3893         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
3894         warning on 32-bit.
3896 2015-04-08  David S. Miller  <davem@davemloft.net>
3898         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3900 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3902         * math/auto-libm-test-in: Add more tests of atanh.
3903         * math/auto-libm-test-out: Regenerated.
3904         * sysdeps/i386/fpu/libm-test-ulps: Update.
3905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3907         * math/auto-libm-test-in: Add more tests of atan.
3908         * math/auto-libm-test-out: Regenerated.
3909         * sysdeps/i386/fpu/libm-test-ulps: Update.
3910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3912 2015-04-08  Florian Weimer  <fweimer@redhat.com>
3914         * elf/pldd.c (main): Rewrite to use struct
3915         scratch_buffer instead of extend_alloca.
3916         * elf/pldd-xx.c (find_maps): Likewise.
3917         * grp/initgroups.c: Include <scratch_buffer.h> instead of
3918         <alloca.h>.
3919         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
3920         scratch_buffer instead of extend_alloca.
3921         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
3922         grp/compat-initgroups.c.
3923         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
3924         Rewrite to use struct scratch_buffer instead of extend_alloca.
3925         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
3926         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
3928 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
3930         * math/auto-libm-test-in: Add more tests of cbrt.
3931         * math/auto-libm-test-out: Regenerated.
3932         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3934         * math/auto-libm-test-in: Add more tests of cabs.
3935         * math/auto-libm-test-out: Regenerated.
3936         * sysdeps/i386/fpu/libm-test-ulps: Update.
3937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3939         [BZ #18210]
3940         [BZ #18211]
3941         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
3942         (__ieee754_atan2): Set FE_TONEAREST mode for internal
3943         computations.
3944         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
3945         clog10.
3946         * math/auto-libm-test-out: Regenerated.
3947         * sysdeps/i386/fpu/libm-test-ulps: Update.
3948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3950         [BZ #18197]
3951         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
3952         (atan): Set FE_TONEAREST mode for internal computations.
3953         * math/auto-libm-test-in: Add more tests of atan.
3954         * math/auto-libm-test-out: Regenerated.
3956 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
3958         [BZ #17930]
3959         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
3961 2015-04-07  Florian Weimer  <fweimer@redhat.com>
3963         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
3965 2015-04-07  Florian Weimer  <fweimer@redhat.com>
3967         * include/scratch_buffer.h: New file.
3968         * malloc/scratch_buffer_grow.c: Likewise.
3969         * malloc/scratch_buffer_grow_preserve.c: Likewise.
3970         * malloc/scratch_buffer_set_array_size.c: Likewise.
3971         * malloc/tst-scratch_buffer.c: Likewise.
3972         * malloc/Makefile (routines): Add scratch_buffer_grow.
3973         (tests): Add test case.
3974         * malloc/Versions (GLIBC_PRIVATE): Export
3975         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
3976         __libc_scratch_buffer_set_array_size.
3978 2015-04-06  Richard Henderson  <rth@redhat.com>
3980         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
3981         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3983         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
3984         unsigned int before printing.
3986 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3988         [BZ #17596]
3989         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
3990         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3992 2015-04-02  Florian Weimer  <fweimer@redhat.com>
3994         * include/libc-internal.h (libc_max_align_t): Define.
3996 2015-04-02  Andreas Schwab  <schwab@suse.de>
3998         [BZ #16850]
3999         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
4001 2015-04-02  Mel Gorman  <mgorman@suse.de>
4003         [BZ #17195]
4004         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
4005         as well as the main arena.
4007 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4009         [BZ #18185]
4010         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
4011         sharing L2 cache to 2 for Silvermont/Knights Landing.
4013 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4015         [BZ #17711]
4016         * config.make.in (have-protected-data): New.
4017         * configure.ac: Check linker support for protected data symbol.
4018         * configure: Regenerated.
4019         * elf/Makefile (modules-names): Add tst-protected1moda and
4020         tst-protected1modb if $(have-protected-data) is yes.
4021         (tests): Add tst-protected1a and tst-protected1b if
4022         $(have-protected-data) is yes.
4023         ($(objpfx)tst-protected1a): New.
4024         ($(objpfx)tst-protected1b): Likewise.
4025         (tst-protected1modb.so-no-z-defs): Likewise.
4026         * elf/tst-protected1a.c: New file.
4027         * elf/tst-protected1b.c: Likewise.
4028         * elf/tst-protected1mod.h: Likewise.
4029         * elf/tst-protected1moda.c: Likewise.
4030         * elf/tst-protected1modb.c: Likewise.
4032 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
4034         [BZ #17711]
4035         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
4036         indicates it is called from do_lookup_x on relocation against
4037         protected data, skip the data definion in the executable from
4038         copy reloc.
4039         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
4040         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
4041         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
4042         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
4043         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
4044         otherwise to 0.
4045         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4046         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
4047         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
4048         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
4049         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
4050         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
4052 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
4054         * sysdeps/nptl/pthread.h: Remove duplicate definition of
4055         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
4057 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
4059         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
4060         THREAD_SETMEM_NC.
4061         * sysdeps/x86_64/nptl/tls.h: Ditto.
4063 2015-03-27  Roland McGrath  <roland@hack.frob.com>
4065         * dlfcn/tststatic.c (main): Converted to ...
4066         (do_test): ... this.
4067         (TEST_FUNCTION): New macro.
4068         Include test-skeleton.c.
4070 2015-03-26  Alan Modra  <amodra@gmail.com>
4072         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
4073         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
4074         zero for undefined weak.
4075         (elf_machine_plt_conflict): Similarly.
4077 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4079         * math/auto-libm-test-in: Add more tests of acosh, asinh and
4080         atanh.
4081         * math/auto-libm-test-out: Regenerated.
4082         * sysdeps/i386/fpu/libm-test-ulps: Update.
4083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4085         * math/auto-libm-test-in: Add another test of asin.
4086         * math/auto-libm-test-out: Regenerated.
4087         * sysdeps/i386/fpu/libm-test-ulps: Update.
4088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4090         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4091         Remove macro.
4092         (LLL_EBX_REG): Likewise.
4093         (LLL_ENTER_KERNEL): Likewise.
4095         * math/auto-libm-test-in: Add more tests of asin.
4096         * math/auto-libm-test-out: Regenerated.
4097         * sysdeps/i386/fpu/libm-test-ulps: Update.
4098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4100         [BZ #18138]
4101         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
4102         libc_do_syscall_args): New structure.
4103         (INTERNAL_SYSCALL_MAIN_0): New macro.
4104         (INTERNAL_SYSCALL_MAIN_1): Likewise.
4105         (INTERNAL_SYSCALL_MAIN_2): Likewise.
4106         (INTERNAL_SYSCALL_MAIN_3): Likewise.
4107         (INTERNAL_SYSCALL_MAIN_4): Likewise.
4108         (INTERNAL_SYSCALL_MAIN_5): Likewise.
4109         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
4110         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
4111         Replace conditional definitions by conditional definitions of ....
4112         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
4113         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
4114         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
4115         (libpthread-sysdep_routines): Add libc-do-syscall.
4116         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
4117         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
4118         to __NR_futex not 240.
4120 2015-03-25  Alan Modra  <amodra@gmail.com>
4122         * NEWS: Advertise TLS optimization.
4123         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
4124         (DT_PPC_NUM): Increment.
4125         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
4126         (CHECK_STATIC_TLS): Use here.
4127         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
4128         TLS descriptors.
4129         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4130         * sysdeps/powerpc/dl-tls.c: New file.
4131         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
4132         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
4133         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
4134         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
4135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
4136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
4137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
4139 2015-03-25  Alan Modra  <amodra@gmail.com>
4141         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
4142         for overlapping .opd entries" to "support...".
4143         * sysdeps/powerpc/powerpc64/configure: Regenerate
4145 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
4147         * math/auto-libm-test-in: Add more tests of acos.
4148         * math/auto-libm-test-out: Regenerated.
4149         * sysdeps/i386/fpu/libm-test-ulps: Update.
4150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4152         * math/auto-libm-test-in: Add more tests of expm1.
4153         * math/auto-libm-test-out: Regenerated.
4154         * sysdeps/i386/fpu/libm-test-ulps: Update.
4155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4157 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
4159         * math/auto-libm-test-in: Add more tests of cosh and sinh.
4160         * math/auto-libm-test-out: Regenerated.
4161         * sysdeps/i386/fpu/libm-test-ulps: Update.
4162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4164         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4167         * math/auto-libm-test-in: Add more tests of log2.
4168         * math/auto-libm-test-out: Regenerated.
4169         * sysdeps/i386/fpu/libm-test-ulps: Update.
4170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4172 2015-03-23  Roland McGrath  <roland@hack.frob.com>
4174         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
4175         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
4176         _IO_IS_APPENDING bit in READ_WRITE instead.
4178 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4180         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
4181         (__determine_cpumask_size): Replace extend_alloca with a
4182         variable-length array.  Do not treat res == 0 as an error.
4184 2015-03-23  Florian Weimer  <fweimer@redhat.com>
4186         [BZ #18100]
4187         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
4188         and integer overflow.
4189         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
4190         (main): Add integer overflow tests.
4191         * manual/pattern.texi (Calling Wordexp): Document additional use
4192         for WRDE_SYNTAX.
4194 2015-03-23  Alan Modra  <amodra@gmail.com>
4196         * config.h.in: Remove HAVE_ASM_PPC_REL16.
4197         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
4198         and false branch of conditional.
4199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4200         Likewise.
4202 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
4204         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
4205         libc-modules.h
4206         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
4207         unused declaration of _hurd_intr_rpc_msg_in_trap.
4208         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
4209         defined instead of whether it is non-zero.
4210         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
4211         input constraint instead of both input and output constraint.  Use ecx
4212         clobber instead of %ecx.
4213         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
4214         mutex_unlock): Use a statement expression instead of an expression list.
4215         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
4216         type to vm_size_t instead of vm_address_t.
4217         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
4218         defined instead of whether it is non-zero.
4219         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
4220         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
4221         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
4222         comparisons with mapaddr.
4223         * nscd/nscd-client.h: Include <time.h>.
4224         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
4225         9th parameter to __vm_region instead of int.
4226         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
4227         * scripts/check-local-headers.sh (exclude): Add device/,
4228         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
4229         cthreads.h.
4231 2015-03-19  Roland McGrath  <roland@hack.frob.com>
4233         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
4234         to account for alignment padding.
4235         * sysdeps/arm/memmove.S: Likewise.
4237 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
4239         * sysdeps/unix/sysv/linux/generic/README: New file.
4241 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
4243         [BZ #18138]
4244         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
4245         (futex_abstimed_wait)
4246         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
4247         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
4248         of lll_futex_timed_wait.
4250 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
4252         [BZ #17542]
4253         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
4255 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
4257         [BZ #17090]
4258         [BZ #17620]
4259         [BZ #17621]
4260         [BZ #17628]
4261         * NEWS: Update.
4262         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
4263         entries with Static TLS too.  Skip entries past the end of the
4264         allocated DTV, from Alan Modra.
4265         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
4266         Static TLS DTV entry set up from...
4267         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
4268         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
4269         * nptl/allocatestack.c (init_one_static_tls): ... and here...
4270         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
4271         for Static TLS.
4272         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
4273         that the slot we find is associated with the given map before
4274         using its generation count.
4275         * nptl_db/db_info.c: Include ldsodefs.h.
4276         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
4277         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
4278         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
4279         (link_map::l_tls_offset): New struct field.
4280         (dtv_t::counter): Likewise.
4281         (rtld_global): New struct.
4282         (_rtld_global): New rtld variable.
4283         (dl_tls_dtv_slotinfo_list): New rtld global field.
4284         (dtv_slotinfo_list): New struct.
4285         (dtv_slotinfo): Likewise.
4286         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
4287         (td_lookup): Rename to...
4288         (td_mod_lookup): ... this.  Use new mod parameter instead of
4289         LIBPTHREAD_SO.
4290         * nptl_db/td_thr_tlsbase.c: Include link.h.
4291         (dtv_slotinfo_list, dtv_slotinfo): New functions.
4292         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
4293         addresses even if the DTV is out of date or missing them.
4294         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
4295         index zero-length arrays.
4296         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
4297         (td_lookup): Make it a macro implemented in terms of...
4298         (td_mod_lookup): ... this declaration.
4299         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
4300         (DB_MAIN_VARIABLE): Likewise.
4302 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
4304         [BZ #18134]
4305         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4307 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
4309         * stdlib/setenv.c (__add_to_environ): Revert previous change.
4311 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
4313         [BZ #18128]
4314         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
4315         (atomic_add, atomic_increment_and_test)
4316         (atomic_decrement_and_test): Fix 64-bit arithmetic.
4318 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
4320         * stdlib/setenv.c (__add_to_environ):
4321         Dump core quickly if setenv (..., NULL, ...) is called.
4323 2015-03-13  Roland McGrath  <roland@hack.frob.com>
4325         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
4326         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
4327         all the necessary asm magic in one place.
4328         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
4329         using those.
4331 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
4333         [BZ #14906]
4334         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
4335         traced file mtime. Use consistent log message.
4336         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
4337         (register_traced_file): Call install_watches. Always set mtime.
4338         (invalidate_cache): Iterate over all trace files. Call install_watches.
4339         (inotify_check_files): Don't inline. Handle watching parent
4340         directories and configuration file movement in and out.
4341         (handle_inotify_events): New function.
4342         (main_loop_poll): Call handle_inotify_events.
4343         (main_loop_epoll): Likewise.
4344         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
4345         (struct traced_file): Use array of inotify fds. Add parent directory,
4346         and basename.
4347         (struct database_dyn): Remove unused file_mtime.
4348         (init_traced_file): New inline function.
4349         (define_traced_file): New macro.
4350         * nss/nss_db/db-init.c: Use define_traced_file.
4351         (_nss_db_init): Use init_traced_file.
4352         * nss/nss_files/files-init.c: Use define_traced_file.
4353         (_nss_files_init): Use init_traced_file.
4355 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
4357         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
4358         [_LIBC]: Do not include <stdlib.h>.
4359         [!_LIBC] (abort): Remove declaration.
4360         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
4361         _FP_STATIC_ASSERT instead of conditionally calling abort.
4362         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
4363         (_FP_EXTEND_CNAN): Likewise.
4364         (FP_TRUNC): Likewise.
4365         (__FP_CLZ): Likewise.
4366         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
4368 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
4370         * manual/string.texi (XPG basename): Fix prototype.
4372 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4374         [BZ #18080]
4375         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
4376         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4377         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
4378         (__setcontext): Likewise.
4379         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
4380         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
4381         Call rt_sigprocmask syscall one time to set new signal mask
4382         and retrieve the current signal mask instead of two calls.
4383         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
4384         (__swapcontext): Likewise.
4385         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
4386         * stdlib/tst-setcontext2.c: New file.
4388 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
4390         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4392 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
4394         [BZ #18093]
4395         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
4396         the wrong size.
4398 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
4400         [BZ #18043]
4401         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
4403 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4405         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
4406         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
4407         Remove define.
4408         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
4409         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
4410         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
4411         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
4412         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
4413         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
4414         define.
4415         * nptl_db/td_symbol_list.c (td_lookup): Remove
4416         HAVE_ASM_GLOBAL_DOT_NAME code.
4417         * sysdeps/powerpc/powerpc64/configure.ac: Remove
4418         HAVE_ASM_GLOBAL_DOT_NAME check.
4419         * sysdeps/powerpc/powerpc64/configure: Regenerate.
4420         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
4421         (DOT_LABEL): Remove define.
4422         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
4423         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
4424         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
4425         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
4426         (__TLS_GET_ADDR): Likewise.
4427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
4428         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
4430 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
4432         [BZ #18111]
4433         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
4434         (_FPU_SETCW): Initialize cw from fpsr before storing.
4435         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
4436         (fesetexceptflag): Rewrite using fpu_control.h.
4437         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
4439 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
4441         [BZ #18110]
4442         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
4443         asms.
4444         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4446 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
4448         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
4449         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
4450         abort.
4451         (_FP_FMA): Likewise.
4452         (_FP_DIV): Likewise.
4454 2015-03-10  Roland McGrath  <roland@hack.frob.com>
4456         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
4457         with 0 in that case.
4458         * Makefile (summarize-tests): New canned sequence, factored out of
4459         commands for targets tests and xtests.  Display summary lines that
4460         don't start with PASS: or XFAIL: rather than ones that do start with
4461         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
4462         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
4463         do start with ERROR: or FAIL:.
4464         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
4465         (except for [$(build-shared) = yes]).
4466         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
4467         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
4468         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
4469         * nptl/Makefile: Revert 2015-03-04 changes.
4470         [$(CXX) empty] (tests-unsupported): New variable.
4471         * debug/Makefile: Likewise.
4473         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
4474         gnulib file.  Replace __attribute with __attribute__ throughout.
4476 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
4478         * sysdeps/hppa/fpu/libm-test-ulps: Update.
4480 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4482         [BZ #18104]
4483         * math/auto-libm-test-in: Add another test of pow.
4484         * math/auto-libm-test-out: Regenerated.
4486 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4488         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
4489         $(config-cflags-nofma).
4491 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
4493         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
4494         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
4495         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
4496         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
4497         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
4498         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
4499         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
4500         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
4501         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
4502         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
4503         Add comment on closing #endif.
4505 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4507         * posix/wordexp.c (CHAR_IN_SET): New macro.
4508         (parse_param): Use it.
4510 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4512         * sysdeps/powerpc/fpu/libm-test-ulps: update.
4514 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4516         [BZ #18043]
4517         * posix/wordexp.c (parse_param): Fix buffer overflow.
4518         * posix/wordexp-test.c (test_case): Add test case.
4520 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4522         [BZ #18042]
4523         * posix/wordexp.c (parse_backtick): Fix off-by-one.
4524         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
4526 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
4528         [BZ #18043]
4529         * posix/wordexp-test.c (test_case): Add test for BZ #18043
4530         (do_bz18043): Delete.
4531         (at_page_end): New.
4532         (testit): Refactor to have words at the edge of unreadable page.
4534 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
4536         [BZ #16734]
4537         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
4538         Cleanup read-only streams as well.
4539         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
4541 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4543         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
4544         <bits/libc-lockP.h>
4546 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
4548         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
4549         on [__KERNEL__].
4550         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
4551         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
4552         * soft-fp/op-common.h (_FP_DECL): Likewise.
4554 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
4556         * elf/ifuncdep2.c (global): Replace
4557         __attribute__((visibility("protected"))) with
4558         asm (".protected global").
4559         * elf/ifuncmod1.c (global): Likewise.
4560         * elf/ifuncmod5.c (global): Likewise.
4562 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
4564         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
4565         <asm/sfp-machine.h> instead of <sfp-machine.h>.
4567 2015-03-06  Roland McGrath  <roland@hack.frob.com>
4569         * manual/install.texi (Configuring and compiling):
4570         Document test-wrapper-env-only.
4571         * INSTALL: Regenerated.
4573 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
4575         [BZ #18043]
4576         * posix/wordexp.c (parse_param): Fix buffer overflow.
4577         * posix/wordexp-test.c (do_bz18043): Add test case.
4579 2015-03-06  Vincent Bernat  <vincent@bernat.im>
4581         * time/tst-strptime2.c (do_test): Ensure failing tests are
4582         reported correctly.
4583         * time/tst-strptime3.c (do_test): Likewise.
4585 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
4587         Fix aio_error thread-safety.
4588         * sysdeps/pthread/aio_error.c: New file
4589         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
4590         synchronization.
4592 2015-03-06  Florian Weimer  <fweimer@redhat.com>
4594         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
4595         (group_number, vfprintf): Use it.
4596         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
4597         (JUMP, REF): Use it.
4598         (WORK_BUFFER_SIZE): New enum constant.
4599         (process_arg, vfprintf): Use it.
4601 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
4603         * manual/errno.texi (Error Messages): Complete example function
4604         by adding missing #define.
4605         (program_invocation_name): Add statement indicating GNU
4606         extension and reference which header file declares the variable.
4607         (program_invocation_short_name): Likewise.
4609 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
4611         * manual/errno.texi (Error Messages): Delete strerror ISO C89
4612         compatibility note.
4614 2015-03-05  Roland McGrath  <roland@hack.frob.com>
4616         * Makeconfig (test-wrapper-env-only): New variable.
4617         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
4618         then use that with $(test-wrapper-env-only) rather than using
4619         $(test-wrapper-env) $(run-program-env) $($*-ENV).
4621 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
4623         [BZ #18082]
4624         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
4625         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
4626         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
4627         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
4628         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
4629         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
4630         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
4631         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
4632         Likewise.
4633         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
4634         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
4635         Likewise.
4636         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
4637         Likewise.
4638         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
4639         Likewise.
4640         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
4641         Likewise.
4642         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
4643         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
4644         Likewise.
4645         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
4646         Likewise.
4647         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
4648         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
4650 2015-03-04  Roland McGrath  <roland@hack.frob.com>
4652         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
4653         (ETH_ALEN): New macro.
4654         (struct ether_addr): Use it for length of ether_addr_octet.
4656         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
4657         (setdb): Don't call __nss_configure_lookup for "rpc".
4658         (do_test): Don't call test_rpc.
4659         (output_rpcent, test_rpc): Functions moved ...
4660         * sunrpc/test-rpcent.c: ... to this new file.
4661         * sunrpc/Makefile (tests): Add it.
4663         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
4664         __xpg_sigpause.
4665         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
4666         * nptl/tst-signal6.c: Likewise.
4667         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
4668         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
4670         * configure.ac (libc_cv_cxx_link_ok): New check.
4671         Reset CXX to empty if it fails to link.
4672         * configure: Regenerated.
4673         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
4674         bug-atexit3-lib only if $(CXX) is nonempty.
4675         * nptl/Makefile (tests): Likewise for tst-cancel24.
4676         (tests, tests-static): Likewise for tst-cancel24-static.
4677         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
4678         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
4679         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
4680         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
4682 2015-03-04  Andreas Schwab  <schwab@suse.de>
4684         [BZ #17631]
4685         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
4686         for non-GCC compilers.
4687         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4688         Likewise.
4690 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4692         [BZ #17776]
4693         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
4694         integer before bitwise and assembly operations.
4695         (feclearexcept): Likewise.
4696         * math/test-fenvinline.c: New file.
4697         * math/Makefile: Add test-fenvinline test.
4699 2015-03-03  Alan Modra  <amodra@gmail.com>
4701         [BZ #16512]
4702         * scripts/localplt.awk: Strip off symbol version.
4703         * NEWS: Mention bug fix.
4705 2015-03-02  Roland McGrath  <roland@hack.frob.com>
4707         * sysdeps/pthread/timer_routines.c
4708         (timer_free_list, thread_free_list, thread_active_list): Make static.
4710 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
4712         [BZ #17779]
4713         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4714         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4715         Undefine.
4716         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4717         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4718         Likewise.
4719         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4720         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
4721         Likewise.
4723 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
4725         [BZ #18036]
4726         * posix/fnmatch_loop.c (END): Detect invalid pattern.
4727         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
4729 2015-03-02  Andreas Schwab  <schwab@suse.de>
4731         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
4732         variable name.
4734 2015-03-02  Florian Weimer  <fweimer@redhat.com>
4736         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
4737         Return error status.
4739 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
4741         [BZ #15969]
4742         * locale/findlocale.c (_nl_find_locale): Introduce const
4743         version of loc_name and drop unsafe type casts.
4745 2015-02-27  Roland McGrath  <roland@hack.frob.com>
4747         * dlfcn/tststatic2.c (main): Converted to ...
4748         (do_test): ... this.
4749         (TEST_FUNCTION): New macro.
4750         Include test-skeleton.c.
4752 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
4754         [BZ #17711]
4755         * elf/Makefile (tests): Add vismain only if PIE is enabled.
4756         (tests-pie): Add vismain.
4757         (CFLAGS-vismain.c): New.
4758         * elf/vismain.c: Add comments for PIE requirement.
4760 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4762         [BZ #18046]
4763         [BZ #18047]
4764         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
4765         0x1p-56L as threshold for just returning the argument.
4766         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
4767         0x1p-32L as threshold for just returning the argument.
4768         * math/auto-libm-test-in: Add more tests of atanh.
4769         * math/auto-libm-test-out: Regenerated.
4770         * sysdeps/i386/fpu/libm-test-ulps: Update.
4771         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
4773 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4775         * string/bcopy.c (bcopy): Call memmove for performance.
4777 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
4779         * string/bzero.c (__bzero): Call memset for performance.
4781 2015-02-27  John David Anglin  <dave.anglin@bell.net>
4783         [BZ #18068]
4784         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
4785         to 00100000.
4787 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
4789         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
4791 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
4793         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
4794         (__kernel_standard): Use CSTR macro when setting exc.name.
4795         * sysdeps/ieee754/Makefile [$(subdir) = math]
4796         (CFLAGS-k_standard.c): Remove variable.
4798         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
4799         setting p and q from "else if" to "else".
4800         (qzero): Likewise.
4801         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
4802         (qone): Likewise.
4803         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
4804         (qzerof): Likewise.
4805         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
4806         (qonef): Likewise.
4807         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
4808         (qzero): Likewise.
4809         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
4810         (qone): Likewise.
4812         [BZ #18038]
4813         [BZ #18039]
4814         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
4815         return pi/2 for arguments below 0x1p-113L.
4816         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
4817         return pi/2 for arguments below 0x1p-106L.
4818         * math/auto-libm-test-in: Add more tests of acos.
4819         * math/auto-libm-test-out: Regenerated.
4821         [BZ #16351]
4822         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
4823         (MO): New macro.
4824         (__ieee754_asin): Force underflow exception for results with small
4825         absolute value.
4826         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
4827         (MO): New macro.
4828         (__ieee754_asinf): Force underflow exception for results with
4829         small absolute value.
4830         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
4831         (__ieee754_asin): Force underflow exception for results with small
4832         absolute value.
4833         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
4834         (__ieee754_asinf): Force underflow exception for results with
4835         small absolute value.
4836         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
4837         (__ieee754_asinl): Force underflow exception for results with
4838         small absolute value.
4839         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
4840         (__ieee754_asinl): Force underflow exception for results with
4841         small absolute value.
4842         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
4843         (__ieee754_asinl): Force underflow exception for results with
4844         small absolute value.
4845         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
4846         Include <math.h>.
4847         * math/auto-libm-test-in: Do not mark underflow exceptions as
4848         possibly missing for bug 16351.
4849         * math/auto-libm-test-out: Regenerated.
4851         [BZ #18030]
4852         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
4853         of power of 2 down when low part has opposite sign.
4854         * math/libm-test.inc (logb_test_data): Add more tests.
4856 2015-02-26  Andreas Schwab  <schwab@suse.de>
4858         [BZ #18032]
4859         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
4860         over collating symbol inside a bracket expression.  Minor cleanup.
4861         * posix/tst-fnmatch3.c (do_test): Add test case.
4863 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
4865         [BZ #18029]
4866         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
4867         Adjust exponent of power of 2 down when low part has opposite
4868         sign.
4869         * math/libm-test.inc (ilogb_test_data): Add more tests.
4871 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
4873         [BZ #15969]
4874         * locale/findlocale.c (_nl_find_locale): Fix constness error in
4875         the previous change.
4877         [BZ #15969]
4878         * locale/findlocale.c (_nl_find_locale): Retry archive search
4879         after alias expansion.
4881 2015-02-25  Roland McGrath  <roland@hack.frob.com>
4883         * iconv/tst-iconv3.c (main): Converted to ...
4884         (do_test): ... this.
4885         (TEST_FUNCTION): New macro.
4886         Include test-skeleton.c.
4888         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
4889         (convert): Make function static.
4890         (test_unalign): Likewise.  Add const to argument pointee types.
4891         (main): Replace with static function do_test.
4892         Print "Succeeded." only if RET is zero.
4893         (TEST_FUNCTION): New macro.
4894         Include test-skeleton.c.
4896         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
4897         returns a null pointer.
4899 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4901         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
4902         to __memcpy_ppc only for static builds.
4904 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
4906         [BZ #18020]
4907         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
4908         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
4909         * math/auto-libm-test-in: Add more tests of asinh.
4910         * math/auto-libm-test-out: Regenerated.
4911         * sysdeps/i386/fpu/libm-test-ulps: Update.
4912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4914 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
4916         [BZ #15850]
4917         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
4918         and ip6_mtuinfo definitions here.
4919         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
4920         in this define too.  Update comment.
4922 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
4924         * elf/sprof.c (load_shobj): Tweak error message to match others.
4926 2015-02-24  Kevin Easton  <kevin@guarana.org>
4928         [BZ #16145] (partial fix)
4929         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
4930         to reduce lock contention.
4932 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
4934         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
4935         (struct timex): Update time comment.
4936         (ADJ_SETOFFSET): Define.
4938 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
4940         [BZ #18019]
4941         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
4942         2**56 not 2**28 as threshold for log (2x) formula.
4943         * math/auto-libm-test-in: Add more tests of acosh.
4944         * math/auto-libm-test-out: Regenerated.
4945         * sysdeps/i386/fpu/libm-test-ulps: Update.
4946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4948 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
4950         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
4951         parenthesis around the buf assignment.
4952         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
4954 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
4956         [BZ #16783]
4957         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
4958         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
4959         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
4960         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4961         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4962         * math/libm-test.inc (scalb_test_data): Add more tests.
4964 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4966         [BZ #17916]
4967         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
4968         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
4970 2015-02-24  Eric Rannaud  <e@nanocritical.com>
4972         [BZ #17523]
4973         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
4974         * io/bits/fcntl2.h (open): Use it.
4975         (openat): Likewise.
4976         * io/open.c (__libc_open): Likewise.
4977         * io/open64.c (__libc_open64): Likewise.
4978         * io/open64_2.c (__open64_2): Likewise.
4979         * io/open_2.c (__open_2): Likewise.
4980         * io/openat.c (__openat): Likewise.
4981         * io/openat64.c (__openat64): Likewise.
4982         * io/openat64_2.c (__openat64_2): Likewise.
4983         * io/openat_2.c (__openat_2): Likewise.
4984         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
4985         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4986         * sysdeps/posix/open64.c (__libc_open64): Likewise.
4987         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4988         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
4989         (__open_nocancel): Likewise.
4990         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
4991         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
4992         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
4994 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4996         [BZ #14841]
4997         * resolv/gethnamaddr.c (getanswer): Skip logging if
4998         RES_USE_DNSSEC is set.
4999         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5001 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
5003         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5005 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
5007         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5008         201304L, for Unicode 7.
5010 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
5012         [BZ #17836]
5013         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
5014         shared library.  Add gmon-start.os otherwise.
5015         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
5016         $(objpfx)gmon-start.os if builing shared library.
5017         ($(objpfx)g$(static-start-installed-name)): Likewise.
5019 2015-02-23  Andreas Schwab  <schwab@suse.de>
5021         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
5023 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
5025         [BZ #17269]
5026         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
5027         (enlarge_userbuf): Likewise.
5029 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
5031         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
5032         * math/atest-exp.c (TIMEOUT): Adjust to 200.
5033         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
5034         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
5036 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
5038         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
5039         expression inside statement expression.
5041 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5043         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
5044         <sysdeps/nptl/lowlevellock.h> and remove macros and
5045         functions that are now defined there.
5046         (SYS_futex): Remove.
5047         (lll_compare_and_swap): Remove.
5048         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
5050 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
5052         [BZ #17999]
5053         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
5054         instead of scandirat.
5055         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
5056         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
5057         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
5058         __scandirat.
5059         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
5060         (__scandirat): Declare.  Use libc_hidden_proto.
5061         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
5062         Remove variable.
5063         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5065 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5067         [BZ #15319]
5068         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
5069         (MO): New macro.
5070         (__ieee754_atan2): For results with small absolute value, force
5071         underflow exception and remove excess range and precision from
5072         return value.
5073         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
5074         (MO): New macro.
5075         (__ieee754_atan2f): For results with small absolute value, force
5076         underflow exception and remove excess range and precision from
5077         return value.
5078         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
5079         (MO): New macro.
5080         (__atan): For results with small absolute value, force underflow
5081         exception and remove excess range and precision from return value.
5082         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
5083         (MO): New macro.
5084         (__atanf): For results with small absolute value, force underflow
5085         exception and remove excess range and precision from return value.
5086         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
5087         <math.h>.
5088         (__ieee754_atan2): Force underflow exception for results with
5089         small absolute value.
5090         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
5091         <math_private.h>.
5092         (atan): Force underflow exception for results with small absolute
5093         value.
5094         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
5095         (__atanf): Force underflow exception for results with small
5096         absolute value.
5097         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
5098         <math.h>.
5099         (__atanl): Force underflow exception for results with small
5100         absolute value.
5101         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
5102         (__atanl): Force underflow exception for results with small
5103         absolute value.
5104         * sysdeps/x86/fpu/bits/mathinline.h
5105         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
5106         (__ieee754_atan2): Only define inline for long double.
5107         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
5108         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
5109         * math/auto-libm-test-in: Do not mark underflow exceptions as
5110         possibly missing for bug 15319.  Add more tests of atan2.
5111         * math/auto-libm-test-out: Regenerated.
5112         * math/libm-test.inc (casin_test_data): Do not mark underflow
5113         exceptions as possibly missing for bug 15319.
5114         (casinh_test_data): Likewise.
5115         * sysdeps/i386/fpu/libm-test-ulps: Update.
5117 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
5119         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
5120         * sysdeps/mips/bits/endian.h: Fix comments.
5122 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
5124         [BZ #17996]
5125         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
5126         (hdestroy_r): Likewise.
5127         (hsearch_r): Likewise.
5128         (__hcreate_r): Declare and use libc_hidden_proto.
5129         (__hdestroy_r): Likewise.
5130         (__hsearch_r): Likewise.
5131         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
5132         (hcreate): Call __hcreate_r instead of hcreate_r.
5133         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
5134         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
5135         as weak alias of __hcreate_r.
5136         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
5137         __hdestroy_r.
5138         (hsearch_r): Rename to __hsearch_r and define as weak alias of
5139         __hsearch_r.
5140         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
5141         Remove variable.
5142         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5143         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5144         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5145         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5147 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
5149         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
5150         arena_lock into a single arena_get.
5152 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
5154         * dl-reloc.c: Inlucde libc-internal.h.
5155         (_dl_try_allocate_static_tls): Call ALIGN_UP.
5156         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
5157         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
5158         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
5159         (grow_heap): Likewise.
5160         * malloc/malloc.c: Include libc-internal.h.
5161         (do_check_malloc): Call powerof2.
5162         (sysmalloc): Use pagesize. Call ALIGN_UP.
5163         (systrim): Use pagesize.
5164         (mremap_chunk): Use pagesize. Call ALIGN_UP.
5165         (__libc_valloc): Use pagesize.
5166         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
5168 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5170         [BZ #17991]
5171         * include/sys/resource.h (__getrlimit64): Declare.  Use
5172         libc_hidden_proto.
5173         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
5174         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
5175         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
5176         getrlimit64.
5177         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
5178         __getrlimit64.
5179         [!getrlimit64] (getrlimit64): Define as weak alias of
5180         __getrlimit64.  Use libc_hidden_weak.
5181         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
5182         using __getrlimit64 not __new_getrlimit64.
5183         (__GI_getrlimit64): Likewise.
5184         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
5185         Likewise.
5186         (__GI_getrlimit64): Likewise.
5187         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
5188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
5189         (getrlimit): Add __getrlimit64 alias.
5190         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
5191         Likewise.
5192         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
5193         Remove variable.
5194         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5195         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5197 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
5199         * libio/fileops.c: Add missing sys/mman.h
5200         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
5202 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
5204         * manual/math.texi (Errors in Math Functions): Clarify goals
5205         regarding inexact and underflow exceptions.
5207 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5209         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
5210         * sysdeps/mips/memset.S: Ditto.
5212 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
5214         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5216 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5218         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
5219         (__v1longjmp): Remove versioned symbol.
5220         (__v1siglongjmp): Remove alias and versioned symbol.
5221         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
5222         (__v2siglongjmp): Likewise.
5224 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5226         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
5228 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
5230         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
5232 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5234         [BZ #17987]
5235         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
5236         zero result does not depend on the sign resulting from
5237         subtraction.
5238         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5239         Likewise.
5240         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5241         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5242         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5243         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5244         * math/libm-test.inc (remquo_test_data): Add more tests.
5246 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
5248         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
5249         Problem reported by J William Piggott.
5251 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
5253         [BZ #17978]
5254         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
5255         products 4 * y and 2 * y where those would overflow.
5256         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5257         Likewise.
5258         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
5259         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
5260         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
5261         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
5262         * math/libm-test.inc (remquo_test_data): Add more tests.
5264         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
5266         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
5267         [defined _COMPILING_NEWLIB].
5268         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
5269         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
5271         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
5272         [!defined __mips_isa_rev || __mips_isa_rev < 6].
5274 2015-02-16  Torvald Riegel  <triegel@redhat.com>
5276         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
5277         acquired.
5279 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
5281         [BZ #17792]
5282         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
5283         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
5284         HOST_STACK_END_ADDR): Likewise.
5286 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
5288         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
5289         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
5290         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
5292 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5294         * sysdeps/generic/c++-types.data: New file.
5295         * sysdeps/generic/ld.abilist: New file.
5296         * sysdeps/generic/libBrokenLocale.abilist: New file.
5297         * sysdeps/generic/libanl.abilist: New file.
5298         * sysdeps/generic/libc.abilist: New file.
5299         * sysdeps/generic/libcrypt.abilist: New file.
5300         * sysdeps/generic/libdl.abilist: New file.
5301         * sysdeps/generic/libm.abilist: New file.
5302         * sysdeps/generic/libpthread.abilist: New file.
5303         * sysdeps/generic/libresolv.abilist: New file.
5304         * sysdeps/generic/librt.abilist: New file.
5306 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5308         [BZ #17569]
5309         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
5310         Compute absolute value of x as modified by fmod, not original
5311         value of x.
5312         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
5313         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
5314         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
5315         RUN_TEST_ffI_f1_mod8.
5316         (remquo_test_data): Add more tests.
5318 2015-02-13  Roland McGrath  <roland@hack.frob.com>
5320         * sysdeps/init_array/pt-crti.S: New file.
5322 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
5324         [BZ #17967]
5325         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
5326         __builtin_fmaf instead of relying on contraction of a * b + c.
5328 2015-02-12  J William Piggott  <elseifthen@gmx.com>
5330         [BZ #17969]
5331         * manual/time.texi: correct the zoneinfo path in the TZ Variable
5332         node.
5334 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5336         [BZ #17964]
5337         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
5338         __builtin_fma instead of relying on contraction of a * b + c.
5340 2015-02-12  Roland McGrath  <roland@hack.frob.com>
5342         * Makeconfig (ASFLAGS): Add -Werror=undef.
5343         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
5344         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
5345         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
5347         * Makeconfig (after-link): New variable.
5348         (+link-pie, +link-pie-tests): Use it.
5349         (+link-static, +link-static-tests): Likewise.
5350         (+link, +link-tests): Likewise.
5351         * Makerules (build-module, build-module-asneeded): Likewise.
5352         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
5353         Likewise.
5354         * elf/Makefile ($(objpfx)ld.so): Likewise.
5356 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
5358         [BZ #17965]
5359         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
5360         both struct timeval and struct timespec.
5362 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
5364         [BZ #16560]
5365         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
5366         and redefine.
5367         (__ieee754_exp2l): Do not multiply small fractional parts by
5368         M_LN2l.
5369         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
5370         small argument.
5371         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5372         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5373         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
5374         * math/auto-libm-test-in: Add more tests of exp2.
5375         * math/auto-libm-test-out: Regenerated.
5377 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5379         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
5380         unaligned path.
5382 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5384         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
5385         little endian.
5387 2015-02-12  Andreas Schwab  <schwab@suse.de>
5389         [BZ #15790]
5390         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5391         Filter out elision flags from value returned in kind.
5392         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
5393         * nptl/tst-pthread-mutexattr.c: New file.
5395 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5397         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
5398         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
5399         into gnu-gnu, and update comment to refer to abi-tags.
5401 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
5403         [BZ #15467]
5404         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5405         (__sincos): Set errno to EDOM for infinite argument.
5406         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
5407         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
5408         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
5409         (__sincosl): Set errno to EDOM for infinite argument.
5410         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
5411         (__sincosl): Set errno to EDOM for infinite argument.
5412         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
5413         (__sincosl): Set errno to EDOM for infinite argument.
5414         * math/libm-test.inc (sincos_test_data): Test errno setting.
5416 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
5418         * string/strxfrm_l.c: Remove #define STRCMP.
5419         * string/strcoll_l.c: Remove #define STRLEN.
5420         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
5421         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
5423 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
5425         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
5426         * sysdeps/mips/mips32/sfp-machine.h: ... here.
5427         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
5428         * sysdeps/mips/mips64/Makefile: ... here.
5429         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
5430         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
5431         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
5432         * sysdeps/mips/mips64/sfp-machine.h: ... here.
5433         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
5434         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
5435         * sysdeps/mips/mips64/n64/Implies: Likewise.
5437 2015-02-10  Roland McGrath  <roland@hack.frob.com>
5439         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
5440         <sys/time.h>, <string.h>, and <errno.h>.
5441         (dest_offset, dest_address, value, zero): Remove unused variables.
5442         (ldouble): Remove typedef.
5443         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
5444         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
5445         1).  Fix code style.
5446         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
5447         (check): Function removed.
5448         (CHECK): New macro.
5449         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
5450         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
5451         Don't call set_sigaction_FP and remove_sigaction_FP here.
5452         (ldouble_test): Just use 'long double' as macro argument, no need for
5453         the 'ldouble' typedef.
5454         (do_test): Set up SIGFPE handler at start, using plain signal rather
5455         than sigaction.  Fix code style.
5457 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
5459         [BZ #17949]
5460         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
5461         jump label.
5463 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5465         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
5466         * sysdeps/powerpc/powerpc32/configure: Regenerated.
5468         * sysdeps/powerpc/configure.ac: Remove file.
5469         * sysdeps/powerpc/configure: Likewise.
5471         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5472         [sysdep_routines]: Remove wordcopy-power6 object.
5473         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5474         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
5475         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
5476         (__memmove_ppc32): Likewise.
5477         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
5478         file.
5479         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
5480         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
5481         Remove preprocessor.
5483         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
5484         [sysdep_routines]: Remove wide chars objects.
5485         [wcsmbs]: New rule for wide char objects.
5487         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5488         Remove wordcopy-power6 obejct.
5489         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
5490         Use local call for wordcopy and memcpy symbols.
5491         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
5492         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
5493         implementation for loader.
5494         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
5496         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5497         Remove wordcopy-power7 object.
5498         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
5499         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
5500         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
5501         (_wordcopy_fwd_dest_aligned): Likewise.
5502         (_wordcopy_bwd_aligned): Likewise.
5503         (_wordcopy_bwd_dest_aligned): Likewise.
5505         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
5506         Rewrite to call __memmove_ppc instead of include default
5507         implementation.
5509         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5510         Remove wide chars objects.
5511         [wcsmbs]: New rule for wide char objects.
5513 2015-02-09  Andreas Schwab  <schwab@suse.de>
5515         [BZ #17912]
5516         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
5517         in terms of __O_DIRECTORY.
5519 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5521         * time/getdate.c: Include <stdbool.h>.
5522         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
5523         call PTR_MANGLE.
5524         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
5525         PTR_DEMANGLE.
5527 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
5529         Add ersatz _Static_assert on older C hosts
5530         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
5531         pre-C11 C platform that is not known to support _Static_assert.
5533 2015-02-07  Richard Braun  <rbraun@sceen.net>
5535         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
5536         sigstate.
5537         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
5539 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5541         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
5542         priority against unexistent AIO_PRIO_DELTA_MAX.
5543         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
5544         instead of int.
5545         * misc/fchflags.c (fchflags): Likewise.
5546         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
5547         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
5548         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
5549         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
5550         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
5551         Declare macros.
5552         [__USE_MISC] (chflags, fchflags): Declare functions.
5553         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
5554         EINVAL when nfds is greater than FD_SETSIZE.
5555         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
5556         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
5557         45.
5558         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
5559         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
5560         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
5561         MACH_RCV_TIMED_OUT.
5562         * hurd/hurd/signal.h (_hurd_self_sigstate,
5563         _hurd_critical_section_lock, _hurd_critical_section_unlock):
5564         Explicit casts from void *.
5565         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
5566         * abi-tags: Rename gnu-gnu os into gnu.
5568         [BZ #4719]
5569         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
5570         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
5571         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
5572         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
5573         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
5574         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
5576         [BZ #17944]
5577         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
5578         duplicates ADDR->sun_path with sockaddr LEN limitation.
5579         * sysdeps/mach/hurd/connect.c: Include <string.h>
5580         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
5581         * sysdeps/mach/hurd/sendmsg.c: Likewise.
5582         * sysdeps/mach/hurd/sendto.c: Likewise.
5583         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
5584         implementing it by hand.
5586 2015-02-06  Roland McGrath  <roland@hack.frob.com>
5588         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
5589         Use sfi_breg on ldr.
5590         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
5591         Likewise.
5593         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
5594         it's defined.
5595         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
5596         Test SIGSETXID only if it's defined.
5598         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
5600         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
5601         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
5603         * nptl/tst-align2.c: Moved ...
5604         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
5605         * nptl/Makefile (tests): Remove tst-align2.
5606         * sysdeps/unix/sysv/linux/Makefile
5607         [$(subdir) = nptl] (tests): Add tst-align-clone.
5608         * nptl/tst-getpid1.c: Moved ...
5609         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
5610         * nptl/tst-getpid2.c: Moved ...
5611         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
5612         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
5613         * sysdeps/unix/sysv/linux/Makefile
5614         [$(subdir) = nptl] (tests): ... here.
5615         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
5616         * sysdeps/unix/sysv/linux/Makefile
5617         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
5619         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
5620         Drop trailing \n from perror argument.  Use return rather than exit.
5622         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
5623         on [SA_SIGINFO].
5624         * nptl/tst-cancel21.c (do_test): Likewise.
5625         * debug/tst-backtrace6.c: Include <signal.h> first thing.
5626         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
5627         [!SA_SIGINFO]: Make it a stub test.
5629         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
5630         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
5632         * posix/tst-getlogin.c: Move to ...
5633         * login/tst-getlogin.c: ... here.
5634         * posix/Makefile (tests): Move tst-getlogin to ...
5635         * login/Makefile (tests): ... here.
5637         * libio/tst-atime.c (do_test): Move local variables SV and E
5638         inside [ST_NOATIME] conditional.
5640         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
5642         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
5644         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
5645         (wait_code): New function replaces macro.
5646         Call nanosleep rather than syscall.
5648         * nptl/pt-system.c: Rewritten.  Put everything under
5649         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5650         Use IFUNC to redirect when possible.
5652         * nptl/pt-longjmp.c: Rewritten.  Put everything under
5653         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5654         Use IFUNC to redirect when possible.
5656         * nptl/pt-fork.c: Rewritten.  Put everything under
5657         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
5658         Use IFUNC to redirect when possible.
5659         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
5661         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
5662         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
5663         unconditionally nowadays.  This included the only reference to
5664         __vdso_clock_gettime that appears outside libc proper.
5665         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
5666         Remove version set (containing only __vdso_clock_gettime).
5667         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5668         Add attribute_hidden.
5669         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5670         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
5671         libc_hidden_data_def.
5672         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
5673         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5675         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
5676         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
5677         setrpcent, and getrpcport to ...
5678         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
5679         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
5680         getrpcbynumber_r, and getrpcent_r to ...
5681         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
5682         * inet/getrpcbyname.c: Moved ...
5683         * sunrpc/getrpcbyname.c: ... here.
5684         * inet/getrpcbyname_r.c: Moved ...
5685         * sunrpc/getrpcbyname_r.c: ... here.
5686         * inet/getrpcbynumber.c: Moved ...
5687         * sunrpc/getrpcbynumber.c: ... here.
5688         * inet/getrpcbynumber_r.c: Moved ...
5689         * sunrpc/getrpcbynumber_r.c: ... here.
5690         * inet/getrpcent.c: Moved ...
5691         * sunrpc/getrpcent.c: ... here.
5692         * inet/getrpcent_r.c: Moved ...
5693         * sunrpc/getrpcent_r.c: ... here.
5694         * inet/Makefile (routines): Move those to ...
5695         * sunrpc/Makefile (routines): ... here.
5696         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
5697         the $(subdirs) list.
5698         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
5699         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
5700         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
5701         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
5703         * elf/Makefile (routines): Include $(all-dl-routines), not just
5704         $(dl-routines).
5705         (rtld-routines): Likewise.  Use = rather than :=.
5706         * sysdeps/aarch64/Makefile [$(subdir) = elf]
5707         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
5708         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
5709         * sysdeps/arm/Makefile: Likewise.
5710         * sysdeps/i386/Makefile: Likewise.
5711         * sysdeps/x86_64/Makefile: Likewise.
5712         * sysdeps/hppa/Makefile [$(subdir) = elf]
5713         (sysdep_routines, sysdep-rtld-routines): Don't add
5714         $(sysdep-dl-routines) to these.
5715         * sysdeps/ia64/Makefile: Likewise.
5716         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
5717         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
5718         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
5719         Don't add dl-static to these; sysdep-dl-routines alone is enough.
5720         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
5721         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
5722         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
5723         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
5724         * sysdeps/powerpc/Makefile [$(subdir) = elf]
5725         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
5726         these; sysdep-dl-routines alone is enough.
5728 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
5730         [BZ #17932]
5731         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
5732         where multiplication results in zero and third argument is finite
5733         and nonzero.
5734         * math/auto-libm-test-in: Add more tests of fma.
5735         * math/auto-libm-test-out: Regenerated.
5737         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
5738         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
5739         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
5740         (_FP_CMP_EQ): Likewise.
5741         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
5743         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
5744         extra argument CHECK_NAN.  Redefine as wrapper around
5745         _FP_EXTEND_CNAN.
5747 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
5749         * version.h (RELEASE): Set to "stable".
5750         (VERSION): Set to "2.21"
5751         * include/features.h (__GLIBC_MINOR__): Set to 21.
5753         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
5755 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5756             Paul Eggert  <eggert@cs.ucla.edu>
5758         [BZ #16618]
5759         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
5760         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
5761         size in bytes. Store needed elements in wpmax. Use needed size
5762         in bytes for extend_alloca.
5764 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
5766         * manual/install.texi: Latest tested versions are GCC 4.9.2,
5767         binutls 2.25, and texinfo 5.2.
5768         * INSTALL: Regenerate.
5769         * sysdeps/nios2/configure: Regenerate.
5770         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
5771         * manual/contrib.texi: Update.
5772         * po/be.po: Update.
5773         * po/bg.po: Update.
5774         * po/ca.po: Update.
5775         * po/cs.po: Update.
5776         * po/da.po: Update.
5777         * po/de.po: Update.
5778         * po/el.po: Update.
5779         * po/eo.po: Update.
5780         * po/es.po: Update.
5781         * po/fi.po: Update.
5782         * po/fr.po: Update.
5783         * po/gl.po: Update.
5784         * po/hr.po: Update.
5785         * po/hu.po: Update.
5786         * po/ia.po: Update.
5787         * po/id.po: Update.
5788         * po/it.po: Update.
5789         * po/ja.po: Update.
5790         * po/ko.po: Update.
5791         * po/lt.po: Update.
5792         * po/nb.po: Update.
5793         * po/nl.po: Update.
5794         * po/pl.po: Update.
5795         * po/pt_BR.po: Update.
5796         * po/ru.po: Update.
5797         * po/rw.po: Update.
5798         * po/sk.po: Update.
5799         * po/sl.po: Update.
5800         * po/sv.po: Update.
5801         * po/tr.po: Update.
5802         * po/uk.po: Update.
5803         * po/vi.po: Update.
5804         * po/zh_CN.po: Update.
5805         * po/zh_TW.po: Update.
5807         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
5808         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
5809         * sysdeps/hppa/dl-irel.h: Remove #warning.
5810         * sysdeps/hppa/entry.h: Provide prototype for
5811         __canonicalize_funcptr_for_compare and cast argument.
5812         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
5813         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
5814         * sysdeps/hppa/sotruss-lib.c: New file.
5815         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
5816         (atomic_compare_and_exchange_val_acq): Use __typeof__.
5817         (atomic_compare_and_exchange_bool_acq): Likewise.
5818         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
5819         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
5821         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
5822         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
5823         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
5825 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
5827         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
5828         called function in non-PIC case.
5830 2015-01-31  David S. Miller  <davem@davemloft.net>
5832         * sysdeps/sparc/sparc32/bits/atomic.h
5833         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
5834         unlock not after it.
5835         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
5836         volatile register usage warnings from the compiler.
5838         * sysdeps/sparc/nptl/sem_init.c: Delete.
5839         * sysdeps/sparc/nptl/sem_post.c: Delete.
5840         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
5841         * sysdeps/sparc/nptl/sem_wait.c: Delete.
5842         * sysdeps/sparc/sparc32/sem_init.c: New file.
5843         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
5844         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
5845         padding explicitly initialized.
5846         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
5847         padding for in-semaphore spinlock.
5848         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
5849         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
5850         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
5851         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
5852         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
5853         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
5854         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
5855         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
5856         version.
5857         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
5858         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
5860 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
5862         [BZ #17801]
5863         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5864         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
5865         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
5866         New.
5867         (index_AVX_Fast_Unaligned_Load): Likewise.
5868         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
5869         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
5870         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
5871         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
5872         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5873         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
5874         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
5875         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
5876         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
5878 2015-01-29  Andreas Schwab  <schwab@suse.de>
5880         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
5882 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
5884         [BZ #17892]
5885         * nscd/nscd_stat.c (send_stats): Initialize DATA.
5887 2015-01-28  Martin Sebor  <msebor@redhat.com>
5889         * math/README.libm-test: Clarify. Add "How to read the test output."
5891 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
5893         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
5894         Define to 0.
5896 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
5898         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
5899         (__HAVE_64B_ATOMICS): Define to 0.
5901 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5903         [BZ #17885]
5904         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
5905         value to set as new flag.
5907         [BZ #16576]
5908         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
5909         and use _ARCH_PPCSQ instead.
5910         (__ieee754_sqrt): Likewise.
5911         (__ieee754_sqrtf): Likewise.
5912         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
5913         _ARCH_PPCSQ is defined.
5914         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
5915         fsqrt instruction.
5916         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
5917         _ARCH_PPCSQ is defined.
5918         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
5919         fsqrts instruction.
5920         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
5922 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5924         * iconv/loop.c: Suppress array out of bound warning caused by GCC
5925         bug (GCC BZ #64739).
5927 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
5929         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
5930         Mark _retval as used.
5931         (lll_futex_wake_unlock): Likewise.
5932         (lll_futex_timed_wait_requeue_pi): Likewise.
5934         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5935         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
5936         register variables.
5938         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
5939         libm_hidden_def.
5941         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
5942         (__bswap_64): Mark as __always_inline.
5944 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
5946         [BZ #15378]
5947         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
5948         when none of the search directories exist.
5950 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
5952         [BZ #17869]
5953         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
5954         power8 in .machine directive.
5956         [BZ #17868]
5957         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
5958         set dependency from opd value.
5960 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
5962         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5963         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
5964         architecture.
5966 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
5968         [BZ #17870]
5969         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
5970         with uint64_t.
5971         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
5972         (uint64_t) 1.
5973         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
5974         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
5975         Replace 1UL with (uint64_t) 1.
5976         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
5977         int with uint64_t.
5979 2015-01-23  Roland McGrath  <roland@hack.frob.com>
5981         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
5982         (if_freenameindex): Likewise.
5984         * resource/getrlimit64.c: Add missing libc_hidden_def.
5986 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
5988         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
5989         __label__.
5990         (_FP_FMA): Likewise.
5991         (_FP_TO_INT_ROUND): Likewise.
5992         (_FP_FROM_INT): Likewise.
5994 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5996         [BZ #16418]
5997         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
5998         Make code racy and cancel safe.
6000 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
6002         * sysdeps/arm/unwind-resume.h: Fix copyright year.
6003         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
6004         attribution.
6006         * pwd/tst-getpw.c: Rewrite.
6008         [BZ #17702]
6009         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
6010         (modules-names): Add moddummy1 and moddummy2.
6011         ($(objpfx)tst-rec-dlopen): Define.
6012         * dlfcn/moddummy1.c: New file.
6013         * dlfcn/moddummy2.c: New file.
6014         * dlfcn/tst-rec-dlopen.c: New file.
6015         * elf/dl-cache.c (_dl_load_cache_lookup):
6016         Return char*. Copy result with alloca/strcpy/strdup.
6017         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
6018         returns char*. Free cached. If not saving realname
6019         free cached.
6020         * elf/dl-open.c (dl_open_worker): Do not assert that
6021         _r_debug->r_state is RT_CONSISTENT.
6022         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
6023         returns char*.
6025 2015-01-21  Torvald Riegel  <triegel@redhat.com>
6026             Carlos O'Donell  <carlos@redhat.com>
6028         [BZ #12674]
6029         * nptl/sem_waitcommon.c: New file.
6030         * nptl/sem_wait.c: Include sem_waitcommon.c.
6031         (__sem_wait_cleanup, do_futex_wait): Remove.
6032         (__new_sem_wait): Adapt.
6033         (__new_sem_trywait): New function.
6034         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
6035         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
6036         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
6037         (sem_timedwait): Adapt.
6038         * nptl/sem_post.c (__new_sem_post): Adapt.
6039         (futex_wake): New function.
6040         (__old_sem_post): Add release MO fence.
6041         * nptl/sem_open.c (sem_open): Adapt.
6042         * nptl/sem_init.c (__new_sem_init): Adapt.
6043         (futex_private_if_supported): New function.
6044         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
6045         (__old_sem_getvalue): Add using previous code.
6046         * sysdeps/nptl/internaltypes.h: Adapt.
6047         * nptl/tst-sem13.c (do_test): Adapt.
6048         * nptl/tst-sem11.c (main): Adapt.
6049         * nptl/sem_trywait.c: Remove.
6050         * nptl/DESIGN-sem.txt: Remove.
6051         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
6052         (gen-as-const-headers): Remove structsem.sym.
6053         * nptl/structsem.sym: Remove.
6054         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
6055         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
6056         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
6057         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
6058         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
6059         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
6060         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
6061         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
6062         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
6063         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
6064         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
6065         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
6066         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
6067         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
6068         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
6069         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
6070         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
6071         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
6072         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
6073         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
6074         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
6075         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
6077 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
6079         * INSTALL: Regenerated.
6081         * po/libc.pot: Regenerated.
6083 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
6084             Sandra Loosemore  <sandra@codesourcery.com>
6085             Andrew Jenner  <andrew@codesourcery.com>
6086             Joseph Myers  <joseph@codesourcery.com>
6087             Nathan Sidwell  <nathan@codesourcery.com>
6089         * NEWS: Mention new Nios II port.
6090         * sysdeps/nios2/Implies: New file.
6091         * sysdeps/nios2/Makefile: New file.
6092         * sysdeps/nios2/Subdirs: New file.
6093         * sysdeps/nios2/Versions: New file.
6094         * sysdeps/nios2/__longjmp.S: New file.
6095         * sysdeps/nios2/abort-instr.h: New file.
6096         * sysdeps/nios2/backtrace.c: New file.
6097         * sysdeps/nios2/bits/endian.h: New file.
6098         * sysdeps/nios2/bits/fenv.h: New file.
6099         * sysdeps/nios2/bits/link.h: New file.
6100         * sysdeps/nios2/bits/setjmp.h: New file.
6101         * sysdeps/nios2/bsd-_setjmp.S: New file.
6102         * sysdeps/nios2/bsd-setjmp.S: New file.
6103         * sysdeps/nios2/configure: New generated file.
6104         * sysdeps/nios2/configure.ac: New file.
6105         * sysdeps/nios2/crti.S: New file.
6106         * sysdeps/nios2/crtn.S: New file.
6107         * sysdeps/nios2/dl-init.c: New file.
6108         * sysdeps/nios2/dl-machine.h: New file.
6109         * sysdeps/nios2/dl-sysdep.h: New file.
6110         * sysdeps/nios2/dl-tls.h: New file.
6111         * sysdeps/nios2/dl-trampoline.S: New file.
6112         * sysdeps/nios2/gccframe.h: New file.
6113         * sysdeps/nios2/gmp-mparam.h: New file.
6114         * sysdeps/nios2/jmpbuf-offsets.h: New file.
6115         * sysdeps/nios2/jmpbuf-unwind.h: New file.
6116         * sysdeps/nios2/ldsodefs.h: New file.
6117         * sysdeps/nios2/libc-tls.c: New file.
6118         * sysdeps/nios2/libm-test-ulps: New file.
6119         * sysdeps/nios2/machine-gmon.h: New file.
6120         * sysdeps/nios2/math-tests.h: New file.
6121         * sysdeps/nios2/math_private.h: New file.
6122         * sysdeps/nios2/memusage.h: New file.
6123         * sysdeps/nios2/nptl/Makefile: New file.
6124         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
6125         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
6126         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
6127         * sysdeps/nios2/nptl/pthreaddef.h: New file.
6128         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
6129         * sysdeps/nios2/nptl/tls.h: New file.
6130         * sysdeps/nios2/preconfigure: New file.
6131         * sysdeps/nios2/s_fma.c: New file.
6132         * sysdeps/nios2/s_fmaf.c: New file.
6133         * sysdeps/nios2/setjmp.S: New file.
6134         * sysdeps/nios2/sfp-machine.h: New file.
6135         * sysdeps/nios2/sotruss-lib.c: New file.
6136         * sysdeps/nios2/stackguard-macros.h: New file.
6137         * sysdeps/nios2/stackinfo.h: New file.
6138         * sysdeps/nios2/start.S: New file.
6139         * sysdeps/nios2/sysdep.h: New file.
6140         * sysdeps/nios2/tls-macros.h: New file.
6141         * sysdeps/nios2/tst-audit.h: New file.
6142         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
6143         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
6144         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
6145         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
6146         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
6147         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
6148         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
6149         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
6150         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
6151         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
6152         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
6153         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
6154         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
6155         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
6156         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
6157         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
6158         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
6159         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
6160         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
6161         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
6162         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
6163         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
6164         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
6165         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
6166         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
6167         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
6168         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
6169         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
6170         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
6171         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
6172         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
6173         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
6174         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
6175         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
6176         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
6177         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
6178         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
6179         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
6180         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
6181         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
6182         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
6183         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
6184         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
6185         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
6187 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6189         [BZ #17844]
6190         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
6191         (getutent): Use weak_alias in non SHARED case
6192         and default_symbol_version in SHARED case.
6193         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
6194         (getutent_r, pututline): Likewise.
6195         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
6196         (getutid): Likewise.
6197         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
6198         (getutid_r): Likewise.
6199         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
6200         (getutline): Likewise.
6201         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
6202         (getutline_r): Likewise.
6203         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
6204         (updwtmp): Likewise.
6206 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
6208         [BZ #17848]
6209         * sysdeps/s390/s390-32/memcmp.S
6210         (memcmp_g5): Rename to __memcmp_g5.
6211         * sysdeps/s390/s390-32/memcpy.S
6212         (memcpy_g5): Rename to __memcpy_g5.
6213         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6214         (memcpy_mvcle) Rename to __memcpy_mvcle.
6215         * sysdeps/s390/s390-32/memset.S
6216         (memset_g5): Rename to __memset_g5.
6217         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
6218         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6219         and use prefixed functions.
6220         * sysdeps/s390/s390-32/multiarch/memcmp.S
6221         (memcmp_z196): Rename to __memcmp_z196.
6222         (memcmp_z10): Rename to __memcmp_z10.
6223         (memcmp): Set alias to __memcmp_g5.
6224         (bcmp): Set alias to __memcmp_g5.
6225         * sysdeps/s390/s390-32/multiarch/memcpy.S
6226         (memcpy_z196): Rename to __memcpy_z196.
6227         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6228         (memcpy_z10): Rename to __memcpy_z10.
6229         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6230         (memcpy): Set alias to __memcpy_g5.
6231         * sysdeps/s390/s390-32/multiarch/memset.S
6232         (memset_z196): Rename to __memset_z196.
6233         Jump to __memset_mvcle instead of memset_mvcle.
6234         (memset_z10): Rename to __memset_z10.
6235         Jump to __memset_mvcle instead of memset_mvcle.
6236         (memset_mvcle) Rename to __memset_mvcle.
6237         (memset): Set alias to __memset_g5.
6238         * sysdeps/s390/s390-64/memcmp.S
6239         (memcmp_z900): Rename to __memcmp_z900.
6240         * sysdeps/s390/s390-64/memcpy.S
6241         (memcpy_z900): Rename to __memcpy_z900.
6242         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6243         (memcpy_mvcle) Rename to __memcpy_mvcle.
6244         * sysdeps/s390/s390-64/memset.S
6245         (memset_z900): Rename to __memset_z900.
6246         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
6247         (IFUNC_RESOLVE): Prefix ifunc-resolve function
6248         and use prefixed functions.
6249         * sysdeps/s390/s390-64/multiarch/memcmp.S
6250         (memcmp_z196): Rename to __memcmp_z196.
6251         (memcmp_z10): Rename to __memcmp_z10.
6252         (memcmp): Set alias to __memcmp_z900.
6253         (bcmp): Set alias to __memcmp_z900.
6254         * sysdeps/s390/s390-64/multiarch/memcpy.S
6255         (memcpy_z196): Rename to __memcpy_z196.
6256         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6257         (memcpy_z10): Rename to __memcpy_z10.
6258         Jump to __memcpy_mvcle instead of memcpy_mvcle.
6259         (memcpy): Set alias to __memcpy_z900.
6260         * sysdeps/s390/s390-64/multiarch/memset.S
6261         (memset_z196): Rename to __memset_z196.
6262         Jump to __memset_mvcle instead of memset_mvcle.
6263         (memset_z10): Rename to __memset_z10.
6264         Jump to __memset_mvcle instead of memset_mvcle.
6265         (memset_mvcle) Rename to __memset_mvcle.
6266         (memset): Set alias to __memset_z900.
6268 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
6270         [BZ #17748]
6271         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
6272         __fesetenv instead of fesetenv.
6274 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
6276         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
6277         macro.
6279 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6281         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
6282         regression on LE.
6284         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
6285         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
6286         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6287         strncmp-power8 object.
6288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6289         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
6290         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
6291         * NEWS: Update.
6293 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6294             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6296         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
6297         trailing byte check.
6299 2015-01-13  David S. Miller  <davem@davemloft.net>
6301         * include/signal.h (__sigreturn): Guard with __USE_MISC.
6303 2015-01-13  Roland McGrath  <roland@hack.frob.com>
6305         * login/logout.c (logout): Use memset rather than bzero.
6306         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
6307         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
6308         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
6309         (_gethtbyaddr): Likewise.
6310         * locale/programs/simple-hash.c (bcopy): Macro removed.
6312 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6314         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6315         Add strcmp-power8 object.
6316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6317         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
6318         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
6319         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
6320         __strcmp_power8 implementation.
6321         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
6322         * NEWS: Update.
6324         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6325         Add strncpy-power8 and stpncpy-power8 objects.
6326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6327         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
6328         implementations.
6329         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
6330         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
6331         __stpncpy_power8 implementation.
6332         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
6333         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
6334         __strncpy_power8 implementation.
6335         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
6336         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
6337         * NEWS: Update.
6339         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
6340         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
6341         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
6343         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6344         strncat-power8 object.
6345         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
6346         __strcat_power8 implementation.
6347         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6348         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
6349         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
6350         optimized strcat for power8.
6352         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
6353         strcpy-power8 and stpcpy-power8 objects.
6354         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6355         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
6356         implementations.
6357         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
6358         multiarch stpcpy implementation for POWER8.
6359         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
6360         multiarch strcpy implementation for POWER8.
6361         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
6362         __strcpy_power8 function.
6363         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
6364         stpcpy for POWER8.
6365         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
6366         strcpy for POWER8.
6367         * NEWS: Update.
6369 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
6371         [BZ #16009]
6372         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
6373         weights and rules. Use do_xfrm_cached if data fits in cache,
6374         do_xfrm otherwise.  Moved former main loop to...
6375         * (do_xfrm_cached): New function.
6376         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
6377         find_idx, find_position and stack_push.
6378         * (find_idx): New function.
6379         * (find_position): Likewise.
6380         * localedata/sort-test.sh: Added test run for do_xfrm.
6381         * localedata/xfrm-test.c (main): Added command line option
6382         -nocache to run the test with strings that are too large for
6383         the STRXFRM cache.
6385 2015-01-13  Torvald Riegel  <triegel@redhat.com>
6387         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
6388         variable to lll_futex_wake call, not the value itself.
6390 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
6392         [BZ #17803]
6393         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
6394         twom64.  Adjust value to 0x1p-64L.
6395         (__scalblnl): Only return standard underflowing result for K <=
6396         -64 not K <= -63; adjust exponent for underflowing result by 64
6397         not 63.
6398         * math/libm-test.inc (scalbn_test_data): Add more tests.
6399         (scalbln_test_data): Likewise.
6401         [BZ #17834]
6402         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
6403         0x1p63L.
6404         (__scalblnl): Get new exponent of adjusted subnormal value from ES
6405         not HX.
6406         * math/libm-test.inc (scalbn_test_data): Add more tests.
6407         (scalbln_test_data): Likewise.
6409 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6410             Stefani Seibold  <stefani@seibold.net>
6412         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
6413         (sysdep_routines): Add dl-vdso here, ...
6414         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
6415         (sysdep_routines): ... not here.
6416         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
6417         fallback when vDSO is not presented.
6418         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
6419         Define with libc_hidden_proto/libc_hidden_data_def definitions.
6420         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
6421         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
6422         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
6423         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
6424         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
6425         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
6426         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
6427         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
6428         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
6429         fallback configurable symbol when vDSO is not available.
6430         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
6431         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
6432         be able to redefine fallback symbol when vDSO is not available.
6433         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
6434         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
6436 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6438         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
6439         (TLS_INIT_TP): Add tm_capable initialization.
6440         (TLS_DEFINE_INIT_TP): Likewise.
6441         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
6442         TCB.
6443         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
6444         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
6445         calculation.
6446         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
6447         transactoion is lock elision is built and TCB tm_capable is set.
6448         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
6449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6450         (INTERNAL_SYSCALL_NCS): Likewise.
6451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6452         (INTERNAL_SYSCALL_NCS): Likewise.
6453         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
6455         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
6456         for powerpc.
6457         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6458         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
6459         and remove it for 32 bits case.
6460         [pthread_rwlock_t] (__rwelision): New field for lock elision.
6461         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
6462         initialization.
6463         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
6464         Disable lock elision with rdlocks if elision is not available.
6466         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
6467         (sysdep_routines): Add lock elision objects.
6468         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
6469         [pthread_mutex_t] (__spins): Rework to add lock elision field.
6470         [pthread_mutex_t] (__elision): Add field.
6471         [__PTHREAD_SPINS]: Adjust to init lock elision field.
6472         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
6473         elision definitions for powerpc.
6474         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
6475         implementation of lock elision for powerpc.
6476         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
6477         implementation of timed lock elision for powerpc.
6478         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
6479         implementation of trylock with lock elision for powerpc.
6480         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
6481         implementaion of unlock for lock elision for powerpc.
6482         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
6483         automatic enable lock elision for mutexes.
6484         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
6485         transaction execution definitions for powerpc.
6486         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
6487         definitions.
6488         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
6489         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
6490         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
6491         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
6492         * NEWS: Update.
6494 2015-01-09  Roland McGrath  <roland@hack.frob.com>
6496         * sysdeps/posix/shm-directory.c: Use <> rather than ""
6497         for #include of <shm-directory.h>.
6499 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
6501         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
6502         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
6504 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
6506         [BZ #17791]
6507         * NEWS: Mention bug fix.
6508         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
6509         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
6510         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
6512 2015-01-09  Torvald Riegel <triegel@redhat.com>
6514         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
6516 2015-01-09  Torvald Riegel <triegel@redhat.com>
6518         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
6520 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6522         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
6523         pointer and cast to uintptr_t.
6525 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6527         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
6528         removed.
6529         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6531 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
6533         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
6534         of 0.
6536 2015-01-08  Roland McGrath  <roland@hack.frob.com>
6538         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
6539         <nptl/pthreadP.h> instead.
6540         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
6542         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
6543         already defined.
6544         [__SIGRTMIN] (init): Function removed.
6545         [__SIGRTMIN] (initialized): Variable removed.
6546         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
6547         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
6548         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
6549         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
6550         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
6551         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
6552         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
6553         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
6554         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
6555         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
6556         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
6557         * sysdeps/nptl/allocrtsig.c: New file.
6558         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
6559         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
6560         * sysdeps/generic/testrtsig.h: File removed.
6562         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
6563         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
6565         * nptl/nptl-init.c (pthread_functions): Conditionalize
6566         .ptr__nptl_setxid initialization on [SIGSETXID].
6568         * sysdeps/nptl/sys/procfs.h: New file.
6569         * nptl_db/Makefile (headers): Add it.
6570         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
6572         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
6573         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
6574         * nptl/pthread_attr_setaffinity.c: Include it.
6575         * nptl/pthread_setattr_default_np.c: Likewise.
6576         * nptl/check-cpuset.h: New file.
6578 2015-01-08  Richard Henderson  <rth@redhat.com>
6580         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
6581         (CFLAGS-tst-execstack-prog.c): Likewise.
6582         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
6584 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
6585             Sandra Loosemore  <sandra@codesourcery.com>
6586             Andrew Jenner  <andrew@codesourcery.com>
6587             Joseph Myers  <joseph@codesourcery.com>
6588             Nathan Sidwell  <nathan@codesourcery.com>
6590         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
6591         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
6592         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
6593         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
6594         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
6595         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
6596         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
6597         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
6598         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
6599         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
6600         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
6601         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
6602         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
6603         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
6604         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
6605         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
6606         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
6608 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6610         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
6611         timespec struct member in syscall macro.
6612         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6613         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
6614         first timeval struct member in syscall macro.
6615         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
6617 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
6619         [BZ #17748]
6620         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
6621         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
6622         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
6623         __feupdateenv and define as weak alias of __feupdateenv.  Use
6624         libm_hidden_weak.
6625         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
6626         libm_hidden_def.
6627         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
6628         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
6629         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6630         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
6631         libm_hidden_def.
6632         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
6633         __feupdateenv and define as weak alias of __feupdateenv.  Use
6634         libm_hidden_weak.
6635         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
6636         libm_hidden_def.
6637         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
6638         __feupdateenv and define as weak alias of __feupdateenv.  Use
6639         libm_hidden_weak.
6640         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
6641         libm_hidden_def.
6642         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6643         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6644         (__feupdateenv): Likewise.
6645         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
6646         __feupdateenv and define as weak alias of __feupdateenv.  Use
6647         libm_hidden_weak.
6648         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6649         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
6650         libm_hidden_def.
6651         * sysdeps/tile/math_private.h (__feupdateenv): New inline
6652         function.
6653         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
6654         libm_hidden_def.
6655         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
6656         __feupdateenv instead of feupdateenv.
6657         (default_libc_feupdateenv_test): Likewise.
6658         (libc_feresetround_ctx): Likewise.
6660 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6662         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
6663         prototype.
6665 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
6667         * posix/regcomp.c (parse_bracket_exp): Initialize type to
6668         COLL_SYM in a couple of places to avoid uninitialized variable
6669         wanings on tilegx gcc 4.8.2.
6671 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6673         * sysdeps/aarch64/strcpy.S: New file.
6674         * sysdeps/aarch64/stpcpy.S: New file.
6675         * NEWS: Updated.
6677 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
6679         * sysdeps/aarch64/strrchr.S: New file.
6680         * NEWS: Updated.
6682 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
6684         [BZ #17658]
6685         * stdlib/setenv.c: Fix memory leak when setting large,
6686         duplicate string.
6688 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
6690         [BZ #17273]
6691         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
6692         and tabs from buffer before parsing fstab entry.
6693         * misc/tst-mntent.c (main): Add test for mount entry with
6694         trailing spaces and tabs.
6696 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
6698         [BZ #17748]
6699         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
6700         * math/fesetround.c (fesetround): Rename to __fesetround and
6701         define as weak alias of __fesetround.  Use libm_hidden_weak.
6702         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
6703         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
6704         * sysdeps/arm/fesetround.c (fesetround): Likewise.
6705         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
6706         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
6707         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
6708         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
6709         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
6710         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
6711         __fesetround_inline.
6712         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
6713         __fesetround_inline instead of __fesetround.
6714         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
6715         __fesetround and define as weak alias of __fesetround.  Use
6716         libm_hidden_weak.  Call __fesetround_inline instead of
6717         __fesetround.
6718         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
6719         __fesetround and define as weak alias of __fesetround.  Use
6720         libm_hidden_weak.
6721         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
6722         Likewise.
6723         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
6724         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
6725         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
6726         * sysdeps/tile/math_private.h (__fesetround): New inline function.
6727         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
6728         __fesetround and define as weak alias of __fesetround.  Use
6729         libm_hidden_weak.
6730         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
6731         __fesetround instead of fesetround.
6732         (default_libc_feholdexcept_setround): Likewise.
6733         (libc_feholdsetround_ctx): Likewise.
6734         (libc_feholdsetround_noex_ctx): Likewise.
6736         [BZ #17748]
6737         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
6738         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
6739         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6740         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6741         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6742         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
6743         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6744         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
6745         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6746         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6747         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6748         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6749         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6750         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6751         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
6752         libm_hidden_def.
6753         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
6754         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
6755         Likewise.
6756         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
6757         define as weak alias of __fesetenv.  Use libm_hidden_weak.
6758         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
6759         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
6760         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
6761         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
6762         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
6763         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
6764         __fesetenv instead of fesetenv.
6765         (libc_feresetround_noex_ctx): Likewise.
6766         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6767         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
6768         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6769         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6770         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6771         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6772         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6773         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
6774         (__feupdateenv): Likewise.
6775         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6776         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6777         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6778         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
6780 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6782         [BZ #17806]
6783         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
6784         addresses have been freed.
6786 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
6788         * resolv/res_init.c (__res_vinit): Improve comments about nserv
6789         and nservall.
6791 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
6793         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
6794         Clean up check_pf allocation pattern. addresses
6796 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6798         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
6799         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
6800         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6801         * nptl/pthread_exit.c (__pthread_exit): Likewise.
6802         * nptl/pthread_join.c (pthread_join): Likewise.
6803         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
6804         * sysdeps/posix/waitid.c (__waitid): Likewise.
6805         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
6806         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
6807         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
6808         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
6809         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
6810         Likewise.
6811         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
6812         (__libc_pread64): Likewise.
6813         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
6814         (__libc_pwrite): Likewise.
6815         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
6816         (__libc_pwrite64): Likewsie.
6817         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
6818         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
6819         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
6820         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
6821         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
6822         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
6823         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
6825         Likewise.
6826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
6827         (__libc_pread64): Likewise.
6828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
6829         Likewise.
6830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
6831         (__libc_pwrite64): Likewise.
6832         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
6833         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
6834         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
6835         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6836         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
6837         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
6838         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
6839         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
6840         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
6841         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
6842         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
6843         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
6844         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
6845         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
6846         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
6847         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
6848         Likewise.
6850 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
6852         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
6853         (CFLAGS-test-double.c): Likewise.
6854         (CFLAGS-test-ldouble.c): Likewise.
6855         (CPPFLAGS-test-ifloat.c): Likewise.
6856         (CPPFLAGS-test-idouble.c): Likewise.
6857         (CPPFLAGS-test-ildoubl.c): Likewise.
6858         (CFLAGS-test-test-fenv.c): Remove variable.
6859         (CFLAGS-test-misc.c): Likewise.
6861 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
6863         [BZ #17797]
6864         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
6865         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
6866         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
6867         CLOCKS_PER_SEC == 1000000.
6868         * time/clocktest.c (main): Replace %ld with %jd and cast to
6869         intmax_t.
6871 2015-01-05  Roland McGrath  <roland@hack.frob.com>
6873         * sysdeps/generic/unwind-resume.h: New file.
6874         * sysdeps/gnu/unwind-resume.c: Include it.
6875         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
6876         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
6877         argument list.
6878         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
6879         global rather than static.
6880         (_Unwind_Resume): Update user.
6881         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
6882         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
6883         rather than static.  Add __attribute__ ((cold)).
6884         (_Unwind_Resume, __gcc_personality_v0): Update callers.
6885         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
6886         * sysdeps/arm/arm-unwind-resume.S: New file.
6887         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
6888         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
6889         * sysdeps/arm/Makefile [$(subdir) = csu]
6890         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
6891         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6892         Add rt-arm-unwind-resume.
6893         [$(subdir) = nptl]
6894         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6895         Add pt-arm-unwind-resume.
6896         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
6897         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
6899 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6901         [BZ #17748]
6902         * include/fenv.h (__feholdexcept): Declare.  Use
6903         libm_hidden_proto.
6904         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
6905         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
6906         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6907         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
6908         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
6909         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
6910         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
6911         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6912         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
6913         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
6914         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6915         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
6916         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
6917         (feholdexcept): Likewise.
6918         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6919         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
6920         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6921         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6922         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
6923         __feholdexcept instead of feholdexcept.
6924         (default_libc_feholdexcept_setround): Likewise.
6926 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6928         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
6929         to avoid using stl/str to align destination.
6931 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6933         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
6935 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6937         [BZ #17796]
6938         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
6939         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
6940         Define as weak alias not strong alias.
6942 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
6944         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
6945         bltzal with addiupc.
6946         (RTLD_START): Ditto.
6948 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
6950         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
6951         for __vdso_* functions in declarations.
6952         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
6953         definitions.
6954         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
6955         INTERNAL_VSYSCALL): Use struct return types to check for error.
6957         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
6958         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
6959         function with cast from llround().
6960         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
6961         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6962         Define.
6964 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
6966         [BZ #17793]
6967         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
6968         Define as weak alias not strong alias.
6970         [BZ #17635]
6971         * ctype/ctype-c99.c: New file.  isblank implementation moved from
6972         ...
6973         * ctype/ctype-extn.c: ... here.
6974         (__isblank_l): Move to ...
6975         * ctype/ctype-c99_l.c: ... here.  New file.
6976         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
6977         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
6978         Remove variable.
6979         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6980         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6981         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6982         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6983         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6985         [BZ #17777]
6986         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
6987         (posix_fadvise64): Define as weak alias not strong alias.
6988         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6989         (posix_fallocate64): Likewise.
6990         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
6991         Remove variable.
6992         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6993         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6994         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6995         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6996         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6998 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
7000         [BZ #16191]
7001         * NEWS: Mention bug fix.
7002         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
7003         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
7004         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
7005         (HOST_STACK_END_ADDR): Likewise.
7007 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7009         [BZ #17748]
7010         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
7011         * math/fegetround.c (fegetround): Rename to __fegetround and
7012         define as weak alias of __fegetround.  Use libm_hidden_weak.
7013         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
7014         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
7015         * sysdeps/arm/fegetround.c (fegetround): Likewise.
7016         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
7017         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7018         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
7019         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
7020         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
7021         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7022         Undefine after rather than before function definition; use
7023         parentheses around function name in definition.
7024         (__fegetround): Also undefine macro after function definition.
7025         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
7026         __fegetround and define as weak alias of __fegetround.  Use
7027         libm_hidden_weak.  Do not undefine as macro.
7028         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7029         Likewise.
7030         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
7031         __fegetround and define as weak alias of __fegetround.  Use
7032         libm_hidden_weak.
7033         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7034         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7035         * sysdeps/tile/math_private.h (__fegetround): New inline function.
7036         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
7037         __fegetround and define as weak alias of __fegetround.  Use
7038         libm_hidden_weak.
7039         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
7040         __fegetround instead of fegetround.
7042         [BZ #17782]
7043         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
7044         Condition macro definition on [__USE_MISC].
7046         [BZ #17781]
7047         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
7048         (struct sigaction): Change type of sa_flags field to int.
7050         [BZ #17780]
7051         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
7052         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
7053         __glibc_reserved0.
7055         * nptl/version.c (banner): Use single year in copyright notice.
7057         * NEWS: Update copyright dates.
7058         * catgets/gencat.c (print_version): Likewise.
7059         * csu/version.c (banner): Likewise.
7060         * debug/catchsegv.sh: Likewise.
7061         * debug/pcprofiledump.c (print_version): Likewise.
7062         * debug/xtrace.sh (do_version): Likewise.
7063         * elf/ldconfig.c (print_version): Likewise.
7064         * elf/ldd.bash.in: Likewise.
7065         * elf/pldd.c (print_version): Likewise.
7066         * elf/sotruss.sh: Likewise.
7067         * elf/sprof.c (print_version): Likewise.
7068         * iconv/iconv_prog.c (print_version): Likewise.
7069         * iconv/iconvconfig.c (print_version): Likewise.
7070         * locale/programs/locale.c (print_version): Likewise.
7071         * locale/programs/localedef.c (print_version): Likewise.
7072         * login/programs/pt_chown.c (print_version): Likewise.
7073         * malloc/memusage.sh (do_version): Likewise.
7074         * malloc/memusagestat.c (print_version): Likewise.
7075         * malloc/mtrace.pl: Likewise.
7076         * manual/libc.texinfo: Likewise.
7077         * nptl/version.c (banner): Likewise.
7078         * nscd/nscd.c (print_version): Likewise.
7079         * nss/getent.c (print_version): Likewise.
7080         * nss/makedb.c (print_version): Likewise.
7081         * posix/getconf.c (main): Likewise.
7082         * scripts/test-installation.pl: Likewise.
7083         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7085 2015-01-02  Will Newton  <will.newton@linaro.org>
7087         * sysdeps/arm/armv7/configure: Removed.
7088         * sysdeps/arm/armv7/configure.ac: Likewise.
7090 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
7092         * All files with FSF copyright notices: Update copyright dates
7093         using scripts/update-copyrights.
7094         * intl/plural.c: Regenerated.
7095         * locale/programs/charmap-kw.h: Likewise.
7096         * locale/programs/locfile-kw.h: Likewise.
7098 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7100         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
7102 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7104         [BZ #17748]
7105         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
7106         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
7107         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7108         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7109         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7110         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
7111         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7112         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
7113         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7114         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7115         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7116         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7117         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7118         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7119         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
7120         libm_hidden_def.
7121         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
7122         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
7123         Likewise.
7124         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
7125         define as weak alias of __fegetenv.  Use libm_hidden_weak.
7126         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
7127         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
7128         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
7129         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
7130         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
7131         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
7132         __fegetenv instead of fegetenv.
7133         (libc_feholdsetround_noex_ctx): Likewise.
7135 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
7137         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
7138         (Elf_MIPS_ABIFlags_v0): New structure.
7139         (EF_MIPS_FP64): Define.
7140         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
7141         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
7142         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
7143         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
7144         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
7145         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
7146         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
7147         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
7148         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
7149         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
7150         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
7151         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
7152         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
7153         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
7154         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
7155         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
7156         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
7157         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
7158         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
7159         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
7160         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
7161         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
7162         field.
7163         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
7164         EF_MIPS_FP64.
7165         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
7166         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
7167         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
7168         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
7169         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
7170         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
7171         * sysdeps/mips/tst-abi-interlink.c: Likewise.
7172         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
7173         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
7174         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
7175         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
7176         record the current FP ABI extension.
7177         (mips-mode-switch): Define to show if kernel headers support mode
7178         switching.
7179         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7180         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
7181         supported SYSV ABI version to 3.
7182         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
7183         feature.
7185 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7186             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7188         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
7189         path.
7190         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
7192 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
7194         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
7195         __fegetround and redefine to call __fegetround.  Remove condition
7196         on [!__NO_MATH_INLINES].
7197         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
7198         function.
7199         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
7200         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7201         Remove macro.
7202         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
7203         instead of <fenv_libc.h>.
7204         (__llrintl): Call fegetround instead of __fegetround.
7205         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
7206         instead of <fenv_libc.h>.
7207         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
7208         (__lrintl): Call fegetround instead of __fegetround.
7209         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
7210         instead of <fenv_libc.h>.
7211         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
7212         (__rintl): Call fegetround instead of __fegetround.
7214 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
7216         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
7217         arrays.
7219 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7221         [BZ #17775]
7222         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
7223         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
7224         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
7226 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7228         * sysdeps/i386/tls-macros.h: Include <features.h>.
7229         (TLS_LE): Use non-PIC version for GCC >= 5.0.
7230         (TLS_IE): Likewise.
7231         (TLS_LD): Likewise.
7232         (TLS_GD): Likewise.
7233         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
7234         define for GCC >= 5.0.
7236 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
7238         * math/test-fenv.c (test_single_exception, set_single_exc,
7239         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
7240         feexcp_mask_test, feenable_test, fe_single_test): Add
7241         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
7242         case where they are not used.
7243         * math/libm-test.inc: Likewise.
7244         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
7245         unused in the absence of FP rounding/exception support.
7246         * stdio-common/tst-printf-round.c: Likewise.
7247         * stdlib/tst-strtod-round.c: Likewise.
7248         * stdlib/tst-strtod-underflow.c: Likewise.
7250 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
7252         [BZ #17723]
7253         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
7254         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
7255         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7256         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7257         libm_hidden_weak.
7258         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
7259         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7260         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
7261         libm_hidden_def.
7262         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7263         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7264         libm_hidden_weak.
7265         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
7266         Likewise.
7267         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
7268         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7269         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7270         libm_hidden_weak.
7271         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7272         libm_hidden_def.
7273         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7274         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
7275         (__feraiseexcept): Likewise.
7276         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7277         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
7278         libm_hidden_weak.
7279         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
7280         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
7281         libm_hidden_def.
7282         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
7283         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
7284         Use libm_hidden_def.
7285         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
7286         libm_hidden_def.
7287         (feraiseexcept): Define as weak not strong alias.  Use
7288         libm_hidden_weak.
7289         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
7290         New inline function.  Factored out of ...
7291         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
7292         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
7293         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
7294         feraiseexcept.
7295         * math/w_acos.c (__acos): Likewise.
7296         * math/w_asin.c (__asin): Likewise.
7297         * math/w_ilogb.c (__ilogb): Likewise.
7298         * math/w_j0.c (y0): Likewise.
7299         * math/w_j1.c (y1): Likewise.
7300         * math/w_jn.c (yn): Likewise.
7301         * math/w_log.c (__log): Likewise.
7302         * math/w_log10.c (__log10): Likewise.
7303         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
7304         * sysdeps/aarch64/fpu/math_private.h
7305         (libc_feupdateenv_test_aarch64): Likewise.
7306         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
7307         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
7308         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
7309         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
7310         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
7311         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
7312         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
7313         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
7314         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
7315         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7317 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
7319         [BZ #17732]
7320         * io/test-utime.c (main): Replace %ld with %jd and cast to
7321         intmax_t.
7322         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
7323         * nptl/tst-mutex5.c: Include <stdint.h>.
7324         (do_test): Replace %ld with %jd and cast to intmax_t.
7325         * posix/tst-regex.c (run_test): Likewise.
7326         (run_test_backwards): Likewise.
7327         * rt/tst-clock.c: Include <stdint.h>.
7328         (clock_test): Replace %ld with %jd and cast to intmax_t.
7329         * rt/tst-cpuclock1.c: Include <stdint.h>.
7330         (do_test): Replace %lu with %ju and cast to uintmax_t.
7331         * rt/tst-cpuclock2.c: Include <stdint.h>.
7332         (do_test): Replace %lu with %ju and cast to uintmax_t.
7333         * rt/tst-mqueue1.c: Include <stdint.h>.
7334         (check_attrs): Replace %ld with %jd and cast to intmax_t.
7335         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
7336         intmax_t.
7337         * rt/tst-mqueue4.c (do_test): Likewise.
7338         * rt/tst-timer4.c: Include <stdint.h>.
7339         (check_ts): Replace %ld with %jd and cast to intmax_t.
7340         (do_test): Likewise.
7341         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
7342         and cast to intmax_t.
7343         * sysdeps/pthread/tst-timer.c (main): Likewise.
7344         * time/clocktest.c (main): Likewise.
7345         * time/tst-posixtz.c (do_test): Likewise.
7346         * timezone/tst-timezone.c (main): Likewise.
7348 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
7349             H.J. Lu  <hongjiu.lu@intel.com>
7351         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
7352         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
7353         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
7354         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
7355         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
7356         version if bit_Fast_Unaligned_Load is set.
7357         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7358         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7359         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7360         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7361         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7362         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7363         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7364         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
7365         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
7366         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
7367         to 4.
7368         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
7369         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
7370         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
7371         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
7373 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
7375         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
7376         instead of #if to avoid a Wundef warning.
7377         * stdlib/tst-limits.c (do_test): Likewise.
7379         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
7380         parallel other exception macros.
7381         (fegetenv): Convert from macro to extern inline so that it applies
7382         retroactively to inline functions already seen by the compiler.
7383         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
7385         * posix/Makefile (before-compile): Use $(objpfx) for
7386         posix-conf-vars-def.h.
7388 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
7390         * posix/getconf.c (main): Use size_t for type of I.
7391         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
7392         NSPEC.
7394         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
7395         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
7396         * posix/posix-envs.def: Likewise.
7397         * sysdeps/posix/sysconf.c: Likewise.
7398         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
7399         (specs): Remove array.
7400         * scripts/gen-posix-conf-vars.awk: Support generation of specs
7401         array.
7403         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
7404         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
7405         (__sysconf): Use CONF_IS_* macros.
7407         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
7408         ($(objpfx)posix-conf-vars-def.h): New target.
7409         * posix/posix-conf-vars.list: New file.
7410         * posix/posix-conf-vars.h: New file.
7411         * posix/confstr.c: Include posix-conf-vars.h.
7412         (confstr): Use CONF_IS_* macros.
7413         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
7414         CONF_IS_* macros.
7415         * scripts/gen-posix-conf-vars.awk: New file.
7417 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
7419         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
7420         fegetround): Add no-op macros to avoid linknamespace issues.
7422         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
7423         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
7425         * sysdeps/unix/sysv/linux/tile/sysdep.h
7426         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
7427         assembly-specific section to avoid a redefinition warning.
7429         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
7430         long before casting to pointer to avoid a cast warning.
7432 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
7434         * sysdeps/tile/tilegx/Implies: New file.
7436 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
7438         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
7440 2014-12-23  Florian Weimer  <fweimer@redhat.com>
7442         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
7444 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7446         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
7447         not define.
7448         * sysdeps/unix/sysv/linux/utimes.c: Do not include
7449         <kernel-features.h>.
7450         (__utimes) [__NR_utimes]: Make code unconditional.
7451         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
7452         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7453         (__ASSUME_UTIMES): Do not undefine.
7454         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7455         (__ASSUME_UTIMES): Likewise.
7456         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7457         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
7458         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
7459         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
7461 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7463         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
7465 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
7467         [BZ #17747]
7468         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
7469         alias to weak alias for j0l, y0l.
7470         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
7471         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
7473         [BZ #17746]
7474         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
7475         conversion.
7477 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
7479         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
7480         to zero if not already defined.
7482 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7484         [BZ #17724]
7485         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
7486         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
7487         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
7488         (char *) casts added.
7489         * sysdeps/ieee754/k_standardf.c: New file.
7490         * sysdeps/ieee754/k_standardl.c: Likewise.
7491         * math/Makefile (libm-support): Remove k_standard.
7492         (libm-calls): Add k_standard.
7494 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7496         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7497         Optimize to avoid an unnecessary FPCR read.
7499 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7501         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
7502         Optimize to reduce FPCR/FPSR accesses.
7504 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7506         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
7507         Call libc_fetestexcept_aarch64.
7509 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
7511         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
7512         Call libc_fesetround_aarch64.
7514 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
7516         [BZ #17733]
7517         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
7518         (__bind): Do not define as weak alias.
7519         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
7520         define.
7521         (__getsockname): Do not define as weak alias.
7523 2014-12-22  Will Newton  <will.newton@linaro.org>
7525         * manual/install.texi: Document that we require bison 2.7
7526         or above.
7527         * INSTALL: Regenerate.
7528         * configure.ac: Use AC_CHECK_PROG_VER instead of
7529         AC_PATH_PROG when checking for bison and check for
7530         version 2.7 or above.
7531         * configure: Regenerate.
7533 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
7535         [BZ #17745]
7536         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
7537         * sysdeps/tile/ffsll.c (ffsll): To here.
7539         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
7541 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7543         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
7544         if not defined.
7545         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
7546         definition.
7547         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7548         hidden ___tls_get_addr.
7549         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
7550         hidden __tls_get_addr.
7551         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
7552         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
7553         Likewise.
7555 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
7557         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
7558         _dl_init call.
7560 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
7562         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
7563         from "call _dl_init@PLT".
7564         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7566 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
7568         * manual/search.texi: (Array Sort Function): Clarify stable sorting
7569         guarantees.
7571 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
7573         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
7575 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7577         [BZ #17744]
7578         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
7579         strnlen.
7581 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7583         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
7584         of multu on MIPSr6.
7585         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
7586         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
7587         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
7588         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
7589         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
7591 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
7593         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
7594         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
7595         (PTR_SUBU): Use subu for mips32r6/mips64r6.
7596         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
7597         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
7598         mips32r6/mips64r6.
7599         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
7601 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
7603         * string/strncat.c (STRNCAT): Simplify implementation.
7605 2014-12-19  David S. Miller  <davem@davemloft.net>
7607         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
7608         access the quad as both a long double and as a series of 4 words.
7610         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
7611         link_map->l_info array access.
7613 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
7615         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
7617         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
7618         * math/atest-exp2.c (TIMEOUT): Likewise.
7619         * math/atest-sincos.c (TIMEOUT): Likewise.
7621 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7623         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
7624         -Wno-error with -fno-builtin-lround.
7626 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7628         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
7629         Contains futex constants and functions moved over from ...
7630         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
7631         <lowlevellock-futex.h>.
7632         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7633         (lll_timedwait_tid): Add comments and parentheses around macro
7634         arguments.
7636 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7638         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
7639         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
7640         (__lll_private_flag): Remove.
7641         (lll_futex_wait): Likewise.
7642         (lll_futex_timed_wait): Likewise.
7643         (lll_futex_wake): Likewise.
7644         (lll_futex_requeue): Likewise.
7645         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
7646         (__lll_timedwait_tid): Spell out argument names.
7647         (lll_timedwait_tid): Add comments and parentheses around macro
7648         arguments.
7649         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
7650         LLL_SHARED and LLL_PRIVATE usable from assembly code.
7652 2014-12-19  Torvald Riegel  <triegel@redhat.com>
7654         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
7655         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7656         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7657         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
7658         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
7659         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
7660         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
7661         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
7662         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
7663         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
7664         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
7665         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
7666         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
7667         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
7668         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
7669         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
7670         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
7671         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
7672         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
7674 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7676         * sysdeps/x86_64/x32/Makefile: New file.
7678 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
7680         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
7681         1L with (mp_limb_t) 1.
7683 2014-12-17  Roland McGrath  <roland@hack.frob.com>
7685         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
7686         * nptl/libc_pthread_init.c: ... here.
7687         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
7688         * nptl/register-atfork.c: ... here.
7690         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
7691         Use pthread_sigmask rather than INTERNAL_SYSCALL.
7692         Use assert_perror to check its return value.
7693         (__gai_create_helper_thread): Likewise.
7695         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
7697         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
7699 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
7701         [BZ #17725]
7702         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
7703         __profil_counter.
7704         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
7705         Likewise.
7706         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
7707         Likewise.
7708         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
7709         Likewise.
7710         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
7711         (profil_counter): Likewise.
7712         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
7713         (profil_counter): Likewise.
7714         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
7715         Likewise.
7716         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
7717         Likewise.
7718         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
7719         (profil_counter): Likewise.
7720         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
7721         Likewise.
7722         [!__profil_counter] (profil_counter): Define as weak alias of
7723         __profil_counter.
7724         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
7725         (profil_counter): Rename to __profil_counter.
7726         [!__profil_counter] (profil_counter): Define as weak alias of
7727         __profil_counter.
7728         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
7729         (profil_counter): Rename to __profil_counter.
7730         [!__profil_counter] (profil_counter): Define as weak alias of
7731         __profil_counter.
7732         * sysdeps/posix/profil.c: Update comment referring to
7733         profil_counter.
7734         (__profil): Use __profil_counter instead of profil_counter.
7735         * sysdeps/posix/sprofil.c (profil_counter): Rename to
7736         __profil_counter.  Use __profil_counter_ushort and
7737         __profil_counter_uint in definitions.
7738         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
7739         instead of profil_counter_uint and profil_counter_ushort.
7741         [BZ #17722]
7742         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
7743         define as weak alias of __inet_makeaddr.
7744         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
7745         as weak alias of __inet_addr.
7746         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
7747         as weak alias of __inet_pton.  Use libc_hidden_weak.
7748         * include/arpa/inet.h (__inet_pton): Declare.  Use
7749         libc_hidden_proto.
7750         (inet_makeaddr): Don't use libc_hidden_proto.
7751         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
7752         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
7753         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
7754         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
7755         Remove variable.
7756         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7757         (test-xfail-POSIX/time.h/linknamespace): Likewise.
7759 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
7761         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
7763 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7765         * stdio-common/bug-vfprintf-nargs.c (do_test):
7766         Cast value to intptr_t to avoid format warning
7767         for usage with PRIdPTR printing macro.
7769 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7771         * libio/tst-widetext.c (do_test):
7772         Use format type %td instead of %Zd for ptrdiff_t
7773         in order to avoid format warning.
7775 2014-12-17  Andreas Schwab  <schwab@suse.de>
7777         * nscd/mem.c (gc): Add size_t cast to match printf format.
7779 2014-12-16  Roland McGrath  <roland@hack.frob.com>
7781         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
7782         (init): Apply PTR_MANGLE to pointers before storing them.
7783         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
7784         before using them.
7786 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
7788         [BZ #17719]
7789         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
7790         define as weak alias of __memrchr.
7791         (__memrchr): Do not define as strong alias of memrchr.
7792         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
7793         Remove variable.
7794         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7795         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7796         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
7798         [BZ #17717]
7799         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
7800         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
7801         (if_indextoname): Rename to __if_indextoname and define as weak
7802         alias of __if_indextoname.  Use libc_hidden_weak.
7803         (if_freenameindex): Rename to __if_freenameindex and define as
7804         weak alias of __if_freenameindex.
7805         (if_nameindex): Rename to __if_nameindex and define as weak alias
7806         of __if_nameindex.
7807         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
7808         __if_nametoindex and define as weak alias of __if_nametoindex.
7809         Use libc_hidden_weak.
7810         (if_freenameindex): Rename to __if_freenameindex and define as
7811         weak alias of __if_freenameindex.
7812         (if_nameindex): Rename to __if_nameindex and define as weak alias
7813         of __if_nameindex.
7814         (if_indextoname): Rename to __if_indextoname and define as weak
7815         alias of __if_indextoname.  Use libc_hidden_weak.
7816         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
7817         __if_nametoindex and define as weak alias of __if_nametoindex.
7818         Use libc_hidden_weak.
7819         (if_freenameindex): Rename to __if_freenameindex and define as
7820         weak alias of __if_freenameindex.  Use libc_hidden_weak.
7821         (if_nameindex_netlink): Use __if_freenameindex instead of
7822         if_freenameindex.
7823         (if_nameindex): Rename to __if_nameindex and define as weak alias
7824         of __if_nameindex.  Use libc_hidden_weak.
7825         (if_indextoname): Rename to __if_indextoname and define as weak
7826         alias of __if_indextoname.  Use libc_hidden_weak.
7827         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
7828         libc_hidden_proto.
7829         [!_ISOMAC] (__if_freenameindex): Likewise.
7830         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
7831         if_nametoindex.
7832         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
7833         variable.
7834         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7835         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7836         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7837         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7838         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7839         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7840         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7842         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
7843         Remove variable.
7844         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7845         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
7847 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7849         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
7850         subscript above bounds'
7852         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
7853         bounds.
7855 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
7857         * libio/tst-fopenloc.c: Use test-skeleton.c.
7859         * stdlib/tst-bsearch.c: Use test-skeleton.c.
7860         (entry): Rename to ITEM.
7861         (do_test, comp): Adjust.
7863         * stdio-common/tst-fseek.c: Use test-skeleton.c.
7865 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7867         * string/tester.c: Include <libc-internal.h>.
7868         (test_memset): Ignore -Wmemset-transposed-args.
7870 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7872         * misc/tst-mntent2.c (do_test): Fix warning.
7874 2014-12-16  Torvald Riegel  <triegel@redhat.com>
7876         * elf/tst-unique4lib.cc(a): Mark as used.
7878 2014-12-16  Florian Weimer  <fweimer@redhat.com>
7880         [BZ #17630]
7881         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
7882         names.
7884 2014-12-16  Allan McRae  <allan@archlinux.org>
7886         * stdio-common/Makefile (tests): Re-add bug26.
7888 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
7890         [BZ #17657]
7891         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
7892         static array.
7894 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
7896         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
7897         (__lll_lock_wait): Likewise.
7898         (__lll_timedlock_wait): Likewise.
7899         (__lll_timedwait_tid): Likewise.
7900         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
7901         (__lll_robust_timedlock_wait): Likewise.
7902         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
7903         (lll_cond_trylock): Likewise.
7904         (__lll_lock): Likewise.
7905         (__lll_robust_lock): Likewise.
7906         (__lll_cond_lock): Likewise.
7907         (lll_robust_cond_lock): Likewise.
7908         (__lll_timedlock): Likewise.
7909         (__lll_robust_timedlock): Likewise.
7910         (__lll_unlock): Likewise.
7911         (__lll_robust_unlock): Likewise.
7912         (lll_wait_tid): Likewise.
7913         (lll_timedwait_tid): Likewise.
7915 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7917         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
7919 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7921         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
7923 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7925         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
7926         * stdio-common/tst-sprintf.c: Likewise.
7928 2014-12-15  Torvald Riegel  <triegel@redhat.com>
7930         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
7932 2014-12-15  Jeff Law  <law@redhat.com>
7934         [BZ #16617]
7935         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
7936         on the heap.  (CVE-2012-3406)
7937         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
7938         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
7939         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
7941 2014-12-15  Will Newton  <will.newton@linaro.org>
7943         * manual/install.texi: Bump required version of texinfo
7944         to 4.7 from 4.5.
7945         * INSTALL: Regenerated.
7946         * configure.ac: Check for makeinfo version 4.7 and above.
7947         * configure: Regenerated.
7949 2014-12-12  Roland McGrath  <roland@hack.frob.com>
7951         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
7952         PREFIX, string constant to insert between directory and name.
7953         * sysdeps/posix/shm_open.c: Update caller.
7954         * sysdeps/posix/shm_unlink.c: Likewise.
7955         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
7956         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
7957         (SEM_SHM_PREFIX): New macro.
7958         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
7959         [$(have-thread-library) = no].
7960         * nptl/Makefile (libpthread-routines): Add shm-directory.
7961         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
7962         * sysdeps/nptl/shm-directory.h: New file.
7963         * sysdeps/posix/shm-directory.c
7964         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
7965         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
7966         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
7967         INTERNAL_SYSCALL.
7968         (__where_is_shmfs): Function removed.
7969         (mountpoint, defaultmount, defaultdir, __namedsem_once):
7970         Variables removed.
7971         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
7972         Use SHM_GET_NAME.
7973         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
7975         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
7976         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
7977         unconditional for use inside libpthread.
7978         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
7980 2014-12-12  Roland McGrath  <roland@hack.frob.com>
7982         * nptl/pthread_getaffinity.c: New file.
7983         * nptl/pthread_setaffinity.c: New file.
7984         * nptl/pthread_getname.c: New file.
7985         * nptl/pthread_setname.c: New file.
7987         * nptl/pthread_create.c (START_THREAD_DEFN)
7988         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
7990 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7991             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7993         * resolv/res_send.c (send_vc): Disable warning resplen may
7994         be used uninitialized.
7996 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7998         * nptl/tst-mutex6.c
7999         (ATTR_NULL): New define checks ATTR against NULL.
8000         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
8001         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
8003 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
8005         [BZ #17581]
8006         * malloc/hooks.c
8007         (mem2mem_check): Revert my previous change.
8008         (malloc_check_get_size): Revert my previous change.
8009         (mem2chunk_check): Revert my previous change.
8011 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8013         * sysdeps/posix/shm-directory.c: New file.
8014         * sysdeps/posix/shm-directory.h: New file.
8015         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
8016         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
8017         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
8018         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
8019         Transmute EPERM to EACCES.
8020         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
8021         from ...
8022         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
8023         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
8025 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8027         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
8028         pointer and cast to uintptr_t.
8029         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
8030         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
8031         Add cast to avoid warning.
8032         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
8034 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8036         * nptl/semaphore.h: Move to ...
8037         * sysdeps/pthread/semaphore.h: ... here.
8038         * Makefile (installed-headers): Change nptl/semaphore.h to
8039         sysdeps/pthread/semaphore.h.
8041 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8043         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
8044         generated error format strings.
8046         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
8047         -Wformat-extra-args warnings for scanf formats.
8048         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
8049         test of zero-length format (duh).
8050         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
8051         corner-case scanf format test.
8052         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
8053         generated fprintf format string.
8054         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
8055         corner-case sprintf format tests.
8056         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
8057         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
8058         -Wformat-extra-args warnings throughout.
8059         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
8060         (CFLAGS-scanf4.c): Likewise.
8061         (CFLAGS-scanf7.c): Likewise.
8062         (CFLAGS-tst-sprintf.c): Likewise.
8063         (CFLAGS-tst-printf.c): Likewise.
8064         (CFLAGS-tst-printfsz.c): Likewise.
8066 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
8068         * include/cpio.h: New file.
8069         * include/fmtmsg.h: Likewise.
8071         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
8072         corresponding format argument to size_t.
8073         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
8074         arguments.
8075         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
8076         corresponding format argument to size_t.
8077         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
8078         arguments.
8079         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
8080         corresponding format argument to size_t.
8081         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
8082         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
8083         (CFLAGS-tst-mbswcs2.c): Likewise.
8084         (CFLAGS-tst-mbswcs3.c): Likewise.
8085         (CFLAGS-tst-mbswcs4.c): Likewise.
8086         (CFLAGS-tst-mbswcs5.c): Likewise.
8087         (CFLAGS-tst-trans.c): Likewise
8089 2014-12-11  Roland McGrath  <roland@hack.frob.com>
8091         * posix/regexbug1.c (main): Use "%s" format with regerror results,
8092         rather than assuming they won't contain any '%'s.
8094 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
8096         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
8097         inhibit_loop_to_libcall to avoid recursive calls.
8098         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
8099         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
8101 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
8103         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
8104         prototype.
8106 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8108         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
8109         integer value instead of boolean.
8111 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
8113         * malloc/malloc.c: Fix powerof2 check.
8115 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8117         * locale/programs/locfile.h (maybe_swap_uint32):
8118         Remove inline and add unused attribute.
8120 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8122         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8123         Truncating assembler expression to a .long expression.
8125 2014-12-11  Andreas Schwab  <schwab@suse.de>
8127         * elf/rtld.c (struct map_args): Constify str member.
8128         (do_preload): Constify fname argument.
8130 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8132         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
8133         constants definition.
8135 2014-12-11  Andreas Schwab  <schwab@suse.de>
8137         [BZ #16657]
8138         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
8139         FORCE_ELISION instead of DO_ELISION.
8140         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
8141         Remove.
8142         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
8143         Likewise.
8145         * iconvdata/gconv-modules: Remove duplicate entry.
8147 2014-12-11  Will Newton  <will.newton@linaro.org>
8149         Merge gettext 0.19.3 into intl/.
8151         This involves a number of cosmetic changes to comments
8152         and ANSI function definitions and prototypes throughout
8153         all the files. The gettext copyright header is used but
8154         with the date ranges taken from the glibc copy.
8156         * NEWS: Add gettext merge to 2.21.
8157         * intl/bindtextdom.c: Switch to gettext copyright.
8158         Use ANSI definitions and prototypes.
8159         Use gl_* locking primitives rather than __libc_* ones.
8160         Use __builtin_expect rather than __glibc_likely/unlikely.
8161         * intl/dcgettext.c: Switch to gettext copyright.
8162         Use ANSI definitions and prototypes.
8163         * intl/dcigettext.c: Switch to gettext copyright.
8164         Use ANSI definitions and prototypes.
8165         (INTDIV0_RAISES_SIGFPE): New define.
8166         Use gl_* locking primitives rather than __libc_* ones.
8167         Include eval-plural.h instead of plural-eval.c.
8168         Use __builtin_expect rather than __glibc_likely/unlikely.
8169         * intl/dcngettext.c: Switch to gettext copyright.
8170         Use ANSI definitions and prototypes.
8171         * intl/dgettext.c: Likewise.
8172         * intl/dngettext.c: Likewise.
8173         * intl/plural-eval.c: Renamed to...
8174         * intl/eval-plural.h: ...this.
8175         * intl/explodename.c: Switch to gettext copyright.
8176         Use ANSI definitions and prototypes.
8177         (_nl_explode_name): Use strchr instead of __rawmemchr.
8178         * intl/finddomain.c: Switch to gettext copyright.
8179         Use ANSI definitions and prototypes.
8180         Use gl_* locking primitives rather than __libc_* ones.
8181         (_nl_find_domain): Use malloc rather than alloca for
8182         allocation of temporary locale name.
8183         * intl/gettext.c: Switch to gettext copyright.
8184         Use ANSI definitions and prototypes.
8185         * intl/gettextP.h: Switch to gettext copyright.
8186         Use ANSI definitions and prototypes.
8187         Use gl_* locking primitives rather than __libc_* ones.
8188         * intl/gmo.h: Switch to gettext copyright.
8189         (struct sysdep_string): Move struct segment_pair outside of
8190         struct definition.
8191         * intl/hash-string.c: Use ANSI definitions and prototypes.
8192         * intl/hash-string.h: Switch to gettext copyright.
8193         Use ANSI definitions and prototypes.
8194         * intl/l10nflist.c: Switch to gettext copyright.
8195         Use ANSI definitions and prototypes.
8196         (_nl_normalize_codeset): Avoid integer overflow.
8197         * intl/loadinfo.h: Switch to gettext copyright.
8198         Use ANSI definitions and prototypes.
8199         (LIBINTL_DLL_EXPORTED): New define.
8200         (PATH_SEPARATOR): New define.
8201         * intl/loadmsgcat.c: Switch to gettext copyright.
8202         * intl/localealias.c: Switch to gettext copyright.
8203         Use ANSI definitions and prototypes.
8204         (_nl_expand_alias): Use PATH_SEPARATOR.
8205         * intl/ngettext.c: Switch to gettext copyright.
8206         Use ANSI definitions and prototypes.
8207         * intl/plural-exp.c: Likewise.
8208         * intl/plural-exp.h: Switch to gettext copyright.
8209         Use ANSI definitions and prototypes.
8210         (struct expression): Move definition of enum operator outside
8211         of struct definition.
8212         * intl/plural.c: Regenerate.
8213         * intl/plural.y: Switch to gettext copyright.
8214         Use ANSI definitions and prototypes.
8215         Port to bison 3.0.
8216         * intl/textdomain.c: Switch to gettext copyright.
8217         Use ANSI definitions and prototypes.
8218         Use gl_* locking primitives rather than __libc_* ones.
8220 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
8222         * debug/warning-nop.c: Add used atrribute.
8224 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8226         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
8228         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
8229         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
8230         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
8232 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8233             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8235         [BZ #17634]
8236         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
8237         Undefine after defining function.  Define as weak alias of
8238         __wcschr.  Use libc_hidden_weak.
8239         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
8240         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
8241         (libc_hidden_def): Also define __GI___wcschr alias.
8242         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
8243         __wcschr and define as weak alias of __wcschr.
8244         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
8245         __wcschr.
8246         [!WCSCHR] (DEFAULT_WCSCHR): Define.
8247         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
8248         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
8249         libc_hidden_weak.  Do not use libc_hidden_def.
8250         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
8251         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
8252         __GI___wcschr alias.
8253         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
8254         [IS_IN (libc)] (wcschr): Define as macro expanding to
8255         __redirect_wcschr.
8256         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
8257         [IS_IN (libc)] (__wcschr_power6): Likewise.
8258         [IS_IN (libc)] (__wcschr_power7): Likewise.
8259         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
8260         instead of wcschr.
8261         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
8262         __libc_wcschr.
8263         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
8264         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
8265         __wcschr and define as weak alias of __wcschr.  Use
8266         libc_hidden_builtin_def.
8267         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
8268         as weak alias of __wcschr.  Use libc_hidden_weak.
8269         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
8270         wcschr.
8271         * time/era.c (_nl_init_era_entries): Likewise.
8272         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
8273         variable.
8274         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8275         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8277 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8279         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
8280         format for long int variable.
8282 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
8284         [BZ #10672]
8285         * manual/search.texi: (Array Sort Function): Remove claim how to make
8286         qsort stable.
8288 2014-12-10  Andreas Schwab  <schwab@suse.de>
8290         [BZ #12847]
8291         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
8292         user-controlled locks.
8294 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
8296         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
8297         register.
8299 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
8301         * configure.ac (--disable-werror): New configure option.
8302         (enable_werror): New AC_SUBST.
8303         * configure: Regenerated.
8304         * config.make.in (enable-werror): New variable.
8305         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
8306         -Wno-error=undef.
8307         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
8308         * manual/install.texi (Configuring and compiling): Document
8309         --disable-werror.
8310         * INSTALL: Regenerated.
8311         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
8312         (CFLAGS-tst-chk2.c): Likewise.
8313         (CFLAGS-tst-chk3.c): Likewise.
8314         (CFLAGS-tst-chk4.cc): Likewise.
8315         (CFLAGS-tst-chk5.cc): Likewise.
8316         (CFLAGS-tst-chk6.cc): Likewise.
8317         (CFLAGS-tst-lfschk1.c): Likewise.
8318         (CFLAGS-tst-lfschk2.c): Likewise.
8319         (CFLAGS-tst-lfschk3.c): Likewise.
8320         (CFLAGS-tst-lfschk4.cc): Likewise.
8321         (CFLAGS-tst-lfschk5.cc): Likewise.
8322         (CFLAGS-tst-lfschk6.cc): Likewise.
8324         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
8325         (main): Disable -Wdeprecated-declarations around calls to
8326         register_printf_function.
8328         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
8329         (do_test): Disable -Wdiv-by-zero around some calls to
8330         fwrite_unlocked and fread_unlocked.
8332         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
8333         (DIAG_POP_NEEDS_COMMENT): Likewise.
8334         (_DIAG_STR1): Likewise.
8335         (_DIAG_STR): Likewise.
8336         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
8337         * stdio-common/bug21.c: Include <libc-internal.h>.
8338         (do_test): Disable -Wformat around call to sscanf.
8339         * stdio-common/scanf14.c: Include <libc-internal.h>.
8340         (main): Disable -Wformat around some calls to scanf functions.
8342 2014-12-09  Torvald Riegel  <triegel@redhat.com>
8344         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
8346 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8348         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
8349         stack variable alignment.
8351 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
8353         [BZ #17682]
8354         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
8355         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
8356         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
8357         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
8358         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
8359         __getrlimit instead of getrlimit.
8360         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
8361         __gettimeofday instead of gettimeofday.
8362         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
8363         Likewise.
8364         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
8365         Likewise.
8366         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8367         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
8368         Remove variable.
8369         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8370         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8372 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8374         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
8375         for wide-character tests.
8377 2014-12-04  Roland McGrath  <roland@hack.frob.com>
8379         * io/openat64.c: #include <libc-internal.h>
8380         (__openat64): Prototypify.  Use ignore_value on MODE.
8381         * io/openat.c: Likewise.
8382         * misc/reboot.c: #include <libc-internal.h>
8383         (reboot): Prototypify.  Use ignore_value on HOWTO.
8384         * misc/ptrace.c: #include <libc-internal.h>
8385         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
8387 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
8389         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
8390         XPG4, UNIX98 and XOPEN2K.
8391         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
8392         Remove variable.
8393         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8395 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8397         * libio/fileops.c: Use ISO C style for function definitions.
8398         * libio/iofopen.c: Likewise.
8399         * libio/wfileops.c: Likewise.
8401         [BZ #17653]
8402         * libio/fileops.c (_IO_new_file_underflow): Unset cached
8403         offset on EOF.
8404         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
8405         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
8406         (fgets_func): Function pointer to fgets and fgetws.
8407         (do_ftell_test): Add test to verify ftell value after read
8408         EOF.
8409         (do_test): Set fgets_func.
8411         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
8412         O_TRUNC flag for w and w+ modes.
8413         (do_rewind_test): Likewise.
8414         (do_ftell_test): Likewise.
8415         (do_write_test): Likewise.
8417         [BZ #17647]
8418         * libio/fileops.c (do_ftell): Seek only when there are
8419         unflushed writes.
8420         * libio/wfileops.c (do_ftell_wide): Likewise.
8421         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
8422         test case.
8423         (do_one_test): Call it.
8425 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
8427         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
8428         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
8429         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
8430         Remove variable.
8431         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8432         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8433         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8435 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8437         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
8438         Remove variable.
8439         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8441         [BZ #17668]
8442         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
8443         as weak alias of __getifaddrs.  Use libc_hidden_weak.
8444         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8445         __freeifaddrs.  Use libc_hidden_weak.
8446         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
8447         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
8448         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8449         __freeifaddrs.  Use libc_hidden_weak.
8450         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
8451         __getifaddrs and define as weak alias of __getifaddrs.  Use
8452         libc_hidden_weak.
8453         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
8454         __freeifaddrs.  Use libc_hidden_weak.
8455         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
8456         Remove variable.
8457         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8458         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8460 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
8462         [BZ #17601]
8463         * sysdeps/mips/start.S (__start): Use indirect jump to call
8464         __libc_start_main.
8466 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
8468         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
8470         * nptl/tst-mutex1.c: Include <stdbool.h>.
8471         [!ATTR] (ATTR_NULL): New macro.
8472         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
8473         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
8474         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
8476         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
8477         to char *.
8479         [BZ #17665]
8480         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
8481         Change conditional to [__USE_MISC].
8483         [BZ #17664]
8484         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
8485         fgets_unlocked.
8486         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
8487         __fgets_unlocked.
8488         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
8489         fgets_unlocked.
8490         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
8491         Remove variable.
8492         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8493         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8494         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8495         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8496         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8497         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8498         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8499         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8500         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8502         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
8504 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8506         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8507         Remove strpbrk objects.
8508         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8509         (__libc_ifunc_impl_list): Remove strpbrk implementation.
8510         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
8511         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
8512         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
8513         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
8515         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8516         Remove strcspn objects.
8517         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8518         (__libc_ifunc_impl_list): Remove strcspn implementation.
8519         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
8520         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
8521         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
8522         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
8524         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8525         Remove strspn objetcs.
8526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8527         (__libc_ifunc_impl_list): Remove strspn implementation.
8528         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
8529         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8530         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
8531         * sysdeps/powerpc/powerpc64/strspn.S: New file.
8533 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
8535         [BZ #17581]
8536         * malloc/hooks.c
8537         (mem2mem_check): Add a terminator to the chain of checking blocks.
8538         (malloc_check_get_size): Use it here.
8539         (mem2chunk_check): Ditto.
8541 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8543         * sysdeps/powerpc/powerpc64/strtok.S: New file.
8544         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
8546 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
8548         * bits/ioctl-types.h: Indent preprocessor directives correctly.
8550         * nptl/nptl-init.c: Include libc-internal.h.
8551         (__pthread_initialize_minimal_internal): Use ROUND_UP.
8553         * elf/ldconfig.c (search_dir): Expand comment.
8555 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
8557         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
8558         variable.
8559         (linknamespace-symlist-stdlibs-tests): Likewise.
8560         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
8561         instead of $(objpfx)symlist-stdlibs.
8562         (linknamespace-libs-isoc): New variable.
8563         (linknamespace-libs): Use $(linknamespace-libs-isoc).
8564         (linknamespace-libs-ISO): New variable.
8565         (linknamespace-libs-ISO99): Likewise.
8566         (linknamespace-libs-ISO11): Likewise.
8567         (linknamespace-libs-XPG3): Likewise.
8568         (linknamespace-libs-XPG4): Likewise.
8569         (linknamespace-libs-POSIX): Likewise.
8570         (linknamespace-libs-UNIX98): Likewise.
8571         (linknamespace-libs-XOPEN2K): Likewise.
8572         (linknamespace-libs-POSIX2008): Likewise.
8573         (linknamespace-libs-XOPEN2K8): Likewise.
8574         ($(objpfx)symlist-stdlibs): Replace by
8575         $(linknamespace-symlist-stdlibs-tests).  Use
8576         $(linknamespace-libs-$*) as set of libraries.
8577         ($(linknamespace-header-tests)): Update dependencies.  Use
8578         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
8579         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
8580         * conform/linknamespace.pl: Remove comment about considering
8581         definitions of symbols from irrelevant libraries.
8583 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
8585         [BZ #13862]
8586         * elf/dl-tls.c: Include <atomic.h>.
8587         (oom): Remove #ifdef SHARED/#endif.
8588         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
8589         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
8590         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
8591         big enough.
8592         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
8593         * nptl/Makefile (tests): Add tst-stack4.
8594         (modules-names): Add tst-stack4mod.
8595         ($(objpfx)tst-stack4): New.
8596         (tst-stack4mod.sos): Likewise.
8597         ($(objpfx)tst-stack4.out): Likewise.
8598         ($(tst-stack4mod.sos)): Likewise.
8599         (clean): Likewise.
8600         * nptl/tst-stack4.c: New file.
8601         * nptl/tst-stack4mod.c: Likewise.
8603 2014-11-27  J. Brown  <jb999@gmx.de>
8605         * sysdeps/x86/bits/string.h: Add recent CPUs.
8607 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8609         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
8610         sigblock.
8612         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
8613         feof.
8615         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
8616         variable.
8618 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
8620         * nscd/connections.c: Include libc-internal.h because of macro
8621         usage ignore_value.
8623 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8625         * string/bits/string3.h (__warn_memset_zero_len): Don't
8626         declare for gcc newer than 5.0.
8627         (memset): Don't test for zero-length __LEN for gcc newer than
8628         5.0.
8630 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
8632         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
8633         size_t for %zu format.
8635         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
8636         difference, not %ju.
8638 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8640         * include/libc-internal.h (ignore_value): New macro.
8641         * nscd/connections.c (restart): Wrap calls to setuid and setgid
8642         with ignore_value.
8644         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
8645         definition.
8647         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
8648         pthread_cleanup_push to void *.
8650         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
8651         Undefine.
8653         [BZ #16619]
8654         [BZ #16740]
8655         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
8656         instead of 1L << 52.
8658         * libio/bug-rewind.c (do_test): Check fwscanf return values.
8659         * libio/bug-rewind2.c (do_test): Likewise.
8661         * debug/test-stpcpy_chk-ifunc.c: Remove file.
8662         * debug/test-strcpy_chk-ifunc.c: Likewise.
8663         * wcsmbs/test-wcschr-ifunc.c: Likewise.
8664         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
8665         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
8666         * wcsmbs/test-wcslen-ifunc.c: Likewise.
8667         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
8668         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
8669         * Rules [$(multi-arch) = no] (tests): Do not filter out
8670         $(tests-ifunc).
8671         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
8672         * debug/Makefile (tests-ifunc): Remove variable.
8673         (tests): Do not add $(tests-ifunc).
8674         * wcsmbs/Makefile (tests-ifunc): Remove variable.
8675         (tests): Do not add $(tests-ifunc).
8676         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
8677         [TEST_IFUNC]: Remove conditionals.
8678         * string/test-string.h (TEST_IFUNC): Remove macro.
8679         [TEST_IFUNC]: Remove conditionals.
8681         * string/test-strchr.c [!WIDE] (L): New macro.
8682         [WIDE] (L): Likewise.
8683         (check1): Use CHAR instead of char.  Use L on string and character
8684         constants.
8686 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
8688         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
8689         tests.
8690         * sysdeps/powerpc/bits/atomic.h
8691         (__arch_atomic_exchange_and_add_32_acq): Add definition.
8692         (__arch_atomic_exchange_and_add_32_rel): Likewise.
8693         (atomic_exchange_and_add_acq): Likewise.
8694         (atomic_exchange_and_add_rel): Likewise.
8695         * sysdeps/powerpc/powerpc32/bits/atomic.h
8696         (__arch_atomic_exchange_and_add_64_acq): Add definition.
8697         (__arch_atomic_exchange_and_add_64_rel): Likewise.
8698         * sysdeps/powerpc/powerpc64/bits/atomic.h
8699         (__arch_atomic_exchange_and_add_64_acq): Add definition.
8700         (__arch_atomic_exchange_and_add_64_rel): Likewise.
8702 2014-11-26  Torvald Riegel  <triegel@redhat.com>
8704         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
8705         Change synchronization of __sched_fifo_min_prio and
8706         __sched_fifo_max_prio.
8707         * nptl/pthread_mutexattr_getprioceiling.c
8708         (pthread_mutexattr_getprioceiling): Likewise.
8709         * nptl/pthread_mutexattr_setprioceiling.c
8710         (pthread_mutexattr_setprioceiling): Likewise.
8711         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
8712         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8713         Likewise.
8715 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
8717         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
8718         void.
8720 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8722         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
8723         third argument const.
8725 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
8727         fnmatch: work around GCC compiler warning bug with uninit var
8728         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
8729         This works around a bug with x86-64 GCC 4.9.2 and earlier
8730         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
8731         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
8732         used uninitialized in this function [-Wmaybe-uninitialized]".
8734 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
8736         * posix/bug-regex31.c (main): Return RES not 0.
8738 2014-11-25  Anton Blanchard <anton@samba.org>
8740         * sysdeps/powerpc/bits/atomic.h
8741         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
8743 2014-11-24  Sterling Augustine  <saugustine@google.com>
8745         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
8747 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
8749         [BZ #17608]
8750         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
8752 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
8754         [BZ #17633]
8755         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
8756         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
8757         variable.
8758         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8759         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8761 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8763         * string/strncpy.c (strncpy): Improve performance by using memset.
8765 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
8767         * string/strcpy.c (strcpy):
8768         Improve performance by using strlen and memcpy.
8770 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
8772         * string/strcoll_l.c (get_next_seq): __always_inline.
8773         * string/strcoll_l.c (do_compare): __always_inline.
8775 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8777         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
8778         defined.
8779         * include/mqueue.h: Likewise.
8780         * include/stdlib.h: Likewise.
8782         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
8783         (get_null_defines): Adjust.
8784         * sunrpc/Makefile: Adjust comment.
8785         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
8786         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
8787         (CFLAGS-interp.c): Likewise.
8788         (CFLAGS-ldconfig.c): Likewise.
8789         (CPPFLAGS-.os): Likewise.
8790         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8791         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8792         * extra-modules.mk (extra-modules.mk): Likewise.
8793         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
8794         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
8795         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
8796         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
8797         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
8798         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
8799         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
8800         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
8801         * iconvdata/Makefile (CPPFLAGS): Likewise.
8802         (cpp-srcs-left): Add libof for all iconvdata routines.
8803         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
8804         * include/assert.h: Likewise.
8805         * include/ctype.h: Likewise.
8806         * include/errno.h: Likewise.
8807         * include/libc-symbols.h: Likewise.
8808         * include/math.h: Likewise.
8809         * include/netdb.h: Likewise.
8810         * include/resolv.h: Likewise.
8811         * include/stdio.h: Likewise.
8812         * include/stdlib.h: Likewise.
8813         * include/string.h: Likewise.
8814         * include/sys/stat.h: Likewise.
8815         * include/wctype.h: Likewise.
8816         * intl/l10nflist.c: Likewise.
8817         * libidn/idn-stub.c: Likewise.
8818         * libio/libioP.h: Likewise.
8819         * nptl/libc_multiple_threads.c: Likewise.
8820         * nptl/pthreadP.h: Likewise.
8821         * posix/regex_internal.h: Likewise.
8822         * resolv/res_hconf.c: Likewise.
8823         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
8824         * sysdeps/arm/memmove.S: Likewise.
8825         * sysdeps/arm/sysdep.h: Likewise.
8826         * sysdeps/generic/_itoa.h: Likewise.
8827         * sysdeps/generic/symbol-hacks.h: Likewise.
8828         * sysdeps/gnu/errlist.awk: Likewise.
8829         * sysdeps/gnu/errlist.c: Likewise.
8830         * sysdeps/i386/i586/memcpy.S: Likewise.
8831         * sysdeps/i386/i586/memset.S: Likewise.
8832         * sysdeps/i386/i686/memcpy.S: Likewise.
8833         * sysdeps/i386/i686/memmove.S: Likewise.
8834         * sysdeps/i386/i686/mempcpy.S: Likewise.
8835         * sysdeps/i386/i686/memset.S: Likewise.
8836         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
8837         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
8838         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
8839         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
8840         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
8841         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8842         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
8843         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
8844         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
8845         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
8846         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
8847         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
8848         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
8849         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
8850         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
8851         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
8852         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
8853         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
8854         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
8855         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
8856         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8857         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8858         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
8859         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
8860         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
8861         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8862         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
8863         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
8864         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
8865         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
8866         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
8867         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8868         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8869         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8870         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8871         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
8872         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
8873         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
8874         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
8875         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
8876         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
8877         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
8878         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
8879         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
8880         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
8881         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
8882         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
8883         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
8884         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
8885         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8886         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
8887         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
8888         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
8889         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
8890         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8891         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
8892         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
8893         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
8894         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
8895         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
8896         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8897         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
8898         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
8899         * sysdeps/nptl/bits/libc-lock.h: Likewise.
8900         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8901         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
8902         * sysdeps/posix/closedir.c: Likewise.
8903         * sysdeps/posix/opendir.c: Likewise.
8904         * sysdeps/posix/readdir.c: Likewise.
8905         * sysdeps/posix/rewinddir.c: Likewise.
8906         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
8907         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
8908         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8909         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8910         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8911         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
8912         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
8913         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
8914         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8915         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
8916         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8917         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8918         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8919         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
8920         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
8921         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
8922         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8923         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8924         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
8925         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
8926         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8927         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
8928         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
8929         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8930         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
8931         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
8932         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
8933         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8934         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8935         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
8936         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
8937         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
8938         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
8939         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
8940         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
8941         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
8942         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8943         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8944         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
8945         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
8946         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
8947         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
8948         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8949         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
8950         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
8951         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
8952         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
8953         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8954         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
8955         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
8956         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
8957         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8958         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
8959         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8960         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8961         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
8962         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
8963         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8964         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8965         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
8966         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
8967         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8968         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
8969         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8970         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
8971         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
8972         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
8973         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
8974         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
8975         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
8976         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
8977         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8978         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
8979         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8980         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8981         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
8982         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
8983         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8984         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
8985         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
8986         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8987         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8988         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
8989         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
8990         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8991         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
8992         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
8993         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8994         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8995         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8996         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
8997         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
8998         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
8999         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
9000         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
9001         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
9002         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
9003         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9004         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
9005         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
9006         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9007         * sysdeps/unix/alpha/sysdep.S: Likewise.
9008         * sysdeps/unix/alpha/sysdep.h: Likewise.
9009         * sysdeps/unix/make-syscalls.sh: Likewise.
9010         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9011         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9012         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9013         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
9014         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9015         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
9016         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
9017         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9018         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9019         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
9020         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9021         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9022         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9023         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9024         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9025         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9026         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9027         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9028         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9029         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9030         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
9031         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9032         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9033         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9034         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9035         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9036         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9039         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
9040         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9041         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9042         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9043         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9044         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9045         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9046         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9047         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9048         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9049         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
9050         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9051         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9052         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9053         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9054         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9055         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9056         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9057         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9058         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9059         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9060         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9061         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9062         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9063         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9064         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
9065         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9066         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9067         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9068         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
9069         * sysdeps/x86_64/memcpy.S: Likewise.
9070         * sysdeps/x86_64/memmove.c: Likewise.
9071         * sysdeps/x86_64/memset.S: Likewise.
9072         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
9073         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9074         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9075         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
9076         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9077         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9078         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9079         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9080         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9081         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9082         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9083         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9084         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
9085         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9086         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9087         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
9088         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9089         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
9090         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
9091         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
9092         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
9093         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
9094         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9095         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
9096         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
9097         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
9098         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
9099         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
9100         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
9101         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
9102         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
9103         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
9104         * sysdeps/x86_64/strcmp.S: Likewise.
9106         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
9108         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
9109         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
9110         * elf/rtld-Rules: Likewise.
9111         * elf/setup-vdso.h: Likewise.
9112         * include/assert.h: Likewise.
9113         * include/bits/stdlib-float.h: Likewise.
9114         * include/errno.h: Likewise.
9115         * include/sys/stat.h: Likewise.
9116         * include/unistd.h: Likewise.
9117         * sysdeps/aarch64/setjmp.S: Likewise.
9118         * sysdeps/alpha/setjmp.S: Likewise.
9119         * sysdeps/arm/__longjmp.S: Likewise.
9120         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
9121         * sysdeps/arm/setjmp.S: Likewise.
9122         * sysdeps/arm/sysdep.h: Likewise.
9123         * sysdeps/generic/_itoa.h: Likewise.
9124         * sysdeps/generic/dl-sysdep.h: Likewise.
9125         * sysdeps/generic/ldsodefs.h: Likewise.
9126         * sysdeps/i386/dl-tls.h: Likewise.
9127         * sysdeps/i386/setjmp.S: Likewise.
9128         * sysdeps/m68k/setjmp.c: Likewise.
9129         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
9130         * sysdeps/mach/hurd/opendir.c: Likewise.
9131         * sysdeps/posix/getcwd.c: Likewise.
9132         * sysdeps/posix/opendir.c: Likewise.
9133         * sysdeps/posix/profil.c: Likewise.
9134         * sysdeps/powerpc/dl-procinfo.h: Likewise.
9135         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
9136         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
9137         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
9138         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
9139         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
9140         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
9141         * sysdeps/s390/dl-tls.h: Likewise.
9142         * sysdeps/s390/s390-32/setjmp.S: Likewise.
9143         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9144         * sysdeps/sh/sh3/setjmp.S: Likewise.
9145         * sysdeps/sh/sh4/setjmp.S: Likewise.
9146         * sysdeps/unix/alpha/sysdep.h: Likewise.
9147         * sysdeps/unix/arm/sysdep.S: Likewise.
9148         * sysdeps/unix/i386/sysdep.S: Likewise.
9149         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9150         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9151         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9152         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9153         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9154         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
9155         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
9156         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9157         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
9158         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
9159         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
9160         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9161         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9164         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9165         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9166         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9167         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9168         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9169         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9170         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9171         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9172         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9173         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9174         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9175         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9176         * sysdeps/unix/x86_64/sysdep.S: Likewise.
9177         * sysdeps/x86_64/setjmp.S: Likewise.
9179         * include/math.h: Use IS_IN instead of IS_IN_libm.
9180         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
9181         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9182         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
9183         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9184         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9185         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
9186         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
9187         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9188         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9189         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
9190         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
9191         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9192         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
9193         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9194         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9195         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
9196         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
9197         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9198         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
9199         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
9200         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
9201         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
9202         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
9203         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
9204         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
9205         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9206         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
9207         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
9208         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
9209         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9210         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
9211         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9212         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9214         Likewise.
9215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
9216         Likewise.
9217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
9218         Likewise.
9219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
9220         Likewise.
9221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
9222         Likewise.
9223         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9224         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
9225         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9226         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9227         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9228         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
9231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
9232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
9233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
9234         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
9235         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
9236         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9237         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9238         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
9239         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9240         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9241         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
9242         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9243         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
9244         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
9245         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
9246         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
9247         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
9248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
9249         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
9251         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
9252         * nptl/pthreadP.h: Likewise.
9253         * nptl_db/structs.def: Likewise.
9254         * sysdeps/arm/sysdep.h: Likewise.
9255         * sysdeps/nptl/bits/libc-lock.h: Likewise.
9256         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
9257         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
9258         * sysdeps/unix/alpha/sysdep.h: Likewise.
9259         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9260         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
9261         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9262         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9263         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9264         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9265         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9266         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9267         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9268         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9269         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9270         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9271         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9272         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
9274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
9275         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9276         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9277         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9278         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9279         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9280         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9281         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
9282         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9283         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
9284         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9286         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
9287         * nptl/pthreadP.h: Likewise.
9288         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
9289         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
9290         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
9291         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
9292         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
9293         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
9294         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
9295         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
9296         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
9297         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
9298         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
9299         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
9300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9301         Likewise.
9302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9303         Likewise.
9304         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
9305         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
9306         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
9307         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
9308         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
9309         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
9310         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
9311         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
9313         * dlfcn/dladdr.c: Use IS_IN.
9314         * dlfcn/dladdr1.c: Likewise.
9315         * dlfcn/dlclose.c: Likewise.
9316         * dlfcn/dlerror.c: Likewise.
9317         * dlfcn/dlinfo.c: Likewise.
9318         * dlfcn/dlmopen.c: Likewise.
9319         * dlfcn/dlopen.c: Likewise.
9320         * dlfcn/dlsym.c: Likewise.
9321         * dlfcn/dlvsym.c: Likewise.
9323         * include/ifaddrs.h: Use IS_IN.
9324         * inet/check_pf.c: Likewise.
9325         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9326         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
9328         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
9329         IS_IN_ldconfig.
9330         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
9331         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
9333         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
9334         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
9335         IS_IN (libc).
9337         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
9339         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
9340         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
9341         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
9342         * include/libc-symbols.h (IS_IN_LIB): New macro.
9343         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
9344         * include/netdb.h: Likewise.
9345         * include/stap-probe.h: Remove all uses of IN_LIB.
9347         * Makeconfig (module-cppflags-real): Define MODULE_NAME
9348         instead of IN_MODULE.
9349         * include/libc-symbols.h (IN_MODULE): Define using
9350         MODULE_NAME.
9351         (PASTE_NAME, PASTE_NAME1): New macros.
9352         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
9353         of IN_LIB.
9354         (STAP_PROBE_ASM): Likewise.
9356 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9358         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
9359         __mach_init in dlopened libc.
9361 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
9363         * sysdeps/arm/preconfigure.ac: Delete EABI check.
9364         * sysdeps/arm/preconfigure: Regenerate.
9366 2014-11-21  Roland McGrath  <roland@hack.frob.com>
9368         * nptl/pthread_create.c (__pthread_create_2_1): Set
9369         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
9370         when copying values from IATTR into PD.
9372 2014-11-21  Will Newton  <will.newton@linaro.org>
9373             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
9375         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
9376         Refactor inline-asm.  Also add comment.
9378         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
9379         ElfW macro instead of hardcoded Elf64 types.
9380         (la_aarch64_gnu_pltenter): Likewise.
9381         * sysdeps/aarch64/dl-machine.h
9382         (elf_machine_runtime_setup): Use ElfW(Addr).
9384         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
9385         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
9386         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
9387         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
9388         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
9389         (R_AARCH64_TLS_DTPMOD64): Rename to ..
9390         (R_AARCH64_TLS_DTPMOD): This.
9391         (R_AARCH64_TLS_DTPREL64): Rename to ...
9392         (R_AARCH64_TLS_DTPREL): This.
9393         (R_AARCH64_TLS_TPREL64): Rename to ...
9394         (R_AARCH64_TLS_TPREL): This.
9395         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
9396         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
9397         R_AARCH64_TLS_TPREL64.
9398         (elf_machine_rela): Likewise.
9400 2014-11-21  Torvald Riegel  <triegel@redhat.com>
9402         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
9403         by setting it to 0.  64b atomics are not supported currently.
9405 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9407         [BZ #16469]
9408         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
9409         search domain names.
9411 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9413         [BZ #16469]
9414         * NEWS: Update.
9415         * resolv/res_query.c (__libc_res_nquerydomain): Retain
9416         trailing dot.
9417         * posix/tst-getaddrinfo5.c: New.
9418         * posix/Makefile (tests): Add it.
9420 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9422         [BZ #14498]
9423         * NEWS: Fixed.
9424         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
9425         after parsing line but before break_if_match.
9426         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
9427         if there is a protocol mismatch.
9429 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
9431         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
9432         because the potential race is on the user-supplied stream.
9434 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9436         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
9437         string literal if not passed a buffer.
9438         * manual/job.texi (ctermid): Update reasoning, note deviation
9439         from posix, suggest mtasurace when not passed a buffer, for
9440         future non-preliminary safety notes.
9442 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9444         * manual/users.texi (cuserid): Fix MT-Safety note for the case
9445         of not passing it a buffer.
9446         Reported by Peng Haitao.
9448 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
9450         * manual/Makefile ($(objpfx)stamp-summary): Require
9451         check-safety.sh to pass.
9452         * manual/check-safety.sh: Wish for verification that every
9453         @deftypefn and @deftypefun is followed by a @safety remark.
9455 2014-11-20  Roland McGrath  <roland@hack.frob.com>
9457         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
9459         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
9460         PTHREAD_CANCEL_ASYNCHRONOUS.
9461         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
9462         send SIGCANCEL.
9464         * nptl/default-sched.h: New file.
9465         * sysdeps/unix/sysv/linux/default-sched.h: New file.
9466         * nptl/pthread_create.c: Include it.
9467         (__pthread_create_2_1): Use collect_default_sched instead of making
9468         Linux syscalls here directly.
9470 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9472         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
9473         __pthread_once): Use C11 atomics.
9475 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9477         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
9479 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9481         * include/atomic.h (__atomic_link_error, __atomic_check_size,
9482         atomic_thread_fence_acquire, atomic_thread_fence_release,
9483         atomic_thread_fence_seq_cst, atomic_load_relaxed,
9484         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
9485         atomic_compare_exchange_weak_relaxed,
9486         atomic_compare_exchange_weak_acquire,
9487         atomic_compare_exchange_weak_release,
9488         atomic_exchange_acquire, atomic_exchange_release,
9489         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
9490         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
9491         atomic_fetch_and_acquire,
9492         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
9494 2014-11-20  Torvald Riegel  <triegel@redhat.com>
9496         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
9497         USE_ATOMIC_COMPILER_BUILTINS): Define.
9498         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
9499         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9500         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
9501         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9502         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
9503         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9504         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
9505         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9506         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
9507         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9508         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
9509         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9510         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
9511         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9512         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
9513         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9514         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9515         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9516         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9517         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9518         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
9519         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9520         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
9521         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9522         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
9523         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9524         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
9525         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9526         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
9527         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9528         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
9529         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9530         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
9531         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9532         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9533         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9534         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
9535         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9536         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
9537         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
9539 2014-11-19  Roland McGrath  <roland@hack.frob.com>
9541         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
9542         the sched_priority value here.  It was already checked when the user
9543         called pthread_attr_setschedparam.
9545         * nptl/tst-bad-schedattr.c: New file.
9546         * nptl/Makefile (tests): Add it.
9548 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
9549             Florian Weimer  <fweimer@redhat.com>
9550             Joseph Myers  <joseph@codesourcery.com>
9551             Adam Conrad  <adconrad@0c3.net>
9552             Andreas Schwab  <schwab@suse.de>
9553             Brooks  <bmoses@google.com>
9555         [BZ #17625]
9556         * wordexp-test.c (__dso_handle): Add prototype.
9557         (__register_atfork): Likewise.
9558         (__app_register_atfork): New function.
9559         (registered_forks): New global.
9560         (register_fork): New function.
9561         (test_case): Add 3 new tests for WRDE_CMDSUB.
9562         (main): Call __app_register_atfork.
9563         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
9564         fork count is non-zero fail the test.
9565         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
9566         is set.
9567         (parse_dollars): Remove check for WRDE_NOCMD.
9568         (parse_dquote): Likewise.
9570 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9572         * Makeconfig (built-modules): List non-library modules to be
9573         built.
9574         (module-cppflags): Include libc-modules.h for
9575         everything except shlib-versions.v.i.
9576         (CPPFLAGS): Use it.
9577         (before-compile): Add libc-modules.h.
9578         ($(common-objpfx)libc-modules.h,
9579         $(common-objpfx)libc-modules.stmp): New targets.
9580         (common-generated): Add libc-modules.h and libc-modules.stmp.
9581         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
9582         * include/libc-symbols.h: Don't include libc-modules.h.
9583         * include/libc-modules.h: Remove file.
9584         * scripts/gen-libc-modules.awk: New script to generate
9585         libc-modules.h.
9586         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
9587         Depend on libc-modules.stmp.
9589         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
9591         * Makeconfig (in-module): Get value of libof set for the
9592         translation unit.
9593         (CPPFLAGS): Use $(in-module).
9594         * Makerules: Don't suffix routine names for nonlib.
9595         * include/libc-modules.h: New file.
9596         * include/libc-symbols.h: Include libc-modules.h
9597         (IS_IN): New macro to replace IS_IN_* macros.
9598         * elf/Makefile: Set libof-* for each routine.
9599         * elf/rtld-Rules: Likewise.
9600         * extra-modules.mk: Likewise.
9601         * iconv/Makefile: Likewise.
9602         * iconvdata/Makefile: Likewise.
9603         * locale/Makefile: Likewise.
9604         * malloc/Makefile: Likewise.
9605         * nss/Makefile: Likewise.
9606         * sysdeps/gnu/Makefile: Likewise.
9607         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
9608         * sysdeps/unix/sysv/linux/Makefile: Likewise.
9609         * sysdeps/s390/s390-64/Makefile: Likewise.
9610         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
9611         CPPFLAGS for nscd instead of nonlib.
9613 2014-11-18  Roland McGrath  <roland@hack.frob.com>
9615         * nptl/createthread.c: New file.
9617         * nptl/createthread.c: Moved ...
9618         * sysdeps/unix/sysv/linux/createthread.c: ... here.
9620         * nptl/createthread.c: Add proper top-line comment.
9621         (do_clone): Folded into ...
9622         (create_thread): ... here.  Take new arguments STOPPED_START and
9623         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
9624         increment __nptl_threads, do event-reporting logic, do
9625         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
9626         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
9627         resource cleanup if sched_setaffinity or sched_setscheduler fails,
9628         just send SIGCANCEL.
9629         * nptl/pthread_create.c: Forward-declare create_thread before
9630         including createthread.c.
9631         (start_thread): Use new macro START_THREAD_DEFN to replace defining
9632         declaration, and new macro START_THREAD_SELF to replace argument.
9633         Remove return statement.
9634         (report_thread_creation): New function.
9635         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
9636         synchronization logic, and __nptl_nthreads increment here, around
9637         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
9638         PD->parent_cancelhandling here, before create_thread.  When
9639         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
9640         __deallocate_stack, and ENOMEM translation here.
9642 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
9644         [BZ #17616]
9645         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
9646         (mptwo): Rename to __mptwo.
9647         (__inv): Use __mptwo instead of mptwo.
9648         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
9649         (mptwo): Rename to __mptwo.
9650         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
9651         of mpone and __mptwo instead of mptwo.
9652         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
9653         instead of mpone.
9654         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9655         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
9656         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
9657         of mpone and __mptwo instead of mptwo.
9658         (__mpranred): Use __mpone instead of mpone.
9659         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
9660         variable.
9661         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9662         (test-xfail-ISO99/math.h/linknamespace): Likewise.
9663         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9664         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9665         (test-xfail-ISO11/math.h/linknamespace): Likewise.
9666         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9667         (test-xfail-XPG3/math.h/linknamespace): Likewise.
9668         (test-xfail-XPG4/math.h/linknamespace): Likewise.
9669         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9670         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9671         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9672         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9673         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9674         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9675         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9676         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9677         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9678         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9679         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
9681 2014-11-18  Tom de Vries  <tom@codesoucery.com>
9683         * manual/signal.texi (Primitives Interrupted by Signals): In section,
9684         replace BSD Handler xref with BSD Signal Handling.
9686 2014-11-17  Richard Henderson  <rth@redhat.com>
9688         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
9689         (_FP_PACK_RAW_2): Remove.
9690         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
9691         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
9692         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
9693         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
9694         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
9695         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
9696         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
9697         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
9698         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
9699         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
9700         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
9701         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
9702         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
9703         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
9704         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
9705         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
9707 2014-11-14  Roland McGrath  <roland@hack.frob.com>
9709         * signal/signal.h [__USE_MISC]
9710         (struct sigvec): Remove type.
9711         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
9712         (sigvec): Remove declaration.
9713         * sysdeps/posix/sigvec.c: Moved ...
9714         * signal/sigvec.c: ... here, replacing old file.
9715         (struct sigvec): New type, copied from old signal.h definition.
9716         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
9717         (__sigvec): Convert definition to prototype.
9718         (sigvec): Replace weak_alias with compat_symbol.
9719         * signal/Versions (libc: GLIBC_2.21): New version set.
9720         * include/signal.h: Remove __sigvec declaration.
9721         * sysdeps/unix/bsd/sigvec.c: Remove file.
9722         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
9723         * manual/signal.texi (BSD Handler): Remove subsection.
9724         Move siginterrupt up to ...
9725         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
9726         (Blocking in BSD): Fold subsection into its parent.
9727         * NEWS: Mention sigvec removal.
9729 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9731         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
9732         (DLA_FMS): Make definition conditional only on [__FMA4__].
9733         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
9734         definition.
9736         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
9737         Make definition conditional only on [PROF].
9738         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
9739         definition.
9740         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
9741         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
9743         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
9744         !__GNUC__].
9745         * include/signal.h (__sigpause): Move declaration above call to
9746         libc_hidden_proto.
9747         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
9748         variable.
9749         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9750         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9752 2014-11-14  David S. Miller  <davem@davemloft.net>
9754         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
9755         Define before including <string/memcpy.c> and <string/mempcpy.c>.
9757 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
9759         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
9760         * configure: Regenerated.
9761         * manual/install.texi (Tools for Compilation): Document a
9762         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
9763         compiler verified to work.
9764         * INSTALL: Regenerated.
9766         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
9767         redeclare with asm name.
9768         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
9769         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
9770         including <string.h>.
9771         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9772         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
9773         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9774         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
9775         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9776         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
9777         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
9779 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
9781         * stdlib/strtol.c (__strtol): Use prototype definition.
9783         [BZ #17594]
9784         * stdlib/strtol.c (SYM__): New macro.
9785         (SYM__1): Likewise.
9786         (__strtol): Likewise.
9787         (strtol): Rename to __strtol and define as weak alias of
9788         __strtol.  Use libc_hidden_weak.
9790 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9792         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
9793         Use numbered labels in inline assembly.
9795 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9797         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
9798         Add setjmp LIBC_PROBE.
9799         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
9800         Likewise.
9801         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
9802         Add longjmp, longjmp_target LIBC_PROBE.
9803         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
9804         Likewise.
9806 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9808         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
9809         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
9810         to get rid of unused variable warning.
9812 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
9814         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
9815         Check for unwind_backtrace ==  NULL only in SHARED case.
9816         (__backchain_backtrace): Compile only in SHARED case.
9817         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
9818         Likewise.
9819         (__backchain_backtrace): Declare as static.
9821 2014-11-12  Roland McGrath  <roland@hack.frob.com>
9823         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
9824         (__libc_multiple_threads_ptr): Variable moved ...
9825         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
9827 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
9829         * conform/GlibcConform.pm: New file.
9830         * conform/conformtest.pl: Use GlibcConform module.
9831         * conform/linknamespace.pl: New file.
9832         * conform/list-header-symbols.pl: Likewise.
9833         * conform/Makefile (linknamespace-symlists-base): New variable.
9834         (linknamespace-symlists-tests): Likewise.
9835         (linknamespace-header-base): Likewise.
9836         (linknamespace-header-tests): Likewise.
9837         (tests-special): Add new tests.
9838         ($(linknamespace-symlists-tests)): New rule.
9839         (linknamespace-libs): New variable.
9840         ($(objpfx)symlist-stdlibs): New rule.
9841         ($(linknamespace-header-tests)): Likewise.
9842         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
9843         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
9844         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
9845         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
9846         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
9847         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
9848         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
9849         (test-xfail-ISO/math.h/linknamespace): Likewise.
9850         (test-xfail-ISO/signal.h/linknamespace): Likewise.
9851         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
9852         (test-xfail-ISO/time.h/linknamespace): Likewise.
9853         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
9854         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
9855         (test-xfail-ISO99/math.h/linknamespace): Likewise.
9856         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
9857         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
9858         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
9859         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
9860         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
9861         (test-xfail-ISO11/math.h/linknamespace): Likewise.
9862         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
9863         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
9864         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
9865         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
9866         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
9867         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
9868         (test-xfail-XPG3/math.h/linknamespace): Likewise.
9869         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
9870         (test-xfail-XPG3/search.h/linknamespace): Likewise.
9871         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
9872         (test-xfail-XPG3/time.h/linknamespace): Likewise.
9873         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
9874         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
9875         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
9876         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
9877         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
9878         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
9879         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
9880         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
9881         (test-xfail-XPG4/math.h/linknamespace): Likewise.
9882         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
9883         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
9884         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
9885         (test-xfail-XPG4/search.h/linknamespace): Likewise.
9886         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
9887         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
9888         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
9889         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
9890         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
9891         (test-xfail-XPG4/time.h/linknamespace): Likewise.
9892         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
9893         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
9894         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
9895         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
9896         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
9897         (test-xfail-POSIX/math.h/linknamespace): Likewise.
9898         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
9899         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
9900         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
9901         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
9902         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
9903         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
9904         (test-xfail-POSIX/time.h/linknamespace): Likewise.
9905         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
9906         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
9907         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
9908         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
9909         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
9910         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
9911         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
9912         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
9913         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
9914         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
9915         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
9916         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
9917         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
9918         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
9919         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
9920         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
9921         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
9922         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
9923         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
9924         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
9925         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
9926         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
9927         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
9928         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
9929         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
9930         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
9931         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
9932         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
9933         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
9934         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
9935         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
9936         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
9937         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
9938         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
9939         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
9940         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
9941         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
9942         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
9943         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
9944         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
9945         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
9946         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
9947         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
9948         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
9949         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
9950         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
9951         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
9952         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
9953         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
9954         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
9955         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
9956         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
9957         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
9958         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
9959         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
9960         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
9961         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
9962         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
9963         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
9964         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
9965         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
9966         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
9967         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
9968         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
9969         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
9970         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
9971         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
9972         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
9973         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
9974         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
9975         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
9976         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
9977         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
9978         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
9979         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
9980         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
9981         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
9982         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
9983         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
9984         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
9985         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
9986         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
9987         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
9988         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
9989         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
9990         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
9991         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
9992         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
9993         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
9994         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
9995         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
9996         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
9997         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
9998         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
9999         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
10000         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
10001         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
10002         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
10004         [BZ #17589]
10005         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
10006         of fgets_unlocked.
10008         [BZ #17585]
10009         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
10010         (memmem): Rename to __memmem and define as weak alias of
10011         __memmem.  Use libc_hidden_weak.
10012         (__memmem): Use libc_hidden_def.
10013         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
10014         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
10015         memmem.
10017         [BZ #17582]
10018         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
10019         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
10020         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
10021         and define as weak alias of __fgets_unlocked.  Use
10022         libc_hidden_weak.
10023         (__fgets_unlocked): Use libc_hidden_def.
10024         * include/stdio.h (__fgets_unlocked): Declare.  Use
10025         libc_hidden_proto.
10026         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
10027         __fgets_unlocked instead of fgets_unlocked.
10028         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
10029         (GET_NPROCS_CONF_PARSER): Likewise.
10030         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
10031         (GET_NPROCS_CONF_PARSER): Likewise.
10033         [BZ #17574]
10034         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
10035         weak alias of __wmemset.  Use libc_hidden_weak.
10036         (__wmemset): Use libc_hidden_def.
10037         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
10038         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
10039         of wmemset.
10041         [BZ #17573]
10042         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
10043         with asm name __mempcpy.
10044         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
10046         [BZ #17572]
10047         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
10048         and define as weak alias of __rawmemchr.
10049         (__rawmemchr): Do not define as strong alias of rawmemchr.
10051         [BZ #17571]
10052         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
10053         alias of __qsort_r.
10054         (qsort): Call __qsort_r instead of qsort_r.
10055         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
10056         (__qsort_r): Declare.  Call libc_hidden_proto.
10057         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
10058         instead of qsort_r.
10059         * nscd/gai.c (__qsort_r): Define to qsort_r.
10060         * posix/tst-rfc3484.c (__qsort_r): Likewise.
10061         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
10062         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
10064         [BZ #17570]
10065         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
10066         define as weak alias of __malloc_info.
10068         [BZ #17584]
10069         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
10070         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10071         (__rewinddir): Use libc_hidden_def.
10072         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
10073         as weak alias of __rewinddir.  Don't use libc_hidden_def.
10074         (__rewinddir): Use libc_hidden_def.
10075         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
10076         weak alias of __rewinddir.  Don't use libc_hidden_def.
10077         (__rewinddir): Use libc_hidden_def.
10078         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
10079         (__rewinddir): Use libc_hidden_proto.
10080         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
10081         rewinddir.
10082         (__getcwd): Use __rewinddir instead of rewinddir.
10084         [BZ #17583]
10085         * libio/fileno.c (fileno): Rename to __fileno and define as weak
10086         alias of __fileno.  Use libc_hidden_weak.
10087         (__fileno): Use libc_hidden_def.
10088         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
10089         * libio/ftello.c (ftello): Rename to __ftello and define as weak
10090         alias of __ftello.
10091         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
10092         __ftello.
10093         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
10094         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
10095         libc_hidden_def.
10096         (fread_unlocked): Don't use libc_hidden_ver.
10097         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
10098         and define as weak alias of __fread_unlocked.  Don't use
10099         libc_hidden_def.
10100         (__fread_unlocked): Use libc_hidden_def.
10101         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
10102         (ftello): Don't use libc_hidden_proto.
10103         (__ftello): Declare.  Use libc_hidden_proto.
10104         (fread_unlocked): Don't use libc_hidden_proto.
10105         (__fread_unlocked): Declare.  Use libc_hidden_proto.
10106         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
10107         and __ftello instead of fileno, fread_unlocked and ftello.
10109 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10111         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
10112         GOT12.
10113         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
10114         Likewise.
10115         (_dl_start_user): Likewise.
10116         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
10118 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
10119             Siddhesh Poyarekar  <siddhesh@redhat.com>
10121         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
10122         Move argv and envp down instead of moving argc up.
10123         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
10125 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
10127         [BZ #17506]
10128         * test-skeleton.c (main): Return successful if one of
10129         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
10130         * string/tst-strcoll-overflow.c: Define expected status.
10132 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
10134         [BZ #17475]
10135         * locale/iso-639.def: Define Bhili and Tulu language codes.
10137 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
10139         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
10141 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
10143         [BZ #17555]
10144         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
10146 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
10148         * configure.ac: Updated check of minimal required version to
10149         2.22.
10150         * manual/install.texi (Tools for Compilation): Updated version
10151         number.
10152         * configure: Regenerated.
10153         * INSTALL: Likewise.
10155 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
10157         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
10158         __tls_get_addr.
10160 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
10162         * include/sys/wait.h (__libc_waitpid): Remove declaration.
10163         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
10164         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10165         libc_hidden_weak.
10166         (waitpid): Define as alias of __waitpid.
10167         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
10168         __waitpid.
10169         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10170         libc_hidden_weak.
10171         (waitpid): Define as alias of __waitpid.
10172         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
10173         __libc_waitpid alias.
10174         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
10175         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
10176         Likewise.
10177         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
10178         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
10179         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
10180         alias.
10181         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
10182         __waitpid.
10183         (__waitpid): Don't define as alias.  Use libc_hidden_def not
10184         libc_hidden_weak.
10185         (waitpid): Define as alias of __waitpid.
10187 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
10189         * manual/llio.texi: Add comment that write safety has been
10190         fixed in Linux.
10192         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
10193         (localplt-build-dso): Add elf/ld.so.
10194         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
10195         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
10196         and free for ld.so.
10197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
10198         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
10199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
10200         Likewise.
10201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10202         Likewise.
10203         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
10204         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
10205         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
10206         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
10207         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
10208         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
10209         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
10210         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
10211         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
10212         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
10213         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
10215 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
10217         [BZ #14132]
10218         * include/libc-symbols.h (INTUSE): Remove macro.
10219         (INTDEF): Likewise.
10220         (INTVARDEF): Likewise.
10221         (_INTVARDEF): Likewise.
10222         (INTDEF2): Likewise.
10223         (INTVARDEF2): Likewise.
10224         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
10225         rtld_hidden_def instead of INTVARDEF.
10226         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
10227         (_dl_starting_up_internal): Remove declaration.
10228         (_dl_starting_up): Use rtld_hidden_proto.
10229         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
10230         declaration.
10231         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
10232         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
10233         _dl_starting_up.
10234         * elf/dl-writev.h (_dl_writev): Likewise.
10235         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
10236         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
10237         _dl_starting_up_internal.
10239 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10241         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
10242         test-skeleton.c.
10244 2014-11-05  Will Newton  <will.newton@linaro.org>
10246         * benchtests/Makefile: (bench-malloc): Add malloc thread
10247         scalability benchmark.
10248         * benchtests/bench-malloc-threads.c: New file.
10250 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
10252         * sysdeps/aarch64/strchrnul.S: New file.
10254 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10256         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
10257         definition.
10258         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10259         Likwise.
10260         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10261         Likewise.
10262         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10263         Likewise.
10264         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10265         Likewise.
10266         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10267         Likewise.
10269 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
10271         * catgets/test-gencat.c: Use test-skeleton.c.
10272         * catgets/tst-catgets.c: Likewise.
10273         * csu/tst-empty.c: Likewise.
10274         * elf/tst-audit2.c: Likewise.
10275         * elf/tst-global1.c: Likewise.
10276         * elf/tst-pathopt.c: Likewise.
10277         * elf/tst-piemod1.c: Likewise.
10278         * elf/tst-tls10.c: Likewise.
10279         * elf/tst-tls11.c: Likewise.
10280         * elf/tst-tls12.c: Likewise.
10281         * gnulib/tst-gcc.c: Likewise.
10282         * iconvdata/tst-e2big.c: Likewise.
10283         * iconvdata/tst-loading.c: Likewise.
10284         * iconv/tst-iconv1.c: Likewise.
10285         * iconv/tst-iconv2.c: Likewise.
10286         * inet/test-inet6_opt.c: Likewise.
10287         * inet/tst-gethnm.c: Likewise.
10288         * inet/tst-network.c: Likewise.
10289         * inet/tst-ntoa.c: Likewise.
10290         * intl/tst-codeset.c: Likewise.
10291         * intl/tst-gettext2.c: Likewise.
10292         * intl/tst-gettext3.c: Likewise.
10293         * intl/tst-ngettext.c: Likewise.
10294         * intl/tst-translit.c: Likewise.
10295         * io/test-stat.c: Likewise.
10296         * libio/test-fmemopen.c: Likewise.
10297         * libio/tst-freopen.c: Likewise.
10298         * libio/tst-sscanf.c: Likewise.
10299         * libio/tst-ungetwc1.c: Likewise.
10300         * libio/tst-ungetwc2.c: Likewise.
10301         * libio/tst-widetext.c: Likewise.
10302         * localedata/tst-ctype.c: Likewise.
10303         * localedata/tst-digits.c: Likewise.
10304         * localedata/tst-leaks.c: Likewise.
10305         * localedata/tst-mbswcs1.c: Likewise.
10306         * localedata/tst-mbswcs2.c: Likewise.
10307         * localedata/tst-mbswcs3.c: Likewise.
10308         * localedata/tst-mbswcs4.c: Likewise.
10309         * localedata/tst-mbswcs5.c: Likewise.
10310         * localedata/tst-setlocale.c: Likewise.
10311         * localedata/tst-trans.c: Likewise.
10312         * localedata/tst-wctype.c: Likewise.
10313         * localedata/tst-xlocale1.c: Likewise.
10314         * login/tst-grantpt.c: Likewise.
10315         * malloc/tst-calloc.c: Likewise.
10316         * malloc/tst-malloc.c: Likewise.
10317         * malloc/tst-mallocstate.c: Likewise.
10318         * malloc/tst-mcheck.c: Likewise.
10319         * malloc/tst-mtrace.c: Likewise.
10320         * malloc/tst-obstack.c: Likewise.
10321         * math/atest-exp2.c: Likewise.
10322         * math/atest-exp.c: Likewise.
10323         * math/atest-sincos.c: Likewise.
10324         * math/test-matherr.c: Likewise.
10325         * math/test-misc.c: Likewise.
10326         * math/test-powl.c: Likewise.
10327         * math/tst-definitions.c: Likewise.
10328         * misc/tst-dirname.c: Likewise.
10329         * misc/tst-efgcvt.c: Likewise.
10330         * misc/tst-fdset.c: Likewise.
10331         * misc/tst-hsearch.c: Likewise.
10332         * misc/tst-mntent2.c: Likewise.
10333         * nptl/tst-sem7.c: Likewise.
10334         * nptl/tst-sem8.c: Likewise.
10335         * nptl/tst-sem9.c: Likewise.
10336         * nss/test-netdb.c: Likewise.
10337         * posix/tst-fnmatch.c: Likewise.
10338         * posix/tst-getlogin.c: Likewise.
10339         * posix/tst-gnuglob.c: Likewise.
10340         * posix/tst-mmap.c: Likewise.
10341         * pwd/tst-getpw.c: Likewise.
10342         * resolv/tst-inet_ntop.c: Likewise.
10343         * rt/tst-timer.c: Likewise.
10344         * stdio-common/test-fseek.c: Likewise.
10345         * stdio-common/test-popen.c: Likewise.
10346         * stdio-common/test-vfprintf.c: Likewise.
10347         * stdio-common/tst-cookie.c: Likewise.
10348         * stdio-common/tst-fileno.c: Likewise.
10349         * stdio-common/tst-gets.c: Likewise.
10350         * stdio-common/tst-obprintf.c: Likewise.
10351         * stdio-common/tst-perror.c: Likewise.
10352         * stdio-common/tst-sprintf2.c: Likewise.
10353         * stdio-common/tst-sprintf3.c: Likewise.
10354         * stdio-common/tst-sprintf.c: Likewise.
10355         * stdio-common/tst-swprintf.c: Likewise.
10356         * stdio-common/tst-tmpnam.c: Likewise.
10357         * stdio-common/tst-unbputc.c: Likewise.
10358         * stdio-common/tst-wc-printf.c: Likewise.
10359         * stdlib/tst-environ.c: Likewise.
10360         * stdlib/tst-fmtmsg.c: Likewise.
10361         * stdlib/tst-limits.c: Likewise.
10362         * stdlib/tst-rand48-2.c: Likewise.
10363         * stdlib/tst-rand48.c: Likewise.
10364         * stdlib/tst-random2.c: Likewise.
10365         * stdlib/tst-random.c: Likewise.
10366         * stdlib/tst-strtol.c: Likewise.
10367         * stdlib/tst-strtoll.c: Likewise.
10368         * stdlib/tst-tls-atexit.c: Likewise.
10369         * stdlib/tst-xpg-basename.c: Likewise.
10370         * string/test-ffs.c: Likewise.
10371         * string/tst-bswap.c: Likewise.
10372         * string/tst-inlcall.c: Likewise.
10373         * string/tst-strtok.c: Likewise.
10374         * string/tst-strxfrm.c: Likewise.
10375         * sysdeps/x86_64/tst-audit10.c: Likewise.
10376         * sysdeps/x86_64/tst-audit3.c: Likewise.
10377         * sysdeps/x86_64/tst-audit4.c: Likewise.
10378         * sysdeps/x86_64/tst-audit5.c: Likewise.
10379         * time/tst-ftime_l.c: Likewise.
10380         * time/tst-getdate.c: Likewise.
10381         * time/tst-mktime3.c: Likewise.
10382         * time/tst-mktime.c: Likewise.
10383         * time/tst-posixtz.c: Likewise.
10384         * time/tst-strptime2.c: Likewise.
10385         * time/tst-strptime3.c: Likewise.
10386         * wcsmbs/tst-btowc.c: Likewise.
10387         * wcsmbs/tst-mbrtowc.c: Likewise.
10388         * wcsmbs/tst-mbsrtowcs.c: Likewise.
10389         * wcsmbs/tst-wchar-h.c: Likewise.
10390         * wcsmbs/tst-wcpncpy.c: Likewise.
10391         * wcsmbs/tst-wcrtomb.c: Likewise.
10392         * wcsmbs/tst-wcsnlen.c: Likewise.
10393         * wcsmbs/tst-wcstof.c: Likewise.
10395 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
10397         [BZ #14132]
10398         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
10399         INTDEF.
10400         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
10401         declaration.
10402         (_dl_mcount): Use rtld_hidden_proto.
10403         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
10404         _dl_mcount.
10405         * elf/rtld.c (_rtld_global_ro): Likewise.
10407         [BZ #14132]
10408         * elf/dl-init.c (_dl_init): Don't use INTDEF.
10409         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
10410         of _dl_init_internal.
10411         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
10412         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
10413         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
10414         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
10415         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
10416         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
10417         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
10418         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
10419         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
10420         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
10421         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
10422         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
10423         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
10424         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
10425         * sysdeps/tile/dl-start.S (_start): Likewise.
10426         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
10427         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
10429         [BZ #14132]
10430         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
10431         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
10432         (rtld_progname): Make macro definition unconditional.
10433         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
10434         INTDEF.
10435         (dlmopen_doit): Do not use INTUSE with _dl_argv.
10436         (dl_main): Likewise.
10437         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10438         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
10439         instead of _dl_argv_internal.
10440         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
10441         __GI__dl_argv instead of INTUSE(_dl_argv).
10442         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
10443         __GI__dl_argv instead of _dl_argv_internal.
10445         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
10446         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
10447         macro.
10448         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
10449         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
10450         New macro.
10451         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
10452         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
10453         macro.
10454         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
10455         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
10457 2014-11-04  Andreas Schwab  <schwab@suse.de>
10459         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
10461 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10463         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
10464         mtvsrd instruction in binary form.
10466 2014-11-03  Andreas Schwab  <schwab@suse.de>
10468         [BZ #17522]
10469         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
10470         for less than MB_LEN_MAX use a local buffer of that size.
10471         * libio/tst-fputws.c: New file.
10472         * libio/Makefile (tests): Add tst-fputws.
10474 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
10476         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
10477         the size of the fpu_fr.fpu_dregs[] array.
10479 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
10481         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
10482         (__nanosleep): Do not define as alias.
10483         (nanosleep): Define as alias of __nanosleep.
10484         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
10485         __libc_nanosleep name.
10487 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10489         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
10490         install.texi in comment.
10492 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10494         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
10495         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
10496         ... add here and use lwsync or sync ...
10497         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
10498         ... and add here using lwsync.
10500 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
10502         * elf/dl-machine-reject-phdr.h: New file.
10503         * elf/dl-load.c: #include that.
10504         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
10505         if that returned true.
10507 2014-10-31  Roland McGrath  <roland@hack.frob.com>
10509         [BZ #17496]
10510         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
10511         gen-as-const-headers chunk.  Add a big scare comment after the last
10512         safe place to touch before-compile.
10514 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
10516         * manual/install.texi (Tools for Compilation): Update autoconf
10517         version requirements.
10518         * INSTALL: Regenerated.
10520         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
10521         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
10522         (__libc_pselect): Likewise.
10524         [BZ #14138]
10525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
10526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10530 2014-10-31  Torvald Riegel  <triegel@redhat.com>
10532         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
10533         correct barrier instruction.
10534         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
10535         Likewise.
10536         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
10537         Likewise.
10539 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10541         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
10542         after defining inlines.  Instead, just use parens to defeat macro
10543         expansion of __isctype in its declaration.
10545 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10547         * include/sys/uio.h (__libc_readv): Remove declaration.
10548         (__libc_writev): Likewise.
10549         * misc/readv.c (__libc_readv): Rename to __readv.
10550         (__readv): Do not define as alias.
10551         (readv): Define as alias of __readv.
10552         * misc/writev.c (__libc_writev): Rename to __writev.
10553         (__writev): Do not define as alias.
10554         (writev): Define as alias of __writev.
10555         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
10556         (__readv): Do not define as alias.
10557         (readv): Define unconditionally as alias of __readv.
10558         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
10559         (__writev): Do not define as alias.
10560         (writev): Define unconditionally as alias of __writev.
10561         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
10562         name.
10563         (writev): Do not define __libc_writev name.
10565 2014-10-30  Roland McGrath  <roland@hack.frob.com>
10567         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
10568         (convert_charseq): New function, broken out of ...
10569         (use_from_charmap): ... here.  Call it.
10570         (use_to_charmap): Use convert_charseq and free instead of duplicating
10571         its code with a variable-length stack struct.
10573 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
10575         * include/fcntl.h (__libc_creat): Remove declaration.
10576         * io/creat.c (__libc_creat): Rename to creat.
10577         (creat): Do not define as alias.
10578         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
10579         of creat instead of __libc_creat.
10580         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
10581         to creat.
10582         (creat): Do not define as alias.
10583         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
10584         __libc_creat.
10585         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
10586         __libc_creat name.
10587         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
10588         Likewise.
10590 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
10592         * manual/llio.texi: Add comments discussing why write() may be
10593         considered MT-unsafe on Linux.
10595 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
10597         * dl-load.c (local_strdup): Remove.
10598         (expand_dynamic_string_token): Use __strdup.
10599         (decompose_rpath): Likewise.
10600         (_dl_map_object): Likewise.
10602 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
10604         [BZ #14132]
10605         * sysdeps/generic/unwind-dw2-fde.c
10606         (__register_frame_info_bases_internal): Do not declare.
10607         (__register_frame_info_table_bases_internal): Likewise.
10608         (__deregister_frame_info_bases_internal): Likewise.
10609         (__register_frame_info_bases): Declare and use hidden_proto before
10610         definition.  Use hidden_def instead of INTDEF.
10611         (__register_frame_info_table_bases): Likewise.
10612         (__deregister_frame_info_bases): Likewise.
10613         (__register_frame_info): Do not use INTUSE.
10614         (__register_frame): Likewise.
10615         (__register_frame_info_table): Likewise.
10616         (__register_frame_table): Likewise.
10617         (__deregister_frame_info): Likewise.
10618         (__deregister_frame): Likewise.
10620 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
10622         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10623         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
10624         not undefine.
10625         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
10626         Likewise.
10627         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
10628         Likewise.
10630 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
10632         [BZ #14138]
10633         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
10634         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
10635         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
10636         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
10637         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
10638         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
10639         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
10640         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
10641         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
10642         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
10643         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
10644         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
10645         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
10646         syscall.
10647         (setfsuid): Likewise.
10648         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
10649         (setfsuid): Likewise.
10650         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
10651         (setfsuid): Likewise.
10652         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
10653         Likewise.
10654         (setfsuid): Likewise.
10655         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
10656         (setfsuid): Likewise.
10657         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
10658         Likewise.
10659         (setfsuid): Likewise.
10661 2014-10-27  Andreas Schwab  <schwab@suse.de>
10663         [BZ #17501]
10664         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
10665         check for Slow_SSE4_2 feature bit.
10666         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
10667         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10668         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
10669         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
10671 2014-10-24  Roland McGrath  <roland@hack.frob.com>
10673         * configure.ac: Validate compiler version with a empirical test of
10674         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
10675         $CC -v output.
10676         * configure: Regenerated.
10678         * inet/htons.c (htons): Prototypify.
10679         * inet/htonl.c (htonl): Likewise.
10681 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10683         * string/strncat.c (strncat): Improve performance by using strlen.
10685 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10687         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
10689 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10691         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
10692         Call libc_fetestexcept_aarch64.
10694 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10696         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
10697         Call libc_feholdexcept_aarch64.
10699 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10701         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
10702         Call get_rounding_mode.
10704 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10706         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10707         Simplify logic.
10709 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
10711         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
10712         Simplify logic.
10714 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
10716         [BZ #14138]
10717         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
10718         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
10719         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
10720         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
10721         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
10722         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
10723         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
10724         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
10725         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
10726         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
10727         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
10728         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
10729         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
10730         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
10731         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
10732         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
10733         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
10734         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
10735         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
10736         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
10737         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
10738         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
10739         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
10740         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
10741         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
10742         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
10743         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
10744         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
10745         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
10746         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
10747         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
10748         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
10749         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
10750         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
10751         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
10752         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
10753         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
10754         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
10755         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
10756         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
10757         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
10758         syscall.
10759         (geteuid): Likewise.
10760         (getgid): Likewise.
10761         (getuid): Likewise.
10762         (getresgid): Likewise.
10763         (getresuid): Likewise.
10764         (getgroups): Likewise.
10765         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
10766         (geteuid): Likewise.
10767         (getgid): Likewise.
10768         (getuid): Likewise.
10769         (getresgid): Likewise.
10770         (getresuid): Likewise.
10771         (getgroups): Likewise.
10772         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
10773         (geteuid): Likewise.
10774         (getgid): Likewise.
10775         (getuid): Likewise.
10776         (getresgid): Likewise.
10777         (getresuid): Likewise.
10778         (getgroups): Likewise.
10779         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
10780         Likewise.
10781         (geteuid): Likewise.
10782         (getgid): Likewise.
10783         (getuid): Likewise.
10784         (getresgid): Likewise.
10785         (getresuid): Likewise.
10786         (getgroups): Likewise.
10787         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
10788         (geteuid): Likewise.
10789         (getgid): Likewise.
10790         (getuid): Likewise.
10791         (getresgid): Likewise.
10792         (getresuid): Likewise.
10793         (getgroups): Likewise.
10794         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
10795         Likewise.
10796         (geteuid): Likewise.
10797         (getgid): Likewise.
10798         (getuid): Likewise.
10799         (getgroups): Likewise.
10801         [BZ #14138]
10802         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
10803         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
10804         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
10805         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10806         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
10807         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
10808         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
10809         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
10810         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
10811         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
10812         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
10813         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
10814         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
10815         __chown.
10816         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
10817         (lchown): Likewise.
10818         (fchown): Likewise.
10819         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
10820         Likewise.
10821         (lchown): Likewise.
10822         (fchown): Likewise.
10823         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
10824         (lchown): Likewise.
10825         (fchown): Likewise.
10826         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
10827         Likewise.
10828         (lchown): Likewise.
10829         (fchown): Likewise.
10831 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10833         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
10834         Simplify logic.
10836 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10838         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10839         Cleanup logic.
10841 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10843         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
10844         Remove unused include.
10846 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
10848         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
10849         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
10850         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
10851         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
10853 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
10854             Helge Deller <deller@gmx.de>
10856         [BZ #17508]
10857         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
10858         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
10859         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
10861 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
10863         [BZ #14132]
10864         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
10865         Remove macro definition.
10866         (__ashrdi3_v_glibc20): Likewise.
10867         (__lshrdi3_v_glibc20): Likewise.
10868         (__cmpdi2_v_glibc20): Likewise.
10869         (__ucmpdi2_v_glibc20): Likewise.
10870         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
10871         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10872         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10873         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10874         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10875         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
10877 2014-10-22  Roland McGrath  <roland@hack.frob.com>
10879         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
10880         old GNU extension [0] syntax.
10881         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
10882         alloca rather than an array member with variable length.
10883         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
10884         * nscd/nscd.c (invalidate_db): New function, broken out of ...
10885         (parse_opt): ... here.  Likewise use alloca there.
10886         Validate the -i argument before checking for rootness.
10887         (send_shutdown): New function, broken out of ...
10888         (parse_opt): ... here.
10890 2014-10-22  Roland McGrath  <roland@hack.frob.com>
10892         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
10893         macro to get at the _rt_local_ro field.
10894         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
10895         ([PIC] case) or _dl_hwcap ([!PIC] case).
10896         * sysdeps/arm/setjmp.S: Likewise.
10898         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
10899         * sysdeps/arm/configure.ac: New check to define it.
10900         * sysdeps/arm/configure: Regenerated.
10901         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
10902         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
10903         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
10904         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
10905         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
10906         Use move/movt pair instead of a load.
10907         (LDST_GLOBAL): Macro removed.
10908         (LDR_GLOBAL): New macro replaces it.
10909         (LDR_HIDDEN): New macro.
10910         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
10911         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
10913         * setjmp/tst-setjmp-static.c: New file.
10914         * setjmp/Makefile (tests): Add it.
10915         (tests-static): New variable.
10917 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
10919         [BZ #17485]
10920         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
10922 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
10924         [BZ #14132]
10925         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
10927 2014-10-21  Roland McGrath  <roland@hack.frob.com>
10929         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
10931 2014-10-20  Roland McGrath  <roland@hack.frob.com>
10933         * io/fts.c (dirent_not_directory): New function.
10934         (fts_build): Call it.
10936 2014-10-20  Roland McGrath  <roland@hack.frob.com>
10938         * nptl/version.c (__nptl_main): Use normal __write rather than
10939         INTERNAL_SYSCALL.
10940         (banner): Update copyright years.
10942         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
10943         gettimeofday.
10944         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10945         * nptl/pthread_cond_timedwait.c: Likewise.
10946         * nptl/pthread_mutex_timedlock.c: Likewise.
10947         * nptl/sem_timedwait.c: Likewise.
10949         * sysdeps/nptl/bits/libc-lock.h
10950         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
10951         (__libc_lock_init_recursive): Return void, not 0.
10952         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
10953         (__libc_rwlock_init): Likewise.
10954         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
10956 2014-10-20  Torvald Riegel  <triegel@redhat.com>
10958         [BZ #15215]
10959         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
10960         (__pthread_once_slow): ... here.
10961         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
10962         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
10964 2014-10-20  Torvald Riegel  <triegel@redhat.com>
10966         [BZ #15215]
10967         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
10968         __PTHREAD_ONCE_FORK_GEN_INCR): New.
10969         * sysdeps/nptl/fork.c (__libc_fork): Use them.
10970         * nptl/pthread_once.c (__pthread_once): Likewise.
10971         Update comments.
10973 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
10975         [BZ #14138]
10976         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
10977         name.
10978         (writev): Use __libc_writev as strong name.
10979         * sysdeps/unix/sysv/linux/readv.c: Remove file.
10980         * sysdeps/unix/sysv/linux/writev.c: Likewise.
10982 2014-10-17  Roland McGrath  <roland@hack.frob.com>
10984         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
10986         * sysdeps/i386/nptl/tls.h
10987         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
10988         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
10989         New macros.
10990         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
10991         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
10992         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
10993         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
10994         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
10995         Call CHECK_THREAD_SYSINFO instead of doing an assert.
10997         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
10998         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
10999         on [__NR_futex].
11000         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
11001         broken out of ...
11002         (__pthread_mutex_init): ... here.  Call it.
11003         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
11004         Conditionalize PI cases on [__NR_futex].
11005         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
11006         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
11007         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11009         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
11010         conditional on [SIGSETXID].
11011         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
11012         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
11013         is defined.  Likewise for SIGSETXID.
11014         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
11015         Conditionalize definitions on [SIGSETXID].
11016         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
11017         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
11018         unblocking on [SIGCANCEL].
11020         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
11021         [__NR_set_robust_list].
11023 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11025         * string/strcoll_l.c (get_next_seq): Fix up formatting.
11026         (do_compare): Likewise.
11028 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
11030         [BZ #15884]
11031         * string/strcoll_l.c: Don't include stdio.h.
11032         (coll_seq): Remove members idxarr and rulearr.
11033         (get_next_seq_cached): Remove function.
11034         (get_next_seq): Likewise.
11035         (get_next_seq_nocache): Rename to get_next_seq.
11036         (do_compare): Remove function.
11037         (do_compare_nocache): Rename to do_compare.
11038         (STRCOLL): Remove weight and rules cache.
11040 2014-10-16  Roland McGrath  <roland@hack.frob.com>
11042         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
11043         * sysdeps/arm/sfp-machine.h: ... to here.
11044         * sysdeps/arm/Implies: Remove arm/soft-fp.
11046 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
11048         * conform/data/sys/utsname.h-data (*_t): Allow.
11049         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
11050         [POSIX] (WEXITED): Do not expect constant.
11051         [POSIX] (WSTOPPED): Likewise.
11052         [POSIX] (WNOHANG): Likewise.
11053         [POSIX] (WNOWAIT): Likewise.
11054         [POSIX] (siginfo_t): Do not expect type or elements.
11055         [POSIX] (pid_t): Do not expect type.
11056         [POSIX] (signal.h): Do not allow header.
11057         [POSIX] (sys/resource.h): Likewise.
11058         [POSIX] (si_*): Do not allow pattern.
11059         [POSIX] (W*): Likewise.
11060         [POSIX] (P_*): Likewise.
11061         [POSIX] (BUS_*): Likewise.
11062         [POSIX] (CLD_*): Likewise.
11063         [POSIX] (FPE_*): Likewise.
11064         [POSIX] (ILL_*): Likewise.
11065         [POSIX] (POLL_*): Likewise.
11066         [POSIX] (SEGV_*): Likewise.
11067         [POSIX] (SI_*): Likewise.
11068         [POSIX] (TRAP_*): Likewise.
11069         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
11070         variable.
11072 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
11074         [BZ #12926]
11075         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
11076         infinite loop when __recvmsg returns 0.
11078 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
11080         * CANCEL-FCT-WAIVE: Remove file.
11081         * CANCEL-FILE-WAIVE: Likewise.
11083         [BZ #14132]
11084         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
11085         instead of INTVARDEF.
11086         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11087         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
11088         rtld_hidden_data_def instead of INTVARDEF.
11089         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
11090         * elf/dl-deps.c (expand_dst): Likewise.
11091         * elf/dl-load.c (_dl_dst_count): Likewise.
11092         (_dl_dst_substitute): Likewise.
11093         (decompose_rpath): Likewise.
11094         (_dl_init_paths): Likewise.
11095         (open_path): Likewise.
11096         (_dl_map_object): Likewise.
11097         * elf/rtld.c (dl_main): Likewise.
11098         (process_dl_audit): Likewise.
11099         (process_envvars): Likewise.
11100         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
11101         Remove declaration.
11102         (__libc_enable_secure): Use rtld_hidden_proto.
11104 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11106         * elf/dl-load.c
11107         (add_path): New function broken out of _dl_rtld_di_serinfo.
11108         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
11110 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11112         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
11113         parentheses around macro arguments.
11114         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
11115         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
11116         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
11117         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
11118         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
11119         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11120         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11121         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
11122         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
11123         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
11124         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
11125         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
11126         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
11127         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
11128         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
11129         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
11130         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
11131         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
11132         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
11133         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
11134         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
11135         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
11136         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
11137         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
11138         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
11139         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
11140         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
11141         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
11142         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
11143         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
11144         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
11145         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
11146         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
11147         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
11148         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
11149         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
11150         Likewise.
11151         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
11152         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11153         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11154         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
11155         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
11156         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
11157         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
11158         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
11159         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
11160         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
11161         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
11162         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
11163         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
11164         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
11165         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
11166         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
11167         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
11168         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
11169         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
11170         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
11171         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
11172         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
11173         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
11174         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
11175         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
11176         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
11177         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
11178         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
11179         (_FP_FRAC_SRS_1): Likewise.
11180         (_FP_FRAC_CLZ_1): Likewise.
11181         (_FP_MUL_MEAT_1_imm): Likewise.
11182         (_FP_MUL_MEAT_1_wide): Likewise.
11183         (_FP_MUL_MEAT_1_hard): Likewise.
11184         (_FP_SQRT_MEAT_1): Likewise.
11185         (_FP_FRAC_ASSEMBLE_1): Likewise.
11186         (_FP_FRAC_DISASSEMBLE_1): Likewise.
11187         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
11188         (__FP_CLZ_2): Likewise.
11189         (_FP_MUL_MEAT_2_wide): Likewise.
11190         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11191         (_FP_MUL_MEAT_2_gmp): Likewise.
11192         (_FP_MUL_MEAT_2_120_240_double): Likewise.
11193         (_FP_SQRT_MEAT_2): Likewise.
11194         (_FP_FRAC_ASSEMBLE_2): Likewise.
11195         (_FP_FRAC_DISASSEMBLE_2): Likewise.
11196         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
11197         (_FP_FRAC_CLZ_4): Likewise.
11198         (_FP_MUL_MEAT_4_wide): Likewise.
11199         (_FP_MUL_MEAT_4_gmp): Likewise.
11200         (_FP_SQRT_MEAT_4): Likewise.
11201         (_FP_FRAC_ASSEMBLE_4): Likewise.
11202         (_FP_FRAC_DISASSEMBLE_4): Likewise.
11203         * soft-fp/op-common.h (_FP_CMP): Likewise.
11204         (_FP_CMP_EQ): Likewise.
11205         (_FP_CMP_UNORD): Likewise.
11206         (_FP_TO_INT): Likewise.
11207         (_FP_FROM_INT): Likewise.
11208         [!__FP_CLZ] (__FP_CLZ): Likewise.
11209         (_FP_DIV_HELP_imm): Likewise.
11210         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
11211         Likewise.
11212         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
11213         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
11214         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
11215         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
11216         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
11217         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11218         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11219         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
11220         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
11221         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
11222         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
11223         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
11224         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
11225         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
11226         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
11227         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
11228         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
11229         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
11230         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
11231         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
11232         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
11233         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
11234         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
11235         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
11236         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
11237         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
11238         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
11239         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
11240         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
11241         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
11242         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
11243         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
11244         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
11245         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
11246         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
11247         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
11248         (FP_UNPACK_RAW_SP): Likewise.
11249         (FP_PACK_RAW_S): Likewise.
11250         (FP_PACK_RAW_SP): Likewise.
11251         (FP_UNPACK_S): Likewise.
11252         (FP_UNPACK_SP): Likewise.
11253         (FP_UNPACK_SEMIRAW_S): Likewise.
11254         (FP_UNPACK_SEMIRAW_SP): Likewise.
11255         (FP_PACK_S): Likewise.
11256         (FP_PACK_SP): Likewise.
11257         (FP_PACK_SEMIRAW_S): Likewise.
11258         (FP_PACK_SEMIRAW_SP): Likewise.
11259         (_FP_SQRT_MEAT_S): Likewise.
11260         (FP_CMP_S): Likewise.
11261         (FP_CMP_EQ_S): Likewise.
11262         (FP_CMP_UNORD_S): Likewise.
11263         (FP_TO_INT_S): Likewise.
11264         (FP_FROM_INT_S): Likewise.
11266         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
11268         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
11269         (FP_EX_INVALID_IMZ): Likewise.
11270         (FP_EX_INVALID_IMZ_FMA): Likewise.
11271         (FP_EX_INVALID_ISI): Likewise.
11272         (FP_EX_INVALID_ZDZ): Likewise.
11273         (FP_EX_INVALID_IDI): Likewise.
11274         (FP_EX_INVALID_SQRT): Likewise.
11275         (FP_EX_INVALID_CVI): Likewise.
11276         (FP_EX_INVALID_VC): Likewise.
11277         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
11278         "invalid" exceptions.
11279         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
11280         (_FP_ADD_INTERNAL): Likewise.
11281         (_FP_MUL): Likewise.
11282         (_FP_FMA): Likewise.
11283         (_FP_DIV): Likewise.
11284         (_FP_CMP_CHECK_NAN): Likewise.
11285         (_FP_SQRT): Likewise.
11286         (_FP_TO_INT): Likewise.
11287         (FP_EXTEND): Likewise.
11289 2014-10-09  Allan McRae  <allan@archlinux.org>
11291         * po/fr.po: Update French translation from translation project.
11293 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
11295         [BZ #14132]
11296         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
11297         of INTDEF.
11298         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
11299         (__cxa_atexit): Use libc_hidden_proto.
11300         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
11302         [BZ #14132]
11303         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
11304         declaration.
11305         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
11306         [!_ISOMAC] (__iswspace_l_internal): Likewise.
11307         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
11308         [!_ISOMAC] (__iswctype_internal): Likewise.
11309         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
11310         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
11311         alias.
11312         (fcntl): Remove __fcntl_internal alias.
11313         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
11314         __connect_internal alias.
11315         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
11316         Likewise.
11318         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
11319         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
11320         FP_DENORM_ZERO.
11321         (_FP_CHECK_FLUSH_ZERO): New macro.
11322         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
11323         (_FP_CMP): Likewise.
11324         (_FP_CMP_EQ): Likewise.
11325         (_FP_TO_INT): Do not set inexact for subnormal arguments if
11326         FP_DENORM_ZERO.
11327         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
11328         (FP_TRUNC): Likewise.
11330         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
11331         treated as invalid conversion, not as normal exponent.
11333         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
11334         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
11335         (_FP_CMP_EQ): Likewise.
11336         (_FP_CMP_UNORD): Likewise.
11337         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
11338         (FP_CMP_EQ_D): Likewise.
11339         (FP_CMP_UNORD_D): Likewise.
11340         * soft-fp/extended.h (FP_CMP_E): Likewise.
11341         (FP_CMP_EQ_E): Likewise.
11342         (FP_CMP_UNORD_E): Likewise.
11343         * soft-fp/quad.h (FP_CMP_Q): Likewise.
11344         (FP_CMP_EQ_Q): Likewise.
11345         (FP_CMP_UNORD_Q): Likewise.
11346         * soft-fp/single.h (FP_CMP_S): Likewise.
11347         (FP_CMP_EQ_S): Likewise.
11348         (FP_CMP_UNORD_S): Likewise.
11349         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
11350         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
11351         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
11352         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
11353         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
11354         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
11355         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
11356         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
11357         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
11358         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
11359         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
11360         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
11361         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
11362         to FP_CMP_Q.
11363         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
11364         FP_CMP_Q.
11365         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
11366         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
11367         FP_CMP_EQ_Q.
11368         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
11369         FP_CMP_Q.
11370         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
11371         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
11372         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
11373         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
11374         FP_CMP_EQ_Q.
11375         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
11376         FP_CMP_Q.
11377         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
11378         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
11379         FP_CMP_EQ_Q.
11380         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
11381         FP_CMP_Q.
11382         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
11383         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
11384         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
11385         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
11386         FP_CMP_EQ_Q.
11388         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
11389         a subnormal result, set the underflow exception if trapping on
11390         underflow is enabled.
11391         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
11392         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
11393         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
11394         redefine to 0.
11395         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
11396         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11397         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
11398         * soft-fp/extendxftf2.c (__extendxftf2): Use
11399         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
11401         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
11402         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
11403         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11404         FP_HANDLE_EXCEPTIONS.
11405         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
11406         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11407         FP_HANDLE_EXCEPTIONS.
11408         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
11409         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11410         FP_HANDLE_EXCEPTIONS.
11411         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
11412         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
11413         FP_HANDLE_EXCEPTIONS.
11415 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
11417         [BZ #14132]
11418         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
11419         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
11420         use INTUSE.
11421         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
11422         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
11423         Remove alias.
11424         (__adjtimex): Define using libc_hidden_ver.
11425         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
11426         Remove declaration.
11427         (ntp_gettime): Call __adjtimex directly.
11428         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
11429         Remove declaration.
11430         (ntp_gettimex): Call __adjtimex directly.
11431         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
11432         __adjtimex_internal alias.
11434 2014-10-08  Roland McGrath  <roland@hack.frob.com>
11436         [BZ #17460]
11437         * nscd/nscd.c (more_help): Rewrite list of tables collection
11438         using xstrdup and asprintf.
11440         * nscd/nscd_conf.c: Remove local xstrdup declaration.
11442 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11443             Roland McGrath  <roland@hack.frob.com>
11445         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
11446         (do_lookup_unique): ... local function 'enter' here; update callers.
11448 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
11450         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
11451         compat_symbol calls on [SHARED].
11452         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
11453         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
11454         Remove.
11455         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11456         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
11457         (oldsetrlimit): Remove.
11458         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11460         (lchown): New syscall entry.
11461         (oldsetrlimit): Remove.
11462         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11463         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
11464         (oldsetrlimit): Remove.
11465         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
11467         [BZ #14138]
11468         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
11469         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
11470         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
11471         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
11472         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
11473         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
11474         (fchown): Likewise.
11475         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
11476         (fchown): Likewise.
11477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
11478         Likewise.
11480 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11482         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
11483         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
11484         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
11485         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
11486         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
11487         Likewise.
11488         (__old_sem_post): Likewise.
11490 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
11492         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
11493         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
11494         HAVE_CLOCK_GETTIME_VSYSCALL macros.
11495         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
11496         Use INLINE_VSYSCALL macro.
11497         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
11498         __vdso_clock_gettime.
11499         * sysdeps/unix/sysv/linux/tile/init-first.c
11500         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
11501         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
11502         __vdso_clock_gettime.
11504         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
11505         to set up frame more cleanly.
11507         * sysdeps/tile/memcmp.c: New file.
11509         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
11511         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
11512         * sysdeps/tile/tilegx/strcasestr.c: New file.
11513         * sysdeps/tile/tilegx/strnlen.c: New file.
11514         * sysdeps/tile/tilegx/strstr.c: New file.
11516         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
11518 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
11520         * nptl/tst-setuid3.c: Write errors to stdout.
11522 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11524         * elf/dl-deps.c
11525         (preload): New functions broken out of _dl_map_object_deps.
11526         (_dl_map_object_deps):  Remove a nested function. Update call sites.
11528 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
11530         [BZ #14138]
11531         * sysdeps/unix/sysv/linux/execve.c: Remove file.
11532         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
11534 2014-10-01  Steve Ellcey  <sellcey@mips.com>
11536         * sysdeps/mips/strcmp.S: New.
11538 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
11540         [BZ #14138]
11541         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
11542         (linkat): Likewise.
11543         (mkdirat): Likewise.
11544         (readlinkat): Likewise.
11545         (renameat): Likewise.
11546         (symlinkat): Likewise.
11547         (unlinkat): Likewise.
11548         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
11549         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
11550         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
11551         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
11552         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
11553         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
11554         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
11556 2014-09-30  Will Newton  <will.newton@linaro.org>
11558         * math/math.h: Define long double math functions if
11559         _LIBC_TEST is defined.
11560         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
11562         * localedata/Makefile: Move assignment to tests-special
11563         into an ifdef testing run-built-tests.
11564         * timezone/Makefile: Likewise.
11566 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
11568         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
11569         with $(BASH) not $(SHELL).
11571 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
11572             Matthew LeGendre  <legendre1@llnl.gov>
11574         [BZ #17411]
11575         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
11576         l_reloc_result.
11578 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11580         * stdio-common/printf_fp.c
11581         (hack_digit): New function, broken out of ...
11582         (__printf_fp): ... local function here.  Update call sites.
11583         hack_digit now takes an additional parameter that is a pointer
11584         to a struct of the referenced locals.  Those locals moved inside
11585         the struct and references updated.
11587 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
11589         * aclocal.m4: Require autoconf 2.69.
11590         * configure: Regenerated.
11591         * sysdeps/aarch64/configure: Likewise.
11592         * sysdeps/alpha/configure: Likewise.
11593         * sysdeps/arm/armv7/configure: Likewise.
11594         * sysdeps/arm/configure: Likewise.
11595         * sysdeps/ia64/configure: Likewise.
11596         * sysdeps/mach/configure: Likewise.
11597         * sysdeps/mips/configure: Likewise.
11598         * sysdeps/s390/configure: Likewise.
11599         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
11600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
11602         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
11603         file.
11604         * sysdeps/ia64/configure.ac: Likewise.
11606 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
11608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
11609         specify symbol version for ld.so.  Do not include entry for
11610         libpthread.
11611         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11612         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11613         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11615         [BZ #14171]
11616         * Makeconfig [$(build-shared) = yes]
11617         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
11618         makefiles.
11619         [$(build-shared) = yes && $(soversions.mk-done) = t]
11620         ($(common-objpfx)gnu/lib-names.h): Remove rule.
11621         [$(build-shared) = yes && $(soversions.mk-done) = t]
11622         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
11623         to Makerules.
11624         [$(build-shared) = yes && $(soversions.mk-done) = t]
11625         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
11626         here.
11627         [$(build-shared) = yes && $(soversions.mk-done) = t]
11628         (common-generated): Don't append gnu/lib-names.h and
11629         gnu/lib-names.stmp here.
11630         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
11631         (lib-names-h-abi): New variable.
11632         [$(build-shared) = yes && $(soversions.mk-done) = t]
11633         (lib-names-stmp-abi): Likewise.
11634         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11635         abi-variants] (before-compile): Append
11636         $(common-objpfx)$(lib-names-h-abi).
11637         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11638         abi-variants] (common-generated): Append gnu/lib-names.h.
11639         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11640         abi-variants] (install-others-nosubdir): Depend on
11641         $(inst_includedir)/$(lib-names-h-abi).
11642         [$(build-shared) = yes && $(soversions.mk-done) = t &&
11643         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
11644         [$(build-shared) = yes && $(soversions.mk-done) = t]
11645         ($(common-objpfx)$(lib-names-h-abi)): New rule.
11646         [$(build-shared) = yes && $(soversions.mk-done) = t]
11647         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
11648         [$(build-shared) = yes && $(soversions.mk-done) = t]
11649         (common-generated): Append $(lib-names-h-abi) and
11650         $(lib-names-stmp-abi).
11651         * scripts/lib-names.awk: Do not handle multi being set.
11652         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
11653         Remove variable.
11654         (abi-lp64_be-ld-soname): Likewise.
11655         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
11656         Likewise.
11657         (abi-hard-ld-soname): Likewise.
11658         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
11659         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
11660         Remove variable.
11661         (abi-o32_hard-ld-soname): Likewise.
11662         (abi-o32_soft_2008-ld-soname): Likewise.
11663         (abi-o32_hard_2008-ld-soname): Likewise.
11664         (abi-n32_soft-ld-soname): Likewise.
11665         (abi-n32_hard-ld-soname): Likewise.
11666         (abi-n32_soft_2008-ld-soname): Likewise.
11667         (abi-n32_hard_2008-ld-soname): Likewise.
11668         (abi-n64_soft-ld-soname): Likewise.
11669         (abi-n64_hard-ld-soname): Likewise.
11670         (abi-n64_soft_2008-ld-soname): Likewise.
11671         (abi-n64_hard_2008-ld-soname): Likewise.
11672         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
11673         Likewise.
11674         (abi-64-v2-ld-soname): Likewise.
11675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
11676         ld.so entries.
11677         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
11678         variable.
11679         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
11680         entry.
11681         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
11682         variable.
11683         (abi-64-ld-soname): Likewise.
11684         (abi-x32-ld-soname): Likewise.
11685         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
11686         entry.
11687         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11689 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
11691         [BZ #14138]
11692         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
11693         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
11694         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
11695         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
11696         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
11697         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
11698         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
11699         syscall entry for GLIBC_2.2 symbol version.
11700         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
11701         Likewise.
11702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
11703         (setrlimit): Likewise.
11704         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
11705         Likewise.
11707 2014-09-23  Will Newton  <will.newton@linaro.org>
11709         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
11710         _LINUX_ARM_SYSDEP_H include guard too.
11711         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
11712         define.
11714 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11716         * sysdeps/unix/sysv/linux/eventfd.c:
11717         Make first argument unsigned.
11718         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
11719         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
11721 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
11723         * socket/recvmmsg.c (recvmmsg): Drop const argument.
11724         * socket/sys/socket.h: Likewise
11725         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
11727 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11729         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
11731 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
11733         * time/tst-ftime.c: New test.
11734         * time/Makefile (tests): Add tst-ftime.
11736 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
11738         * soft-fp/extended.h: Fix comment formatting.
11739         * soft-fp/op-1.h: Likewise.
11740         * soft-fp/op-2.h: Likewise.
11741         * soft-fp/op-4.h: Likewise.
11742         * soft-fp/op-8.h: Likewise.
11743         * soft-fp/op-common.h: Likewise.
11744         * soft-fp/soft-fp.h: Likewise.
11746         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
11748 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
11750         [BZ #6652]
11751         * Makeconfig (soversions-default-setname): Remove variable.
11752         ($(common-objpfx)soversions.i): Don't pass default_setname to
11753         soversions.awk.
11754         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
11755         oldest_abi to abi-versions.awk.
11756         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
11757         * config.make.in (oldest-abi): Remove variable.
11758         * configure.ac (--enable-oldest-abi): Remove configure option.
11759         * configure: Regenerated.
11760         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
11761         text.
11762         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
11763         * scripts/soversions.awk: Do not handle default_setname variable.
11764         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
11765         variable.
11766         * sysdeps/mach/hurd/configure: Regenerated.
11767         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
11768         variable.
11769         * sysdeps/unix/sysv/linux/configure: Regenerated.
11771 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11773         * elf/Makefile (CFLAGS-interp.c): Remove.
11774         ($(elf-objpfx)runtime-linker.h): Generate header with linker
11775         path string.
11776         * elf/interp.c: Include generated runtime-linker.h
11778         * Makerules (lib%.so): Don't include $(+interp) in
11779         prerequisites.
11780         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
11781         * dlfcn/eval.c: Remove file.
11783         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
11784         macros.
11786         [BZ #17266]
11787         * misc/sys/cdefs.h: Define __extern_always_inline for clang
11788         4.2 and newer.
11790         [BZ #17370]
11791         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
11793 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11794             Jakub Jelinek  <jakub@redhat.com>
11796         [BZ #17266]
11797         * libio/stdio.h: Check definition of __fortify_function
11798         instead of __extern_always_inline to include bits/stdio2.h.
11799         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
11800         check if __extern_always_inline is defined.
11801         [__USE_MISC || __USE_XOPEN]: Likewise.
11802         [__USE_ISOC99] Likewise.
11803         * misc/sys/cdefs.h (__fortify_function): Define only if
11804         __extern_always_inline is defined.
11805         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
11806         __extern_always_inline and __extern_inline only for g++-4.3
11807         and newer or a compatible gcc.
11809 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
11811         [BZ #17371]
11812         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11813         last change to handle zero prefix length.
11815 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11817         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
11818         _SC_REGEX_VERSION.
11820         * posix/getconf.c (vars): Add _POSIX_IPV6 and
11821         _POSIX_RAW_SOCKETS.
11823 2014-09-13  Allan McRae  <allan@archlinux.org>
11825         * po/ru.po: Update Russian translation from translation project.
11827 2014-09-12  Roland McGrath  <roland@hack.frob.com>
11829         * locale/programs/locale.c (show_locale_vars): Inline local function
11830         into its sole call site.  Clean up some style nits.
11831         (print_item): New function, broken out of ...
11832         (show_info): ... local function here.  Clean up style nits.
11834         * locale/programs/ld-ctype.c (set_one_default): New function, broken
11835         out of ...
11836         (set_class_defaults): ... local function set_default here.
11837         Define set_default as a macro locally to pass constant parameters.
11838         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
11839         rather than a shared local.
11841         * stdlib/rpmatch.c (try): New function, broken out of ...
11842         (rpmatch): ... local function here.  Also, prototypify definition.
11844 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
11846         * scripts/soversions.awk: Do not handle configuration names.
11847         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
11848         vendor and os variables to soversions.awk.
11849         * configure.ac: Do not modify gnu-* host_os.
11850         * configure: Regenerated
11851         * shlib-versions: Remove first column with configuration names.
11852         * nptl/shlib-versions: Likewise.
11853         * nptl_db/shlib-versions: Likewise.
11854         * sysdeps/hppa/shlib-versions: Likewise.
11855         * sysdeps/m68k/shlib-versions: Likewise.
11856         * sysdeps/mach/hurd/shlib-versions: Likewise.
11857         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
11858         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
11859         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
11860         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
11861         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
11862         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
11863         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
11864         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
11865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11866         Likewise.
11867         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11868         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11869         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11870         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11871         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11872         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
11873         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
11874         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
11876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11877         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
11878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11879         Regenerated.
11880         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
11881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
11882         Condition symbol version definitions on [HAVE_ELFV2_ABI].
11884         * shlib-versions: Remove OS-specific entries.  Moved to files in
11885         sysdeps.
11886         * sysdeps/mach/hurd/shlib-versions: New file.
11887         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
11889         * nptl/shlib-versions: Remove architecture-specific entries.
11890         Moved to files in sysdeps.
11891         * shlib-versions: Likewise.
11892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
11893         file.
11894         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
11895         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
11896         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
11897         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
11899         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
11900         (UDP_NO_CHECK6_RX): Likewise.
11902 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11904         * sysdeps/posix/sysconf.c (__sysconf): Spell
11905         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
11907 2014-08-12  Florian Weimer  <fweimer@redhat.com>
11909         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
11910         loading.
11911         * iconv/Versions (__gconv_transliterate): Export for use from
11912         gconv modules.
11913         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
11914         (struct __gconv_trans_data, __gconv_trans_fct,
11915         __gconv_trans_context_fct, __gconv_trans_query_fct,
11916         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
11917         definitions.
11918         (struct __gconv_step_data): Remove __trans member.
11919         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
11920         longer hidden.  Remove unused trans_data argument.
11921         * iconv/gconv_int.h (struct trans_struct): Remove definition.
11922         (__gconv_translit_find): Remove declaration.
11923         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
11924         prototype.
11925         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
11926         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
11927         trans_data argument.  Add hidden definition.
11928         (__gconv_translit_find): Remove.
11929         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
11930         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
11931         * iconv/skeleton.c: Remove transliteration initialization.
11932         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
11933         __gconv_step_data initialization.
11934         * libio/iofwide.c (__libio_translit_): Remove.
11935         (_IO_fwide): Adjust struct __gconv_step_data initialization.
11936         * wcsmbs/btowc.c (__btowc): Likewise.
11937         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11938         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11939         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
11940         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
11941         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
11942         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
11943         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
11944         * wcsmbs/wctob.c (wctob): Likewise.
11946 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11948         [BZ #16194]
11949         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
11950         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
11951         register usage.
11952         * sysdeps/x86/Makefile: Adjust.
11954 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11955             Roland McGrath  <roland@hack.frob.com>
11957         * locale/weight.h: Add include guard.
11958         (findidx): Make static rather than auto; take new parameters
11959         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
11960         * locale/weightwc.h: Likewise.
11961         * posix/fnmatch_loop.c
11962         (FCT): Change type of EXTRA from int32_t to wint_t.
11963         Don't include either header inside the function.
11964         Call FINDIDX rather than findidx, and pass new arguments.
11965         #undef FINDIDX at the end of the file.
11966         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
11967         FINDIDX before including fnmatch_loop.c for the non-wide version.
11968         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
11969         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
11970         for the wide version.
11971         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
11972         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
11973         Pass new arguments to findidx.
11974         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
11975         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
11976         Don't #include it inside the function.  Pass new arguments to findidx.
11977         * posix/regex_internal.h
11978         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
11979         (re_string_elem_size_at): Don't #include it inside the function.
11980         Pass new arguments to findidx.
11981         * string/strcoll_l.c: #include WEIGHT_H at top level.
11982         (get_next_seq): Don't #include it inside the function.
11983         Pass new arguments to findidx.
11984         (get_next_seq_nocache): Likewise.
11985         * string/strxfrm_l.c: #include WEIGHT_H at top level.
11986         (STRXFRM): Don't #include it inside the function.
11987         Pass new arguments to findidx.
11989 2014-09-11  Florian Weimer  <fweimer@redhat.com>
11991         [BZ #17344]
11992         * malloc/malloc.c (unlink): Turn asserts into a call to
11993         malloc_printerr.
11995 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
11997         [BZ #17370]
11998         * libio/wfileops (do_ftell_wide): Free OUT.
12000 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
12002         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
12004 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12006         [BZ #17363]
12007         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
12008         group if the current group is empty.
12010 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12012         * benchtests/bench-memset.c (test_main): Add more test from size
12013         from 32 to 512 bytes.
12014         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12015         Add POWER8 memset object.
12016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12017         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
12018         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
12019         implementation.
12020         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
12021         Likewise.
12022         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
12023         multiarch POWER8 memset optimization.
12024         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
12025         POWER8 memset optimization.
12027         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
12028         Remove bzero multiarch objects.
12029         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
12030         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
12031         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
12032         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
12033         Remove define.
12034         [__bzero]: Redefine to specific name.
12035         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
12036         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
12037         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
12038         define.
12039         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12040         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12042 2014-09-10  Florian Weimer  <fweimer@redhat.com>
12044         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
12045         warnings into errors.
12047         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
12048         __cxa_thread_atexit_impl prototype.
12050 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12052         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
12053         Fix capitalization of error message.
12055 2014-09-09  Steve Ellcey  <sellcey@mips.com>
12057         * sysdeps/mips/preconfigure: Modify ABI tests.
12059 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
12061         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
12063 2014-09-07  Roland McGrath  <roland@hack.frob.com>
12064             Carlos O'Donell  <carlos@systemhalted.org>
12066         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
12067         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
12068         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
12069         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
12070         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
12071         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
12072         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
12073         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
12074         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
12075         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
12076         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
12077         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
12078         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
12079         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
12080         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
12081         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
12082         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
12083         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
12084         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
12085         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
12086         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
12087         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
12088         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
12089         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
12090         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
12091         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
12092         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
12093         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
12094         Deconditionalize the code that was previously under [RESET_PID].
12095         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
12096         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
12097         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
12098         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
12099         include sysdep.h.
12101 2014-09-08  Allan McRae  <allan@archlinux.org>
12103         * version.h (RELEASE): Set to "development".
12104         (VERSION): Set to "2.20.90"
12106 2014-09-07  Allan McRae  <allan@archlinux.org
12108         * version.h (RELEASE): Set to "stable".
12109         (VERSION): Set to "2.20"
12110         * include/features.h (__GLIBC_MINOR__): Set to 20.
12112         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
12113         Liebler.
12115         * po/ko.po: Update Korean translation from translation project.
12117 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
12119         [BZ #17354]
12120         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
12121         macro for handling signed relocations.
12123 2014-09-03  Florian Weimer  <fweimer@redhat.com>
12125         [BZ #17325]
12126         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
12127         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
12128         assert.
12129         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
12130         * iconvdata/ibm935.c (BODY): Likewise.
12131         * iconvdata/ibm937.c (BODY): Likewise.
12132         * iconvdata/ibm939.c (BODY): Likewise.
12133         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
12134         assert.
12135         * iconvdata/Makefile (iconv-test.out): Pass module list to test
12136         script.
12137         * iconvdata/run-iconv-test.sh: New test loop for checking for
12138         decoder crashers.
12140 2014-09-02  Khem Raj  <raj.khem@gmail.com>
12142         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
12143         libm_hidden_ver.
12145 2014-09-01  Allan McRae  <allan@archlinux.org>
12147         * po/eo.po: Update Esperanto translation from translation project.
12149         * po/ca.po: Update Catalan translation from translation project.
12151 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12153         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
12154         __proc_dostop call.
12156 2014-08-27  Mark Wielaard  <mjw@redhat.com>
12158         [BZ #17319]
12159         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
12160         to call set_thread_area instead of hand written asm.
12161         (__NR_set_thread_area): Removed define.
12162         (TLS_FLAG_WRITABLE): Likewise.
12163         (__ASSUME_SET_THREAD_AREA): Remove check.
12164         (TLS_EBX_ARG): Remove define.
12165         (TLS_LOAD_EBX): Likewise.
12167 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12169         Simplify atomicity of socket creation in bind.
12171         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
12172         looking up the name after linking the file.
12174 2014-08-27  Allan McRae  <allan@archlinux.org>
12176         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
12178 2014-08-26  Florian Weimer  <fweimer@redhat.com>
12180         [BZ #17187]
12181         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
12182         trans_compare, open_translit, __gconv_translit_find):
12183         Remove module loading code.
12185 2014-08-26  Allan McRae  <allan@archlinux.org>
12187         * po/vi.po: Update Vietnamese translation from translation project.
12189         * po/uk.po: Update Ukrainian translation from translation project.
12191         * po/fr.po: Update French translation from translation project.
12193         * po/ru.po: Update Russian translation from translation project.
12195         * po/pl.po: Update Polish translation from translation project.
12197         * po/cs.po: Update Czech translation from translation project.
12199         * po/de.po: Update German translation from translation project.
12201         * po/bg.po: Update Bulgarian translation from translation project.
12203         * po/sv.po: Update Sweedish translation from translation project.
12205         * po/nl.po: Update Dutch translation from translation project.
12207         * po/es.po: Update Spanish translation from translation project.
12209 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12211         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
12213         * catgets/Makefile (CPPFLAGS-gencat): Remove.
12214         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
12215         (CPPFLAGS-iconvconfig): Likewise.
12216         * timezone/Makefile (CPPFLAGS-zic): Likewise.
12218         * include/libc-symbols.h: Remove unnecessary check for
12219         NOT_IN_libc.
12220         * nptl/pthreadP.h: Likewise.
12221         * sysdeps/aarch64/setjmp.S: Likewise.
12222         * sysdeps/alpha/setjmp.S: Likewise.
12223         * sysdeps/arm/sysdep.h: Likewise.
12224         * sysdeps/i386/setjmp.S: Likewise.
12225         * sysdeps/m68k/setjmp.c: Likewise.
12226         * sysdeps/posix/getcwd.c: Likewise.
12227         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12228         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12229         * sysdeps/s390/s390-32/setjmp.S: Likewise.
12230         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12231         * sysdeps/sh/sh3/setjmp.S: Likewise.
12232         * sysdeps/sh/sh4/setjmp.S: Likewise.
12233         * sysdeps/unix/alpha/sysdep.h: Likewise.
12234         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12235         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12236         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12237         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12240         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12241         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12242         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12243         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12244         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12245         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12246         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12247         * sysdeps/x86_64/setjmp.S: Likewise.
12249 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
12251         [BZ #17263]
12252         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
12253         <stdint.h>.
12254         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
12255         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
12257 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
12259         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
12261         [BZ #17262]
12262         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
12263         and __x86_64__ when disabling x87 inline functions.
12265 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
12267         [BZ #17259]
12268         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
12269         asm statement with __cpuid_count.
12271 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
12273         * configure.ac: Change __ehdr_start code to dereference the struct.
12274         Run readelf on the output to look for relocations.
12275         * configure: Regenerated.
12277 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
12279         [BZ #17261]
12280         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
12281         value to 0.
12282         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
12284 2014-08-12  Roland McGrath  <roland@hack.frob.com>
12286         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
12288 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
12290         [BZ #16892]
12291         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
12292         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
12294 2014-08-12  Sean Anderson  <seanga2@gmail.com>
12296         * malloc/malloc.c: Fix typo in comment.
12298 2014-08-09  Allan McRae  <allan@archlinux.org>
12300         * Regenerate libc.po.
12302 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
12304         * intl/tst-gettext2.sh: Check every lang file for creation.
12306 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12308         * sysdeps/aarch64/fpu/math_private.h
12309         (libc_feholdsetround_noex_aarch64_ctx): New function.
12311 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
12313         * sysdeps/arm/armv6/strcpy.S (strcpy):
12314         Fix performance issue in misaligned cases.
12316 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12318         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
12319         Move definition from termios.h.
12320         (struct termio): Likewise.
12321         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12322         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12323         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12324         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12325         Likewise.
12326         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
12327         Move definition to ioctl-types.h
12328         (struct termio): Likewise.
12329         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12330         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
12331         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
12332         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
12333         Likewise.
12335 2014-08-05  Richard Henderson  <rth@redhat.com>
12337         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
12338         exceptions.
12339         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
12340         Add fraiseexcpt.
12341         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
12342         Use __feraiseexcept.
12343         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
12344         Protect libm symbols with IS_IN_libm.
12346         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
12348 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
12350         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
12352 2014-08-04  Will Newton  <will.newton@linaro.org>
12354         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
12355         file.
12357 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
12359         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
12360         variants for each function.
12362 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12364         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
12365         appended ...
12366         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
12367         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
12368         appended ...
12369         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
12370         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
12371         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
12372         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
12373         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
12374         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
12375         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
12376         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
12377         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
12378         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
12379         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
12380         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
12381         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
12382         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
12383         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
12384         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
12385         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
12386         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
12387         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
12388         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
12389         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
12390         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
12391         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
12392         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
12393         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
12394         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
12395         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
12396         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
12397         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
12398         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
12399         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
12400         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
12401         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
12402         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
12403         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
12404         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
12405         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
12406         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
12407         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
12408         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
12409         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
12410         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
12411         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
12412         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
12413         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
12414         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
12415         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
12416         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
12417         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
12418         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
12419         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
12420         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
12421         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
12422         Update #include.
12423         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
12424         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
12426 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12428         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
12429         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
12430         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
12431         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
12432         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
12433         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
12435 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12437         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
12438         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
12439         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12440         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
12442 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12444         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
12445         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
12446         (__libc_vfork): Define function under this name.
12447         (__vfork): Define as an alias.
12448         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
12449         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
12451 2014-08-04  Roland McGrath  <roland@hack.frob.com>
12453         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
12454         that was previously under [RESET_PID].
12455         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
12457 2014-08-04  Andreas Schwab  <schwab@suse.de>
12459         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
12461 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
12463         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
12464         (main): Likewise.
12466 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12468         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
12470 2014-08-01  Richard Henderon  <rth@redhat.com>
12472         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
12473         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
12474         typo in exact zero test.
12475         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12476         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12477         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12479 2014-08-01  Roland McGrath  <roland@hack.frob.com>
12481         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
12482         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
12483         * sysdeps/arm/sysdep.h: ... here.
12484         [!__ASSEMBLER__]: Include <stdint.h>.
12486 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12488         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
12489         (HAVE_WCTYPE_H): Likewise.
12490         (HAVE_ISWCTYPE): Likewise.
12491         (ENABLE_NLS): Likewise.
12492         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
12493         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
12495         * posix/regex_internal.c: Check if DEBUG is defined and is
12496         set.
12498         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
12499         (HAVE_MBSRTOWCS): Likewise.
12500         * posix/fnmatch.c: Include string.h unconditionally.
12502 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12504         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
12505         reversal.
12507 2014-07-31  Roland McGrath  <roland@hack.frob.com>
12509         * sysdeps/generic/safe-fatal.h: New file.
12510         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
12511         * nptl/forward.c: Include it.
12512         (__pthread_unwind): Use __safe_fatal as default action, rather
12513         than a bogus use of INTERNAL_SYSCALL that could never work.
12515         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
12516         * configure.ac (libc_cv_builtin_trap): New test.
12517         * configure: Regenerated.
12518         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
12519         (ABORT_INSTRUCTION): Define using __builtin_trap.
12521         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
12522         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
12523         * sysdeps/nptl/nptl-signals.h: New file.
12524         * nptl/pthreadP.h: Include <nptl-signals.h>.
12526 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12528         * sysdeps/s390/s390-64/utf16-utf32-z9.c
12529         (ONE_DIRECTION): Define.
12530         * sysdeps/s390/s390-64/utf8-utf16-z9.c
12531         (ONE_DIRECTION): Define.
12532         * sysdeps/s390/s390-64/utf8-utf32-z9.c
12533         (ONE_DIRECTION): Define.
12535 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12537         * sysdeps/s390/Makefile: Delete file.
12538         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
12539         * sysdeps/s390/__longjmp.c: Delete file.
12540         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
12541         Remove fields __flags and __reserved.
12542         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
12543         and add versioning.
12544         * sysdeps/s390/rtld-__longjmp.c: Delete file.
12545         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
12546         * sysdeps/s390/rtld-setjmp.S: Likewise.
12547         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
12548         * sysdeps/s390/s390-32/__longjmp.c: ... here.
12549         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
12550         * sysdeps/s390/s390-32/setjmp.S: ... here.
12551         Add versioning.
12552         (__sigsetjmp): Remove setting __flags field.
12553         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
12554         * sysdeps/s390/s390-64/__longjmp.c: ... here.
12555         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
12556         * sysdeps/s390/s390-64/setjmp.S: ... here.
12557         Add versioning.
12558         (__sigsetjmp): Remove setting __flags field.
12559         * sysdeps/s390/setjmp.S: Delete file.
12560         * sysdeps/s390/sigjmp.c: Likewise.
12561         * sysdeps/s390/v1-longjmp.c: Likewise.
12562         * sysdeps/s390/v1-setjmp.h: Likewise.
12563         * sysdeps/s390/v1-sigjmp.c: Likewise.
12564         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
12565         Remove v1-longjmp_chk.
12566         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
12567         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
12568         Include debug/longjmp_chk.c and add versioning.
12569         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
12570         Include nptl/pt-longjmp.c and add versioning.
12571         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
12572         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
12573         Include __longjmp.c.
12574         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
12575         Move to ...
12576         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
12577         (__getcontext): Remove setting __flags field.
12578         Add versioning.
12579         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
12580         Don't restore upper high grps.
12581         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
12582         Likewise.
12583         (__swapcontext): Remove setting uc_flags field.
12584         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
12585         Delete file.
12586         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
12587         Include __longjmp.c.
12588         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
12589         Move to ...
12590         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
12591         (__getcontext): Remove setting __flags field.
12592         Add versioning.
12593         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
12594         (__swapcontext): Remove setting uc_flags field.
12595         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
12596         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
12597         Remove fields uc_high_gprs and __reserved.
12598         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
12599         New file with reverted content.
12600         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
12601         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
12602         Regenerated.
12603         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
12604         Regenerated.
12606 2014-07-31  Andreas Schwab  <schwab@suse.de>
12608         * config.h.in (HAVE_IFUNC): Define to 0.
12609         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
12610         definedness.
12612 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
12614         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12615         memmove-avx-unaligned, memcpy-avx-unaligned and
12616         mempcpy-avx-unaligned.
12617         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12618         Add tests for AVX memcpy functions.
12619         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
12620         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
12621         memcpy_chk.
12622         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
12623         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
12624         memmove_chk.
12625         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
12626         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
12627         mempcpy_chk.
12628         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
12629         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
12630         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
12632 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12634         [BZ #17213]
12635         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
12636         powerpc64le.
12638 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
12640         [BZ #16839]
12641         * manual/llio.texi: Add section about open file description locks.
12642         * manual/examples/ofdlocks.c: Example of open file description
12643         lock usage.
12644         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
12645         F_OFD_SETLK, and F_OFD_SETLKW.
12647 2014-07-23  Allan McRae  <allan@archlinux.org>
12649         * po/es.po: Update Spanish translation from translation project.
12651 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
12653         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
12655 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
12657         [BZ #17078]
12658         * sysdeps/arm/dl-machine.h (elf_machine_rela)
12659         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
12660         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
12662 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
12664         [BZ #17088]
12665         * math/fesetenv.c (__fesetenv)
12666         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
12667         * math/feupdateenv.c (__feupdateenv)
12668         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
12670         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
12671         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12672         (__ASSUME_SOCKETCALL): Do not define.
12674         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
12675         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
12676         (__ASSUME_SOCKETCALL): Do not define.
12677         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
12678         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12679         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12680         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
12681         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12682         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
12683         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12684         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12686         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
12687         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
12688         (__ASSUME_SOCKETCALL): Do not define.
12689         (__ASSUME_IPC64): Define unconditionally.
12690         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12691         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12692         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
12693         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12694         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
12695         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12696         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
12697         Likewise.
12699         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
12700         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
12701         (__ASSUME_SOCKETCALL): Do not define.
12702         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
12703         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12704         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12705         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
12706         (__ASSUME_REQUEUE_PI): Define unconditionally.
12707         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
12708         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
12709         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12710         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
12711         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12712         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12714         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
12715         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
12716         (__ASSUME_SOCKETCALL): Do not define.
12717         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
12718         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12719         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12720         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
12721         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12722         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
12724         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
12725         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
12726         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
12727         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
12728         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
12729         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
12730         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
12731         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
12732         (__ASSUME_GETCPU_SYSCALL): Likewise.
12734         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
12735         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
12736         cases for individual architectures.
12737         * sysdeps/gnu/configure: Regenerated.
12738         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
12739         LIBC_SLIBDIR_RTLDDIR.
12740         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
12741         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
12742         LIBC_SLIBDIR_RTLDDIR.
12743         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
12744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
12745         LIBC_SLIBDIR_RTLDDIR.
12746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
12747         Regenerated.
12748         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
12749         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
12750         file.
12751         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
12752         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
12753         file.
12754         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
12755         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
12756         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
12757         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
12759         * sysdeps/aarch64/shlib-versions: Move to ...
12760         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
12761         * sysdeps/alpha/shlib-versions: Move to ...
12762         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
12763         * sysdeps/arm/shlib-versions: Move to ...
12764         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
12765         * sysdeps/hppa/shlib-versions: Move all contents except for
12766         libgcc_s entry to ...
12767         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
12768         entry from ...
12769         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
12770         * sysdeps/ia64/shlib-versions: Move to ...
12771         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
12772         entry from ...
12773         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
12774         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
12775         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
12776         * sysdeps/microblaze/shlib-versions: Move to ...
12777         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
12778         * sysdeps/mips/shlib-versions: Move to ...
12779         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
12780         entry from ...
12781         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
12782         * sysdeps/tile/shlib-versions: Move to ...
12783         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
12784         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
12785         from ...
12786         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
12787         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
12788         entry from ...
12789         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
12791 2014-07-17  Will Newton  <will.newton@linaro.org>
12793         * sysdeps/arm/bits/atomic.h
12794         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
12795         (__arch_compare_and_exchange_bool_16_int): Likewise.
12796         (__arch_compare_and_exchange_bool_64_int): Likewise.
12798         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
12799         into an #else block.
12801 2014-07-16  Roland McGrath  <roland@hack.frob.com>
12803         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
12804         just Linux configurations.  Test empirically that the compiler sets
12805         __ARM_EABI__, rather than using the tuple to decide.
12806         * sysdeps/arm/preconfigure: Regenerated.
12807         * sysdeps/unix/sysv/linux/arm/configure: File removed.
12808         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
12809         contents appended ...
12810         * sysdeps/arm/configure.ac: ... here.
12811         * sysdeps/arm/configure: Regenerated.
12813 2014-07-15  Roland McGrath  <roland@hack.frob.com>
12815         * nptl/pthread_kill.c: New file.
12816         * nptl/pthread_sigmask.c: New file.
12817         * nptl/pthread_sigqueue.c: New file.
12819         * sysdeps/nptl/lowlevellock.h: New file.
12820         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
12821         * sysdeps/nptl/lowlevellock-futex.h: New file.
12823         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
12824         Remove dead declarations.
12826 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
12828         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
12829         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
12830         config-cflags-avx2.
12831         * sysdeps/x86_64/configure.ac: Likewise.
12832         * sysdeps/i386/configure: Regenerated.
12833         * sysdeps/x86_64/configure: Likewise.
12834         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12835         memset-avx2 only if config-cflags-avx2 is yes.
12836         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12837         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
12838         defined.
12839         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
12840         only if HAVE_AVX2_SUPPORT is defined.
12841         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12843 2014-07-14  Alan Modra  <amodra@gmail.com>
12845         [BZ #17153]
12846         * elf/elf.h (DT_PPC64_NUM): Correct value.
12847         * NEWS: Add to fixed bug list.
12849 2014-07-13  Jim Meyering  <meyering@fb.com>
12851         [BZ 17150]
12852         regex: don't deref NULL upon heap allocation failure
12853         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
12854         failure in one more place.
12855         To trigger the segfault, configure grep -with-included-regex,
12856         build it, and run these commands:
12857         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
12859 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
12861         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12863 2014-07-11  Richard Henderson  <rth@redhat.com>
12865         * sysdeps/aarch64/libm-test-ulps: Update.
12867 2014-07-10  Florian Weimer  <fweimer@redhat.com>
12869         [BZ #17135]
12870         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
12871         * nptl/allocatestack.c (__nptl_setxid_error): New function.
12872         (__nptl_setxid): Initialize error member.  Call
12873         __nptl_setxid_error.
12874         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
12875         * nptl/descr.h (struct xid_command): Add error member.
12876         * nptl/tst-setuid3.c: New file.
12877         * nptl/Makefile (tests): Add it.
12879 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12881         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
12882         New define.
12883         (__lll_trylock): Use __lll_base_trylock.
12884         (__lll_cond_trylock): Likewise.
12886 2014-07-10  Roland McGrath  <roland@hack.frob.com>
12888         * nptl/pthread_create.c (start_thread): Use atomic_or and
12889         lll_futex_wake directly rather than lll_robust_dead.
12890         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12891         (lll_robust_dead): Macro removed.
12892         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
12893         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12894         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12895         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12896         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12897         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12898         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12899         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12900         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12901         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12902         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12903         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12904         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12905         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12906         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12908         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12909         Use atomic_compare_and_exchange_val_acq directly rather than
12910         lll_robust_trylock.
12911         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
12912         (__lll_robust_trylock, lll_robust_trylock): Removed.
12913         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
12914         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
12915         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12916         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12917         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
12918         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
12919         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12920         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
12921         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12922         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12923         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12924         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12925         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12926         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12928 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12930         * manual/locale.texi (Locale Names): New section documenting
12931         locale name syntax.  Adjust menu and node chaining accordingly.
12932         (Choosing Locale): Reference Locale Names, Locale Categories.
12933         Mention setting LC_ALL=C.  Reflect that name syntax is now
12934         documented.
12935         (Locale Categories): New section title.  Reference Locale Names.
12936         LC_ALL is an environment variable, but not a category.
12937         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
12938         description, now in Locale Name.  Reference that section.  Locale
12939         name syntax is now documented.
12941 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12943         [BZ #17137]
12944         * locale/findlocale.c (name_present, valid_locale_name): New
12945         functions.
12946         (_nl_find_locale): Use the loc_name variable to store name
12947         candidates.  Call name_present and valid_locale_name to check and
12948         validate locale names.  Return an error if the locale is invalid.
12950 2014-07-02  Florian Weimer  <fweimer@redhat.com>
12952         * locale/setlocale.c (setlocale): Use strdup for allocating
12953         composite name copy.
12955 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
12957         Sync up with gnulib.
12958         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
12959         [!_LIBC && ENABLE_NLS]: Include gettext.h.
12960         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
12961         and _GL_ARG_NONNULL.
12962         [USE_UNLOCKED_IO]: Include unlocked-io.h.
12963         [!_LIBC]: Include code for Windows and Cygwin.
12964         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
12965         Include prototype for int strerror_r.
12966         [!_LIBC] (is_open): New function.
12967         (flush_stdout): New function.
12968         (print_errno_message): Use it.
12969         (error): Likewise.
12970         (error_at_line): Likewise.
12971         (error_tail) Add function attribute macros.  Use
12972         __builtin_expect.
12974         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
12976         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
12978         * io/ftw.c: Include sys/param.h unconditionally.
12980         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
12982         [BZ #17125]
12983         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
12984         libc_freeres_ptr.
12985         (freecache): New function to free CACHE on exit.
12987         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
12988         initialization.
12990 2014-07-09  David S. Miller  <davem@davemloft.net>
12992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12994         * sysdeps/sparc/nptl/internaltypes.h: Delete.
12995         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
12996         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
12997         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
12998         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
12999         * sysdeps/sparc/nptl/sem_init.c: Likewise.
13000         * sysdeps/sparc/nptl/sem_post.c: Likewise.
13001         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
13002         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
13003         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
13004         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
13005         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
13006         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
13008 2014-07-09  Andreas Schwab  <schwab@suse.de>
13010         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
13011         output.
13012         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
13013         (do_test): Likewise.
13015         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
13017 2014-07-09  Will Newton  <will.newton@linaro.org>
13019         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
13020         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
13021         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
13022         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
13023         * sysdeps/hppa/start.S (_start): Likewise.
13025 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13027         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
13029         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
13030         defined.
13032 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13034         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
13035         after checking that it is non-NULL.
13037         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
13039 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13041         * sysdeps/powerpc/memmove.c: Remove file.
13042         * sysdeps/powerpc/powerpc32/power4/memcopy.h
13043         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
13044         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
13045         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
13046         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
13047         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
13048         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
13049         string memmove instead of removed powerpc one.
13051         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13052         [weak_alias]: Fix compiler warning due trailing data.
13053         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
13054         [weak_alias]: Likewise.
13055         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
13056         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
13058         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13059         (__libc_ifunc_impl_list): Add memmove functions.
13061 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13063         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
13064         Remove code.
13065         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
13066         Likewise
13067         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
13068         Likewise
13069         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
13070         Likewise
13071         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
13072         Likewise
13073         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
13074         Likewise
13075         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
13076         Likewise
13077         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
13078         Likewise
13079         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
13080         Likewise
13081         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
13082         Likewise
13083         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
13084         Likewise
13085         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
13086         Likewise
13087         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
13088         Likewise
13089         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
13090         Likewise
13091         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
13092         Likewise
13093         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
13094         Likewise
13095         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
13096         Likewise
13098 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13100         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
13101         to avoid alignment traps in non-cacheable memory.
13102         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13104         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
13105         multiarch objects.
13106         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
13107         file: multiarch power7 memmove.
13108         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
13109         multiarch default memmove.
13110         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
13111         multiarch memove for powerpc32/power4.
13113         * string/bcopy.c: Use full path to include memmove.c.
13114         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
13115         multiarch objects.
13116         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
13117         bcopy for powerpc64.
13118         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
13119         bcopy for powerpc64.
13120         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
13121         and memmove implementations.
13122         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
13123         optimized multiarch memmove for POWER7/powerpc64.
13124         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
13125         default multiarch memmove for powerpc64.
13126         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
13127         multiarch for powerpc64.
13128         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
13129         for POWER7/powerpc64.
13130         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
13131         memmove for POWER7/powerpc64.
13133         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
13134         glibc default one.
13136         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
13137         __ELF_NATIVE_CLASS equal to 64.
13139 2014-07-07  Roland McGrath  <roland@hack.frob.com>
13141         * sysdeps/nptl/lowlevellock.h: File removed.
13143         * NEWS: NPTL is no longer an add-on!
13144         * nptl/internaltypes.h: Moved ...
13145         * sysdeps/nptl/internaltypes.h: ... here.
13146         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
13147         * sysdeps/nptl/fork.c: Likewise.
13148         * sysdeps/nptl/gai_misc.h: Likewise.
13149         * sysdeps/nptl/librt-cancellation.c: Likewise.
13150         * sysdeps/nptl/jmp-unwind.c: Likewise.
13151         * sysdeps/nptl/setxid.h: Likewise.
13152         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
13153         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
13154         * sysdeps/unix/sysv/linux/arm/Implies: New file.
13155         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
13156         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
13157         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
13158         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
13159         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
13160         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
13161         * sysdeps/unix/sysv/linux/mips/Implies: New file.
13162         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
13163         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
13164         * sysdeps/unix/sysv/linux/sh/Implies: New file.
13165         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
13166         * sysdeps/unix/sysv/linux/tile/Implies: New file.
13167         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
13168         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
13169         * nptl/Makeconfig: Moved ...
13170         * sysdeps/nptl/Makeconfig: ... here.
13171         * nptl/configure: File removed.
13172         * nptl/ANNOUNCE: File removed.
13173         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
13174         * sysdeps/unix/sysv/linux/configure: Regenerated.
13176         * nptl/Makefile (routines): Add libc_pthread_init,
13177         libc_multiple_threads, register-atfork and unregister-atfork.
13178         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
13179         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
13180         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
13181         pthread-pi-defines.sym, structsem.sym.
13182         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
13183         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
13184         [$(subdir) = nptl] (tests): Add tst-setgetname.
13185         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
13186         * sysdeps/unix/sysv/linux/sigaction.c: Just include
13187         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
13188         [!LIBC_SIGACTION]: Remove aliases.
13189         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13190         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13191         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13192         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
13193         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13194         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
13195         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
13196         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
13197         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13198         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
13199         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
13200         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
13201         __libc_allocate_rtsig_private.
13202         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
13203         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
13204         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
13205         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
13206         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
13207         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
13208         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
13209         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
13210         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
13211         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
13212         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
13213         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
13214         * nptl/internaltypes.h: ... here.
13215         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
13216         * sysdeps/nptl/jmp-unwind.c: ... here.
13217         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
13218         * nptl/libc-lowlevellock.c: ... here.
13219         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
13220         * nptl/libc_multiple_threads.c: ... here.
13221         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
13222         * nptl/libc_pthread_init.c: ... here.
13223         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
13224         * nptl/lowlevelbarrier.sym: ... here.
13225         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
13226         * nptl/lowlevelcond.sym: ... here.
13227         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
13228         * nptl/lowlevellock.c: ... here.
13229         * nptl/lowlevellock.h: Moved ...
13230         * sysdeps/nptl/lowlevellock.h: ... here.
13231         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
13232         * nptl/lowlevelrobustlock.c: ... here.
13233         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
13234         * nptl/lowlevelrobustlock.sym: ... here.
13235         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
13236         * nptl/lowlevelrwlock.sym: ... here.
13237         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
13238         * nptl/pt-fork.c: ... here.
13239         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
13240         * nptl/pthread-pi-defines.sym: ... here.
13241         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
13242         * nptl/pthread_attr_getaffinity.c: ... here.
13243         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
13244         * nptl/pthread_attr_setaffinity.c: ... here.
13245         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
13246         * nptl/pthread_mutex_cond_lock.c: ... here.
13247         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13248         Update #include.
13249         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
13250         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
13251         * nptl/pthread_once.c: ... here, replacing old file.
13252         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
13253         * nptl/pthread_yield.c: ... here.
13254         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
13255         * nptl/register-atfork.c: ... here.
13256         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
13257         * nptl/sem_post.c: ... here.
13258         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
13259         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
13260         * nptl/sem_timedwait.c: ... here.
13261         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
13262         * nptl/sem_trywait.c: ... here.
13263         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
13264         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
13265         * nptl/sem_wait.c: ... here.
13266         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
13267         * nptl/structsem.sym: ... here.
13268         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
13269         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
13270         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
13271         * nptl/unregister-atfork.c: ... here.
13272         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
13273         * nptl/unwindbuf.sym: ... here.
13274         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
13275         * sysdeps/nptl/fork.c: ... here.
13276         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
13277         * sysdeps/nptl/fork.h: ... here.
13278         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
13279         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
13280         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
13281         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
13282         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
13283         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
13284         * sysdeps/unix/sysv/linux/getpid.c: ... here.
13285         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
13286         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
13287         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
13288         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
13289         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
13290         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
13291         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
13292         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
13293         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
13294         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
13295         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
13296         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
13297         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
13298         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
13299         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
13300         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
13301         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
13302         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
13303         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
13304         * sysdeps/unix/sysv/linux/raise.c: ... here.
13305         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
13306         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
13307         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
13308         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
13309         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
13310         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
13311         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
13312         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
13313         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
13314         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
13315         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
13316         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
13317         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
13318         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
13319         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
13321 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13323         * sysdeps/generic/memcopy.h: Add comment for
13324         MEMCPY_OK_FOR_FWD_MEMMOVE.
13326 2014-07-04  Will Newton  <will.newton@linaro.org>
13328         * string/memchr.c: Merge from gnulib.
13329         [_LIBC]: Remove conditionals.
13330         (__ptr_t): Remove define.
13331         (LONG_MAX_32_BITS): Likewise.
13332         (LONG_MAX): Likewise.
13333         (MEMCHR): Use ANSI prototype and optimize algorithm.
13335         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
13337 2014-07-03  Roland McGrath  <roland@hack.frob.com>
13339         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
13340         (lll_futex_timed_wait_bitset): Fix syscall argument count.
13342         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
13343         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
13344         in a bare environment with no <stdlib.h> installed.
13345         * sysdeps/nptl/configure: Regenerated.
13347         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
13349         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
13350         AC_EGREP_CPP for kernel header checks, so they only succeed if
13351         including <linux/version.h> actually works right.
13352         * sysdeps/unix/sysv/linux/configure: Regenerated.
13354         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
13355         value so it's not diagnosed as unused.
13357         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
13358         thing) with "ifeq ($(subdir),rt)".
13360 2014-07-03  Richard Henderson  <rth@redhat.com>
13362         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
13363         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
13364         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
13366         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
13367         (math_force_eval): New.
13369         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
13370         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
13372         * sysdeps/alpha/fpu/s_round.c: Remove file.
13373         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
13375         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
13376         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
13377         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
13378         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
13379         (_dl_start, print_statistics): Likewise.
13380         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
13381         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
13383         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13384         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13385         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13386         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13387         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13388         (HP_SMALL_TIMING_AVAIL): Define.
13389         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13390         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13391         (HP_SMALL_TIMING_AVAIL): Define.
13392         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13393         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
13395         * sysdeps/aarch64/hp-timing.h: New file.
13397         * sysdeps/generic/hp-timing.h: Remove dead comment.
13398         * sysdeps/generic/hp-timing-common.h: New file.
13399         * sysdeps/alpha/hp-timing.h: Include it.
13400         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
13401         * sysdeps/i386/i686/hp-timing.h: Likewise.
13402         * sysdeps/ia64/hp-timing.h: Likewise.
13403         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13404         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13405         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
13406         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
13407         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
13408         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
13409         (hp_timing_t): New.
13411         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
13412         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
13413         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
13414         * elf/rtld.c (_dl_start_final): Likewise.
13415         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
13416         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13417         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13418         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13419         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13420         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13421         (HP_TIMING_DIFF_INIT): Remove.
13422         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13423         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
13424         (HP_TIMING_DIFF_INIT): Remove.
13425         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
13426         * sysdeps/i386/i686/hp-timing.c: Remove file.
13427         * sysdeps/x86_64/hp-timing.c: Remove file.
13428         * sysdeps/ia64/hp-timing.c: Remove file.
13429         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
13430         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
13431         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
13432         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
13434         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
13435         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
13436         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
13437         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13438         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
13439         (HP_TIMING_ACCUM): Remove.
13440         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13441         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
13442         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
13444         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
13445         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
13446         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
13447         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
13448         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
13449         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13450         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
13451         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
13453         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
13455 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
13457         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
13459 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13461         Sync up with gettext.
13462         * intl/loadmsgcat.c: Define O_BINARY if not defined.
13463         [_MSC_VER]: Include malloc.h
13464         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
13465         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
13466         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
13467         TEMP_FAILURE_RETRY.  Cast return of alloca.
13468         [!_LIBC] Call gl_rwlock_init.
13469         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
13471 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13473         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
13474         before checking its value.
13476 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13478         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
13480         * debug/memcpy_chk.c: Don't include pagecopy.h.
13481         * debug/mempcpy_chk.c: Likewise.
13482         * string/memcpy.c: Likewise.
13483         * string/memmove.c: Likewise.
13484         * sysdeps/powerpc/memmove.c: Likewise.
13485         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
13486         definition of PAGE_COPY_FWD_MAYBE here...
13487         * sysdeps/generic/pagecopy.h: ... from here.
13488         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
13490 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13491             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13493         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
13494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
13495         optimizations.
13496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13497         (__libc_ifunc_impl_list): Likewise.
13498         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
13499         multiarch strcat for PPC64.
13500         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
13501         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
13503 2014-07-02  Roland McGrath  <roland@hack.frob.com>
13505         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
13507 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13509         * intl/loadmsgcat.c: Remove declaration of
13510         get_sysdep_segment_value.
13511         (get_sysdep_segment_value): Use ISO C style.
13512         (_nl_load_domain): Use ISO C style.  Get rid of redundant
13513         semicolon.  Fix typo and formatting in comment.
13514         (_nl_unload_domain): Use ISO C style.
13516         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
13518 2014-07-02  Will Newton  <will.newton@linaro.org>
13520         * malloc/obstack.c: Merge from gnulib master.
13521         [HAVE_CONFIG_H]: Remove conditional code.
13522         [!_LIBC]: Include config.h.
13523         [!ELIDE_CODE]: Don't include inttypes.h, include
13524         stdint.h unconditionally.
13525         (print_and_abort): Mark as _Noreturn.
13526         (_obstack_allocated_p): Mark as __attribute_pure__.
13527         (obstack_free): Rename to __obstack_free.
13528         [!__attribute__]: Remove conditional code.
13529         * malloc/obstack.h: Merge from gnulib master.
13530         [__cplusplus]: Move conditional down.
13531         [!__attribute_pure__]: Define __attribute_pure__ here
13532         if it is not already defined.
13533         (_obstack_memory_used): Mark as __attribute_pure__.
13534         [!__obstack_free]: Define as obstack_free.
13535         [__GNUC__]: Remove check for ancient NeXT gcc.
13537 2014-07-02  Will Newton  <will.newton@linaro.org>
13538             Paul Eggert  <eggert@cs.ucla.edu>
13540         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
13542 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13544         * resolv/gethnamaddr.c: Add comment warning that the file is
13545         not maintained.
13547 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
13549         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
13550         entries.
13552         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
13553         entry for aio_cancel and aio_cancel64.
13554         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
13555         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
13556         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
13557         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
13558         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
13559         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
13560         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
13561         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
13562         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
13563         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
13564         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
13565         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
13566         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
13568 2014-07-01  Roland McGrath  <roland@hack.frob.com>
13570         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
13571         * nptl/pthread_mutex_lock.c: Likewise.
13572         * nptl/pthread_mutex_timedlock.c: Likewise.
13573         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
13575 2014-07-01  Richard henderson  <rth@redhat.com>
13577         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
13578         (__isnan, __isnanl): Remove.
13579         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
13581         * sysdeps/alpha/fpu/libm-test-ulps: Update.
13583 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13585         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13587 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13589         * resolv/nss_dns/dns-host.c (getanswer_r)
13590         [MULTI_PTRS_ARE_ALIASES]: Remove code.
13592 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
13594         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13595         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
13596         undefine.
13597         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
13598         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
13600 2014-07-01  Roland McGrath <roland@hack.frob.com>
13602         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
13603         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
13605         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
13606         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
13608         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
13609         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
13610         ... here.
13611         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
13612         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
13614         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
13615         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
13616         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
13617         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
13619         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
13620         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
13621         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
13622         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
13623         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
13624         Moved ...
13625         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
13626         ... here.
13627         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
13628         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
13629         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
13630         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
13631         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
13632         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
13633         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
13634         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
13635         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
13636         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
13637         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
13638         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
13639         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
13640         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
13641         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
13642         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
13643         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
13644         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
13645         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
13646         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
13647         ... here.
13648         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
13649         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
13650         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
13651         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
13652         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
13653         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
13654         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
13655         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
13657 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
13659         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
13660         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
13661         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
13662         Add sysdep.
13664 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13668 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13670         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13671         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13673         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13675         * sysdeps/arm/libm-test-ulps: Regenerated.
13677 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13678             Roland McGrath <roland@hack.frob.com>
13680         * test-skeleton.c (signal_handler): Kill the whole process group
13681         before killing the child individually.
13682         (main): Report any failure on `setpgid'.
13684 2014-06-30  Roland McGrath  <roland@hack.frob.com>
13686         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
13687         from _TLS_H to _ARM_NPTL_TLS_H.
13688         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
13689         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
13691 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
13693         [BZ #16539]
13694         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
13695         (__expm1l): Return argument unchanged when small but not
13696         subnormal.
13698         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
13699         include macro name.
13700         (_FP_UNPACK_RAW_1_P): Likewise.
13701         (_FP_PACK_RAW_1): Likewise.
13702         (_FP_PACK_RAW_1_P): Likewise.
13703         (_FP_MUL_MEAT_1_wide): Likewise.
13704         (_FP_MUL_MEAT_DW_1_hard): Likewise.
13705         (_FP_MUL_MEAT_1_hard): Likewise.
13706         (_FP_DIV_MEAT_1_imm): Likewise.
13707         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
13708         (_FP_DIV_MEAT_1_udiv): Likewise.
13709         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
13710         (_FP_UNPACK_RAW_2): Likewise.
13711         (_FP_UNPACK_RAW_2_P): Likewise.
13712         (_FP_PACK_RAW_2): Likewise.
13713         (_FP_PACK_RAW_2_P): Likewise.
13714         (_FP_MUL_MEAT_DW_2_wide): Likewise.
13715         (_FP_MUL_MEAT_2_wide): Likewise.
13716         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
13717         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
13718         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
13719         (_FP_MUL_MEAT_2_gmp): Likewise.
13720         (_FP_DIV_MEAT_2_udiv): Likewise.
13721         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
13722         (_FP_FRAC_SRL_4): Likewise.
13723         (_FP_FRAC_SRST_4): Likewise.
13724         (_FP_FRAC_SRS_4): Likewise.
13725         (_FP_UNPACK_RAW_4): Likewise.
13726         (_FP_UNPACK_RAW_4_P): Likewise.
13727         (_FP_PACK_RAW_4): Likewise.
13728         (_FP_PACK_RAW_4_P): Likewise.
13729         (_FP_MUL_MEAT_DW_4_wide): Likewise.
13730         (_FP_MUL_MEAT_4_wide): Likewise.
13731         (_FP_MUL_MEAT_4_gmp): Likewise.
13732         (umul_ppppmnnn): Likewise.
13733         (_FP_DIV_MEAT_4_udiv): Likewise.
13734         (__FP_FRAC_ADD_4): Likewise.
13735         (__FP_FRAC_SUB_3): Likewise.
13736         (__FP_FRAC_SUB_4): Likewise.
13737         (__FP_FRAC_DEC_3): Likewise.
13738         (__FP_FRAC_DEC_4): Likewise.
13739         (__FP_FRAC_ADDI_4): Likewise.
13740         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
13741         (_FP_FRAC_SRL_8): Likewise.
13742         (_FP_FRAC_SRS_8): Likewise.
13744         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
13745         include macro name.
13746         (FP_UNPACK_RAW_EP): Likewise.
13747         (FP_PACK_RAW_E): Likewise.
13748         (FP_PACK_RAW_EP): Likewise.
13749         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
13750         (_FP_ISSIGNAN): Likewise.
13751         (_FP_ADD_INTERNAL): Likewise.
13752         (_FP_FMA): Likewise.
13753         (_FP_CMP): Likewise.
13754         (_FP_SQRT): Likewise.
13755         (_FP_TO_INT): Likewise.
13756         (_FP_FROM_INT): Likewise.
13757         (FP_EXTEND): Likewise.
13758         (_FP_DIV_MEAT_N_loop): Likewise.
13760 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
13762         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
13763         throughout.
13765 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
13767         [BZ #17097]
13768         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
13769         result with correct sign in case of exponents that produce
13770         overflow except for X very close to 1.
13772 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
13774         mktime: merge #if/#ifdef usage from glibc
13775         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
13776         as that works with both Glibc's and Gnulib's style.
13777         See thread starting at Siddhesh Poyarekar's bug report at:
13778         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
13780 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13782         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
13783         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
13784         * sysdeps/tile/tilegx/memmove.c: Remove file.
13786 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13788         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
13789         abi-name definition.
13790         * scripts/soversions.awk: Do not handle or generate ABI lines.
13791         * shlib-versions: Remove ABI entries.
13792         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
13793         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
13795 2014-06-27  Roland McGrath  <roland@hack.frob.com>
13797         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
13798         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
13799         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
13800         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
13801         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
13802         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
13803         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
13804         Moved ...
13805         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
13806         ... here.
13807         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
13808         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
13809         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
13810         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
13811         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
13812         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
13813         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
13814         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
13815         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
13816         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
13817         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
13818         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
13819         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
13820         Moved ...
13821         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
13822         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
13823         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
13824         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
13825         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
13826         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
13827         Moved ...
13828         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
13829         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
13830         Moved ...
13831         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
13832         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
13833         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
13834         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
13835         Moved ...
13836         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
13837         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
13838         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
13839         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
13840         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
13841         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
13842         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
13843         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
13844         Moved ...
13845         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
13846         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
13847         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
13848         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
13849         Moved ...
13850         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
13851         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
13852         Moved ...
13853         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
13854         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
13855         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
13856         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
13857         Moved ...
13858         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
13859         ... here.
13860         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
13861         Identical file removed.
13862         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
13863         Moved ...
13864         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
13865         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
13866         Identical file removed.
13867         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
13868         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
13869         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
13870         Moved ...
13871         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
13872         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
13873         Identical file removed.
13874         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
13875         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
13876         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
13877         Identical file removed.
13878         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
13879         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
13880         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
13881         Identical file removed.
13882         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
13883         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
13884         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
13885         Identical file removed.
13886         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
13887         Moved ...
13888         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
13889         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
13890         Identical file removed.
13891         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
13892         Moved ...
13893         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
13894         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
13895         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
13896         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
13897         Identical file removed.
13898         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
13899         Moved ...
13900         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
13901         ... here.
13902         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
13903         Identical file removed.
13904         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
13905         Moved ...
13906         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
13907         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
13908         Identical file removed.
13909         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
13910         Moved ...
13911         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
13912         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
13913         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
13914         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
13915         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
13916         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
13917         Moved ...
13918         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
13919         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
13920         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
13922         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
13923         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
13924         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
13925         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
13926         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
13928 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
13930         [BZ #17092]
13931         * nscd/nscd.c (monitor_child): Return exit status of child
13932         instead of return value from wait syscall.
13934 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
13936         * configure.ac (libc_commonpagesize): Remove variable.
13937         (libc_relro_required): Likewise.
13938         (libc_cv_z_relro): Remove configure test.
13939         * configure: Regenerated.
13940         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
13941         variable.
13942         (libc_relro_required): Likewise.
13943         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
13944         (libc_relro_required): Likewise.
13945         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
13946         (libc_relro_required): Likewise.
13947         * sysdeps/arm/preconfigure: Regenerated.
13948         * sysdeps/ia64/preconfigure: Remove file.
13949         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
13950         variable.
13951         (libc_relro_required): Likewise.
13953         [BZ #16561]
13954         [BZ #16562]
13955         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
13956         (__ieee754_yn): Set FE_TONEAREST mode internally and then
13957         recompute overflowing results in original rounding mode.
13958         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
13959         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
13960         recompute overflowing results in original rounding mode.
13961         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
13962         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13963         recompute overflowing results in original rounding mode.
13964         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
13965         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13966         recompute overflowing results in original rounding mode.
13967         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
13968         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
13969         recompute overflowing results in original rounding mode.
13970         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
13971         (libc_feholdsetround_ctx): New macro.
13972         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
13973         * sysdeps/i386/fpu/libm-test-ulps: Update.
13974         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
13976 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13978         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
13979         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
13980         corresponding .cpsetup call.
13982 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13984         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
13985         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
13986         * sysdeps/arm/Makefile [$(subdir) = csu]
13987         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
13988         (static-only-routines): Add aeabi_read_tp here.
13989         (shared-only-routines): Add libc-aeabi_read_tp here.
13990         (CFLAGS-libc-start.c): Add -fexceptions here.
13991         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
13992         (sysdep_routines, static-only-routines, shared-only-routines):
13993         Don't add to these here.
13994         (CFLAGS-libc-start.c): Likewise.
13996         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
13997         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13998         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
13999         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14000         * sysdeps/arm/Makefile [$(subdir) = rt]
14001         (librt-sysdep_routines, librt-shared-only-routines):
14002         Append rt-aeabi_unwind_cpp_pr1 here.
14003         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
14004         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
14005         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
14006         (libpthread-sysdep_routines, libpthread-shared-only-routines):
14007         Append nptl-aeabi_unwind_cpp_pr1 here.
14008         (tests): Filter out tst-cleanupx4 here.
14009         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
14010         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
14011         Don't do those here.
14013 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14015         * scripts/list-sources.sh: Do not handle ports specially.
14017 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14019         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
14020         * sysdeps/arm/feupdateenv.c: Likewise.
14022         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
14024 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14026         * manual/texinfo.tex: Update to version 2014-05-05.10 with
14027         trailing whitespace removed.
14028         * scripts/config.guess: Update to version 2014-03-23.
14029         * scripts/config.sub: Update to version 2014-05-01
14030         * scripts/install-sh: Update to version 2013-12-25.23.
14031         * scripts/move-if-change: Update from gnulib.
14033 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14035         * debug/memmove_chk.c: Remove pagecopy.h include.
14037 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
14039         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
14040         identical to gnulib mktime.
14042 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
14044         * configure.ac: Do not test for machine being rs6000.  Do not test
14045         for powerpc*-*soft.
14046         * configure: Regenerated.
14048         [BZ #11505]
14049         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
14050         test.
14051         * configure: Regenerated.
14052         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
14053         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
14054         Remove configure test.
14055         * sysdeps/arm/configure: Regenerated.
14056         * sysdeps/nptl/configure.ac: Do not check
14057         libc_cv_asm_cfi_directives.
14058         * sysdeps/nptl/configure: Regenerated.
14059         * sysdeps/x86_64/nptl/configure.ac: Remove file.
14060         * sysdeps/x86_64/nptl/configure: Remove generated file.
14061         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
14062         unconditional.
14063         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
14065 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14067         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
14068         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
14069         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
14070         it is defined.
14072         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
14073         instead of whether it is defined.
14074         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
14075         * sysdeps/hppa/dl-machine.h: Likewise.
14076         * sysdeps/ia64/dl-machine.h: Likewise.
14077         * sysdeps/m68k/dl-machine.h: Likewise.
14078         * sysdeps/microblaze/dl-machine.h: Likewise.
14079         * sysdeps/mips/dl-machine.: Likewise.
14080         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
14081         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
14082         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
14083         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
14084         * sysdeps/sh/dl-machine.h: Likewise.
14085         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
14086         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
14087         * sysdeps/tile/dl-machine.h: Likewise.
14088         * sysdeps/x86_64/dl-machine.h: Likewise.
14090         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
14091         code.
14092         (verify_persistent_db): Likewise.
14094 2014-06-26  Roland McGrath  <roland@hack.frob.com>
14096         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
14097         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
14098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
14099         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
14100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
14101         Moved ...
14102         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14103         ... here.
14104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
14105         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
14106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
14107         Identical file removed.
14108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
14109         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
14110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
14111         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
14112         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
14113         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
14114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
14115         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
14116         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
14117         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
14118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
14119         Moved ...
14120         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
14121         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
14122         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
14123         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
14124         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
14125         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
14126         Moved ...
14127         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
14128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
14129         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
14130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
14131         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
14132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14133         Identical file removed.
14134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
14135         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
14136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
14137         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
14138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
14139         Moved ...
14140         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14141         ... here.
14142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
14143         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
14144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
14145         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
14146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
14147         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
14148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
14149         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
14150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
14151         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
14152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
14153         Moved ...
14154         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
14155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
14156         Moved ...
14157         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
14158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
14159         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
14160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
14161         Moved ...
14162         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
14163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
14164         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
14166         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
14167         folded into ...
14168         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
14169         * sysdeps/unix/sysv/linux/s390/Versions
14170         (libpthread: GLIBC_2.19): New version set.
14171         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
14172         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
14173         (librt: GLIBC_2.3.3): New version set.
14174         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
14175         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
14176         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
14177         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
14178         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
14179         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
14180         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
14181         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
14182         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
14183         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
14184         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
14185         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
14186         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
14187         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
14188         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
14189         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
14190         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
14191         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
14192         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
14193         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
14194         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
14195         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
14196         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
14197         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
14198         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
14199         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
14200         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
14201         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
14202         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
14203         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
14204         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
14205         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
14206         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
14207         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
14208         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
14209         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
14210         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
14211         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
14212         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
14213         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
14214         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
14215         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
14216         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
14217         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
14218         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
14220         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
14221         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
14222         (__libc_vfork): Define the function under this name.
14223         [!NOT_IN_libc] (__vfork): Make this an alias.
14224         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14225         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
14226         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
14227         (__libc_vfork): Define the function under this name.
14228         [!NOT_IN_libc] (__vfork): Make this an alias.
14229         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
14230         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
14231         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
14232         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
14233         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
14234         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
14236         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
14237         code that was previously under [RESET_PID].
14238         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14239         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
14240         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
14242         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
14243         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
14244         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
14245         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
14246         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
14247         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
14248         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
14249         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
14250         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
14251         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
14252         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
14253         Moved ...
14254         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
14255         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
14256         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
14257         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
14258         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
14259         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
14260         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
14261         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
14262         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
14263         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
14264         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
14265         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
14266         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
14267         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
14268         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
14269         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
14270         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
14271         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
14272         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
14273         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
14274         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
14275         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
14276         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
14277         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
14278         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
14279         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
14280         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
14281         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
14282         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
14284 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14286         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
14287         that was previously under [RESET_PID].
14288         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
14290 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14292         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
14293         not undefine and redefine.
14294         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
14295         [O_CLOEXEC]: Make code unconditional.
14296         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
14297         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
14298         <kernel-features.h>.
14299         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
14300         conditional variable definition.
14301         (shm_open) [O_CLOEXEC]: Make code unconditional.
14302         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
14303         code.
14305         * configure.ac (USE_REGPARMS): Don't define here.
14306         * configure: Regenerated.
14307         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
14308         * sysdeps/i386/configure: Regenerated.
14310         * nptl/createthread.c: Don't include kernel-features.h.
14311         * nptl/pthread_cancel.c: Likewise.
14312         * nptl/pthread_condattr_setclock.c: Likewise.
14313         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
14314         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
14315         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
14316         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
14317         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
14318         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
14319         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14320         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
14321         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14322         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
14323         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
14324         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
14325         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
14326         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
14327         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
14328         * nscd/gai.c: Likewise.
14329         * nss/nss_db/db-open.c: Likewise.
14330         * sysdeps/generic/ldsodefs.h: Likewise.
14331         * sysdeps/sh/nptl/tls.h: Likewise.
14332         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
14333         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
14334         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
14335         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
14336         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
14337         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
14338         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
14339         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14340         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14341         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
14342         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
14343         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14344         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
14345         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
14346         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
14347         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
14348         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
14349         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
14350         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
14351         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
14352         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
14353         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
14354         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
14355         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
14356         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
14357         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
14358         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
14359         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14360         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14361         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
14362         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
14363         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14364         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14365         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14366         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14367         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
14368         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14369         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14370         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
14371         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14372         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14373         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
14374         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
14375         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14376         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14377         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
14378         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
14379         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
14380         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
14381         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
14382         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
14383         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
14384         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
14385         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
14386         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
14387         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
14388         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14389         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
14390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
14392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
14393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
14394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
14395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
14396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
14397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
14398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
14402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
14403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
14404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
14406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
14407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
14408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
14409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
14410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
14411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14412         * sysdeps/unix/sysv/linux/pread.c: Likewise.
14413         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
14414         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
14415         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
14416         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
14417         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
14418         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
14419         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
14420         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
14421         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14422         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14423         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14424         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
14425         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
14426         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
14427         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
14428         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14429         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
14430         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
14431         * sysdeps/unix/sysv/linux/system.c: Likewise.
14432         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
14433         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
14434         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
14435         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
14436         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14437         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
14438         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
14440         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
14441         * configure: Regenerated.
14442         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
14444         * configure.ac (base_machine): Do not set specially for particular
14445         machines here.
14446         * configure: Regenerated.
14447         * sysdeps/powerpc/preconfigure: Move machine and base_machine
14448         settings from configure.ac.
14449         * sysdeps/i386/preconfigure: New file.
14450         * sysdeps/s390/preconfigure: Likewise.
14451         * sysdeps/sh/preconfigure: Likewise.
14452         * sysdeps/sparc/preconfigure: Likewise.
14454 2014-06-25  Roland McGrath  <roland@hack.frob.com>
14456         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
14457         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
14458         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
14459         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
14460         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
14461         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
14462         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
14463         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
14464         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
14465         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
14466         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
14467         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
14468         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
14469         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
14470         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
14471         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
14472         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
14473         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
14474         * sysdeps/sparc/sparc64/Makefile: ... appended here.
14476         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
14477         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
14478         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
14479         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
14480         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
14481         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
14482         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
14483         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
14484         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
14485         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
14486         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
14487         * sysdeps/sparc/sparc32/sem_post.c: ... here.
14488         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
14489         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
14490         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
14491         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
14492         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
14493         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
14494         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
14495         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
14496         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
14497         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
14498         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
14499         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
14500         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
14501         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
14502         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
14503         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
14504         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
14505         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
14506         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
14507         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
14508         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
14509         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
14510         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
14511         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
14512         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
14513         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
14515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
14516         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
14517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
14518         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
14519         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
14520         Moved ...
14521         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14522         ... here.
14523         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
14524         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
14525         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
14526         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
14527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
14528         Moved ...
14529         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
14530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
14531         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
14532         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
14533         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
14534         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
14535         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
14536         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
14537         Moved ...
14538         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
14539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
14540         Moved ...
14541         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
14542         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
14543         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
14544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
14545         Moved ...
14546         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
14547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
14548         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
14549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
14550         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
14551         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
14552         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
14553         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
14554         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
14555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
14556         Moved ...
14557         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14558         ... here.
14559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
14560         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
14561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
14562         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
14563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
14564         Moved ...
14565         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
14566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
14567         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
14568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
14569         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
14570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
14571         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
14572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
14573         Moved ...
14574         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
14575         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
14576         Moved ...
14577         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
14578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
14579         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
14580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
14581         Moved ...
14582         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
14583         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
14584         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
14585         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
14586         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
14588 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14590         * timezone/checktab.awk: Update from tzcode 2014e.
14591         * timezone/private.h: Likewise.
14592         * timezone/tzfile.h: Likewise.
14593         * timezone/zdump.c: Likewise.
14594         * timezone/zic.c: Likewise.
14596         * sysdeps/unix/sysv/linux/kernel-features.h
14597         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
14598         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
14599         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
14600         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14601         Remove conditional code.
14603 2014-06-25  Will Newton  <will.newton@linaro.org>
14605         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
14606         (_dl_arm_cap_flags): Add HWCAP2 values.
14607         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
14608         (_DL_HWCAP_COUNT): Increase to 37.
14609         (_DL_HWCAP_LAST): New define.
14610         (_DL_HWCAP2_LAST): New define.
14611         (_dl_procinfo): Add support for printing
14612         AT_HWCAP2 entries.
14613         (_dl_string_hwcap): Use _dl_hwcap_string.
14615 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14619 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
14621         * README: Do not mention ports directory.
14623         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
14624         Remove macro.
14625         * sysdeps/unix/sysv/linux/futimes.c: Do not include
14626         <kernel-features.h>.
14627         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
14628         conditional variable definition.
14629         (__futimes): Update comment.
14630         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
14631         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
14633         [BZ #16560]
14634         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
14635         arguments close to 0.
14636         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
14637         Likewise.
14638         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
14639         Likewise.
14640         * math/auto-libm-test-in: Add more tests of exp10.
14641         * math/auto-libm-test-out: Regenerated.
14642         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14644         * sysdeps/unix/sysv/linux/kernel-features.h
14645         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
14646         * sysdeps/unix/sysv/linux/readv.c: Do not include
14647         <kernel-features.h>.
14648         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14649         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14650         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14651         unconditional.
14652         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14653         conditional code.
14654         * sysdeps/unix/sysv/linux/writev.c: Do not include
14655         <kernel-features.h>.
14656         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
14657         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
14658         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
14659         unconditional.
14660         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
14661         conditional code.
14663 2014-06-25  Will Newton  <will.newton@linaro.org>
14665         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
14666         comment changes throughout the file.  Remove checks
14667         for HAVE_*_H definitions that are not required.
14668         (__gen_tempname): Call abort if an unknown kind value is
14669         passed.
14671 2014-06-25  Andreas Schwab  <schwab@suse.de>
14673         [BZ #17086]
14674         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
14675         scalbln, scalblnf, scalblnl in libc.
14677 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
14679         [BZ #17086]
14680         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
14681         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14682         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14684 2014-06-24  Roland McGrath  <roland@hack.frob.com>
14686         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
14687         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
14688         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
14689         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
14690         Update #include.
14691         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
14692         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
14693         Update #include.
14694         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
14695         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
14696         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
14697         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
14698         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
14699         * sysdeps/x86/bits/pthreadtypes.h: ... here.
14700         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
14701         * sysdeps/x86/bits/semaphore.h: ... here.
14702         * sysdeps/x86/nptl/elide.h: Moved ...
14703         * sysdeps/x86/elide.h: ... here.
14704         * sysdeps/x86_64/nptl/Implies: File removed.
14705         * sysdeps/i386/nptl/Implies: File removed.
14707 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
14709         [BZ #16539]
14710         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
14711         return the argument for normal arguments with exponent below -64.
14712         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14713         Likewise.
14714         * math/auto-libm-test-in: Add another test of expm1.
14715         * math/auto-libm-test-out: Regenerated.
14717         [BZ #16287]
14718         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
14719         calling __erfcl for arguments at least 16.
14720         * math/auto-libm-test-in: Add more tests of erf.
14721         * math/auto-libm-test-out: Regenerated.
14723         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
14724         individual architectures.
14725         * sysdeps/unix/sysv/linux/configure: Regenerated.
14726         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
14727         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
14728         * sysdeps/unix/sysv/linux/powerpc/configure.ac
14729         (ldd_rewrite_script): Define variable.
14730         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
14732         file.
14733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
14734         generated file.
14735         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
14736         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
14737         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
14738         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
14739         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
14740         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
14741         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
14742         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
14744 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14746         [BZ #17084]
14747         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
14748         Rename member __data.d to __data.__elision_data.
14750 2014-06-24  Wilco  <wdijkstr@arm.com>
14752         * NEWS: Add 16918 to fixed bug list.
14754 2014-06-24  Wilco  <wdijkstr@arm.com>
14756         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
14758 2014-06-24  Wilco  <wdijkstr@arm.com>
14760         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
14761         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
14762         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
14763         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
14764         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
14765         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
14766         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
14767         Use _FPU_MASK_RM.
14769 2014-06-24  Wilco  <wdijkstr@arm.com>
14771         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
14773 2014-06-24  Wilco  <wdijkstr@arm.com>
14775         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
14776         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
14777         * sysdeps/arm/fesetround.c (fesetround): Remove space.
14778         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
14780 2014-06-24  Wilco  <wdijkstr@arm.com>
14782         [BZ #16918]
14783         * sysdeps/arm/feupdateenv.c (feupdateenv):
14784         Rewrite to reduce FPSCR accesses and fix return value.
14786 2014-06-24  Wilco  <wdijkstr@arm.com>
14788         * sysdeps/arm/fclrexcpt.c (feclearexcept):
14789         Optimize to avoid unnecessary FPSCR writes.
14790         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
14791         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
14792         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
14793         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
14795 2014-06-24  Wilco  <wdijkstr@arm.com>
14797         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
14798         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
14799         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
14800         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
14801         Call libc_fetestexcept_vfp.
14802         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
14803         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
14804         __SOFTFP__ ifdef so that they can be built for softfp.
14806 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14808         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
14809         argument type signed char.
14811         * Makerules (check-abi): Dump diff of symlist if the test
14812         fails.
14814 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14816         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
14817         using abort.
14819         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14820         Remove unused variable ST.
14822 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
14824         [BZ #16354]
14825         [BZ #17061]
14826         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
14827         small arguments before calling __expm1.
14828         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
14829         small arguments before calling __expm1f.
14830         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
14831         small arguments before calling __expm1l.
14832         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
14833         Likewise.
14834         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
14835         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
14836         spurious underflow for some cosh tests.
14837         * math/auto-libm-test-out: Regenerated.
14838         * sysdeps/i386/fpu/libm-test-ulps: Update.
14840         [BZ #17050]
14841         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
14842         (__ieee754_y1): Set errno if return value overflows.
14843         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
14844         (__ieee754_y1f): Set errno if return value overflows.
14845         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
14846         (__ieee754_y1l): Set errno if return value overflows.
14847         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
14848         (__ieee754_y1l): Set errno if return value overflows.
14849         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
14850         * math/auto-libm-test-out: Regenerated.
14852         * math/gen-auto-libm-tests.c: Document use of
14853         ignore-zero-inf-sign.
14854         (input_flag_type): Add value flag_ignore_zero_inf_sign.
14855         (input_flags): Add ignore-zero-inf-sign.
14856         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
14857         * math/gen-libm-test.pl (generate_testfile): Handle
14858         ignore-zero-inf-sign.
14859         * math/auto-libm-test-in: Mark some cpow tests with
14860         ignore-zero-inf-sign and some with xfail-rounding.
14861         * math/auto-libm-test-out: Regenerated.
14862         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
14863         * sysdeps/i386/fpu/libm-test-ulps: Update.
14864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14866         [BZ #16315]
14867         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
14868         overflowing or underflowing operations take place with sign of
14869         result.
14870         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14871         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14872         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
14873         (__ieee754_pow): Recompute overflowing and underflowing results in
14874         original rounding mode.
14875         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
14876         (__powl_helper): Allow negative argument X and scale negated value
14877         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
14878         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
14879         overflowing or underflowing operations take place with sign of
14880         result.
14881         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
14882         Include <math.h>.
14883         * math/auto-libm-test-in: Add more tests of pow.
14884         * math/auto-libm-test-out: Regenerated.
14885         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
14886         (pow_tonearest_test_data): Remove.
14887         (pow_test_tonearest): Likewise.
14888         (pow_towardzero_test_data): Likewise.
14889         (pow_test_towardzero): Likewise.
14890         (pow_downward_test_data): Likewise.
14891         (pow_test_downward): Likewise.
14892         (pow_upward_test_data): Likewise.
14893         (pow_test_upward): Likewise.
14894         (main): Don't call removed functions.
14895         * sysdeps/i386/fpu/libm-test-ulps: Update.
14896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14898 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
14901         Moved ...
14902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
14903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14904         Moved ...
14905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
14906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
14907         Moved ...
14908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
14909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14910         Moved ...
14911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
14912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14913         File removed.
14914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
14915         File removed.
14916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
14917         File removed.
14918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
14919         File removed.
14920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
14921         File removed.
14922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
14923         File removed.
14924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
14925         File removed.
14926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
14927         File removed.
14928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
14929         File removed.
14930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
14931         File removed.
14932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
14933         File removed.
14934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
14935         File removed.
14936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
14937         Moved ...
14938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
14939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
14940         Moved ...
14941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14942         ... here.
14943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
14944         Moved ...
14945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
14946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
14947         Moved ...
14948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
14949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
14950         Moved ...
14951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
14952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
14953         Moved ...
14954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
14955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
14956         Moved ...
14957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
14958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
14959         Moved ...
14960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
14961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
14962         Moved ...
14963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
14964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
14965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14966         ... here.
14967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
14968         Moved ...
14969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
14970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14971         Moved ...
14972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14973         ... here.
14974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
14975         Moved ...
14976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14977         ... here.
14978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
14979         Moved ...
14980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
14981         ... here.
14982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14983         Moved ...
14984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
14985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14986         Moved ...
14987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
14988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
14989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
14990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14991         Moved ...
14992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14993         ... here.
14994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
14995         Moved ...
14996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14997         ... here.
14998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14999         Moved ...
15000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
15001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15002         Moved ...
15003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
15004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
15005         Moved ...
15006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
15007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15008         Moved ...
15009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
15010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
15011         Moved ...
15012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15013         ... here.
15014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15015         Moved ...
15016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
15017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
15018         Moved ...
15019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
15020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15021         Moved ...
15022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
15023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
15024         Moved ...
15025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
15026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
15027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
15028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
15029         Moved ...
15030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
15031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15032         Moved ...
15033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
15034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
15035         Moved ...
15036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15037         ... here.
15038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15039         Moved ...
15040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15041         ... here.
15042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
15043         Moved ...
15044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15045         ... here.
15046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15047         Moved ...
15048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
15049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
15050         Moved ...
15051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
15052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15053         Moved ...
15054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
15055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
15056         Moved ...
15057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15058         ... here.
15059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15060         Moved ...
15061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15062         ... here.
15063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
15064         Moved ...
15065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15066         ... here.
15067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15068         Moved ...
15069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
15070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15071         Moved ...
15072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
15074 2014-06-23  Will Newton  <will.newton@linaro.org>
15075             Wilco  <wdijkstr@arm.com>
15077         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
15078         implementation.  Include get-rounding-mode.h.
15079         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
15080         [!libc_feholdsetround_noex_ctx]: Define
15081         libc_feholdsetround_noex_ctx.
15082         [!libc_feholdsetround_noexf_ctx]: Define
15083         libc_feholdsetround_noexf_ctx.
15084         [!libc_feholdsetround_noexl_ctx]: Define
15085         libc_feholdsetround_noexl_ctx.
15086         (libc_feholdsetround_ctx): New function.
15087         (libc_feresetround_ctx): New function.
15088         (libc_feholdsetround_noex_ctx): New function.
15089         (libc_feresetround_noex_ctx): New function.
15091 2014-06-23  Roland McGrath  <roland@hack.frob.com>
15093         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
15094         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
15095         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
15096         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
15097         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
15098         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
15100         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
15101         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
15102         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
15103         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
15104         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
15105         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
15106         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
15107         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
15108         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
15109         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
15110         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
15111         Moved ...
15112         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
15113         ... here.
15114         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
15115         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
15116         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
15117         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
15118         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
15119         Moved ...
15120         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
15121         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
15122         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
15123         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
15124         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
15125         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
15126         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
15127         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
15128         Moved ...
15129         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
15130         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
15131         Moved ...
15132         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
15133         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
15134         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
15135         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
15136         Moved ...
15137         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
15138         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
15139         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
15140         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
15141         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
15142         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
15143         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
15144         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
15145         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
15146         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
15147         Moved ...
15148         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
15149         ... here.
15150         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
15151         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
15152         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
15153         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
15154         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
15155         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
15156         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
15157         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
15158         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
15159         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
15160         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
15161         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
15162         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
15163         Moved ...
15164         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
15165         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
15166         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
15167         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
15168         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
15169         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
15170         Moved ...
15171         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
15172         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
15173         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
15174         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
15175         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
15177         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
15178         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
15179         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
15180         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
15181         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
15182         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
15183         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
15184         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
15185         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
15186         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
15187         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
15188         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15189         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
15190         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
15191         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
15192         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
15193         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
15194         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
15195         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
15196         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
15197         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
15198         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
15199         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
15200         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
15201         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
15202         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
15203         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
15204         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
15206 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
15208         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
15209         (FALLOC_FL_COLLAPSE_RANGE): New macro.
15210         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
15211         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
15212         (IPV6_PMTUDISC_INTERFACE): Likewise.
15213         (IPV6_PMTUDISC_OMIT): Likewise.
15215 2014-06-23  Andreas Schwab  <schwab@suse.de>
15217         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
15218         Remove unused errout label.
15220 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15222         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
15223         macro: hardware supports Vector Crypto instructions.
15225 2014-06-23  Will Newton  <will.newton@linaro.org>
15227         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
15228         rather than __builtin_expect.
15230         * elf/dl-lookup.c (undefined_msg): Remove variable.
15231         (_dl_lookup_symbol_x): Replace undefined_msg with string
15232         literal.
15234         * elf/dl-lookup.c (do_lookup_unique): New function.
15235         (do_lookup_x): Move STB_GNU_UNIQUE handling code
15236         to a separate function.
15238 2014-06-23  Andreas Schwab  <schwab@suse.de>
15240         [BZ #17079]
15241         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
15242         before reading the next line.
15244 2014-06-23  Will Newton  <will.newton@linaro.org>
15246         * test-skeleton.c (signal_handler): Use printf and %m
15247         rather than perror.  Use printf rather than fprintf to
15248         stderr.  Use puts rather than fputs to stderr.
15249         (main): Likewise.
15251 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
15253         * nscd/nscd.c (thread_info_t): Remove typedef.
15254         (thread_info): Remove variable.
15256 2014-06-21  Allan McRae  <allan@archlinux.org>
15258         * NEWS: Mention CVE-2014-4043.
15260 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15262         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
15263         * nptl/smp.h: ... here.
15265         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
15267         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
15268         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
15269         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
15270         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
15272         * nptl/allocatestack.c: Include <stack-aliasing.h>.
15273         * nptl/stack-aliasing.h: New file.
15274         * sysdeps/i386/i686/stack-aliasing.h: New file.
15275         * sysdeps/i386/i686/nptl/Makefile: File removed.
15276         * sysdeps/x86_64/stack-aliasing.h: New file.
15277         * sysdeps/x86_64/nptl/Makefile
15278         (CFLAGS-pthread_create.c): Variable removed.
15280         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
15281         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
15282         old file.
15283         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
15284         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
15285         old file.
15287 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
15289         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15290         (__ASSUME_SIGFRAME_V2): Remove macro.
15291         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
15292         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
15293         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
15294         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
15295         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
15296         Declare as function.  Remove conditional macro definitions.
15297         (__default_rt_sa_restorer): Likewise.
15298         (__default_sa_restorer_v1): Remove declaration.
15299         (__default_sa_restorer_v2): Likewise.
15300         (__default_rt_sa_restorer_v1): Likewise.
15301         (__default_rt_sa_restorer_v2): Likewise.
15302         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
15303         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
15304         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
15306 2014-06-20  Roland McGrath  <roland@hack.frob.com>
15308         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
15309         (libpthread-routines): Add sysdep.
15310         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
15311         * sysdeps/unix/sysv/linux/sparc/Versions
15312         (libpthread: GLIBC_2.3.3): New version set.
15313         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
15314         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
15315         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
15316         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
15317         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
15318         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
15319         Moved ...
15320         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
15321         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
15322         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
15323         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
15324         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
15325         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
15326         * sysdeps/sparc/nptl/sem_init.c: ... here.
15327         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
15328         * sysdeps/sparc/nptl/sem_post.c: ... here.
15329         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
15330         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
15331         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
15332         * sysdeps/sparc/nptl/sem_wait.c: ... here.
15333         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
15334         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
15335         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
15336         (libpthread-routines): Add cpu_relax.
15337         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
15338         File removed.
15339         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
15340         (librt: GLIBC_2.3.3): New version set.
15341         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
15342         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
15343         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
15344         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
15345         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
15346         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
15347         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
15348         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
15349         Moved ...
15350         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
15351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
15352         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
15353         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
15354         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
15355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
15356         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
15357         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
15358         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
15359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
15360         Moved ...
15361         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
15362         Update #include.
15363         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
15364         Moved ...
15365         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
15366         Update #include.
15367         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
15368         Moved ...
15369         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
15370         Update #include.
15371         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
15372         Moved ...
15373         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
15374         Update #include.
15375         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
15376         Moved ...
15377         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
15378         Update #include.
15379         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
15380         Moved ...
15381         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
15382         Update #include.
15383         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
15384         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
15385         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
15386         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
15387         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
15388         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
15389         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
15390         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
15391         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
15392         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
15393         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15394         Moved ...
15395         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
15396         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
15397         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
15398         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
15399         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
15401 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15403         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
15404         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
15405         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15406         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
15407         * nscd/nscd.c: Likewise.
15408         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
15409         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
15410         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
15411         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
15413         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
15414         <kernel-features.h>.
15415         (init_mq_netlink): Remove conditional have_sock_cloexec
15416         definitions.  Remove code conditional on have_sock_cloexec < 0.
15417         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
15418         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
15419         * sysdeps/unix/sysv/linux/opensock.c: Do not include
15420         <kernel-features.h>.
15421         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
15422         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
15424 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15426         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15427         Add tests for memset_chk and memset.
15429         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
15430         with AVX2_Usable.
15432 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15434         [BZ #16046]
15435         * elf/tst-dl-iter-static.c: New file.
15436         * elf/Makefile (tests-static): Add tst-dl-iter-static.
15438         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
15439         error.
15441 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15443         * sysdeps/unix/sysv/linux/kernel-features.h
15444         (__ASSUME_F_GETOWN_EX): Remove macro.
15445         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
15446         <kernel-features.h>.
15447         (miss_F_GETOWN_EX): Remove variable or macro.
15448         (do_fcntl): Do not check miss_F_GETOWN_EX.
15449         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
15451         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
15452         Remove macro.
15453         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
15454         [!__ASSUME_AT_RANDOM]: Remove conditional code.
15455         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
15457         * sysdeps/unix/sysv/linux/kernel-features.h
15458         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
15459         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
15460         [ADJ_OFFSET_SS_READ]: Make code unconditional.
15461         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
15463 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
15465         [BZ #17075]
15466         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
15467         Fix calculation of the symbol's value.
15468         * sysdeps/arm/tst-armtlsdescloc.c: New file.
15469         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
15470         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
15471         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
15472         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
15473         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
15474         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
15475         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
15476         (modules-names): Add `tst-armtlsdescmod',
15477         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
15478         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
15479         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15480         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
15481         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
15482         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
15483         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
15484         ($(objpfx)tst-armtlsdescloc): New dependency.
15485         ($(objpfx)tst-armtlsdescextnow): Likewise.
15486         ($(objpfx)tst-armtlsdescextlazy): Likewise.
15487         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
15488         TLS scheme support.
15489         * sysdeps/arm/configure: Regenerate.
15491 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
15493         * include/fcntl.h (__atfct_seterrno): Remove prototype.
15494         (__atfct_seterrno_2): Likewise.
15495         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
15496         <kernel-features.h>.
15497         (__ASSUME_ATFCTS): Do not undefine and redefine.
15498         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
15499         (__have_atfcts): Remove conditional definition.
15500         (__fxstatat([__NR_fstatat64]: Make code unconditional.
15501         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
15502         unreachable if [__ASSUME_ATFCTS].
15503         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
15504         not undefine and redefine.
15505         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
15506         <kernel-features.h>.
15507         (faccessat) [__NR_faccessat]: Make code unconditional.
15508         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
15509         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
15510         <kernel-features.h>.
15511         (fchmodat) [__NR_fchmodat]: Make code unconditional.
15512         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15513         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
15514         <kernel-features.h>.
15515         (fchownat) [__NR_fchownat]: Make code unconditional.
15516         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
15517         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
15518         <kernel-features.h>.
15519         (futimesat) [__NR_futimesat]: Make code unconditional.
15520         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
15521         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15522         <kernel-features.h>.
15523         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15524         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15525         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15526         <kernel-features.h>.
15527         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
15528         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15529         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
15530         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15531         <kernel-features.h>.
15532         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
15533         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15534         * sysdeps/unix/sysv/linux/linkat.c: Do not include
15535         <kernel-features.h>.
15536         (linkat) [__NR_linkat]: Make code unconditional.
15537         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15538         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
15539         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
15540         <kernel-features.h>.
15541         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
15542         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
15543         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
15544         <kernel-features.h>.
15545         (mkdirat) [__NR_mkdirat]: Make code unconditional.
15546         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
15547         * sysdeps/unix/sysv/linux/openat.c: Do not include
15548         <kernel-features.h>.
15549         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
15550         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
15551         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
15552         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
15553         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
15554         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
15555         <kernel-features.h>.
15556         (readlinkat) [__NR_readlinkat]: Make code unconditional.
15557         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
15558         result of INLINE_SYSCALL directly, not via int variable.
15559         * sysdeps/unix/sysv/linux/renameat.c: Do not include
15560         <kernel-features.h>.
15561         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
15562         (renameat) [__NR_renameat]: Make code unconditional.
15563         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
15564         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
15565         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
15566         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
15567         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
15568         (__ASSUME_ATFCTS): Do not undefine and redefine.
15569         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
15570         <kernel-features.h>.
15571         (symlinkat) [__NR_symlinkat]: Make code unconditional.
15572         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15573         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
15574         <kernel-features.h>.
15575         (unlinkat) [__NR_unlinkat]: Make code unconditional.
15576         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
15577         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
15578         (__ASSUME_ATFCTS): Do not undefine and redefine.
15579         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15580         <kernel-features.h>.
15581         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
15582         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
15583         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15584         <kernel-features.h>.
15585         (__xmknodat) [__NR_mknodat]: Make code unconditional.
15586         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
15588 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
15590         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
15592 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
15594         [BZ #17069]
15595         * posix/regcomp.c (parse_reg_exp): Deallocate partially
15596         constructed tree before returning error.
15597         * posix/bug-regexp36.c: Expand test case.
15599 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15601         [BZ #6803]
15602         * math/libm-test.inc (scalbln_test_date):
15603         Add errno expectations.
15604         * math/w_scalblnf.c: New File.
15605         Add wrapper which checks for setting errno to ERANGE.
15606         Add weak_alias for corresponding scalbln function.
15607         * math/w_scalbln.c: Likewise.
15608         * math/w_scalblnl.c: Likewise.
15609         * math/Makefile (libm-calls): Add w_scalbln.
15610         * sysdeps/ieee754/flt-32/s_scalblnf.c:
15611         Remove weak_alias for corresponding scalbln function.
15612         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15613         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
15614         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
15615         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15616         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
15617         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
15618         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
15619         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
15620         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
15621         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
15622         Remove long_double_symbol for scalblnl function in libm, libc.
15623         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
15624         Add wrapper which checks for setting errno to ERANGE.
15625         Add long_double_symbol for scalblnl function in libm, libc.
15626         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
15627         Remove long_double_symbol for scalblnl in libm.
15628         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
15629         Add wrapper which checks for setting errno to ERANGE.
15630         Add long_double_symbol for scalblnl function in libm.
15631         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
15632         Do not use wrapper because of own implementation.
15634 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
15636         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
15637         3 bytes for __pad1 for x32.
15638         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
15640 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
15641             H.J. Lu  <hongjiu.lu@intel.com>
15643         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
15644         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
15645         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15646         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15647         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15649 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
15651         [BZ #17069]
15652         * posix/regcomp.c (parse_expression): Deallocate partially
15653         constructed tree before returning error.
15654         * posix/Makefile.c (tests): Add bug-regex36.
15655         (generated): Add bug-regex36.mtrace.
15656         (tests-special): Add $(objpfx)bug-regex36-mem.out
15657         (bug-regex36-ENV): New variable.
15658         ($(objpfx)bug-regex36-mem.out): New rule.
15659         * posix/bug-regex36.c: New file.
15661 2014-06-19  Will Newton  <will.newton@linaro.org>
15663         * malloc/malloc.c (systrim): If extra is zero then return
15664         early.
15666 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15668         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
15670 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
15672         * sysdeps/aarch64/strchr.S: New file.
15674 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15676         [BZ #17022]
15677         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
15678         from arguments -2 or below.
15679         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15680         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
15682 2014-06-18  Andreas Schwab  <schwab@suse.de>
15684         [BZ #17062]
15685         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
15686         of a bracket expr not to run off the end of the string.
15687         * posix/Makefile (tests): Add tst-fnmatch3.
15688         * posix/tst-fnmatch3.c: New file.
15690 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
15692         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
15693         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15694         [$(cross-compiling) = no]: Likewise.
15695         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15696         [$(cross-compiling) = no]: Likewise.
15698 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15700         [BZ #17031]
15701         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
15702         double, adjusted for any remainder from the high double.
15703         * math/libm-test.inc (nearbyint): Add tests.
15704         (rint): Likewise.
15706 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15708         * nptl/sysdeps/powerpc/Makefile: Moved ...
15709         * sysdeps/powerpc/nptl/Makefile: ... here.
15710         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
15711         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
15712         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
15713         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
15714         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
15715         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
15716         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
15717         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
15718         * nptl/sysdeps/powerpc/tls.h: Moved ...
15719         * sysdeps/powerpc/nptl/tls.h: ... here.
15721 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
15723         [BZ #16681]
15724         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
15725         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
15726         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
15727         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
15728         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
15729         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
15730         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
15731         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
15732         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
15734 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
15736         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
15738 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
15740         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
15741         defined operator.
15743         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
15744         $TIMEOUTFACTOR.
15746 2014-06-16  Florian Weimer  <fweimer@redhat.com>
15748         [BZ #17058]
15749         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
15750         non-executed part of the test.
15752 2014-06-16  Andreas Schwab  <schwab@suse.de>
15754         * string/bits/string2.h (strdup, strndup): Update feature guard.
15756 2014-06-14  David S. Miller  <davem@davemloft.net>
15758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15760 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
15762         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
15763         that was previously under [RESET_PID].
15764         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
15766         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
15767         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
15768         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
15769         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15770         (__libc_vfork): New strong alias.
15771         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
15773 2014-06-14 Andi Kleen  <ak@linux.intel.com>
15775         * sysdeps/generic/elide.h: New file.
15777 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15779         * Makefile (installed-headers): Adjust path of pthread.h header.
15781 2014-06-13  Roland McGrath  <roland@hack.frob.com>
15783         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
15784         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
15785         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
15786         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
15788         * nptl/sysdeps/s390/Makefile: Moved ...
15789         * sysdeps/s390/nptl/Makefile: ... here.
15790         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
15791         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
15792         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
15793         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
15794         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
15795         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
15796         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
15797         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
15798         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
15799         * sysdeps/s390/nptl/pthreaddef.h: ... here.
15800         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
15801         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
15802         * nptl/sysdeps/s390/tls.h: Moved ...
15803         * sysdeps/s390/nptl/tls.h: ... here.
15805         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
15806         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
15808 2014-06-13  David S. Miller  <davem@davemloft.net>
15810         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
15811         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
15812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
15813         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
15814         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
15815         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
15816         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
15817         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
15818         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
15819         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
15820         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
15821         Remove RESET_PID cpp guards.
15822         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
15823         Remove RESET_PID cpp guards.
15824         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
15826 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
15828         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
15829         __sp to uintptr_t.
15831 2014-06-13  Andi Kleen  <ak@linux.intel.com>
15833         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
15834         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
15835         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
15836         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
15837         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
15838         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
15839         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
15840         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
15841         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
15842         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
15843         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
15844         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
15845         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
15846         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
15847         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
15848         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
15849         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
15850         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
15851         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
15852         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
15854         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
15855         (pthread_rwlock_rdlock): Add elision.
15856         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
15857         (pthread_rwlock_wrlock): Add elision.
15858         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
15859         (pthread_rwlock_trywrlock): Add elision.
15860         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
15861         (pthread_rwlock_tryrdlock): Add elision.
15862         * nptl/pthread_rwlock_unlock.c: Include elide.h.
15863         (pthread_rwlock_tryrdlock): Add elision unlock.
15864         * nptl/sysdeps/pthread/pthread.h:
15865         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
15866         (PTHREAD_RWLOCK_INITIALIZER,
15867         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
15868         Handle new elision field.
15869         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
15870         * sysdeps/arm/nptl/bits/pthreadtypes.h
15871         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15872         * sysdeps/sh/nptl/bits/pthreadtypes.h
15873         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15874         * sysdeps/tile/nptl/bits/pthreadtypes.h
15875         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15876         * sysdeps/a/nptl/bits/pthreadtypes.h
15877         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15878         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15879         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15880         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15881         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15882         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
15883         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15884         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15885         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15886         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15887         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15888         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15889         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15890         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15891         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15892         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
15893         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15894         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
15895         (elision_init): Set try_xbegin to zero when no RTM.
15896         * sysdeps/x86/nptl/bits/pthreadtypes.h
15897         (pthread_rwlock_t): Change __pad1 to __rwelision.
15898         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
15900 2014-06-13  Andi Kleen  <ak@linux.intel.com>
15902         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
15903         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
15904         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
15905         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
15907 2014-06-13  Meador Inge  <meadori@codesourcery.com>
15909         [BZ #16996]
15910         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
15911         that the cached result has been set before returning it.
15913 2014-06-12  Roland McGrath  <roland@hack.frob.com>
15915         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
15916         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
15917         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
15918         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
15919         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
15920         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
15922         * nptl/sysdeps/sparc/Makefile: Moved ...
15923         * sysdeps/sparc/nptl/Makefile: ... here.
15924         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
15925         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
15926         * nptl/sysdeps/sparc/tls.h: Moved ...
15927         * sysdeps/sparc/nptl/tls.h: ... here.
15928         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
15929         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
15930         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
15931         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
15932         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
15933         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
15934         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
15935         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
15936         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
15937         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
15938         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
15939         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
15940         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
15941         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
15942         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
15943         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
15944         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
15945         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
15946         Update #include.
15947         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
15948         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
15949         Update #include.
15950         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
15951         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
15952         Update #include.
15953         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
15954         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
15955         Update #include.
15957         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15959         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
15960         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
15962         * sysdeps/pthread/posix-timer.h: Include <list.h>.
15963         (struct list_links): Type removed.
15964         (struct thread_node, struct timer_node): Replace struct list_links
15965         with struct list_head.
15966         (list_unlink_ip): Likewise.
15967         * sysdeps/pthread/timer_routines.c
15968         (timer_free_list, thread_free_list, thread_active_list): Likewise.
15969         (list_append, list_insbefore): Likewise.
15970         (list_init): Function removed.
15971         (thread_init, init_module): Use INIT_LIST_HEAD instead.
15972         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
15973         * sysdeps/pthread/Makefile: ... here, new file.
15975         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
15976         * sysdeps/nptl/Implies: ... here.
15977         * sysdeps/unix/sysv/linux/Implies: Add nptl.
15978         * nptl/sysdeps/pthread/list.h: Moved ...
15979         * include/list.h: ... here.
15980         * nptl/sysdeps/pthread/createthread.c: Moved ...
15981         * nptl/createthread.c: ... here.
15982         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
15983         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
15984         * nptl/pt-longjmp.c: ... here.
15985         * nptl/sysdeps/pthread/Makefile: Moved ...
15986         * sysdeps/nptl/Makefile: ... here.
15987         * nptl/sysdeps/pthread/Subdirs: Moved ...
15988         * sysdeps/nptl/Subdirs: ... here.
15989         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
15990         * sysdeps/nptl/aio_misc.h: ... here.
15991         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
15992         * sysdeps/nptl/bits/libc-lock.h: ... here.
15993         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
15994         * sysdeps/nptl/bits/libc-lockP.h: ... here.
15995         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
15996         * sysdeps/nptl/bits/stdio-lock.h: ... here.
15997         * nptl/sysdeps/pthread/configure: Moved ...
15998         * sysdeps/nptl/configure: ... here.
15999         * nptl/sysdeps/pthread/configure.ac: Moved ...
16000         * sysdeps/nptl/configure.ac: ... here.
16001         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
16002         * sysdeps/nptl/gai_misc.h: ... here.
16003         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
16004         * sysdeps/nptl/librt-cancellation.c: ... here.
16005         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
16006         * sysdeps/nptl/malloc-machine.h: ... here.
16007         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
16008         * sysdeps/nptl/pthread-functions.h: ... here.
16009         * nptl/sysdeps/pthread/pthread.h: Moved ...
16010         * sysdeps/nptl/pthread.h: ... here.
16011         * nptl/sysdeps/pthread/setxid.h: Moved ...
16012         * sysdeps/nptl/setxid.h: ... here.
16013         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
16014         * sysdeps/nptl/sigfillset.c: ... here.
16015         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
16016         * sysdeps/nptl/tcb-offsets.h: ... here.
16017         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
16018         * sysdeps/nptl/tst-mqueue8x.c: ... here.
16019         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
16020         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
16021         * nptl/sysdeps/pthread/allocalim.h: Moved ...
16022         * sysdeps/pthread/allocalim.h: ... here.
16023         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
16024         * sysdeps/pthread/bits/sigthread.h: ... here.
16025         * nptl/sysdeps/pthread/flockfile.c: Moved ...
16026         * sysdeps/pthread/flockfile.c: ... here.
16027         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
16028         * sysdeps/pthread/ftrylockfile.c: ... here.
16029         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
16030         * sysdeps/pthread/funlockfile.c: ... here.
16031         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
16032         * sysdeps/pthread/posix-timer.h: ... here.
16033         * nptl/sysdeps/pthread/timer_create.c: Moved ...
16034         * sysdeps/pthread/timer_create.c: ... here.
16035         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
16036         * sysdeps/pthread/timer_delete.c: ... here.
16037         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
16038         * sysdeps/pthread/timer_getoverr.c: ... here.
16039         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
16040         * sysdeps/pthread/timer_gettime.c: ... here.
16041         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
16042         * sysdeps/pthread/timer_routines.c: ... here.
16043         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
16044         * sysdeps/pthread/timer_settime.c: ... here.
16045         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
16046         * sysdeps/pthread/tst-timer.c: ... here.
16047         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
16048         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
16050         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
16051         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
16053         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
16054         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
16055         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
16056         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
16057         Update #include target.
16058         * nptl/sysdeps/i386/i686/Makefile: Moved ...
16059         * sysdeps/i386/i686/nptl/Makefile: ... here.
16060         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
16061         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
16062         Update #include target.
16063         * nptl/sysdeps/i386/i686/tls.h: Moved ...
16064         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
16065         * nptl/sysdeps/i386/Makefile: Moved ...
16066         * sysdeps/i386/nptl/Makefile: ... here.
16067         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
16068         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
16069         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
16070         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
16071         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
16072         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
16073         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
16074         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
16075         * sysdeps/i386/nptl/pthreaddef.h: ... here.
16076         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
16077         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
16078         * nptl/sysdeps/i386/tls.h: Moved ...
16079         * sysdeps/i386/nptl/tls.h: ... here.
16081         * sysdeps/sh/Makefile [$(subdir) = csu]
16082         (gen-as-const-headers): Add tcb-offsets.sym.
16083         * nptl/sysdeps/sh/Makefile: File removed.
16084         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
16085         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
16086         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
16087         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
16088         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
16089         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
16090         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
16091         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
16092         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
16093         * sysdeps/sh/nptl/pthreaddef.h: ... here.
16094         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
16095         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
16096         * nptl/sysdeps/sh/tls.h: Moved ...
16097         * sysdeps/sh/nptl/tls.h: ... here.
16098         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
16099         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
16100         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
16101         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
16102         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
16103         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
16104         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
16105         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
16106         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
16107         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
16108         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
16109         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
16110         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
16111         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
16112         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
16113         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
16114         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
16115         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
16116         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
16117         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
16118         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
16119         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
16120         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
16121         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
16122         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
16123         Moved ...
16124         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
16125         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
16126         Moved ...
16127         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
16128         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
16129         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
16130         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
16131         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
16132         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
16133         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
16134         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
16135         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
16136         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
16137         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
16138         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
16139         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
16140         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
16141         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
16142         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
16143         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
16144         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
16145         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
16147 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
16149         * posix/spawn_faction_addopen.c: Include string.h.
16151 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16153         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
16154         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
16155         * nptl/sysdeps/x86_64/Makefile: Moved ...
16156         * sysdeps/x86_64/nptl/Makefile: ... here.
16157         * nptl/sysdeps/x86_64/configure: Moved ...
16158         * sysdeps/x86_64/nptl/configure: ... here.
16159         * nptl/sysdeps/x86_64/configure.ac: Moved ...
16160         * sysdeps/x86_64/nptl/configure.ac: ... here.
16161         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
16162         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
16163         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
16164         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
16165         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
16166         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
16167         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
16168         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
16169         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
16170         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
16171         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
16172         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
16173         * nptl/sysdeps/x86_64/tls.h: Moved ...
16174         * sysdeps/x86_64/nptl/tls.h: ... here.
16175         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
16176         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
16177         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
16178         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
16180         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
16182 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16186 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
16188         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
16189         type.
16190         [POSIX] (off_t): Likewise.
16191         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
16192         [POSIX] (S_ISBLK): Require macro.
16193         [POSIX] (S_ISCHR): Likewise.
16194         [POSIX] (S_ISDIR): Likewise.
16195         [POSIX] (S_ISFIFO): Likewise.
16196         [POSIX] (S_ISREG): Likewise.
16197         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
16198         optional-macro.
16199         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
16200         type.
16201         [POSIX] (time_t): Likewise.
16202         [POSIX] (timer_t): Likewise.
16204 2014-06-11  Florian Weimer  <fweimer@redhat.com>
16206         [BZ #17048]
16207         * posix/spawn_int.h (struct __spawn_action): Make the path string
16208         non-const to support deallocation.
16209         * posix/spawn_faction_addopen.c
16210         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
16211         * posix/spawn_faction_destroy.c
16212         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
16213         path in all spawn_do_open actions.
16214         * posix/tst-spawn.c (do_test): Exercise the copy operation in
16215         posix_spawn_file_actions_addopen.
16217 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
16219         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
16220         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
16221         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
16222         conditional code always true.
16223         (__libc_vfork): New alias.
16225 2014-06-11  Roland McGrath  <roland@hack.frob.com>
16227         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16228         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
16230         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
16232         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16233         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
16235         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
16236         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
16238         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16239         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
16241 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16243         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
16244         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
16245         multiarch strcmp for PPC64.
16246         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
16247         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
16248         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
16249         multiarch optimizations.
16250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16251         (__libc_ifunc_impl_list): Likewise.
16253 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16255         * benchtests/scripts/validate_benchout.py: New script.
16256         * benchtests/Makefile (bench-func): Call it.
16257         * benchtests/scripts/benchout.schema.json: New file.
16259 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
16261         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
16262         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
16263         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
16264         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
16265         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
16266         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
16267         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
16268         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
16269         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
16270         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
16271         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
16272         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
16273         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
16274         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
16275         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
16276         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
16277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
16278         Moved ...
16279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
16280         ... here.
16281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
16282         Moved ...
16283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
16284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
16285         Moved ...
16286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
16287         ... here.
16288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
16289         Moved ...
16290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
16291         ... here.
16292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
16293         Moved ...
16294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
16295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
16296         Moved ...
16297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
16298         ... here.
16299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
16300         Moved ...
16301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
16302         ... here.
16303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
16304         Moved ...
16305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
16306         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
16307         Moved ...
16308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
16309         ... here.
16310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
16311         Moved ...
16312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
16313         ... here.
16314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
16315         Moved ...
16316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
16317         ... here.
16318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
16319         Moved ...
16320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
16321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
16322         Moved ...
16323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
16324         ... here.
16325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
16326         Moved ...
16327         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
16328         ... here.
16329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
16330         Moved ...
16331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
16332         ... here.
16333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
16334         Moved ...
16335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
16336         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
16337         Moved ...
16338         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
16339         ... here.
16340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
16341         Moved ...
16342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
16343         ... here.
16344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
16345         Moved ...
16346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
16347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
16348         Moved ...
16349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
16350         ... here.
16351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
16352         Moved ...
16353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
16354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
16355         Moved ...
16356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
16357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
16358         Moved ...
16359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
16360         ... here.
16361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
16362         Moved ...
16363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
16364         ... here.
16365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
16366         Moved ...
16367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
16368         ... here.
16369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
16370         Moved ...
16371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
16372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
16373         Moved ...
16374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
16375         ... here.
16376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
16377         Moved ...
16378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
16379         ... here.
16380         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
16381         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
16382         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
16383         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
16384         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
16385         Moved ...
16386         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
16387         ... here.
16388         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
16389         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
16390         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
16391         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
16392         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
16393         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
16394         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
16395         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
16396         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
16397         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
16398         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
16399         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
16400         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
16401         Moved ...
16402         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
16403         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
16404         Moved ...
16405         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
16406         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
16407         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
16408         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
16409         Moved ...
16410         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
16411         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
16412         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
16413         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
16414         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
16415         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
16416         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
16418 2014-06-10  Wilco  <wdijkstr@arm.com>
16420         * math/test-fenv-return.c: New file.
16421         * math/Makefile: Add new test test-fenv-return.
16423 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
16425         [BZ #17042]
16426         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
16427         when x - 1 is zero.
16428         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
16429         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
16430         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
16431         0.0L for an argument of 1.0L.
16432         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
16433         Likewise.
16434         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
16435         value when x - 1 is zero.
16436         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
16437         * sysdeps/i386/fpu/libm-test-ulps: Update.
16438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16440 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
16442         [BZ #15119]
16443         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
16445 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16447         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
16448         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
16450 2014-06-09  Roland McGrath  <roland@hack.frob.com>
16452         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16453         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
16455         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16456         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
16458         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16459         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
16461         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
16462         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
16464         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
16465         if not already defined.
16466         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
16467         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
16468         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
16469         (TLS_INIT_TP): Use it.
16470         (TLS_DEFINE_INIT_TP): New macro.
16471         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
16473 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
16475         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
16476         constant.
16477         [POSIX] (IXANY): Likewise.
16478         [POSIX] (OLCUC): Likewise.
16479         [POSIX || POSIX2008] (CBAUD): Do not allow.
16480         [POSIX || POSIX2008] (DEFECHO): Likewise.
16481         [POSIX || POSIX2008] (ECHOCTL): Likewise.
16482         [POSIX || POSIX2008] (ECHOKE): Likewise.
16483         [POSIX || POSIX2008] (ECHOPRT): Likewise.
16484         [POSIX || POSIX2008] (EXTA): Likewise.
16485         [POSIX || POSIX2008] (EXTB): Likewise.
16486         [POSIX || POSIX2008] (FLUSHO): Likewise.
16487         [POSIX || POSIX2008] (LOBLK): Likewise.
16488         [POSIX || POSIX2008] (PENDIN): Likewise.
16489         [POSIX || POSIX2008] (SWTCH): Likewise.
16490         [POSIX || POSIX2008] (VDISCARD): Likewise.
16491         [POSIX || POSIX2008] (VDSUSP): Likewise.
16492         [POSIX || POSIX2008] (VLNEXT): Likewise.
16493         [POSIX || POSIX2008] (VREPRINT): Likewise.
16494         [POSIX || POSIX2008] (VSTATUS): Likewise.
16495         [POSIX || POSIX2008] (VWERASE): Likewise.
16496         (B*): Change to B[0123456789]*.
16497         * conform/data/time.h-data [POSIX || UNIX98]
16498         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
16499         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
16500         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
16501         [POSIX] (tm_*): Do not allow.
16503 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
16505         * Makefile (install): Don't set LANGUAGE.
16506         * Makefile.in (install): Likewise.
16507         * assert/Makefile (test-assert-ENV): Remove variable.
16508         (test-assert-perr-ENV): Likewise.
16509         * elf/Makefile (neededtest4-ENV): Likewise.
16510         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16511         [$(cross-compiling) = no]: Don't set LANGUAGE.
16512         * io/ftwtest-sh (LANG): Remove variable.
16513         * libio/Makefile (tst-widetext-ENV): Likewise.
16514         * manual/install.texi (Running make install): Don't refer to
16515         environment settings for make install.
16516         * INSTALL: Regenerated.
16517         * nptl/tst-tls6.sh: Don't set LANG.
16518         * posix/globtest.sh (LANG): Remove variable.
16519         * string/Makefile (tester-ENV): Likewise.
16520         (inl-tester-ENV): Likewise.
16521         (noinl-tester-ENV): Likewise.
16522         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16523         [$(cross-compiling) = no]: Don't set LANGUAGE.
16524         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
16525         without explicit environment settings.
16527 2014-06-06  Roland McGrath  <roland@hack.frob.com>
16529         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
16530         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
16531         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
16532         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
16534 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
16536         * crypt/crypt-private.h [DOS]: Add some includes taken from the
16537         other files in the crypt directory.
16538         * crypt/crypt.c: Remove duplicate includes.
16539         * crypt/crypt-entry.c: Likewise.
16540         * crypt/crypt_util.c: Likewise.
16542 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
16544         * Makeconfig (run-program-env): New variable.
16545         (run-program-prefix-before-env): Likewise.
16546         (run-program-prefix-after-env): Likewise.
16547         (run-program-prefix): Define in terms of new variables.
16548         (built-program-cmd-before-env): New variable.
16549         (built-program-cmd-after-env): Likewise.
16550         (built-program-cmd): Define in terms of new variables.
16551         (test-program-prefix-before-env): New variable.
16552         (test-program-prefix-after-env): Likewise.
16553         (test-program-prefix): Define in terms of new variables.
16554         (test-program-cmd-before-env): New variable.
16555         (test-program-cmd-after-env): Likewise.
16556         (test-program-cmd): Define in terms of new variables.
16557         * Rules (make-test-out): Use $(run-program-env).
16558         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
16559         (help): Do not mention environment variables.  Mention
16560         --timeoutfactor option.
16561         (timeoutfactor): New variable.
16562         (blacklist_exports): Remove function.
16563         (exports): Remove variable.
16564         (command): Do not include ${exports}.
16565         * manual/install.texi (Configuring and compiling): Do not mention
16566         test wrappers preserving environment variables.  Mention that last
16567         assignment to a variable must take precedence.
16568         * INSTALL: Regenerated.
16569         * benchtests/Makefile (run-bench): Use $(run-program-env).
16570         * catgets/Makefile ($(objpfx)test1.cat): Use
16571         $(built-program-cmd-before-env), $(run-program-env) and
16572         $(built-program-cmd-after-env).
16573         ($(objpfx)test2.cat): Do not specify environment variables
16574         explicitly.
16575         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
16576         $(run-program-env) and $(built-program-cmd-after-env).
16577         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
16578         $(run-program-env) and $(test-program-cmd-after-env).
16579         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
16580         explicitly.
16581         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
16582         run_program_env and test_program_cmd_after_env arguments.
16583         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
16584         * elf/tst-pathopt.sh: Use run_program_env argument.
16585         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
16586         $(test-wrapper-env) and $(run-program-env).
16587         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
16588         run_program_env arguments.
16589         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
16590         * intl/Makefile ($(objpfx)tst-gettext.out): Use
16591         $(test-program-prefix-before-env), $(run-program-env) and
16592         $(test-program-prefix-after-env).
16593         ($(objpfx)tst-gettext2.out): Likewise.
16594         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
16595         run_program_env and test_program_prefix_after_env arguments.
16596         * intl/tst-gettext2.sh: Likewise.
16597         * intl/tst-gettext4.sh: Do not set environment variables
16598         explicitly.
16599         * intl/tst-gettext6.sh: Likewise.
16600         * intl/tst-translit.sh: Likewise.
16601         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
16602         $(test-program-prefix-before-env), $(run-program-env) and
16603         $(test-program-prefix-after-env).
16604         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
16605         run_program_env and test_program_prefix_after_env arguments.
16606         * math/Makefile (run-regen-ulps): Use $(run-program-env).
16607         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
16608         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
16609         explicitly with each use of ${test_wrapper_env}.
16610         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
16611         $(test-program-prefix-before-env), $(run-program-env) and
16612         $(test-program-prefix-after-env).
16613         * posix/tst-getconf.sh: Do not set environment variables
16614         explicitly.
16615         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
16616         run_program_env and test_program_prefix_after_env arguments.
16617         * stdio-common/tst-printf.sh: Do not set environment variables
16618         explicitly.
16619         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
16620         $(test-program-prefix-before-env), $(run-program-env) and
16621         $(test-program-prefix-after-env).
16622         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
16623         run_program_env and test_program_prefix_after_env arguments.
16624         Split $test calls into $test_pre and $test.
16625         * timezone/Makefile (build-testdata): Use
16626         $(built-program-cmd-before-env), $(run-program-env) and
16627         $(built-program-cmd-after-env).
16629 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16631         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
16632         strlen for non SHARED builds.
16634 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16636         * nptl/allocatestack.c (check_list): Inlined function...
16637         (__reclaim_stacks): ... here.
16639 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16641         [BZ #15698]
16642         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16643         memory overrun.
16645 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
16647         * Rules (make-test-out): Include
16648         LOCPATH=$(common-objpfx)localedata in default environment.
16649         * debug/Makefile (tst-chk1-ENV): Remove variable.
16650         (tst-chk2-ENV): Likewise.
16651         (tst-chk3-ENV): Likewise.
16652         (tst-chk4-ENV): Likewise.
16653         (tst-chk5-ENV): Likewise.
16654         (tst-chk6-ENV): Likewise.
16655         (tst-lfschk1-ENV): Likewise.
16656         (tst-lfschk2-ENV): Likewise.
16657         (tst-lfschk3-ENV): Likewise.
16658         (tst-lfschk4-ENV): Likewise.
16659         (tst-lfschk5-ENV): Likewise.
16660         (tst-lfschk6-ENV): Likewise.
16661         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
16662         (tst-iconv7-ENV): Likewise.
16663         * intl/Makefile (LOCPATH-ENV): Likewise.
16664         (tst-codeset-ENV): Likewise.
16665         (tst-gettext3-ENV): Likewise.
16666         (tst-gettext5-ENV): Likewise.
16667         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
16668         (tst-fopenloc-ENV): Likewise.
16669         (tst-fgetws-ENV): Remove variable.
16670         (tst-ungetwc1-ENV): Likewise.
16671         (tst-ungetwc2-ENV): Likewise.
16672         (bug-ungetwc2-ENV): Likewise.
16673         (tst-swscanf-ENV): Likewise.
16674         (bug-ftell-ENV): Likewise.
16675         (tst-fgetwc-ENV): Likewise.
16676         (tst-fseek-ENV): Likewise.
16677         (tst-ftell-partial-wide-ENV): Likewise.
16678         (tst-ftell-active-handler-ENV): Likewise.
16679         (tst-ftell-append-ENV): Likewise.
16680         * posix/Makefile (tst-fnmatch-ENV): Likewise.
16681         (tst-regexloc-ENV): Likewise.
16682         (bug-regex1-ENV): Likewise.
16683         (tst-regex-ENV): Likewise.
16684         (tst-regex2-ENV): Likewise.
16685         (bug-regex5-ENV): Likewise.
16686         (bug-regex6-ENV): Likewise.
16687         (bug-regex17-ENV): Likewise.
16688         (bug-regex18-ENV): Likewise.
16689         (bug-regex19-ENV): Likewise.
16690         (bug-regex20-ENV): Likewise.
16691         (bug-regex22-ENV): Likewise.
16692         (bug-regex23-ENV): Likewise.
16693         (bug-regex25-ENV): Likewise.
16694         (bug-regex26-ENV): Likewise.
16695         (bug-regex30-ENV): Likewise.
16696         (bug-regex32-ENV): Likewise.
16697         (bug-regex33-ENV): Likewise.
16698         (bug-regex34-ENV): Likewise.
16699         (bug-regex35-ENV): Likewise.
16700         (tst-rxspencer-ENV): Likewise.
16701         (tst-rxspencer-no-utf8-ENV): Likewise.
16702         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
16703         (tst-sscanf-ENV): Likewise.
16704         (tst-swprintf-ENV): Likewise.
16705         (tst-swscanf-ENV): Likewise.
16706         (test-vfprintf-ENV): Likewise.
16707         (scanf13-ENV): Likewise.
16708         (bug14-ENV): Likewise.
16709         (tst-grouping-ENV): Likewise.
16710         * stdlib/Makefile (tst-strtod-ENV): Likewise.
16711         (tst-strtod3-ENV): Likewise.
16712         (tst-strtod4-ENV): Likewise.
16713         (tst-strtod5-ENV): Likewise.
16714         (testmb2-ENV): Likewise./
16715         * string/Makefile (tst-strxfrm-ENV): Likewise.
16716         (tst-strxfrm2-ENV): Likewise.
16717         (bug-strcoll1-ENV): Likewise.
16718         (test-strcasecmp-ENV): Likewise.
16719         (test-strncasecmp-ENV): Likewise.
16720         * time/Makefile (tst-strptime-ENV): Likewise.
16721         (tst-ftime_l-ENV): Likewise.
16722         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
16723         (tst-mbrtowc-ENV): Likewise.
16724         (tst-wcrtomb-ENV): Likewise.
16725         (tst-mbrtowc2-ENV): Likewise.
16726         (tst-c16c32-1-ENV): Likewise.
16727         (tst-mbsnrtowcs-ENV): Likewise.
16729 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
16731         * manual/resource.texi (How to get information about the memory
16732         subsystem?): Fix typo.
16733         Reported by Peon de la Parra Ivan <peon@keba.com>
16735 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
16737         [BZ #16882]
16738         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
16739         (pthread_spin_lock): Branch out of spin loop to proper location.
16740         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
16741         (pthread_spin_lock): Likewise.
16743         * nptl/tst-spin4.c: New test.
16744         * nptl/Makefile (tests): Add tst-spin4.
16746 2014-06-03  Andreas Schwab  <schwab@suse.de>
16748         [BZ #15946]
16749         * resolv/res_send.c (send_dg): Reload file descriptor after
16750         calling reopen.
16752 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
16754         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16756 2014-06-03  Richard Henderson  <rth@redhat.com>
16758         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
16759         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
16760         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
16761         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
16762         in the SAVE_PID block.
16763         (__libc_vfork): New alias.
16764         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
16766         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
16767         child in registers, not on the stack.  Remove RESET_PID conditionals.
16768         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
16770 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16772         * sysdeps/aarch64/libm-test-ulps: Regenerate.
16774 2014-06-03  Wilco  <wdijkstr@arm.com>
16776         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
16777         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
16778         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16779         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
16780         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
16781         Likewise.
16783 2014-06-03  Wilco  <wdijkstr@arm.com>
16785         * sysdeps/aarch64/fpu/math_private.h
16786         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
16787         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
16788         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
16789         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
16790         Fix declarations.
16792 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16794         * crypt/crypt-private.h: Include ufc-crypt.h.
16795         (__b64_from_24bit): Declare extern.
16796         * crypt/crypt_util.c(__b64_from_24bit): New function.
16797         (b64t): New static const variable.
16798         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
16799         (b64t): Remove variable.
16800         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
16801         * crypt/sha256-crypt.c: Include crypt-private.h.
16802         (b64t): Remove variable.
16803         (__sha256_crypt_r): Remove b64_from_24bit and replace
16804         with __b64_from_24bit.
16805         * crypt/sha512-crypt.c: Likewise.
16807 2014-06-02  Roland McGrath  <roland@hack.frob.com>
16809         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
16810         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
16811         Label the code __libc_vfork rather than __vfork.
16812         [!NOT_IN_libc] (vfork): Define as weak alias.
16813         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
16814         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
16815         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
16817 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16819         * malloc/malloc.c (malloc_info): Fix format specifier for
16820         n_mmaps.
16822 2014-06-02  Wilco  <wdijkstr@arm.com>
16824         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
16825         FPCR write.
16827 2014-06-02  Wilco  <wdijkstr@arm.com>
16829         [BZ #17009]
16830         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
16831         Rewrite to reduce FPCR/FPSR accesses.
16833 2014-06-01  David S. Miller  <davem@davemloft.net>
16835         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16837 2014-05-31  David S. Miller  <davem@davemloft.net>
16839         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
16840         to occur in round to nearest mode when |x| >= 2.0
16842 2014-05-30  Richard Henderson  <rth@twiddle.net>
16844         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
16845         (PSEUDO_RET_NOERRNO): Remove.
16846         (ret): Don't redefine.
16847         (ret_NOERRNO): Define in terms of ret.
16848         (ret_ERRVAL): Likewise.
16850         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
16851         use of PSEUDO_RET; perform the error check directly.
16853 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
16855         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
16856         with __int128_t.
16858 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16860         * malloc/malloc (malloc_info): Fix formatting.
16862 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16863             Roland McGrath  <roland@hack.frob.com>
16865         * malloc/malloc (malloc_info): Also print mmapped statistics.
16867 2014-05-30  Roland McGrath  <roland@hack.frob.com>
16869         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
16870         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
16872 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
16874         * malloc/malloc.c (malloc_info): Inline mi_arena.
16876 2014-05-29  Richard Henderson  <rth@twiddle.net>
16878         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
16879         Remove comma before expanding ASM_ARGS_##nr.
16880         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
16881         Make _x0 a strict output; make _x8 a strict input; adjust expansion
16882         of ASM_ARGS_##nr.
16883         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
16884         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
16885         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
16886         (ASM_ARGS_1): Add leading comma.
16888         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
16889         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
16890         to __errno_location.
16891         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
16892         Remove the expected plt for __errno_location.
16894         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16895         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
16896         call to __read_tp.
16898         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16899         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
16900         it and break it down.
16901         (DOCARGS_0, DOCARGS_1): Do nothing.
16902         (DOCARGS_2): Update to store into the new stack frame.
16903         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
16904         (UNDOCARGS_1): Update to restore from the new stack frame.
16905         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
16906         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
16908         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16909         (SINGLE_THREAD_P): New parameter for result regno.
16910         (PSEUDO): Update to match; use cbz instead of beq.
16912         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16913         Use ENTRY to define the _nocancel entry point.  Share the syscall
16914         and syscall error check paths with the cancel path.
16915         (PSEUDO_END): New.
16917         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
16918         whitespace; tabs before and after asm mnemonics.
16920 2014-05-29  Eric Wong  <normalperson@yhbt.net>
16922         [BZ #15132]
16923         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16924         Call fstat64 or stat64 internally, depending on arguments passed.
16925         Replace stat buffer argument with file descriptor argument.
16926         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
16927         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
16928         Pass fd to __internal_statvfs instead of calling fstat64.
16929         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
16930         Pass fd to __internal_statvfs64 instead of calling fstat64.
16931         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
16932         Pass -1 to __internal_statvfs instead of calling stat64.
16933         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
16934         Pass -1 to __internal_statvfs64 instead of calling stat64.
16936 2014-05-28  Roland McGrath  <roland@hack.frob.com>
16938         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
16939         that was previously under [RESET_PID].
16940         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
16942         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
16943         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
16945 2014-05-27  Roland McGrath  <roland@hack.frob.com>
16947         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
16949         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
16950         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
16952 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
16954         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
16956 2014-05-27  Andreas Schwab  <schwab@suse.de>
16958         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
16959         TLS_INIT_TP macro.
16960         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
16961         * elf/rtld.c (init_tls, dl_main): Likewise.
16962         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
16963         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
16964         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
16965         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
16966         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
16967         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
16968         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
16969         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
16970         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
16971         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
16972         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
16973         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
16974         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
16975         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
16976         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
16977         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
16978         * sysdeps/generic/tls.h: Update description.
16980 2014-05-27  Will Newton  <will.newton@linaro.org>
16982         [BZ #16990]
16983         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
16984         and restore r2 rather than just restoring.
16986 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16988         [BZ #16724]
16989         * libio/tst-ftell-append.c: New test case.
16990         * libio/Makefile (tests): Add test case.
16991         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
16992         append mode.
16993         * libio/wfileops.c (do_ftell_wide): Likewise.
16995 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16999         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
17000         ...
17001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
17002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17003         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
17004         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
17005         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
17006         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
17007         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
17008         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
17009         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
17010         Moved ...
17011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
17012         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
17013         Moved ...
17014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
17015         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
17016         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
17017         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
17018         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
17019         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
17020         ...
17021         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
17022         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
17023         Moved ...
17024         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
17025         here.
17026         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
17027         ...
17028         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
17029         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
17030         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
17032         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
17033         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
17034         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
17035         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
17037         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
17038         merge into ...
17039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
17040         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
17041         ...
17042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
17043         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
17044         ...
17045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
17046         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17047         Moved ...
17048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
17049         here.
17050         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17051         Moved ...
17052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
17053         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17054         Moved ...
17055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
17057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
17058         conditional [RESET_PID].
17059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
17060         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
17061         removed.
17062         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
17063         removed.
17065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
17066         <tcb-offsets.h>.
17067         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17068         (__libc_vfork): New strong alias.
17069         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
17070         removed.
17071         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
17072         Removed.
17074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
17075         <tcb-offsets.h>.
17076         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
17077         (__libc_vfork): New strong alias.
17078         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
17079         removed.
17080         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
17081         removed.
17083 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
17085         * malloc/malloc.c (mi_arena): New function.
17086         (malloc_info): Remove nested function mi_arena. Call non-nosted
17087         function mi_arena.
17089 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17091         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
17092         by insrwi.
17093         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
17094         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
17095         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
17096         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
17097         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
17098         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
17099         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
17101 2014-05-26  Andreas Schwab  <schwab@suse.de>
17103         [BZ #16984]
17104         * locale/programs/repertoire.c (repertoire_read): Add slash
17105         between I18NPATH element and file name.
17106         * locale/programs/locfile.c (locfile_read): Likewise.
17108 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17110         * nptl/pthread_mutexattr_settype.c
17111         (__pthread_mutexattr_settype):
17112         Disable lock elision for PTHREAD_MUTEX_NORMAL.
17114 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17116         * nptl/tst-mutex5 (do_test):
17117         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
17119 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17121         * benchtests/README: Document 'init' directive.
17122         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
17123         BENCH_INIT.
17124         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
17125         (parse_file): Recognize 'init' directive.
17127 2014-05-26  Kyle McMartin  <kyle@redhat.com>
17129         [BZ #16796]
17130         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
17131         alignment of struct pthread.
17133 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17135         [BZ #16878]
17136         * nscd/netgroupcache.c (addgetnetgrentX): Look for
17137         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17138         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
17139         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
17141 2014-05-25  Richard Henderson  <rth@twiddle.net>
17143         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17144         (SINGLE_THREAD_P_PIC): Remove.
17145         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
17146         (SINGLE_THREAD_P_PIC): Remove.
17148         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17149         branch to syscall error ...
17150         (PSEUDO): ... here.
17151         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
17152         from __local_syscall_error to .Lsyscall_error.
17153         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
17154         (SYSCALL_ERROR): Update label name.
17156         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17157         Do not use DOARGS/UNDOARGS.
17158         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
17159         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
17160         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
17161         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
17162         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
17164         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
17165         block comment.
17167         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
17168         define if !NOT_IN_libc.
17169         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
17170         define with non-default symbol versions.
17172 2014-05-23  Richard Henderson  <rth@twiddle.net>
17174         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
17175         (vfork, __vfork): Define via compat_symbol.
17177         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
17178         [!HAVE_IFUNC] (vfork_compat): Remove.
17179         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
17181 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17183         [BZ #16978]
17184         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
17185         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
17186         variable.
17188 2014-05-23  Richard Henderson  <rth@twiddle.net>
17190         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
17191         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
17192         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
17193         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
17195         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
17196         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
17197         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
17198         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
17199         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
17200         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
17201         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
17202         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
17203         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
17204         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
17205         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
17206         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
17207         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
17208         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
17209         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
17210         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
17211         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
17212         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
17213         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
17214         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
17215         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
17216         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
17217         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
17218         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
17219         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
17220         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
17221         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
17222         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
17223         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
17224         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
17225         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
17226         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
17227         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
17228         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
17229         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
17230         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
17231         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
17232         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
17233         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
17234         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
17235         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
17236         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
17237         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
17238         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
17239         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
17240         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
17241         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
17242         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
17243         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
17244         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
17245         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
17246         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
17247         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
17248         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
17249         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
17250         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
17252         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
17253         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
17254         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
17255         before exiting on error.
17256         (__libc_vfork): New strong alias.
17257         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
17258         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
17260         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
17261         that was previously under [RESET_PID].
17262         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
17264         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
17266 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
17268         [BZ #16977]
17269         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
17270         value when x - 1 is zero.
17271         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
17272         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17273         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
17274         0.0L for an argument of 1.0L.
17275         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
17276         Likewise.
17277         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17278         value when x - 1 is zero.
17279         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
17280         * sysdeps/i386/fpu/libm-test-ulps: Update.
17281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17283 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
17285         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
17286         alphasort and versionsort.
17288 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17290         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
17291         macro.
17292         [copysignf]: Likewise.
17294 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17296         * crypt/md5-crypt.c: Fix formatting.
17298 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
17300         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
17301         (b64_from_24bit): New function.
17303 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17305         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
17306         libc_hidden_builtin_def to ifunc.
17307         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17308         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
17310 2014-05-21  Roland McGrath  <roland@hack.frob.com>
17312         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
17313         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
17315 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
17317         * nscd/Depend (linuxthreads): Remove.
17318         (nptl): Add.
17319         * resolv/Depend (linuxthreads): Remove.
17320         * rt/Depend (linuxthreads): Remove.
17322         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
17323         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
17324         $(common-objpfx)elf/.
17325         (link-libc-before-gnulib): Likewise.
17326         (elfobjdir): Remove variable.
17327         * Makefile (install): Use $(elf-objpfx) instead of
17328         $(common-objpfx)elf/.
17329         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
17330         $(elfobjdir)/.
17331         (link-libc-deps): Likewise.
17332         ($(common-objpfx)libc.so): Likewise.
17333         ($(common-objpfx)linkobj/libc.so): Likewise.
17334         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
17335         instead of $(common-objpfx)elf/.
17336         (symbolic-link-list): Likewise.
17337         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
17338         [$(cross-compiling) = no]: Likewise.
17339         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
17340         $(elfobjdir)/.
17341         (static-gnulib-arch): Likewise.
17342         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
17343         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
17344         $(common-objpfx)elf/.
17346 2014-05-21  Richard Henderson  <rth@redhat.com>
17348         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
17349         (SINGLE_THREAD_P): Use the correct width load.  Fold
17350         into the ldr offset.
17352         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
17353         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
17355 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
17357         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
17358         (libgcc_s_resume): Use __attribute_used__.
17359         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
17360         Likewise.
17362 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17364         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
17365         optimization when used with float constants.
17367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17369 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
17371         [BZ #16915]
17372         * locale/nl_langinfo_l.c: Make direct reference to every
17373         _nl_current_CATEGORY symbol.
17374         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
17375         (tests-static): Add tst-langinfo-static.
17376         (tests-special): Add tst-langinfo-static.out.
17377         ($(objpfx)tst-langinfo.out): Redirect output.
17378         ($(objpfx)tst-langinfo-static.out): New.
17379         * localedata/tst-langinfo.sh: Send output to stdout.
17380         * localedata/tst-langinfo-static.c: New file.
17382         [BZ #16965]
17383         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
17384         when the shift amount is modulo the limb size.
17386 2014-05-20  Richard Henderson  <rth@redhat.com>
17388         [BZ #16967]
17389         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
17390         Change type of sa_flags from unsigned int to int.
17392         [BZ #16966]
17393         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
17395         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
17397 2014-05-20  Will Newton  <will.newton@linaro.org>
17399         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
17400         Test the return value of the system call in the nocancel case.
17402 2014-05-20  Will Newton  <will.newton@linaro.org>
17403             Yvan Roux  <yvan.roux@linaro.org>
17405         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17406         #include of asm/ptrace.h.
17407         (PTRACE_GET_THREAD_AREA): Remove #undef.
17408         (PTRACE_GETHBPREGS): Likewise.
17409         (PTRACE_SETHBPREGS): Likewise.
17410         (struct user_regs_struct): New structure.
17411         (struct user_fpsimd_struct): New structure.
17412         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
17413         #include of asm/ptrace.h and second #include of sys/user.h.
17414         (PTRACE_GET_THREAD_AREA): Remove #undef.
17415         (PTRACE_GETHBPREGS): Likewise.
17416         (PTRACE_SETHBPREGS): Likewise.
17417         (ELF_NGREG): Use new struct user_regs_struct.
17418         (elf_fpregset_t): Use new struct user_fpsimd_struct.
17420 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17422         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
17423         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
17425 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
17427         [BZ #16958]
17428         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
17429         membar to avoid block loads/stores to overlap previous stores.
17431 2014-05-17  Richard Henderson  <rth@redhat.com>
17433         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
17434         Create the __##syscall_name##_nocancel entry point.
17435         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
17436         Remove; let the sysdep-cancel.h code create it.
17438 2014-05-17  David S. Miller  <davem@davemloft.net>
17440         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
17441         Protect with __USE_GNU.
17442         (TIOCSET_TEMPT): Likewise.
17443         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17444         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
17445         these are already provided in bits/ioctl-types.h
17447 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17449         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
17450         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
17452         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
17453         Use wait4 regardless of [__NR_waitpid].
17455 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17457         PR libgcc/60166
17458         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17459         (_FP_NANSIGN_Q): Set the quiet bit.
17461 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
17463         * benchtests/Makefile
17464         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
17465         not $(common-objpfx)math/libm.so.
17466         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
17467         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
17468         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
17469         $(common-objpfx)dlfcn/libdl.so.
17470         ($(objpfx)tst-audit8): Depend on $(libm), not
17471         $(common-objpfx)math/libm.so.
17472         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
17473         not $(common-objpfx)dlfcn/libdl.so.
17474         * math/Makefile
17475         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17476         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
17477         [$(build-shared) = yes].
17478         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
17479         $(common-objpfx)nptl/libpthread.so.
17480         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
17481         $(common-objpfx)math/libm.so$(libm.so-version) or
17482         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
17483         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
17484         $(common-objpfx)dlfcn/libdl.so.
17485         * setjmp/Makefile (link-libm): Remove variable.
17486         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
17487         * stdio-common/Makefile (link-libm): Remove variable.
17488         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
17489         * stdlib/Makefile (link-libm): Remove variable.
17490         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
17491         ($(objpfx)tst-strtod-round): Likewise.
17492         ($(objpfx)tst-tininess): Likewise.
17493         ($(objpfx)tst-strtod-underflow): Likewise.
17494         ($(objpfx)tst-strtod6): Likewise.
17495         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
17496         $(libdl), not $(common-objpfx)nptl/libpthread.so and
17497         $(common-objpfx)dlfcn/libdl.so.
17499 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17501         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
17502         BSD terminal modes definitions.
17504 2014-05-16  Roland McGrath  <roland@hack.frob.com>
17506         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
17507         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
17509         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
17510         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
17511         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
17512         Don't do #include_next.
17513         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
17514         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
17515         Don't do #include_next.
17516         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
17517         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
17518         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
17519         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
17521 2014-05-16  Allan McRae  <allan@archlinux.org>
17523         * po/sv.po: Update Swedish translation from translation project.
17525         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
17526         in sed expression.
17528 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
17530         [BZ #16917]
17531         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
17532         errno if the TIOCGPTN ioctl fails with an error different than
17533         EINVAL.
17534         * login/tst-ptsname.c: New file.
17535         * login/Makefile (tests): Add tst-ptsname.
17537         [BZ #16943]
17538         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
17539         and prlimit64.
17541 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17543         [BZ #16849]
17544         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
17545         herrno to return EAI_AGAIN.
17547 2014-05-14  Roland McGrath  <roland@hack.frob.com>
17549         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
17550         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
17551         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
17552         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
17553         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
17554         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
17555         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
17556         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
17557         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
17558         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
17559         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
17560         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
17561         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
17562         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
17563         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
17564         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
17565         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
17566         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
17567         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
17568         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
17569         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
17570         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
17571         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
17572         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
17573         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
17574         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
17575         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
17576         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
17577         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
17578         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
17579         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
17580         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
17581         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
17582         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
17583         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
17584         Moved ...
17585         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
17586         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
17587         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
17588         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
17589         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
17590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
17591         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
17592         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
17593         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
17594         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
17595         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
17596         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
17597         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
17598         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
17599         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
17600         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
17601         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
17602         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
17603         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
17604         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
17605         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
17606         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
17607         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
17608         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
17609         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
17610         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
17611         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
17612         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
17613         Moved ...
17614         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
17615         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
17616         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
17617         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
17618         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
17619         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
17620         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
17621         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
17622         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
17623         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
17624         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
17625         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
17626         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
17627         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
17628         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
17629         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
17630         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
17631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
17632         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
17633         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
17634         Moved ...
17635         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
17636         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
17637         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
17639         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
17640         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
17641         (libpthread-sysdep_routines): Add elision-related stuff here instead.
17642         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
17643         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
17644         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
17645         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
17646         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
17647         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
17648         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
17649         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
17650         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
17651         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
17652         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
17653         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
17654         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
17655         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
17656         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
17657         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
17658         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
17659         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
17660         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
17661         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
17662         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
17663         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
17664         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
17665         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
17666         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
17667         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
17668         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
17669         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
17671         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
17672         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
17674         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
17675         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
17676         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
17677         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
17678         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
17679         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
17680         Moved ...
17681         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
17682         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
17683         Moved ...
17684         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
17685         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
17686         Moved ...
17687         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
17688         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
17689         Moved ...
17690         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
17691         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
17692         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
17693         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
17694         Moved ...
17695         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
17696         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
17697         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
17698         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
17699         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
17700         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
17701         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
17702         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
17703         Moved ...
17704         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
17705         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17706         Moved ...
17707         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
17708         ... here.
17709         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
17710         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
17711         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
17712         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
17713         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17714         Moved ...
17715         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
17716         ... here.
17717         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
17718         Moved ...
17719         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
17720         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
17721         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
17722         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
17723         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
17724         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
17725         Moved ...
17726         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
17727         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
17728         Moved ...
17729         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
17730         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
17731         Moved ...
17732         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
17733         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
17734         Moved ...
17735         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
17736         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
17737         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
17738         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
17739         Moved ...
17740         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
17741         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
17742         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
17743         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
17744         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
17745         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
17746         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
17747         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
17748         Moved ...
17749         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
17750         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17751         Moved ...
17752         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
17753         ... here.
17754         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
17755         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
17756         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
17757         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
17758         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17759         Moved ...
17760         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
17761         ... here.
17762         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
17763         Moved ...
17764         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
17765         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
17766         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
17767         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
17768         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
17769         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
17770         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
17771         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
17772         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
17773         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
17774         Moved ...
17775         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
17776         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17777         Moved ...
17778         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
17779         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
17780         Moved ...
17781         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
17782         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
17783         Moved ...
17784         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
17785         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
17786         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
17787         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
17788         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
17789         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17790         Moved ...
17791         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
17792         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
17793         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
17794         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
17795         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
17796         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
17797         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
17798         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
17799         Moved ...
17800         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
17801         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17802         Moved ...
17803         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
17804         ... here.
17805         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
17806         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
17807         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
17808         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
17809         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17810         Moved ...
17811         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
17812         ... here.
17813         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
17814         Moved ...
17815         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
17816         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
17817         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
17818         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
17819         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
17820         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
17821         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
17822         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
17823         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
17824         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
17825         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
17827         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
17828         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
17830         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
17831         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
17833         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
17834         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
17835         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
17836         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
17837         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
17838         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
17839         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
17840         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
17841         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
17842         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
17843         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
17844         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
17845         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
17846         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
17847         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
17848         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
17849         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
17850         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
17851         Moved ...
17852         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
17853         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
17854         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
17855         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
17856         Moved ...
17857         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
17858         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
17859         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
17860         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
17861         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
17862         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
17863         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
17864         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
17865         Moved ...
17866         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
17867         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
17868         Moved ...
17869         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
17870         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
17871         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
17872         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
17873         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
17874         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
17875         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
17876         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
17877         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
17878         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
17879         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
17880         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
17881         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
17882         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
17883         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
17884         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
17885         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
17887         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
17888         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
17889         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
17890         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
17891         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
17893         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
17894         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
17895         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
17896         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
17897         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
17898         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
17899         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
17900         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
17901         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
17902         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
17904         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
17905         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
17907         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
17908         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
17909         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
17910         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
17911         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
17912         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
17913         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
17914         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
17915         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
17916         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
17917         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
17918         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
17919         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
17920         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
17921         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
17922         Update #include.
17923         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
17924         Likewise.
17925         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
17926         Likewise.
17927         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
17928         Likewise.
17929         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
17930         Likewise.
17931         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
17932         Likewise.
17933         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
17934         Likewise.
17935         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
17936         Likewise.
17937         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
17938         Likewise.
17939         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
17940         Likewise.
17941         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
17942         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
17943         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
17944         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
17945         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
17946         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
17947         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
17948         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
17949         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
17950         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
17951         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
17952         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
17953         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
17954         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
17955         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
17957         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
17958         that was previously under [RESET_PID].
17959         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17960         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
17961         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
17963         * sysdeps/i386/nptl/Implies: New file.
17964         * sysdeps/x86_64/nptl/Implies: New file.
17965         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
17966         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
17967         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
17968         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
17970         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
17971         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17972         (__libc_vfork): New strong alias.
17973         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
17974         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
17976         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
17977         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17978         (__libc_vfork): New strong alias.
17979         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
17980         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
17982         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
17983         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
17984         (__libc_vfork): New strong alias.
17985         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
17986         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
17987         * nptl/pt-vfork.c: New file.
17988         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
17989         (libpthread: GLIBC_2.20): New version set (empty).
17991 2014-05-14  Will Newton  <will.newton@linaro.org>
17993         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
17994         rather than #if.
17996 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
17998         [BZ #16564]
17999         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
18000         arguments with exponent 65 or above.
18001         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
18002         arguments 0x1p113L or above.
18003         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
18004         to arguments 0x1p107L or above.
18005         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
18006         positive arguments with exponent 65 or above.
18007         * math/auto-libm-test-in: Add more tests of log1p.
18008         * math/auto-libm-test-out: Regenerated.
18010         [BZ #16928]
18011         * math/s_cacos.c (__cacos): Ensure zero real part of result from
18012         non-finite arguments is +0.
18013         * math/s_cacosf.c (__cacosf): Likewise.
18014         * math/s_cacosl.c (__cacosl): Likewise.
18015         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
18016         * sysdeps/i386/fpu/libm-test-ulps: Update.
18017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18019         [BZ #16927]
18020         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
18021         value.
18022         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
18023         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
18024         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
18025         for explicit high bit of mantissa when testing for argument equal
18026         to 1.
18027         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
18028         * sysdeps/i386/fpu/libm-test-ulps: Update.
18029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18031         [BZ #16516]
18032         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
18033         (__erf): Scale by 16 instead of 8 in potentially underflowing
18034         case.  Ensure exception if result actually underflows.
18035         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
18036         (__erff): Scale by 16 instead of 8 in potentially underflowing
18037         case.  Ensure exception if result actually underflows.
18038         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
18039         (efx8): Remove variable.
18040         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18041         case.  Ensure exception if result actually underflows.
18042         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
18043         (efx8): Remove variable.
18044         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18045         case.  Ensure exception if result actually underflows.
18046         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
18047         (efx8): Remove variable.
18048         (__erfl): Scale by 16 instead of 8 in potentially underflowing
18049         case.  Ensure exception if result actually underflows.
18050         * math/auto-libm-test-in: Add more tests of erf.
18051         * math/auto-libm-test-out: Regenerated.
18053 2014-05-14  Andreas Schwab  <schwab@suse.de>
18055         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
18056         Remove code conditionalized on USE___THREAD.
18058         * config.h.in (HAVE_PT_CHOWN): Define as 0.
18059         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
18060         not definedness.
18062 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
18064         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
18065         Define unconditionally.
18066         (__ASSUME_O_CLOEXEC): Likewise.
18067         (__ASSUME_SOCK_CLOEXEC): Likewise.
18068         (__ASSUME_IN_NONBLOCK): Likewise.
18069         (__ASSUME_PIPE2): Likewise.
18070         (__ASSUME_EVENTFD2): Likewise.
18071         (__ASSUME_SIGNALFD4): Likewise.
18072         (__ASSUME_DUP3): Likewise.
18073         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18074         (__ASSUME_DUP3): Do not define.
18075         (__ASSUME_EVENTFD2): Likewise.
18076         (__ASSUME_IN_NONBLOCK): Likewise.
18077         (__ASSUME_O_CLOEXEC): Likewise.
18078         (__ASSUME_PIPE2): Likewise.
18079         (__ASSUME_SIGNALFD4): Likewise.
18080         (__ASSUME_SOCK_CLOEXEC): Likewise.
18081         (__ASSUME_UTIMES): Undefine.
18082         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18083         (__ASSUME_UTIMES): Do not define.
18084         (__ASSUME_O_CLOEXEC): Likewise.
18085         (__ASSUME_SOCK_CLOEXEC): Likewise.
18086         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
18087         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
18088         0x020621].
18089         (__ASSUME_PIPE2): Likewise.
18090         (__ASSUME_EVENTFD2): Likewise.
18091         (__ASSUME_SIGNALFD4): Likewise.
18092         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
18093         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
18094         Do not define.
18095         (__ASSUME_EVENTFD2): Likewise.
18096         (__ASSUME_SIGNALFD4): Likewise.
18097         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18098         (__ASSUME_32BITUIDS): Likewise.
18099         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
18100         (__ASSUME_IPC64): Likewise.
18101         (__ASSUME_ST_INO_64_BIT): Likewise.
18102         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
18103         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
18104         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18105         (__ASSUME_UTIMES): Do not define.
18106         (__ASSUME_PSELECT): Likewise.
18107         (__ASSUME_PPOLL): Likewise.
18108         (__ASSUME_O_CLOEXEC): Likewise.
18109         (__ASSUME_SOCK_CLOEXEC): Likewise.
18110         (__ASSUME_IN_NONBLOCK): Likewise.
18111         (__ASSUME_PIPE2): Likewise.
18112         (__ASSUME_EVENTFD2): Likewise.
18113         (__ASSUME_SIGNALFD4): Likewise.
18114         (__ASSUME_DUP3): Likewise.
18115         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18116         (__ASSUME_UTIMES): Likewise.
18117         (__ASSUME_O_CLOEXEC): Likewise.
18118         (__ASSUME_SOCK_CLOEXEC): Likewise.
18119         (__ASSUME_IN_NONBLOCK): Likewise.
18120         (__ASSUME_PIPE2): Likewise.
18121         (__ASSUME_EVENTFD2): Likewise.
18122         (__ASSUME_SIGNALFD4): Likewise.
18123         (__ASSUME_DUP3): Likewise.
18124         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18125         (__ASSUME_UTIMES): Likewise.
18126         (__ASSUME_O_CLOEXEC): Likewise.
18127         (__ASSUME_SOCK_CLOEXEC): Likewise.
18128         (__ASSUME_IN_NONBLOCK): Likewise.
18129         (__ASSUME_PIPE2): Likewise.
18130         (__ASSUME_EVENTFD2): Likewise.
18131         (__ASSUME_SIGNALFD4): Likewise.
18132         (__ASSUME_DUP3): Likewise.
18133         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
18134         Likewise.
18135         (__ASSUME_UTIMES): Likewise.
18136         (__ASSUME_EVENTFD2): Likewise.
18137         (__ASSUME_SIGNALFD4): Likewise.
18138         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18139         (__ASSUME_O_CLOEXEC): Likewise.
18140         (__ASSUME_SOCK_CLOEXEC): Likewise.
18141         (__ASSUME_IN_NONBLOCK): Likewise.
18142         (__ASSUME_PIPE2): Likewise.
18143         (__ASSUME_EVENTFD2): Likewise.
18144         (__ASSUME_SIGNALFD4): Likewise.
18145         (__ASSUME_DUP3): Likewise.
18146         (__ASSUME_UTIMES): Undefine.
18148         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
18149         feclearexcept.  Remove symbol versioning code.
18150         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
18151         symbol versioning code.
18152         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
18153         symbol versioning code.
18154         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
18155         feupdateenv.  Remove symbol versioning code.
18156         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
18157         fegetexceptflag.  Remove symbol versioning code.
18158         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
18159         fesetexceptflag.  Remove symbol versioning code.
18160         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
18161         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
18162         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
18163         (__posix_fadvise64_l32): Remove prototype.
18164         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
18165         code.
18167 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18169         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
18170         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
18171         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
18172         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
18174 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
18176         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
18177         current working directory
18179 2014-05-13  Roland McGrath  <roland@hack.frob.com>
18181         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
18182         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
18183         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
18184         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
18185         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
18186         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
18187         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
18188         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
18189         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
18190         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
18191         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
18192         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
18193         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
18194         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
18195         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
18196         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
18197         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
18198         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
18199         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
18200         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
18201         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
18202         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
18203         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
18204         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
18205         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
18206         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
18207         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
18208         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
18209         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
18210         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
18211         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
18212         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
18213         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
18214         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
18215         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
18216         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
18217         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
18218         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
18219         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
18220         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
18221         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
18222         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
18224         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
18225         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
18227         * sysdeps/unix/sysv/linux/arm/Makefile
18228         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18229         Add rt-aeabi_unwind_cpp_pr1.
18230         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
18231         Add nptl-aeabi_unwind_cpp_pr1.
18232         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
18233         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
18234         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
18235         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
18236         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
18237         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
18239         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
18240         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
18241         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
18242         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
18244         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
18245         Deconditionalize the code that was previously under [RESET_PID].
18246         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
18248         * sysdeps/generic/exit-thread.h: New file.
18249         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
18250         * include/unistd.h (__exit_thread): Remove declaration.
18251         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
18252         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
18253         * csu/libc-start.c: Include <exit-thread.h>.
18254         (LIBC_START_MAIN): Pass no argument to __exit_thread.
18255         * nptl/pthread_create.c: Include <exit-thread.h>.
18256         (start_thread): Call __exit_thread in place of __exit_thread_inline.
18257         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
18258         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
18259         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
18260         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
18261         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
18262         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
18263         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
18264         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
18265         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
18266         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
18267         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
18268         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
18269         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
18270         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
18271         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
18272         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
18274 2014-05-13  Andreas Schwab  <schwab@suse.de>
18276         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
18278 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
18280         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
18281         (__ASSUME_UTIMES): Do not condition on kernel version.
18282         (__ASSUME_PSELECT): Define unconditionally.
18283         (__ASSUME_PPOLL): Likewise.
18284         (__ASSUME_ATFCTS): Likewise.
18285         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
18286         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
18287         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
18288         (__ASSUME_UTIMENSAT): Define unconditionally.
18289         (__ASSUME_PRIVATE_FUTEX): Likewise.
18290         (__ASSUME_FALLOCATE): Likewise.
18291         (__ASSUME_O_CLOEXEC): Likewise.
18292         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
18293         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
18294         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
18295         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
18296         (__ASSUME_IN_NONBLOCK): Likewise.
18297         (__ASSUME_PIPE2): Likewise.
18298         (__ASSUME_EVENTFD2): Likewise.
18299         (__ASSUME_SIGNALFD4): Likewise.
18300         (__ASSUME_DUP3): Likewise.
18301         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18302         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
18303         (__ASSUME_AT_RANDOM): Likewise.
18304         (__ASSUME_PREADV): Likewise.
18305         (__ASSUME_PWRITEV): Likewise.
18306         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
18307         (__ASSUME_F_GETOWN_EX): Define unconditionally.
18308         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
18309         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18310         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
18311         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18312         (__ASSUME_O_CLOEXEC): Define unconditionally.
18313         (__ASSUME_PSELECT): Do not undefine conditionally.
18314         (__ASSUME_PPOLL): Likewise.
18315         (__ASSUME_ATFCTS): Likewise.
18316         (__ASSUME_SET_ROBUST_LIST): Likewise.
18317         (__ASSUME_UTIMENSAT): Likewise.
18318         (__ASSUME_FDATASYNC): Define unconditionally.
18319         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18320         (__ASSUME_SIGFRAME_V2): Likewise.
18321         )__ASSUME_EVENTFD2): Likewise.
18322         (__ASSUME_SIGNALFD4): Likewise.
18323         (__ASSUME_PSELECT): Do not undefine conditionally.
18324         (__ASSUME_PPOLL): Likewise.
18325         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18326         (__ASSUME_PSELECT): Define unconditionally.
18327         (__ASSUME_PPOLL): Likewise.
18328         (__ASSUME_O_CLOEXEC): Likewise.
18329         (__ASSUME_SOCK_CLOEXEC): Likewise.
18330         (__ASSUME_IN_NONBLOCK): Likewise.
18331         (__ASSUME_PIPE2): Likewise.
18332         (__ASSUME_EVENTFD2): Likewise.
18333         (__ASSUME_SIGNALFD4): Likewise.
18334         (__ASSUME_DUP3): Likewise.
18335         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18336         (__ASSUME_O_CLOEXEC): Likewise.
18337         (__ASSUME_SOCK_CLOEXEC): Likewise.
18338         (__ASSUME_IN_NONBLOCK): Likewise.
18339         (__ASSUME_PIPE2): Likewise.
18340         (__ASSUME_EVENTFD2): Likewise.
18341         (__ASSUME_SIGNALFD4): Likewise.
18342         (__ASSUME_DUP3): Likewise.
18343         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18344         (__ASSUME_EVENTFD2): Likewise.
18345         (__ASSUME_SIGNALFD4): Likewise.
18346         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18348 2014-05-12  Andreas Schwab  <schwab@suse.de>
18350         [BZ #16932]
18351         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
18352         (_nss_nis_gethostbyname4_r): Return error if item length is larger
18353         than maximum RPC packet size.
18354         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
18355         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
18356         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
18357         (_nss_nis_getservbyport_r): Likewise.
18359 2014-05-12  Will Newton  <will.newton@linaro.org>
18361         * malloc/Makefile (tests): Add tst-mallopt.
18362         * malloc/tst-mallopt.c: New file.
18364 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18366         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
18367         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
18369 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18371         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
18372         (tst-tlsmod6.so): Likewise.
18374 2014-05-09  Roland McGrath  <roland@hack.frob.com>
18376         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
18378 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
18380         [BZ #16064]
18381         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
18382         and <dl-procinfo.h>.
18383         (__fegetenv): Save SSE state in envp->__eip if supported.
18384         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
18385         envp->__eip if supported.
18386         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
18387         and <dl-procinfo.h>.
18388         (__fesetenv): Always set __eip, __cs_selector, __opcode,
18389         __data_offset and __data_selector in environment to 0.  Set SSE
18390         state if supported.
18391         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
18392         test-fenv-sse.
18393         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
18394         -mfpmath=sse.
18395         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
18397 2014-05-09  Will Newton  <will.newton@linaro.org>
18399         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
18400         and libc_relro_required for ARM.
18401         * sysdeps/arm/preconfigure: Regenerate.
18403 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
18404             Stefan Liebler  <stli@linux.vnet.ibm.com>
18406         * config.make.in (enable-lock-elision): New Makefile variable.
18407         * configure.ac: Likewise.
18408         * configure: Regenerate.
18409         * sysdeps/s390/configure.ac:
18410         Add check for gcc transactions support.
18411         * sysdeps/s390/configure: Regenerate.
18412         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
18413         Build elision files if enabled.
18414         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
18415         Add lock elision support for s390.
18416         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
18417         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
18418         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
18419         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18420         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
18421         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
18422         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18423         Likewise.
18424         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
18425         Likewise.
18426         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
18427         Likewise.
18428         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
18429         Likewise.
18430         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
18431         (__lll_timedlock_elision, __lll_lock_elision)
18432         (__lll_unlock_elision, __lll_trylock_elision)
18433         (lll_timedlock_elision, lll_lock_elision)
18434         (lll_unlock_elision, lll_trylock_elision): Add.
18435         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18436         (pthread_mutex_t): Add lock elision support for s390.
18438 2014-05-14  Wilco  <wdijkstr@arm.com>
18440         * sysdeps/arm/fclrexcpt.c: Cleanup.
18441         * sysdeps/arm/fedisblxcpt.c: Cleanup.
18442         * sysdeps/arm/feenablxcpt.c: Cleanup.
18443         * sysdeps/arm/fegetenv.c: Cleanup.
18444         * sysdeps/arm/fegetexcept.c: Cleanup.
18445         * sysdeps/arm/fegetround.c: Cleanup.
18446         * sysdeps/arm/feholdexcpt.c: Cleanup.
18447         * sysdeps/arm/fesetenv.c: Cleanup.
18448         * sysdeps/arm/fesetround.c: Cleanup.
18449         * sysdeps/arm/feupdateenv.c: Cleanup.
18450         * sysdeps/arm/fgetexcptflg.c: Cleanup.
18451         * sysdeps/arm/fraiseexcpt.c: Cleanup.
18452         * sysdeps/arm/fsetexcptflg.c: Cleanup.
18453         * sysdeps/arm/ftestexcept.c: Cleanup.
18454         * sysdeps/arm/get-rounding-mode.h: Cleanup.
18455         * sysdeps/arm/setfpucw.c: Cleanup.
18457 2014-05-09  Will Newton  <will.newton@linaro.org>
18459         * sysdeps/arm/armv7/strcmp.S: New file.
18460         * NEWS: Mention addition of ARMv7 optimized strcmp.
18462 2014-05-08  Roland McGrath  <roland@hack.frob.com>
18464         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
18465         look for %.ac rather than %.in.
18467         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
18468         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
18469         * sysdeps/mach/hurd/configure: Regenerated.
18470         * sysdeps/unix/sysv/linux/configure: Regenerated.
18472         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
18474 2014-05-07  Steve Ellcey  <sellcey@mips.com>
18476         [BZ# 16922]
18477         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
18478         (LONG_SUB): Ditto.
18479         (PTR_SUB): Ditto.
18481 2014-05-07  Andreas Schwab  <schwab@suse.de>
18483         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
18484         when skipping over non-matching result from nscd.
18486 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
18488         [BZ #16876]
18489         * nptl/sockperf.c (client): Check socket return value.
18491         [BZ #16877]
18492         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
18493         nscd security class.
18495 2014-05-06  Roland McGrath  <roland@hack.frob.com>
18497         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
18498         * sysdeps/arm/unwind.h: ... here.
18500 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
18502         [BZ# 16916]
18503         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
18504         Define.
18506 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18508         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
18509         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
18510         multiarch strncpy for PPC64.
18511         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
18512         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
18513         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
18514         multiarch optimizations.
18515         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18516         (__libc_ifunc_impl_list): Likewise.
18517         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
18518         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
18519         multiarch stpncpy for PPC64.
18520         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
18521         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
18523 2014-05-06  Andreas Schwab  <schwab@suse.de>
18525         [BZ #16912]
18526         * gmon/mcount.c (_MCOUNT_DECL): Use
18527         atomic_compare_and_exchange_bool_acq instead of
18528         catomic_compare_and_exchange_bool_acq.
18530 2014-05-05  Roland McGrath  <roland@hack.frob.com>
18532         * elf/Makefile (others, install-bin): Remove pldd.
18533         (pldd-modules): Variable removed.
18534         ($(objpfx)pldd): Target removed.
18535         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
18536         (others, install-bin): Append pldd here.
18537         ($(objpfx)pldd): New target.
18539         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
18540         to 0, so the first #if test emitted later doesn't see it undefined.
18541         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
18542         * sysdeps/gnu/errlist.c: Regenerated.
18544 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18546         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
18547         [libc_hidden_builtin_def]: Define to empty value.
18548         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
18549         [libc_hidden_builtin_def]: Likewise.
18550         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
18551         [libc_hidden_builtin_def]: Likewise.
18552         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
18553         [libc_hidden_builtin_def]: Likewise.
18554         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
18555         __redirect_memcpy and define ifunc as default hidden symbol.
18556         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
18557         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
18559 2014-05-04  Adam Conrad  <adconrad@0c3.net>
18561         * locale/iso-4217.def: Reintroduce XDR currency.
18563 2014-05-04  Allan McRae  <allan@archlinux.org>
18565         * po/eo.po: Update Esperanto translation from translation project.
18567 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
18569         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
18570         and FEATURE_INDEX_MAX to 1.
18571         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
18573 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18575         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
18576         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
18577         * iconvdata/big5.c (ONE_DIRECTION): Define.
18578         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
18579         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
18580         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
18581         * iconvdata/cp932.c (ONE_DIRECTION): Define.
18582         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
18583         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
18584         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
18585         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
18586         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
18587         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
18588         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
18589         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
18590         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
18591         * iconvdata/gbk.c (ONE_DIRECTION): Define.
18592         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
18593         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
18594         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
18595         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
18596         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
18597         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
18598         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
18599         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
18600         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
18601         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
18602         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
18603         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
18604         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
18605         * iconvdata/iso646.c (ONE_DIRECTION): Define.
18606         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
18607         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
18608         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
18609         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
18610         * iconvdata/johab.c (ONE_DIRECTION): Define.
18611         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
18612         * iconvdata/sjis.c (ONE_DIRECTION): Define.
18613         * iconvdata/t.61.c (ONE_DIRECTION): Define.
18614         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
18615         * iconvdata/tscii.c (ONE_DIRECTION): Define.
18616         * iconvdata/uhc.c (ONE_DIRECTION): Define.
18617         * iconvdata/unicode.c (ONE_DIRECTION): Define.
18618         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
18619         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
18620         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
18622 2014-05-01  Roland McGrath  <roland@hack.frob.com>
18624         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
18625         (_IO_JUMPS_OFFSET): Define to 0.
18627         * nptl/sysdeps/pthread/bits/libc-lock.h
18628         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
18629         (__libc_lock_define_initialized_recursive): Always define using
18630         initializer.  Modern compilers treat uninitialized (implicit zero) and
18631         explicit zero initializers the same (i.e. put the datum in bss).
18633 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18635         * nscd/nscd-client.h: Include <string.h>.
18637 2014-05-01  David S. Miller  <davem@davemloft.net>
18639         [BZ #16885]
18640         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
18641         multiple zero bytes exist at the end of a string.
18642         Reported by Aurelien Jarno <aurelien@aurel32.net>
18644         * string/test-strcmp.c (check): Add explicit test for situations where
18645         there are multiple zero bytes after the first.
18647 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
18649         [BZ #16890]
18650         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
18651         when compiling wprintf.
18652         * stdio-common/tstdiomisc.c (t3): New function.
18653         (main): Call it.
18655 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18657         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
18658         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
18659         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
18660         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
18662 2014-05-01  Steve Ellcey  <sellcey@mips.com>
18664         * stdlib/longlong.h: Updated from GCC.
18666 2014-05-01  Will Newton  <will.newton@linaro.org>
18667             Bernard Ogden  <bernie.ogden@linaro.org>
18669         * NEWS: Update fixed bug list.
18671         [BZ #15119]
18672         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
18674 2014-04-30  David S. Miller  <davem@davemloft.net>
18676         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
18677         (libc_feholdexcept_setround_sparc_ctx): New function.
18678         (libc_fesetenv_sparc_ctx): Likewise.
18679         (libc_feupdateenv_sparc_ctx): Likewise.
18680         (libc_feholdsetround_sparc_ctx): Likewise.
18681         (libc_feholdexcept_setround_ctx): Define.
18682         (libc_feholdexcept_setroundf_ctx): Likewise.
18683         (libc_feholdexcept_setroundl_ctx): Likewise.
18684         (libc_fesetenv_ctx): Likewise.
18685         (libc_fesetenvf_ctx): Likewise.
18686         (libc_fesetenvl_ctx): Likewise.
18687         (libc_feupdateenv_ctx): Likewise.
18688         (libc_feupdateenvf_ctx): Likewise.
18689         (libc_feupdateenvl_ctx): Likewise.
18690         (libc_feresetround_ctx): Likewise.
18691         (libc_feresetroundf_ctx): Likewise.
18692         (libc_feresetroundl_ctx): Likewise.
18693         (libc_feholdsetround_ctx): Likewise.
18694         (libc_feholdsetroundf_ctx): Likewise.
18695         (libc_feholdsetroundl_ctx): Likewise.
18697         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18698         with __USE_GNU instead of XOPEN cpp guards.
18700         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
18701         0.
18703         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
18704         with XOPEN cpp guards.
18706 2014-04-30  Julian Brown  <julian@codesourcery.com>
18708         [BZ #16888]
18709         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
18710         handling.
18712 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
18714         [BZ #9894]
18715         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18716         Change to 2.6.32.
18717         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
18718         * sysdeps/unix/sysv/linux/configure: Regenerated.
18719         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
18720         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
18721         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
18722         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
18723         * README: Update reference to required Linux kernel version.
18724         * manual/install.texi (Linux): Update reference to required Linux
18725         kernel headers version.
18726         * INSTALL: Regenerated.
18728         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
18729         header inclusion.
18730         [POSIX] (limits.h): Likewise.
18731         [POSIX] (math.h): Likewise.
18732         [POSIX] (sys/wait.h): Likewise.
18733         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
18734         function.
18735         [POSIX] (stddef.h): Do not allow header inclusion.
18737 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18739         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
18741 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
18743         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18744         Return immediately after lll_futex_wake.
18746 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18748         [BZ #16791]
18749         * nscd/nscd-client.h (datahead_init_common): Initialize entire
18750         structure.
18751         (datahead_init_pos): Call datahead_init_common early.
18752         (datahead_init_neg): Likewise.
18754         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
18755         datahead_init_neg): New functions.
18756         * nscd/aicache.c (addhstaiX): Use them.
18757         * nscd/grpcache.c (cache_addgr): Likewise.
18758         * nscd/hstcache.c (cache_addhst): Likewise.
18759         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18760         * nscd/netgroupcache.c (do_notfound): Likewise.
18761         (addgetnetgrentX): Likewise.
18762         (addinnetgrX): Likewise.
18763         * nscd/pwdcache.c (cache_addpw): Likewise.
18764         * nscd/servicescache.c (cache_addserv): Likewise.
18766 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18767             Atsushi Onoe  <atsushi@onoe.org>
18769         [BZ #14308]
18770         [BZ #12994]
18771         [BZ #13651]
18772         * resolv/res_query.c (__libc_res_nsearch): Return if at least
18773         one response is valid.
18774         * resolv/res_send.c (send_dg): Check for validity of other
18775         response if the current response is a referral.
18777 2014-04-29  Steve Ellcey  <sellcey@mips.com>
18779         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
18781 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
18783         [BZ #16823]
18784         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
18785         Always divide by positive zero when computing -Inf result.
18786         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18787         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
18789 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18791         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
18792         FPSCR if value do not change.
18793         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18794         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
18795         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18796         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
18797         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
18798         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
18799         function.
18801 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
18803         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
18804         * sysdeps/unix/sysv/linux/hppa: Move directory from
18805         ports/systeps/unix/sysv/linux/hppa.
18806         * README: Update listing for hppa-*-linux-gnu.
18808 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
18810         [BZ #16754]
18811         * manual/stdio.texi (Hook functions): Fix types of stream hook
18812         functions.
18813         [BZ #16854]
18814         * socket/sys/socket.h: Fix typo in comment.
18816 2014-04-28  Wilco  <wdijkstr@arm.com>
18818         * sysdeps/arm/fenv_private.h: New file.
18819         * sysdeps/arm/math_private.h: New file.
18820         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
18822 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
18824         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
18825         with __int128_t.
18826         (La_x86_64_retval): Likewise.
18828 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
18830         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
18831         fpsr if value didn't change.
18832         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
18833         to fpcr if value didn't change.
18834         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
18835         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
18836         fpsr or fpcr if value didn't change.
18837         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18838         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
18839         fpcr if value didn't change.
18840         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
18841         to fpsr if value didn't change.
18843 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18845         * nptl/tst-sem3.c: Use test-skeleton.c
18846         (main): Rename to do_test.  Use return instead of
18847         exit.
18848         * nptl/tst-sem4.c: Use test-skeleton.c
18849         (main): Rename to do_test.
18851 2014-04-22  David S. Miller  <davem@davemloft.net>
18853         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
18854         (struct sigaction): New struct member __glibc_reserved0, change
18855         type of sa_flags to int.
18857 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
18859         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
18860         (COUNT_LEADING_ZEROS_0): Define for AArch64.
18862 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18864         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
18865         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
18867 2014-04-22  Will Newton  <will.newton@linaro.org>
18868             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
18870         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
18871         (__longjmp): Add longjmp and longjmp_target SystemTap
18872         probes.
18873         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
18874         (__sigsetjmp): Add setjmp SystemTap probe.
18876 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
18878         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
18879         match manual order.
18881 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18883         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
18885         * sysdeps/powerpc/fpu/fenv_private.h
18886         (libc_feholdexcept_setroundl_ctx): Define to
18887         libc_feholdexcept_setround_ppc_ctx.
18888         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
18889         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
18890         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
18891         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
18893 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
18895         * sysdeps/aarch64/math-tests.h: New file.
18897 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
18899         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
18900         New.
18901         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18902         Check and set bit_AVX2_Usable.
18903         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
18904         macro.
18905         (bit_AVX2): Likewise.
18906         (index_AVX2_Usable): Likewise.
18907         (CPUID_AVX2): Likewise.
18908         (HAS_AVX2): Likewise.
18910 2014-04-17  Will Newton  <will.newton@linaro.org>
18912         * manual/setjmp.texi (System V contexts): Add note that
18913         calling setcontext on a context created by a call to a
18914         signal handler is undefined.  Update text to note that
18915         setcontext from a signal handler is possible but not
18916         recommended.
18918         [BZ #16629]
18919         * stdlib/tst-setcontext.c: Include signal.h.
18920         (main): Check that the signal stack before and
18921         after swapcontext is the same.
18923         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
18924         Re-implement to restore registers in user code and avoid
18925         rt_sigreturn system call.
18927 2014-04-17  Wilco  <wdijkstr@arm.com>
18929         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
18930         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
18931         * math/test-fenv.c: Skip exception trap tests on targets which only
18932         support non-stop mode.
18934 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
18935             Wilco Dijkstra  <wilco.dijkstra@arm.com>
18937         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
18938         (libc_feholdsetround_aarch64_ctx)
18939         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
18940         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
18941         (libc_feresetround_ctx, libc_feresetroundf_ctx)
18942         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
18943         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
18944         (libc_feresetround_noexl_ctx): Define.
18946 2014-04-16  Richard Henderson  <rth@redhat.com>
18948         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
18950         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
18951         unwind tables.
18953         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
18954         const from the non-libc, non-ldso copy.
18956         * sysdeps/alpha/libm-test-ulps: Regenerate.
18958 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
18959             Wilco Dijkstra  <wilco.dijkstra@arm.com>
18961         * sysdeps/aarch64/fpu/math_private.h: New file.
18963 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18965         * sysdeps/aarch64/libm-test-ulps: Regenerate.
18967 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
18969         [BZ #16275]
18970         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
18971         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
18972         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
18973         Intel MPX bound registers before _dl_profile_fixup.
18974         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
18975         registers after _dl_profile_fixup.  Save and restore bound
18976         registers bnd0/bnd1 when calling _dl_call_pltexit.
18977         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
18978         (LR_BND_OFFSET): Likewise.
18979         (LRV_BND0_OFFSET): Likewise.
18980         (LRV_BND1_OFFSET): Likewise.
18982 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18984         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
18985         to...
18986         * sysdeps/mach/hurd/i386/tls.h: ... here.
18987         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
18988         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
18989         fields.
18991 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18993         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
18995 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
18997         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18999 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19001         [BZ #14770]
19002         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
19003         * sysdeps/s390/configure: Regenerate.
19005         [BZ #16824]
19006         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
19007         Set round-to-nearest internally to reduce error accumulation.
19009 2014-04-16  Alan Modra  <amodra@gmail.com>
19011         [BZ #16740]
19012         [BZ #16619]
19013         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
19014         * math/libm-test.inc (frexp_test_data): Add tests.
19015         * NEWS: Update fixed bug list.
19017 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19019         * benchtests/Makefile: Depend on libraries in build directory.
19020         (bench-math): Separate out math tests.
19021         (bench-pthread): Separate out pthread tests.
19022         (bench): Include math and pthread tests.
19024 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
19026         [BZ #16831]
19027         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
19028         _dl_debug_initialize.
19030         * configure.ac: Remove SELinux header check.
19031         * configure: Regenerate.
19032         * nscd/selinux.c (perms): Array of const char* to permission names.
19033         (nscd_request_avc_has_perm): Call security_deny_unknown to find
19034         default policy. Call string_to_security_class and string_to_av_perm to
19035         translate strings. Enforce default policy and call avs_has_perm with
19036         results of translated strings.
19038 2014-04-13  David S. Miller  <davem@davemloft.net>
19040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19042 2014-04-12  Allan McRae  <allan@archlinux.org>
19044         [BZ #16838]
19045         * manual/string.texi (Collation Functions): Fix qsort argument
19046         order in example.
19047         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
19049 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
19051         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
19052         Make the test a no-op if there are no exceptions defined.
19054 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19056         * elf/Makefile (tests): make tst-dlopen-aout conditional on
19057         enable-hardcoded-path-in-tests
19059 2014-04-11  Will Newton  <will.newton@linaro.org>
19061         * benchtests/Makefile (extra-objs): Add json-lib.o.
19062         (bench-func): Tidy up JSON output.
19063         * benchtests/bench-skeleton.c: Include json-lib.h.
19064         (main): Use JSON library functions to do output of
19065         benchmark results.
19066         * benchtests/bench-timing-type.c (main): Output the
19067         timing type simply, leaving formatting to the user.
19068         * benchtests/json-lib.c: New file.
19069         * benchtests/json-lib.h: Likewise.
19071 2014-04-11  Torvald Riegel  <triegel@redhat.com>
19073         [BZ #15215]
19074         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
19075         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
19076         memory barriers.  Add comments.
19077         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
19078         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
19079         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
19080         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
19081         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
19082         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
19084 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19086         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
19087         * sysdeps/s390/s390-64/configure.ac: ... this ...
19088         * sysdeps/s390/configure.ac: ... to here.
19089         * sysdeps/s390/s390-32/configure: Delete file.
19090         * sysdeps/s390/s390-64/configure: Delete file.
19091         * sysdeps/s390/configure: Regenerate.
19093 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
19095         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
19097 2014-04-11  Will Newton  <will.newton@linaro.org>
19099         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
19100         to zero if it is not defined elsewhere.  (mtrim): Test
19101         the value of MALLOC_DEBUG with #if rather than #ifdef.
19103 2014-04-10 Torvald Riegel  <triegel@redhat.com>
19105         * benchtests/pthread_once-inputs: New file.
19106         * benchtests/pthread_once-source.c: New file.
19107         * benchtests/README: Update documentation.
19109 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19110             H.J. Lu  <hongjiu.lu@intel.com>
19112         [BZ #16275]
19113         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
19114         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
19115         * sysdeps/x86_64/configure: Regenerated.
19116         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
19117         macro.
19118         (REGISTER_SAVE_RAX): Likewise.
19119         (REGISTER_SAVE_RCX): Likewise.
19120         (REGISTER_SAVE_RDX): Likewise.
19121         (REGISTER_SAVE_RSI): Likewise.
19122         (REGISTER_SAVE_RDI): Likewise.
19123         (REGISTER_SAVE_R8): Likewise.
19124         (REGISTER_SAVE_R9): Likewise.
19125         (REGISTER_SAVE_BND0): Likewise.
19126         (REGISTER_SAVE_BND1): Likewise.
19127         (REGISTER_SAVE_BND2): Likewise.
19128         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
19129         bound registers when calling _dl_fixup.
19131 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19133         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
19134         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
19135         of its definition.
19136         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
19137         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
19138         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
19139         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
19140         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
19141         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
19142         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
19144 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
19146         [BZ #15514]
19147         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
19148         pathconf(_PC_NAME_MAX).
19150 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19152         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
19153         Remove macro usage.
19154         (__PTHREAD_SPINS): Move definition to ...
19155         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19156         (__PTHREAD_SPINS): ... here.
19157         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19158         (__PTHREAD_SPIN): Likewise.
19159         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
19160         (__PTHREAD_SPIN): Likewise.
19161         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
19162         (__PTHREAD_SPIN): Likewise.
19163         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
19164         (__PTHREAD_SPIN): Likewise.
19165         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19166         (__PTHREAD_SPIN): Likewise.
19167         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19168         (__PTHREAD_SPIN): Likewise.
19169         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
19170         (__PTHREAD_SPIN): Likewise.
19171         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19172         (__PTHREAD_SPIN): Likewise.
19173         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19174         (__PTHREAD_SPIN): Likewise.
19175         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19176         (__PTHREAD_SPIN): Likewise.
19177         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19178         (__PTHREAD_SPIN): Likewise.
19179         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
19180         (__PTHREAD_SPIN): Likewise.
19182         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
19183         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
19184         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
19185         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
19186         imply folder.
19187         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
19188         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
19189         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
19190         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
19191         correct imply path.
19192         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
19193         strlen symbol for non multi-arch builds.
19194         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
19195         missing hidden_def and weak_alias.
19197 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
19199         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
19201 2014-04-07  Will Newton  <will.newton@linaro.org>
19203         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
19204         and contents.  [!_LIBC] Remove #ifndef and contents.
19205         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
19206         * string/memccpy.c (__memccpy): Use ANSI prototype.
19207         * string/memfrob.c (memfrob): Likewise.
19208         * string/strcoll.c (STRCOLL): Likewise.
19209         * string/strlen.c (strlen): Likewise.
19210         * string/strtok.c (STRTOK): Likewise.
19211         * string/strcat.c: Remove unused #include of memcopy.h.
19212         (strcat): Use ANSI prototype.
19213         * string/strchr.c: Remove unused #include of memcopy.h.
19214         (strchr): Use ANSI prototype.
19215         * string/strcmp.c: Remove unused #include of memcopy.h.
19216         (strcmp): Use ANSI prototype.
19217         * string/strcpy.c: Remove unused #include of memcopy.h.
19218         (strcpy): Use ANSI prototype.
19220 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19222         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
19223         * config.make.in (config-extra-cppflags): Set it from
19224         libc_extra_cppflags.
19225         * configure.ac (libc_extra_cflags): Make it accumulate over
19226         configure fragments.
19227         (libc_extra_cppflags): New flag.
19228         * configure. Regenerate.
19229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
19230         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
19231         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
19232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19234         [BZ #16815]
19235         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
19236         result for FE_DOWNWARD rounding mode.
19237         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19238         Likewise.
19239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19241 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
19243         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
19244         in function argument name.
19246 2014-04-03  David Svoboda  <svoboda@cert.org>
19248         [BZ #5666]
19249         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
19250         explicitly.
19252 2014-04-03  Roland McGrath  <roland@hack.frob.com>
19254         * elf/dl-unmap-segments.h: New file.
19255         * sysdeps/generic/ldsodefs.h
19256         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
19257         * elf/dl-close.c: Include <dl-unmap-segments.h>.
19258         * elf/dl-fptr.c: Likewise.
19259         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
19260         * sysdeps/aarch64/tlsdesc.c: Likewise.
19261         * sysdeps/arm/tlsdesc.c: Likewise.
19262         * sysdeps/i386/tlsdesc.c: Likewise.
19263         * sysdeps/tile/dl-runtime.c: Likewise.
19264         * sysdeps/x86_64/tlsdesc.c: Likewise.
19265         * elf/dl-load.h: New file.
19266         * elf/dl-load.c: Include it.
19267         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
19268         Macros moved to dl-load.h.
19269         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
19270         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
19271         Use _dl_unmap_segments in place of __munmap.
19272         Break out segment-mapping loop into ...
19273         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
19275 2014-04-03  Will Newton  <will.newton@linaro.org>
19277         * elf/dl-lookup.c (do_lookup_x): Remove comment
19278         referring to nested function and move variable
19279         declarations down to before first use.
19281 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
19283         [BZ #16799]
19284         [BZ #16800]
19285         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
19286         with 0 numerator.
19287         * math/s_catanf.c (__catanf): Likewise.
19288         * math/s_catanh.c (__catanh): Likewise.
19289         * math/s_catanhf.c (__catanhf): Likewise.
19290         * math/s_catanhl.c (__catanhl): Likewise.
19291         * math/s_catanl.c (__catanl): Likewise.
19292         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
19293         by positive zero when computing -Inf result.
19294         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
19295         (catanh_test): Likewise.
19296         * sysdeps/i386/fpu/libm-test-ulps: Update.
19297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19299         [BZ #16789]
19300         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
19301         instead of using underflowing value in computing result.
19302         * math/s_clog10.c (__clog10): Likewise.
19303         * math/s_clog10f.c (__clog10f): Likewise.
19304         * math/s_clog10l.c (__clog10l): Likewise.
19305         * math/s_clogf.c (__clogf): Likewise.
19306         * math/s_clogl.c (__clogl): Likewise.
19307         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
19308         (clog10_test): Likewise.
19309         * sysdeps/i386/fpu/libm-test-ulps: Update.
19310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19312 2014-04-02  Alan Modra  <amodra@gmail.com>
19314         [BZ #16739]
19315         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
19316         output when value is near a power of two.  Use int64_t for lx and
19317         remove casts.  Use decimal rather than hex exponent constants.
19318         Don't use long double multiplication when double will suffice.
19319         * math/libm-test.inc (nextafter_test_data): Add tests.
19320         * NEWS: Add 16739 and 16786 to bug list.
19322         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
19324         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
19326 2014-04-01  Will Newton  <will.newton@linaro.org>
19328         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
19329         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
19331 2014-04-01  Florian Weimer  <fweimer@redhat.com>
19333         [BZ #13347]
19334         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
19335         * nptl/tst-setuid2.c: New file.
19336         * nptl/Makefile (xtests): Add tst-setuid2.
19338 2014-04-01  Alan Modra  <amodra@gmail.com>
19340         [BZ #16786]
19341         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
19343 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19345         [BZ #6803]
19346         [BZ #6804]
19347         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
19348         set errno as appropriate.
19349         * math/w_scalbf.c (__scalbf): Likewise.
19350         * math/w_scalbl.c (__scalbl): Likewise.
19351         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
19352         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
19353         * math/libm-test.inc (scalb_test_data): Add errno expectations.
19354         Add more NaN tests.
19356         [BZ #16349]
19357         * math/w_atan2.c: Include <errno.h>.
19358         (__atan2): Set errno for result underflowing to zero.
19359         * math/w_atan2f.c: Include <errno.h>.
19360         (__atan2f): Set errno for result underflowing to zero.
19361         * math/w_atan2l.c: Include <errno.h>.
19362         (__atan2l): Set errno for result underflowing to zero.
19363         * math/auto-libm-test-in: Don't allow missing errno for some atan2
19364         tests.
19365         * math/auto-libm-test-out: Regenerated.
19367 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19369         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
19370         Encode instruction correctly in little endian.
19371         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
19372         Likewise.
19373         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
19374         Likewise.
19375         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
19376         Likewise.
19377         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
19378         Likewise.
19380 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
19382         [BZ #9894]
19383         * sysdeps/unix/sysv/linux/kernel-features.h
19384         [__sparc__ && !__arch64__ && !__sparc_v9__]
19385         (__ASSUME_SET_ROBUST_LIST): Do not define.
19386         [__sparc__ && !__arch64__ && !__sparc_v9__]
19387         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19388         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
19389         Likewise.
19390         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19391         (__ASSUME_FUTEX_LOCK_PI): Undefine.
19392         (__ASSUME_REQUEUE_PI): Likewise.
19393         (__ASSUME_SET_ROBUST_LIST): Likewise.
19394         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19395         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
19396         Undefine.
19397         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19398         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
19399         Likewise.
19400         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
19401         Likewise.
19402         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
19403         Likewise.
19404         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19405         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
19406         Undefine.
19407         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
19408         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
19409         Likewise.
19411         [BZ #16648]
19412         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19413         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
19414         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
19416 2014-03-31  Will Newton  <will.newton@linaro.org>
19418         * benchtests/Makefile (bench): Add ffs and ffsll to list
19419         of tests.
19420         * benchtests/ffs-inputs: New file.
19421         * benchtests/ffsll-inputs: Likewise.
19423 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
19425         [BZ #16770]
19426         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
19427         too large before casting to int.
19428         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
19429         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
19430         * math/libm-test.inc (scalb_test_data): Add more tests.
19432 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19434         * benchtests/Makefile (DETAILED_OPT): New make option.
19435         (bench-func): Run benchmark program with -d if DETAILED_OPT is
19436         set.
19437         * benchtests/bench-skeleton.c: Include stdbool.h.
19438         (main): Store and print timings per input.
19439         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
19440         member to each argument value.
19441         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
19442         (_print_arg_data): Initialize per-input timing to 0.
19444         * benchtests/Makefile (timing-type): New binary.
19445         (bench-clean): Also remove bench-timing-type.
19446         (bench): New target for timing-type.
19447         (bench-func): Print output in JSON format.
19448         * benchtests/bench-skeleton.c (main): Print output in JSON
19449         format.
19450         * benchtests/bench-timing-type.c: New file.
19451         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
19452         (TIMING_PRINT_STATS): Remove.
19453         * benchtests/scripts/bench.py (_print_arg_data): Store variant
19454         name separately.
19456         * benchtests/bench-modf.c: Remove.
19457         * benchtests/modf-inputs: New inputs file.
19459 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
19461         [BZ #16362]
19462         * math/s_clog10.c (M_PI_LOG10E): New macro.
19463         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
19464         imaginary parts are 0.
19465         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
19466         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
19467         imaginary parts are 0.
19468         * math/s_clog10l.c (M_PI_LOG10El): New macro.
19469         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
19470         imaginary parts are 0.
19471         * math/libm-test.inc (clog10_test_data): Update expected results
19472         for when real and imaginary parts are 0.
19474 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
19476         * elf/dl-load.c: Finish conversion of __builtin_expect into
19477         __glibc_{un}likely.
19479 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
19481         [BZ #16348]
19482         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
19483         1+x for argument with exponent below -67.
19484         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
19485         Likewise.
19486         * math/auto-libm-test-in: Add more tests of exp.
19487         * math/auto-libm-test-out: Regenerated.
19489 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19491         [BZ #16759]
19492         * inet/getnetgrent_r.c (get_nonempty_val): New function.
19493         (nscd_getnetgrent): Use it.
19495         [BZ #16760]
19496         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
19497         of stpcpy.
19499 2014-03-27  Andi Kleen  <ak@linux.intel.com>
19501         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
19502         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19503         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19504         (lll_robust_unlock): Remove out of line section. Use cfi
19505         intrinsics.
19506         (LLL_STUB_UNWIND_INFO*): Remove.
19507         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
19508         (lll_robust_lock, lll_cond_lock, lll_timedlock)
19509         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
19510         (lll_robust_unlock): Remove out of line section. Use cfi
19511         intrinsics.
19512         (LLL_STUB_UNWIND_INFO*): Remove.
19514 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19516         [BZ #16758]
19517         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
19518         blank values.
19520 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
19522         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
19524 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
19526         [BZ #16198]
19527         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
19528         fnstenv.
19529         * math/test-fenv-preserve.c: New file.
19530         * math/Makefile (tests): Add test-fenv-preserve.
19532 2014-03-26  Will Newton <will.newton@linaro.org>
19534         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
19536 2014-03-25  Roland McGrath  <roland@hack.frob.com>
19538         * scripts/versionlist.awk: Partition the version sets and emit all
19539         GLIBC_* (sorted) before all others (sorted).
19541 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19543         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
19544         GLIBC_2.2.5 version.
19546 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19548         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
19549         calls.
19551         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
19552         previous change.
19554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19556 2014-03-25  Andreas Schwab  <schwab@suse.de>
19558         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
19559         label to be used after in6ailist is initialized.
19561 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19563         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
19564         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19566 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
19568         [BZ #16357]
19569         [BZ #16599]
19570         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
19571         min_plus_half.
19572         (fp_formats): Update initializers.
19573         (init_fp_formats): Initialize new field.
19574         (output_for_one_input_case): Allow underflow for results up to
19575         min_plus_half.
19576         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
19577         * math/auto-libm-test-in: Don't mark some underflows from asin and
19578         atanh as spurious.
19579         * math/auto-libm-test-out: Regenerated.
19580         * sysdeps/i386/fpu/libm-test-ulps: Update.
19581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19583 2014-03-25  Andreas Schwab  <schwab@suse.de>
19585         * libio/Makefile (tst-ftell-partial-wide-ENV)
19586         (tst-ftell-active-handler-ENV): Define.
19588 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
19590         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
19592 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19594         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
19596 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19598         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
19599         * sysdeps/x86_64/fpu/multiarch/e_exp.c
19600         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19602 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
19604         [BZ #16634]
19605         * elf/dl-load.c (open_verify): Add mode parameter.
19606         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
19607         (open_path): Change from boolean 'secure' to complete flag 'mode'
19608         (_dl_map_object): Adjust.
19609         * elf/Makefile (tests): Add tst-dlopen-aout.
19610         * elf/tst-dlopen-aout.c: New test.
19612 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
19614         [BZ #16714]
19615         * sysdeps/unix/sysv/linux/s390/bits/stat.h
19616         (struct stat): Rename member pad0 to __glibc_reserved0.
19618         [BZ #16712]
19619         * sysdeps/s390/s390-32/bits/wordsize.h
19620         (__WORDSIZE32_SIZE_ULONG): New define.
19621         * sysdeps/s390/s390-64/bits/wordsize.h
19622         (__WORDSIZE32_SIZE_ULONG): Likewise.
19623         * sysdeps/generic/stdint.h (SIZE_MAX):
19624         Define as UL if __WORDSIZE32_SIZE_ULONG.
19626         [BZ #16713]
19627         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
19628         (__glibc_reserved0): New variable.
19629         (sa_flags): Change type to int.
19631         * posix/Makefile (before-compile): Use += before-compile instead
19632         of a :=.
19634         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
19635         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
19637 2014-03-20  Andreas Schwab  <schwab@suse.de>
19639         [BZ #16743]
19640         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
19641         non-matching result from nscd.
19643 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19645         * scripts/bench.py: Moved to ...
19646         * benchtests/scripts/bench.py: ... here.
19647         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
19649 2014-03-24  Andreas Schwab  <schwab@suse.de>
19651         [BZ #16002]
19652         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
19653         alloca_account and account alloca use for struct in6ailist.
19655 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
19657         [BZ #16284]
19658         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
19659         rounding mode to recompute results that overflow to infinity or
19660         underflow to zero.
19661         * math/auto-libm-test-in: Don't mark tests as expected to fail for
19662         bug 16284.
19663         * math/auto-libm-test-out: Regenerated.
19664         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
19665         (ccosh_test): Likewise.
19666         (csin_test_data): Use plus_oflow.
19667         (csin_test): Use ALL_RM_TEST.
19668         (csinh_test_data): Use plus_oflow.
19669         (csinh_test): Use ALL_RM_TEST.
19670         * sysdeps/i386/fpu/libm-test-ulps: Update.
19671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19673 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
19675         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
19676         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
19677         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
19679         [BZ #16731]
19680         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
19681         when x - 1 is zero.
19682         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
19683         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
19684         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19685         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
19686         argument is 1.
19687         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
19688         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
19689         zero.
19690         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
19691         * sysdeps/i386/fpu/libm-test-ulps: Update.
19692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19694 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19696         * scripts/bench.pl: Remove file.
19697         * scripts/bench.py: New benchmark script.
19698         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
19699         * benchtests/README: Mention python dependency.
19700         * scripts/pylintrc: New file.
19701         * scripts/pylint: New file.
19703         * bits/mathdef.h: Use #ifdef instead of #if.
19704         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
19705         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19706         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
19707         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19708         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
19709         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
19711 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19712             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19714         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
19715         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
19716         and strpbrk-ppc64 objects.
19717         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19718         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
19719         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
19720         multiarch strpbrk for POWER7.
19721         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
19722         multiarch strpbrk for PPC64.
19723         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
19724         ifunc selector.
19725         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
19726         strpbrk for POWER7.
19728 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19730         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
19731         (atan_test): Likewise.
19732         (atanh_test_data): Use NO_TEST_INLINE for two tests.
19733         (atanh_test): Use ALL_RM_TEST.
19734         (atan2_test_data): Likewise.
19735         (cabs_test): Likewise.
19736         (cacosh_test): Likewise.
19737         (carg_test): Likewise.
19738         (casin_test): Likewise.
19739         (casinh_test): Likewise.
19740         (cbrt_test): Likewise.
19741         (csqrt_test): Likewise.
19742         (erf_test): Likewise.
19743         (erfc_test): Likewise.
19744         (pow10_test): Likewise.
19745         (exp2_test): Likewise.
19746         (hypot_test): Likewise.
19747         (j0_test): Likewise.
19748         (j1_test): Likewise.
19749         (lgamma_test): Likewise.
19750         (gamma_test): Likewise.
19751         (sincos_test): Likewise.
19752         (tanh_test): Likewise.
19753         (y0_test): Likewise.
19754         (y1_test): Likewise.
19755         * sysdeps/i386/fpu/libm-test-ulps: Update.
19756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19758 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19760         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
19761         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
19762         and strcspn-ppc64 objects.
19763         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19764         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
19765         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
19766         multiarch strcspn for POWER7.
19767         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
19768         multiarch strcspn for PPC64.
19769         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
19770         ifunc selector.
19771         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
19772         strcspn for POWER7.
19774 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
19776         * math/gen-libm-test.pl (generate_testfile): Expect only function
19777         name as argument to AUTO_TESTS_* and pass results for all rounding
19778         modes to parse_args.
19779         (parse_auto_input): Separate inputs of automatic tests from
19780         outputs before storing in %auto_tests.
19781         * math/libm-test.inc (acos_test_data): Update call to
19782         AUTO_TESTS_f_f.
19783         (acos_test): Use ALL_RM_TEST.
19784         (acos_tonearest_test_data): Remove.
19785         (acos_test_tonearest): Likewise.
19786         (acos_towardzero_test_data): Likewise.
19787         (acos_test_towardzero): Likewise.
19788         (acos_downward_test_data): Likewise.
19789         (acos_test_downward): Likewise.
19790         (acos_upward_test_data): Likewise.
19791         (acos_test_upward): Likewise.
19792         (acosh_test_data): Update call to AUTO_TESTS_f_f.
19793         (asin_test_data): Likewise.
19794         (asin_test): Use ALL_RM_TEST.
19795         (asin_tonearest_test_data): Remove.
19796         (asin_test_tonearest): Likewise.
19797         (asin_towardzero_test_data): Likewise.
19798         (asin_test_towardzero): Likewise.
19799         (asin_downward_test_data): Likewise.
19800         (asin_test_downward): Likewise.
19801         (asin_upward_test_data): Likewise.
19802         (asin_test_upward): Likewise.
19803         (asinh_test_data): Update call to AUTO_TESTS_f_f.
19804         (atan_test_data): Likewise.
19805         (atanh_test_data): Likewise.
19806         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
19807         (cabs_test_data): Update call to AUTO_TESTS_c_f.
19808         (carg_test_data): Likewise.
19809         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
19810         (ccos_test_data): Update call to AUTO_TESTS_c_c.
19811         (ccosh_test_data): Likewise.
19812         (cexp_test_data): Likewise.
19813         (clog_test_data): Likewise.
19814         (clog10_test_data): Likewise.
19815         (cos_test_data): Update call to AUTO_TESTS_f_f.
19816         (cos_test): Use ALL_RM_TEST.
19817         (cos_tonearest_test_data): Remove.
19818         (cos_test_tonearest): Likewise.
19819         (cos_towardzero_test_data): Likewise.
19820         (cos_test_towardzero): Likewise.
19821         (cos_downward_test_data): Likewise.
19822         (cos_test_downward): Likewise.
19823         (cos_upward_test_data): Likewise.
19824         (cos_test_upward): Likewise.
19825         (cosh_test_data): Update call to AUTO_TESTS_f_f.
19826         (cosh_test): Use ALL_RM_TEST.
19827         (cosh_tonearest_test_data): Remove.
19828         (cosh_test_tonearest): Likewise.
19829         (cosh_towardzero_test_data): Likewise.
19830         (cosh_test_towardzero): Likewise.
19831         (cosh_downward_test_data): Likewise.
19832         (cosh_test_downward): Likewise.
19833         (cosh_upward_test_data): Likewise.
19834         (cosh_test_upward): Likewise.
19835         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
19836         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
19837         (ctan_test_data): Likewise.
19838         (ctan_test): Use ALL_RM_TEST.
19839         (ctan_tonearest_test_data): Remove.
19840         (ctan_test_tonearest): Likewise.
19841         (ctan_towardzero_test_data): Likewise.
19842         (ctan_test_towardzero): Likewise.
19843         (ctan_downward_test_data): Likewise.
19844         (ctan_test_downward): Likewise.
19845         (ctan_upward_test_data): Likewise.
19846         (ctan_test_upward): Likewise.
19847         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
19848         (ctanh_test): Use ALL_RM_TEST.
19849         (ctanh_tonearest_test_data): Remove.
19850         (ctanh_test_tonearest): Likewise.
19851         (ctanh_towardzero_test_data): Likewise.
19852         (ctanh_test_towardzero): Likewise.
19853         (ctanh_downward_test_data): Likewise.
19854         (ctanh_test_downward): Likewise.
19855         (ctanh_upward_test_data): Likewise.
19856         (ctanh_test_upward): Likewise.
19857         (erf_test_data): Update call to AUTO_TESTS_f_f.
19858         (erfc_test_data): Likewise.
19859         (exp_test_data): Likewise.
19860         (exp_test): Use ALL_RM_TEST.
19861         (exp_tonearest_test_data): Remove.
19862         (exp_test_tonearest): Likewise.
19863         (exp_towardzero_test_data): Likewise.
19864         (exp_test_towardzero): Likewise.
19865         (exp_downward_test_data): Likewise.
19866         (exp_test_downward): Likewise.
19867         (exp_upward_test_data): Likewise.
19868         (exp_test_upward): Likewise.
19869         (exp10_test_data): Update call to AUTO_TESTS_f_f.
19870         (exp10_test): Use ALL_RM_TEST.
19871         (exp10_tonearest_test_data): Remove.
19872         (exp10_test_tonearest): Likewise.
19873         (exp10_towardzero_test_data): Likewise.
19874         (exp10_test_towardzero): Likewise.
19875         (exp10_downward_test_data): Likewise.
19876         (exp10_test_downward): Likewise.
19877         (exp10_upward_test_data): Likewise.
19878         (exp10_test_upward): Likewise.
19879         (exp2_test_data): Update call to AUTO_TESTS_f_f.
19880         (expm1_test_data): Likewise.
19881         (expm1_test): Use ALL_RM_TEST.
19882         (expm1_tonearest_test_data): Remove.
19883         (expm1_test_tonearest): Likewise.
19884         (expm1_towardzero_test_data): Likewise.
19885         (expm1_test_towardzero): Likewise.
19886         (expm1_downward_test_data): Likewise.
19887         (expm1_test_downward): Likewise.
19888         (expm1_upward_test_data): Likewise.
19889         (expm1_test_upward): Likewise.
19890         (fma_test_data): Update call to AUTO_TESTS_fff_f.
19891         (fma_test): Use ALL_RM_TEST.
19892         (fma_towardzero_test_data): Remove.
19893         (fma_test_towardzero): Likewise.
19894         (fma_downward_test_data): Likewise.
19895         (fma_test_downward): Likewise.
19896         (fma_upward_test_data): Likewise.
19897         (fma_test_upward): Likewise.
19898         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
19899         (j0_test_data): Update call to AUTO_TESTS_f_f.
19900         (j1_test_data): Likewise.
19901         (jn_test_data): Update call to AUTO_TESTS_if_f.
19902         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
19903         (log_test_data): Update call to AUTO_TESTS_f_f.
19904         (log10_test_data): Likewise.
19905         (log1p_test_data): Likewise.
19906         (log2_test_data): Likewise.
19907         (pow_test_data): Update call to AUTO_TESTS_ff_f.
19908         (pow_tonearest_test_data): Likewise.
19909         (sin_test_data): Update call to AUTO_TESTS_f_f.
19910         (sin_test): Use ALL_RM_TEST.
19911         (sin_tonearest_test_data): Remove.
19912         (sin_test_tonearest): Likewise.
19913         (sin_towardzero_test_data): Likewise.
19914         (sin_test_towardzero): Likewise.
19915         (sin_downward_test_data): Likewise.
19916         (sin_test_downward): Likewise.
19917         (sin_upward_test_data): Likewise.
19918         (sin_test_upward): Likewise.
19919         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
19920         (sinh_test_data): Update call to AUTO_TESTS_f_f.
19921         (sinh_test): Use ALL_RM_TEST.
19922         (sinh_tonearest_test_data): Remove.
19923         (sinh_test_tonearest): Likewise.
19924         (sinh_towardzero_test_data): Likewise.
19925         (sinh_test_towardzero): Likewise.
19926         (sinh_downward_test_data): Likewise.
19927         (sinh_test_downward): Likewise.
19928         (sinh_upward_test_data): Likewise.
19929         (sinh_test_upward): Likewise.
19930         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
19931         (sqrt_test): Use ALL_RM_TEST.
19932         (sqrt_tonearest_test_data): Remove.
19933         (sqrt_test_tonearest): Likewise.
19934         (sqrt_towardzero_test_data): Likewise.
19935         (sqrt_test_towardzero): Likewise.
19936         (sqrt_downward_test_data): Likewise.
19937         (sqrt_test_downward): Likewise.
19938         (sqrt_upward_test_data): Likewise.
19939         (sqrt_test_upward): Likewise.
19940         (tan_test_data): Update call to AUTO_TESTS_f_f.
19941         (tan_test): Use ALL_RM_TEST.
19942         (tan_tonearest_test_data): Remove.
19943         (tan_test_tonearest): Likewise.
19944         (tan_towardzero_test_data): Likewise.
19945         (tan_test_towardzero): Likewise.
19946         (tan_downward_test_data): Likewise.
19947         (tan_test_downward): Likewise.
19948         (tan_upward_test_data): Likewise.
19949         (tan_test_upward): Likewise.
19950         (tanh_test_data): Update call to AUTO_TESTS_f_f.
19951         (tgamma_test_data): Likewise.
19952         (y0_test_data): Likewise.
19953         (y1_test_data): Likewise.
19954         (yn_test_data): Update call to AUTO_TESTS_if_f.
19955         (main): Do not call removed functions.
19957 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
19959         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
19960         (ldexp_test_data): Remove.
19961         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
19962         scalbn_test_data.
19963         (scalb_test): Use ALL_RM_TEST.
19965 2014-03-19  Andreas Schwab  <schwab@suse.de>
19967         * nscd/nscd.service: Also invalidate netgroup cache on reload.
19969 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
19971         [BZ #16649]
19972         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
19973         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
19974         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
19975         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19976         (__ASSUME_PREADV): Undefine.
19977         (__ASSUME_PWRITEV): Likewise.
19979 2014-03-18  Roland McGrath  <roland@hack.frob.com>
19981         * bits/mman-linux.h: Add comment about non-Linux use.
19982         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
19983         bits/mman-linux.h resting place.
19985         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
19986         * bits/mman-linux.h: ... here.
19988 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19990         * conform/conformtest.pl: Add standard definition when calling C
19991         preprocessor on data files.
19992         (checknamespace): Remove unused variable.
19994 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
19996         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
19997         minus_oflow, plus_uflow and minus_uflow in expected results.
19998         * math/libm-test.inc (scalbn_test_data): Add more tests of
19999         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
20000         minus_uflow.
20001         (scalbn_test): Use ALL_RM_TEST.
20002         (scalbln_test_data): Add more tests of negative arguments.  Use
20003         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
20004         (scalbln_test): Use ALL_RM_TEST.
20006 2014-03-18  Roland McGrath  <roland@hack.frob.com>
20008         * scripts/abilist.awk: Ignore symbols marked with .hidden.
20010 2014-03-18  Will Newton  <will.newton@linaro.org>
20012         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
20013         inaccurate comment.
20015 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
20017         * Makerules [!subdir] (check-abi): Exit with error status if a
20018         test failed.
20020 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20022         * math/libm-test.inc (nearbyint_test_data): Include all tests used
20023         for rint.  Include results for all rounding modes.
20024         (nearbyint_test): Use ALL_RM_TEST.
20025         (rint_test_data): Include all tests used for nearbyint.
20027 2014-03-17  Will Newton  <will.newton@linaro.org>
20029         * nptl/sysdeps/pthread/pthread.h: Revert previous
20030         change.
20032         * sysdeps/generic/ldsodefs.h: Revert previous
20033         change.
20035         * libio/genops.c: Revert previous change.
20036         * libio/libioP.h: Likewise.
20037         * stdio-common/vfprintf.c: Likewise.
20039         * sysdeps/generic/math_private.h: Revert previous
20040         change.
20042         * sysdeps/generic/math_private.h: Check whether
20043         HAVE_RM_CTX is defined with #ifdef rather
20044         than #if.
20046         * argp/argp-fmtstream.h: Check whether
20047         __STRICT_ANSI__ is defined with #ifdef rather
20048         than #if.
20049         * argp/argp.h: Likewise.
20051         * libio/genops.c: Check whether
20052         _IO_JUMPS_OFFSET is defined with #ifdef rather
20053         than #if.
20054         * libio/libioP.h: Likewise.
20055         * stdio-common/vfprintf.c: Likewise.
20057         * sysdeps/generic/ldsodefs.h: Check whether
20058         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
20059         than #if.
20061         * nptl/sysdeps/pthread/pthread.h: Check
20062         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
20063         its value.
20065 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20067         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
20068         setting O_APPEND.
20069         * libio/tst-ftell-active-handler.c (do_append_test): Add a
20070         test case.
20072         [BZ #16680]
20073         * libio/fileops.c (_IO_file_open): Seek to end of file but
20074         don't cache the offset.
20075         (get_file_offset): Remove function.
20076         (do_ftell): Use cached offset when available.
20077         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
20078         don't cache the offset.
20079         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
20080         case.
20081         (do_one_test): Call it.
20082         (do_ftell_test): Fix up expected old offset for a+ mode.
20083         * libio/wfileops.c (do_ftell_wide): Used cached offset when
20084         available.
20086         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
20087         up test status with function return status.
20088         (do_write_test): Likewise.
20089         (do_append_test): Likewise.
20091         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
20092         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
20093         Remove.
20095 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
20097         * math/gen-libm-test.pl (parse_args): Handle results specified for
20098         each rounding mode separately.
20099         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
20100         tests and results from lrint_tonearest_test_data,
20101         lrint_towardzero_test_data, lrint_downward_test_data and
20102         lrint_upward_test_data.
20103         (lrint_test): Use ALL_RM_TEST.
20104         (lrint_tonearest_test_data): Remove.
20105         (lrint_test_tonearest): Likewise.
20106         (lrint_towardzero_test_data): Likewise.
20107         (lrint_test_towardzero): Likewise.
20108         (lrint_downward_test_data): Likewise.
20109         (lrint_test_downward): Likewise.
20110         (lrint_upward_test_data): Likewise.
20111         (lrint_test_upward): Likewise.
20112         (llrint_test_data): Merge in per-rounding-mode tests and results
20113         from llrint_tonearest_test_data, llrint_towardzero_test_data,
20114         llrint_downward_test_data and llrint_upward_test_data.
20115         (llrint_test): Use ALL_RM_TEST.
20116         (llrint_tonearest_test_data): Remove.
20117         (llrint_test_tonearest): Likewise.
20118         (llrint_towardzero_test_data): Likewise.
20119         (llrint_test_towardzero): Likewise.
20120         (llrint_downward_test_data): Likewise.
20121         (llrint_test_downward): Likewise.
20122         (llrint_upward_test_data): Likewise.
20123         (llrint_test_upward): Likewise.
20124         (rint_test_data): Merge in per-rounding-mode tests and results
20125         from rint_tonearest_test_data, rint_towardzero_test_data,
20126         rint_downward_test_data and rint_upward_test_data.  Add
20127         per-rounding-mode results for tests not in those arrays.
20128         (rint_test): Use ALL_RM_TEST.
20129         (rint_tonearest_test_data): Remove.
20130         (rint_test_tonearest): Likewise.
20131         (rint_towardzero_test_data): Likewise.
20132         (rint_test_towardzero): Likewise.
20133         (rint_downward_test_data): Likewise.
20134         (rint_test_downward): Likewise.
20135         (rint_upward_test_data): Likewise.
20136         (rint_test_upward): Likewise.
20137         (main): Don't call removed functions.
20139 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20141         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
20142         "Compiled on ..." crapola.  It is anti-useful.
20144 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
20146         * scripts/evaluate-test.sh: Handle fourth argument to determine
20147         whether test run should stop on failure.
20148         * Makeconfig (stop-on-test-failure): New variable.
20149         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
20150         $(stop-on-test-failure).
20151         * Makefile (tests): Give a summary of results from testing and
20152         exit with failure status if they include an ERROR or FAIL.
20153         (xtests): Likewise.
20154         * manual/install.texi (Configuring and compiling): Mention
20155         stop-on-test-failure=y.
20156         * INSTALL: Regenerated.
20158 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20160         * scripts/versionlist.awk: New file.
20161         * Makerules [$(build-shared) = yes]
20162         (postclean-generated): Add Versions.def, not Versions.def.v and
20163         Versions.def.v.i.
20164         ($(common-objpfx)Versions.def.v.i): Target removed.
20165         ($(common-objpfx)Versions.def): New target.
20166         ($(common-objpfx)Versions.all): Depend on that rather that
20167         $(common-objpfx)Versions.def.v.
20168         * Versions.def: File removed.
20170         * Makeconfig (+gccwarn): Add -Wundef.
20171         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
20172         a dl-sysdep.h breaking its contract.
20173         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
20174         * include/stackinfo.h: New file.
20175         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
20176         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20177         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
20178         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
20179         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
20180         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
20181         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20182         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20183         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20184         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20185         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20186         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
20187         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20188         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20189         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
20191 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20193         [BZ #16707]
20194         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
20195         implementation.
20196         * math/libm-test.inc (round_test_data): Add more tests.
20198         [BZ #16706]
20199         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
20200         implementation.
20201         * math/libm-test.inc (nearbyint_test_data): Add more tests.
20203         [BZ #16701]
20204         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
20205         implementation.
20206         * math/libm-test.inc (ceil_test_data): Add more tests.
20208         * math/libm-test.inc (trunc_test_data): Add more tests related to
20209         BZ#16414.
20211 2014-03-14  Roland McGrath  <roland@hack.frob.com>
20213         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
20214         with #if rather than #ifdef.
20215         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
20217 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
20219         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
20220         first.  Disable AVX-512 GCC support if assembler doesn't support
20221         it.
20222         * sysdeps/x86_64/configure: Regenerated.
20224 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
20226         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
20227         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
20228         (__old_pthread_attr_setstack): Likewise.
20229         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
20230         [!_STACK_GROWS_DOWN]: Likewise.
20232 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
20234         * config.make.in (have-bash2): Delete.
20235         * configure.ac (libc_cv_have_bash2): Delete.
20236         * configure: Regenerate.
20237         * elf/Makefile (common-ldd-rewrite): Rename to ...
20238         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
20239         (sh-ldd-rewrite): Delete.
20240         (bash-ldd-rewrite): Delete.
20241         (have-bash2): Delete checks.
20242         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
20243         ldd-rewrite.
20245         * config.make.in (have-ksh): Delete.
20246         (KSH): Delete.
20247         * configure.ac (libc_cv_have_ksh): Delete.
20248         * configure: Regenerate.
20250         * elf/Makefile: Delete $(have-ksh) check.
20251         ($(objpfx)sotruss): Change KSH to BASH.
20252         * elf/sotruss.ksh: Rename to ...
20253         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
20254         function style to match POSIX.  Drop ksh vim mode setting.
20256         * manual/time.texi (Specifying the Time Zone with TZ): Change
20257         Tuesday to Thursday.
20259         * debug/tst-longjmp_chk2.c: Update header comment.
20260         (stackoverflow_handler): Add comment.  Call assert on pass value.
20262 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
20264         [BZ #16194]
20265         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
20266         (HAVE_AVX512_ASM_SUPPORT): Likewise.
20267         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
20268         (La_x86_64_vector): Add zmm.
20269         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
20270         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
20271         ($(objpfx)tst-audit10): New target.
20272         ($(objpfx)tst-audit10.out): Likewise.
20273         (tst-audit10-ENV): New.
20274         (AVX512-CFLAGS): Likewise.
20275         (CFLAGS-tst-audit10.c): Likewise.
20276         (CFLAGS-tst-auditmod10a.c): Likewise.
20277         (CFLAGS-tst-auditmod10b.c): Likewise.
20278         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
20279         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
20280         * sysdeps/x86_64/configure: Regenerated.
20281         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
20282         AVX-512 zmm register support.
20283         (_dl_x86_64_save_sse): Likewise.
20284         (_dl_x86_64_restore_sse): Likewise.
20285         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
20286         size vector registers.
20287         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
20288         (ZMM_SIZE): Likewise.
20289         * sysdeps/x86_64/tst-audit10.c: New file.
20290         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
20291         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
20293 2014-03-13  Roland McGrath  <roland@hack.frob.com>
20295         * configure.ac (HAVE_EHDR_START): New check.
20296         * configure: Regenerated.
20297         * config.h.in (HAVE_EHDR_START): New #undef.
20298         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
20299         assuming the lowest-addressed segment maps the start of the file.
20301 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
20303         * INSTALL: Regenerated.
20305 2014-03-13  Will Newton  <will.newton@linaro.org>
20307         * manual/setjmp.texi (System V contexts): Improve
20308         clarity and grammar of documentation.
20310 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
20312         [BZ #16381]
20313         * elf/Makefile (tests): Add tst-pie2.
20314         (tests-pie): Add tst-pie2.
20315         * elf/tst-pie2.c: New file.
20316         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
20317         for ET_EXEC.
20318         * elf/rtld.c (map_doit): Load executable as lt_executable.
20319         (dl_main): Likewise.
20321 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
20323         [BZ #16642]
20324         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20325         (__ASSUME_PSELECT): Undefine.
20327 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20329         [BZ #16689]
20330         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
20331         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
20332         static build.
20333         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
20334         selector for static builds.
20336 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20338         [BZ #16695]
20339         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
20340         key in the buffer.
20342 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20344         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
20345         IFUNC selector for static builds.
20347 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
20349         * sysdeps/mips/math_private.h [__mips_hard_float]
20350         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
20351         libc_feresetround_mips_ctx.
20352         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
20353         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
20354         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
20356         [BZ #16677]
20357         * math/s_nextafter.c (__nextafter): Do not return value from
20358         overflowing computation.
20359         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
20360         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
20361         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
20362         Likewise.
20363         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
20364         Likewise.
20365         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
20366         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
20368 2014-03-11  Roland McGrath  <roland@hack.frob.com>
20370         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
20371         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
20372         Move sfi_sp use from the load-multiple (that no longer sets sp) to
20373         the new mov targetting sp.
20375 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20377         [BZ #16683]
20378         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
20379         Define it for static builds as well.
20380         (NO_BZERO_IMPL): Likewise.
20382 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20384         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
20385         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
20386         multiarch strspn for PPC64.
20387         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
20388         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
20389         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20390         (__libc_ifunc_impl_list): Likewise.
20391         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
20392         multiarch optimizations
20393         * string/strspn.c (strspn): Using macro to redefine symbol name.
20395 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
20396             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20398         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
20399         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
20400         multiarch strncat for PPC64.
20401         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
20402         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
20403         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20404         (__libc_ifunc_impl_list): Likewise.
20405         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
20406         multiarch optimizations
20408 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20410         [BZ #16639]
20411         * nscd/nscd.service: Make service type forking.
20413 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20415         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
20416         sign in non default rounding modes.
20417         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
20419 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
20421         * math/libm-test.inc (ALL_RM_TEST): New macro.
20422         (ceil_test): Use ALL_RM_TEST.
20423         (cimag_test): Likewise.
20424         (conj_test): Likewise.
20425         (copysign_test): Likewise.
20426         (cproj_test): Likewise.
20427         (creal_test): Likewise.
20428         (fabs_test): Likewise.
20429         (floor_test): Likewise.
20430         (fmax_test): Likewise.
20431         (fmin_test): Likewise.
20432         (fmod_test): Likewise.
20433         (fpclassify_test): Likewise.
20434         (frexp_test): Likewise.
20435         (ilogb_test): Likewise.
20436         (isfinite_test): Likewise.
20437         (finite_test): Likewise.
20438         (isgreater_test): Likewise.
20439         (isgreaterequal_test): Likewise.
20440         (isinf_test): Likewise.
20441         (isless_test): Likewise.
20442         (islessequal_test): Likewise.
20443         (islessgreater_test): Likewise.
20444         (isnan_test): Likewise.
20445         (isnormal_test): Likewise.
20446         (issignaling_test): Likewise.
20447         (isunordered_test): Likewise.
20448         (logb_test): Likewise.
20449         (logb_downward_test_data): Remove.
20450         (logb_test_downward): Likewise.
20451         (lround_test): Use ALL_RM_TEST.
20452         (llround_test): Likewise.
20453         (modf_test): Likewise.
20454         (nexttoward_test): Likewise.
20455         (remainder_test): Likewise.
20456         (drem_test): Likewise.
20457         (remainder_tonearest_test_data): Likewise.
20458         (remainder_test_tonearest): Likewise.
20459         (drem_test_tonearest): Likewise.
20460         (remainder_towardzero_test_data): Likewise.
20461         (remainder_test_towardzero): Likewise.
20462         (drem_test_towardzero): Likewise.
20463         (remainder_downward_test_data): Likewise.
20464         (remainder_test_downward): Likewise.
20465         (drem_test_downward): Likewise.
20466         (remainder_upward_test_data): Likewise.
20467         (remainder_test_upward): Likewise.
20468         (drem_test_upward): Likewise.
20469         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
20470         (round_test): Use ALL_RM_TEST.
20471         (signbit_test): Likewise.
20472         (trunc_test): Likewise.
20473         (significand_test): Likewise.
20474         (main): Don't call removed functions.
20476 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20478         [BZ #16674]
20479         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
20480         || __USE_XOPEN2K8].
20481         (ILL_ILLOPN): Likewise.
20482         (ILL_ILLADR): Likewise.
20483         (ILL_ILLTRP): Likewise.
20484         (ILL_PRVOPC): Likewise.
20485         (ILL_PRVREG): Likewise.
20486         (ILL_COPROC): Likewise.
20487         (ILL_BADSTK): Likewise.
20488         (FPE_INTDIV): Likewise.
20489         (FPE_INTOVF): Likewise.
20490         (FPE_FLTDIV): Likewise.
20491         (FPE_FLTOVF): Likewise.
20492         (FPE_FLTUND): Likewise.
20493         (FPE_FLTRES): Likewise.
20494         (FPE_FLTINV): Likewise.
20495         (FPE_FLTSUB): Likewise.
20496         (SEGV_MAPERR): Likewise.
20497         (SEGV_ACCERR): Likewise.
20498         (BUS_ADRALN): Likewise.
20499         (BUS_ADRERR): Likewise.
20500         (BUS_OBJERR): Likewise.
20501         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20502         (TRAP_TRACE): Likewise.
20503         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20504         __USE_XOPEN2K8].
20505         (CLD_KILLED): Likewise.
20506         (CLD_DUMPED): Likewise.
20507         (CLD_TRAPPED): Likewise.
20508         (CLD_STOPPED): Likewise.
20509         (CLD_CONTINUED): Likewise.
20510         (POLL_IN): Likewise.
20511         (POLL_OUT): Likewise.
20512         (POLL_MSG): Likewise.
20513         (POLL_ERR): Likewise.
20514         (POLL_PRI): Likewise.
20515         (POLL_HUP): Likewise.
20516         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
20517         Likewise.
20518         (ILL_ILLOPN): Likewise.
20519         (ILL_ILLADR): Likewise.
20520         (ILL_ILLTRP): Likewise.
20521         (ILL_PRVOPC): Likewise.
20522         (ILL_PRVREG): Likewise.
20523         (ILL_COPROC): Likewise.
20524         (ILL_BADSTK): Likewise.
20525         (FPE_INTDIV): Likewise.
20526         (FPE_INTOVF): Likewise.
20527         (FPE_FLTDIV): Likewise.
20528         (FPE_FLTOVF): Likewise.
20529         (FPE_FLTUND): Likewise.
20530         (FPE_FLTRES): Likewise.
20531         (FPE_FLTINV): Likewise.
20532         (FPE_FLTSUB): Likewise.
20533         (SEGV_MAPERR): Likewise.
20534         (SEGV_ACCERR): Likewise.
20535         (BUS_ADRALN): Likewise.
20536         (BUS_ADRERR): Likewise.
20537         (BUS_OBJERR): Likewise.
20538         (BUS_MCEERR_AR): Likewise.
20539         (BUS_MCEERR_AO): Likewise.
20540         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20541         (TRAP_TRACE): Likewise.
20542         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20543         __USE_XOPEN2K8].
20544         (CLD_KILLED): Likewise.
20545         (CLD_DUMPED): Likewise.
20546         (CLD_TRAPPED): Likewise.
20547         (CLD_STOPPED): Likewise.
20548         (CLD_CONTINUED): Likewise.
20549         (POLL_IN): Likewise.
20550         (POLL_OUT): Likewise.
20551         (POLL_MSG): Likewise.
20552         (POLL_ERR): Likewise.
20553         (POLL_PRI): Likewise.
20554         (POLL_HUP): Likewise.
20555         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
20556         (ILL_ILLOPN): Likewise.
20557         (ILL_ILLADR): Likewise.
20558         (ILL_ILLTRP): Likewise.
20559         (ILL_PRVOPC): Likewise.
20560         (ILL_PRVREG): Likewise.
20561         (ILL_COPROC): Likewise.
20562         (ILL_BADSTK): Likewise.
20563         (FPE_INTDIV): Likewise.
20564         (FPE_INTOVF): Likewise.
20565         (FPE_FLTDIV): Likewise.
20566         (FPE_FLTOVF): Likewise.
20567         (FPE_FLTUND): Likewise.
20568         (FPE_FLTRES): Likewise.
20569         (FPE_FLTINV): Likewise.
20570         (FPE_FLTSUB): Likewise.
20571         (SEGV_MAPERR): Likewise.
20572         (SEGV_ACCERR): Likewise.
20573         (BUS_ADRALN): Likewise.
20574         (BUS_ADRERR): Likewise.
20575         (BUS_OBJERR): Likewise.
20576         (BUS_MCEERR_AR): Likewise.
20577         (BUS_MCEERR_AO): Likewise.
20578         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20579         (TRAP_TRACE): Likewise.
20580         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20581         __USE_XOPEN2K8].
20582         (CLD_KILLED): Likewise.
20583         (CLD_DUMPED): Likewise.
20584         (CLD_TRAPPED): Likewise.
20585         (CLD_STOPPED): Likewise.
20586         (CLD_CONTINUED): Likewise.
20587         (POLL_IN): Likewise.
20588         (POLL_OUT): Likewise.
20589         (POLL_MSG): Likewise.
20590         (POLL_ERR): Likewise.
20591         (POLL_PRI): Likewise.
20592         (POLL_HUP): Likewise.
20593         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
20594         Likewise.
20595         (ILL_ILLOPN): Likewise.
20596         (ILL_ILLADR): Likewise.
20597         (ILL_ILLTRP): Likewise.
20598         (ILL_PRVOPC): Likewise.
20599         (ILL_PRVREG): Likewise.
20600         (ILL_COPROC): Likewise.
20601         (ILL_BADSTK): Likewise.
20602         (ILL_BADIADDR): Likewise.
20603         (ILL_BREAK): Likewise.
20604         (FPE_INTDIV): Likewise.
20605         (FPE_INTOVF): Likewise.
20606         (FPE_FLTDIV): Likewise.
20607         (FPE_FLTOVF): Likewise.
20608         (FPE_FLTUND): Likewise.
20609         (FPE_FLTRES): Likewise.
20610         (FPE_FLTINV): Likewise.
20611         (FPE_FLTSUB): Likewise.
20612         (FPE_DECOVF): Likewise.
20613         (FPE_DECDIV): Likewise.
20614         (FPE_DECERR): Likewise.
20615         (FPE_INVASC): Likewise.
20616         (FPE_INVDEC): Likewise.
20617         (SEGV_MAPERR): Likewise.
20618         (SEGV_ACCERR): Likewise.
20619         (SEGV_PSTKOVF): Likewise.
20620         (BUS_ADRALN): Likewise.
20621         (BUS_ADRERR): Likewise.
20622         (BUS_OBJERR): Likewise.
20623         (BUS_MCEERR_AR): Likewise.
20624         (BUS_MCEERR_AO): Likewise.
20625         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20626         (TRAP_TRACE): Likewise.
20627         (TRAP_BRANCH): Likewise.
20628         (TRAP_HWBKPT): Likewise.
20629         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20630         __USE_XOPEN2K8].
20631         (CLD_KILLED): Likewise.
20632         (CLD_DUMPED): Likewise.
20633         (CLD_TRAPPED): Likewise.
20634         (CLD_STOPPED): Likewise.
20635         (CLD_CONTINUED): Likewise.
20636         (POLL_IN): Likewise.
20637         (POLL_OUT): Likewise.
20638         (POLL_MSG): Likewise.
20639         (POLL_ERR): Likewise.
20640         (POLL_PRI): Likewise.
20641         (POLL_HUP): Likewise.
20642         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
20643         (ILL_ILLOPN): Likewise.
20644         (ILL_ILLADR): Likewise.
20645         (ILL_ILLTRP): Likewise.
20646         (ILL_PRVOPC): Likewise.
20647         (ILL_PRVREG): Likewise.
20648         (ILL_COPROC): Likewise.
20649         (ILL_BADSTK): Likewise.
20650         (FPE_INTDIV): Likewise.
20651         (FPE_INTOVF): Likewise.
20652         (FPE_FLTDIV): Likewise.
20653         (FPE_FLTOVF): Likewise.
20654         (FPE_FLTUND): Likewise.
20655         (FPE_FLTRES): Likewise.
20656         (FPE_FLTINV): Likewise.
20657         (FPE_FLTSUB): Likewise.
20658         (SEGV_MAPERR): Likewise.
20659         (SEGV_ACCERR): Likewise.
20660         (BUS_ADRALN): Likewise.
20661         (BUS_ADRERR): Likewise.
20662         (BUS_OBJERR): Likewise.
20663         (BUS_MCEERR_AR): Likewise.
20664         (BUS_MCEERR_AO): Likewise.
20665         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20666         (TRAP_TRACE): Likewise.
20667         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20668         __USE_XOPEN2K8].
20669         (CLD_KILLED): Likewise.
20670         (CLD_DUMPED): Likewise.
20671         (CLD_TRAPPED): Likewise.
20672         (CLD_STOPPED): Likewise.
20673         (CLD_CONTINUED): Likewise.
20674         (POLL_IN): Likewise.
20675         (POLL_OUT): Likewise.
20676         (POLL_MSG): Likewise.
20677         (POLL_ERR): Likewise.
20678         (POLL_PRI): Likewise.
20679         (POLL_HUP): Likewise.
20680         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
20681         (ILL_ILLOPN): Likewise.
20682         (ILL_ILLADR): Likewise.
20683         (ILL_ILLTRP): Likewise.
20684         (ILL_PRVOPC): Likewise.
20685         (ILL_PRVREG): Likewise.
20686         (ILL_COPROC): Likewise.
20687         (ILL_BADSTK): Likewise.
20688         (FPE_INTDIV): Likewise.
20689         (FPE_INTOVF): Likewise.
20690         (FPE_FLTDIV): Likewise.
20691         (FPE_FLTOVF): Likewise.
20692         (FPE_FLTUND): Likewise.
20693         (FPE_FLTRES): Likewise.
20694         (FPE_FLTINV): Likewise.
20695         (FPE_FLTSUB): Likewise.
20696         (SEGV_MAPERR): Likewise.
20697         (SEGV_ACCERR): Likewise.
20698         (BUS_ADRALN): Likewise.
20699         (BUS_ADRERR): Likewise.
20700         (BUS_OBJERR): Likewise.
20701         (BUS_MCEERR_AR): Likewise.
20702         (BUS_MCEERR_AO): Likewise.
20703         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20704         (TRAP_TRACE): Likewise.
20705         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20706         __USE_XOPEN2K8].
20707         (CLD_KILLED): Likewise.
20708         (CLD_DUMPED): Likewise.
20709         (CLD_TRAPPED): Likewise.
20710         (CLD_STOPPED): Likewise.
20711         (CLD_CONTINUED): Likewise.
20712         (POLL_IN): Likewise.
20713         (POLL_OUT): Likewise.
20714         (POLL_MSG): Likewise.
20715         (POLL_ERR): Likewise.
20716         (POLL_PRI): Likewise.
20717         (POLL_HUP): Likewise.
20718         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
20719         (ILL_ILLOPN): Likewise.
20720         (ILL_ILLADR): Likewise.
20721         (ILL_ILLTRP): Likewise.
20722         (ILL_PRVOPC): Likewise.
20723         (ILL_PRVREG): Likewise.
20724         (ILL_COPROC): Likewise.
20725         (ILL_BADSTK): Likewise.
20726         (FPE_INTDIV): Likewise.
20727         (FPE_INTOVF): Likewise.
20728         (FPE_FLTDIV): Likewise.
20729         (FPE_FLTOVF): Likewise.
20730         (FPE_FLTUND): Likewise.
20731         (FPE_FLTRES): Likewise.
20732         (FPE_FLTINV): Likewise.
20733         (FPE_FLTSUB): Likewise.
20734         (SEGV_MAPERR): Likewise.
20735         (SEGV_ACCERR): Likewise.
20736         (BUS_ADRALN): Likewise.
20737         (BUS_ADRERR): Likewise.
20738         (BUS_OBJERR): Likewise.
20739         (BUS_MCEERR_AR): Likewise.
20740         (BUS_MCEERR_AO): Likewise.
20741         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20742         (TRAP_TRACE): Likewise.
20743         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20744         __USE_XOPEN2K8].
20745         (CLD_KILLED): Likewise.
20746         (CLD_DUMPED): Likewise.
20747         (CLD_TRAPPED): Likewise.
20748         (CLD_STOPPED): Likewise.
20749         (CLD_CONTINUED): Likewise.
20750         (POLL_IN): Likewise.
20751         (POLL_OUT): Likewise.
20752         (POLL_MSG): Likewise.
20753         (POLL_ERR): Likewise.
20754         (POLL_PRI): Likewise.
20755         (POLL_HUP): Likewise.
20756         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
20757         (ILL_ILLOPN): Likewise.
20758         (ILL_ILLADR): Likewise.
20759         (ILL_ILLTRP): Likewise.
20760         (ILL_PRVOPC): Likewise.
20761         (ILL_PRVREG): Likewise.
20762         (ILL_COPROC): Likewise.
20763         (ILL_BADSTK): Likewise.
20764         (ILL_DBLFLT): Likewise.
20765         (ILL_HARDWALL): Likewise.
20766         (FPE_INTDIV): Likewise.
20767         (FPE_INTOVF): Likewise.
20768         (FPE_FLTDIV): Likewise.
20769         (FPE_FLTOVF): Likewise.
20770         (FPE_FLTUND): Likewise.
20771         (FPE_FLTRES): Likewise.
20772         (FPE_FLTINV): Likewise.
20773         (FPE_FLTSUB): Likewise.
20774         (SEGV_MAPERR): Likewise.
20775         (SEGV_ACCERR): Likewise.
20776         (BUS_ADRALN): Likewise.
20777         (BUS_ADRERR): Likewise.
20778         (BUS_OBJERR): Likewise.
20779         (BUS_MCEERR_AR): Likewise.
20780         (BUS_MCEERR_AO): Likewise.
20781         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20782         (TRAP_TRACE): Likewise.
20783         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20784         __USE_XOPEN2K8].
20785         (CLD_KILLED): Likewise.
20786         (CLD_DUMPED): Likewise.
20787         (CLD_TRAPPED): Likewise.
20788         (CLD_STOPPED): Likewise.
20789         (CLD_CONTINUED): Likewise.
20790         (POLL_IN): Likewise.
20791         (POLL_OUT): Likewise.
20792         (POLL_MSG): Likewise.
20793         (POLL_ERR): Likewise.
20794         (POLL_PRI): Likewise.
20795         (POLL_HUP): Likewise.
20796         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
20797         (ILL_ILLOPN): Likewise.
20798         (ILL_ILLADR): Likewise.
20799         (ILL_ILLTRP): Likewise.
20800         (ILL_PRVOPC): Likewise.
20801         (ILL_PRVREG): Likewise.
20802         (ILL_COPROC): Likewise.
20803         (ILL_BADSTK): Likewise.
20804         (FPE_INTDIV): Likewise.
20805         (FPE_INTOVF): Likewise.
20806         (FPE_FLTDIV): Likewise.
20807         (FPE_FLTOVF): Likewise.
20808         (FPE_FLTUND): Likewise.
20809         (FPE_FLTRES): Likewise.
20810         (FPE_FLTINV): Likewise.
20811         (FPE_FLTSUB): Likewise.
20812         (SEGV_MAPERR): Likewise.
20813         (SEGV_ACCERR): Likewise.
20814         (BUS_ADRALN): Likewise.
20815         (BUS_ADRERR): Likewise.
20816         (BUS_OBJERR): Likewise.
20817         (BUS_MCEERR_AR): Likewise.
20818         (BUS_MCEERR_AO): Likewise.
20819         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
20820         (TRAP_TRACE): Likewise.
20821         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
20822         __USE_XOPEN2K8].
20823         (CLD_KILLED): Likewise.
20824         (CLD_DUMPED): Likewise.
20825         (CLD_TRAPPED): Likewise.
20826         (CLD_STOPPED): Likewise.
20827         (CLD_CONTINUED): Likewise.
20828         (POLL_IN): Likewise.
20829         (POLL_OUT): Likewise.
20830         (POLL_MSG): Likewise.
20831         (POLL_ERR): Likewise.
20832         (POLL_PRI): Likewise.
20833         (POLL_HUP): Likewise.
20834         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
20835         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20837         [BZ #16670]
20838         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
20839         before #include of <time.h>.
20840         [!__USE_XOPEN2K] (__need_timespec): Likewise.
20841         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
20842         (test-xfail-UNIX98/sched.h/conform): Likewise.
20844 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20846         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
20847         error absence of trapping exception support.
20848         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
20850 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
20852         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
20853         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
20854         * timezone/Makefile (testdata): Move definition above include of
20855         Rules.
20856         (test-zones): New variable.
20857         (tests-special): Add zone files.
20858         (build-testdata): Use $(evaluate-test).
20860         * elf/Makefile (tests-special): Rename tests to end with .out.
20861         ($(objpfx)noload-mem): Likewise.
20862         ($(objpfx)tst-leaks1-mem): Likewise.
20863         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
20864         * iconv/Makefile (xtests-special): Change test-iconvconfig to
20865         $(objpfx)test-iconvconfig.out.
20866         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
20867         set -e inside subshell and redirect output to file.
20868         * iconvdata/Makefile (generated): Rename tests to end with .out.
20869         Correct type.
20870         (tests-special): Rename tests to end with .out.
20871         ($(objpfx)mtrace-tst-loading): Likewise.
20872         * intl/Makefile (generated): Likewise.
20873         (tests-special): Likewise.
20874         ($(objpfx)mtrace-tst-gettext): Likewise.
20875         * misc/Makefile (generated): Likewise.
20876         (tests-special): Likewise.
20877         ($(objpfx)tst-error1-mem): Likewise.
20878         * nptl/Makefile (tests-special): Likewise.
20879         ($(objpfx)tst-stack3-mem): Likewise.
20880         (generated): Likewise.
20881         * posix/Makefile (generated): Likewise.
20882         (tests-special): Likewise.
20883         (xtests-special): Likewise.
20884         ($(objpfx)tst-fnmatch-mem): Likewise.
20885         ($(objpfx)bug-regex2-mem): Likewise.
20886         ($(objpfx)bug-regex14-mem): Likewise.
20887         ($(objpfx)bug-regex21-mem): Likewise.
20888         ($(objpfx)bug-regex31-mem): Likewise.
20889         ($(objpfx)tst-vfork3-mem): Likewise.
20890         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20891         ($(objpfx)tst-pcre-mem): Likewise.
20892         ($(objpfx)tst-boost-mem): Likewise.
20893         ($(objpfx)bug-ga2-mem): Likewise.
20894         ($(objpfx)bug-glob2-mem): Likewise.
20895         * resolv/Makefile (generate): Likewise.
20896         (tests-special): Likewise.
20897         (xtests-special): Likewise.
20898         (generated): Likewise.
20899         ($(objpfx)mtrace-tst-leaks): Likewise.
20900         ($(objpfx)mtrace-tst-leaks2): Likewise.
20902         * scripts/merge-test-results.sh: New file.
20903         * Makefile (tests-special-notdir): New variable.
20904         (tests): Run merge-test-results.sh.
20905         (xtests): Likewise.
20906         * Rules (tests-special-notdir): New variable.
20907         (xtests-special-notdir): Likewise.
20908         (tests): Run merge-test-results.sh
20909         (xtests): Likewise.
20911         * Makeconfig (test-xfail-name): New variable.
20912         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
20913         compute variable name for expected failures.
20914         * conform/Makefile (conformtest-headers-data): New variable.
20915         (conformtest-standards): Likewise.
20916         (conformtest-headers-ISO): Likewise.
20917         (conformtest-headers-ISO99): Likewise.
20918         (conformtest-headers-ISO11): Likewise.
20919         (conformtest-headers-POSIX): Likewise.
20920         (conformtest-headers-XPG3): Likewise.
20921         (conformtest-headers-XPG4): Likewise.
20922         (conformtest-headers-UNIX98): Likewise.
20923         (conformtest-headers-XOPEN2K): Likewise.
20924         (conformtest-headers-POSIX2008): Likewise.
20925         (conformtest-headers-XOPEN2K8): Likewise.
20926         (conformtest-header-list-base): Likewise.
20927         (conformtest-header-list-tests): Likewise.
20928         (conformtest-header-base): Likewise.
20929         (conformtest-header-tests): Likewise.
20930         (tests-special): Add $(conformtest-header-list-tests).  If
20931         [$(fast-check) && !$(cross-compiling)], add
20932         $(conformtest-header-tests) instead of
20933         $(objpfx)run-conformtest.out.
20934         (generated): Add $(conformtest-header-list-base).  If
20935         [$(fast-check) && !$(cross-compiling)], add
20936         $(conformtest-header-base).  Remove previous setting.
20937         ($(conformtest-header-list-tests)): New target.
20938         (test-xfail-run-conformtest): Remove variable.
20939         ($(objpfx)run-conformtest.out): Remove target.
20940         (test-xfail-ISO11/complex.h/conform): New variable.
20941         (test-xfail-ISO11/stdalign.h/conform): Likewise.
20942         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
20943         (test-xfail-XPG3/varargs.h/conform): Likewise.
20944         (test-xfail-XPG4/varargs.h/conform): Likewise.
20945         (test-xfail-UNIX98/varargs.h/conform): Likewise.
20946         (test-xfail-XPG4/ndbm.h/conform): Likewise.
20947         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
20948         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
20949         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
20950         (test-xfail-XPG3/fcntl.h/conform): Likewise.
20951         (test-xfail-XPG3/ftw.h/conform): Likewise.
20952         (test-xfail-XPG3/grp.h/conform): Likewise.
20953         (test-xfail-XPG3/langinfo.h/conform): Likewise.
20954         (test-xfail-XPG3/limits.h/conform): Likewise.
20955         (test-xfail-XPG3/pwd.h/conform): Likewise.
20956         (test-xfail-XPG3/search.h/conform): Likewise.
20957         (test-xfail-XPG3/signal.h/conform): Likewise.
20958         (test-xfail-XPG3/stdio.h/conform): Likewise.
20959         (test-xfail-XPG3/stdlib.h/conform): Likewise.
20960         (test-xfail-XPG3/string.h/conform): Likewise.
20961         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
20962         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
20963         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20964         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20965         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
20966         (test-xfail-XPG3/sys/types.h/conform): Likewise.
20967         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
20968         (test-xfail-XPG3/termios.h/conform): Likewise.
20969         (test-xfail-XPG3/time.h/conform): Likewise.
20970         (test-xfail-XPG3/unistd.h/conform): Likewise.
20971         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
20972         (test-xfail-XPG4/fcntl.h/conform): Likewise.
20973         (test-xfail-XPG4/langinfo.h/conform): Likewise.
20974         (test-xfail-XPG4/netdb.h/conform): Likewise.
20975         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
20976         (test-xfail-XPG4/signal.h/conform): Likewise.
20977         (test-xfail-XPG4/stdio.h/conform): Likewise.
20978         (test-xfail-XPG4/stdlib.h/conform): Likewise.
20979         (test-xfail-XPG4/stropts.h/conform): Likewise.
20980         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20981         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20982         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20983         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20984         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20985         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
20986         (test-xfail-XPG4/sys/time.h/conform): Likewise.
20987         (test-xfail-XPG4/sys/types.h/conform): Likewise.
20988         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
20989         (test-xfail-XPG4/termios.h/conform): Likewise.
20990         (test-xfail-XPG4/ucontext.h/conform): Likewise.
20991         (test-xfail-XPG4/unistd.h/conform): Likewise.
20992         (test-xfail-XPG4/utmpx.h/conform): Likewise.
20993         (test-xfail-POSIX/sched.h/conform): Likewise.
20994         (test-xfail-POSIX/signal.h/conform): Likewise.
20995         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
20996         (test-xfail-POSIX/tar.h/conform): Likewise.
20997         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
20998         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
20999         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21000         (test-xfail-UNIX98/netdb.h/conform): Likewise.
21001         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
21002         (test-xfail-UNIX98/sched.h/conform): Likewise.
21003         (test-xfail-UNIX98/signal.h/conform): Likewise.
21004         (test-xfail-UNIX98/stdio.h/conform): Likewise.
21005         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21006         (test-xfail-UNIX98/stropts.h/conform): Likewise.
21007         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
21008         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
21009         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
21010         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
21011         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
21012         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21013         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
21014         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
21015         (test-xfail-UNIX98/unistd.h/conform): Likewise.
21016         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21017         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
21018         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
21019         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21020         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
21021         (test-xfail-XOPEN2K/math.h/conform): Likewise.
21022         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21023         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
21024         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
21025         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
21026         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
21027         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
21028         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
21029         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
21030         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
21031         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
21032         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
21033         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
21034         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
21035         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
21036         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
21037         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21038         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
21039         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
21040         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
21041         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
21042         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
21043         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
21044         (test-xfail-POSIX2008/signal.h/conform): Likewise.
21045         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
21046         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
21047         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
21048         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21049         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
21050         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
21051         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21052         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
21053         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
21054         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
21055         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
21056         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
21057         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
21058         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
21059         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
21060         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
21061         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
21062         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
21063         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
21064         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
21065         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
21066         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21067         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
21068         (conformtest-cc-flags): Likewise.
21069         ($(conformtest-header-tests): New target.
21070         * conform/check-header-lists.sh: New file.
21071         * conform/run-conformtest.sh: Remove.
21073         * conform/conformtest.pl: Allow ' and \ in values given for
21074         constants.
21075         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
21076         inclusion.
21077         [POSIX] (sys/types.h): Likewise.
21078         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
21079         inclusion.
21080         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
21081         inclusion.
21082         * conform/data/signal.h-data (SIGIO): Remove expectation.
21083         [XPG3] (SIGBUS): Do not expect.
21084         [POSIX || XPG3] (SIGPOLL): Likewise.
21085         [POSIX || XPG3] (SIGPROF): Likewise.
21086         [POSIX || XPG3] (SIGSYS): Likewise.
21087         [XPG3] (SIGTRAP): Likewise.
21088         [POSIX || XPG3] (SIGURG): Likewise.
21089         [POSIX || XPG3] (SIGVTALRM): Likewise.
21090         [POSIX || XPG3] (SIGXCPU): Likewise.
21091         [POSIX || XPG3] (SIGXFSZ): Likewise.
21092         [POSIX] (SA_SIGINFO): Expect.
21093         [XPG3] (siginfo_t): Do not expect type or contents.
21094         [POSIX] (si_pid): Do not expect element.
21095         [POSIX] (si_uid): Likewise.
21096         [POSIX] (si_addr): Likewise.
21097         [POSIX] (si_status): Likewise.
21098         [POSIX] (si_band): Likewise.
21099         [XPG4] (si_value): Likewise.
21100         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
21101         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
21102         [POSIX || XPG3] (ILL_ILLADR): Likewise.
21103         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
21104         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
21105         [POSIX || XPG3] (ILL_PRVREG): Likewise.
21106         [POSIX || XPG3] (ILL_COPROC): Likewise.
21107         [POSIX || XPG3] (ILL_BADSTK): Likewise.
21108         [POSIX || XPG3] (FPE_INTDIV): Likewise.
21109         [POSIX || XPG3] (FPE_INTOVF): Likewise.
21110         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
21111         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
21112         [POSIX || XPG3] (FPE_FLTUND): Likewise.
21113         [POSIX || XPG3] (FPE_FLTRES): Likewise.
21114         [POSIX || XPG3] (FPE_FLTINV): Likewise.
21115         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
21116         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
21117         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
21118         [POSIX || XPG3] (BUS_ADRALN): Likewise.
21119         [POSIX || XPG3] (BUS_ADRERR): Likewise.
21120         [POSIX || XPG3] (BUS_OBJERR): Likewise.
21121         [POSIX || XPG3] (CLD_EXITED): Likewise.
21122         [POSIX || XPG3] (CLD_KILLED): Likewise.
21123         [POSIX || XPG3] (CLD_DUMPED): Likewise.
21124         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
21125         [POSIX || XPG3] (CLD_STOPPED): Likewise.
21126         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
21127         [POSIX || XPG3] (POLL_IN): Likewise.
21128         [POSIX || XPG3] (POLL_OUT): Likewise.
21129         [POSIX || XPG3] (POLL_MSG): Likewise.
21130         [POSIX || XPG3] (POLL_ERR): Likewise.
21131         [POSIX || XPG3] (POLL_PRI): Likewise.
21132         [POSIX || XPG3] (POLL_HUP): Likewise.
21133         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
21134         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
21135         (SIG*): Do not allow.
21136         [XPG3] (si_*): Likewise.
21137         [XPG3] (SI_*): Likewise.
21138         [XPG3 || XPG4] (sigev_*): Likewise.
21139         [XPG3 || XPG4] (SIGEV_*): Likewise.
21140         [XPG3 || XPG4] (sival_*): Likewise.
21141         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
21142         [POSIX || XPG3] (BUS_*): Likewise.
21143         [POSIX || XPG3] (CLD_*): Likewise.
21144         [POSIX || XPG3] (FPE_*): Likewise.
21145         [POSIX || XPG3] (ILL_*): Likewise.
21146         [POSIX || XPG3] (POLL_*): Likewise.
21147         [POSIX || XPG3] (SEGV_*): Likewise.
21148         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
21149         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
21150         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
21151         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
21152         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
21153         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
21154         Specify type and value.
21155         (TVERSLEN): Likewise.
21156         (REGTYPE): Likewise.
21157         (AREGTYPE): Likewise.
21158         (LNKTYPE): Likewise.
21159         (SYMTYPE): Likewise.
21160         (CHRTYPE): Likewise.
21161         (BLKTYPE): Likewise.
21162         (DIRTYPE): Likewise.
21163         (FIFOTYPE): Likewise.
21164         (CONTTYPE): Likewise.
21165         (TSUID): Likewise.
21166         (TSGID): Likewise.
21167         (TSVTX): Likewise.
21168         (TUREAD): Likewise.
21169         (TUWRITE): Likewise.
21170         (TUEXEC): Likewise.
21171         (TGREAD): Likewise.
21172         (TGWRITE): Likewise.
21173         (TGEXEC): Likewise.
21174         (TOREAD): Likewise.
21175         (TOWRITE): Likewise.
21176         (TOEXEC): Likewise.
21177         [POSIX] (TSVTX): Expect constant.
21179 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
21181         * Makefile (tests): Change dependencies to ....
21182         (tests-special): ... additions to this variable.
21183         (tests): Depend on $(tests-special).
21184         * Makerules (check-abi-list): New variable.
21185         (check-abi): Depend on $(check-abi-list).
21186         [$(subdir) = elf] (tests-special): Add
21187         $(objpfx)check-abi-libc.out.
21188         [$(build-shared) = yes && subdir] (tests-special): Add
21189         $(check-abi-list).
21190         [$(build-shared) = yes && subdir] (tests): Do not depend on
21191         check-abi.
21192         * Rules (tests): Depend on $(tests-special).
21193         (xtests): Depend on $(xtests-special).
21194         * catgets/Makefile (tests): Change dependencies to ....
21195         (tests-special): ... additions to this variable.
21196         * conform/Makefile (tests): Change dependencies to ....
21197         (tests-special): ... additions to this variable.
21198         * elf/Makefile (tests): Change dependencies to ....
21199         (tests-special): ... additions to this variable.
21200         * grp/Makefile (tests): Change dependencies to ....
21201         (tests-special): ... additions to this variable.
21202         * iconv/Makefile (xtests): Change dependencies to ....
21203         (xtests-special): ... additions to this variable.
21204         * iconvdata/Makefile (tests): Change dependencies to ....
21205         (tests-special): ... additions to this variable.
21206         * intl/Makefile (tests): Change dependencies to ....
21207         (tests-special): ... additions to this variable.  Also add
21208         $(objpfx)tst-gettext.out.
21209         * io/Makefile (tests): Change dependencies to ....
21210         (tests-special): ... additions to this variable.
21211         * libio/Makefile (tests): Change dependencies to ....
21212         (tests-special): ... additions to this variable.
21213         * malloc/Makefile (tests): Change dependencies to ....
21214         (tests-special): ... additions to this variable.
21215         * misc/Makefile (tests): Change dependencies to ....
21216         (tests-special): ... additions to this variable.
21217         * nptl/Makefile (tests): Change dependencies to ....
21218         (tests-special): ... additions to this variable.
21219         * nptl_db/Makefile (tests): Change dependencies to ....
21220         (tests-special): ... additions to this variable.
21221         * posix/Makefile (tests): Change dependencies to ....
21222         (tests-special): ... additions to this variable.
21223         (xtests): Change dependencies to ....
21224         (xtests-special): ... additions to this variable.
21225         * resolv/Makefile (tests): Change dependencies to ....
21226         (tests-special): ... additions to this variable.
21227         (xtests): Change dependencies to ....
21228         (xtests-special): ... additions to this variable.
21229         * stdio-common/Makefile (tests): Change dependencies to ....
21230         (tests-special): ... additions to this variable.
21231         (do-tst-unbputc): Remove target.
21232         (do-tst-printf): Likewise.
21233         * stdlib/Makefile (tests): Change dependencies to ....
21234         (tests-special): ... additions to this variable.
21235         * string/Makefile (tests): Change dependencies to ....
21236         (tests-special): ... additions to this variable.
21237         * sysdeps/x86/Makefile (tests): Change dependencies to ....
21238         (tests-special): ... additions to this variable.
21240         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
21241         whole file.
21242         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
21243         whole file.
21244         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
21245         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
21247         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
21248         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
21249         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
21250         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
21251         * conform/data/libgen.h-data [XPG3]: Likewise.
21252         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
21253         * conform/data/ndbm.h-data [XPG3]: Likewise.
21254         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21255         * conform/data/netdb.h-data [XPG3]: Likewise.
21256         * conform/data/netinet/in.h-data [XPG3]: Likewise.
21257         * conform/data/poll.h-data [XPG3]: Likewise.
21258         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
21259         * conform/data/strings.h-data [XPG3]: Likewise.
21260         * conform/data/stropts.h-data [XPG3]: Likewise.
21261         * conform/data/sys/mman.h-data [XPG3]: Likewise.
21262         * conform/data/sys/resource.h-data [XPG3]: Likewise.
21263         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
21264         Likewise.
21265         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
21266         * conform/data/sys/time.h-data [XPG3]: Likewise.
21267         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
21268         * conform/data/sys/uio.h-data [XPG3]: Likewise.
21269         * conform/data/sys/un.h-data [XPG3]: Likewise.
21270         * conform/data/syslog.h-data [XPG3]: Likewise.
21271         * conform/data/ucontext.h-data [XPG3]: Likewise.
21272         * conform/data/utmpx.h-data [XPG3]: Likewise.
21273         * conform/data/varargs.h-data [UNIX98]: Enable file.
21275         * manual/Makefile (INSTALL_INFO): Remove variable setting.
21277         * math/libm-test.inc (struct test_f_f_data): Move expected results
21278         into structure for each rounding mode.
21279         (struct test_ff_f_data): Likewise.
21280         (struct test_ff_f_data_nexttoward): Likewise.
21281         (struct test_fi_f_data): Likewise.
21282         (struct test_fl_f_data): Likewise.
21283         (struct test_if_f_data): Likewise.
21284         (struct test_fff_f_data): Likewise.
21285         (struct test_c_f_data): Likewise.
21286         (struct test_f_f1_data): Likewise.
21287         (struct test_fF_f1_data): Likewise.
21288         (struct test_ffI_f1_data): Likewise.
21289         (struct test_c_c_data): Likewise.
21290         (struct test_cc_c_data): Likewise.
21291         (struct test_f_i_data): Likewise.
21292         (struct test_ff_i_data): Likewise.
21293         (struct test_f_l_data): Likewise.
21294         (struct test_f_L_data): Likewise.
21295         (struct test_fFF_11_data): Likewise.
21296         (RM_): New macro.
21297         (RM_FE_DOWNWARD): Likewise.
21298         (RM_FE_TONEAREST): Likewise.
21299         (RM_FE_TOWARDZERO): Likewise.
21300         (RM_FE_UPWARD): Likewise.
21301         (RUN_TEST_LOOP_f_f): Update references to expected results.
21302         (RUN_TEST_LOOP_2_f): Likewise.
21303         (RUN_TEST_LOOP_fff_f): Likewise.
21304         (RUN_TEST_LOOP_c_f): Likewise.
21305         (RUN_TEST_LOOP_f_f1): Likewise.
21306         (RUN_TEST_LOOP_fF_f1): Likewise.
21307         (RUN_TEST_LOOP_fI_f1): Likewise.
21308         (RUN_TEST_LOOP_ffI_f1): Likewise.
21309         (RUN_TEST_LOOP_c_c): Likewise.
21310         (RUN_TEST_LOOP_cc_c): Likewise.
21311         (RUN_TEST_LOOP_f_i): Likewise.
21312         (RUN_TEST_LOOP_f_i_tg): Likewise.
21313         (RUN_TEST_LOOP_ff_i_tg): Likewise.
21314         (RUN_TEST_LOOP_f_b): Likewise.
21315         (RUN_TEST_LOOP_f_b_tg): Likewise.
21316         (RUN_TEST_LOOP_f_l): Likewise.
21317         (RUN_TEST_LOOP_f_L): Likewise.
21318         (RUN_TEST_LOOP_fFF_11): Likewise.
21319         * math/gen-libm-test.pl (parse_args): Output four copies of
21320         expected results for each test.
21322         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21323         (__ASSUME_UTIMES): Remove.
21324         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21325         (__ASSUME_UTIMES): Likewise.
21327         * math/gen-auto-libm-tests.c: Update comment on output format.
21328         (output_for_one_input_case): Generate before-rounding and
21329         after-rounding information as conditions on output flags not
21330         floating-point format.
21331         * math/auto-libm-test-out: Regenerated.
21332         * math/gen-libm-test.pl (cond_value): New function.
21333         (or_cond_value): Use cond_value.
21334         (generate_testfile): Handle conditional exceptions.
21336 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
21338         * math/libm-test.inc (max_valid_error): New variable.
21339         (init_max_error): Take new argument specifying whether function
21340         results are exactly determined.  Set max_valid_error and bound
21341         other variables for errors based on this argument.
21342         (set_max_error): Do not record results above max_valid_error.
21343         (check_float_internal): Only accept errors of up to 0.5ulps if
21344         also at most max_valid_error.
21345         (START): Take new argument EXACT and pass it to init_max_error.
21346         (acos_test): Update call to START.
21347         (acos_test_tonearest): Likewise.
21348         (acos_test_towardzero): Likewise.
21349         (acos_test_downward): Likewise.
21350         (acos_test_upward): Likewise.
21351         (acosh_test): Likewise.
21352         (asin_test): Likewise.
21353         (asin_test_tonearest): Likewise.
21354         (asin_test_towardzero): Likewise.
21355         (asin_test_downward): Likewise.
21356         (asin_test_upward): Likewise.
21357         (asinh_test): Likewise.
21358         (atan_test): Likewise.
21359         (atanh_test): Likewise.
21360         (atan2_test): Likewise.
21361         (cabs_test): Likewise.
21362         (cacos_test): Likewise.
21363         (cacosh_test): Likewise.
21364         (carg_test): Likewise.
21365         (casin_test): Likewise.
21366         (casinh_test): Likewise.
21367         (catan_test): Likewise.
21368         (catanh_test): Likewise.
21369         (cbrt_test): Likewise.
21370         (ccos_test): Likewise.
21371         (ccosh_test): Likewise.
21372         (ceil_test): Likewise.
21373         (cexp_test): Likewise.
21374         (cimag_test): Likewise.
21375         (clog_test): Likewise.
21376         (clog10_test): Likewise.
21377         (conj_test): Likewise.
21378         (copysign_test): Likewise.
21379         (cos_test): Likewise.
21380         (cos_test_tonearest): Likewise.
21381         (cos_test_towardzero): Likewise.
21382         (cos_test_downward): Likewise.
21383         (cos_test_upward): Likewise.
21384         (cosh_test): Likewise.
21385         (cosh_test_tonearest): Likewise.
21386         (cosh_test_towardzero): Likewise.
21387         (cosh_test_downward): Likewise.
21388         (cosh_test_upward): Likewise.
21389         (cpow_test): Likewise.
21390         (cproj_test): Likewise.
21391         (creal_test): Likewise.
21392         (csin_test): Likewise.
21393         (csinh_test): Likewise.
21394         (csqrt_test): Likewise.
21395         (ctan_test): Likewise.
21396         (ctan_test_tonearest): Likewise.
21397         (ctan_test_towardzero): Likewise.
21398         (ctan_test_downward): Likewise.
21399         (ctan_test_upward): Likewise.
21400         (ctanh_test): Likewise.
21401         (ctanh_test_tonearest): Likewise.
21402         (ctanh_test_towardzero): Likewise.
21403         (ctanh_test_downward): Likewise.
21404         (ctanh_test_upward): Likewise.
21405         (erf_test): Likewise.
21406         (erfc_test): Likewise.
21407         (exp_test): Likewise.
21408         (exp_test_tonearest): Likewise.
21409         (exp_test_towardzero): Likewise.
21410         (exp_test_downward): Likewise.
21411         (exp_test_upward): Likewise.
21412         (exp10_test): Likewise.
21413         (exp10_test_tonearest): Likewise.
21414         (exp10_test_towardzero): Likewise.
21415         (exp10_test_downward): Likewise.
21416         (exp10_test_upward): Likewise.
21417         (pow10_test): Likewise.
21418         (exp2_test): Likewise.
21419         (expm1_test): Likewise.
21420         (expm1_test_tonearest): Likewise.
21421         (expm1_test_towardzero): Likewise.
21422         (expm1_test_downward): Likewise.
21423         (expm1_test_upward): Likewise.
21424         (fabs_test): Likewise.
21425         (fdim_test): Likewise.
21426         (floor_test): Likewise.
21427         (fma_test): Likewise.
21428         (fma_test_towardzero): Likewise.
21429         (fma_test_downward): Likewise.
21430         (fma_test_upward): Likewise.
21431         (fmax_test): Likewise.
21432         (fmin_test): Likewise.
21433         (fmod_test): Likewise.
21434         (fpclassify_test): Likewise.
21435         (frexp_test): Likewise.
21436         (hypot_test): Likewise.
21437         (ilogb_test): Likewise.
21438         (isfinite_test): Likewise.
21439         (finite_test): Likewise.
21440         (isgreater_test): Likewise.
21441         (isgreaterequal_test): Likewise.
21442         (isinf_test): Likewise.
21443         (isless_test): Likewise.
21444         (islessequal_test): Likewise.
21445         (islessgreater_test): Likewise.
21446         (isnan_test): Likewise.
21447         (isnormal_test): Likewise.
21448         (issignaling_test): Likewise.
21449         (isunordered_test): Likewise.
21450         (j0_test): Likewise.
21451         (j1_test): Likewise.
21452         (jn_test): Likewise.
21453         (ldexp_test): Likewise.
21454         (lgamma_test): Likewise.
21455         (gamma_test): Likewise.
21456         (lrint_test): Likewise.
21457         (lrint_test_tonearest): Likewise.
21458         (lrint_test_towardzero): Likewise.
21459         (lrint_test_downward): Likewise.
21460         (lrint_test_upward): Likewise.
21461         (llrint_test): Likewise.
21462         (llrint_test_tonearest): Likewise.
21463         (llrint_test_towardzero): Likewise.
21464         (llrint_test_downward): Likewise.
21465         (llrint_test_upward): Likewise.
21466         (log_test): Likewise.
21467         (log10_test): Likewise.
21468         (log1p_test): Likewise.
21469         (log2_test): Likewise.
21470         (logb_test): Likewise.
21471         (logb_test_downward): Likewise.
21472         (lround_test): Likewise.
21473         (llround_test): Likewise.
21474         (modf_test): Likewise.
21475         (nearbyint_test): Likewise.
21476         (nextafter_test): Likewise.
21477         (nexttoward_test): Likewise.
21478         (pow_test): Likewise.
21479         (pow_test_tonearest): Likewise.
21480         (pow_test_towardzero): Likewise.
21481         (pow_test_downward): Likewise.
21482         (pow_test_upward): Likewise.
21483         (remainder_test): Likewise.
21484         (drem_test): Likewise.
21485         (remainder_test_tonearest): Likewise.
21486         (drem_test_tonearest): Likewise.
21487         (remainder_test_towardzero): Likewise.
21488         (drem_test_towardzero): Likewise.
21489         (remainder_test_downward): Likewise.
21490         (drem_test_downward): Likewise.
21491         (remainder_test_upward): Likewise.
21492         (drem_test_upward): Likewise.
21493         (remquo_test): Likewise.
21494         (rint_test): Likewise.
21495         (rint_test_tonearest): Likewise.
21496         (rint_test_towardzero): Likewise.
21497         (rint_test_downward): Likewise.
21498         (rint_test_upward): Likewise.
21499         (round_test): Likewise.
21500         (scalb_test): Likewise.
21501         (scalbn_test): Likewise.
21502         (scalbln_test): Likewise.
21503         (signbit_test): Likewise.
21504         (sin_test): Likewise.
21505         (sin_test_tonearest): Likewise.
21506         (sin_test_towardzero): Likewise.
21507         (sin_test_downward): Likewise.
21508         (sin_test_upward): Likewise.
21509         (sincos_test): Likewise.
21510         (sinh_test): Likewise.
21511         (sinh_test_tonearest): Likewise.
21512         (sinh_test_towardzero): Likewise.
21513         (sinh_test_downward): Likewise.
21514         (sinh_test_upward): Likewise.
21515         (sqrt_test): Likewise.
21516         (sqrt_test_tonearest): Likewise.
21517         (sqrt_test_towardzero): Likewise.
21518         (sqrt_test_downward): Likewise.
21519         (sqrt_test_upward): Likewise.
21520         (tan_test): Likewise.
21521         (tan_test_tonearest): Likewise.
21522         (tan_test_towardzero): Likewise.
21523         (tan_test_downward): Likewise.
21524         (tan_test_upward): Likewise.
21525         (tanh_test): Likewise.
21526         (tgamma_test): Likewise.
21527         (trunc_test): Likewise.
21528         (y0_test): Likewise.
21529         (y1_test): Likewise.
21530         (yn_test): Likewise.
21531         (significand_test): Likewise.
21533         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
21534         individual tests in comment.
21535         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
21536         (prev_max_error): New variable.
21537         (prev_real_max_error): Likewise.
21538         (prev_imag_max_error): Likewise.
21539         (compare_ulp_data): Don't refer to test names in comment.
21540         (find_test_ulps): Remove function.
21541         (find_function_ulps): Likewise.
21542         (find_complex_function_ulps): Likewise.
21543         (init_max_error): Take function name as argument.  Look up ulps
21544         for that function.
21545         (print_ulps): Remove function.
21546         (print_max_error): Use prev_max_error instead of calling
21547         find_function_ulps.
21548         (print_complex_max_error): Use prev_real_max_error and
21549         prev_imag_max_error instead of calling find_complex_function_ulps.
21550         (check_float_internal): Take max_ulp parameter instead of calling
21551         find_test_ulps.  Don't call print_ulps.
21552         (check_float): Update call to check_float_internal.
21553         (check_complex): Update calls to check_float_internal.
21554         (START): Pass argument to init_max_error.
21555         * math/gen-libm-test.pl (%results): Don't include "kind"
21556         information.
21557         (parse_ulps): Don't handle ulps of individual tests.
21558         (print_ulps_file): Likewise.
21559         (output_ulps): Likewise.
21560         * math/README.libm-test: Update.
21561         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
21562         individual tests.
21563         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
21564         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
21565         * sysdeps/arm/libm-test-ulps: Likewise.
21566         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21567         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
21568         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
21569         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
21570         * sysdeps/microblaze/libm-test-ulps: Likewise.
21571         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21572         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21573         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21574         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21575         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21576         * sysdeps/sh/libm-test-ulps: Likewise.
21577         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21578         * sysdeps/tile/libm-test-ulps: Likewise.
21579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21581 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
21583         * math/libm-test.inc (print_complex_max_error): Check separately
21584         whether real and imaginary errors are within allowed range and
21585         pass 0 to print_complex_function_ulps instead of value within
21586         allowed range.
21588 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21590         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
21591         formatting.
21592         (get_handles_fopen): Likewise.
21593         (do_write_test): Likewise.
21595         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
21597         * libio/fileops.c (do_ftell): Use cached offset when
21598         available.
21599         * libio/iofwide.c (do_ftell_wide): Likewise.
21600         * libio/iofdopen.c (_IO_new_fdopen): Don't use
21601         _IO_file_attach.
21602         * libio/wfileops.c (_IO_fwide): Don't cache offset.
21604         [BZ #16532]
21605         * libio/libioP.h (get_file_offset): New function.
21606         * libio/fileops.c (get_file_offset): Likewise.
21607         (do_ftell): Likewise.
21608         (_IO_new_file_seekoff): Split out ftell logic.
21609         * libio/wfileops.c (do_ftell_wide): Likewise.
21610         (_IO_wfile_seekoff): Split out ftell logic.
21611         * libio/tst-ftell-active-handler.c: New test case.
21612         * libio/Makefile (tests): Add it.
21614 2014-03-03  Roland McGrath  <roland@hack.frob.com>
21616         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
21617         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
21619 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21621         [BZ #16639]
21622         * nscd/connections.c (nscd_init): Call do_exit.
21623         (start_threads): Call do_exit and notify_parent.
21624         (begin_drop_privileges): Call do_exit.
21625         (finish_drop_privileges): Likewise.
21626         * nscd/selinux.c (preserve_capabilities): Likewise.
21627         (install_real_capabilities): Likewise.
21628         (nscd_selinux_enabled): Likewise.
21629         (avc_create_thread): Likewise.
21630         (avc_alloc_lock): Likewise.
21631         (nscd_avc_init): Likewise.
21632         * nscd/nscd.c (parent_fd): New static variable.
21633         (main): Create a pipe between parent and child processes.
21634         Skip closing parent_fd.
21635         (monitor_child): New function.
21636         (do_exit): Likewise.
21637         (notify_parent): Likewise.
21638         * nscd/nscd.h (notify_parent): Likewise.
21639         (do_exit): Likewise.
21641 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
21643         * malloc/malloc.c (__libc_calloc): Revert last change.
21645 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21647         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21649 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21651         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
21652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
21653         implementation.
21654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21655         (__libc_ifunc_impl_list): Likewise.
21656         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
21657         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
21658         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
21659         * string/strrchr.c: Define STRRCHR.
21661 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
21663         * benchtest/bench-strtok.c (simple_strtok): Delete.
21664         (strtok_string): Use as benchmark.
21665         * string/strtok (STRTOK): New macro.
21667 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
21669         * manual/threads.texi: Add header and standard comments to all
21670         functions.
21672         * elf/dl-lookup.c (check_match): New function.
21673         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
21674         (do_lookup_x): Remove nested function check_match. Use non-nested
21675         function check_match.
21677 2014-02-28  Roland McGrath  <roland@hack.frob.com>
21679         * csu/Makefile (generated, before-compile): Use += rather than =.
21680         * catgets/Makefile (generated, generated-dirs): Likewise.
21681         * debug/Makefile (generated): Likewise.
21682         * dlfcn/Makefile (generated): Likewise.
21683         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
21684         * iconvdata/Makefile (before-compile, generated): Likewise.
21685         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
21686         * libio/Makefile (generated): Likewise.
21687         * malloc/Makefile (generated): Likewise.
21688         * manual/Makefile (generated, generated-dirs): Likewise.
21689         * misc/Makefile (generated): Likewise.
21690         * posix/Makefile (generated): Likewise.
21691         * resolv/Makefile (generated): Likewise.
21692         * sunrpc/Makefile (generated, generated-dirs): Likewise.
21693         * timezone/Makefile (generated, generated-dirs): Likewise.
21695         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
21697 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21699         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21700         power8 implementation.
21701         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
21702         file: POWER8 llround ifunc implementation.
21703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
21704         (__lllround): Add POWER8 implementation.
21705         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
21706         POWER8 llround implementation.
21708         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
21709         power8 implementation.
21710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
21711         file: POWER8 llrint ifunc implementation.
21712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
21713         Add POWER8 implementation.
21714         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
21715         POWER8 llrint implementation.
21717         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
21718         power8 implementation.
21719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
21720         file: POWER8 finite ifunc implementation.
21721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
21722         Add POWER8 implementation.
21723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
21724         Likewise.
21725         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
21726         POWER8 finite implementation.
21727         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
21729         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
21730         power8 implementation.
21731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
21732         file: POWER8 isinf ifunc implementation.
21733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
21734         POWER8 implementation.
21735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
21736         Likewise.
21737         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
21738         isinf implementation.
21739         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
21741         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21742         (INIT_ARCH): Add hwcap2 initialization.
21743         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21744         power8 implementation.
21745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
21746         file: POWER8 isnan ifunc implementation.
21747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
21748         POWER8 implementation.
21749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
21750         Likewise.
21751         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
21752         isnan implementation.
21753         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
21755 2014-02-27  Joey Ye  <joey.ye@arm.com>
21757         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
21758         (_FP_NANFRAC_Q): Set to zero.
21760 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21762         [BZ #16623]
21763         * math/auto-libm-test-in: New test inputs.
21764         * math/auto-libm-test-out: Regenerate.
21765         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
21766         and DA.
21767         (__cos): Likewise.
21768         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
21770 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
21772         * scripts/evaluate-test.sh: Take new argument indicating whether
21773         failure is expected.
21774         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
21775         indicating whether failure is expected.
21776         * conform/Makefile (test-xfail-run-conformtest): New variable.
21777         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
21778         level.
21779         * posix/Makefile (test-xfail-annexc): New variable.
21780         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
21782 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
21784         * argp/Makefile: Include Makeconfig immediately after defining
21785         subdir.
21786         * assert/Makefile: Likewise.
21787         * benchtests/Makefile: Likewise.
21788         * catgets/Makefile: Likewise.
21789         * conform/Makefile: Likewise.
21790         * crypt/Makefile: Likewise.
21791         * csu/Makefile: Likewise.
21792         (all): Remove target.
21793         * ctype/Makefile: Include Makeconfig immediately after defining
21794         subdir.
21795         * debug/Makefile: Likewise.
21796         * dirent/Makefile: Likewise.
21797         * dlfcn/Makefile: Likewise.
21798         * gmon/Makefile: Likewise.
21799         * gnulib/Makefile: Likewise.
21800         * grp/Makefile: Likewise.
21801         * gshadow/Makefile: Likewise.
21802         * hesiod/Makefile: Likewise.
21803         * hurd/Makefile: Likewise.
21804         (all): Remove target.
21805         * iconvdata/Makefile: Include Makeconfig immediately after
21806         defining subdir.
21807         * inet/Makefile: Likewise.
21808         * intl/Makefile: Likewise.
21809         * io/Makefile: Likewise.
21810         * libio/Makefile: Likewise.
21811         (all): Remove target.
21812         * locale/Makefile: Include Makeconfig immediately after defining
21813         subdir.
21814         * login/Makefile: Likewise.
21815         * mach/Makefile: Likewise.
21816         (all): Remove target.
21817         * malloc/Makefile: Include Makeconfig immediately after defining
21818         subdir.
21819         (all): Remove target.
21820         * manual/Makefile: Include Makeconfig immediately after defining
21821         subdir.
21822         * math/Makefile: Likewise.
21823         * misc/Makefile: Likewise.
21824         * nis/Makefile: Likewise.
21825         * nss/Makefile: Likewise.
21826         * po/Makefile: Likewise.
21827         (all): Remove target.
21828         * posix/Makefile: Include Makeconfig immediately after defining
21829         subdir.
21830         * pwd/Makefile: Likewise.
21831         * resolv/Makefile: Likewise.
21832         * resource/Makefile: Likewise.
21833         * rt/Makefile: Likewise.
21834         * setjmp/Makefile: Likewise.
21835         * shadow/Makefile: Likewise.
21836         * signal/Makefile: Likewise.
21837         * socket/Makefile: Likewise.
21838         * soft-fp/Makefile: Likewise.
21839         * stdio-common/Makefile: Likewise.
21840         * stdlib/Makefile: Likewise.
21841         * streams/Makefile: Likewise.
21842         * string/Makefile: Likewise.
21843         * sunrpc/Makefile: Likewise.
21844         (all): Remove target.
21845         * sysvipc/Makefile: Include Makeconfig immediately after defining
21846         subdir.
21847         * termios/Makefile: Likewise.
21848         * time/Makefile: Likewise.
21849         * timezone/Makefile: Likewise.
21850         (all): Remove target.
21851         * wcsmbs/Makefile: Include Makeconfig immediately after defining
21852         subdir.
21853         * wctype/Makefile: Likewise.
21855 2014-02-26  Steve Ellcey  <sellcey@mips.com>
21857         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
21858         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
21859         (libc_feholdexcept_setround_mips): Ditto.
21860         (libc_feholdsetround): New.
21861         (libc_feholdsetroundf): New.
21862         (libc_feholdsetroundl): New.
21863         (libc_feupdateenv_test_mips): New.
21864         (libc_feupdateenv_test): New.
21865         (libc_feupdateenv_testf): New.
21866         (libc_feupdateenv_testl): New.
21867         (libc_feresetround): New.
21868         (libc_feresetroundf): New.
21869         (libc_feresetroundl): New.
21870         (libc_fetestexcept_mips): New.
21871         (libc_fetestexcept): New.
21872         (libc_fetestexceptf): New.
21873         (libc_fetestexceptl): New.
21874         (HAVE_RM_CTX): New.
21875         (libc_feholdexcept_setround_mips_ctx): New.
21876         (libc_feholdexcept_setround_ctx): New.
21877         (libc_feholdexcept_setroundf_ctx): New.
21878         (libc_feholdexcept_setroundl_ctx): New.
21879         (libc_fesetenv_mips_ctx): New.
21880         (libc_fesetenv_ctx): New.
21881         (libc_fesetenv_ctxf): New.
21882         (libc_fesetenv_ctxl): New.
21883         (libc_feupdateenv_mips_ctx): New.
21884         (libc_feupdateenv_ctx): New.
21885         (libc_feupdateenvf_ctx): New.
21886         (libc_feupdateenvl_ctx): New.
21887         (libc_feholdsetround_mips_ctx): New.
21888         (libc_feholdsetround_ctx): New.
21889         (libc_feholdsetroundf_ctx): New.
21890         (libc_feholdsetroundl_ctx): New.
21891         (libc_feresetround_mips_ctx): New.
21892         (libc_feresetround_ctx): New.
21893         (libc_feresetroundf_ctx): New.
21894         (libc_feresetroundl_ctx): New.
21896 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
21898         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
21900         * manual/ipc.texi: New file.
21901         * manual/Makefile (chapters): Add ipc.
21902         * manual/job.texi: Add "Inter-Process Communication" to next.
21903         * manual/process.texi: Add "Inter-Process Communication" to prev.
21905 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21907         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21909 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
21911         * malloc/malloc.c (__libc_calloc): Simplify implementation.
21913         * manual/arith.texi: Fix spaces after sentences.
21914         * manual/charset.texi: Likewise.
21915         * manual/errno.texi: Likewise.
21916         * manual/install.texi: Likewise.
21917         * manual/llio.texi: Likewise.
21918         * manual/locale.texi: Likewise.
21919         * manual/maint.texi: Likewise.
21920         * manual/math.texi: Likewise.
21921         * manual/memory.texi: Likewise.
21922         * manual/message.texi: Likewise.
21923         * manual/probes.texi: Likewise.
21924         * manual/resource.texi: Likewise.
21925         * manual/signal.texi: Likewise.
21926         * manual/socket.texi: Likewise.
21927         * manual/stdio.texi: Likewise.
21928         * manual/string.texi: Likewise.
21929         * manual/time.texi: Likewise.
21930         * manual/users.texi: Likewise.
21932 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
21934         [BZ #16632]
21935         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
21936         _DEFAULT_SOURCE is defined.
21938 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
21939             Carlos O'Donell  <carlos@redhat.com>
21941         [BZ #16613]
21942         * elf/dl-tls.c (_dl_count_modids): New function.
21943         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
21944         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
21945         audit library and increment generation counter.
21946         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
21947         * elf/tst-audit9.c: New file.
21948         * elf/tst-auditmod9a.c: New file.
21949         * elf/tst-auditmod9b.c: New file.
21950         * elf/Makefile: Add rules to build and run tst-audit9.
21952 2014-02-25  Florian Weimer  <fweimer@redhat.com>
21954         [BZ #15347]
21955         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
21957 2014-02-25  Will Newton  <will.newton@linaro.org>
21959         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
21960         (__longjmp): Restore sp and lr before restoring callee
21961         saved registers.  Add longjmp and longjmp_target
21962         SystemTap probe point.
21963         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
21964         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
21965         Define to zero to match jmpbuf layout.
21966         * sysdeps/arm/setjmp.S: Include stap-probe.h.
21967         (__sigsetjmp): Save sp and lr before saving callee
21968         saved registers.  Add setjmp SystemTap probe point.
21970 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21972         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21974 2014-02-24  Andreas Schwab  <schwab@suse.de>
21976         [BZ #15804]
21977         * elf/pldd.c (wait_for_ptrace_stop): New function.
21978         (main): Call it after attaching.
21980 2014-02-22  Roland McGrath  <roland@hack.frob.com>
21982         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
21983         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
21984         Versions files is now verboten.
21985         * hurd/Versions (libc: GLIBC_2.0):
21986         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
21987         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
21988         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
21989         * mach/Versions: Likewise.
21991         * csu/Versions: Remove unused %include.
21992         * resolv/Versions: Likewise.
21994 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
21996         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
21997         ($(objpfx)check-local-headers.out): Likewise.
21998         ($(objpfx)begin-end-check.out): Likewise.
21999         * Makerules (check-abi-%.out): Likewise.
22000         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
22001         ($(objpfx)test2.cat): Likewise.
22002         ($(objpfx)de/libc.cat): Likewise.
22003         ($(objpfx)test-gencat.out): Likewise.
22004         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
22005         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
22006         ($(objpfx)noload-mem): Likewise.
22007         ($(objpfx)tst-pathopt.out): Likewise.
22008         ($(objpfx)tst-rtld-load-self.out): Likewise.
22009         ($(objpfx)tst-array1-cmp.out): Likewise.
22010         ($(objpfx)tst-array1-static-cmp.out): Likewise.
22011         ($(objpfx)tst-array2-cmp.out): Likewise.
22012         ($(objpfx)tst-array3-cmp.out): Likewise.
22013         ($(objpfx)tst-array4-cmp.out): Likewise.
22014         ($(objpfx)tst-array5-cmp.out): Likewise.
22015         ($(objpfx)tst-array5-static-cmp.out): Likewise.
22016         ($(objpfx)check-textrel.out): Likewise.
22017         ($(objpfx)check-execstack.out): Likewise.
22018         ($(objpfx)check-localplt.out): Likewise.
22019         ($(objpfx)order2-cmp.out): Likewise.
22020         ($(objpfx)tst-leaks1-mem): Likewise.
22021         ($(objpfx)tst-leaks1-static-mem): Likewise.
22022         ($(objpfx)tst-initorder-cmp.out): Likewise.
22023         ($(objpfx)tst-initorder2-cmp.out): Likewise.
22024         ($(objpfx)tst-unused-dep.out): Likewise.
22025         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
22026         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
22027         * iconv/Makefile (test-iconvconfig): Likewise.
22028         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
22029         ($(objpfx)iconv-test.out): Likewise.
22030         ($(objpfx)tst-tables.out): Likewise.
22031         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
22032         ($(objpfx)tst-gettext.out): Likewise.
22033         ($(objpfx)tst-translit.out): Likewise.
22034         ($(objpfx)tst-gettext2.out): Likewise.
22035         ($(objpfx)tst-gettext4.out): Likewise.
22036         ($(objpfx)tst-gettext6.out): Likewise.
22037         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
22038         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
22039         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
22040         ($(objpfx)tst-fopenloc-mem.out): Likewise.
22041         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
22042         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
22043         * posix/Makefile ($(objpfx)globtest.out): Likewise.
22044         ($(objpfx)wordexp-tst.out): Likewise.
22045         ($(objpfx)annexc.out): Likewise.
22046         ($(objpfx)tst-fnmatch-mem): Likewise.
22047         ($(objpfx)bug-regex2-mem): Likewise.
22048         ($(objpfx)bug-regex14-mem): Likewise.
22049         ($(objpfx)bug-regex21-mem): Likewise.
22050         ($(objpfx)bug-regex31-mem): Likewise.
22051         ($(objpfx)tst-vfork3-mem): Likewise.
22052         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
22053         ($(objpfx)tst-pcre-mem): Likewise.
22054         ($(objpfx)tst-boost-mem): Likewise.
22055         ($(objpfx)tst-getconf.out): Likewise.
22056         ($(objpfx)bug-ga2-mem): Likewise.
22057         ($(objpfx)bug-glob2-mem): Likewise.
22058         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
22059         ($(objpfx)mtrace-tst-leaks2): Likewise.
22060         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
22061         ($(objpfx)tst-printf.out): Likewise.
22062         ($(objpfx)tst-setvbuf1.out): Likewise.
22063         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
22064         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
22065         ($(objpfx)tst-fmtmsg.out): Likewise.
22066         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
22067         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
22069         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
22070         * bits/sigaction.h [__USE_MISC]: Likewise.
22071         * bits/waitstatus.h: Update #endif comments.
22072         * ctype/ctype.h: Likewise.
22073         * dirent/dirent.h: Likewise.
22074         [__USE_MISC]: Remove redundant conditionals.
22075         * grp/grp.h: Update #endif comments.
22076         [__USE_GNU]: Remove redundant conditionals.
22077         [__USE_MISC]: Likewise.
22078         * inet/netinet/in.h [__USE_GNU]: Likewise.
22079         * io/sys/stat.h [__USE_MISC]: Likewise.
22080         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
22081         * libio/bits/stdio.h: Update #endif comments.
22082         [__USE_MISC]: Remove redundant conditionals.
22083         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
22084         * libio/stdio.h: Update #endif comments.
22085         [__USE_MISC]: Remove redundant conditionals.
22086         * math/bits/math-finite.h [__USE_MISC]: Likewise.
22087         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
22088         * math/math.h: Update #else and #endif comments.
22089         [__USE_MISC]: Remove redundant conditionals.
22090         * misc/sys/uio.h: Update #endif comments.
22091         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
22092         * posix/glob.h [__USE_MISC]: Likewise.
22093         * posix/sys/types.h: Update #endif comments.
22094         [__USE_MISC]: Remove redundant conditionals.
22095         * posix/sys/wait.h: Update #endif comments.
22096         [__USE_MISC]: Remove redundant conditionals.
22097         * posix/unistd.h: Update #endif comments.
22098         [__USE_MISC]: Remove redundant conditionals.
22099         * pwd/pwd.h [__USE_GNU]: Likewise.
22100         [__USE_MISC]: Likewise.
22101         * resolv/netdb.h [__USE_GNU]: Likewise.
22102         * signal/signal.h: Update #endif comments.
22103         [__USE_MISC]: Remove redundant conditionals.
22104         * stdlib/stdlib.h: Update #else and #endif comments.
22105         [__USE_MISC]: Remove redundant conditionals.
22106         [__USE_GNU]: Likewise.
22107         * string/bits/string2.h [__USE_MISC]: Likewise.
22108         * string/string.h: Update #endif comments.
22109         [__USE_MISC]: Remove redundant conditionals.
22110         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
22111         Likewise.
22112         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
22113         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
22114         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
22115         Likewise.
22116         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
22117         Likewise.
22118         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
22119         comments.
22120         [__USE_MISC]: Remove redundant conditionals.
22121         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
22122         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
22123         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
22124         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
22125         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
22126         Likewise.
22127         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
22128         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
22129         Likewise.
22130         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
22131         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
22132         Likewise.
22133         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
22134         Likewise.
22135         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
22136         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
22137         Likewise.
22138         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
22139         Likewise.
22140         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
22141         * sysdeps/x86/bits/string.h: Update #endif comments.
22142         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
22143         conditionals.
22144         * time/sys/time.h: Update #endif comments.
22145         * time/time.h: Likewise.
22146         [__USE_MISC]: Remove redundant conditionals.
22148 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
22150         [BZ #16600]
22151         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
22153 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
22155         * Versions.def (librt): Add GLIBC_2.17.
22157 2014-02-21  Adam Conrad  <adconrad@0c3.net>
22159         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
22160         synonym for _SYS_AUXV_H to allow direct inclusion.
22161         * sysdeps/sparc/bits/hwcap.h: Likewise.
22162         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
22163         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
22164         * sysdeps/sparc/sysdep.h: Likewise.
22166 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22168         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
22170 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22172         * benchtests/bench-strrchr.c: Print length instead of position.
22174 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
22176         [BZ #16611]
22177         * sysdeps/unix/sysv/linux/kernel-features.h
22178         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
22179         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
22180         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
22181         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
22182         Likewise.
22183         [__i386__ || __powerpc__ || __sh__ || __sparc__]
22184         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22185         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
22186         (__ASSUME_SENDMMSG): Define instead of using previous
22187         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
22188         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22189         (__ASSUME_SENDMMSG_SYSCALL): Define.
22190         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22191         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
22192         Likewise.
22193         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22194         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22195         Likewise.
22196         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22197         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22198         Likewise.
22199         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
22200         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22201         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22202         [__ASSUME_SENDMMSG]: Change conditionals to
22203         [__ASSUME_SENDMMSG_SOCKETCALL].
22204         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22205         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
22206         Define.
22207         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22208         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
22209         Likewise.
22210         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
22211         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
22212         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
22213         [!__ASSUME_SENDMMSG]: Change conditional to
22214         [!__ASSUME_SENDMMSG_SOCKETCALL].
22215         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22216         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
22217         Define.
22219         [BZ #16610]
22220         * sysdeps/unix/sysv/linux/kernel-features.h
22221         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
22222         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
22223         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
22224         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
22225         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
22226         [__i386__ || __sparc__]
22227         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22228         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
22229         (__ASSUME_RECVMMSG): Define instead of using previous
22230         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
22231         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22232         (__ASSUME_RECVMMSG_SYSCALL): Define.
22233         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22234         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22235         Likewise.
22236         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22237         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22238         Likewise.
22239         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22240         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22241         Likewise.
22242         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
22243         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22244         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22245         [__ASSUME_RECVMMSG]: Change condition to
22246         [__ASSUME_RECVMMSG_SOCKETCALL].
22247         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22248         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22249         Define.
22250         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
22251         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22252         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
22253         Likewise.
22254         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
22255         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
22256         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
22257         [!__ASSUME_RECVMMSG]: Change condition to
22258         [!__ASSUME_RECVMMSG_SOCKETCALL].
22259         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22260         (__ASSUME_RECVMMSG_SYSCALL): Define.
22262         [BZ #16609]
22263         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
22264         __powerpc__ || __s390__ || __sh__ || __sparc__]
22265         (__ASSUME_SOCKETCALL): Define.
22266         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
22267         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
22268         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
22269         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
22270         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
22271         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
22272         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
22273         (__ASSUME_ACCEPT4): Define instead of using previous
22274         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
22275         __powerpc__ || __sparc__ || __s390__)] condition.
22276         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
22277         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22278         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
22279         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22280         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22281         [!__ASSUME_ACCEPT4]: Change condition to
22282         [!__ASSUME_ACCEPT4_SOCKETCALL].
22283         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
22284         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
22285         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
22286         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22287         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
22288         __ASSUME_ACCEPT4_SYSCALL.
22289         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
22290         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
22291         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
22292         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
22293         __ASSUME_ACCEPT4_SYSCALL.
22294         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
22295         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
22296         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
22297         [__ASSUME_ACCEPT4]: Change condition to
22298         [__ASSUME_ACCEPT4_SOCKETCALL].
22299         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22300         (__ASSUME_SOCKETCALL): Define.
22301         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
22302         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22303         (__ASSUME_SOCKETCALL): Define.
22304         (__ASSUME_ACCEPT4): Remove.
22305         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
22306         Define.
22307         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22308         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
22309         Likewise.
22310         * sysdeps/unix/sysv/linux/tile/kernel-features.h
22311         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
22313         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
22314         macro.
22315         (HWCAP_ARM_LPAE): Likewise.
22316         (HWCAP_ARM_EVTSTRM): Likewise.
22317         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
22318         Add vpfd32, lpae and evtstrm.
22319         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
22320         Increase to 22.
22322 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
22324         * math/auto-libm-test-in: Add tests of clog10.
22325         * math/auto-libm-test-out: Regenerated.
22326         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
22327         * sysdeps/i386/fpu/libm-test-ulps: Update.
22328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22330 2014-02-18  Andreas Schwab  <schwab@suse.de>
22332         [BZ #16574]
22333         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
22334         Store non-zero if the second buffer was newly allocated.
22335         (send_dg): Likewise.
22336         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
22337         to send_vc and send_dg.
22338         (res_nsend): Pass NULL for ansp2_malloced.
22339         * resolv/res_query.c (__libc_res_nquery): Add parameter
22340         answerp2_malloced and pass it down to __libc_res_nsend.
22341         (res_nquery): Pass additional NULL to __libc_res_nquery.
22342         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
22343         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
22344         second answer buffer if answerp2_malloced was set.
22345         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
22346         (__libc_res_nquerydomain): Add parameter
22347         answerp2_malloced and pass it down to __libc_res_nquery.
22348         (res_nquerydomain): Pass additional NULL to
22349         __libc_res_nquerydomain.
22350         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
22351         additional NULL to __libc_res_nsend and __libc_res_nquery.
22352         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
22353         additional NULL to __libc_res_nsearch.
22354         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
22355         parameter of __libc_res_nsearch to check for separately allocated
22356         second buffer.
22357         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
22358         __libc_res_nquery.
22359         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
22360         additional NULL to __libc_res_nquery.
22361         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
22362         __libc_res_nsearch.
22363         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
22364         * include/resolv.h: Update prototypes of __libc_res_nquery,
22365         __libc_res_nsearch, __libc_res_nsend.
22367 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
22369         * math/auto-libm-test-in: Add tests of fma.
22370         * math/auto-libm-test-out: Regenerated.
22371         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
22372         (fma_towardzero_test_data): Likewise.
22373         (fma_downward_test_data): Likewise.
22374         (fma_upward_test_data): Likewise.
22375         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
22376         mpc_mode.
22377         (rounding_modes): Add values for new field.
22378         (func_calc_method): Add value mpfr_fff_f.
22379         (func_calc_desc): Add mpfr_fff_f union field.
22380         (test_function): Add field exact_args.
22381         (FUNC): Add macro argument EXACT_ARGS.
22382         (FUNC_mpfr_f_f): Update call to FUNC.
22383         (FUNC_mpfr_f_f): Likewise.
22384         (FUNC_mpfr_ff_f): Likewise.
22385         (FUNC_mpfr_if_f): Likewise.
22386         (FUNC_mpc_c_f): Likewise.
22387         (FUNC_mpc_c_c): Likewise.
22388         (test_functions): Add fma.  Update calls to FUNC.
22389         (handle_input_arg): Add argument exact_args.
22390         (add_test): Update call to handle_input_arg.
22391         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
22392         (output_for_one_input_case): Update call to calc_generic_results.
22393         Recalculate exact zero results in each rounding mode.
22395         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
22396         non-negative before setting low bit.
22397         * math/auto-libm-test-in: Mark one asin test possibly having
22398         spurious underflow.
22399         * math/auto-libm-test-out: Regenerated.
22400         * sysdeps/i386/fpu/libm-test-ulps: Update.
22401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22403 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
22405         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
22406         * sysdeps/unix/sysv/linux/microblaze: Move directory from
22407         ports/sysdeps/unix/sysv/linux/microblaze.
22408         * README: Add missing listing for microblaze*-*-linux-gnu.
22410 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
22412         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
22413         duplicate code
22415 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
22417         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
22418         * sysdeps/unix/sysv/linux/ia64: Move directory from
22419         ports/sysdeps/unix/sysv/linux/ia64.
22420         * README: Update listing for ia64-*-linux-gnu.
22422 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
22423             Joseph Myers  <joseph@codesourcery.com>
22425         * Makeconfig (test-name): New variable.
22426         (evaluate-test): Likewise.
22427         * Makerules (do-test-clean): Remove .test-result files.
22428         (common-mostlyclean): Likewise.
22429         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
22430         * scripts/evaluate-test.sh: New file.
22432 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
22434         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
22435         separate $(objpfx)tst-fopenloc-cmp.out and
22436         $(objpfx)tst-fopenloc-mem.out targets.
22437         (tests): Update dependencies.
22438         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
22439         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
22440         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
22441         (tst-rxspencer-no-utf8-ARGS): New variable.
22442         (tst-rxspencer-no-utf8-ENV): Likewise.
22443         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
22444         instead of $(objpfx)tst-rxspencer-mem.
22445         ($(objpfx)tst-rxspencer-mem): Change target to
22446         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
22447         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
22448         * posix/tst-rxspencer-no-utf8.c: New file.
22450         * elf/Makefile ($(objpfx)order.out): Remove rule.
22451         [$(run-built-tests) = yes] (tests): Depend on
22452         $(objpfx)order-cmp.out.
22453         ($(objpfx)order-cmp.out): New rule.
22454         [$(run-built-tests) = yes] (tests): Depend on
22455         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
22456         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
22457         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
22458         $(objpfx)tst-array5-static-cmp.out.
22459         ($(objpfx)tst-array1.out): Remove rule.
22460         ($(objpfx)tst-array1-cmp.out): New rule.
22461         ($(objpfx)tst-array1-static.out): Remove rule.
22462         ($(objpfx)tst-array1-static-cmp.out): New rule.
22463         ($(objpfx)tst-array2.out): Remove rule.
22464         ($(objpfx)tst-array2-cmp.out): New rule.
22465         ($(objpfx)tst-array3.out): Remove rule.
22466         ($(objpfx)tst-array3-cmp.out): New rule.
22467         ($(objpfx)tst-array4.out): Remove rule.
22468         ($(objpfx)tst-array4-cmp.out): New rule.
22469         ($(objpfx)tst-array5.out): Remove rule.
22470         ($(objpfx)tst-array5-cmp.out): New rule.
22471         ($(objpfx)tst-array5-static.out): Remove rule.
22472         ($(objpfx)tst-array5-static-cmp.out): New rule.
22473         [$(run-built-tests) = yes] (tests): Depend on
22474         $(objpfx)order2-cmp.out.
22475         ($(objpfx)order2.out): Remove rule.
22476         ($(objpfx)order2-cmp.out): New rule.
22477         ($(objpfx)tst-initorder.out): Remove rule.
22478         [$(run-built-tests) = yes] (tests): Depend on
22479         $(objpfx)tst-initorder-cmp.out.
22480         ($(objpfx)tst-initorder-cmp.out): New rule.
22481         ($(objpfx)tst-initorder2.out): Remove rule.
22482         [$(run-built-tests) = yes] (tests): Depend on
22483         $(objpfx)tst-initorder2-cmp.out.
22484         ($(objpfx)tst-initorder2-cmp.out): New rule.
22485         [$(run-built-tests) = yes] (tests): Depend on
22486         $(objpfx)tst-unused-dep-cmp.out.
22487         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
22488         ($(objpfx)tst-unused-dep-cmp.out): New rule.
22489         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
22490         on $(objpfx)tst-setvbuf1-cmp.out.
22491         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
22492         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
22493         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
22494         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
22495         ($(objpfx)tst-svc.out): Remove rule.
22496         ($(objpfx)tst-svc-cmp.out): New rule.
22498 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
22500         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
22501         * ctype/ctype.h [__USE_MISC]: Likewise.
22502         * dirent/dirent.h [__USE_MISC]: Likewise.
22503         * grp/grp.h [__USE_MISC]: Likewise.
22504         * io/fcntl.h [__USE_MISC]: Likewise.
22505         * io/sys/stat.h [__USE_MISC]: Likewise.
22506         * libio/stdio.h [__USE_MISC]: Likewise.
22507         * posix/unistd.h [__USE_MISC]: Likewise.
22508         * pwd/pwd.h [__USE_MISC]: Likewise.
22509         * stdlib.h [__USE_MISC]: Likewise.
22510         * string/bits/string2.h [__USE_MISC]: Likewise.
22511         * string/string.h [__USE_MISC]: Likewise.
22512         * time/time.h [__USE_MISC]: Likewise.
22514 2014-02-13  Andreas Schwab  <schwab@suse.de>
22516         [BZ #16574]
22517         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
22518         second answer buffer if it was separately allocated.
22520 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
22522         * sysdeps/mips/math-tests.h: Include <features.h>.
22523         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22524         (ROUNDING_TESTS_long_double): Do not define.
22525         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
22526         (EXCEPTION_TESTS_long_double): Likewise.
22527         * sysdeps/mips/mips64/libm-test-ulps: Update.
22529         * include/features.h (__USE_BSD): Remove macro definitions.
22530         (__USE_SVID): Likewise.
22531         (_BSD_SOURCE): Likewise.
22532         (_SVID_SOURCE): Likewise.
22533         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
22534         from definition of _DEFAULT_SOURCE.
22535         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
22536         [_DEFAULT_SOURCE].
22537         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
22538         * bits/mman.h [__USE_BSD]: Likewise.
22539         * bits/termios.h [__USE_BSD]: Likewise.
22540         * bits/waitstatus.h [__USE_BSD]: Likewise.
22541         * ctype/ctype.h [__USE_SVID]: Likewise.
22542         * dirent/dirent.h [__USE_BSD]: Likewise.
22543         * grp/grp.h [__USE_SVID]: Likewise.
22544         [__USE_BSD]: Likewise.
22545         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
22546         * io/fcntl.h [__USE_BSD]: Likewise.
22547         * io/ftw.h [__USE_BSD]: Likewise.
22548         * io/sys/stat.h [__USE_BSD]: Likewise.
22549         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
22550         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
22551         * libio/stdio.h [__USE_SVID]: Likewise.
22552         [__USE_BSD]: Likewise.
22553         * math/math.h [__USE_SVID]: Likewise.
22554         [__USE_BSD]: Likewise.
22555         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
22556         * misc/bits/syslog.h [__USE_BSD]: Likewise.
22557         * misc/search.h [__USE_SVID]: Likewise.
22558         * misc/sys/mman.h [__USE_BSD]: Likewise.
22559         * misc/sys/syslog.h [__USE_BSD]: Likewise.
22560         * misc/sys/uio.h [__USE_BSD]: Likewise.
22561         * posix/bits/unistd.h [__USE_BSD]: Likewise.
22562         * posix/glob.h [__USE_BSD]: Likewise.
22563         * posix/regex.h [__USE_BSD]: Likewise.
22564         * posix/sys/types.h [__USE_BSD]: Likewise.
22565         [__USE_SVID]: Likewise.
22566         * posix/sys/utsname.h [__USE_SVID]: Likewise.
22567         * posix/sys/wait.h [__USE_BSD]: Likewise.
22568         [__USE_SVID]: Likewise.
22569         * posix/unistd.h [__USE_BSD]: Likewise.
22570         [__USE_SVID]: Likewise.
22571         * pwd/pwd.h [__USE_SVID]: Likewise.
22572         * resolv/netdb.h [__USE_BSD]: Likewise.
22573         * setjmp/setjmp.h [__USE_BSD]: Likewise.
22574         * signal/signal.h [__USE_BSD]: Likewise.
22575         [__USE_SVID]: Likewise.
22576         * socket/sys/socket.h [__USE_BSD]: Likewise.
22577         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
22578         * stdlib/stdlib.h [__USE_BSD]: Likewise.
22579         [__USE_SVID]: Likewise.
22580         * string/bits/string2.h [__USE_BSD]: Likewise.
22581         [__USE_SVID]: Likewise.
22582         * string/bits/string3.h [__USE_BSD]: Likewise.
22583         * string/endian.h [__USE_BSD]: Likewise.
22584         * string/string.h [__USE_SVID]: Likewise.
22585         [__USE_BSD]: Likewise.
22586         * string/strings.h [__USE_BSD]: Likewise.
22587         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
22588         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
22589         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
22590         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
22591         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
22592         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
22593         Likewise.
22594         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
22595         Likewise.
22596         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
22597         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
22598         Likewise.
22599         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
22600         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
22601         Likewise.
22602         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
22603         Likewise.
22604         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
22605         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
22606         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
22607         Likewise.
22608         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
22609         Likewise.
22610         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
22611         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
22612         * termios/termios.h [__USE_BSD]: Likewise.
22613         * time/sys/time.h [__USE_BSD]: Likewise.
22614         * time/time.h [__USE_BSD]: Likewise.
22615         [__USE_SVID]: Likewise.
22617         * Makefile (subdir_targets): Remove subdir_lint.out.
22619         * stdio-common/Makefile (do-tst-unbputc): Remove target.
22620         (do-tst-printf): Likewise.
22621         (tests): Depend directly on $(objpfx)tst-unbputc.out and
22622         $(objpfx)tst-printf.out.
22624         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
22626         * Makerules (check-abi-%): Change target to
22627         $(objpfx)check-abi-%.out.
22628         (check-abi target): Update dependencies.
22629         (check-abi-pattern variable): Redirect output of diff to $@.
22630         (check-abi variable): Likewise.
22631         * elf/Makefile (check-abi): Update dependencies.
22633         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
22634         unused.
22635         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
22636         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
22637         subnormal range.
22638         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
22639         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
22640         value has largest subnormal exponent.
22641         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
22642         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
22643         * sysdeps/aarch64/soft-fp/sfp-machine.h
22644         (_FP_TININESS_AFTER_ROUNDING): New macro.
22645         * sysdeps/alpha/soft-fp/sfp-machine.h
22646         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22647         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22648         Likewise.
22649         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
22650         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22651         * sysdeps/mips/soft-fp/sfp-machine.h
22652         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22653         * sysdeps/powerpc/soft-fp/sfp-machine.h
22654         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22655         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22656         Likewise.
22657         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
22658         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22659         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
22660         (_FP_TININESS_AFTER_ROUNDING): Likewise.
22661         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
22662         Likewise.
22664 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
22666         [BZ #16545]
22667         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
22668         model 1.
22670 2014-02-12  Richard Henderson  <rth@redhat.com>
22672         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
22673         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
22674         * sysdeps/unix/sysv/linux/alpha: Move directory from
22675         ports/sysdeps/unix/sysv/linux/alpha.
22676         * README: Update listing for alpha-*-linux-gnu.
22678 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
22680         * include/features.h: Update comment documenting feature test
22681         macros.
22682         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
22683         _DEFAULT_SOURCE.
22684         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
22685         (_SVID_SOURCE): Likewise.
22686         (_DEFAULT_SOURCE): Update description of default features.
22687         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
22688         with _GNU_SOURCE.
22689         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
22690         (S_ISVTX): Likewise.
22691         * manual/math.texi (Mathematical Constants): Likewise.
22692         * manual/signal.texi (Interrupted Primitives): Likewise.
22693         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
22694         * math/test-matherr.c (_SVID_SOURCE): Do not define.
22695         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
22696         Don't refer to _SVID_SOURCE in warning text.
22698         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22700         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
22701         already defined.
22702         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
22703         * sysdeps/mips/dl-lookup.c: Remove.
22704         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
22706 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22708         [BZ #16447]
22709         * math/auto-libm-test-in: Add testcase for expl.
22710         * math/auto-libm-test-out: Regenerate.
22711         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
22712         calculation of unsafe.
22713         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
22715 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22717         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
22718         * sysdeps/unix/sysv/linux/aarch64: Move directory from
22719         ports/sysdeps/unix/sysv/linux/aarch64.
22720         * README: Update listing for aarch64*-*-linux-gnu.
22722 2014-02-11  Will Newton  <will.newton@linaro.org>
22724         * manual/probes.texi (Mathematical Function Probes): Use
22725         "triggered" instead of "hit".
22727         * manual/probes.texi (Internal Probes): Add documentation
22728         of setjmp, longjmp and longjmp_target probes.
22730         * include/stap-probe.h: Add comment about probe argument
22731         format.
22733         * malloc/mtrace.c (attribute_hidden): Remove unused macro
22734         definition.  (tr_where, tr_freehook, tr_mallochook,
22735         tr_reallochook, tr_memalignhook): Use ANSI protoype.
22737 2014-02-11  David S. Miller  <davem@davemloft.net>
22739         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
22740         processing int_tests.
22742 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
22744         * sysdeps/mips: Move directory from ports/sysdeps/mips.
22745         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
22746         * sysdeps/unix/sysv/linux/mips: Move directory from
22747         ports/sysdeps/unix/sysv/linux/mips.
22748         * README: Update listing for mips-*-linux-gnu and
22749         mips64-*-linux-gnu.
22751 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
22753         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
22754         * sysdeps/unix/sysv/linux/m68k: Move directory from
22755         ports/sysdeps/unix/sysv/linux/m68k.
22756         * README: Update listing for m68k-*-linux-gnu.
22758 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
22760         * sysdeps/tile: Move directory from ports/sysdeps/tile.
22761         * sysdeps/unix/sysv/linux/generic: Move directory from
22762         ports/sysdeps/unix/sysv/linux/generic.
22763         * sysdeps/unix/sysv/linux/tile: Move directory from
22764         ports/sysdeps/unix/sysv/linux/tile.
22765         * README: Update listing for tile*-*-linux-gnu.
22767 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
22769         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
22770         __builtin_expect.
22771         * benchtests/bench-memmem.c (simple_memmem): Likewise.
22772         * catgets/open_catalog.c (__open_catalog): Likewise.
22773         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
22774         * debug/confstr_chk.c: Likewise.
22775         * debug/fread_chk.c (__fread_chk): Likewise.
22776         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
22777         * debug/getgroups_chk.c: Likewise.
22778         * debug/mbsnrtowcs_chk.c: Likewise.
22779         * debug/mbsrtowcs_chk.c: Likewise.
22780         * debug/mbstowcs_chk.c: Likewise.
22781         * debug/memcpy_chk.c: Likewise.
22782         * debug/memmove_chk.c: Likewise.
22783         * debug/mempcpy_chk.c: Likewise.
22784         * debug/memset_chk.c: Likewise.
22785         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22786         * debug/strcat_chk.c (__strcat_chk): Likewise.
22787         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
22788         * debug/strncat_chk.c (__strncat_chk): Likewise.
22789         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
22790         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
22791         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
22792         * debug/wcpncpy_chk.c: Likewise.
22793         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22794         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
22795         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
22796         * debug/wcsncpy_chk.c: Likewise.
22797         * debug/wcsnrtombs_chk.c: Likewise.
22798         * debug/wcsrtombs_chk.c: Likewise.
22799         * debug/wcstombs_chk.c: Likewise.
22800         * debug/wmemcpy_chk.c: Likewise.
22801         * debug/wmemmove_chk.c: Likewise.
22802         * debug/wmempcpy_chk.c: Likewise.
22803         * debug/wmemset_chk.c: Likewise.
22804         * dirent/scandirat.c (SCANDIRAT): Likewise.
22805         * dlfcn/dladdr1.c (dladdr1): Likewise.
22806         * dlfcn/dladdr.c (dladdr): Likewise.
22807         * dlfcn/dlclose.c (dlclose_doit): Likewise.
22808         * dlfcn/dlerror.c (__dlerror): Likewise.
22809         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
22810         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
22811         * dlfcn/dlopen.c (dlopen_doit): Likewise.
22812         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
22813         * dlfcn/dlsym.c (dlsym_doit): Likewise.
22814         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
22815         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
22816         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
22817         Likewise.
22818         * elf/dl-conflict.c: Likewise.
22819         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
22820         * elf/dl-dst.h: Likewise.
22821         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
22822         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
22823         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
22824         * elf/dl-init.c (call_init, _dl_init): Likewise.
22825         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
22826         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
22827         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
22828         Likewise.
22829         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
22830         Likewise.
22831         * elf/dl-minimal.c (__libc_memalign): Likewise.
22832         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
22833         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22834         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
22835         * elf/dl-sym.c (do_sym): Likewise.
22836         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
22837         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
22838         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
22839         * elf/dl-writev.h (_dl_writev): Likewise.
22840         * elf/ldconfig.c (search_dir): Likewise.
22841         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
22842         (dl_main): Likewise.
22843         * elf/setup-vdso.h (setup_vdso): Likewise.
22844         * grp/compat-initgroups.c (compat_call): Likewise.
22845         * grp/fgetgrent.c (fgetgrent): Likewise.
22846         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
22847         * grp/putgrent.c (putgrent): Likewise.
22848         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22849         Likewise.
22850         * hurd/hurdinit.c: Likewise.
22851         * iconvdata/8bit-gap.c (struct): Likewise.
22852         * iconvdata/ansi_x3.110.c : Likewise.
22853         * iconvdata/big5.c : Likewise.
22854         * iconvdata/big5hkscs.c : Likewise.
22855         * iconvdata/cp1255.c: Likewise.
22856         * iconvdata/cp1258.c : Likewise.
22857         * iconvdata/cp932.c : Likewise.
22858         * iconvdata/euc-cn.c: Likewise.
22859         * iconvdata/euc-jisx0213.c : Likewise.
22860         * iconvdata/euc-jp.c: Likewise.
22861         * iconvdata/euc-jp-ms.c : Likewise.
22862         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
22863         * iconvdata/gb18030.c : Likewise.
22864         * iconvdata/gbbig5.c (const): Likewise.
22865         * iconvdata/gbgbk.c: Likewise.
22866         * iconvdata/gbk.c : Likewise.
22867         * iconvdata/ibm1364.c : Likewise.
22868         * iconvdata/ibm930.c : Likewise.
22869         * iconvdata/ibm932.c: Likewise.
22870         * iconvdata/ibm933.c : Likewise.
22871         * iconvdata/ibm935.c : Likewise.
22872         * iconvdata/ibm937.c : Likewise.
22873         * iconvdata/ibm939.c : Likewise.
22874         * iconvdata/ibm943.c: Likewise.
22875         * iconvdata/iso_11548-1.c: Likewise.
22876         * iconvdata/iso-2022-cn.c : Likewise.
22877         * iconvdata/iso-2022-cn-ext.c : Likewise.
22878         * iconvdata/iso-2022-jp-3.c: Likewise.
22879         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
22880         * iconvdata/iso-2022-kr.c : Likewise.
22881         * iconvdata/iso646.c (gconv_end): Likewise.
22882         * iconvdata/iso_6937-2.c : Likewise.
22883         * iconvdata/iso_6937.c : Likewise.
22884         * iconvdata/iso8859-1.c: Likewise.
22885         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
22886         * iconvdata/shift_jisx0213.c : Likewise.
22887         * iconvdata/sjis.c : Likewise.
22888         * iconvdata/t.61.c : Likewise.
22889         * iconvdata/tcvn5712-1.c : Likewise.
22890         * iconvdata/tscii.c: Likewise.
22891         * iconvdata/uhc.c : Likewise.
22892         * iconvdata/unicode.c (gconv_end): Likewise.
22893         * iconvdata/utf-16.c (gconv_end): Likewise.
22894         * iconvdata/utf-32.c (gconv_end): Likewise.
22895         * iconvdata/utf-7.c (base64): Likewise.
22896         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
22897         * iconv/gconv_close.c (__gconv_close): Likewise.
22898         * iconv/gconv_open.c (__gconv_open): Likewise.
22899         * iconv/gconv_simple.c (internal_ucs4_loop_single)
22900         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
22901         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
22902         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
22903         (ucs4le_internal_loop_single): Likewise.
22904         * iconv/iconv.c (iconv): Likewise.
22905         * iconv/iconv_close.c: Likewise.
22906         * iconv/loop.c (SINGLE): Likewise.
22907         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
22908         * include/atomic.h: Likewise.
22909         * inet/inet6_option.c (option_alloc): Likewise.
22910         * intl/bindtextdom.c (set_binding_values): Likewise.
22911         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
22912         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
22913         * intl/localealias.c (read_alias_file): Likewise.
22914         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22915         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
22916         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
22917         * libio/fmemopen.c (fmemopen): Likewise.
22918         * libio/iofgets.c (_IO_fgets): Likewise.
22919         * libio/iofgets_u.c (fgets_unlocked): Likewise.
22920         * libio/iofgetws.c (fgetws): Likewise.
22921         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22922         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22923         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
22924         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
22925         * locale/findlocale.c (_nl_find_locale): Likewise.
22926         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
22927         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
22928         Likewise.
22929         * locale/setlocale.c (setlocale): Likewise.
22930         * login/programs/pt_chown.c (main): Likewise.
22931         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
22932         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
22933         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
22934         (mmap, mmap64, mremap, munmap): Likewise.
22935         * math/e_exp2l.c: Likewise.
22936         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
22937         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
22938         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
22939         * math/s_catan.c (__catan): Likewise.
22940         * math/s_catanf.c (__catanf): Likewise.
22941         * math/s_catanh.c (__catanh): Likewise.
22942         * math/s_catanhf.c (__catanhf): Likewise.
22943         * math/s_catanhl.c (__catanhl): Likewise.
22944         * math/s_catanl.c (__catanl): Likewise.
22945         * math/s_ccosh.c (__ccosh): Likewise.
22946         * math/s_ccoshf.c (__ccoshf): Likewise.
22947         * math/s_ccoshl.c (__ccoshl): Likewise.
22948         * math/s_cexp.c (__cexp): Likewise.
22949         * math/s_cexpf.c (__cexpf): Likewise.
22950         * math/s_cexpl.c (__cexpl): Likewise.
22951         * math/s_clog10.c (__clog10): Likewise.
22952         * math/s_clog10f.c (__clog10f): Likewise.
22953         * math/s_clog10l.c (__clog10l): Likewise.
22954         * math/s_clog.c (__clog): Likewise.
22955         * math/s_clogf.c (__clogf): Likewise.
22956         * math/s_clogl.c (__clogl): Likewise.
22957         * math/s_csin.c (__csin): Likewise.
22958         * math/s_csinf.c (__csinf): Likewise.
22959         * math/s_csinh.c (__csinh): Likewise.
22960         * math/s_csinhf.c (__csinhf): Likewise.
22961         * math/s_csinhl.c (__csinhl): Likewise.
22962         * math/s_csinl.c (__csinl): Likewise.
22963         * math/s_csqrt.c (__csqrt): Likewise.
22964         * math/s_csqrtf.c (__csqrtf): Likewise.
22965         * math/s_csqrtl.c (__csqrtl): Likewise.
22966         * math/s_ctan.c (__ctan): Likewise.
22967         * math/s_ctanf.c (__ctanf): Likewise.
22968         * math/s_ctanh.c (__ctanh): Likewise.
22969         * math/s_ctanhf.c (__ctanhf): Likewise.
22970         * math/s_ctanhl.c (__ctanhl): Likewise.
22971         * math/s_ctanl.c (__ctanl): Likewise.
22972         * math/w_pow.c: Likewise.
22973         * math/w_powf.c: Likewise.
22974         * math/w_powl.c: Likewise.
22975         * math/w_scalb.c (sysv_scalb): Likewise.
22976         * math/w_scalbf.c (sysv_scalbf): Likewise.
22977         * math/w_scalbl.c (sysv_scalbl): Likewise.
22978         * misc/error.c (error_tail): Likewise.
22979         * misc/pselect.c (__pselect): Likewise.
22980         * nis/nis_callback.c (__nis_create_callback): Likewise.
22981         * nis/nis_call.c (__nisfind_server): Likewise.
22982         * nis/nis_creategroup.c (nis_creategroup): Likewise.
22983         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
22984         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
22985         * nis/nis_getservlist.c (nis_getservlist): Likewise.
22986         * nis/nis_lookup.c (nis_lookup): Likewise.
22987         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
22988         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
22989         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
22990         * nis/nis_xdr.c (xdr_endpoint): Likewise.
22991         * nis/nss_compat/compat-grp.c (getgrent_next_file)
22992         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
22993         * nis/nss_compat/compat-initgroups.c (add_group)
22994         (internal_getgrent_r): Likewise.
22995         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
22996         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
22997         * nis/nss_compat/compat-spwd.c (getspent_next_file)
22998         (internal_getspnam_r): Likewise.
22999         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
23000         (_nss_nis_getaliasbyname_r): Likewise.
23001         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
23002         (_nss_nis_getntohost_r): Likewise.
23003         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
23004         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
23005         (_nss_nis_getgrgid_r): Likewise.
23006         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
23007         (internal_nis_gethostent_r, internal_gethostbyname2_r)
23008         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
23009         (_nss_nis_gethostbyname4_r): Likewise.
23010         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
23011         (initgroups_netid): Likewise.
23012         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
23013         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
23014         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
23015         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
23016         (_nss_nis_getprotobynumber_r): Likewise.
23017         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
23018         (_nss_nis_getsecretkey): Likewise.
23019         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
23020         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
23021         (_nss_nis_getpwuid_r): Likewise.
23022         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
23023         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
23024         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
23025         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
23026         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
23027         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
23028         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
23029         Likewise.
23030         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
23031         (_nss_nisplus_getntohost_r): Likewise.
23032         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
23033         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
23034         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
23035         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
23036         Likewise.
23037         * nis/nss_nisplus/nisplus-initgroups.c
23038         (_nss_nisplus_initgroups_dyn): Likewise.
23039         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
23040         (_nss_nisplus_getnetbyaddr_r): Likewise.
23041         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
23042         (_nss_nisplus_getprotobynumber_r): Likewise.
23043         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
23044         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
23045         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
23046         Likewise.
23047         * nis/nss_nisplus/nisplus-service.c
23048         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
23049         (_nss_nisplus_getservbyport_r): Likewise.
23050         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
23051         (_nss_nisplus_getspnam_r): Likewise.
23052         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
23053         Likewise.
23054         * nscd/aicache.c (addhstaiX): Likewise.
23055         * nscd/cache.c (cache_search, prune_cache): Likewise.
23056         * nscd/connections.c (register_traced_file, send_ro_fd)
23057         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
23058         (main_loop_epoll): Likewise.
23059         * nscd/grpcache.c (addgrbyX): Likewise.
23060         * nscd/hstcache.c (addhstbyX): Likewise.
23061         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23062         * nscd/mem.c (gc, mempool_alloc): Likewise.
23063         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
23064         (addinnetgrX): Likewise.
23065         * nscd/nscd-client.h (__nscd_acquire_maplock)
23066         (__nscd_drop_map_ref): Likewise.
23067         * nscd/nscd_getai.c (__nscd_getai): Likewise.
23068         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23069         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
23070         Likewise.
23071         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
23072         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
23073         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
23074         (__nscd_get_map_ref): Likewise.
23075         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
23076         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
23077         Likewise.
23078         * nscd/pwdcache.c (addpwbyX): Likewise.
23079         * nscd/selinux.c (preserve_capabilities): Likewise.
23080         * nscd/servicescache.c (addservbyX): Likewise.
23081         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
23082         * posix/fnmatch.c (fnmatch): Likewise.
23083         * posix/getopt.c (_getopt_internal_r): Likewise.
23084         * posix/glob.c (glob, glob_in_dir): Likewise.
23085         * posix/wordexp.c (exec_comm_child): Likewise.
23086         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
23087         (getanswer_r, gaih_getanswer_slice): Likewise.
23088         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
23089         * resolv/res_init.c: Likewise.
23090         * resolv/res_mkquery.c (res_nmkquery): Likewise.
23091         * resolv/res_query.c (__libc_res_nquery): Likewise.
23092         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
23093         Likewise.
23094         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
23095         * stdio-common/perror.c (perror): Likewise.
23096         * stdio-common/printf_fp.c (___printf_fp): Likewise.
23097         * stdio-common/tmpnam.c (tmpnam): Likewise.
23098         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23099         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
23100         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23101         Likewise.
23102         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
23103         * stdlib/putenv.c (putenv): Likewise.
23104         * stdlib/setenv.c (__add_to_environ): Likewise.
23105         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23106         * stdlib/strtol_l.c (INTERNAL): Likewise.
23107         * string/memmem.c (memmem): Likewise.
23108         * string/strerror.c (strerror): Likewise.
23109         * string/strnlen.c (__strnlen): Likewise.
23110         * string/test-memmem.c (simple_memmem): Likewise.
23111         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
23112         * sunrpc/pm_getport.c (__get_socket): Likewise.
23113         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
23114         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
23115         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
23116         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
23117         Likewise.
23118         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23119         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23120         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
23121         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
23122         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
23123         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
23124         Likewise.
23125         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
23126         Likewise.
23127         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
23128         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
23129         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
23130         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23131         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23132         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
23133         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23134         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
23135         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
23136         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
23137         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23138         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
23139         Likewise.
23140         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
23141         Likewise.
23142         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
23143         Likewise.
23144         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
23145         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23146         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
23147         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
23148         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23149         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
23150         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
23151         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
23152         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
23153         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
23154         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
23155         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23156         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23157         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
23158         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23159         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23160         Likewise.
23161         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
23162         Likewise.
23163         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
23164         Likewise.
23165         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
23166         Likewise.
23167         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23168         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23169         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
23170         Likewise.
23171         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
23172         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
23173         * sysdeps/posix/opendir.c (__opendirat): Likewise.
23174         * sysdeps/posix/sleep.c: Likewise.
23175         * sysdeps/posix/tempname.c: Likewise.
23176         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
23177         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23178         Likewise.
23179         * sysdeps/powerpc/powerpc32/dl-machine.h
23180         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
23181         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
23182         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23183         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
23184         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
23185         Likewise.
23186         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
23187         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
23188         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23189         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
23190         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
23191         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
23192         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
23193         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
23194         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23195         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
23196         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
23197         (elf_machine_lazy_rel): Likewise.
23198         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
23199         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
23200         (elf_machine_lazy_rel): Likewise.
23201         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
23202         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
23203         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
23204         * sysdeps/unix/grantpt.c (grantpt): Likewise.
23205         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
23206         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
23207         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
23208         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
23209         Likewise.
23210         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23211         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23212         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
23213         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
23214         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23215         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23216         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
23217         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
23218         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
23219         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
23220         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23221         Likewise.
23222         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
23223         (__posix_fallocate64_l64): Likewise.
23224         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
23225         (posix_fallocate): Likewise.
23226         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
23227         Likewise.
23228         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23229         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
23230         (getifaddrs_internal): Likewise.
23231         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
23232         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
23233         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23234         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23235         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23236         (__posix_fallocate64_l64): Likewise.
23237         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23238         Likewise.
23239         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
23240         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
23241         (__get_clockfreq): Likewise.
23242         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
23243         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23244         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
23245         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23246         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23247         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
23248         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
23249         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
23250         Likewise.
23251         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
23252         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
23253         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
23254         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
23255         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
23256         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
23257         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
23258         Likewise.
23259         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23260         (posix_fallocate): Likewise.
23261         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23262         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23263         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
23264         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
23265         (elf_machine_rela, elf_machine_rela_relative)
23266         (elf_machine_lazy_rel): Likewise.
23267         * time/asctime.c (asctime_internal): Likewise.
23268         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
23269         * time/tzset.c (__tzset_parse_tz): Likewise.
23270         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23271         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23272         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
23273         * wcsmbs/wcsmbsload.h: Likewise.
23275         [BZ #15894]
23276         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
23278         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
23279         (arena_get2): Remove THREAD_STATS conditionals.
23280         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
23281         (__malloc_stats, int): Likewise.
23283 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
23285         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
23286         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
23288         * manual/setjmp.texi: Fix typos/grammar errors.
23290         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
23291         Only return early when n is <= 0.  Delete unused return statement.
23293         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
23294         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
23295         * debug/tst-longjmp_chk3.c: New file.
23297         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
23298         (test_main): Replace code with set_fortify_handler call.
23299         * debug/test-strcpy_chk.c: Likewise.
23300         * debug/tst-chk1.c: Likewise.
23301         * debug/tst-longjmp_chk.c: Likewise.
23302         * test-skeleton.c: Include fcntl.h & paths.h
23303         (set_fortify_handler): Define.
23305         * debug/tst-longjmp_chk.c: Add header comment and include
23306         ../test-skeleton.c.
23307         (do_test): Mark static.
23308         (TEST_FUNCTION): Define.
23310         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
23311         (IP_PMTUDISC_INTERFACE): Likewise.
23312         (IP_MULTICAST_IF): Likewise.
23313         (IP_MULTICAST_TTL): Likewise.
23314         (IP_MULTICAST_LOOP): Likewise.
23315         (IP_ADD_MEMBERSHIP): Likewise.
23316         (IP_DROP_MEMBERSHIP): Likewise.
23317         (IP_UNBLOCK_SOURCE): Likewise.
23318         (IP_BLOCK_SOURCE): Likewise.
23319         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
23320         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
23321         (IP_MSFILTER): Likewise.
23322         (MCAST_JOIN_GROUP): Likewise.
23323         (MCAST_BLOCK_SOURCE): Likewise.
23324         (MCAST_UNBLOCK_SOURCE): Likewise.
23325         (MCAST_LEAVE_GROUP): Likewise.
23326         (MCAST_JOIN_SOURCE_GROUP): Likewise.
23327         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
23328         (MCAST_MSFILTER): Likewise.
23329         (IP_MULTICAST_ALL): Likewise.
23330         (IP_UNICAST_IF): Likewise.
23332         * timezone/Makefile: Delete $(have-ksh) check.
23333         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
23334         * timezone/tzselect.ksh: Add +x mode bits.
23336         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
23337         (ANON_INODE_FS_MAGIC): Likewise.
23338         (BDEVFS_MAGIC): Likewise.
23339         (BINFMTFS_MAGIC): Likewise.
23340         (BTRFS_TEST_MAGIC): Likewise.
23341         (CRAMFS_MAGIC_WEND): Likewise.
23342         (DEBUGFS_MAGIC): Likewise.
23343         (ECRYPTFS_SUPER_MAGIC): Likewise.
23344         (EXT3_SUPER_MAGIC): Likewise.
23345         (EXT4_SUPER_MAGIC): Likewise.
23346         (FUTEXFS_SUPER_MAGIC): Likewise.
23347         (HOSTFS_SUPER_MAGIC): Likewise.
23348         (HUGETLBFS_MAGIC): Likewise.
23349         (MINIX3_SUPER_MAGIC): Likewise.
23350         (MTD_INODE_FS_MAGIC): Likewise.
23351         (NILFS_SUPER_MAGIC): Likewise.
23352         (OPENPROM_SUPER_MAGIC): Likewise.
23353         (PIPEFS_MAGIC): Likewise.
23354         (PSTOREFS_MAGIC): Likewise.
23355         (QNX6_SUPER_MAGIC): Likewise.
23356         (RAMFS_MAGIC): Likewise.
23357         (REISERFS_SUPER_MAGIC_STRING): Likewise.
23358         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
23359         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
23360         (SECURITYFS_MAGIC): Likewise.
23361         (SELINUX_MAGIC): Likewise.
23362         (SMACK_MAGIC): Likewise.
23363         (SOCKFS_MAGIC): Likewise.
23364         (SQUASHFS_MAGIC): Likewise.
23365         (STACK_END_MAGIC): Likewise.
23366         (TMPFS_MAGIC): Likewise.
23367         (USBDEVICE_SUPER_MAGIC): Likewise.
23368         (V9FS_MAGIC): Likewise.
23369         (XENFS_SUPER_MAGIC): Likewise.
23370         (CRAMFS_MAGIC): Fix typo in comment.
23371         (EXT2_SUPER_MAGIC): Update comment.
23372         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
23374 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
23376         * sysdeps/arm: Move directory from ports/sysdeps/arm.
23377         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
23378         * sysdeps/unix/sysv/linux/arm: Move directory from
23379         ports/sysdeps/unix/sysv/linux/arm.
23380         * README: Update listing for arm-*-linux-gnueabi.
23382         * README: Remove mention of am33.
23384 2014-02-07  Roland McGrath  <roland@hack.frob.com>
23386         * bits/sigset.h (__sigemptyset): Use a statement expression rather
23387         than the comma operator, to avoid "rhs of comma has no effect"
23388         compiler warnings.
23389         (__sigfillset, __sigandset, __sigorset): Likewise.
23390         * include/signal.h (__sigemptyset): Likewise.
23391         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
23393 2014-02-07  Allan McRae  <allan@archlinux.org>
23395         * version.h (RELEASE): Set to "development".
23396         (VERSION): Set to "2.19.90"
23397         * NEWS: Add 2.20 section.
23399 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
23401         [BZ #16529]
23402         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
23404 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23406         * manual/contrib.texi: Update entry for Carlos O'Donell,
23407         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
23409 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
23411         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
23413         * sysdeps/unix/sysv/linux/kernel-features.h
23414         [__LINUX_KERNEL_VERSION >= 0x020621]
23415         (__ASSUME_PROC_PID_TASK_COMM): Define.
23417 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
23419         [BZ #16398]
23420         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
23421         conversion when destination buffer does not have enough space.
23422         * libio/tst-ftell-partial-wide.c: New test case.
23423         * libio/Makefile (tests): Add tst-ftell-partial-wide.
23425         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
23426         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
23427         Leonard and Allan McRae.
23429 2014-02-04  David S. Miller  <davem@davemloft.net>
23431         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
23432         32-bit.
23434 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
23437         New file
23438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
23439         New file
23440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
23441         New file.
23442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
23443         New file.
23444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
23445         New file.
23446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
23447         New file.
23448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
23449         New file.
23450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
23451         New file.
23452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
23453         New file.
23454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
23455         New file.
23456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
23457         New file.
23458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
23459         New file.
23460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
23461         New file.
23463 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23465         * nptl/shlib-versions: Change powerpc*le start to 2.17.
23466         * shlib-versions: Likewise.
23468 2014-02-04  Roland McGrath  <roland@hack.frob.com>
23469             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23471         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
23472         (abilist-pattern): New variable, set to %-le.abilist.
23474         * Makerules (abilist-pattern): New variable.
23475         (vpath): Use $(abilist-pattern) in place of %.abilist.
23476         (check-abi-% pattern rule): Likewise.
23477         (check-abi, update-abi): Likewise.
23479 2014-02-04  Eric Wong  <normalperson@yhbt.net>
23481         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23483 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
23485         * manual/startup.texi: Add next, previous, and top entries for
23486         the `Program Arguments' and `Environment Variables' nodes.
23488 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
23490         * manual/macros.texi: Add comments before MTASC-safety macros.
23492         * manual/users.texi: Document MTASC-safety properties.
23494         * manual/threads.texi (pthread_key_create, pthread_key_delete)
23495         (pthread_getspecific, pthread_setspecific): Format with
23496         @deftypefun, and add @safety note.
23497         * manual/signal.texi: Move comments that analyze the above
23498         functions to their home place.
23500 2014-02-03  Allan McRae  <allan@archlinux.org>
23502         * po/sl.po: Update Slovenian translation from translation project.
23504 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
23506         * manual/time.texi (timegm): Add missing blank after @c.
23507         Reported by Joseph Myers <joseph@codesourcery.com>.
23509 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
23511         * manual/check-safety.sh: New.
23512         * manual/Makefile ($(objpfx)stamp-summary): Run it.
23514         * manual/terminal.texi: Document MTASC-safety properties.
23516         * manual/filesys.texi: Document MTASC-safety properties.
23518         * manual/errno.texi: Document MTASC-safety properties.
23520         * manual/intro.texi: Document safety identifiers and
23521         conditionals.
23523         * manual/string.texi (wcstok): Fix prototype.
23524         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
23526         * manual/time.texi: Document MTASC-safety properties.
23528         * manual/string.texi: Document MTASC-safety properties.
23530         * manual/threads.texi: Document MTASC-safety properties.
23532         * manual/stdio.texi: Document MTASC-safety properties.
23534         * manual/syslog.texi: Document MTASC-safety properties.
23536         * manual/sysinfo.texi: Document MTASC-safety properties.
23538         * manual/startup.texi: Document MTASC-safety properties.
23540         * manual/socket.texi: Document MTASC-safety properties.
23542         * manual/signal.texi: Document MTASC-safety properties.
23544 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
23546         * manual/setjmp.texi: Document MTASC-safety properties.
23548         * manual/search.texi: Document MTASC-safety properties.
23550         * manual/resource.texi: Document MTASC-safety properties.
23552         * manual/process.texi: Document MTASC-safety properties.
23554         * manual/platform.texi: Document MTASC-safety properties.
23556         * manual/pipe.texi: Document MTASC-safety properties.
23558         * manual/pattern.texi: Document MTASC-safety properties.
23560         * manual/message.texi: Document MTASC-safety properties.
23562         [BZ #12751]
23563         * manual/memory.texi: Document MTASC-safety properties.
23565         * manual/math.texi: Document MTASC-safety properties.
23567         * manual/locale.texi: Document MTASC-safety properties.
23569         * manual/llio.texi: Document MTASC-safety properties.
23571         * manual/libdl.texi: New.
23573         * manual/lang.texi: Document MTASC-safety properties.
23575         * manual/job.texi: Document MTASC-safety properties.
23577         * manual/getopt.texi: Document MTASC-safety properties.
23579         * manual/ctype.texi: Document MTASC-safety properties.
23581 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
23583         [BZ #16046]
23584         * csu/libc-tls.c (static_map): Remove variable.
23585         (__libc_setup_tls): Use main executable's link map for TLS data.
23586         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
23587         casing for LM_ID_BASE and GL(dl_nns).
23588         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
23589         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
23590         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
23591         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
23592         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
23593         member.
23594         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
23595         l_phnum members.
23597 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
23599         * manual/debug.texi: Document MTASC-safety properties.
23601 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
23603         [BZ #16510]
23604         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
23605         of __x86_64__ when disabling x87 inline functions.
23607 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
23609         * manual/charset.texi: Document MTASC-safety properties.
23611         * manual/crypt.texi: Document MTASC-safety properties.
23613         * manual/conf.texi: Document MTASC-safety properties.
23615         * manual/arith.texi: Document MTASC-safety properties.
23617         * manual/argp.texi: Document MTASC-safety properties.
23619         * manual/macros.texi: Introduce macros to document multi
23620         thread, asynchronous signal and asynchronous cancellation
23621         safety properties.
23622         * manual/intro.texi: Introduce the properties themselves.
23624 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23626         * sysdeps/sh/sh4/Makefile: New file.
23628 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
23630         * math/gen-libm-test.pl ($srcdir): New variable.
23631         ($auto_input): Use it.
23633 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23635         [BZ #16506]
23636         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
23637         access beyond array bounds when parsing netgroups file.
23639         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
23640         the old buffer before realloc.
23642 2014-01-27  Allan McRae  <allan@archlinux.org>
23644         * po/fr.po: Update French translation from translation project.
23646 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23648         * sysdeps/sh/libm-test-ulps: Regenerate.
23650 2014-01-24  David S. Miller  <davem@davemloft.net>
23652         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
23654 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23656         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
23657         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
23659 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23661         [BZ #16474]
23662         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
23663         string pointers after reallocation.
23665 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23667         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
23668         __SH4A__ instead of __SH_FPU_ANY__.
23670 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23672         * sysdeps/sh/fpu_control.h: New file.
23673         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
23674         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
23675         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
23676         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
23677         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
23678         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
23679         * sysdeps/sh/sys/ucontext.h: Remove.
23680         * sysdeps/sh/sys: Remove directory.
23682 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23684         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
23685         s390/sys/ucontext.h.
23686         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
23687         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
23689 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
23691         [BZ #15605]
23692         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
23694 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23696         [BZ#16431]
23697         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
23698         Adjust the vDSO correctly for internal calls.
23699         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
23701 2014-01-20  Allan McRae  <allan@archlinux.org>
23703         * po/ca.po: Update Catalan translation from translation project.
23705 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
23707         * sysdeps/s390/sotruss-lib.c: New file.
23709 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23711         [BZ#16430]
23712         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
23713         (__GI___gettimeofday): Alias for a different internal symbol to avoid
23714         local calls issues by not having a PLT stub required for IFUNC calls.
23715         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
23717 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
23719         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
23720         * math/test-fpucw-static.c: Likewise.
23722 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23724         [BZ #16453]
23725         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
23727 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23729         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
23730         implementation for powerpc.
23732 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
23734         [BZ #14782]
23735         * sysdeps/posix/system.c (__libc_system): Do not enable
23736         asynchronous cancellation.
23738 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23740         [BZ #16427]
23741         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
23742         handling only for numbers special also in the IEEE case.
23744 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23746         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
23748 2014-01-11  Allan McRae  <allan@archlinux.org>
23750         * po/bg.po: Update Bulgarian translation from translation project.
23752         * po/de.po: Update German translation from translation project.
23754 2014-01-10  Roland McGrath  <roland@hack.frob.com>
23756         * sysdeps/generic/gcc-compat.h: New file.
23758 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23760         * benchtests/asin-inputs: Correct slow inputs.
23761         * benchtests/acos-inputs: Likewise.
23763 2014-01-10  Allan McRae  <allan@archlinux.org>
23765         * po:sv.po: Update Swedish translation from translation project.
23767         * po/vi.po: Update Vietnamese translation from translation project.
23769         * po/eo.po: Update Esperanto translation from translation project.
23771         * po/cs.po: Update Czech translation from translation project.
23773         * po/nl.po: Update Dutch translation from translation project.
23775         * po/pl.po: Update Polish translation from translation project.
23777         * po/ru.po: Update Russian translation from translation project.
23779         * po/uk.po: Update Ukrainian translation from translation project.
23781 2014-01-08  Brooks Moses  <bmoses@google.com>
23783         * elf/dl-load.c: Fix comment typo.
23785 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
23787         * po/header.pot: Rename to...
23788         * po/pot.header: ... this.
23789         * po/Makefile: Use pot.header.
23791 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
23792             Maxim Kuvyrkov  <maxim@kugelworks.com>
23794         [BZ #16394]
23795         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
23796         SRC and DEST against LEN.
23798 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23800         [BZ #16414]
23801         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
23802         implementation.
23803         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
23805 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23807         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23809 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
23811         [BZ #16408]
23812         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
23813         for large positive arguments.
23815 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
23817         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23819         * math/auto-libm-test-in: Mark various tests with
23820         xfail-rounding:ldbl-128ibm.
23821         * math/auto-libm-test-out: Regenerated.
23823         [BZ #16407]
23824         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
23825         Increase overflow threshold.
23827 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
23829         [BZ #14286]
23830         * stdio-common/vfprintf.c: Check for integer overflow.
23832 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23834         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
23835         the first argument and return value of __tls_get_addr_internal.
23837 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23839         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
23840         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
23842 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23844         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
23845         * sysdeps/s390/rtld-global-offsets.sym: New file.
23846         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
23847         GLIBC_2.19 symbol.
23848         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
23849         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
23850         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23851         ... this.
23852         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
23853         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23854         ... this.
23855         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23856         Regenerate.
23857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23858         Regenerate.
23859         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
23860         halfs of GPRs for high_gprs contexts.
23861         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
23862         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
23863         field.
23864         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
23865         uc_flags field.
23866         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
23867         64 bit versions:
23868         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
23869         for high GPRs (uc_high_gprs) and for future extensions
23870         (__reserved).
23871         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
23872         for future extensions (__reserved).
23873         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
23874         64 bit versions:
23875         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
23876         SC_HIGHGPRS offset definition.
23877         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
23878         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
23880         * Versions.def: Add GLIBC_2.19 for libpthread.
23881         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
23882         siglongjmp for libpthread with GLIBC_2.19 symver.
23883         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
23884         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
23885         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
23886         * sysdeps/s390/__longjmp.c: New file.
23887         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
23888         * sysdeps/s390/longjmp.c: New file.
23889         * sysdeps/s390/setjmp.S: New file.
23890         * sysdeps/s390/sigjmp.S: New file.
23891         * sysdeps/s390/v1-longjmp.c: New file.
23892         * sysdeps/s390/v1-setjmp.h: New file.
23893         * sysdeps/s390/v1-sigjmp.c: New file.
23894         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
23895         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
23896         GLIBC_2.19 version.
23897         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
23898         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
23899         versioned symbols for ____longjmp_chk.
23900         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23901         Likewise.
23902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
23903         Regenerate.
23904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23905         Regenerate.
23906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
23907         Regenerate.
23908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23909         Regenerate.
23910         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
23911         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
23912         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
23913         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
23914         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
23915         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
23916         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
23917         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
23918         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
23919         * sysdeps/s390/rtld-__longjmp.c: New file.
23920         * sysdeps/s390/rtld-setjmp.S: New file.
23922 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
23924         [BZ #16400]
23925         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23926         Return -__logl (x) for small positive arguments without evaluating
23927         a polynomial.
23929 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
23931         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
23932         Rename to ...
23933         (__ptrace_peeksiginfo_args): ... this.
23934         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23935         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23936         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23938 2014-01-06  Allan McRae  <allan@archlinux.org>
23940         * inet/netinet/in.h: Fix typo in comment.
23942 2014-01-05  Andreas Jaeger  <aj@suse.de>
23944         * sysdeps/i386/fpu/libm-test-ulps: Update.
23946 2014-01-05  Allan McRae  <allan@archlinux.org>
23948         * po/libc.pot: Regenerated.
23950         * malloc/memusagestat.c: Fix gettext call formatting.
23952 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
23954         * nscd/nscd.c: Improve usage() output.
23956 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
23958         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
23959         * sysdeps/unix/sysv/linux/configure: Regenerated.
23960         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
23961         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
23963 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
23965         [BZ #16390]
23966         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23967         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
23969 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23971         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
23972         extra tokens at end of #undef directive.
23973         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
23974         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
23975         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
23977 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
23979         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
23981         * math/auto-libm-test-in: Mark various tests with
23982         xfail-rounding:ldbl-128ibm.
23983         * math/auto-libm-test-out: Regenerated.
23985 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
23987         [BZ #16386]
23988         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
23989         numbers with subnormal high part when calculating exponent.
23991         [BZ #16385]
23992         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
23993         fabs.
23995         [BZ #16384]
23996         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
23997         M_LN2l.
23998         (__ieee754_acoshl): Use __log1pl not __log1p.
24000 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
24002         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
24003         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
24004         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
24005         (grow_heap, heap_trim, _int_new_arena, get_free_list)
24006         (reused_arena, arena_get2): Convert to GNU style.
24007         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
24008         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
24009         (memalign_check, __malloc_set_state): Likewise.
24010         * malloc/mallocbug.c (main): Likewise.
24011         * malloc/malloc.c (__malloc_assert, malloc_init_state)
24012         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
24013         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
24014         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
24015         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
24016         (__posix_memalign, malloc_info): Likewise.
24017         * malloc/malloc.h: Likewise.
24018         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
24019         (mallochook, memalignhook, reallochook, mabort): Likewise.
24020         * malloc/mcheck.h: Likewise.
24021         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
24022         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
24023         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
24024         * malloc/morecore.c (__default_morecore): Likewise.
24025         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
24026         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
24027         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
24028         (print_and_abort): Likewise.
24029         * malloc/obstack.h: Likewise.
24030         * malloc/set-freeres.c (__libc_freeres): Likewise.
24031         * malloc/tst-mallocstate.c (main): Likewise.
24032         * malloc/tst-mtrace.c (main): Likewise.
24033         * malloc/tst-realloc.c (do_test): Likewise.
24035 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24037         [BZ #16366]
24038         * nscd/netgroupcache.c (do_notfound): New function.
24039         (addgetnetgrentX): Use it.
24041         [BZ # 16365]
24042         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
24043         NSS_STATUS_NOTFOUND.
24045 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
24047         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24050 2014-01-01  Allan McRae  <allan@archlinux.org>
24052         * scripts/update-copyrights: Update configure input file suffix.
24054         * NEWS: Update copyright year.
24055         * catgets/gencat.c: Likewise.
24056         * csu/version.c: Likewise.
24057         * debug/catchsegv.sh: Likewise.
24058         * debug/pcprofiledump.c: Likewise.
24059         * debug/xtrace.sh: Likewise.
24060         * elf/ldconfig.c: Likewise.
24061         * elf/ldd.bash.in: Likewise.
24062         * elf/pldd.c: Likewise.
24063         * elf/sotruss.ksh: Likewise.
24064         * elf/sprof.c: Likewise.
24065         * iconv/iconv_prog.c: Likewise.
24066         * iconv/iconvconfig.c: Likewise.
24067         * locale/programs/locale.c: Likewise.
24068         * locale/programs/localedef.c: Likewise.
24069         * login/programs/pt_chown.c: Likewise.
24070         * malloc/memusage.sh: Likewise.
24071         * malloc/memusagestat.c: Likewise.
24072         * malloc/mtrace.pl: Likewise.
24073         * manual/libc.texinfo: Likewise.
24074         * nscd/nscd.c: Likewise.
24075         * nss/getent.c: Likewise.
24076         * nss/makedb.c: Likewise.
24077         * posix/getconf.c: Likewise.
24078         * scripts/test-installation.pl: Likewise.
24080         * All files with FSF copyright notices: Update copyright dates
24081         using scripts/update-copyrights.
24082         * intl/plural.c: Regenerated.
24083         * locale/programs/charmap-kw.h: Likewise.
24084         * locale/programs/locfile-kw.h: Likewise.
24086 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
24088         * sysdeps/unix/sysv/linux/configure: Regenerated.
24089         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
24090         the linux/fanotify.h header.
24091         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
24092         HAVE_LINUX_FANOTIFY_H is defined.
24094 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24096         * benchtests/cos-inputs: New inputs.
24097         * benchtests/sin-inputs: Likewise.
24099         * benchtests/atan-inputs: New inputs. Fix name of multiple
24100         precision fallback inputs.
24102         * benchtests/atanh-inputs: New inputs.
24103         * benchtests/tanh-inputs: Likewise.
24105         * benchtests/acosh-inputs: New inputs.
24106         * benchtests/asinh-inputs: Likewise.
24108         * benchtests/cosh-inputs: New inputs.
24109         * benchtests/sinh-inputs: Likewise.
24111         * benchtests/acos-inputs: Add more inputs.
24112         * benchtests/asin-inputs: Likewise.
24114 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
24116         [BZ #16375]
24117         * manual/arith.texi: Fix spelling.
24118         * manual/charset.texi: Likewise.
24119         * manual/errno.texi: Likewise.
24120         * manual/filesys.texi: Likewise.
24121         * manual/lang.texi: Likewise.
24122         * manual/llio.texi: Likewise.
24123         * manual/locale.texi: Likewise.
24124         * manual/message.texi: Likewise.
24125         * manual/resource.texi: Likewise.
24126         * manual/search.texi: Likewise.
24127         * manual/setjmp.texi: Likewise.
24128         * manual/stdio.texi: Likewise.
24129         * manual/string.texi: Likewise.
24130         * manual/sysinfo.texi: Likewise.
24131         * manual/time.texi: Likewise.
24133 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
24135         * po/sl.po: New file.
24137 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
24139         * .gitignore: Add core/.gdbinit/.gdb_history.
24141 2013-12-27  Allan McRae  <allan@archlinux.org>
24143         [BZ #16369]
24144         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
24145         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
24147 2013-12-24  Brooks Moses  <bmoses@google.com>
24149         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
24150         all compilers that claim C++98 compliance, not just GCC.
24151         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24152         Likewise.
24154 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24156         * NEWS: Restore accidentally deleted bug-fix entries.
24158 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
24159             Ondřej Bílka  <neleai@seznam.cz>
24161         [BZ #15073]
24162         * malloc/malloc.c (_int_free): Perform sanity check only if we
24163         have_lock.
24165 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
24167         [BZ #12986]
24168         * manual/stdio.texi (String Input Conversions): Clarify that character
24169         classes are not supported.
24171 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24175 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
24177         [BZ #16337]
24178         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24179         Calculate results for small negative arguments directly rather
24180         than using reflection formula with special underflow handling.
24182         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
24183         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
24184         sysdeps/unix/bsd/bsd4.4/syscalls.list.
24185         (fchflags): Likewise.
24186         (revoke): Likewise.
24187         (setlogin): Likewise.
24188         (sigaltstack): Likewise.
24189         (wait4): Likewise.
24190         (sigblock): Remove.
24191         (sigsetmask): Likewise.
24192         (wait3): Likewise.
24193         (waitpid): Likewise.
24194         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
24195         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
24196         file.
24197         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
24198         * sysdeps/unix/bsd/Makefile: ... here.
24199         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
24200         * sysdeps/unix/bsd/Versions: ... here.
24201         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
24202         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
24203         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
24204         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
24205         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
24206         * sysdeps/unix/bsd/sigblock.c: ... here.
24207         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
24208         * sysdeps/unix/bsd/sigsetmask.c: ... here.
24209         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
24210         * sysdeps/unix/bsd/sigvec.c: ... here.
24211         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
24212         * sysdeps/unix/bsd/tcdrain.c: ... here.
24213         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
24214         * sysdeps/unix/bsd/tcgetattr.c: ... here.
24215         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
24216         * sysdeps/unix/bsd/tcsetattr.c: ... here.
24217         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
24218         * sysdeps/unix/bsd/wait.c: ... here.
24219         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
24220         * sysdeps/unix/bsd/wait3.c: ... here.
24221         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
24222         * sysdeps/unix/bsd/waitpid.c: ... here.
24224 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
24226         [BZ #16356]
24227         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
24228         round-to-nearest for [!USE_AS_EXPM1L].
24229         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
24230         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
24231         more tests of exp and exp10.  Expect some exp10 tests to miss
24232         exceptions or fail in directed rounding modes.
24233         * math/auto-libm-test-out: Regenerated.
24234         * math/libm-test.inc (exp10_tonearest_test_data): New array.
24235         (exp10_test_tonearest): New function.
24236         (exp10_towardzero_test_data): New array.
24237         (exp10_test_towardzero): New function.
24238         (exp10_downward_test_data): New array.
24239         (exp10_test_downward): New function.
24240         (exp10_upward_test_data): New array.
24241         (exp10_test_upward): New function.
24242         (main): Call the new functions.
24243         * sysdeps/i386/fpu/libm-test-ulps: Update.
24244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24246 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
24248         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24249         asinh, atan, atan2, atanh, cbrt, cos and cosh.
24250         * math/auto-libm-test-out: Regenerated.
24251         * math/libm-test.inc (acosh_test_data): Add more tests.
24252         (atanh_test_data): Likewise.
24253         (ceil_test_data): Likewise.
24254         (copysign_test_data): Likewise.
24255         * sysdeps/i386/fpu/libm-test-ulps: Update.
24256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24258         * timezone/checktab.awk: Update from tzcode 2013i.
24259         * timezone/private.h: Likewise.
24260         * timezone/scheck.c: Likewise.
24261         * timezone/tzfile.h: Likewise.
24262         * timezone/tzselect.ksh: Likewise.
24263         * timezone/zdump.c: Likewise.
24264         * timezone/zic.c: Likewise.
24266         * math/auto-libm-test-in: Add tests of cpow.
24267         * math/auto-libm-test-out: Regenerated.
24268         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
24269         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24270         mpc_cc_c.
24271         (func_calc_desc): Add mpc_cc_c union field.
24272         (test_functions): Add cpow.
24273         (special_fill_2pi): New function.
24274         (special_real_inputs): Add 2pi.
24275         (calc_generic_results): Handle mpc_cc_c.
24276         * sysdeps/i386/fpu/libm-test-ulps: Update.
24277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24279         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
24280         csqrt, ctan and ctanh.
24281         * math/auto-libm-test-out: Regenerated.
24282         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24283         (TEST_COND_x86): Likewise.
24284         (ccos_test_data): Use AUTO_TESTS_c_c.
24285         (ccosh_test_data): Likewise.
24286         (cexp_test_data): Likewise.
24287         (clog_test_data): Likewise.
24288         (csqrt_test_data): Likewise.
24289         (ctan_test_data): Likewise.
24290         (ctan_tonearest_test_data): Likewise.
24291         (ctan_towardzero_test_data): Likewise.
24292         (ctan_downward_test_data): Likewise.
24293         (ctan_upward_test_data): Likewise.
24294         (ctanh_test_data): Likewise.
24295         (ctanh_tonearest_test_data): Likewise.
24296         (ctanh_towardzero_test_data): Likewise.
24297         (ctanh_downward_test_data): Likewise.
24298         (ctanh_upward_test_data): Likewise.
24299         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24300         mpc_c_c.
24301         (func_calc_desc): Add mpc_c_c union field.
24302         (FUNC_mpc_c_c): New macro.
24303         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
24304         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
24305         ctanh.
24306         (special_fill_min_subnorm_p120): New function.
24307         (special_real_inputs): Add min_subnorm_p120.
24308         (calc_generic_results): Handle mpc_c_c.
24309         * sysdeps/i386/fpu/libm-test-ulps: Update.
24310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24312 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24314         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
24315         (do_sin_slow): New functions.
24316         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
24317         (cslow2, csloww1, csloww2): Use the new functions.
24319         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
24320         Use M to change sign of result instead of X.  Assume X is
24321         positive.
24322         (csloww1): Likewise.
24323         (__sin): Adjust.
24324         (__cos): Adjust.
24326         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
24327         arguments A and DA.
24328         (__sin): Adjust.
24329         (__cos): Likewise.
24331         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
24332         (__cos): Likewise.
24333         (sloww1): Don't adjust sign of DX.
24334         (csloww1): Likewise.
24335         (sloww2): Use X directly and don't adjust sign of DX.
24336         (csloww2): Likewise.
24338 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24340         * math/auto-libm-test-in: Add tests of cabs and carg.
24341         * math/auto-libm-test-out: Regenerated.
24342         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
24343         (carg_test_data): Likewise.
24344         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24345         mpc_c_f.
24346         (func_calc_desc): Add mpc_c_f union field.
24347         (test_functions): Add cabs and carg.
24348         (calc_generic_results): Handle mpc_c_f.
24350         * sysdeps/powerpc/powerpc32/libgcc-compat.S
24351         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
24352         as a macro and a compat symbol.
24353         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24354         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24355         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24356         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24357         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
24358         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
24359         not use .hidden.
24360         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
24361         Likewise.
24362         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
24363         Likewise.
24364         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
24365         Likewise.
24366         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
24367         Likewise.
24368         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
24369         Likewise.
24370         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
24371         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
24372         from GLIBC_2.3.2.
24374 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24378 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24380         * manual/texinfo.tex: Update to version 2013-11-26.10 with
24381         trailing whitespace removed.
24382         * scripts/config.guess: Update to version 2013-11-29.
24383         * scripts/config.sub: Update to version 2013-10-01.
24385         * math/auto-libm-test-in: Add tests of sincos.
24386         * math/auto-libm-test-out: Regenerated.
24387         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
24388         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24389         mpfr_f_11.
24390         (func_calc_desc): Add mpfr_f_11 union field.
24391         (test_functions): Add sincos.
24392         (calc_generic_results): Handle mpfr_f_11.
24393         * sysdeps/i386/fpu/libm-test-ulps: Update.
24394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24396 2013-12-19  Andreas Schwab  <schwab@suse.de>
24398         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
24399         CALL_MCOUNT.
24400         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24401         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
24402         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
24404 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
24406         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
24407         * sysdeps/i386/fpu/libm-test-ulps: Update.
24408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24410         [BZ #16293]
24411         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
24412         round-to-nearest mode when using frndint.
24413         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
24414         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
24415         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24416         Likewise.
24417         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
24418         sinh test to fail.
24419         * math/auto-libm-test-out: Regenerated.
24420         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
24421         (TEST_COND_x86): Likewise.
24422         (expm1_tonearest_test_data): New array.
24423         (expm1_test_tonearest): New function.
24424         (expm1_towardzero_test_data): New array.
24425         (expm1_test_towardzero): New function.
24426         (expm1_downward_test_data): New array.
24427         (expm1_test_downward): New function.
24428         (expm1_upward_test_data): New array.
24429         (expm1_test_upward): New function.
24430         (main): Run the new test functions.
24431         * sysdeps/i386/fpu/libm-test-ulps: Update.
24432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24434         * include/features.h: Update comment documenting feature test
24435         macros.  Mention _DEFAULT_SOURCE in comment.
24436         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
24437         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
24438         _BSD_SOURCE and _SVID_SOURCE.
24439         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
24440         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
24441         !_SVID_SOURCE]: Likewise.
24442         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24443         (__USE_POSIX_IMPLICITLY): Define.
24444         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24445         (_POSIX_SOURCE): Undefine and redefine.
24446         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
24447         (_POSIX_C_SOURCE): Likewise.
24448         * manual/creature.texi (_DEFAULT_SOURCE): Document.
24449         (Feature Test Macros): Update documentation of default features.
24451 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24453         * benchtests/Makefile: Add bench-strtok.
24454         * benchtests/bench-strtok.c: New file: strtok benchtest.
24456 2013-12-19  Allan McRae  <allan@archlinux.org>
24458         * manual/install.texi: Suppress menu for plain text output.
24459         * INSTALL: Regenerated.
24461 2013-12-18  Brooks Moses  <bmoses@google.com>
24463         [BZ #15846]
24464         * misc/getauxval.c: Include errno.h.
24465         (__getauxval): Set errno to ENOENT if the requested type is not
24466         found.
24467         * misc/sys/auxv.h (getauxval): Document that it may set errno;
24468         don't declare with __attribute_const__.
24469         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
24470         * manual/startup.texi: Document that getauxval sets errno.
24472 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24474         * math/auto-libm-test-in: Add tests of jn and yn.
24475         * math/auto-libm-test-out: Regenerated.
24476         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
24477         (yn_test_data): Likewise.
24478         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24479         mpfr_if_f.
24480         (func_calc_desc): Add mpfr_if_f union field.
24481         (FUNC_mpfr_if_f): New macro.
24482         (test_functions): Add jn and yn.
24483         (calc_generic_results): Assert type of second input for
24484         mpfr_ff_f.  Handle mpfr_if_f.
24485         (output_for_one_input_case): Disable all checking for arguments
24486         fitting floating-point types in case of an integer argument.
24487         * sysdeps/i386/fpu/libm-test-ulps: Update.
24488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24491         Don't expect fegetround reference in libm.so.
24493 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24495         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
24496         $(config-cflags-nofma).
24498 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
24500         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
24501         * math/auto-libm-test-out: Regenerated.
24503         [BZ #16338]
24504         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
24505         to determine exponent and adjust argument to have exponent of -1.
24506         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24507         log2.
24508         * math/auto-libm-test-out: Regenerated.
24509         * sysdeps/i386/fpu/libm-test-ulps: Update.
24510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24512 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
24514         * manual/probes.texi: Remove cases when per-thread arenas are
24515         disabled.
24517 2013-12-18  Andreas Schwab  <schwab@suse.de>
24519         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
24520         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
24521         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
24522         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
24523         * sysdeps/i386/i686/multiarch/Makefile: Update.
24524         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
24526 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24528         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
24529         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
24531 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
24533         [BZ #15968]
24534         Support TZ transition times < 00:00:00.
24535         This is needed for version-3 tz-format files; it supports time
24536         stamps past 2037 for America/Godthab (the only entry in the tz
24537         database for which this change is relevant).
24538         * manual/time.texi (TZ Variable): Document transition times
24539         from -167:59:59 through -00:00:01.
24540         * time/tzset.c (tz_rule): Time of day is now signed.
24541         (__tzset_parse_tz): Parse negative time of day.
24543         Document TZ transition times >= 25:00:00.
24544         * manual/time.texi (TZ Variable): Document transition times from
24545         25:00:00 through 167:59:59.  These are already supported, and this
24546         support will help with version-3 tz-format files.
24548         * manual/time.texi (TZ Variable): Modernize North America example
24549         to reflect current (i.e., 2007-and-later) daylight saving rules.
24551         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
24553 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24555         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
24556         * sysdeps/unix/bsd/bits/stat.h: Likewise.
24557         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
24558         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
24559         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
24560         * sysdeps/unix/bsd/bsdstat.h: Likewise.
24561         * sysdeps/unix/bsd/clock.c: Likewise.
24562         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
24563         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
24564         * sysdeps/unix/bsd/init-posix.c: Likewise.
24565         * sysdeps/unix/bsd/poll.c: Likewise.
24566         * sysdeps/unix/bsd/ptsname.c: Likewise.
24567         * sysdeps/unix/bsd/seekdir.c: Likewise.
24568         * sysdeps/unix/bsd/setegid.c: Likewise.
24569         * sysdeps/unix/bsd/seteuid.c: Likewise.
24570         * sysdeps/unix/bsd/setgid.c: Likewise.
24571         * sysdeps/unix/bsd/setrgid.c: Likewise.
24572         * sysdeps/unix/bsd/setruid.c: Likewise.
24573         * sysdeps/unix/bsd/setsid.c: Likewise.
24574         * sysdeps/unix/bsd/setuid.c: Likewise.
24575         * sysdeps/unix/bsd/sigaction.c: Likewise.
24576         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
24577         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
24578         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
24579         * sysdeps/unix/bsd/telldir.c: Likewise.
24580         * sysdeps/unix/bsd/times.c: Likewise.
24581         * sysdeps/unix/bsd/usleep.c: Likewise.
24583         * misc/Makefile (install-lib): Remove libbsd-compat.a.
24584         ($(objpfx)libbsd-compat.a): Remove rule.
24586         * include/features.h (__FAVOR_BSD): Do not define.
24587         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
24588         features conflicting with POSIX.
24589         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
24590         (_BSD_SOURCE): Remove description of not being a subset of other
24591         feature test macros.
24592         * manual/job.texi (getpgrp): Do not document BSD version.
24593         (getpgid): Do not document by reference to BSD getpgrp.
24594         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
24595         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
24596         * signal/signal.h [__FAVOR_BSD]: Likewise.
24597         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
24598         instead of making contents conditional on [__FAVOR_BSD].
24599         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
24601 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24605 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
24607         [BZ #16314]
24608         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
24609         values below 2**-450, not 2**-500.
24610         * math/auto-libm-test-in: Don't allow spurious underflow from
24611         hypot.
24612         * math/auto-libm-test-out: Regenerated.
24614         [BZ #16316]
24615         [BZ #16330]
24616         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
24617         values of ha and hb and sort them after adjusting subnormal
24618         arguments.
24619         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24620         Likewise.
24621         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
24622         values of ea and eb and sort them after adjusting subnormal
24623         arguments.
24624         * math/auto-libm-test-in: Do not expect some hypot tests of
24625         subnormals to fail.  Add more hypot tests.
24626         * math/auto-libm-test-out: Regenerated.
24628 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24630         [BZ #13304]
24631         * sysdeps/sh/s_fma.c: New file.
24632         * sysdeps/sh/s_fmaf.c: New file.
24633         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
24634         version.
24635         * sysdeps/sh/Implies: Add sh/soft-fp.
24637 2013-12-16  Roland McGrath  <roland@hack.frob.com>
24639         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
24640         level of indirection to members `objname', `errstring', `malloced'.
24641         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
24642         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
24643         it as the __longjmp argument (just pass 1 instead).
24644         (_dl_catch_error): Initialize C with argument pointers and address of
24645         volatile local ERRCODE rather than copying values out of C at return.
24647 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
24649         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
24650         * math/auto-libm-test-out: Regenerated.
24651         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
24652         (hypot_test_data): Likewise.
24653         (pow_test_data): Likewise.
24654         (pow_tonearest_test_data): Likewise.
24655         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24656         mpfr_ff_f.
24657         (func_calc_desc): Add mpfr_ff_f union field.
24658         (FUNC_mpfr_ff_f): New macro.
24659         (test_functions): Add atan2, hypot and pow.
24660         (special_fill_min): New function.
24661         (special_fill_minus_min): Likewise.
24662         (special_fill_min_subnorm): Likewise.
24663         (special_fill_minus_min_subnorm): Likewise.
24664         (special_real_inputs): Add min, -min, min_subnorm and
24665         -min_subnorm.
24666         (calc_generic_results): Handle mpfr_ff_f.
24667         * sysdeps/i386/fpu/libm-test-ulps: Update.
24668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24670 2013-12-16  Will Newton  <will.newton@linaro.org>
24672         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
24673         (Aligned Memory Blocks): Add documentation for aligned_alloc
24674         and suggest it as an alternative to posix_memalign.
24675         (Hooks for Malloc): Document __memalign_hook is also called
24676         for aligned_alloc.  (Summary of Malloc): Add summary for
24677         aligned alloc.  Document __memalign_hook is also called
24678         for aligned_alloc.
24680 2013-12-16  Will Newton  <will.newton@linaro.org>
24682         * manual/memory.texi (Malloc Examples): Clarify default
24683         alignment documentation.  Suggest posix_memalign rather
24684         than memalign or valloc.
24685         (Aligned Memory Blocks): Remove suggestion to use memalign
24686         or valloc.  Remove obsolete comment about BSD.
24687         Document memalign errno values and mark the function obsolete.
24688         Document posix_memalign returned error codes.  Mark valloc
24689         as obsolete.  (Hooks for Malloc): __memalign_hook is also
24690         called for posix_memalign and valloc.
24691         (Summary of Malloc): Add posix_memalign to function summary.
24692         __memalign_hook is also called for posix_memalign and valloc.
24694 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24696         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
24697         TAYLOR_SIN.
24698         (__sin): Adjust.
24699         (__cos): Likewise.
24700         (sloww): Use mynumber union.  Expand ternary operator into
24701         if-else statements.
24702         (cslow): use mynumber union.
24704 2013-12-16  Allan McRae  <allan@archlinux.org>
24706         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
24707         * configure: Regenerated.
24709         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
24711         [BZ #14120]
24712         * configure.ac: Added --enable-maintainer-mode. Check for
24713         autoconf when enabled.
24714         * configure: Regenerated.
24716         * nscd/nscd.service: New file.
24717         * nscd/nscd.tmpfiles: New file.
24719 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
24721         [BZ #12100]
24722         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
24723         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
24724         * sysdeps/x86_64/multiarch/strstr.c: ... here.
24725         (strstr): Add __strstr_sse2_unaligned ifunc.
24726         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
24727         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
24728         (strcasestr): Remove __strcasestr_sse42 ifunc.
24729         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
24730         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
24731         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24733 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24735         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
24736         * sysdeps/sh/bits/fenv.h: ... here.
24737         * sysdeps/sh/sh4/fpu/bits: Remove directory.
24739 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24741         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
24743         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
24744         hypotf multiarch implementations.
24745         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
24746         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
24747         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
24748         multiarch hypot for PPC64.
24749         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
24750         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
24751         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
24752         multiarch hypotf for PPC64.
24754         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
24755         modff multiarch implementations.
24756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
24757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
24758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
24759         multiarch modf for PPC64.
24760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
24761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
24762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
24763         multiarch modff for PPC64.
24765         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
24766         and logl multiarch implementations.
24767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
24768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
24769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
24770         multiarch logb for PPC64.
24771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
24772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
24773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
24774         multiarch logb for PPC64.
24775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
24776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
24777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
24778         multiarch logb for PPC64.
24780         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
24781         isinff multiarch implementation.
24782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
24783         file.
24784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
24785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
24786         multiarch isinf for PPC64.
24787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
24788         file.
24789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
24790         multiarch isinff for PPC64.
24792         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
24793         finitef multiarch implementation.
24794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
24795         file.
24796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
24797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
24798         multiarch finite for PPC64.
24799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
24800         file.
24801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
24802         multiarch finitef for PPC64.
24804         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
24805         lrint multiarch implementation.
24806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
24807         file.
24808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
24809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
24810         multiarch llrint for PPC64.
24811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
24812         multiarch lrint for PPC64.
24814         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
24815         copysignf multiarch implementation.
24816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
24817         file.
24818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
24819         file.
24820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
24821         multiarch copysign for PPC64.
24822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
24823         multiarch copysignf for PPC64.
24825         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
24826         multiarch implementation.
24827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
24828         file.
24829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
24830         file.
24831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
24832         file.
24833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
24834         file.
24835         multiarch llround for PPC64.
24836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
24837         multiarch trunc for PPC64.
24838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
24839         multiarch truncf for PPC64.
24841         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
24842         multiarch implementation.
24843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
24844         file.
24845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
24846         file.
24847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
24848         file.
24849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
24850         file.
24851         multiarch llround for PPC64.
24852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
24853         multiarch round for PPC64.
24854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
24855         multiarch roundf for PPC64.
24857         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
24858         multiarch implementation.
24859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
24860         file.
24861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
24862         file.
24863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
24864         file.
24865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
24866         file.
24867         multiarch llround for PPC64.
24868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
24869         multiarch floor for PPC64.
24870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
24871         multiarch floorf for PPC64.
24873         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
24874         multiarch implementation.
24875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
24876         file.
24877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
24878         file.
24879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
24880         file.
24881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
24882         file.
24883         multiarch llround for PPC64.
24884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
24885         multiarch ceil for PPC64.
24886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
24887         multiarch ceilf for PPC64.
24889         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24890         multiarch implementation.
24891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
24892         file.
24893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
24894         file.
24895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
24896         file.
24897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
24898         multiarch llround for PPC64.
24899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
24900         multiarch lround for PPC64.
24902         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24903         multiarch implementation.
24904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
24905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
24906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
24907         file.
24908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
24909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
24910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
24911         multiarch isnan for PPC64.
24912         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
24913         multiarch isnanf for PPC64.
24915         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
24916         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
24917         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
24918         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
24919         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
24920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
24922         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
24923         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24924         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24925         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24927         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
24928         multiarch implementations.
24929         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24930         (__libc_ifunc_impl_list): Likewise.
24931         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
24932         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
24933         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
24934         multiarch stpcpy for PPC64.
24936         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
24937         multiarch implementations.
24938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24939         (__libc_ifunc_impl_list): Likewise.
24940         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
24941         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
24942         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
24943         multiarch strcpy for PPC64.
24945         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
24946         redefine function name.
24947         (_wordcopy_fwd_dest_aligned): Likewise.
24948         (_wordcopy_bwd_aligned): Likewise.
24949         (_wordcopy_bwd_dest_aligned): Likewise.
24950         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
24951         multiarch implementations.
24952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24953         (__libc_ifunc_impl_list): Likewise.
24954         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
24955         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
24956         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
24957         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
24958         multiarch wcscpy for PPC64.
24960         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
24961         multiarch implementations.
24962         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24963         (__libc_ifunc_impl_list): Likewise.
24964         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
24965         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
24966         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
24967         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
24968         multiarch wcscpy for PPC64.
24970         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
24971         multiarch implementations.
24972         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24973         (__libc_ifunc_impl_list): Likewise.
24974         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
24975         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
24976         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
24977         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
24978         multiarch wcsrchr for PPC64.
24980         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
24981         multiarch implementations.
24982         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24983         (__libc_ifunc_impl_list): Likewise.
24984         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
24985         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
24986         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
24987         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
24988         multiarch wcschr for PPC64.
24990         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
24991         multiarch implementations.
24992         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24993         (__libc_ifunc_impl_list): Likewise.
24994         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
24995         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
24996         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
24997         multiarch strchrnul for PPC64.
24999         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
25000         implementations.
25001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25002         (__libc_ifunc_impl_list): Likewise.
25003         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
25004         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
25005         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
25006         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
25007         strchr for PPC64.
25009         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
25010         implementations.
25011         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25012         (__libc_ifunc_impl_list): Likewise.
25013         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
25014         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
25015         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
25016         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
25017         strncmp for PPC64.
25019         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
25020         multiarch implementations.
25021         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25022         (__libc_ifunc_impl_list): Likewise.
25023         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
25024         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
25025         strncasecmp for PPC64.
25026         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
25027         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
25028         multiarch strncasecmp_l for PPC64.
25030         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
25031         multiarch implementations.
25032         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25033         (__libc_ifunc_impl_list): Likewise.
25034         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
25035         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
25036         multiarch strcasecmp for PPC64.
25037         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
25038         file.
25039         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
25040         multiarch strcasecmp_l for PPC64.
25042         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
25043         implementations.
25044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25045         (__libc_ifunc_impl_list): Likewise.
25046         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
25047         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
25048         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
25049         strnlen for PPC64.
25051         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
25052         implementations.
25053         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25054         (__libc_ifunc_impl_list): Likewise.
25055         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
25056         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
25057         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
25058         strlen for PPC64.
25060         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
25061         implementations.
25062         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25063         (__libc_ifunc_impl_list): Likewise.
25064         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
25065         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
25066         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
25067         rawmemrchr for PPC64.
25069         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
25070         implementation.
25071         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25072         (__libc_ifunc_impl_list): Likewise.
25073         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
25074         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
25075         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
25076         memrchr for PPC64.
25078         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
25079         implementation.
25080         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25081         (__libc_ifunc_impl_list): Likewise.
25082         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
25083         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
25084         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
25085         memchr for PPC64.
25087         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
25088         implementation.
25089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25090         (__libc_ifunc_impl_list): Likewise.
25091         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
25092         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
25093         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
25094         mempcpy for PPC64.
25096         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
25097         avoid cretion of __bzero symbol.
25098         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
25099         Likewise.
25100         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
25101         Likewise.
25102         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
25103         Likewise.
25104         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
25105         multiarch implementations.
25106         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25107         (__libc_ifunc_impl_list): Likewise.
25108         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
25109         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
25110         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
25111         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
25112         bzero for PPC32.
25113         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
25114         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
25115         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
25116         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
25117         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25118         memset for PPC64.
25119         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
25121         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
25122         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
25123         implementations.
25124         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25125         (__libc_ifunc_impl_list): Likewise.
25126         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
25127         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
25128         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
25129         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
25130         memcmp for PPC64.
25132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
25133         multiarch for POWER/PPC64.
25134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
25135         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
25136         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
25137         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
25138         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
25139         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
25140         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
25141         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
25142         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
25143         memcpy for PPC64.
25145         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
25146         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
25147         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
25148         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
25149         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
25150         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
25151         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
25152         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
25153         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
25154         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
25155         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
25156         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
25157         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
25158         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
25159         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
25160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
25161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
25162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
25163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
25164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
25165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
25166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
25168 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25170         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
25172 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25174         * benchtests/Makefile (bench): Add exp2 and log2.
25175         (LDLIBS-bench-exp2): Add -lm.
25176         (LDLIBS-bench-log2): Likewise.
25177         * benchtests/exp2-inputs: New inputs file.
25178         * benchtests/log2-inputs: New inputs file.
25179         * benchtests/log-inputs: Add new inputs.
25180         * benchtests/tan-inputs: Likewise.
25182 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25184         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
25185         definition...
25186         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
25187         (csloww2): ... from here.
25189         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
25190         instead of structures.
25191         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
25192         (POLYNOMIAL): Likewise.
25193         (TAYLOR_SLOW): Likewise.
25194         (__sin): Likewise.
25195         (__cos): Likewise.
25196         (slow1): Likewise.
25197         (slow2): Likewise.
25198         (sloww): Likewise.
25199         (sloww1); Likewise.
25200         (sloww2): Likewise.
25201         (bsloww1): Likewise.
25202         (bsloww2): Likewise.
25203         (cslow2): Likewise.
25204         (csloww): Likewise.
25205         (csloww1): Likewise.
25206         (csloww2): Likewise.
25208 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
25210         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
25211         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
25212         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
25213         * malloc/hooks.c (realloc_check): Likewise.
25215         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
25216         * malloc/arena.c: Remove PER_THREAD conditional.
25217         [!PER_THREAD]: Remove code.
25218         (ptmalloc_unlock_all2): Likewise.
25219         (ptmalloc_init): Likewise.
25220         (_int_new_arena): Likewise.
25221         (arena_get2): Likewise.
25222         * malloc/hooks.c (__malloc_get_state): Likewise.
25223         (__malloc_set_state): Likewise.
25224         * malloc/malloc.c: Likewise.
25225         (struct malloc_state): Likewise.
25226         (struct malloc_par): Likewise.
25227         (__libc_realloc): Likewise.
25228         (__libc_mallopt): Likewise.
25230 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25232         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
25234 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
25236         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
25237         macro to a function.  Check for zero perturb_byte.
25238         (_int_malloc, _int_free): Remove zero perturb_byte checks.
25240         * malloc/malloc.c: (force_reg): Remove.
25241         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
25242         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
25243         force_reg by atomic_forced_read.
25244         * malloc/arena.c (ptmalloc_init): Likewise.
25245         * malloc/hooks.c (top_check): Likewise.
25247 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25251 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
25253         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25255 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
25257         * math/auto-libm-test-in: Add tests of lgamma.
25258         * math/auto-libm-test-out: Regenerated.
25259         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
25260         (M_LOG_2_SQRT_PIl): Likewise.
25261         (lgamma_test_data): Use AUTO_TESTS_f_f1.
25262         * math/gen-auto-libm-tests.c (func_calc_method): Add value
25263         mpfr_f_f1.
25264         (func_calc_desc): Add mpfr_f_f1 union field.
25265         (ARGS1): New macro.
25266         (ARGS2): Likewise.
25267         (ARGS3): Likewise.
25268         (ARGS4): Likewise.
25269         (RET1): Likewise.
25270         (RET2): Likewise.
25271         (CALC): Likewise.
25272         (FUNC): Likewise.
25273         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
25274         (test_functions): Add lgamma.
25275         (calc_generic_results): Handle mpfr_f_f1.
25276         * sysdeps/i386/fpu/libm-test-ulps: Update.
25277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25279 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25281         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
25282         __mpn_add_n for PowerPC64/POWER7.
25283         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
25284         __mpn_sub_n for PowerPC64/POWER7.
25286         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
25287         __mpn_addmul_1 for PowerPC64.
25288         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
25289         __mpn_submul_1 for PowerPC64.
25290         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
25291         for PowerPC64.
25292         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
25293         for PowerPC64.
25295 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
25297         [BZ #15089]
25298         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
25300 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25302         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
25304         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
25305         add multiarch folders.
25306         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
25307         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
25308         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
25309         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
25310         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
25311         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
25312         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
25313         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
25314         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
25315         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
25316         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
25317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
25318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
25319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
25320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
25321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
25322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
25324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25325         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
25326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
25327         New file.
25328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
25329         New file.
25330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
25331         multiarch __ieee754_hypot for PowerPC32.
25332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
25333         New file.
25334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
25335         New file.
25336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
25337         multiarch __ieee754_hypotf for PowerPC32.
25339         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
25340         long_double_symbol only if __logbl is defined.
25341         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
25342         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
25343         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
25344         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
25345         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
25346         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
25347         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
25348         path for implementation.
25349         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
25350         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
25351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
25352         logb, and logbl multiarch implementations for PowerPC32.
25353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
25354         file.
25355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
25356         file.
25357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
25358         multiarch logb for PowerPC32.
25359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
25360         file.
25361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
25362         file.
25363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
25364         multiarch logbf for PowerPC32.
25365         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
25366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
25367         file.
25368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
25369         multiarch logbl implementation for PowerPC32.
25371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
25372         and modff multiarch implementations.
25373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
25374         New file.
25375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
25376         New file.
25377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
25378         multiarch modf for PowerPC32.
25379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
25380         New file.
25381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
25382         New file.
25383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
25384         multiarch modff for PowerPC32.
25386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
25387         and lrintf multiarch implementations.
25388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
25389         New file.
25390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
25391         New file.
25392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
25393         multiarch lrint for PowerPC32.
25394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
25395         file: multiarch lrintf for PowerPC32.
25397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
25398         and lroundf multiarch implementations.
25399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
25400         New file.
25401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
25402         New file.
25403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
25404         New file.
25405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
25406         multiarch lround for PowerPC32.
25407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
25408         file: multiarch lroundf for PowerPC32.
25410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
25411         copysign and copysignf multiarch implementations.
25412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
25413         New file.
25414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
25415         New file.
25416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
25417         file: multiarch copysign for PowerPC32.
25418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
25419         file: multiarch copysignf for PowerPC32.
25421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
25422         and truncf multiarch implementations.
25423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
25424         New file.
25425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
25426         file.
25427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
25428         multiarch trunc for PowerPC32.
25429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
25430         New file.
25431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
25432         New file.
25433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
25434         multiarch truncf for PowerPC32.
25436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
25437         and roundf multiarch implementations.
25438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
25439         New file.
25440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
25441         file.
25442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
25443         multiarch round for PowerPC32.
25444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
25445         New file.
25446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
25447         New file.
25448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
25449         multiarch roundf for PowerPC32.
25451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
25452         and floorf multiarch implementations.
25453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
25454         New file.
25455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
25456         file.
25457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
25458         multiarch floor for PowerPC32.
25459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
25460         New file.
25461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
25462         New file.
25463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
25464         multiarch floorf for PowerPC32.
25466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
25467         and ceilf multiarch implementations.
25468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
25469         New file.
25470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
25471         file.
25472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
25473         multiarch ceil for PowerPC32.
25474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
25475         New file.
25476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
25477         file.
25478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
25479         multiarch ceilf for PowerPC32.
25481         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
25482         is defined.
25483         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
25484         FINITEF is defined.
25485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
25486         and finitef multiarch implementations.
25487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
25488         New file.
25489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
25490         file.
25491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
25492         multiarch finite for PowerPC32.
25493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
25494         New file.
25495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
25496         file: multiarch finitef for PowerPC32.
25498         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
25499         and isinff multiarch implementations.
25500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
25501         file.
25502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
25503         file.
25504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
25505         multiarch isinf for PowerPC32.
25506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
25507         New file.
25508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
25509         multiarch isinff for PowerPC32.
25511         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
25512         alias when __isnan is defined.
25513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
25514         and isnanf multiarch implementations.
25515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
25516         file.
25517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
25518         file.
25519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
25520         file.
25521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
25522         file.
25523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
25524         multiarch isnan for PowerPC32.
25525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
25526         New file.
25527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
25528         New file.
25529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
25530         multiarch isnanf for PowerPC32.
25532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
25533         and sqrtf multiarch implementations.
25534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
25535         file.
25536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
25537         file.
25538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
25539         multiarch sqrt for PowerPC32.
25540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
25541         file.
25542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
25543         file.
25544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
25545         multiarch sqrtf for PowerPC32.
25547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
25548         and llroundf multiarch implementations.
25549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
25550         New file.
25551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
25552         New file.
25553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
25554         New file.
25555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
25556         file: multiarch llround for PowerPC32.
25557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
25558         file: multiarch llroundf for PowerPC32.
25560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
25561         multiarch PowerPC32 fpu implementations.
25562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
25563         New file.
25564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
25565         New file.
25566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
25567         multiarch llrint for PowerPC32.
25568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
25569         New file.
25570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
25571         New file.
25572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
25573         file.
25575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
25577         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
25578         file.
25579         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
25580         file.
25581         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
25582         file.
25583         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
25584         multiarch wordcopy for PPC32.
25585         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25586         wordcopy objects.
25587         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25588         (__libc_ifunc_impl_list): Likewise.
25589         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
25590         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
25591         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
25592         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
25593         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
25594         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
25596         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
25597         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
25598         file.
25599         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
25600         file.
25601         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
25602         file.
25603         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
25604         multiarch wcscpy for PPC32.
25605         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
25606         multiarch objects.
25607         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25608         (__libc_ifunc_impl_list): Likewise.
25609         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25610         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25611         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
25612         sysdeps/powerpc/power6/wcscpy.c.
25614         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
25615         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
25616         file.
25617         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
25618         file.
25619         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
25620         file.
25621         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
25622         multiarch wcsrchr for PPC32.
25623         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25624         multiarch objects.
25625         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25626         (__libc_ifunc_impl_list): Likewise.
25627         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
25628         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
25629         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
25630         sysdeps/powerpc/power6/wcsrchr.c.
25632         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
25633         file.
25634         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
25635         file.
25636         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
25637         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
25638         multiarch wcschr for PPc32.
25639         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
25640         multiarch objects.
25641         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25642         (__libc_ifunc_impl_list): Likewise.
25643         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
25644         * sysdeps/powerpc/power6/wcschr.c: ... to here.
25645         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
25646         sysdeps/powerpc/power6/wcschr.c.
25648         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
25649         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
25650         file.
25651         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
25652         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
25653         file: multiarch strchr for PPC32.
25654         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
25655         multiarch objects.
25656         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25657         (__libc_ifunc_impl_list): Likewise.
25659         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
25660         name.
25661         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
25662         file.
25663         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
25664         file.
25665         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
25666         multiarch strchrnul for PPC32.
25667         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
25668         multiarch objects.
25669         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25670         (__libc_ifunc_impl_list): Likewise.
25672         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
25673         file.
25674         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
25675         multiarch strncasecmp for PPC32.
25676         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
25677         file.
25678         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
25679         multiarch strncasecmp_l for PPC32.
25680         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
25681         strncasecmp multiarch objects.
25682         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25683         (__libc_ifunc_impl_list): Likewise.
25685         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
25686         file.
25687         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
25688         multiarch strncasecmp for PPC32.
25689         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
25690         New file.
25691         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
25692         multiarch strcasecmp_l for PPC32.
25693         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
25694         multiarch objects.
25695         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25696         (__libc_ifunc_impl_list): Likewise.
25698         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
25699         file.
25700         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
25701         file.
25702         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
25703         multiarch strncmp for PPC32.
25704         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
25705         multiarch objects.
25706         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25707         (__libc_ifunc_impl_list): Likewise.
25709         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
25710         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
25711         file.
25712         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
25713         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
25714         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
25715         multiarch objects.
25716         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25717         (__libc_ifunc_impl_list): Likewise.
25719         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
25720         file.
25721         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
25722         file.
25723         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
25724         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
25725         multiarch objects.
25726         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25727         (__libc_ifunc_impl_list): Likewise.
25729         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
25730         file.
25731         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
25732         file.
25733         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
25734         multiarch rawmemchr for PPC32.
25735         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
25736         multiarch objects.
25737         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25738         (__libc_ifunc_impl_list): Likewise.
25740         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
25741         file.
25742         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
25743         file.
25744         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
25745         file: memrchr multiarch for PPC32.
25746         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
25747         multiarch objects.
25748         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25749         (__libc_ifunc_impl_list): Likewise.
25751         * string/memchr.c (__memchr): Using macro to redefine symbol name.
25752         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
25753         file.
25754         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
25755         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
25756         multiarch memchr for PPC32.
25757         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
25758         multiarch objects.
25759         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25760         (__libc_ifunc_impl_list): Likewise.
25762         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
25763         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
25764         file.
25765         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
25766         file.
25767         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
25768         file: multiarch mempcpy for PPC32.
25769         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
25770         multiarch objects.
25771         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25772         (__libc_ifunc_impl_list): Likewise.
25774         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
25775         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
25776         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
25777         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
25778         multiarch bzero for PPC32.
25779         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
25780         file.
25781         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
25782         file.
25783         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
25784         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
25785         file: multiarch memset for PPC32.
25786         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
25787         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
25788         memset multiarch objects.
25789         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25790         (__libc_ifunc_impl_list): Likewise.
25792         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
25793         file.
25794         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
25795         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
25796         memcmp for PPC32.
25797         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
25798         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
25799         multiarch objects.
25800         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25801         (__libc_ifunc_impl_list): Likewise.
25803         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
25804         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
25805         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
25806         file.
25807         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
25808         file.
25809         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
25810         file.
25811         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
25812         multiarch memcpy for PPC32.
25813         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
25814         multiarch objects.
25815         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
25816         (__libc_ifunc_impl_list): Likewise.
25818         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
25819         support multiarch for POWER/PPC32.
25820         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
25821         Likewise.
25822         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
25824         Implies file to make multiarch folder appers before the fpu and
25825         default folder for power4 configuration.
25827 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25829         * scripts/bench.pl: Append volatile keyword to type.
25831 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25833         * sysdeps/sh/sotruss-lib.c: New file.
25834         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
25836 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25838         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25840 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
25842         [BZ #6810]
25843         * math/w_tgamma.c: Include <errno.h>.
25844         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
25845         * math/w_tgammaf.c: Include <errno.h>.
25846         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
25847         * math/w_tgammal.c: Include <errno.h>.
25848         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
25849         * math/auto-libm-test-in: Do not allow missing errno on tgamma
25850         underflow.  Add more tgamma tests.
25851         * math/auto-libm-test-out: Regenerated.
25852         * sysdeps/i386/fpu/libm-test-ulps: Update.
25853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25855         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
25856         sin, sinh, tan, tanh, tgamma, y0 and y1.
25857         * math/auto-libm-test-out: Regenerated.
25858         * math/libm-test.inc (TEST_COND_x86_64): New macro.
25859         (TEST_COND_x86): Likewise.
25860         (M_E2l): Remove macro.
25861         (M_E3l): Likewise.
25862         (M_2_SQRT_PIl): Likewise.
25863         (M_SQRT_PIl): Likewise.
25864         (M_1_DIV_El): Likewise.
25865         (log_test_data): Use AUTO_TESTS_f_f.
25866         (log10_test_data): Likewise.
25867         (log1p_test_data): Likewise.
25868         (log2_test_data): Likewise.
25869         (sin_test_data): Likewise.
25870         (sin_tonearest_test_data): Likewise.
25871         (sin_towardzero_test_data): Likewise.
25872         (sin_downward_test_data): Likewise.
25873         (sin_upward_test_data): Likewise.
25874         (sinh_test_data): Likewise.
25875         (sinh_tonearest_test_data): Likewise.
25876         (sinh_towardzero_test_data): Likewise.
25877         (sinh_downward_test_data): Likewise.
25878         (sinh_upward_test_data): Likewise.
25879         (tan_test_data): Likewise.
25880         (tan_tonearest_test_data): Likewise.
25881         (tan_towardzero_test_data): Likewise.
25882         (tan_downward_test_data): Likewise.
25883         (tan_upward_test_data): Likewise.
25884         (tanh_test_data): Likewise.
25885         (tgamma_test_data): Likewise.
25886         (y0_test_data): Likewise.
25887         (y1_test_data): Likewise.
25888         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
25889         (special_real_inputs): Add pi/4.
25890         * sysdeps/i386/fpu/libm-test-ulps: Update.
25891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25893 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25895         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
25896         "longjmp_target" static probes.
25897         (__longjmp): Rename to __longjmp_symbol.
25898         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25899         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
25900         on which longjmp to generate.
25901         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25902         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
25903         probe.
25904         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25905         (__sigjmp_save): Rename to __sigjmp_save_symbol.
25906         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25907         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
25908         and __sigjmp_save_symbol based on which sigsetjmp to generated.
25909         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
25910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
25911         __longjmp_symbol based on which __longjmp to generate.
25912         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
25913         probe.
25914         (setjmp): Rename to setjmp_symbol.
25915         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25916         (_setjmp): Rename to _setjmp_symbol.
25917         (__sigsetjmp): Rename to __sigsetjmp_symbol.
25918         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
25919         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
25920         which setjmp to generate.
25921         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
25922         "longjmp_target" static probes.
25924 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25926         * benchtests/README: Add note about output arguments.
25927         * benchtests/bench-sincos.c: Remove file.
25928         * benchtests/sincos-inputs: New file.
25929         * scripts/bench.pl: Identify output arguments and define
25930         static variables for them.
25932         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
25934         [BZ #15941]
25935         * Makefile (INSTALL): Add install-plain.texi as the primary
25936         dependency.
25937         * manual/install-plain.texi: New file.
25938         * manual/install.texi: Include node directive only for
25939         non-plaintext output.
25941 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
25943         * stdlib/longlong.h: Update from GCC.
25945         [BZ #6807]
25946         [BZ #15901]
25947         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
25948         * math/w_j0f.c (y0f): Likewise.
25949         * math/w_j0l.c (__y0l): Likewise.
25950         * math/w_j1.c (y1): Likewise.
25951         * math/w_j1f.c (y1f): Likewise.
25952         * math/w_j1l.c (__y1l): Likewise
25953         * math/w_jn.c (yn): Likewise.
25954         * math/w_jnf.c (ynf): Likewise.
25955         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
25956         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
25957         value for Bessel function domain errors outside _SVID_ mode.
25958         Adjust sign of return value for yn (negative integer, 0).
25959         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
25960         by zero in return for negative x and set sign appropriately for
25961         negative n.
25962         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
25963         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25964         * math/libm-test.inc (y0_test_data): Add more tests and adjust
25965         expectations in error cases.
25966         (y1_test_data): Likewise.
25967         (yn_test_data): Likewise.
25968         * sysdeps/i386/fpu/libm-test-ulps: Update.
25969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25971 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25973         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
25974         "64" to "64-v1".  Add "64-v2".
25975         (abi-64-options): Rename to ...
25976         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
25977         (abi-64-condition): Rename to ...
25978         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
25979         (abi-64-ld-soname): Rename to ...
25980         (abi-64-v1-ld-soname): ... this.
25981         (abi-64-v2-options): Define.
25982         (abi-64-v2-condition): Likewise.
25983         (abi-64-v2-ld-soname): Likewise.
25984         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
25985         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
25986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
25987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
25988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
25990 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25991             Alan Modra  <amodra@gmail.com>
25993         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
25994         New versions for use with the ELFv2 ABI.
25995         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
25996         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
25997         declaration.
25998         (struct La_ppc64v2_retval): Likewise.
25999         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
26000         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
26001         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
26002         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
26003         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
26004         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26005         Do not save or restore CR.
26006         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
26007         (_dl_profile_resolve): Do no save or restore CR.  Support extended
26008         return values for ELFv2 ABI.  Fix location of FPR return registers.
26009         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
26010         updated values for _CALL_ELF == 2.
26011         (La_regs, La_retval, int_retval): Likewise.
26013 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26015         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
26016         (FRAME_MIN_SIZE_PARM): Likewise.
26017         (FRAME_BACKCHAIN): Likewise.
26018         (FRAME_CR_SAVE): Likewise.
26019         (FRAME_LR_SAVE): Likewise.
26020         (FRAME_TOC_SAVE): Likewise.
26021         (FRAME_PARM_SAVE): Likewise.
26022         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
26023         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
26024         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26025         (call_mcount_parm_offset): New macro.
26026         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
26027         (PROF): Use symbolic stack frame offsets.
26028         (TAIL_CALL_SYSCALL_ERROR): Likewise.
26029         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
26030         Redefine in terms of FRAME_MIN_SIZE.
26031         (_dl_runtime_resolve): Use symbolic stack frame offsets.
26032         (_dl_profile_resolve): Likewise.  Update comment.
26033         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
26034         symbols stack frame offsets.
26035         (__sigsetjmp): Likewise.
26036         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
26037         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
26038         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
26039         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
26041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
26042         (FRAME_BACKCHAIN): Remove.
26043         (FRAME_CR_SAVE): Likewise.
26044         (FRAME_LR_SAVE): Likewise.
26045         (FRAME_COMPILER_DW): Likewise.
26046         (FRAME_LINKER_DW): Likewise.
26047         (FRAME_TOC_SAVE): Likewise.
26048         (FRAME_PARM_SAVE): Likewise.
26049         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
26050         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
26051         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
26052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
26053         (CHECK_SP): Use symbolic stack frame offsets.
26054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
26055         zone" instead of caller's parameter save area for temp storage.
26056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26057         Likewise.  Also, use symbolic stack frame offsets.
26058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
26059         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
26060         our own stack frame instead of the caller's.
26061         (__socket): Use symbolic stack frame offsets.
26063 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26064             Alan Modra  <amodra@gmail.com>
26066         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
26067         Define.
26068         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
26069         (PPC64_LOCAL_ENTRY_OFFSET): Define.
26070         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
26071         New function.
26072         (elf_machine_fixup_plt): Call it.
26073         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
26074         reloc arguments.
26075         (elf_machine_rela): Update call to elf_machine_plt_conflict.
26076         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26077         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
26078         r2 before calling target.
26080 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26081             Alan Modra  <amodra@gmail.com>
26083         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
26084         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
26085         versions of macros to support ELFv2 ABI.
26086         (LOCALENTRY): New macro.
26087         (ENTRY, EALIGN): Use it.
26088         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
26089         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
26090         fall through into ENTRY entry point.
26091         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
26092         Only define if _CALL_ELF != 2.
26094         (elf_machine_matches_host): Verify ABI version matches.
26095         (RTLD_START): Use LOCALENTRY.
26096         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
26097         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
26098         (PLT_ENTRY_WORDS): New macro.
26099         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
26100         (elf_machine_runtime_setup): Support ELFv2 ABI.
26101         (elf_machine_fixup_plt): Likewise.
26102         (elf_machine_plt_conflict): Likewise.
26103         (resolve_ifunc): Likewise.
26104         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26105         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26106         Likewise.
26107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
26108         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
26109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26110         (makecontext): Support ELFv2 ABI.
26111         * elf/elf.h (EF_PPC64_ABI): Define.
26113 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26115         * sysdeps/powerpc/powerpc64/sysdep.h
26116         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
26117         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
26118         (ENTRY) [ASSEMBLER]: ... but instead here ...
26119         (EALIGN) [ASSEMBLER]: ... and here.
26120         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
26121         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
26122         (ENTRY_2) [!ASSEMBLER]: Use it.
26123         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
26124         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
26125         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
26126         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
26127         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
26128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
26129         Use PPC64_LOAD_FUNCPTR.
26131         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
26133 2013-12-04  Alan Modra  <amodra@gmail.com>
26135         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
26136         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
26137         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
26138         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
26140         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
26141         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
26142         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
26143         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
26144         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
26145         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
26147 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
26149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26150         (__makecontext): Fix incorrect CFI when backtracing out of
26151         context created via makecontext.
26152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
26153         (__setcontext): Fix incorrect CFI during switch to new context.
26154         (__novec_setcontext): Likewise.
26156 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26158         [BZ #4772]
26159         * time/strptime_l.c (__strptime_internal): Allow modifiers
26160         in strptime.
26161         * time/tst-strptime.c (day_tests): Add testcase.
26163 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26165         * scripts/bench.pl: Skip over blank lines.
26167 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
26169         [BZ #926]
26170         * manual/time.texi (Calendar Time): Clarify what timezone functions
26171         use.
26173 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26175         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26177 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
26179         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
26180         implementation.
26181         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
26182         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
26183         * debug/memset_chk.c (__memset_chk): Likewise.
26184         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
26185         * debug/strncpy_chk.c: Likewise.
26187 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26189         [BZ #15268]
26190         [BZ #15425]
26191         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
26192         (__ieee754_exp): For possibly underflowing results, check size of
26193         result and force underflow exception if required.
26194         * math/auto-libm-test-in: Add more tests of exp.
26195         * math/auto-libm-test-out: Regenerated.
26196         * sysdeps/i386/fpu/libm-test-ulps: Update.
26197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26199         [BZ #16283]
26200         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
26201         * math/w_exp2f.c (__exp2f): Likewise.
26202         * math/w_exp2l.c (__exp2l): Likewise.
26203         * math/auto-libm-test-in: Do not allow missing errno on exp2
26204         underflow.
26205         * math/auto-libm-test-out: Regenerated.
26207 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
26209         [BZ #16274]
26210         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
26211         handle filename validation.
26212         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
26213         (do_open): Delete.
26215 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
26217         [BZ #6786]
26218         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
26219         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
26220         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
26221         <float.h>.
26222         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
26223         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
26224         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26225         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
26226         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26227         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
26228         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
26229         * math/auto-libm-test-in: Don't allow missing errno from erfc.
26230         Add more erfc tests.
26231         * math/auto-libm-test-out: Regenerated.
26232         * sysdeps/i386/fpu/libm-test-ulps: Update.
26233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26235         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
26236         exp2, expm1, j0 and j1.
26237         * math/auto-libm-test-out: Regenerated.
26238         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
26239         (erfc_test_data): Likewise.
26240         (exp_test_data): Likewise.
26241         (exp_tonearest_test_data): Likewise.
26242         (exp_towardzero_test_data): Likewise.
26243         (exp_downward_test_data): Likewise.
26244         (exp_upward_test_data): Likewise.
26245         (exp10_test_data): Likewise.
26246         (exp2_test_data): Likewise.
26247         (expm1_test_data): Likewise.
26248         (j0_test_data): Likewise.
26249         (j1_test_data): Likewise.
26250         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
26251         (input_flag_type): Add flag_xfail_rounding.
26252         (input_flags): Add xfail-rounding.
26253         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
26254         (output_for_one_input_case): Handle flag_xfail_rounding.
26255         * sysdeps/i386/fpu/libm-test-ulps: Update.
26256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26258 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
26260         [BZ #16289]
26261         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
26262         division by 0.
26264 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26266         [BZ #16195]
26267         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
26268         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
26269         (STAP_PROBE0): New macro.
26270         (STAP_PROBE1): Likewise.
26271         (STAP_PROBE2): Likewise.
26272         (STAP_PROBE3): Likewise.
26273         (STAP_PROBE4): Likewise.
26275 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
26277         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
26279 2013-12-02  Steve Ellcey  <sellcey@mips.com>
26281         * benchtests/Makefile (bench): Add sqrt.
26282         (LDLIBS-bench-sqrt): New.
26283         * benchtests/sqrt-input: New.
26285 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
26287         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
26288         (GAIH_EAI): Likewise.
26289         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
26290         (gaih_inet): Likewise.
26291         (getaddrinfo): Don't use GAIH_EAI.
26293         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
26294         (struct gaih): Remove definition.
26296 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26298         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
26299         Use HERRNOP directly.
26301 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26305 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
26307         * math/gen-auto-libm-tests.c (test_functions): Add more
26308         single-argument functions.
26309         (special_fill_pi_2): New function.
26310         (special_fill_minus_pi_2): Likewise.
26311         (special_fill_pi_6): Likewise.
26312         (special_fill_minus_pi_6): Likewise.
26313         (special_fill_pi_3): Likewise.
26314         (special_fill_2pi_3): Likewise.
26315         (special_fill_e): Likewise.
26316         (special_fill_1_e): Likewise.
26317         (special_fill_e_minus_1): Likewise.
26318         (special_real_inputs): Add more special inputs.
26319         (output_for_one_input_case): Do not require ERANGE on underflow to
26320         zero if round-to-nearest result does not underflow to zero, unless
26321         exact results required.
26322         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
26323         atan, atanh, cbrt, cos and cosh.
26324         * math/auto-libm-test-out: Regenerated.
26325         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
26326         (acos_tonearest_test_data): Likewise.
26327         (acos_towardzero_test_data): Likewise.
26328         (acos_downward_test_data): Likewise.
26329         (acos_upward_test_data): Likewise.
26330         (acosh_test_data): Likewise.
26331         (asin_test_data): Likewise.
26332         (asin_tonearest_test_data): Likewise.
26333         (asin_towardzero_test_data): Likewise.
26334         (asin_upward_test_data): Likewise.
26335         (asinh_test_data): Likewise.
26336         (atan_test_data): Likewise.
26337         (atanh_test_data): Likewise.
26338         (cbrt_test_data): Likewise.
26339         (cos_test_data): Likewise.
26340         (cos_tonearest_test_data): Likewise.
26341         (cos_towardzero_test_data): Likewise.
26342         (cos_downward_test_data): Likewise.
26343         (cos_upward_test_data): Likewise.
26344         (cosh_test_data): Likewise.
26345         (cosh_tonearest_test_data): Likewise.
26346         (cosh_towardzero_test_data): Likewise.
26347         (cosh_downward_test_data): Likewise.
26348         (cosh_upward_test_data): Likewise.
26349         * sysdeps/i386/fpu/libm-test-ulps: Update.
26350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26352 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
26354         [BZ #6787]
26355         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
26356         * math/w_exp10f.c (__exp10f): Likewise.
26357         * math/w_exp10l.c (__exp10l): Likewise.
26358         * math/libm-test.inc (exp10_test_data): Add more tests and expect
26359         errno settings in existing tests.
26361         [BZ #14032]
26362         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
26363         precision control set to double precision.
26364         * sysdeps/i386/fpu/w_sqrt.c: New file.
26365         * math/auto-libm-test-in: Add more tests.
26366         * math/auto-libm-test-out: Update.
26368         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
26369         (sqrt_test_tonearest): New function.
26370         (sqrt_towardzero_test_data): New variable.
26371         (sqrt_test_towardzero): New function.
26372         (sqrt_downward_test_data): New variable.
26373         (sqrt_test_downward): New function.
26374         (sqrt_upward_test_data): New variable.
26375         (sqrt_test_upward): New function.
26376         (main): Call the new functions.
26378         * math/gen-auto-libm-tests.c: New file.
26379         * math/auto-libm-test-in: Likewise.
26380         * math/auto-libm-test-out: New generated file.
26381         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
26382         variables.
26383         (%beautify): Add generated representations of zero.
26384         (top level): Set $auto_input and call parse_auto_input.
26385         (beautify): Remove trailing "f" from hex float constants.
26386         (parse_args): Handle XFAIL_TEST.
26387         (convert_condition): New function.
26388         (or_value): Likewise.
26389         (or_cond_value): Likewise.
26390         (generate_testfile): Handle AUTO_TESTS_* lines.
26391         (parse_auto_input): New function.
26392         * math/libm-test.inc (XFAIL_TEST): New macro.
26393         (ERRNO_UNCHANGED): Update value.
26394         (ERRNO_EDOM): Likewise.
26395         (ERRNO_ERANGE): Likewise.
26396         (IGNORE_RESULT): Likewise.
26397         (TEST_COND_flt_32): New macro.
26398         (TEST_COND_dbl_64): Likewise.
26399         (TEST_COND_ldbl_96_intel): Likewise.
26400         (TEST_COND_ldbl_96_m68k): Likewise.
26401         (TEST_COND_ldbl_128): Likewise.
26402         (TEST_COND_ldbl_128ibm): Likewise.
26403         (TEST_COND_long32): Likewise.
26404         (TEST_COND_long64): Likewise.
26405         (TEST_COND_before_rounding): Likewise.
26406         (TEST_COND_after_rounding): Likewise.
26407         (enable_test): Handle XFAIL_TEST flag.
26408         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
26409         with finite results.
26410         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
26411         auto-libm-test-out.
26413 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26414             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26416         [BZ #16214]
26417         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
26418         __tls_get_addr_internal instead of __tls_get_offset in order to
26419         avoid GOT pointer dependency.  Make rtld export
26420         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
26421         __tls_get_addr since we are a __tls_get_offset platform.
26422         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
26423         GOT pointer being set up before.
26424         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
26426 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
26428         * manual/math.texi (Errors in Math Functions): Document accuracy
26429         goals.
26431         [BZ #15004]
26432         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
26433         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
26434         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26435         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26436         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26437         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26438         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26439         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26440         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26441         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26442         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26443         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26444         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26445         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26446         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26447         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26449         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
26450         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
26451         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
26452         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
26453         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
26454         Likewise.
26455         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
26456         Likewise.
26457         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
26458         Likewise.
26459         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
26460         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
26461         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
26462         atomic-feupdateenv and flt-rounds.
26463         * sysdeps/powerpc/nofpu/Versions (libc): Add
26464         __atomic_feholdexcept, __atomic_feclearexcept,
26465         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
26466         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
26467         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
26468         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
26469         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
26470         here.
26471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26472         Update.
26474         * manual/arith.texi (FP Exceptions): Document that exceptions may
26475         not be raised when matherr is used.
26476         (Math Error Reporting): Document overflow in directed rounding
26477         modes.  Document that errno may not be set when finite values are
26478         returned on overflow.  Document intent to set errno on underflow
26479         only for underflow to zero.
26481         [BZ #16271]
26482         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
26483         round-to-nearest then adjust result for other rounding modes.
26484         * include/fenv.h (fegetround): Use libm_hidden_proto.
26485         * math/fegetround.c (fegetround): Use libm_hidden_def.
26486         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26487         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26488         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26489         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26490         Likewise.
26491         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
26492         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26493         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26494         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
26496 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26498         [BZ #16077]
26499         * nss/Versions (libnss_files): Add
26500         _nss_files_gethostbyname3_r.
26501         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
26502         New function.
26503         (HOST_DB_LOOKUP): Remove macro.
26504         (_nss_files_gethostbyname_r): Implement function without the
26505         HOST_DB_LOOKUP macro.
26506         (_nss_files_gethostbyname2_r): Likewise.
26508 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
26510         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
26512 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
26514         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
26515         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
26516         warning.
26518 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26520         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
26521         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
26522         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
26523         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26524         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
26525         __fe_nomask_env_priv and attribute_hidden.
26526         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
26527         (libc_feupdateenv_test_ppc): Likewise.
26528         (libc_feresetround_ppc): Likewise.
26529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26530         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
26531         compat_symbol macro.
26532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26533         (__fe_nomask_env): Likewise.
26534         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
26536 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26538         * string/Makefile: Remove ifunc tests.
26539         * string/test-string.h: Define TEST_IFUNC.
26540         * string/test-bcopy-ifunc.c: Remove.
26541         * string/test-bzero-ifunc.c: Likewise.
26542         * string/test-memccpy-ifunc.c: Likewise.
26543         * string/test-memchr-ifunc.c: Likewise.
26544         * string/test-memcmp-ifunc.c: Likewise.
26545         * string/test-memcpy-ifunc.c: Likewise.
26546         * string/test-memmem-ifunc.c: Likewise.
26547         * string/test-memmove-ifunc.c: Likewise.
26548         * string/test-mempcpy-ifunc.c: Likewise.
26549         * string/test-memrchr-ifunc.c: Likewise.
26550         * string/test-memset-ifunc.c: Likewise.
26551         * string/test-rawmemchr-ifunc.c: Likewise.
26552         * string/test-stpcpy-ifunc.c: Likewise.
26553         * string/test-stpncpy-ifunc.c: Likewise.
26554         * string/test-strcasecmp-ifunc.c: Likewise.
26555         * string/test-strcasestr-ifunc.c: Likewise.
26556         * string/test-strcat-ifunc.c: Likewise.
26557         * string/test-strchr-ifunc.c: Likewise.
26558         * string/test-strchrnul-ifunc.c: Likewise.
26559         * string/test-strcmp-ifunc.c: Likewise.
26560         * string/test-strcpy-ifunc.c: Likewise.
26561         * string/test-strcspn-ifunc.c: Likewise.
26562         * string/test-strlen-ifunc.c: Likewise.
26563         * string/test-strncasecmp-ifunc.c: Likewise.
26564         * string/test-strncat-ifunc.c: Likewise.
26565         * string/test-strncmp-ifunc.c: Likewise.
26566         * string/test-strncpy-ifunc.c: Likewise.
26567         * string/test-strnlen-ifunc.c: Likewise.
26568         * string/test-strpbrk-ifunc.c: Likewise.
26569         * string/test-strrchr-ifunc.c: Likewise.
26570         * string/test-strspn-ifunc.c: Likewise.
26571         * string/test-strstr-ifunc.c: Likewise.
26573 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26575         * benchtests/Makefile: Remove ifunc tests.
26576         * benchtests/bench-string.h: Define TEST_IFUNC.
26577         * benchtests/bench-bcopy-ifunc.c: Remove.
26578         * benchtests/bench-bzero-ifunc.c: Likewise.
26579         * benchtests/bench-memccpy-ifunc.c: Likewise.
26580         * benchtests/bench-memchr-ifunc.c: Likewise.
26581         * benchtests/bench-memcmp-ifunc.c: Likewise.
26582         * benchtests/bench-memcpy-ifunc.c: Likewise.
26583         * benchtests/bench-memmem-ifunc.c: Likewise.
26584         * benchtests/bench-memmove-ifunc.c: Likewise.
26585         * benchtests/bench-mempcpy-ifunc.c: Likewise.
26586         * benchtests/bench-memrchr-ifunc.c: Likewise.
26587         * benchtests/bench-memset-ifunc.c: Likewise.
26588         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
26589         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
26590         * benchtests/bench-stpcpy-ifunc.c: Likewise.
26591         * benchtests/bench-stpncpy-ifunc.c: Likewise.
26592         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
26593         * benchtests/bench-strcasestr-ifunc.c: Likewise.
26594         * benchtests/bench-strcat-ifunc.c: Likewise.
26595         * benchtests/bench-strchr-ifunc.c: Likewise.
26596         * benchtests/bench-strchrnul-ifunc.c: Likewise.
26597         * benchtests/bench-strcmp-ifunc.c: Likewise.
26598         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
26599         * benchtests/bench-strcpy-ifunc.c: Likewise.
26600         * benchtests/bench-strcspn-ifunc.c: Likewise.
26601         * benchtests/bench-strlen-ifunc.c: Likewise.
26602         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
26603         * benchtests/bench-strncat-ifunc.c: Likewise.
26604         * benchtests/bench-strncmp-ifunc.c: Likewise.
26605         * benchtests/bench-strncpy-ifunc.c: Likewise.
26606         * benchtests/bench-strnlen-ifunc.c: Likewise.
26607         * benchtests/bench-strpbrk-ifunc.c: Likewise.
26608         * benchtests/bench-strrchr-ifunc.c: Likewise.
26609         * benchtests/bench-strsep-ifunc.c: Likewise.
26610         * benchtests/bench-strspn-ifunc.c: Likewise.
26611         * benchtests/bench-strstr-ifunc.c: Likewise.
26613 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26615         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
26617 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
26619         * resolv/netdb.h: Use __glibc_reserved instead __unused.
26620         * rt/aio.h: Likewise.
26621         * sysdeps/gnu/bits/utmp.h: Likewise.
26622         * sysdeps/gnu/bits/utmpx.h: Likewise.
26623         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26624         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
26625         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
26626         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
26627         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
26628         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
26629         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
26630         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
26631         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
26632         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
26633         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
26634         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
26635         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
26636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
26637         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26638         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
26639         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
26640         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
26641         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
26642         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
26643         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
26644         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
26645         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
26646         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
26647         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
26648         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26649         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
26650         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
26651         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
26652         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
26653         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
26654         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
26655         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
26656         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
26657         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
26658         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
26659         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
26660         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
26661         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
26662         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
26663         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
26664         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26666 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
26668         [BZ #16245]
26669         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
26670         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
26672 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
26674         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
26675         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26676         Likewise.
26678 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26680         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
26681         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
26682         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
26683         (__fesetround): Remove define.
26684         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
26685         rounding and exceptions handling.
26686         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
26687         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
26688         (__fe_nomask_env): Likewise.
26689         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
26690         __fegetround instead of fegetround.
26691         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26692         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
26694 2013-11-21  Roland McGrath  <roland@hack.frob.com>
26696         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
26697         it's there.
26699         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
26701 2013-11-21  Meador Inge  <meadori@codesourcery.com>
26703         [BZ #11157]
26704         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
26705         (encrypt_r): Likewise.
26706         * malloc/obstack.h (obstack_free): Likewise.
26707         * posix/unistd.h (encrypt): Likewise.
26709 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
26711         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
26712         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
26713         DL_CALL_DT_FINI() that call the functions directly.
26714         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
26715         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
26716         * elf/dl-fini.c: Likewise.
26718 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
26720         * malloc/hooks.c (memalign_check): Add alignment rounding.
26721         * malloc/malloc.c (_mid_memalign): New function.
26722         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
26723         Implement by calling _mid_memalign.
26724         * manual/probes.texi (Memory Allocation Probes): Remove
26725         memory_valloc_retry and memory_pvalloc_retry.
26727 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26729         * locale/programs/locarchive.c (open_archive): Add const
26730         qualifier to ARCHIVEFNAME and copy default fname to
26731         DEFAULT_FNAME.
26733         [BZ #15601]
26734         * libio/tst-widetext.input: Rename Oriya to Odia.
26735         * locale/iso-639.def: Likewise.
26737         * manual/probes.texi (Mathematical Function Probes): Add
26738         documentation for sin, cos, asin and acos probes.
26739         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
26740         (__sin32): Add slowasin probe.
26741         (__cos32): Add slowacos probe.
26742         (__mpsin): Add slowsin probe.
26743         (__mpcos): Add slowcos probe.
26745 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
26747         [BZ #15483]
26748         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
26749         thread-local __sim_exceptions_thread and global
26750         __sim_exceptions_global.
26751         (__sim_disabled_exceptions): Change to thread-local
26752         __sim_disabled_exceptions_thread and global
26753         __sim_disabled_exceptions_global.
26754         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26755         and global __sim_round_mode_global.
26756         (__simulate_exceptions): Use thread-local floating-point state and
26757         set global state from it as needed.
26758         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
26759         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
26760         __sim_round_mode_thread.
26761         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
26762         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
26763         and global __sim_exceptions_global.
26764         (__sim_disabled_exceptions): Change to thread-local
26765         __sim_disabled_exceptions_thread and global
26766         __sim_disabled_exceptions_global.
26767         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
26768         and global __sim_round_mode_global.
26769         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
26770         (SIM_SET_GLOBAL): Likewise.
26771         * sysdeps/powerpc/soft-fp/sfp-machine.h
26772         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
26773         __sim_round_mode_thread.
26774         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
26775         __sim_disabled_exceptions_thread.
26776         (__sim_exceptions): Change to __sim_exceptions_thread.
26777         (__sim_disabled_exceptions): Change to
26778         __sim_disabled_exceptions_thread.
26779         (__sim_round_mode): Change to __sim_round_mode_thread.
26780         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
26781         thread-local floating-point state and set global state from it as
26782         needed.
26783         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
26784         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
26785         (__sim_disabled_exceptions): Remove extern declaration.
26786         (feenableexcept): Use thread-local floating-point state and set
26787         global state from it as needed.
26788         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
26789         extern declaration.
26790         (__sim_disabled_exceptions): Likewise.
26791         (__sim_round_mode): Likewise.
26792         (__fegetenv): Use thread-local floating-point state.
26793         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
26794         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
26795         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
26796         floating-point state and set global state from it as needed.
26797         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
26798         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26799         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
26800         Likewise.
26801         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26802         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
26803         Likewise.
26804         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
26805         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
26806         Use __sim_round_mode_thread.
26807         * math/test-fenv-tls.c: New file.
26808         * math/Makefile (tests): Add test-fenv-tls.
26809         ($(objpfx)test-fenv-tls): Depend on
26810         $(common-objpfx)nptl/libpthread.so.
26812 2013-11-19  Andreas Schwab  <schwab@suse.de>
26814         * locale/programs/locale.c (show_info): Decode wordarray elements.
26815         * locale/categories.def (LC_MONETARY): Add element for
26816         _NL_MONETARY_CRNCYSTR.
26817         * locale/C-monetary.c (conversion_rate): New variable.
26818         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
26819         element.
26821 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
26823         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
26824         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
26826 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
26828         * elf/Makefile (tst-auxv): New test.
26829         * elf/tst-auxv.c: New
26830         * elf/rtld.c (dl_main): Adjust AT_EXECFN
26832 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
26834         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
26835         (hidden_proto): Caller changed.
26836         (hidden_tls_proto): New macro.
26837         (libc_hidden_tls_proto): Likewise.
26838         (rtld_hidden_tls_proto): Likewise.
26839         (libm_hidden_tls_proto): Likewise.
26840         (libresolv_hidden_tls_proto): Likewise.
26841         (librt_hidden_tls_proto): Likewise.
26842         (libdl_hidden_tls_proto): Likewise.
26843         (libnss_files_hidden_tls_proto): Likewise.
26844         (libnsl_hidden_tls_proto): Likewise.
26845         (libnss_nisplus_hidden_tls_proto): Likewise.
26846         (libutil_hidden_tls_proto): Likewise.
26848 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
26850         [BZ #10253]
26851         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
26852         (decompose_rpath): Defer expansion to fillin_rpath.
26853         (_dl_init_paths): Pass linkmap to fillin_rpath.
26855 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26857         * benchtests/Makefile: Add strsep.
26858         * benchtests/bench-strsep.c: New file: strsep benchtest.
26859         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
26861 2013-11-18  Andreas Schwab  <schwab@suse.de>
26863         * locale/programs/locale.c (show_info) [case byte]: Check for
26864         '\377' instead of '\177'.
26865         * locale/C-monetary.c (not_available): Always use "\377".
26866         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
26867         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
26868         detect unavailable sign_posn locale elements.
26869         * locale/localeconv.c (__localeconv): For grouping and
26870         mon_grouping handle "\177" and "\377" like no grouping.
26871         (INT_ELEM): New macro.  Use it to set all numeric members.
26872         * locale/programs/ld-monetary.c (monetary_read)
26873         <tok_mon_grouping>: Normalize single -1 to the empty string.
26874         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
26875         Likewise.
26877 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
26879         [BZ #16055]
26880         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
26881         when we match (nil).
26882         * stdio-common/tst-sscanf.c (struct test): Add testcase.
26884 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
26886         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
26887         (NO_TEST_INLINE): Update value.
26888         (ERRNO_UNCHANGED): Likewise.
26889         (ERRNO_EDOM): Likewise.
26890         (ERRNO_ERANGE): Likewise.
26891         (IGNORE_RESULT): Likewise.
26892         (check_float_internal): Check signs of NaN results if
26893         TEST_NAN_SIGN used.
26894         (check_complex): Pass TEST_NAN_SIGN flag through to second
26895         check_float_internal call.
26896         (copysign_test_data): Add tests with quiet NaNs as second
26897         argument.  Use TEST_NAN_SIGN.
26898         (fabs_test_data): Add test of negative quiet NaN argument.  Use
26899         TEST_NAN_SIGN.
26900         (signbit_test_data): Add tests of quiet NaN argument.
26901         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
26903         * math/gen-libm-test.pl (show_exceptions): Take extra argument
26904         $ignore_result.
26905         (parse_args): Handle function results specified as IGNORE.
26906         * math/libm-test.inc (IGNORE_RESULT): New macro.
26907         (check_float_internal): Do not check numerical result if flag
26908         IGNORE_RESULT set.
26909         (check_complex): Pass through IGNORE_RESULT to second
26910         check_float_internal call.
26911         (check_int): Do not check numerical result if flag IGNORE_RESULT
26912         set.
26913         (check_long): Likewise.
26914         (check_bool): Likewise.
26915         (check_longlong): Likewise.
26916         (lrint_test_data): Add tests of infinite and NaN arguments.
26917         (lrint_tonearest_test_data): Likewise.
26918         (lrint_towardzero_test_data): Likewise.
26919         (lrint_downward_test_data): Likewise.
26920         (lrint_upward_test_data): Likewise.
26921         (llrint_test_data): Likewise.
26922         (llrint_tonearest_test_data): Likewise.
26923         (llrint_towardzero_test_data): Likewise.
26924         (llrint_downward_test_data): Likewise.
26925         (llrint_upward_test_data): Likewise.
26926         (lround_test_data): Likewise.
26927         (llround_test_data): Likewise.
26929         * math/libm-test.inc (NO_TEST_INLINE): New macro.
26930         (ERRNO_UNCHANGED): Update value.
26931         (ERRNO_EDOM): Likewise.
26932         (ERRNO_ERANGE): Likewise.
26933         (NO_TEST_INLINE_FLOAT): New macro.
26934         (NO_TEST_INLINE_DOUBLE): Likewise.
26935         (enable_test): New function.
26936         (RUN_TEST_f_f): Check enable_test before running test.
26937         (RUN_TEST_2_f): Likewise.
26938         (RUN_TEST_fff_f): Likewise.
26939         (RUN_TEST_c_f): Likewise.
26940         (RUN_TEST_f_f1): Likewise.
26941         (RUN_TEST_fF_f1): Likewise.
26942         (RUN_TEST_fI_f1): Likewise.
26943         (RUN_TEST_ffI_f1): Likewise.
26944         (RUN_TEST_c_c): Likewise.
26945         (RUN_TEST_cc_c): Likewise.
26946         (RUN_TEST_f_i): Likewise.
26947         (RUN_TEST_f_i_tg): Likewise.
26948         (RUN_TEST_ff_i_tg): Likewise.
26949         (RUN_TEST_f_b): Likewise.
26950         (RUN_TEST_f_b_tg): Likewise.
26951         (RUN_TEST_f_l): Likewise.
26952         (RUN_TEST_f_L): Likewise.
26953         (RUN_TEST_fFF_11): Likewise.
26954         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
26955         conditionals.
26956         (cosh_test_data): Likewise.
26957         (exp_test_data): Likewise.
26958         (expm1_test_data): Likewise.
26959         (hypot_test_data): Likewise.
26960         (pow_test_data): Likewise.
26961         (sinh_test_data): Likewise.
26962         (tanh_test_data): Likewise.
26963         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
26964         flags argument.
26966         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
26967         tests with quiet NaN input and output.
26968         (acosh_test_data): Likewise.
26969         (asin_test_data): Likewise.
26970         (asinh_test_data): Likewise.
26971         (atan_test_data): Likewise.
26972         (atanh_test_data): Likewise.
26973         (atan2_test_data): Likewise.
26974         (cbrt_test_data): Likewise.
26975         (cos_test_data): Likewise.
26976         (cosh_test_data): Likewise.
26977         (erf_test_data): Likewise.
26978         (erfc_test_data): Likewise.
26979         (exp_test_data): Likewise.
26980         (exp10_test_data): Likewise.
26981         (exp2_test_data): Likewise.
26982         (expm1_test_data): Likewise.
26983         (hypot_test_data): Likewise.
26984         (j0_test_data): Likewise.
26985         (j1_test_data): Likewise.
26986         (jn_test_data): Likewise.
26987         (lgamma_test_data): Likewise.
26988         (log_test_data): Likewise.
26989         (log10_test_data): Likewise.
26990         (log1p_test_data): Likewise.
26991         (log2_test_data): Likewise.
26992         (pow_test_data): Likewise.
26993         (scalb_test_data): Likewise.
26994         (sin_test_data): Likewise.
26995         (sincos_test_data): Likewise.
26996         (sinh_test_data): Likewise.
26997         (tan_test_data): Likewise.
26998         (tanh_test_data): Likewise.
26999         (tgamma_test_data): Likewise.
27000         (y0_test_data): Likewise.
27001         (y1_test_data): Likewise.
27002         (yn_test_data): Likewise.
27004         [BZ #16167]
27005         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
27006         argument being NaN and avoid computations with second argument in
27007         that case.
27008         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
27009         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
27010         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
27012 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
27014         * locale/iso-639.def: Add Chitwani Tharu (the).
27016 2013-11-14  Andreas Schwab  <schwab@suse.de>
27018         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
27019         word instead of empty string.
27021 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27024         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
27025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27026         (__fe_nomask_env): Likewise.
27028 2013-11-13  Steve Ellcey  <sellcey@mips.com>
27030         * benchtests/bench-timing.h: Include time.h.
27032 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
27034         [BZ #15997]
27035         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
27036         to 3.4.0 for x32.
27037         * sysdeps/unix/sysv/linux/configure: Regenerated.
27039 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
27041         [BZ #16151]
27042         * stdlib/strtod_l.c (round_and_return): Do not consider
27043         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
27044         exponent one less than half the least subnormal exponent.
27045         * stdlib/test-strtod-round-data: Add more tests.
27046         * stdlib/tst-strtod-round.c (tests): Regenerated.
27048 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27050         [BZ #14143]
27051         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
27052         (__fe_mask_env): Likewise.
27053         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
27054         libm_hidden_proto and add function prototype.
27055         (__fe_mask_env): Add function prototype.
27056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27057         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
27058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27059         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
27060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27061         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
27063 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27065         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
27066         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
27068 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27070         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
27071         of htab_find_slot().
27073 2013-11-11  David S. Miller  <davem@davemloft.net>
27075         [BZ #16150]
27076         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
27077         symbol in the non-vis3 case in static builds.
27078         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
27079         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
27080         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
27081         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
27083 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
27085         [BZ #387]
27086         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
27087         it is empty.
27089 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27091         * benchtests/Makefile: Add bench-strtod.
27092         * benchtests/bench-strtod.c: New file: strtod benchtest
27094 2013-11-11  Andreas Schwab  <schwab@suse.de>
27096         [BZ #16153]
27097         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
27098         terminating NUL in key length.
27100 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27102         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
27103         Add artificial ODP entry for vDSO symbol for PPC64.
27104         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
27105         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27107 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
27109         [BZ #15374]
27110         * nss/getent.c (services_keys): Recognize services starting with digit.
27112 2013-11-06  David S. Miller  <davem@davemloft.net>
27114         [BZ #15985]
27115         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
27116         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
27118 2013-11-06  Will Newton  <will.newton@linaro.org>
27120         * manual/memory.texi (Malloc Examples): Remove register
27121         keyword from examples.
27123 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
27125         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
27127 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
27129         [BZ #6981]
27130         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
27131         depending on [__GCC_IEC_559 > 0].
27132         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
27133         depending on [__GCC_IEC_559_COMPLEX > 0].
27135 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
27137         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
27138         to iso-639.def.
27140 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
27142         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
27144 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
27146         [BZ #16112]
27147         * malloc/malloc (malloc_info): Do not handle first bin as
27148         special case.
27150 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
27152         * locale/iso-639.def: Add Central Nahuatl (nhn).
27154 2013-11-01  Bruno Haible  <bruno@clisp.org>
27156         [BZ #7003]
27157         * manual/math.texi (BSD Random): Specify range upper bound as
27158         in POSIX.
27160 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
27162         * locale/iso-639.def: Add Meadow Mari (mhr).
27164 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
27166         [BZ #14752], [BZ #15763]
27167         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
27168         Validate name.
27169         * rt/tst_shm.c: Add test for escaping directory.
27171 2013-10-31  Andreas Schwab  <schwab@suse.de>
27173         [BZ #15917]
27174         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
27175         followed by 'x' as part of digit sequence.
27176         * stdio-common/tst-sscanf.c (double_tests2): New tests.
27178 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
27180         [BZ #16037]
27181         * configure.ac: allow GNU Make 4.0 and greater.
27182         * configure: Regenerated.
27184 2013-10-30  Will Newton  <will.newton@linaro.org>
27186         [BZ #16038]
27187         * malloc/hooks.c (memalign_check): Limit alignment to the
27188         maximum representable power of two.
27189         * malloc/malloc.c (__libc_memalign): Likewise.
27190         * malloc/tst-memalign.c (do_test): Add test for very
27191         large alignment values.
27192         * malloc/tst-posix_memalign.c (do_test): Likewise.
27194 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27196         [BZ #11087]
27197         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
27198         (munmap_chunk): Likewise.
27199         (mremap_chunk): Likewise.
27201 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
27203         [BZ #15799]
27204         * stdlib/div.c (div): Remove obsolete code.
27205         * stdlib/ldiv.c (ldiv): Likewise.
27206         * stdlib/lldiv.c (lldiv): Likewise.
27208 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
27210         [BZ #16071]
27211         * nss/nss_files/files-XXX.c (get_contents_ret): New
27212         enumerator.
27213         (get_contents): New function.
27214         (internal_getent): Use it.  Expand size of LINEBUFLEN.
27216 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
27218         * configure.in: Moved to ...
27219         * configure.ac: ... here. Change reference to configure.in
27220         to configure.ac.
27221         * sysdeps/arm/preconfigure.ac: ... here.
27222         configure.in to configure.ac.
27223         * sysdeps/gnu/configure.in: Moved to ...
27224         * sysdeps/gnu/configure.ac: ... here.
27225         * sysdeps/i386/configure.in: Moved to ...
27226         * sysdeps/i386/configure.ac: ... here.
27227         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
27228         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
27229         * sysdeps/mach/configure.in: Moved to ...
27230         * sysdeps/mach/configure.ac: ... here.
27231         * sysdeps/mach/hurd/configure.in: Moved to ...
27232         * sysdeps/mach/hurd/configure.ac: ... here.
27233         * sysdeps/powerpc/configure.in: Moved to ...
27234         * sysdeps/powerpc/configure.ac: ... here.
27235         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
27236         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
27237         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
27238         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
27239         * sysdeps/s390/s390-32/configure.in: Moved to ...
27240         * sysdeps/s390/s390-32/configure.ac: ... here.
27241         * sysdeps/s390/s390-64/configure.in: Moved to ...
27242         * sysdeps/s390/s390-64/configure.ac: ... here.
27243         * sysdeps/sh/configure.in: Moved to ...
27244         * sysdeps/sh/configure.ac: ... here.
27245         * sysdeps/sparc/configure.in: Moved to ...
27246         * sysdeps/sparc/configure.ac: ... here.
27247         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
27248         * sysdeps/unix/sysv/linux/configure.ac: ... here.
27249         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
27250         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
27251         * sysdeps/x86_64/configure.in: Moved to ...
27252         * sysdeps/x86_64/configure.ac: ... here.
27253         * sysdeps/x86_64/preconfigure.in: Moved to ...
27254         * sysdeps/x86_64/preconfigure.ac: ... here.
27255         * aclocal.m4: Change reference to configure.in to configure.ac.
27256         * config.h.in: Likewise.
27257         * manual/install.texi: Likewise.
27258         * manual/maint.texi: Likewise.
27259         * Makefile: Likewise.
27260         * malloc/Makefile: Likewise.
27261         * nscd/Makefile: Likewise.
27262         * Makeconfig: Change reference to configure.in and
27263         preconfigure.in to configure.ac and preconfigure.ac
27264         respectively.
27265         * INSTALL: Regenerated.
27266         * configure: Likewise.
27267         * sysdeps/gnu/configure: Likewise.
27268         * sysdeps/i386/configure: Likewise.
27269         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
27270         * sysdeps/mach/configure: Likewise.
27271         * sysdeps/mach/hurd/configure: Likewise.
27272         * sysdeps/powerpc/configure: Likewise.
27273         * sysdeps/powerpc/powerpc32/configure: Likewise.
27274         * sysdeps/powerpc/powerpc64/configure: Likewise.
27275         * sysdeps/s390/s390-32/configure: Likewise.
27276         * sysdeps/s390/s390-64/configure: Likewise.
27277         * sysdeps/sh/configure: Likewise.
27278         * sysdeps/sparc/configure: Likewise.
27279         * sysdeps/unix/sysv/linux/configure: Likewise.
27280         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
27281         * sysdeps/x86_64/configure: Likewise.
27282         * sysdeps/x86_64/preconfigure: Likewise.
27284 2013-10-29  Andreas Schwab  <schwab@suse.de>
27286         * stdio-common/Makefile (tst-swscanf-ENV): Define.
27288 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27290         * benchtests/pow-inputs: Add new inputs.
27292         * benchtests/exp-inputs: Add new inputs.
27294         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
27295         conditional check for return value.
27296         (__cos32): Likewise.
27298 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27300         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
27301         to provide a boost for large inputs with word alignment.
27302         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
27303         implementation based on optimized PPC64 strcpy.
27304         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
27305         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
27306         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
27307         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
27309 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27311         [BZ #2801]
27312         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
27314 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27316         [BZ #14876]
27317         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
27318         * time/tst-strptime.c (day_tests): Add testcase.
27320 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
27322         [BZ #14029]
27323         * manual/pattern.texi: Acknowledge that fnmatch can fail.
27325 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
27327         [BZ #16074]
27328         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
27329         MAP_FAILED on error.
27331 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27333         [BZ #16072]
27334         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
27335         heap for large requests.
27337 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
27339         [BZ #9954]
27340         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
27341         result if the result has no associated interface.
27342         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
27343         interface for all 127.X.Y.Z addresses.
27345 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
27347         * locale/iso-639.def: Add Ligurian (lij)
27349 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
27351         [BZ #15825]
27352         * sunrpc/rpc_main.c: Document rpcgen -5.
27354 2013-10-19  Michael Stahl  <mstahl@redhat.com>
27356         * elf/rtld.c (do_preload): Print the reason why preloading failed.
27358 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27360         [BZ #10278]
27361         * posix/glob.c: Match only directories when trailing slash is present.
27362         * posix/tst-gnuglob.c (my_opendir): Do not open files.
27363         (main): Add testcase.
27365 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
27367         [BZ #15670]
27368         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
27370 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
27372         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
27373         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
27374         AUTH_DES and cindex for FIPS 140-2.
27375         (DES Encryption): Add cindex FIPS 46-3.
27377         * locale/locarchive.h (struct locarhandle): Add fname.
27378         * locale/programs/localedef.c (main): Pass ARGV[remaining]
27379         if an optional argument was specified to --list-archive,
27380         otherwise NULL.
27381         * locale/programs/locarchive.c (show_archive_content): Take new
27382         argument fname and pass it via ah.fname to open_archive.
27383         * locale/programs/localedef.h: Update decl.
27384         (open_archive): If AH->fname is non-null, open that file
27385         rather than the default file name, and don't ignore ENOENT.
27386         (create_archive): Set AH.fname to NULL.
27387         (delete_locales_from_archive): Likewise.
27388         (add_locales_to_archive): Likewise.
27389         * locale/programs/locfile.c (write_all_categories): Likewise.
27391 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
27392             Aldy Hernandez  <aldyh@redhat.com>
27394         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
27395         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
27396         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
27397         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
27398         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
27399         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
27400         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
27401         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
27402         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
27403         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
27404         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
27405         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
27406         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
27407         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
27408         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
27409         Likewise.
27410         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
27411         Likewise.
27412         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
27413         Likewise.
27414         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
27415         Likewise.
27416         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
27417         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
27418         Likewise.
27419         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
27420         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
27421         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
27422         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
27423         Likewise.
27424         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
27425         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
27426         * sysdeps/powerpc/preconfigure: Likewise.
27427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
27428         Likewise.
27429         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
27430         Replace contents of file by #include of <fenv_libc.h>.
27431         * sysdeps/powerpc/soft-fp/sfp-machine.h
27432         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
27433         and <sys/prctl.h>.
27434         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
27435         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
27436         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
27437         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
27438         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
27439         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
27440         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
27441         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
27442         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
27443         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
27444         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
27445         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
27446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27447         Allow copysignl PLT reference to be missing.
27449 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
27450             Joseph Myers  <joseph@codesourcery.com
27452         [BZ #15948]
27453         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
27454         single character.
27455         (add_to_tablewc): Assert sequence of wide characters is nonempty.
27457 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27459         * elf/tst-tls-dlinfo.c: Don't include tls.h.
27460         * elf/tst-tls1.c: Likewise.
27461         * elf/tst-tls10.h: Likewise.
27462         * elf/tst-tls14.c: Likewise.
27463         * elf/tst-tls2.c: Likewise.
27464         * elf/tst-tls3.c: Likewise.
27465         * elf/tst-tls4.c: Likewise.
27466         * elf/tst-tls5.c: Likewise.
27467         * elf/tst-tls6.c: Likewise.
27468         * elf/tst-tls7.c: Likewise.
27469         * elf/tst-tls8.c: Likewise.
27470         * elf/tst-tls9.c: Likewise.
27471         * elf/tst-tlsmod1.c: Likewise.
27472         * elf/tst-tlsmod13.c: Likewise.
27473         * elf/tst-tlsmod13a.c: Likewise.
27474         * elf/tst-tlsmod14a.c: Likewise.
27475         * elf/tst-tlsmod16a.c: Likewise.
27476         * elf/tst-tlsmod16b.c: Likewise.
27477         * elf/tst-tlsmod2.c: Likewise.
27478         * elf/tst-tlsmod3.c: Likewise.
27479         * elf/tst-tlsmod4.c: Likewise.
27480         * elf/tst-tlsmod5.c: Likewise.
27481         * elf/tst-tlsmod6.c: Likewise.
27483 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
27485         [BZ #12486]
27486         * malloc/malloc.c: remove checks for statistics.
27488 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27490         [BZ #15277]
27491         * inet/inet_net.c (inet_network): Detect additional invalid strings.
27492         * inet/tst-network.c: Add testcase.
27494 2013-10-17  Andreas Schwab  <schwab@suse.de>
27496         [BZ #15218]
27497         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
27498         to determine canonical name.
27500 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
27502         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
27503         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
27504         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27505         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27506         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27507         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27508         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27509         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27510         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27511         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27512         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
27513         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27514         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27515         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27516         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27517         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27518         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27519         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27520         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27521         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27522         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27523         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27524         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27525         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
27526         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
27527         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
27528         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
27529         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
27530         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
27531         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
27532         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27533         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27534         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27535         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27536         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27537         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27538         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27539         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27540         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27541         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27542         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27543         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27544         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27545         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27546         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27547         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27548         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27549         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27550         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27551         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27552         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27553         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27554         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27555         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27556         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27557         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27558         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27559         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27561 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
27563         [BZ #16041]
27564         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
27565         make result into a quiet NaN.
27567 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
27569         * soft-fp/adddf3.c: Fix horizontal whitespace.
27570         * soft-fp/addsf3.c: Likewise.
27571         * soft-fp/addtf3.c: Likewise.
27572         * soft-fp/divdf3.c: Likewise.
27573         * soft-fp/divsf3.c: Likewise.
27574         * soft-fp/divtf3.c: Likewise.
27575         * soft-fp/double.h: Likewise.
27576         * soft-fp/eqdf2.c: Likewise.
27577         * soft-fp/eqsf2.c: Likewise.
27578         * soft-fp/eqtf2.c: Likewise.
27579         * soft-fp/extenddftf2.c: Likewise.
27580         * soft-fp/extended.h: Likewise.
27581         * soft-fp/extendsfdf2.c: Likewise.
27582         * soft-fp/extendsftf2.c: Likewise.
27583         * soft-fp/extendxftf2.c: Likewise.
27584         * soft-fp/fixdfdi.c: Likewise.
27585         * soft-fp/fixdfsi.c: Likewise.
27586         * soft-fp/fixdfti.c: Likewise.
27587         * soft-fp/fixsfdi.c: Likewise.
27588         * soft-fp/fixsfsi.c: Likewise.
27589         * soft-fp/fixsfti.c: Likewise.
27590         * soft-fp/fixtfdi.c: Likewise.
27591         * soft-fp/fixtfsi.c: Likewise.
27592         * soft-fp/fixtfti.c: Likewise.
27593         * soft-fp/fixunsdfdi.c: Likewise.
27594         * soft-fp/fixunsdfsi.c: Likewise.
27595         * soft-fp/fixunsdfti.c: Likewise.
27596         * soft-fp/fixunssfdi.c: Likewise.
27597         * soft-fp/fixunssfsi.c: Likewise.
27598         * soft-fp/fixunssfti.c: Likewise.
27599         * soft-fp/fixunstfdi.c: Likewise.
27600         * soft-fp/fixunstfsi.c: Likewise.
27601         * soft-fp/fixunstfti.c: Likewise.
27602         * soft-fp/floatdidf.c: Likewise.
27603         * soft-fp/floatdisf.c: Likewise.
27604         * soft-fp/floatditf.c: Likewise.
27605         * soft-fp/floatsidf.c: Likewise.
27606         * soft-fp/floatsisf.c: Likewise.
27607         * soft-fp/floatsitf.c: Likewise.
27608         * soft-fp/floattidf.c: Likewise.
27609         * soft-fp/floattisf.c: Likewise.
27610         * soft-fp/floattitf.c: Likewise.
27611         * soft-fp/floatundidf.c: Likewise.
27612         * soft-fp/floatundisf.c: Likewise.
27613         * soft-fp/floatunditf.c: Likewise.
27614         * soft-fp/floatunsidf.c: Likewise.
27615         * soft-fp/floatunsisf.c: Likewise.
27616         * soft-fp/floatunsitf.c: Likewise.
27617         * soft-fp/floatuntidf.c: Likewise.
27618         * soft-fp/floatuntisf.c: Likewise.
27619         * soft-fp/floatuntitf.c: Likewise.
27620         * soft-fp/fmadf4.c: Likewise.
27621         * soft-fp/fmasf4.c: Likewise.
27622         * soft-fp/fmatf4.c: Likewise.
27623         * soft-fp/gedf2.c: Likewise.
27624         * soft-fp/gesf2.c: Likewise.
27625         * soft-fp/getf2.c: Likewise.
27626         * soft-fp/ledf2.c: Likewise.
27627         * soft-fp/lesf2.c: Likewise.
27628         * soft-fp/letf2.c: Likewise.
27629         * soft-fp/muldf3.c: Likewise.
27630         * soft-fp/mulsf3.c: Likewise.
27631         * soft-fp/multf3.c: Likewise.
27632         * soft-fp/negdf2.c: Likewise.
27633         * soft-fp/negsf2.c: Likewise.
27634         * soft-fp/negtf2.c: Likewise.
27635         * soft-fp/op-1.h: Likewise.
27636         * soft-fp/op-2.h: Likewise.
27637         * soft-fp/op-4.h: Likewise.
27638         * soft-fp/op-8.h: Likewise.
27639         * soft-fp/op-common.h: Likewise.
27640         * soft-fp/quad.h: Likewise.
27641         * soft-fp/single.h: Likewise.
27642         * soft-fp/soft-fp.h: Likewise.
27643         * soft-fp/sqrtdf2.c: Likewise.
27644         * soft-fp/sqrtsf2.c: Likewise.
27645         * soft-fp/sqrttf2.c: Likewise.
27646         * soft-fp/subdf3.c: Likewise.
27647         * soft-fp/subsf3.c: Likewise.
27648         * soft-fp/subtf3.c: Likewise.
27649         * soft-fp/truncdfsf2.c: Likewise.
27650         * soft-fp/trunctfdf2.c: Likewise.
27651         * soft-fp/trunctfsf2.c: Likewise.
27652         * soft-fp/trunctfxf2.c: Likewise.
27653         * soft-fp/unorddf2.c: Likewise.
27654         * soft-fp/unordsf2.c: Likewise.
27655         * soft-fp/unordtf2.c: Likewise.
27657 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
27659         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
27660         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
27662 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
27664         * elf/dl-libc.c: Clear initfini list after freeing.
27666 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
27668         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
27669         * soft-fp/addsf3.c: Likewise.
27670         * soft-fp/addtf3.c: Likewise.
27671         * soft-fp/divdf3.c: Likewise.
27672         * soft-fp/divsf3.c: Likewise.
27673         * soft-fp/divtf3.c: Likewise.
27674         * soft-fp/double.h: Likewise.
27675         * soft-fp/eqdf2.c: Likewise.
27676         * soft-fp/eqsf2.c: Likewise.
27677         * soft-fp/eqtf2.c: Likewise.
27678         * soft-fp/extenddftf2.c: Likewise.
27679         * soft-fp/extended.h: Likewise.
27680         * soft-fp/extendsfdf2.c: Likewise.
27681         * soft-fp/extendsftf2.c: Likewise.
27682         * soft-fp/extendxftf2.c: Likewise.
27683         * soft-fp/fixdfdi.c: Likewise.
27684         * soft-fp/fixdfsi.c: Likewise.
27685         * soft-fp/fixdfti.c: Likewise.
27686         * soft-fp/fixsfdi.c: Likewise.
27687         * soft-fp/fixsfsi.c: Likewise.
27688         * soft-fp/fixsfti.c: Likewise.
27689         * soft-fp/fixtfdi.c: Likewise.
27690         * soft-fp/fixtfsi.c: Likewise.
27691         * soft-fp/fixtfti.c: Likewise.
27692         * soft-fp/fixunsdfdi.c: Likewise.
27693         * soft-fp/fixunsdfsi.c: Likewise.
27694         * soft-fp/fixunsdfti.c: Likewise.
27695         * soft-fp/fixunssfdi.c: Likewise.
27696         * soft-fp/fixunssfsi.c: Likewise.
27697         * soft-fp/fixunssfti.c: Likewise.
27698         * soft-fp/fixunstfdi.c: Likewise.
27699         * soft-fp/fixunstfsi.c: Likewise.
27700         * soft-fp/fixunstfti.c: Likewise.
27701         * soft-fp/floatdidf.c: Likewise.
27702         * soft-fp/floatdisf.c: Likewise.
27703         * soft-fp/floatditf.c: Likewise.
27704         * soft-fp/floatsidf.c: Likewise.
27705         * soft-fp/floatsisf.c: Likewise.
27706         * soft-fp/floatsitf.c: Likewise.
27707         * soft-fp/floattidf.c: Likewise.
27708         * soft-fp/floattisf.c: Likewise.
27709         * soft-fp/floattitf.c: Likewise.
27710         * soft-fp/floatundidf.c: Likewise.
27711         * soft-fp/floatundisf.c: Likewise.
27712         * soft-fp/floatunsidf.c: Likewise.
27713         * soft-fp/floatunsisf.c: Likewise.
27714         * soft-fp/floatuntidf.c: Likewise.
27715         * soft-fp/floatuntisf.c: Likewise.
27716         * soft-fp/floatuntitf.c: Likewise.
27717         * soft-fp/fmadf4.c: Likewise.
27718         * soft-fp/fmasf4.c: Likewise.
27719         * soft-fp/fmatf4.c: Likewise.
27720         * soft-fp/gedf2.c: Likewise.
27721         * soft-fp/gesf2.c: Likewise.
27722         * soft-fp/getf2.c: Likewise.
27723         * soft-fp/ledf2.c: Likewise.
27724         * soft-fp/lesf2.c: Likewise.
27725         * soft-fp/letf2.c: Likewise.
27726         * soft-fp/muldf3.c: Likewise.
27727         * soft-fp/mulsf3.c: Likewise.
27728         * soft-fp/multf3.c: Likewise.
27729         * soft-fp/negdf2.c: Likewise.
27730         * soft-fp/negsf2.c: Likewise.
27731         * soft-fp/negtf2.c: Likewise.
27732         * soft-fp/op-1.h: Likewise.
27733         * soft-fp/op-2.h: Likewise.
27734         * soft-fp/op-4.h: Likewise.
27735         * soft-fp/op-8.h: Likewise.
27736         * soft-fp/op-common.h: Likewise.
27737         * soft-fp/quad.h: Likewise.
27738         * soft-fp/single.h: Likewise.
27739         * soft-fp/soft-fp.h: Likewise.
27740         * soft-fp/sqrtdf2.c: Likewise.
27741         * soft-fp/sqrtsf2.c: Likewise.
27742         * soft-fp/sqrttf2.c: Likewise.
27743         * soft-fp/subdf3.c: Likewise.
27744         * soft-fp/subsf3.c: Likewise.
27745         * soft-fp/subtf3.c: Likewise.
27746         * soft-fp/truncdfsf2.c: Likewise.
27747         * soft-fp/trunctfdf2.c: Likewise.
27748         * soft-fp/trunctfsf2.c: Likewise.
27749         * soft-fp/trunctfxf2.c: Likewise.
27750         * soft-fp/unorddf2.c: Likewise.
27751         * soft-fp/unordsf2.c: Likewise.
27752         * soft-fp/unordtf2.c: Likewise.
27754 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
27756         [BZ #15672]
27757         * misc/error.c (error_tail): Fix possible buffer overflow.
27759 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
27761         [BZ #13028]
27762         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
27763         address.
27765 2013-10-14  P. J. McDermott  <pj@pehjota.net>
27767         [BZ #832]
27768         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
27769         testing pipefail option.
27771 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27773         * soft-fp/double.h: Indent preprocessor directives inside #if.
27774         * soft-fp/extended.h: Likewise.
27775         * soft-fp/op-2.h: Likewise.
27776         * soft-fp/op-4.h: Likewise.
27777         * soft-fp/op-common.h: Likewise.
27778         * soft-fp/quad.h: Likewise.
27779         * soft-fp/single.h: Likewise.
27780         * soft-fp/soft-fp.h: Likewise.
27782 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
27784         * iconv/iconv_prog.c: Fix typos.
27785         * stdio-common/psiginfo-data.h: Likewise.
27787 2013-10-12   Reuben Thomas <rrt@sc3d.org>
27789         [BZ #15764]
27790         * locale/setlocale.c: Fix typo.
27792 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
27794         [BZ #16036]
27795         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
27796         signaling NaN arguments.
27797         * soft-fp/unordsf2.c (__unordsf2): Likewise.
27798         * soft-fp/unordtf2.c (__unordtf2): Likewise.
27800         [BZ #14910]
27801         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
27802         unordered operands.
27803         * soft-fp/gesf2.c (__gesf2): Likewise.
27804         * soft-fp/getf2.c (__getf2): Likewise.
27805         * soft-fp/ledf2.c (__ledf2): Likewise.
27806         * soft-fp/lesf2.c (__lesf2): Likewise.
27807         * soft-fp/letf2.c (__letf2): Likewise.
27809         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
27810         * soft-fp/eqsf2.c (__eqsf2): Likewise.
27811         * soft-fp/eqtf2.c (__eqtf2): Likewise.
27812         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
27813         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
27814         * soft-fp/fixdfti.c (__fixdfti): Likewise.
27815         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
27816         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
27817         * soft-fp/fixsfti.c (__fixsfti): Likewise.
27818         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
27819         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
27820         * soft-fp/fixtfti.c (__fixtfti): Likewise.
27821         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
27822         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
27823         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
27824         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
27825         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
27826         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
27827         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
27828         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
27829         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
27830         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
27831         * soft-fp/floatdisf.c (__floatdisf): Likewise.
27832         * soft-fp/floatsisf.c (__floatsisf): Likewise.
27833         * soft-fp/floattidf.c (__floattidf): Likewise.
27834         * soft-fp/floattisf.c (__floattisf): Likewise.
27835         * soft-fp/floattitf.c (__floattitf): Likewise.
27836         * soft-fp/floatundidf.c (__floatundidf): Likewise.
27837         * soft-fp/floatundisf.c (__floatundisf): Likewise.
27838         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
27839         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
27840         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
27841         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
27842         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
27843         * soft-fp/gesf2.c (__gesf2): Likewise.
27844         * soft-fp/getf2.c (__getf2): Likewise.
27845         * soft-fp/ledf2.c (__ledf2): Likewise.
27846         * soft-fp/lesf2.c (__lesf2): Likewise.
27847         * soft-fp/letf2.c (__letf2): Likewise.
27849         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
27850         Undefine and redefine.
27851         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
27852         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
27853         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
27854         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
27855         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27856         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
27857         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27858         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
27859         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27860         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
27861         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27862         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
27863         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27864         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
27865         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
27867         [BZ #16032]
27868         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
27869         without decrementing exponent if mantissa >= that for the
27870         denominator, not >.
27871         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
27872         denominator, not >.  Decrement exponent in < case instead of
27873         incrementing in >= case.
27874         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
27875         without decrementing exponent if mantissa >= that for the
27876         denominator, not >.
27878         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
27879         computing saturated result for unsigned overflow.
27881 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27882             Jeff Law  <law@redhat.com>
27884         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
27885         (atan2Mp): Add systemtap probe marker.
27886         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
27887         (__ieee754_log): Add systemtap probe marker.
27888         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
27889         (atanMp): Add systemtap probe marker.
27890         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
27891         (tanMp): Add systemtap probe marker.
27892         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
27893         (__slowexp): Add systemtap probe marker.
27894         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
27895         (__slowpow): Add systemtap probe marker.
27896         * manual/probes.texi: Document probes.
27898 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
27900         [BZ #15362]
27901         * libio/fileops.c (_IO_new_file_write): Return count of bytes
27902         written.
27903         (_IO_new_file_xsputn): Don't return EOF if nothing has been
27904         written.
27905         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
27906         written to buffer but not flushed.
27907         * libio/iofwrite_u.c:  Likewise.
27908         * libio/iopadn.c:  Return bytes returned even if EOF was
27909         encountered.
27910         * libio/iowpadn.c:  Likewise.
27911         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
27912         if _IO_padn does not write the whole buffer.
27913         [!COMPILE_WPRINTF] (PAD): Likewise.
27915 2013-10-10  David S. Miller  <davem@davemloft.net>
27917         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
27918         directory block.
27920 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
27922         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
27923         instead of FSF address.
27924         * soft-fp/fixdfti.c: Likewise.
27925         * soft-fp/fixsfti.c: Likewise.
27926         * soft-fp/fixtfti.c: Likewise.
27927         * soft-fp/fixunsdfti.c: Likewise.
27928         * soft-fp/fixunssfti.c: Likewise.
27929         * soft-fp/fixunstfti.c: Likewise.
27930         * soft-fp/floattidf.c: Likewise.
27931         * soft-fp/floattisf.c: Likewise.
27932         * soft-fp/floattitf.c: Likewise.
27933         * soft-fp/floatuntidf.c: Likewise.
27934         * soft-fp/floatuntisf.c: Likewise.
27935         * soft-fp/floatuntitf.c: Likewise.
27936         * soft-fp/trunctfxf2.c: Likewise.
27938         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
27939         * soft-fp/fixdfti.c: Likewise.
27940         * soft-fp/fixsfti.c: Likewise.
27941         * soft-fp/fixtfti.c: Likewise.
27942         * soft-fp/fixunsdfti.c: Likewise.
27943         * soft-fp/fixunssfti.c: Likewise.
27944         * soft-fp/fixunstfti.c: Likewise.
27945         * soft-fp/floattidf.c: Likewise.
27946         * soft-fp/floattisf.c: Likewise.
27947         * soft-fp/floattitf.c: Likewise.
27948         * soft-fp/floatuntidf.c: Likewise.
27949         * soft-fp/floatuntisf.c: Likewise.
27950         * soft-fp/floatuntitf.c: Likewise.
27951         * soft-fp/trunctfxf2.c: Likewise.
27953 2013-10-10  David S. Miller  <davem@davemloft.net>
27955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27957 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
27959         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27960         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
27961         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
27962         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
27963         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
27964         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
27965         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
27967         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
27968         for NaNs before doing comparisons on argument.
27969         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27970         Likewise.
27972 2013-10-10  Will Newton  <will.newton@linaro.org>
27974         * malloc/hooks.c (memalign_check): Ensure the value of bytes
27975         passed to _int_memalign does not overflow.
27977 2013-10-10  Torvald Riegel  <triegel@redhat.com>
27979         * scripts/bench.pl: Add include-sources directive.
27980         * benchtests/README: Update documentation.
27982 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
27984         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
27985         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
27986         instead of FP_INIT_ROUNDMODE.
27987         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
27988         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
27990         [BZ #16034]
27991         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
27992         copy class of input value.
27993         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
27994         not handle exceptions.
27995         * soft-fp/negsf2.c (__negsf2): Likewise.
27996         * soft-fp/negtf2.c (__negtf2): Likewise.
27997         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
27999 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
28001         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
28002         semicolon.  From Linux kernel.
28004 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
28006         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
28008 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
28010         [BZ #156]
28011         * manual/socket.texi: Added statement about buffer
28012         for gethostbyname2_r.
28014 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
28016         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
28017         Use .p2align directive instead, throughout.
28018         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28019         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28020         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
28021         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28022         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28023         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
28024         * sysdeps/x86_64/strchr.S: Likewise.
28025         * sysdeps/x86_64/strrchr.S: Likewise.
28027 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
28029         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
28031         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
28033         * sysdeps/generic/math_private.h (__mpsin1): Remove
28034         declaration.
28035         (__mpcos1): Likewise.
28036         (__mpsin): New argument __range_reduce.
28037         (__mpcos): Likewise.
28038         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28039         (slow): Use __mpsin and __mpcos.
28040         (slow1): Likewise.
28041         (slow2): Likewise.
28042         (sloww): Likewise.
28043         (sloww1): Likewise.
28044         (sloww2): Likewise.
28045         (bsloww): Likewise.
28046         (bsloww1): Likewise.
28047         (bsloww2): Likewise.
28048         (cslow2): Likewise.
28049         (csloww): Likewise.
28050         (csloww1): Likewise.
28051         (csloww2): Likewise.
28052         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
28053         range_reduce.  Merge in __mpsin1.
28054         (__mpcos): Likewise.
28055         (__mpsin1): Remove.
28056         (__mpcos1): Likewise.
28058 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
28060         * locale/loadlocale.c (_nl_intern_locale_data): Use
28061         LOCFILE_ALIGNED_P.
28062         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
28063         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
28064         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
28065         obstack data is appropriately aligned.
28066         (obstack_int32_grow_fast): Likewise.
28067         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
28068         * locale/programs/locfile.c (add_locale_uint32): Likewise.
28069         (add_locale_uint32_array): Likewise.
28071 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28073         * benchtests/Makefile: Remove ARGLIST and RET variables.
28074         ($(objpfx)bench-%.c): Pass only function name to the script.
28075         * benchtests/README: Update documentation.
28076         * benchtests/acos-inputs: Add new directives.
28077         * benchtests/acosh-inputs: Likewise.
28078         * benchtests/asin-inputs: Likewise.
28079         * benchtests/asinh-inputs: Likewise.
28080         * benchtests/atan-inputs: Likewise.
28081         * benchtests/atanh-inputs: Likewise.
28082         * benchtests/cos-inputs: Likewise.
28083         * benchtests/cosh-inputs: Likewise.
28084         * benchtests/exp-inputs: Likewise.
28085         * benchtests/log-inputs: Likewise.
28086         * benchtests/pow-inputs: Likewise.
28087         * benchtests/rint-inputs: Likewise.
28088         * benchtests/sin-inputs: Likewise.
28089         * benchtests/sinh-inputs: Likewise.
28090         * benchtests/tan-inputs: Likewise.
28091         * benchtests/tanh-inputs: Likewise.
28092         * scripts/bench.pl: Add support for new directives.
28094 2013-10-07  Alan Modra  <amodra@gmail.com>
28096         * README: Fix careless merge.
28098 2013-10-05  Alan Modra  <amodra@gmail.com>
28100         * NEWS: Mention powerpc64le support and bugs fixed.
28101         * README: Both big-endian and little-endian powerpc64 supported.
28103 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28105         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
28106         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
28107         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
28108         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
28110 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
28112         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
28113         match prototype.
28115 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
28117         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
28118         Move -mhard-float appending from
28119         ports/sysdeps/powerpc/powerpc32/Makefile.
28120         [$(with-fp) = yes] (ASFLAGS): Likewise.
28121         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
28122         * sysdeps/powerpc/nofpu: Move directory from
28123         ports/sysdeps/powerpc/nofpu.
28124         * sysdeps/powerpc/soft-fp: Move directory from
28125         ports/sysdeps/powerpc/soft-fp.
28126         * sysdeps/powerpc/powerpc32/405: Move directory from
28127         ports/sysdeps/powerpc/powerpc32/405.
28128         * sysdeps/powerpc/powerpc32/440: Move directory from
28129         ports/sysdeps/powerpc/powerpc32/440.
28130         * sysdeps/powerpc/powerpc32/464: Move directory from
28131         ports/sysdeps/powerpc/powerpc32/464.
28132         * sysdeps/powerpc/powerpc32/476: Move directory from
28133         ports/sysdeps/powerpc/powerpc32/476.
28134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
28135         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
28136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
28137         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
28138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
28139         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
28140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
28141         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
28142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
28143         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
28144         * README: Update for powerpc-*-linux-gnu software floating point
28145         support in libc.
28147         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
28148         case to powerpc/powerpc32*.
28149         * sysdeps/unix/sysv/linux/configure: Regenerated.
28151         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
28152         (_FPU_MASK_OM): Define as 0x04.
28153         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
28154         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
28155         0x00c10080.
28156         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
28157         0x0000003c.
28158         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
28160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
28161         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28162         getcontext_e500.
28163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
28164         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
28165         setcontext_e500.
28166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
28167         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
28168         and setcontext_e500.
28170 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
28172         * locale/iso-3166.def: Update iso-1366.def and related occurrences
28174 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28176         * manual/threads.texi (Default Thread Attributes): Fix typo.
28178 2013-10-04  Will Newton  <will.newton@linaro.org>
28180         * malloc/Makefile: Add tst-memalign.
28181         * malloc/tst-memalign.c: New file.
28183         * malloc/tst-posix_memalign.c: Add comments.
28184         (do_test): Add comments and call free on all potentially
28185         allocated pointers. Add space after cast.
28187         * malloc/tst-pvalloc.c: Add comments.
28188         (do_test): Add comments and call free on all potentially
28189         allocated pointers. Remove duplicate check for NULL pointer.
28190         Add space after cast.
28192         * malloc/tst-valloc.c: Add comments.
28193         (do_test): Add comments and call free on all potentially
28194         allocated pointers. Remove duplicate check for NULL pointer.
28195         Add space after cast.
28197 2013-10-04  Alan Modra  <amodra@gmail.com>
28199         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28200         Use stdint types in rather than __attribute__((mode())).
28201         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28203 2013-10-04  Alan Modra  <amodra@gmail.com>
28205         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28206         Correct handling of unaligned relocs for little-endian.
28207         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28209 2013-10-04  Alan Modra  <amodra@gmail.com>
28211         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
28212         * configure: Regenerate.
28213         * nptl/shlib-versions: Powerpc*le starts at 2.18.
28214         * shlib-versions: Likewise.
28216 2013-10-04  Alan Modra  <amodra@gmail.com>
28218         * string/tester.c (test_memrchr): Increment reported test cycle.
28220 2013-10-04  Alan Modra  <amodra@gmail.com>
28222         * string/test-memcpy.c (do_one_test): When reporting errors, print
28223         string address and don't overrun end of string.
28225 2013-10-04  Alan Modra  <amodra@gmail.com>
28227         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
28228         insrdi.  Make better use of reg selection to speed exit slightly.
28229         Schedule entry path a little better.  Remove useless "are we done"
28230         checks on entry to main loop.  Handle wrapping around zero address.
28231         Correct main loop count.  Handle single left-over word from main
28232         loop inline rather than by using loop_small.  Remove extra word
28233         case in loop_small caused by wrong loop count.  Add little-endian
28234         support.
28235         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
28236         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
28237         cache hint.
28238         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
28239         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
28240         support.  Avoid rlwimi.
28241         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
28243 2013-10-04  Alan Modra  <amodra@gmail.com>
28245         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
28246         insrdi.  Formatting.
28247         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
28248         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28249         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28250         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
28251         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28252         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
28254 2013-10-04  Alan Modra  <amodra@gmail.com>
28256         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
28257         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28258         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
28259         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
28260         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
28261         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
28262         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28263         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28264         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
28265         use of regs.  Use power7 mtocrf.  Tidy function tails.
28267 2013-10-04  Alan Modra  <amodra@gmail.com>
28269         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
28270         Formatting.  Consistently use rXXX register defines or rN defines.
28271         Use early exit labels that avoid restoring unused non-volatile regs.
28272         Make cr field use more consistent with rWORDn compares.  Rename
28273         regs used as shift registers for unaligned loop, using rN defines
28274         for short lifetime/multiple use regs.
28275         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
28276         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
28277         addi 1,1,64 to pop stack frame.  Simplify return value code.
28278         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28280 2013-10-04  Alan Modra  <amodra@gmail.com>
28282         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
28283         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
28284         rather than rlwimi.
28285         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
28286         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
28287         little-endian support.  Correct typos.
28288         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
28289         rather than rlwimi.
28290         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
28291         in loop and entry code to keep "and." results.
28292         (strchr): Add little-endian support.  Comment.  Move cntlzd
28293         earlier in tail.
28294         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
28296 2013-10-04  Alan Modra  <amodra@gmail.com>
28298         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
28299         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
28300         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
28301         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
28303 2013-10-04  Alan Modra  <amodra@gmail.com>
28305         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
28306         (rTMP): Define as r11.
28307         (strcmp): Add little-endian support.  Optimise tail.
28308         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
28309         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
28310         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
28311         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
28312         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
28313         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28314         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
28316 2013-10-04  Alan Modra  <amodra@gmail.com>
28318         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
28319         little-endian support.  Remove unnecessary "are we done" tests.
28320         Handle "s" wrapping around zero and extremely large "size".
28321         Correct main loop count.  Handle single left-over word from main
28322         loop inline rather than by using small_loop.  Correct comments.
28323         Delete "zero" tail, use "end_max" instead.
28324         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
28326 2013-10-04  Alan Modra  <amodra@gmail.com>
28328         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
28329         support.  Don't branch over align.
28330         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
28331         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
28332         support.  Rearrange tmp reg use to suit.  Comment.
28333         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
28335 2013-10-04  Alan Modra  <amodra@gmail.com>
28337         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
28339 2013-10-04  Alan Modra  <amodra@gmail.com>
28341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
28342         conditional form of branch and link when obtaining pc.
28343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28345 2013-10-04  Alan Modra  <amodra@gmail.com>
28347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
28348         HIWORD/LOWORD.
28349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
28350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
28352 2013-10-04  Alan Modra  <amodra@gmail.com>
28354         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
28355         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
28356         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28357         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
28358         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28359         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28360         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
28361         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28362         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28363         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
28365 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28366             Alistair Popple <alistair@ozlabs.au.ibm.com>
28367             Alan Modra <amodra@gmail.com>
28369         [BZ #15723]
28370         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
28371         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
28372         _dl_hwcap access for little-endian.
28373         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
28374         destroy vmx regs when saving unaligned.
28375         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
28376         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
28377         destroy vmx regs when saving unaligned.
28379 2013-10-04  Alan Modra  <amodra@gmail.com>
28381         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
28382         Don't use a union to pack hi/low value.
28384 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28386         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
28387         for little-endian.
28388         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
28389         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
28390         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28391         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
28392         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
28394 2013-10-04  Alan Modra  <amodra@gmail.com>
28396         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
28397         constants to usual value for .cst8 section, and remove redundant
28398         high address load.
28399         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
28400         constant for 0x1p52.  Load little-endian words of double from
28401         correct stack offsets.
28403 2013-10-04  Alan Modra  <amodra@gmail.com>
28405         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
28406         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
28407         words of double from correct stack offsets.
28408         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28409         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
28410         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
28411         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
28412         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
28413         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
28414         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
28415         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28416         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28417         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
28418         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
28419         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
28420         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28421         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28422         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28423         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
28424         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28426 2013-10-04  Alan Modra  <amodra@gmail.com>
28428         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
28429         64-bit int/double union.
28430         (_FPU_SETCW): Likewise.
28431         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
28432         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
28434 2013-10-04  Alan Modra  <amodra@gmail.com>
28436         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
28437         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
28439 2013-10-04  Alan Modra  <amodra@gmail.com>
28441         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
28442         use vector int constants.
28443         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
28445 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28447         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
28448         array with long long.
28449         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
28450         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
28451         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
28452         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
28453         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
28454         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
28455         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
28456         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
28457         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
28458         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
28459         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
28460         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
28461         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
28463 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
28465         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
28466         (__signbit): Likewise.  Correct for little-endian.
28467         (__signbitl): Call __signbit.
28468         (lrint): Correct for little-endian.
28469         (lrintf): Call lrint.
28471 2013-10-04  Alan Modra  <amodra@gmail.com>
28473         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
28474         union 32-bit int array member with 64-bit int array.
28475         (t515, tm256): Double rather than long double.
28476         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
28478 2013-10-04  Alan Modra  <amodra@gmail.com>
28480         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
28481         Delete.
28482         (IEEE854_LONG_DOUBLE_BIAS): Delete.
28483         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
28484         version of math_ldbl.h.
28486 2013-10-04  Alan Modra  <amodra@gmail.com>
28488         [BZ #15734], [BZ #15735]
28489         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
28490         all uses of ieee875 long double macros and unions.  Simplify test
28491         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
28492         ldbl_extract_mantissa value for ix,iy exponents.  Properly
28493         normalize after ldbl_extract_mantissa, and don't add hidden bit
28494         already handled.  Don't treat low word of ieee854 mantissa like
28495         low word of IBM long double and mask off bit when testing for
28496         zero.
28497         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
28498         all uses of ieee875 long double macros and unions.  Simplify tests
28499         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
28500         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
28501         two1022, instead use their values.  Recognise that tests for large
28502         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
28503         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
28504         Rewrite all uses of ieee875 long double macros and unions.  Simplify
28505         test for 0.0L and nan.  Correct negation.
28506         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
28507         ieee875 long double macros and unions.  Correct output for large
28508         magnitude x.  Correct absolute value calculation.
28509         (__erfcl): Likewise.
28510         * math/libm-test.inc: Add tests for errors discovered in IBM long
28511         double versions of fmodl, remainderl, erfl and erfcl.
28513 2013-10-04  Alan Modra  <amodra@gmail.com>
28515         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
28516         all uses of ieee854 long double macros and unions.  Simplify tests
28517         for long doubles that are fully specified by the high double.
28518         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28519         Likewise.
28520         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
28521         Remove dead code too.
28522         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
28523         (__ieee754_ynl): Likewise.
28524         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
28525         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
28526         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
28527         Remove dead code too.
28528         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
28529         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
28530         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
28531         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
28532         Simplify.
28533         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
28534         Simplify.
28535         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
28536         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
28537         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
28538         Comment on variable precision.
28539         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
28540         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28541         Likewise.
28542         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
28543         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28544         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28545         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
28546         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
28548 2013-10-04  Alan Modra  <amodra@gmail.com>
28550         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
28551         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
28552         all uses of ieee854 long double macros and unions.
28553         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
28554         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
28555         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
28556         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
28557         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
28558         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
28559         Likewise.
28560         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
28561         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
28562         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
28563         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
28564         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
28565         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
28566         Simplify sign and nan test too.
28567         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
28568         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
28569         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
28570         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
28571         Likewise.
28572         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
28573         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
28574         Likewise.
28575         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28576         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28577         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
28578         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
28579         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
28580         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
28582 2013-10-04  Alan Modra  <amodra@gmail.com>
28584         * stdio-common/printf_size.c (__printf_size): Don't use
28585         union ieee854_long_double in fpnum union.
28586         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
28587         signbit macro to retrieve sign from long double.
28588         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
28589         retrieve sign from long double.
28590         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
28591         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
28592         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
28593         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
28594         * math/test-misc.c (main): Don't use union ieee854_long_double.
28596 2013-10-04  Alan Modra  <amodra@gmail.com>
28598         [BZ #15680]
28599         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
28600         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
28601         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
28602         calculation.  Remove unnecessary test for denormal exponent.
28603         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
28604         Correct handling of denormals.  Avoid undefined shift behaviour.
28605         Correct normalisation of low mantissa when low double is denormal.
28606         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
28607         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
28608         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
28609         Correct normalisation of low mantissa.  Test for overflow of high
28610         mantissa and normalise.
28611         (ldbl_nearbyint): Use more readable constant for two52.
28612         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
28613         (__mpn_construct_long_double): Fix test for overflow of high
28614         mantissa and correct normalisation.  Avoid undefined shift.
28616 2013-10-04  Alan Modra  <amodra@gmail.com>
28618         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28619         (union ibm_extended_long_double): Define as an array of ieee754_double.
28620         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
28621         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
28622         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
28623         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28624         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28625         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
28626         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28627         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
28628         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28629         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
28630         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28632 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
28634         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
28635         page size instead of calling getpagesize.
28637         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
28638         (LOCFILE_ALIGN_MASK): Likewise.
28639         (LOCFILE_ALIGN_UP): Likewise.
28640         (LOCFILE_ALIGNED_P): Likewise.
28641         * locale/programs/ld-collate.c (collate_output): Use the new
28642         macros instead of __alignof__ (int32_t).
28643         * locale/weight.h (findidx): Likewise.
28645 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
28647         [BZ #431]
28648         * manual/string.texi: Fix strncat and wcsncat.
28650 2013-10-03  Brooks Moses  <bmoses@google.com>
28652         [BZ #15915]
28653         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
28654         * Makerules: ...here, and adjust associated comments.
28656 2013-10-02  Will Newton  <will.newton@linaro.org>
28658         * malloc/Makefile: Add tst-pvalloc.
28659         * malloc/tst-pvalloc.c: New file.
28661 2013-10-02  Will Newton  <will.newton@linaro.org>
28663         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
28664         improve test coverage.
28666 2013-10-02  Will Newton  <will.newton@linaro.org>
28668         * malloc/Makefile: Add tst-posix_memalign.
28669         * malloc/tst-posix_memalign.c: New file.
28671 2013-10-01  Eric Blake  <eblake@redhat.com>
28673         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
28674         Use __THROWNL rather than __THROW on static functions.
28676 2013-09-30  Petr Machata  <pmachata@redhat.com>
28678         * elf/elf.h (R_AARCH64_ABS16): New macro.
28679         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
28680         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
28681         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
28682         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
28683         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
28684         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
28685         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
28686         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
28687         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
28688         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
28689         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
28690         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
28691         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
28692         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
28693         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
28694         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
28695         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
28696         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
28697         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
28698         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
28699         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
28700         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
28701         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
28702         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
28703         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
28704         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
28705         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
28706         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
28707         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
28708         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
28709         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
28710         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
28711         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
28712         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
28713         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
28714         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
28715         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
28716         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
28717         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
28718         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
28719         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
28720         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
28721         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
28722         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
28723         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
28724         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
28725         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
28726         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
28727         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
28728         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
28729         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
28730         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
28731         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
28732         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
28733         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
28734         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
28735         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
28736         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
28737         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
28738         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
28739         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
28740         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
28741         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
28742         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
28743         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
28744         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
28745         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
28746         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
28747         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
28748         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
28749         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
28750         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
28751         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
28752         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
28753         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
28754         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
28755         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
28756         (R_AARCH64_TLSDESC_LDR): Likewise.
28757         (R_AARCH64_TLSDESC_ADD): Likewise.
28758         (R_AARCH64_TLSDESC_CALL): Likewise.
28760 2013-09-30  Andreas Schwab  <schwab@suse.de>
28762         [BZ #15048]
28763         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
28764         the nss database lookup.
28765         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28766         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28768 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
28770         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
28772 2013-09-28  P. J. McDermott  <pj@pehjota.net>
28774         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
28775         ${Bash-specific parameter/pattern/string} parameter expansion.
28776         * sysdeps/unix/make-syscalls.sh: Likewise.
28778 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28780         * sysdeps/sh/stackguard-macros.h: New file.
28782 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
28784         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
28785         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
28786         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
28787         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
28788         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28789         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
28791 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28793         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
28794         Fix thread ID register.
28796 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
28798         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
28799         [POSIX || UNIX98]: Require rather than permitting all symbols from
28800         <time.h>.
28801         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
28802         element of struct sched_param.
28803         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
28804         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
28805         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
28806         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
28807         constant.
28809 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
28811         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
28812         argument calculation.
28814 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28816         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
28817         Expect macro.
28818         [POSIX] (pthread_attr_t): Do not require type.
28819         [POSIX] (pthread_cond_t): Likewise.
28820         [POSIX] (pthread_condattr_t): Likewise.
28821         [POSIX] (pthread_key_t): Likewise.
28822         [POSIX] (pthread_mutex_t): Likewise.
28823         [POSIX] (pthread_mutexattr_t): Likewise.
28824         [POSIX] (pthread_once_t): Likewise.
28825         [POSIX] (pthread_t): Likewise.
28826         [POSIX-based standards] (pthread_atfork): Expect function.
28828 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
28829             Richard Sandiford  <richard@codesourcery.com>
28831         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
28832         (swap_endianness_p): New extern variable.
28833         (set_big_endian): New inline function.
28834         (maybe_swap_uint32): Likewise.
28835         (maybe_swap_uint32_array): Likewise.
28836         (maybe_swap_uint32_obstack): Likewise.
28837         * locale/programs/locfile.c: Include <stdbool.h>.
28838         (swap_endianness_p): New variable.
28839         (add_locale_uint32): Call maybe_swap_uint32.
28840         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
28841         (write_locale_data): Call maybe_swap_uint32_array.
28842         * locale/programs/ld-collate.c (obstack_int32_grow): Call
28843         maybe_swap_uint32.
28844         (obstack_int32_grow_fast): Likewise.
28845         (output_weightwc): Call maybe_swap_uint32_obstack.
28846         (collate_output): Likewise.
28847         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
28848         (OPT_LITTLE_ENDIAN): Likewise.
28849         (options): Add --little-endian and --big-endian options.
28850         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
28851         * locale/programs/locarchive.c: Include "locfile.h".
28852         (GET): New macro.
28853         (SET): Likewise.
28854         (INC): Likewise.
28855         (create_archive): Use the new macros to access fields of
28856         structures directly mapped from or written to locale archives.
28857         (oldlocrecentcmp): Likewise.
28858         (enlarge_archive): Likewise.
28859         (insert_name): Likewise.
28860         (add_alias): Likewise.
28861         (add_locale): Likewise.
28862         (delete_locales_from_archive): Likewise.
28863         (show_archive_content): Likewise.
28864         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
28865         locale data.
28867 2013-09-24  Roland McGrath  <roland@hack.frob.com>
28869         * manual/freemanuals.texi: Updated from (newly) canonical copy at
28870         http://www.gnu.org/doc/freemanuals.texi.
28871         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
28873 2013-09-24  Will Newton  <will.newton@linaro.org>
28875         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
28876         macro.
28878 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
28880         * locale/hashval.h (compute_hashval): Interpret bytes of key as
28881         unsigned char.
28883 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
28885         * manual/threads.texi (POSIX Threads): Fix a typo.
28887 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28889         [BZ #14547]
28890         * string/tst-strcoll-overflow.c: New test case.
28891         * string/Makefile (xtests): Add tst-strcoll-overflow.
28892         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
28893         cache if string sizes may cause integer overflow.
28895         [BZ #14547]
28896         * string/strcoll_l.c (coll_seq): New members rule, idx,
28897         save_idx and back_us.
28898         (get_next_seq_nocache): New function.
28899         (do_compare_nocache): New function.
28900         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
28901         when malloc fails.
28903 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
28905         [BZ #15754]
28906         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
28907         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
28908         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
28910         [BZ #15754]
28911         * elf/Makefile (tests): Add tst-ptrguard1.
28912         (tests-static): Add tst-ptrguard1-static.
28913         (tst-ptrguard1-ARGS): Define.
28914         (tst-ptrguard1-static-ARGS): Define.
28915         * elf/tst-ptrguard1.c: New file.
28916         * elf/tst-ptrguard1-static.c: New file.
28917         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
28918         * sysdeps/i386/stackguard-macros.h: Likewise.
28919         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28920         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28921         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28922         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28923         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28924         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28926 2013-09-23  Hector Marco  <hecmargi@upv.es>
28927             Ismael Ripoll  <iripoll@disca.upv.es>
28928             Carlos O'Donell  <carlos@redhat.com>
28930         [BZ #15754]
28931         * sysdeps/generic/stackguard-macros.h: Define
28932         __pointer_chk_guard_local and POINTER_CHK_GUARD.
28933         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
28934         Define __pointer_chk_guard_local.
28935         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
28936         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
28938 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
28940         [BZ #15859]
28941         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
28943 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
28945         * include/string.h (__ffs): Declare as hidden.
28946         * string/ffs.c (__ffs): Define as hidden.
28947         * sysdeps/i386/ffs.c (__ffs): Likewise.
28948         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28949         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
28950         * sysdeps/s390/ffs.c (__ffs): Likewise.
28951         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
28953 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
28955         * NEWS: Mention malloc probes.
28957         * malloc/arena.c (new_heap): New memory_heap_new probe.
28958         (grow_heap): New memory_heap_more probe.
28959         (shrink_heap): New memory_heap_less probe.
28960         (heap_trim): New memory_heap_free probe.
28961         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
28962         (systrim): New memory_sbrk_less probe.
28963         * manual/probes.texi: Document them.
28965         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
28966         * manual/probes.texi: Document it.
28968         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
28969         (__libc_realloc): Add memory_realloc_retry probe.
28970         (__libc_memalign): Add memory_memalign_retry probe.
28971         (__libc_valloc): Add memory_valloc_retry probe.
28972         (__libc_pvalloc): Add memory_pvalloc_retry probe.
28973         (__libc_calloc): Add memory_calloc_retry probe.
28974         * manual/probes.texi: Document them.
28976         * malloc/arena.c (get_free_list): Add probe
28977         memory_arena_reuse_free_list.
28978         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
28979         and memory_arena_reuse.
28980         (arena_get2) [!PER_THREAD]: Likewise.
28981         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
28982         memory_arena_reuse_realloc.
28983         * manual/probes.texi: Document them.
28985         * malloc/malloc.c (__libc_free): Add
28986         memory_mallopt_free_dyn_thresholds probe.
28987         (__libc_mallopt): Add multiple memory_mallopt probes.
28988         * manual/probes.texi: Document them.
28990         * malloc/malloc.c: Include stap-probe.h.
28991         (__libc_mallopt): Add memory_mallopt probe.
28992         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
28993         * manual/probes.texi: New.
28994         * manual/Makefile (chapters): Add probes.
28995         * manual/threads.texi: Set next node.
28997 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
28999         [BZ #15963, #13985]
29000         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
29001         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
29002         Add `Chinese' to `nan' entry name.
29004 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29006         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
29007         (POLYNOMIAL): Likewise.
29008         (TAYLOR_SINCOS): Likewise.
29009         (TAYLOR_SLOW): Likewise.
29010         (__sin): Use TAYLOR_SINCOS.
29011         (__cos): Likewise.
29012         (slow): Use TAYLOR_SLOW.
29013         (sloww): Likewise.
29014         (bsloww): Likewise.
29015         (csloww): Likewise.
29017 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29019         * stdlib/strtod_l.c: Fix buffer overrun.
29021 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29023         * benchtests/Makefile (bench): Add sincos.
29024         * benchtests/bench-sincos.c: New file.
29026         * math/libm-test.inc (cos_test_data): New test inputs.
29027         (sin_test_data): Likewise.
29029         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
29030         macro.
29031         (__sin): Use it.
29032         (__cos): Likewise.
29033         (slow1): Likewise.
29034         (slow2): Likewise.
29035         (sloww1): Likewise.
29036         (sloww2): Likewise.
29037         (bsloww1): Likewise.
29038         (bsloww2): Likewise.
29039         (cslow2): Likewise.
29040         (csloww1): Likewise.
29041         (csloww2): Likewise.
29043         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
29044         function.
29045         (__sin): Use it.
29046         (__cos): Likewise.
29048         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
29049         gotos.
29050         (__cos): Likewise.
29052 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
29054         * config.h.in (HAVE_MIPS_NAN2008): New macro.
29055         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
29056         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
29057         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
29058         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
29059         * elf/cache.c (print_entry): Handle the new cache flags.
29061 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29062             Aldy Hernandez  <aldyh@redhat.com>
29064         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
29065         Change condition to [_SOFT_FLOAT].
29066         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
29067         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
29068         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
29069         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
29070         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
29071         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
29072         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
29073         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
29074         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
29075         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
29076         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
29077         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
29078         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
29079         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
29080         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
29081         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
29082         declaration.
29084 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
29086         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
29087         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29088         (__longjmp): Use LOAD_GP to load saved GPRs.
29089         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
29090         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
29091         (__sigsetjmp): Use SAVE_GP to save GPRs.
29093         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
29094         Do not append -msoft-float.
29095         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
29097 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29099         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
29101 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
29103         [BZ #15966]
29104         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
29105         (_FPU_GETCW): Use initial "__" on variable and field names but not
29106         on macro parameter name.
29107         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
29108         parentheses around reference to macro parameter.
29110 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
29112         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
29113         prototype.
29114         (ctype_startup): Use uint32_t in cast and sizeof for
29115         ctype->charnames.
29117 2013-09-11  Jia Liu  <proljc@gmail.com>
29119         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
29120         __daddr_t_defined.
29121         [__FreeBSD__]: Likewise.
29123 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
29125         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
29126         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
29127         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
29128         (strchr): Remove __strchr_sse42 ifunc selection.
29129         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
29130         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
29132 2013-09-11  Will Newton  <will.newton@linaro.org>
29134         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
29135         parameter to RES. Remove hardcoded 1000 value.
29136         * benchtests/bench-skeleton.c (main): Pass RES parameter
29137         to TIMING_INIT and multiply result by 1000.
29139 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29143 2013-09-11  Andreas Schwab  <schwab@suse.de>
29145         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29146         if not defined.
29147         (O_TMPFILE) [__USE_GNU]: Define.
29148         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
29149         Define.
29151 2013-09-11  Will Newton  <will.newton@linaro.org>
29153         [BZ #15857]
29154         * malloc/malloc.c (__libc_memalign): Check the value of bytes
29155         does not overflow.
29157 2013-09-11  Will Newton  <will.newton@linaro.org>
29159         [BZ #15856]
29160         * malloc/malloc.c (__libc_valloc): Check the value of bytes
29161         does not overflow.
29163 2013-09-11  Will Newton  <will.newton@linaro.org>
29165         [BZ #15855]
29166         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
29167         does not overflow.
29169 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
29171         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
29172         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29173         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29174         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29175         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29177 2013-09-10  Allan McRae  <allan@archlinux.org>
29179         [BZ #15748]
29180         * manual/arith.texi (Parsing of Floats): Clarify
29181         cross-reference.
29183         [BZ #15849]
29184         * manual/install.texi (Running make install): Mention
29185         --enable-pt-chown.
29186         * INSTALL: Regenerated.
29188 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
29190         * csu/init-first.c (_init): Remove the !SHARED condition around
29191         FPU control word initialization.
29192         * elf/dl-support.c (_dl_fpu_control): New variable.
29193         (_dl_aux_init) <AT_FPUCW>: Initialize it.
29194         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
29195         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
29196         * math/test-fpucw-static.c: New file.
29197         * math/test-fpucw-ieee.c: New file.
29198         * math/test-fpucw-ieee-static.c: New file.
29199         * math/Makefile (tests): Add `test-fpucw-ieee' and
29200         `$(tests-static)'.
29201         (tests-static): New variable.
29202         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
29203         dependency to...
29204         [($(build-shared),yes)]
29205         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
29206         ... this.
29207         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
29208         New dependency.
29210 2013-09-09  Allan McRae  <allan@archlinux.org>
29212         [BZ #15939]
29213         * manual/string.texi (Collation Functions): Fix typo in
29214         strcoll example.
29215         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
29217         [BZ #15893]
29218         * stdlib/isomac.c (get_null_defines): Fix memory leak.
29220         [BZ #15892]
29221         * libio/memstream.c (open_memstream): Fix memory leak.
29222         * libio/wmemstream.c (open_wmemstream): Likewise.
29224         [BZ #15895]
29225         * nscd/netgroupcache.c: Fix nesting of ifdefs.
29227 2013-09-09  Will Newton  <will.newton@linaro.org>
29229         * malloc/Makefile: Add tst-realloc to tests.
29230         * malloc/tst-realloc.c: New file.
29232 2013-09-09  Allan McRae  <allan@archlinux.org>
29234         [BZ #15844]
29235         * COPYING: Update from GNU website to fix FSF address.
29236         * COPYING.LIB: Likewise.
29238 2013-09-06  David S. Miller  <davem@davemloft.net>
29240         * po/zh_TW.po: Update Chinese (traditional) translation from
29241         translation project.
29243 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
29244             Joseph Myers  <joseph@codesourcery.com>
29246         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
29247         "localeinfo.h".
29248         (obstack_chunk_alloc): New macro.
29249         (obstack_chunk_free): Likewise.
29250         (record_offset): New function.
29251         (init_locale_data): Likewise.
29252         (align_locale_data): Likewise.
29253         (add_locale_empty): Likewise.
29254         (add_locale_raw_data): Likewise.
29255         (add_locale_raw_obstack): Likewise.
29256         (add_locale_string): Likewise.
29257         (add_locale_wstring): Likewise.
29258         (add_locale_uint32): Likewise.
29259         (add_locale_uint32_array): Likewise.
29260         (add_locale_char): Likewise.
29261         (start_locale_structure): Likewise.
29262         (end_locale_structure): Likewise.
29263         (start_locale_prelude): Likewise.
29264         (end_locale_prelude): Likewise.
29265         (write_locale_data): Take locale_file structure rather than an
29266         iovec.
29267         * locale/programs/locfile.h: Include "obstack.h".
29268         (struct locale_file): Change to store locale file contents instead
29269         of header.
29270         (init_locale_data): New prototype.
29271         (align_locale_data): Likewise.
29272         (add_locale_empty): Likewise.
29273         (add_locale_raw_data): Likewise.
29274         (add_locale_raw_obstack): Likewise.
29275         (add_locale_string): Likewise.
29276         (add_locale_wstring): Likewise.
29277         (add_locale_uint32): Likewise.
29278         (add_locale_uint32_array): Likewise.
29279         (add_locale_char): Likewise.
29280         (start_locale_structure): Likewise.
29281         (end_locale_structure): Likewise.
29282         (start_locale_prelude): Likewise.
29283         (end_locale_prelude): Likewise.
29284         (write_locale_data): Update prototype.
29285         * locale/programs/3level.h (struct TABLE): Remove result field.
29286         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
29287         Use new locale_file interface.
29288         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
29289         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
29290         * locale/programs/ld-address.c (address_output): Use new
29291         locale_file interface.
29292         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
29293         NO_ADD_LOCALE.
29294         (collate_finish): Don't call collseq_table_finalize.
29295         (collate_output): Use new locale_file interface.
29296         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
29297         in file.
29298         (NO_FINALIZE): Change to NO_ADD_LOCALE.
29299         (TABLE): Move defines earlier in file.
29300         (ELEMENT): Likewise.
29301         (DEFAULT): Likewise.
29302         (wctrans_table_add): Move macro and inline function earlier in
29303         file.
29304         (struct wctype_table): Move type earlier in file.
29305         (add_locale_wctype_table): New static prototype.
29306         (struct locale_ctype_t): Use logical types instead of struct iovec
29307         pointers for members.
29308         (ctype_output): Use new locale_file interface.
29309         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
29310         new locale_file interface.
29311         (allocate_arrays): Update for use of new locale_file interface.
29312         * locale/programs/ld-identification.c (identification_output): Use
29313         new locale_file interface.
29314         * locale/programs/ld-measurement.c (measurement_output): Likewise.
29315         * locale/programs/ld-messages.c (messages_output): Likewise.
29316         * locale/programs/ld-monetary.c (monetary_output): Likewise.
29317         * locale/programs/ld-name.c (name_output): Likewise.
29318         * locale/programs/ld-numeric.c (numeric_output): Likewise.
29319         * locale/programs/ld-paper.c (paper_output): Likewise.
29320         * locale/programs/ld-telephone.c (telephone_output): Likewise.
29321         * locale/programs/ld-time.c (time_output): Likewise.
29323 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29325         * benchtests/Makefile: Add memrchr benchmark.
29326         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
29327         benchmark as memrchr.
29328         * benchtests/bench-memrchr-ifunc.c: New file.
29329         * benchtests/bench-memrchr.c: New file.
29331 2013-09-06   Will Newton  <will.newton@linaro.org>
29333         * benchtests/Makefile (string-bench): Add memcpy.
29335 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
29336             Cong Wang  <amwang@redhat.com>
29338         [BZ #15850]
29339         * sysdeps/unix/sysv/linux/bits/in.h
29340         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
29341         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
29342         before __USE_KERNEL_IPV6_DEFS uses.
29343         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
29344         IPPROTO_BEETPH.
29345         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
29346         sockaddr_in6, or ipv6_mreq.
29348 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29350         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
29351         memory access for final bytes in some large inputs.
29352         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
29354 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29356         * string/test-memrchr.c: New file.
29357         * string/test-memrchr-ifunc.c: New file.
29358         * string/Makefile: Add new memrchr testcase.
29360 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
29362         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
29363         fanotify_init returns EPERM.
29365 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29367         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
29368         errors.
29369         (top level): Treat second token from macro or constant entries for
29370         allowed headers as allowed.
29371         * include/complex.h: Condition internal declarations on
29372         [!_ISOMAC].
29373         * include/fenv.h: Condition include of <stdbool.h> and internal
29374         declarations on [!_ISOMAC].
29376 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
29378         [BZ #15923]
29379         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
29381 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
29383         * configure.in (--enable-versioning): Remove configure option.
29384         (libc_cv_asm_symver_directive): Remove configure test.
29385         (libc_cv_ld_version_script_option): Likewise.
29386         (VERSIONING): Remove variable and AC_SUBST.
29387         (DO_VERSIONING): Remove AC_DEFINE.
29388         * configure: Regenerated.
29389         * config.h.in (DO_VERSIONING): Remove macro.
29390         * Makerules [$(versioning) = yes]: Change conditionals to
29391         [$(build-shared) = yes].
29392         * config.make.in (versioning): Remove variable.
29393         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
29394         [$(build-shared) = yes].
29395         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
29396         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
29397         * elf/Makefile [$(versioning) = yes]: Change conditionals to
29398         [$(build-shared) = yes].
29399         * extra-lib.mk [$(versioning) = yes]: Likewise.
29400         * hurd/Makefile [$(versioning) = yes]: Likewise.
29401         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
29402         [SHARED].
29403         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
29404         [SHARED].
29405         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29406         [SHARED && !NO_HIDDEN].
29407         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
29408         [SHARED].
29409         [SHARED && DO_VERSIONING]: Likewise..
29410         * libio/Makefile [$(versioning) = yes]: Change conditionals to
29411         [$(build-shared) = yes].
29412         * manual/install.texi (--disable-versioning): Remove
29413         documentation.
29414         * INSTALL: Regenerated.
29415         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
29416         to [SHARED].
29417         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
29418         [$(build-shared) = yes].
29419         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
29420         * sysdeps/i386/i686/multiarch/strstr-c.c
29421         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
29422         [SHARED && !NO_HIDDEN].
29423         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
29424         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
29425         * sysdeps/powerpc/powerpc32/dl-machine.c
29426         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
29427         * sysdeps/powerpc/powerpc32/sysdep.h
29428         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
29429         to [SHARED && PIC && !NO_HIDDEN].
29430         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
29431         conditional to [SHARED].
29433 2013-09-04   Will Newton  <will.newton@linaro.org>
29435         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
29436         * benchtests/bench-string.h: Include bench-timing.h instead
29437         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
29438         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
29439         call to HP_TIMING_DIFF_INIT.
29440         * benchtests/bench-memccpy.c: Use bench-timing.h macros
29441         instead of hp-timing.h macros.
29442         * benchtests/bench-memchr.c: Likewise.
29443         * benchtests/bench-memcmp.c: Likewise.
29444         * benchtests/bench-memcpy.c: Likewise.
29445         * benchtests/bench-memmem.c: Likewise.
29446         * benchtests/bench-memmove.c: Likewise.
29447         * benchtests/bench-memset.c: Likewise.
29448         * benchtests/bench-rawmemchr.c: Likewise.
29449         * benchtests/bench-strcasecmp.c: Likewise.
29450         * benchtests/bench-strcasestr.c: Likewise.
29451         * benchtests/bench-strcat.c: Likewise.
29452         * benchtests/bench-strchr.c: Likewise.
29453         * benchtests/bench-strcmp.c: Likewise.
29454         * benchtests/bench-strcpy.c: Likewise.
29455         * benchtests/bench-strcpy_chk.c: Likewise.
29456         * benchtests/bench-strlen.c: Likewise.
29457         * benchtests/bench-strncasecmp.c: Likewise.
29458         * benchtests/bench-strncat.c: Likewise.
29459         * benchtests/bench-strncmp.c: Likewise.
29460         * benchtests/bench-strncpy.c: Likewise.
29461         * benchtests/bench-strnlen.c: Likewise.
29462         * benchtests/bench-strpbrk.c: Likewise.
29463         * benchtests/bench-strrchr.c: Likewise.
29464         * benchtests/bench-strspn.c: Likewise.
29465         * benchtests/bench-strstr.c: Likewise.
29467 2013-09-04  Will Newton  <will.newton@linaro.org>
29469         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
29471 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
29473         [BZ #15427]
29474         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
29475         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
29476         * math/libm-test.inc (lgamma_test_data): Add more tests.
29477         * sysdeps/i386/fpu/libm-test-ulps: Update.
29478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29480 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
29482         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
29483         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29484         Add ifunc.
29485         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29486         Add strcmp-sse2-unaligned
29487         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
29489 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29491         * Versions.def (libc): Add GLIBC_2.19.
29493 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
29495         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
29496         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
29498 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
29500         [BZ #14155]
29501         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
29502         intermediate calculations in recurrence.
29503         (__ieee754_ynf): Likewise.
29504         * math/libm-test.inc (jn_test_data): Do not allow spurious
29505         underflow exception.  Add more tests.
29506         (yn_test_data): Add more tests.
29507         * sysdeps/i386/fpu/libm-test-ulps: Update.
29508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29510 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
29512         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
29514 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29516         * csu/init-first.c: Fix then/than typos.
29517         * locale/programs/ld-collate.c: Likewise.
29518         * locale/programs/linereader.h: Likewise.
29519         * manual/charset.texi: Likewise.
29520         * manual/filesys.texi: Likewise.
29521         * manual/stdio.texi: Likewise.
29522         * manual/string.texi: Likewise.
29523         * stdlib/fmtmsg.c: Likewise.
29524         * sysdeps/i386/stpncpy.S: Likewise.
29525         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29526         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
29527         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29528         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29530 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
29532         * elf/dl-open.c: Fix typos.
29533         * iconvdata/gbbig5.c: Likewise.
29534         * iconvdata/iso-2022-jp.c: Likewise.
29535         * iconv/gconv_int.h: Likewise.
29536         * iconv/loop.c: Likewise.
29537         * nis/rpcsvc/nis.h: Likewise.
29538         * resolv/ns_name.c: Likewise.
29539         * stdio-common/vfscanf.c: Likewise.
29540         * streams/stropts.h: Likewise.
29541         * sunrpc/rpc_thread.c: Likewise.
29542         * sysdeps/i386/strpbrk.S: Likewise.
29543         * sysdeps/ieee754/k_standard.c: Likewise.
29544         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29545         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29546         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
29547         * sysdeps/mach/hurd/profil.c: Likewise.
29548         * sysdeps/s390/dl-procinfo.h: Likewise.
29549         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
29550         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
29551         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
29552         * sysdeps/x86_64/dl-trampoline.S: Likewise.
29553         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
29555 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
29557         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
29558         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
29560 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
29562         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
29563         aix specific files.
29564         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
29565         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
29566         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
29567         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
29568         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
29569         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
29570         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
29571         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
29573 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29574             Roland McGrath  <roland@hack.frob.com>
29576         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
29577         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
29579 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29581         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
29582         __executable_start symbol instead of _start.
29584 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
29586         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
29587         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
29588         Move macros to...
29589         * sysdeps/gnu/ldsodefs.h: ... this new file.
29591         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
29592         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
29593         instead of ELFOSABI_LINUX.
29595         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
29596         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
29597         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
29598         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
29599         Likewise.
29600         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
29601         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
29602         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
29603         Likewise.
29604         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
29605         (ibm_extended_long_double): Add ieee_nan member.
29606         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
29607         (do_test): New function.
29609         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
29610         TEST_TRUNC.
29611         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
29612         functions, renamed from truncdfsf_test, trunctfsf_test,
29613         trunctfdf_test.
29614         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
29615         functions.
29616         (do_test): Run all these.
29618 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
29620         * argp/argp-help.c: Fix typos.
29621         * argp/argp-parse.c: Likewise.
29622         * debug/backtracesyms.c: Likewise.
29623         * elf/elf.h: Likewise.
29624         * malloc/malloc.c: Likewise.
29625         * nis/nis_print.c: Likewise.
29626         * resolv/res_comp.c: Likewise.
29627         * stdlib/stdlib.h: Likewise.
29628         * sunrpc/clnt_tcp.c: Likewise.
29629         * sunrpc/clnt_udp.c: Likewise.
29630         * sunrpc/clnt_unix.c: Likewise.
29631         * sysdeps/unix/bsd/ptsname.c: Likewise.
29632         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
29633         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
29634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
29635         Likewise.
29636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
29637         Likewise.
29638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
29639         Likewise.
29640         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29642 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29644         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
29645         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
29647 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
29649         [BZ #15897]
29650         * dlfcn/Makefile (tests): Add bug-dl-leaf.
29651         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
29652         ($(objpfx)bug-dl-leaf): New rule.
29653         ($(objpfx)bug-dl-leaf.so): Likewise.
29654         ($(objpfx)bug-dl-leaf.out): Likewise.
29655         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
29656         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
29657         * dlfcn/bug-dl-leaf.c: New test.
29658         * dlfcn/bug-dl-leaf-lib.c: Likewise.
29659         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
29660         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
29661         (dlclose): Likewise.
29662         (dlmopen): Likewise.
29664 2013-08-27  Roland McGrath  <roland@hack.frob.com>
29666         * include/netdb.h [!_ISOMAC]:
29667         Don't include <tls.h>.
29668         (h_errno, __libc_h_errno): Move declaration and macros out of
29669         [_LIBC_REENTRANT].
29671         * include/resolv.h [_RESOLV_H_]:
29672         Don't include <tls.h>.
29673         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
29674         * resolv/res_libc.c: Don't include <tls.h>.
29675         (_res): Use __attribute__ ((nocommon)) in place of
29676         __attribute__ ((section (".bss"))).
29678         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
29679         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
29681         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
29683         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
29684         only under [SIOCGIFCONF && SIOCGIFNETMASK].
29686         * resolv/res_mkquery.c: Include <sys/time.h>.
29688         * inet/ifreq.c: Moved to ...
29689         * sysdeps/unix/ifreq.c: ... here.
29690         * inet/ifreq.c: New file, true stub version.
29692         * socket/sa_len.c: New file.
29693         * socket/Makefile (aux): Add it.
29694         * sysdeps/unix/sysv/linux/Makefile
29695         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
29696         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
29697         and #include <socket/sa_len.c>.
29698         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
29699         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
29701         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
29702         * bits/socket.h: ... here.
29704         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
29705         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
29706         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
29708 2013-08-27  Andreas Schwab  <schwab@suse.de>
29710         [BZ #15736]
29711         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
29712         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
29713         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
29714         * string/test-strcasecmp.c (test_main): Run tests in several
29715         locales.
29716         * string/test-strncasecmp.c (test_main): Likewise.
29718         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
29719         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
29720         to __strcasecmp_nonascii and __strncasecmp_nonascii.
29721         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
29722         (__strncasecmp_ssse3) [PIC]: Likewise.
29724 2013-08-26  Roland McGrath  <roland@hack.frob.com>
29726         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
29728         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
29729         instead of explicitly declaring xdecrypt.
29730         * nis/nss_nis/nis-publickey.c: Likewise.
29732 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29734         [BZ #15890]
29735         * nscd/aicache.c: Include res_hconf.h.
29736         (addhstaiX): Initialize res_hconf.
29738 2013-08-26  Andreas Schwab  <schwab@suse.de>
29740         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
29741         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
29743 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29745         * nscd/aicache.c (addhstaiX): Fix indentation.
29747 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
29749         * configure.ac: Quote $build_pt_chown test.
29750         * configure: Regenerated.
29752 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
29754         [BZ #15532]
29755         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
29756         * math/s_cexpf.c (__cexpf): Likewise.
29757         * math/s_cexpl.c (__cexpl): Likewise.
29758         * math/libm-test.inc (cexp_test_data): Correct expected return
29759         value for NaN + i0.  Add another test.
29761 2013-08-22  David S. Miller  <davem@davemloft.net>
29763         * po/ca.po: Update Catalan translation from translation project.
29764         * po/uk.po: Add Ukrainian translations from translation project.
29766 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
29768         [BZ #15797]
29769         * math/s_fdim.c (__fdim): Check for infinite arguments if result
29770         is infinite, not alongside NaN test.
29771         * math/s_fdimf.c (__fdimf): Likewise.
29772         * math/s_fdiml.c (__fdiml): Likewise.
29773         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
29774         errno is unchanged.
29776 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
29778         * argp/argp-help.c: Fix typos.
29779         * crypt/speeds.c: Likewise.
29780         * csu/check_fds.c: Likewise.
29781         * elf/dl-load.c: Likewise.
29782         * elf/dl-open.c: Likewise.
29783         * elf/reldep3.c: Likewise.
29784         * elf/reldep.c: Likewise.
29785         * elf/sprof.c: Likewise.
29786         * iconv/iconv_charmap.c: Likewise.
29787         * iconv/skeleton.c: Likewise.
29788         * iconv/strtab.c: Likewise.
29789         * io/lockf64.c: Likewise.
29790         * libio/libioP.h: Likewise.
29791         * resolv/gai_notify.c: Likewise.
29792         * resolv/ns_name.c: Likewise.
29793         * resolv/ns_samedomain.c: Likewise.
29794         * resolv/res_send.c: Likewise.
29795         * stdlib/random.c: Likewise.
29796         * sunrpc/rpc/xdr.h: Likewise.
29797         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
29798         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29799         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29800         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29801         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29802         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29803         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29804         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29805         * sysdeps/mach/hurd/check_fds.c: Likewise.
29806         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29807         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
29808         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29809         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29810         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
29811         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29812         * sysdeps/pthread/aio_notify.c: Likewise.
29813         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
29814         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
29815         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
29816         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
29817         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29819 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29821         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
29822         version if bit_Slow_SSE4_2 is set.
29823         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29824         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29826 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29828         [BZ #15867]
29829         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
29830         trampoline stack frame information.
29831         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
29832         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
29833         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
29834         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
29835         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
29836         * sysdeps/unix/sysv/linux/powerpc/init-first.c
29837         (_libc_vdso_platform_setup): Initialize the signal trampolines.
29838         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
29839         sa_flags value.
29840         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
29841         interrupting a syscall and set with option SA_SIGINFO.
29843 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
29845         [BZ #15531]
29846         * math/s_cproj.c (__cproj): Only return an infinity if one part of
29847         argument is infinite.
29848         * math/s_cprojf.c (__cprojf): Likewise.
29849         * math/s_cprojl.c (__cprojl): Likewise.
29850         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
29851         * math/libm-test.inc (cproj_test_data): Add more tests.
29853         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
29855         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
29856         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
29857         size.  Use __ffs to determine corresponding shift.
29859 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
29860             Roland McGrath  <roland@hack.frob.com>
29862         * Makefile (INSTALL): Remove trailing blank lines from output of
29863         makeinfo.
29865 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29867         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
29868         Align 32 bit compat elf_greg to 8 bytes.
29870 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
29872         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
29874 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29876         * string/strcoll_l.c (coll_seq): New structure.
29877         (get_next_seq_cached): New function.
29878         (get_next_seq): New function.
29879         (do_compare): New function.
29880         (STRCOLL): Use GNU style definition.  Simplify implementation
29881         by using get_next_seq, get_next_seq_cached and do_compare.
29883 2013-08-16  Florian Weimer  <fweimer@redhat.com>
29885         [BZ #14699]
29886         CVE-2013-4237
29887         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
29888         member.
29889         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
29890         member.
29891         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
29892         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
29893         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
29894         conditional.
29895         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
29896         GETDENTS_64BIT_ALIGNED.
29897         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29898         * manual/filesys.texi (Reading/Closing Directory): Document
29899         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
29900         strongly.
29901         * manual/conf.texi (Limits for Files): Add portability note to
29902         NAME_MAX, PATH_MAX.
29903         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
29905 2013-08-13  Andreas Schwab  <schwab@suse.de>
29907         [BZ #15749]
29908         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
29909         of fabs.
29910         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
29911         LDBL_MAX_EXP >= 16384]: Add tests for it.
29913 2013-08-12  David S. Miller  <davem@davemloft.net>
29915         * version.h (RELEASE): Set to "development".
29916         (VERSION): Set to "2.18.90".
29917         * NEWS: Add 2.19 section.
29919 2013-08-03  David S. Miller  <davem@davemloft.net>
29921         * po/ko.po: Update Korean translation from translation project.
29923 2013-08-01  David S. Miller  <davem@davemloft.net>
29925         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
29926         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
29927         Bilka.
29929 2013-07-30  David S. Miller  <davem@davemloft.net>
29931         * po/fr.po: Update French translation from translation project.
29933 2013-07-28  David S. Miller  <davem@davemloft.net>
29935         * po/cs.po: Update Czech translation from translation project.
29937         * po/sv.po: Update Swedish translation from translation project.
29939 2013-07-27  David S. Miller  <davem@davemloft.net>
29941         * po/eo.po: Update Esperanto translation from translation project.
29943         * po/vi.po: Update Vietnamese translation from translation project.
29945         * po/de.po: Update German translation from translation project.
29947 2013-07-26  David S. Miller  <davem@davemloft.net>
29949         * po/bg.po: Update Bulgarian translation from translation project.
29951         * po/nl.po: Update Dutch translation from translation project.
29952         * po/pl.po: Update Polish translation from translation project.
29953         * po/ru.po: Update Russian translation from translation project.
29955 2013-07-24  David S. Miller  <davem@davemloft.net>
29957         * po/libc.pot: Update.
29959 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29961         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
29962         variable page size.
29963         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
29964         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
29965         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
29967 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29969         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
29971 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29972             Andreas Schwab  <schwab@suse.de>
29973             Roland McGrath  <roland@hack.frob.com>
29974             Joseph Myers  <joseph@codesourcery.com>
29975             Carlos O'Donell  <carlos@redhat.com>
29977         [BZ #15755]
29978         * config.h.in: Define HAVE_PT_CHOWN.
29979         * config.make.in (build-pt-chown): New variable.
29980         * configure.in (--enable-pt_chown): New configure option.
29981         * configure: Regenerate.
29982         * login/Makefile: Include Makeconfig.  Build pt_chown only if
29983         build-pt-chown is enabled.
29984         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
29985         pt_chown to fix pty ownership.
29986         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
29987         CLOSE_ALL_FDS.
29988         * manual/install.texi (Configuring and compiling): Mention
29989         --enable-pt_chown. Add @findex for grantpt.
29990         * INSTALL: Regenerate.
29992 2013-07-20  David S. Miller  <davem@davemloft.net>
29994         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
29995         difference between 32-bit and 64-bit.
29997 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
29999         [BZ #15711]
30000         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
30001         Avoid system header dependency with -ffreestanding.
30002         ($(objpfx)bits/syscall%d): Likewise.
30004 2013-07-13  David S. Miller  <davem@davemloft.net>
30006         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
30007         underflows from atanl/atan2l due to bug 15319.
30008         (casinh_test_data): Likewise.
30010 2013-07-07  David S. Miller  <davem@davemloft.net>
30012         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30014 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
30016         * sysdeps/i386/fpu/libm-test-ulps: Update.
30017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30019 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30021         * configure.in (--enable-lock-elision): Fix message text.
30022         * INSTALL: Regenerate.
30023         * configure: Regenerate.
30025 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30029 2013-07-03  Andreas Jaeger  <aj@suse.de>
30031         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
30032         define.
30033         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
30034         (ptrace_peeksiginfo_args): Add.
30035         (__ptrace_peeksiginfo_flags): Add.
30036         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
30037         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
30038         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30040 2013-07-03  Allan McRae  <allan@archlinux.org>
30042         * sysdeps/i386/fpu/libm-test-ulps: Update.
30044 2013-07-02  David S. Miller  <davem@davemloft.net>
30046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30048 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
30050         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30052 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30054         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
30055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30057 2013-07-02  Andi Kleen <ak@linux.intel.com>
30059         * config.h.in (ENABLE_LOCK_ELISION): Add.
30060         * configure.in (--enable-lock-elision): Add option.
30061         * manual/install.texi: Document --enable lock elision.
30062         * configure: Regenerate
30063         * INSTALL: Regenerate.
30065 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
30067         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
30068         SSE4.2 strcasecmp for libc.a.
30069         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30071 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
30073         [BZ #13304]
30074         * soft-fp/op-common.h (_FP_FMA): New macro.
30075         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
30076         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
30077         (_FP_MUL_MEAT_1_imm): ... here.
30078         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
30079         (_FP_MUL_MEAT_1_wide): ... here.
30080         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
30081         (_FP_MUL_MEAT_1_hard): ... here.
30082         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
30083         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
30084         (_FP_MUL_MEAT_2_wide): ... here.
30085         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
30086         (_FP_MUL_MEAT_2_wide_3mul): ... here.
30087         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
30088         (_FP_MUL_MEAT_2_gmp): ... here.
30089         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
30090         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
30091         (_FP_MUL_MEAT_4_wide): ... here.
30092         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
30093         (_FP_MUL_MEAT_4_gmp): ... here.
30094         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
30095         (_FP_WFRACBITS_DW_S): Likewise.
30096         (_FP_WFRACXBITS_DW_S): Likewise.
30097         (_FP_HIGHBIT_DW_S): Likewise.
30098         (FP_FMA_S): Likewise.
30099         (_FP_FRAC_HIGH_DW_S): Likewise.
30100         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
30101         (_FP_WFRACBITS_DW_D): Likewise.
30102         (_FP_WFRACXBITS_DW_D): Likewise.
30103         (_FP_HIGHBIT_DW_D): Likewise.
30104         (FP_FMA_D): Likewise.
30105         (_FP_FRAC_HIGH_DW_D): Likewise.
30106         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
30107         (_FP_WFRACBITS_DW_E): Likewise.
30108         (_FP_WFRACXBITS_DW_E): Likewise.
30109         (_FP_HIGHBIT_DW_E): Likewise.
30110         (FP_FMA_E): Likewise.
30111         (_FP_FRAC_HIGH_DW_E): Likewise.
30112         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
30113         (_FP_WFRACBITS_DW_Q): Likewise.
30114         (_FP_WFRACXBITS_DW_Q): Likewise.
30115         (_FP_HIGHBIT_DW_Q): Likewise.
30116         (FP_FMA_Q): Likewise.
30117         (_FP_FRAC_HIGH_DW_Q): Likewise.
30118         * soft-fp/fmasf4.c: New file.
30119         * soft-fp/fmadf4.c: Likewise.
30120         * soft-fp/fmatf4.c: Likewise.
30122 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30124         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30125         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
30126         Silvermont.
30127         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
30128         macro.
30129         (index_Slow_SSE4_2): Likewise.
30130         (index_Prefer_PMINUB_for_stringop): Likewise.
30131         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
30132         bit_Slow_SSE4_2 is set.
30133         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30134         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30136 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30138         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
30139         rtld_global._dl_hwcap2.
30140         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
30141         POWER8.
30142         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
30143         POWER8 feature descriptions defined in _dl_hwcap2.
30144         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
30145         string handling for POWER8 feature bits.
30146         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
30147         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
30148         _dl_powerpc_cap_flags.
30149         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
30150         * sysdeps/powerpc/rtld-global-offsets.sym
30151         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
30152         _dl_hwcap2 in the rtld_global_ro structure.
30154 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30156         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
30157         hardware capabilities in support of AT_HWCAP2.
30158         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
30159         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
30160         GLRO(dl_hwcap2).
30161         (_dl_show_auxv): Add support for calling _dl_procinfo to display
30162         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
30163         explicitly the unknown a_type display mechanism is used.
30164         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
30165         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
30166         struct member.
30167         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
30168         to macro prototype for AT_HWCAP2 support.
30169         * sysdeps/i386/dl-procinfo.h: Likewise.
30170         * sysdeps/s390/dl-procinfo.h: Likewise.
30171         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
30172         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
30173         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
30174         return -1 for unknown a_type display fallback.
30175         * sysdeps/sparc/dl-procinfo.h: Likewise.
30176         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
30177         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
30179 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
30181         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
30182         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
30184 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
30186         [BZ #12492]
30187         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
30188         mprotect making __stack_prot writable.
30190 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
30191             Joseph Myers  <joseph@codesourcery.com>
30193         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
30194         as being properly aligned.
30196 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
30198         * dlfcn/modstatic5.c: New file.
30199         * dlfcn/tststatic5.c: New file.
30200         * dlfcn/Makefile (tests): Add tststatic5.
30201         (tests-static): Likewise.
30202         (modules-names): Add modstatic5.
30203         (tststatic5-ENV): New variable.
30204         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
30206         [BZ #15022]
30207         * elf/dl-support.c (_dl_main_map): New variable.
30208         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
30209         (_dl_nns, _dl_load_adds): Set to 1.
30210         (_dl_initial_searchlist): Refer to _dl_main_map.
30211         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
30212         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
30213         call to _dl_get_origin.
30214         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
30215         around call_map.
30216         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
30217         * dlfcn/modstatic3.c: New file.
30218         * dlfcn/tststatic3.c: New file.
30219         * dlfcn/tststatic4.c: New file.
30220         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
30221         (tests-static): Likewise.
30222         (modules-names): Add modstatic3.
30223         (tststatic3-ENV, tststatic4-ENV): New variables.
30224         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
30225         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
30227 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
30229         * configure.in (CC): Require GCC version 4.4 or later.
30230         * configure: Regenerated.
30231         * manual/install.texi (Tools for Compilation): Update GCC version
30232         requirement.
30233         * INSTALL: Regenerated.
30235 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30237         [BZ #15674]
30238         * string/test-memcmp.c (check2): New.
30239         (main): Call check2.
30241         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
30243 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
30245         [BZ #15022]
30246         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
30247         over to...
30248         (dl_open_worker) [!SHARED]: ... here.
30250 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30252         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
30254 2013-06-25  Richard Henderson  <rth@redhat.com>
30256         * locale/programs/locarchive.c: Include <libc-internal.h>
30258 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
30260         * manual/texinfo.tex: Update to version 2013-06-21.17, with
30261         trailing whitespace removed.
30263 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30265         [BZ #10283]
30266         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
30267         * locale/programs/locarchive.c: Include libc-mmap.h.
30268         (prepare_address_space): Take two new outputs (the mmap base and len).
30269         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
30270         values.
30271         (create_archive): Declare new mmap base and len values for
30272         prepare_address_space, and store the result in ah.
30273         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
30274         (enlarge_archive): If ah->mmap_base is not NULL, use that and
30275         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30276         Declare new mmap base and len values for
30277         prepare_address_space, and store the result in new_ah.
30278         (open_archive): Declare new mmap base and len values for
30279         prepare_address_space, and store the result in ah.
30280         (close_archive): If ah->mmap_base is not NULL, use that and
30281         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
30282         * sysdeps/generic/libc-mmap.h: New file.
30284 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
30286         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
30287         (ALIGN_UP): Likewise.
30288         (PTR_ALIGN_DOWN): Likewise.
30289         (PTR_ALIGN_UP): Likewise.
30291 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30293         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
30294         entry mapped to PPC_PLATFORM_POWER8.
30295         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
30296         POWER8.
30297         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
30298         (_dl_string_platform): Add case for exporting platform position for
30299         POWER8.
30300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
30301         search path to sysdeps/powerpc/powerpc32/power8 directory.
30302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
30303         search path to sysdeps/powerpc/powerpc64/power8 directory.
30304         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
30305         power7 directories.
30306         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
30307         power7 directories.
30309 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30311         * INSTALL: Regenerate.
30313         * nscd/connections.c (nscd_init): Fix comment.
30315 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
30317         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
30319         [BZ #15667]
30320         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
30321         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
30323 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30325         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
30326         DL_DST_REQ_STATIC.
30327         (DL_DST_REQ_STATIC): Remove macro.
30329 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
30331         [BZ #7006]
30332         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
30333         with a shift of 0 bits.
30335 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
30337         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
30338         $(tststatic-ENV).
30340 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30342         [BZ #15655]
30343         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
30345 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30347         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
30348         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
30349         accepts -fno-tree-loop-distribute-patterns.
30350         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
30351         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
30352         recursive call.
30353         * string/memset.c (memset): Likewise.
30354         * string/test-memmove.c (simple_memmove): Disable loop transformation
30355         to library calls.
30356         * string/test-memset.c (simple_memset): Likewise.
30357         * benchtests/bench-memmove.c (simple_memmove): Likewise.
30358         * benchtests/bench-memset.c (simple_memset): Likewise.
30359         * configure: Regenerated.
30361 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
30363         * math/test-misc.c (main): Ignore fesetround failure when failures
30364         of subsequent rounding tests would be ignored.
30366         [BZ #15654]
30367         * math/fedisblxcpt.c (fedisableexcept): Return 0.
30368         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
30369         * math/fegetenv.c (__fegetenv): Return 0.
30370         * math/fegetexcept.c (fegetexcept): Return 0.
30371         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
30372         FE_TONEAREST.
30373         * math/feholdexcpt.c (feholdexcept): Return 0.
30374         * math/fesetenv.c (__fesetenv): Return 0.
30375         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
30376         argument FE_TONEAREST.
30377         * math/feupdateenv.c (__feupdateenv): Return 0.
30378         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
30380 2013-06-18  Roland McGrath  <roland@hack.frob.com>
30382         * elf/rtld-Rules (rtld-compile-command.S): New variable.
30383         (rtld-compile-command.s, rtld-compile-command.c): New variables.
30384         ($(objpfx)rtld-%.os rules): Use them.
30386 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30388         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
30389         fields.
30391 2013-06-17  Roland McGrath  <roland@hack.frob.com>
30393         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
30394         length of target pattern, then descending length of dependency pattern.
30395         * configure.in (AWK): Require gawk 3.1.2 or newer.
30396         * manual/install.texi (Tools for Compilation): Say that we do.
30397         * configure: Regenerated.
30399         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
30400         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
30401         * scripts/sysd-rules.awk: ... this new script.
30402         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
30403         than a glob-style pattern.
30405 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
30407         * math/test-misc.c (main): Do not treat incorrectly rounded
30408         conversions as failure unless ROUNDING_TESTS passes.
30410 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
30412         [BZ #15631]
30413         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
30414         restore exception state around main square root computation, then
30415         check for inexactness explicitly.
30417         * math/libm-test.inc (fma_test_data): Add another test.
30419 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30421         * manual/threads.texi (Non-POSIX Extensions): New document
30422         node.  Document pthread_getattr_default_np and
30423         pthread_setattr_default_np.
30425         * Versions.def (libpthread): Add GLIBC_2.18.
30426         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
30427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30428         Likewise.
30429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30430         Likewise.
30431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30432         Likewise.
30433         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30434         Likewise.
30435         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
30436         Likewise.
30437         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
30438         Likewise.
30439         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30440         Likewise.
30441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30442         Likewise.
30443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
30444         Likewise.
30446 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
30448         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30449         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
30451 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30452             H.J. Lu  <hjl.tools@gmail.com>
30454         [BZ #15627]
30455         * sysdeps/x86_64/rtld-memset.c: Remove file.
30456         * sysdeps/x86_64/rtld-memset.S: New file.
30458 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
30460         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
30461         (test_in_one_mode): Take arguments for whether the rounding mode
30462         is supported for each floating-point type.
30463         (do_test): Pass new arguments to test_in_one_mode using
30464         ROUNDING_TESTS.
30466 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30468         * posix/tst-waitid.c (do_test): Distinguish different instances of
30469         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
30470         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
30471         before entering the kernel for waitpid.
30473 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30475         * NEWS: Fix note on clock function precision.  Text by Roland
30476         McGrath.
30478 2013-06-13  Roland McGrath  <roland@hack.frob.com>
30480         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
30481         it into place only when and if the sanity check passes.
30483 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
30485         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
30486         output for whether conversion result is exact.  Take argument
30487         indicating whether type is IBM long double.
30488         (round_for_all): Change need_exact field to ibm_ld.
30489         * stdlib/tst-strtod-round.c (struct exactness): New type.
30490         (struct test): Change bool ld_ok field to struct exactness exact.
30491         (TEST): Update all definitions for change to field.
30492         (tests): Regenerate array contents.
30493         (test_in_one_mode): Take pointer to new field instead of old ld_ok
30494         field value.  Check for IBM long double here.
30495         (do_test): Update calls to test_in_one_mode.
30497 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
30499         [BZ #12515]
30500         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
30501         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
30503 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30505         [BZ #15605]
30506         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
30507         generated by the compiler on loop optimizations.
30508         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
30509         general definitions.
30511 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
30513         * math/bug-nextafter.c: Include <math-tests.h>.
30514         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30515         the relevant type.
30516         * math/bug-nexttoward.c: Include <math-tests.h>.
30517         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30518         the relevant type.
30519         * math/test-misc.c: Include <math-tests.h>.
30520         (main): Only test for exceptions if EXCEPTION_TESTS is true for
30521         the relevant type.
30523 2013-06-12  Andreas Jaeger  <aj@suse.de>
30525         * po/ia.po: Update Interlingua translation from translation
30526         project.
30528 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30530         * include/fenv.h: Include stdbool.h.
30531         (struct rm_ctx): New structure.
30532         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
30533         Define macro.
30534         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
30535         (SET_RESTORE_ROUNDF): Likewise.
30536         (SET_RESTORE_ROUNDL): Likewise.
30537         (SET_RESTORE_ROUND_NOEX): Likewise.
30538         (SET_RESTORE_ROUND_NOEXF): Likewise.
30539         (SET_RESTORE_ROUND_NOEXL): Likewise.
30540         (SET_RESTORE_ROUND_53BIT): Likewise.
30541         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
30542         (libc_feresetround_noexf_ctx): Likewise.
30543         (libc_feresetround_noexl_ctx): Likewise.
30544         (libc_feholdsetround_53bit_ctx): Likewise.
30545         (libc_feresetround_53bit_ctx): Likewise.
30546         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
30547         (libc_feholdexcept_setround_sse_ctx): New function.
30548         (libc_fesetenv_sse_ctx): Likewise.
30549         (libc_feupdateenv_sse_ctx): Likewise.
30550         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
30551         (libc_feholdexcept_setround_387_ctx): Likewise.
30552         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
30553         (libc_feholdsetround_387_prec_ctx): Likewise.
30554         (libc_feholdsetround_387_ctx): Likewise.
30555         (libc_feholdsetround_387_53bit_ctx): Likewise.
30556         (libc_feholdsetround_sse_ctx): Likewise.
30557         (libc_feresetround_sse_ctx): Likewise.
30558         (libc_feresetround_387_ctx): Likewise.
30559         (libc_feupdateenv_387_ctx): Likewise.
30560         (libc_feholdexcept_setroundf_ctx): Define macro.
30561         (libc_fesetenvf_ctx): Likewise.
30562         (libc_feupdateenvf_ctx): Likewise.
30563         (libc_feholdsetroundf_ctx): Likewise.
30564         (libc_feresetroundf_ctx): Likewise.
30565         (libc_feholdexcept_setround_ctx): Likewise.
30566         (libc_fesetenv_ctx): Likewise.
30567         (libc_feupdateenv_ctx): Likewise.
30568         (libc_feholdsetround_ctx): Likewise.
30569         (libc_feresetround_ctx): Likewise.
30570         (libc_feholdexcept_setroundl_ctx): Likewise.
30571         (libc_feupdateenvl_ctx): Likewise.
30572         (libc_feholdsetroundl_ctx): Likewise.
30573         (libc_feresetroundl_ctx): Likewise.
30574         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
30575         (libc_feresetround_53bit_ctx): Likewise.
30577 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30579         * locale/iso-639.def: Convert to UTF-8.
30581 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
30583         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
30584         (EXCEPTION_TESTS_double): Likewise.
30585         (EXCEPTION_TESTS_long_double): Likewise.
30586         (EXCEPTION_TESTS): Likewise.
30587         * math/libm-test.inc (test_exceptions): Only test exceptions if
30588         EXCEPTION_TESTS (FLOAT).
30590 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30592         * benchtests/Makefile (string-bench): Add strcpy_chk and
30593         stpcpy_chk.
30594         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
30595         * benchtests/bench-stpcpy_chk.c: New file.
30596         * benchtests/bench-strcpy_chk-ifunc.c: New file.
30597         * benchtests/bench-strcpy_chk.c: New file.
30598         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
30599         code.
30600         (do_test): Likewise.
30602 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30604         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
30605         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
30606         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
30607         with tabs where appropriate.
30608         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
30609         dl-procinfo.h.
30610         [PPC_PLATFORM_PPC440]: Likewise.
30611         [PPC_PLATFORM_PPC464]: Likewise.
30612         [PPC_PLATFORM_PPC476]: Likewise.
30613         (_dl_string_platform): Add support for detecting ppc405, ppc440,
30614         ppc464, and ppc476 platform strings merging from ports/
30615         dl-procinfo.h.
30617 2013-06-11  Andreas Schwab  <schwab@suse.de>
30619         [BZ #14991]
30620         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
30621         (from_ucs4_idx): Regenerate.
30622         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
30623         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
30624         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
30625         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
30626         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
30627         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
30628         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
30629         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
30630         from FROM_LOOP and TO_LOOP specific macros.
30631         (BODY): Handle combining characters.
30632         * iconvdata/BIG5HKSCS.irreversible: Update.
30633         * iconvdata/BIG5HKSCS.precomposed: New file.
30634         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
30635         characters.
30636         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
30638 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30640         * include/sys/time.h: Fix indentation and add copyright header.
30642         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
30643         (do_test): Likewise.
30644         * string/test-memchr.c (do_one_test): Likewise.
30645         (do_test): Likewise.
30646         * string/test-memcmp.c (do_one_test): Likewise.
30647         (do_test): Likewise.
30648         * string/test-memcpy.c (do_one_test): Likewise.
30649         (do_test): Likewise.
30650         * string/test-memmem.c (do_one_test): Likewise.
30651         (do_test): Likewise.
30652         (do_random_tests): Likewise.
30653         * string/test-memmove.c (do_one_test): Likewise.
30654         (do_test): Likewise.
30655         * string/test-memset.c (do_one_test): Likewise.
30656         (do_test): Likewise.
30657         * string/test-rawmemchr.c (do_one_test): Likewise.
30658         (do_test): Likewise.
30659         * string/test-strcasecmp.c (do_one_test): Likewise.
30660         (do_test): Likewise.
30661         * string/test-strcasestr.c (do_one_test): Likewise.
30662         (do_test): Likewise.
30663         * string/test-strcat.c (do_one_test): Likewise.
30664         (do_test): Likewise.
30665         * string/test-strchr.c (do_one_test): Likewise.
30666         (do_test): Likewise.
30667         * string/test-strcmp.c (do_one_test): Likewise.
30668         (do_test): Likewise.
30669         * string/test-strcpy.c (do_one_test): Likewise.
30670         (do_test): Likewise.
30671         * string/test-string.h: Likewise.
30672         (test_init): Likewise.
30673         * string/test-strlen.c (do_one_test): Likewise.
30674         (do_test): Likewise.
30675         * string/test-strncasecmp.c (do_one_test): Likewise.
30676         (do_test): Likewise.
30677         * string/test-strncat.c (do_one_test): Likewise.
30678         (do_test): Likewise.
30679         * string/test-strncmp.c (do_one_test): Likewise.
30680         (do_test_limit): Likewise.
30681         (do_test): Likewise.
30682         * string/test-strncpy.c (do_one_test): Likewise.
30683         (do_test): Likewise.
30684         * string/test-strnlen.c (do_one_test): Likewise.
30685         (do_test): Likewise.
30686         * string/test-strpbrk.c (do_one_test): Likewise.
30687         (do_test): Likewise.
30688         * string/test-strrchr.c (do_one_test): Likewise.
30689         (do_test): Likewise.
30690         * string/test-strspn.c (do_one_test): Likewise.
30691         (do_test): Likewise.
30692         * string/test-strstr.c (do_one_test): Likewise.
30693         (do_test): Likewise.
30695         * benchtests/Makefile (string-bench): Add string benchmarks.
30696         * benchtests/bench-bcopy-ifunc.c: New file.
30697         * benchtests/bench-bcopy.c: New file.
30698         * benchtests/bench-bzero-ifunc.c: New file.
30699         * benchtests/bench-bzero.c: New file.
30700         * benchtests/bench-memccpy-ifunc.c: New file.
30701         * benchtests/bench-memccpy.c: New file.
30702         * benchtests/bench-memchr-ifunc.c: New file.
30703         * benchtests/bench-memchr.c: New file.
30704         * benchtests/bench-memcmp-ifunc.c: New file.
30705         * benchtests/bench-memcmp.c: New file.
30706         * benchtests/bench-memmem-ifunc.c: New file.
30707         * benchtests/bench-memmem.c: New file.
30708         * benchtests/bench-memmove-ifunc.c: New file.
30709         * benchtests/bench-memmove.c: New file.
30710         * benchtests/bench-mempcpy-ifunc.c: New file.
30711         * benchtests/bench-mempcpy.c: New file.
30712         * benchtests/bench-memset-ifunc.c: New file.
30713         * benchtests/bench-memset.c: New file.
30714         * benchtests/bench-rawmemchr-ifunc.c: New file.
30715         * benchtests/bench-rawmemchr.c: New file.
30716         * benchtests/bench-stpcpy-ifunc.c: New file.
30717         * benchtests/bench-stpcpy.c: New file.
30718         * benchtests/bench-stpncpy-ifunc.c: New file.
30719         * benchtests/bench-stpncpy.c: New file.
30720         * benchtests/bench-strcasecmp-ifunc.c: New file.
30721         * benchtests/bench-strcasecmp.c: New file.
30722         * benchtests/bench-strcasestr-ifunc.c: New file.
30723         * benchtests/bench-strcasestr.c: New file.
30724         * benchtests/bench-strcat-ifunc.c: New file.
30725         * benchtests/bench-strcat.c: New file.
30726         * benchtests/bench-strchr-ifunc.c: New file.
30727         * benchtests/bench-strchr.c: New file.
30728         * benchtests/bench-strchrnul-ifunc.c: New file.
30729         * benchtests/bench-strchrnul.c: New file.
30730         * benchtests/bench-strcmp-ifunc.c: New file.
30731         * benchtests/bench-strcmp.c: New file.
30732         * benchtests/bench-strcpy-ifunc.c: New file.
30733         * benchtests/bench-strcpy.c: New file.
30734         * benchtests/bench-strcspn-ifunc.c: New file.
30735         * benchtests/bench-strcspn.c: New file.
30736         * benchtests/bench-strlen-ifunc.c: New file.
30737         * benchtests/bench-strlen.c: New file.
30738         * benchtests/bench-strncasecmp-ifunc.c: New file.
30739         * benchtests/bench-strncasecmp.c: New file.
30740         * benchtests/bench-strncat-ifunc.c: New file.
30741         * benchtests/bench-strncat.c: New file.
30742         * benchtests/bench-strncmp-ifunc.c: New file.
30743         * benchtests/bench-strncmp.c: New file.
30744         * benchtests/bench-strncpy-ifunc.c: New file.
30745         * benchtests/bench-strncpy.c: New file.
30746         * benchtests/bench-strnlen-ifunc.c: New file.
30747         * benchtests/bench-strnlen.c: New file.
30748         * benchtests/bench-strpbrk-ifunc.c: New file.
30749         * benchtests/bench-strpbrk.c: New file.
30750         * benchtests/bench-strrchr-ifunc.c: New file.
30751         * benchtests/bench-strrchr.c: New file.
30752         * benchtests/bench-strspn-ifunc.c: New file.
30753         * benchtests/bench-strspn.c: New file.
30754         * benchtests/bench-strstr-ifunc.c: New file.
30755         * benchtests/bench-strstr.c: New file.
30757         * benchtests/Makefile: Disable parallel execution of targets.
30758         (string-bench): Add memcpy.
30759         (benchset): New variable to store a list of benchmark sets.
30760         (bench-func): Renamed from bench.
30761         (bench-set): New target.
30762         (bench): Depend on bench-func and bench-set.
30763         * benchtests/README: Add section on benchmark sets.
30764         * benchtests/bench-memcpy-ifunc.c: New file.
30765         * benchtests/bench-memcpy.c: New file.
30766         * benchtests/bench-string.h: New file.
30768 2013-06-11  Andreas Schwab  <schwab@suse.de>
30770         [BZ #15577]
30771         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
30772         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
30773         values in the triple.
30774         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
30775         terminator in the group key.
30777 2013-06-11  Andreas Jaeger  <aj@suse.de>
30779         * po/zh_TW.po: Update Chinese (traditional) translation from
30780         translation project.
30782 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30784         * include/time.h (__clock_gettime): Add libc_hidden_proto.
30785         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
30786         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
30787         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30788         (clock_getcpuclockid): Likewise.
30789         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
30790         Add weak_alias and libc_hidden_def.
30791         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
30792         * rt/clock_gettime.c (clock_gettime): Rename to
30793         __clock_gettime.  Add weak_alias and libc_hidden_def.
30794         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
30795         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
30796         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
30797         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
30798         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
30799         Likewise.
30800         * rt/clock_settime.c (clock_settime): Rename to
30801         __clock_settime.  Add weak_alias and libc_hidden_def.
30802         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
30804 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
30806         * mach/err_boot.sub: Remove trailing whitespace.
30807         * mach/err_ipc.sub: Likewise.
30808         * mach/err_mach.sub: Likewise.
30810         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
30811         (ROUNDING_TESTS_double): Likewise.
30812         (ROUNDING_TESTS_long_double): Likewise.
30813         (ROUNDING_TESTS): Likewise.
30814         * math/libm-test.inc: Include <math-tests.h>.
30815         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
30816         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
30817         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
30818         (IF_ROUND_INIT_FE_UPWARD): Likewise.
30820 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30822         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
30823         of assigning.
30825 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
30827         * sysdeps/gnu/errlist.awk: Do not generate space at end of
30828         otherwise empty TRANS lines.
30829         * sysdeps/gnu/errlist.c: Regenerated.
30831         * catgets/gencat.c (error_print): Use (void) in function
30832         definition.
30833         * crypt/crypt_util.c (__init_des): Likewise.
30834         * crypt/speeds.c (Stop): Likewise.
30835         (main): Likewise.
30836         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
30837         * inet/ruserpass.c (token): Likewise.
30838         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
30839         * intl/localealias.c (extend_alias_table): Likewise.
30840         * intl/plural-exp.c (init_germanic_plural): Likewise.
30841         * libio/fcloseall.c (__fcloseall): Likewise.
30842         * libio/genops.c (_IO_flush_all): Likewise.
30843         (_IO_flush_all_linebuffered): Likewise.
30844         (_IO_cleanup): Likewise.
30845         (_IO_iter_begin): Likewise.
30846         (_IO_iter_end): Likewise.
30847         (_IO_list_lock): Likewise.
30848         (_IO_list_unlock): Likewise.
30849         (_IO_list_resetlock): Likewise.
30850         * libio/getchar.c (getchar): Likewise.
30851         * libio/getchar_u.c (getchar_unlocked): Likewise.
30852         * libio/getwchar.c (getwchar): Likewise.
30853         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
30854         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
30855         * login/getpt.c (__getpt): Likewise.
30856         * login/tst-utmp.c (main): Likewise.
30857         * malloc/hooks.c (__malloc_check_init): Likewise.
30858         * malloc/malloc.c (__malloc_stats): Likewise.
30859         * malloc/mtrace.c (tr_break): Likewise.
30860         (mtrace): Likewise.
30861         (muntrace): Likewise.
30862         * misc/fstab.c (endfsent): Likewise.
30863         * misc/getclktck.c (__getclktck): Likewise.
30864         * misc/getdtsz.c (__getdtablesize): Likewise.
30865         * misc/gethostid.c (gethostid): Likewise.
30866         * misc/getpagesize.c (__getpagesize): Likewise.
30867         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
30868         (__get_nprocs): Likewise.
30869         (__get_phys_pages): Likewise.
30870         (__get_avphys_pages): Likewise.
30871         * misc/getttyent.c (getttyent): Likewise.
30872         (setttyent): Likewise.
30873         (endttyent): Likewise.
30874         * misc/getusershell.c (getusershell): Likewise.
30875         (endusershell): Likewise.
30876         (setusershell): Likewise.
30877         (initshells): Likewise.
30878         * misc/hsearch.c (__hdestroy): Likewise.
30879         * misc/sync.c (sync): Likewise.
30880         * misc/syslog.c (closelog_internal): Likewise.
30881         (closelog): Likewise.
30882         * misc/ttyslot.c (ttyslot): Likewise.
30883         * misc/vhangup.c (vhangup): Likewise.
30884         * posix/fork.c (__fork): Likewise.
30885         * posix/getegid.c (__getegid): Likewise.
30886         * posix/geteuid.c (__geteuid): Likewise.
30887         * posix/getgid.c (__getgid): Likewise.
30888         * posix/getpid.c (__getpid): Likewise.
30889         * posix/getppid.c (__getppid): Likewise.
30890         * posix/getuid.c (__getuid): Likewise.
30891         * posix/pause.c (pause): Likewise.
30892         * posix/setpgrp.c (setpgrp): Likewise.
30893         * posix/setsid.c (__setsid): Likewise.
30894         * posix/test-vfork.c (noop): Likewise.
30895         * resolv/gethnamaddr.c (_endhtent): Likewise.
30896         (_gethtent): Likewise.
30897         (ht_endhostent): Likewise.
30898         (gethostent): Likewise.
30899         (dns_service): Likewise.
30900         * stdlib/drand48.c (drand48): Likewise.
30901         * stdlib/lrand48.c (lrand48): Likewise.
30902         * stdlib/mrand48.c (mrand48): Likewise.
30903         * stdlib/rand.c (rand): Likewise.
30904         * stdlib/random.c (__random): Likewise.
30905         * stdlib/setenv.c (clearenv): Likewise.
30906         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
30907         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
30908         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
30909         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
30910         (__get_nprocs): Likewise.
30911         (__get_phys_pages): Likewise.
30912         (__get_avphys_pages): Likewise.
30913         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
30914         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
30915         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
30916         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
30917         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
30918         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
30919         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
30920         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
30921         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
30922         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
30923         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
30924         * sysdeps/mach/hurd/sync.c (sync): Likewise.
30925         * sysdeps/posix/clock.c (clock): Likewise.
30926         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
30927         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
30928         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
30929         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
30930         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
30931         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
30932         (__get_nprocs_conf): Likewise.
30933         (__get_phys_pages): Likewise.
30934         (__get_avphys_pages): Likewise.
30935         * time/clock.c (clock): Likewise.
30936         * time/tzset.c (__tzname_max): Likewise.
30938 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
30940         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
30941         (__bswap_32): Do not use "register".
30942         * crypt/crypt.c (_ufc_doit_r): Likewise.
30943         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
30944         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
30945         * gmon/gmon.c (__monstartup): Likewise.
30946         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
30947         * hurd/hurdmalloc.c (more_memory): Likewise.
30948         (malloc): Likewise.
30949         (free): Likewise.
30950         (realloc): Likewise.
30951         (malloc_fork_prepare): Likewise.
30952         (malloc_fork_parent): Likewise.
30953         (malloc_fork_child): Likewise.
30954         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
30955         (_svcauth_des): Likewise.
30956         * inet/inet_lnaof.c (inet_lnaof): Likewise.
30957         * inet/inet_net.c (inet_network): Likewise.
30958         * inet/inet_netof.c (inet_netof): Likewise.
30959         * inet/rcmd.c (__validuser2_sa): Likewise.
30960         * io/fts.c (fts_open): Likewise.
30961         (fts_load): Likewise.
30962         (fts_close): Likewise.
30963         (fts_read): Likewise.
30964         (fts_children): Likewise.
30965         (fts_build): Likewise.
30966         (fts_stat): Likewise.
30967         (fts_sort): Likewise.
30968         (fts_alloc): Likewise.
30969         (fts_lfree): Likewise.
30970         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
30971         (_IO_file_xsgetn): Likewise.
30972         (_IO_file_xsgetn_mmap): Likewise.
30973         * libio/iofopncook.c (_IO_cookie_read): Likewise.
30974         (_IO_cookie_write): Likewise.
30975         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
30976         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
30977         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
30978         * malloc/obstack.c (_obstack_begin): Likewise.
30979         (_obstack_begin_1): Likewise.
30980         (_obstack_newchunk): Likewise.
30981         (_obstack_allocated_p): Likewise.
30982         (obstack_free): Likewise.
30983         (_obstack_memory_used): Likewise.
30984         * misc/getttyent.c (getttynam): Likewise.
30985         (getttyent): Likewise.
30986         (skip): Likewise.
30987         (value): Likewise.
30988         * misc/getusershell.c (initshells): Likewise.
30989         * misc/syslog.c (__vsyslog_chk): Likewise.
30990         * misc/ttyslot.c (ttyslot): Likewise.
30991         * nis/nis_hash.c (__nis_hash): Likewise.
30992         * posix/fnmatch_loop.c (FCT): Likewise.
30993         * posix/getconf.c (print_all): Likewise.
30994         (main): Likewise.
30995         * posix/getopt.c (exchange): Likewise.
30996         * posix/glob.c (globfree): Likewise.
30997         (prefix_array): Likewise.
30998         (__glob_pattern_type): Likewise.
30999         * resolv/arpa/nameser.h (NS_GET16): Likewise.
31000         (NS_GET32): Likewise.
31001         (NS_PUT16): Likewise.
31002         (NS_PUT32): Likewise.
31003         * resolv/gethnamaddr.c (getanswer): Likewise.
31004         (gethostbyname2): Likewise.
31005         (gethostbyaddr): Likewise.
31006         (_gethtent): Likewise.
31007         (_gethtbyname2): Likewise.
31008         (_gethtbyaddr): Likewise.
31009         * resolv/ns_print.c (dst_s_get_int16): Likewise.
31010         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
31011         * resolv/res_init.c (__res_vinit): Likewise.
31012         (net_mask): Likewise.
31013         * resolv/res_mkquery.c (outchar): Likewise.
31014         (PRINT): Likewise.
31015         * stdio-common/printf_fp.c (outchar): Likewise.
31016         (PRINT): Likewise.
31017         * stdio-common/printf_fphex.c (outchar): Likewise.
31018         (PRINT): Likewise.
31019         * stdio-common/printf_size.c (outchar): Likewise.
31020         (PRINT): Likewise.
31021         * stdio-common/test_rdwr.c (main): Likewise.
31022         * stdio-common/tfformat.c (matches): Likewise.
31023         * stdio-common/vfprintf.c (outchar): Likewise.
31024         (printf_unknown): Likewise.
31025         (buffered_vfprintf): Likewise.
31026         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
31027         * stdio-common/xbug.c (AppendToBuffer): Likewise.
31028         (ReadFile): Likewise.
31029         * stdlib/qsort.c (SWAP): Likewise.
31030         (_quicksort): Likewise.
31031         * stdlib/setenv.c (__add_to_environ): Likewise.
31032         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
31033         * stdlib/strtol_l.c (__strtol_l): Likewise.
31034         * stdlib/tst-strtod.c (main): Likewise.
31035         * stdlib/tst-strtol.c (main): Likewise.
31036         * stdlib/tst-strtoll.c (main): Likewise.
31037         * string/bits/string2.h (__strcmp_cc): Likewise.
31038         (__strcmp_cg): Likewise.
31039         (__strcspn_c1): Likewise.
31040         (__strcspn_c2): Likewise.
31041         (__strcspn_c3): Likewise.
31042         (__strspn_c1): Likewise.
31043         (__strspn_c2): Likewise.
31044         (__strspn_c3): Likewise.
31045         (__strsep_1c): Likewise.
31046         (__strsep_2c): Likewise.
31047         (__strsep_3c): Likewise.
31048         * string/memccpy.c (__memccpy): Likewise.
31049         * string/stpcpy.c (__stpcpy): Likewise.
31050         * string/strcmp.c (strcmp): Likewise.
31051         * string/strrchr.c (strrchr): Likewise.
31052         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
31053         Likewise.
31054         * sysdeps/mach/hurd/getcwd.c
31055         (_hurd_canonicalize_directory_name_internal): Likewise.
31056         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
31057         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
31058         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
31059         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
31060         Likewise, in both definitions.
31061         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
31062         definitions.
31063         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
31064         64] (__bswap_64): Likewise.
31065         * time/test_time.c (main): Likewise.
31066         * time/tzfile.c (__tzfile_read): Likewise.
31067         (__tzfile_compute): Likewise.
31068         * time/tzset.c (__tzset_parse_tz): Likewise.
31069         (tzset_internal): Likewise.
31070         (compute_change): Likewise.
31071         * wcsmbs/wcscat.c (__wcscat): Likewise.
31072         * wcsmbs/wcschr.c (wcschr): Likewise.
31073         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
31074         * wcsmbs/wcscspn.c (wcscspn): Likewise.
31075         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
31076         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
31077         * wcsmbs/wcsspn.c (wcsspn): Likewise.
31078         * wcsmbs/wcsstr.c (wcsstr): Likewise.
31079         * wcsmbs/wmemchr.c (wmemchr): Likewise.
31080         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31081         * wcsmbs/wmemset.c (wmemset): Likewise.
31083 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
31085         * scripts/config.guess: Update to version 2013-05-16.
31086         * scripts/config.sub: Update to version 2013-04-24.
31087         * scripts/install-sh: Update to version 2011-11-20.07.
31088         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
31089         * scripts/move-if-change: Update to version 2012-01-06 07:23.
31091 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
31093         * debug/fgetws_u_chk.c: Fix leading whitespaces.
31094         * elf/sln.c: Likewise.
31095         * hurd/hurd/ioctl.h: Likewise.
31096         * hurd/hurdmalloc.c: Likewise.
31097         * hurd/xattr.c: Likewise.
31098         * include/shlib-compat.h: Likewise.
31099         * inet/ruserpass.c: Likewise.
31100         * libio/iofgets_u.c: Likewise.
31101         * libio/iofgetws_u.c: Likewise.
31102         * locale/programs/ld-identification.c: Likewise.
31103         * locale/programs/ld-time.c: Likewise.
31104         * mach/msg-destroy.c: Likewise.
31105         * nss/nss_files/files-netgrp.c: Likewise.
31106         * resolv/res_data.c: Likewise.
31107         * soft-fp/op-1.h: Likewise.
31108         * soft-fp/op-2.h: Likewise.
31109         * soft-fp/op-4.h: Likewise.
31110         * soft-fp/op-common.h: Likewise.
31111         * stdio-common/printf_fphex.c: Likewise.
31112         * stdlib/strtod_l.c: Likewise.
31113         * sunrpc/rpc/clnt.h: Likewise.
31114         * sysdeps/generic/framestate.c: Likewise.
31115         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31116         * sysdeps/i386/bsd-setjmp.S: Likewise.
31117         * sysdeps/i386/__longjmp.S: Likewise.
31118         * sysdeps/i386/setjmp.S: Likewise.
31119         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
31120         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
31121         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31122         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31123         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31124         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31125         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31126         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31127         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31128         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31129         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31130         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31131         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31132         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31133         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31134         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31135         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31136         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
31137         * sysdeps/ieee754/support.c: Likewise.
31138         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31139         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
31140         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
31141         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
31142         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
31143         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
31144         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
31145         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
31146         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
31147         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
31148         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
31149         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
31150         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
31151         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
31152         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
31153         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
31154         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31157 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
31159         * posix/transbug.c: Remove executable mode.
31161 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
31163         * crypt/speeds.c: Remove trailing whitespace.
31164         * dlfcn/default.c: Likewise.
31165         * elf/ifuncdep2.c: Likewise.
31166         * elf/ifuncmain1.c: Likewise.
31167         * elf/ifuncmain1vis.c: Likewise.
31168         * elf/testobj.h: Likewise.
31169         * elf/tst-stackguard1.c: Likewise.
31170         * gmon/sys/gmon.h: Likewise.
31171         * hurd/hurdmsg.c: Likewise.
31172         * hurd/new-fd.c: Likewise.
31173         * hurd/ports-get.c: Likewise.
31174         * iconvdata/ibm1008_420.c: Likewise.
31175         * inet/tst-getni1.c: Likewise.
31176         * inet/tst-getni2.c: Likewise.
31177         * libio/ioungetc.c: Likewise.
31178         * libio/wfiledoalloc.c: Likewise.
31179         * manual/libm-err-tab.pl: Likewise.
31180         * math/w_dremf.c: Likewise.
31181         * misc/ftruncate.c: Likewise.
31182         * posix/bug-glob2.c: Likewise.
31183         * posix/tst-pcre.c: Likewise.
31184         * posix/wait4.c: Likewise.
31185         * resolv/README: Likewise.
31186         * resolv/res_debug.h: Likewise.
31187         * resolv/tst-inet_ntop.c: Likewise.
31188         * setjmp/bug269-setjmp.c: Likewise.
31189         * soft-fp/extended.h: Likewise.
31190         * soft-fp/op-1.h: Likewise.
31191         * soft-fp/op-2.h: Likewise.
31192         * soft-fp/op-4.h: Likewise.
31193         * soft-fp/op-8.h: Likewise.
31194         * soft-fp/testit.c: Likewise.
31195         * stdio-common/bug16.c: Likewise.
31196         * stdlib/random.c: Likewise.
31197         * sunrpc/rpcsvc/rquota.x: Likewise.
31198         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
31199         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
31200         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
31201         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
31202         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
31203         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
31204         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
31205         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
31206         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
31207         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
31208         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
31209         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
31210         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
31211         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
31212         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31213         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31214         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31215         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31216         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31217         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31218         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31219         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31220         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
31221         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31222         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31223         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31224         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31225         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
31226         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31227         * sysdeps/ieee754/s_lib_version.c: Likewise.
31228         * sysdeps/mach/hurd/check_fds.c: Likewise.
31229         * sysdeps/mach/hurd/getsockname.c: Likewise.
31230         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
31231         * sysdeps/mach/hurd/recvfrom.c: Likewise.
31232         * sysdeps/powerpc/bits/link.h: Likewise.
31233         * sysdeps/powerpc/dl-procinfo.c: Likewise.
31234         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
31235         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
31236         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
31237         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31238         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31239         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
31240         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31241         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
31242         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
31243         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
31244         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31245         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
31246         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
31247         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
31248         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
31249         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31250         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31251         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
31252         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31253         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31254         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
31255         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31256         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31257         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
31258         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31259         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31260         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31261         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31262         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31263         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31264         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31265         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31266         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31267         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
31268         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31269         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
31270         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31271         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
31272         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
31273         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
31274         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
31275         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
31276         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
31277         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31278         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
31279         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
31280         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31281         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
31282         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
31283         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31284         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
31285         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31286         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31287         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
31288         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
31289         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
31290         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31291         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
31292         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
31293         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
31294         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
31295         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
31296         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31297         * sysdeps/powerpc/sysdep.h: Likewise.
31298         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31299         * sysdeps/s390/s390-64/sub_n.S: Likewise.
31300         * sysdeps/sh/dl-trampoline.S: Likewise.
31301         * sysdeps/sh/memset.S: Likewise.
31302         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
31303         * sysdeps/sh/strlen.S: Likewise.
31304         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
31305         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
31306         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
31307         * sysdeps/sparc/sparc32/rem.S: Likewise.
31308         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
31309         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
31310         * sysdeps/sparc/sparc32/strchr.S: Likewise.
31311         * sysdeps/sparc/sparc32/udiv.S: Likewise.
31312         * sysdeps/sparc/sparc32/urem.S: Likewise.
31313         * sysdeps/sparc/sparc64/add_n.S: Likewise.
31314         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
31315         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
31316         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
31317         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
31318         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
31319         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
31320         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
31321         * sysdeps/unix/bsd/times.c: Likewise.
31322         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
31323         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
31324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
31327         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
31328         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31329         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
31330         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
31331         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
31332         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
31333         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31334         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
31335         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31336         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31337         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31338         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31339         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
31340         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
31341         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
31342         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
31343         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
31344         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31345         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
31346         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
31347         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
31348         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
31349         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31350         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
31351         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
31352         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
31353         * sysdeps/x86_64/strcspn.S: Likewise.
31355 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31357         * locale/C-translit.h: Revert #include <stdint.h> because this is a
31358         generated file.  Regenerate properly from gen-translit.pl.
31359         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
31360         locale/C-translit.h.
31362 2013-06-05  Andreas Schwab  <schwab@suse.de>
31364         [BZ #15100]
31365         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
31366         week as 6 instead of -1.
31367         * time/tst-strptime.c (day_tests): Add test case.
31369 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
31371         * sysdeps/generic/math_private.h
31372         (libc_feholdexcept_setround_53bit): Replace with
31373         libc_feholdsetround_53bit.
31374         (libc_feupdateenv_53bit): Replace with
31375         libc_feresetround_53bit.
31376         (SET_RESTORE_ROUND_53BIT): Adjust.
31378 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
31380         * string/test-strchrnul.c: Add copyright header.
31382         * posix/tst-getaddrinfo4.c: Increase test timeout.
31384 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
31386         [BZ #15536]
31387         * math/libm-test.inc (MAX_EXP): Remove
31388         (MIN_EXP): Define.
31389         (ulp): Use MIN_EXP - MANT_DIG.
31390         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
31392 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
31394         * po/be.po: Revert last change.
31395         * po/zh_CN.po: Likewise.
31396         * po/header.pot: Likewise.
31398 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
31400         * Makefile ($(common-objpfx)linkobj/libc.so): Define
31401         link-libc-deps to empty as target-specific variable.
31402         * Makerules (link-libc-args): New variable.
31403         (libc-for-link): Likewise.
31404         (link-libc-deps): Likewise.
31405         (lib%.so): Depend on $(link-libc-deps).  Link with
31406         $(link-libc-args).
31407         (build-module): Link with $(link-libc-args).
31408         (build-module-asneeded): Likewise.
31409         (build-module-helper-objlist): Filter out $(link-libc-deps) from
31410         list of objects.
31411         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
31412         target-specific variable.
31413         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
31414         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
31415         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
31416         libc.
31417         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
31418         libc and ld.so.
31419         ($(objpfx)libpcprofile.so): Likewise.
31420         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
31421         libc_nonshared.a.
31422         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
31423         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
31424         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
31425         $(link-libc-deps).
31426         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
31427         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
31428         * login/Makefile ($(objpfx)libutil.so): Likewise.
31429         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
31430         * math/Makefile ($(objpfx)libm.so): Likewise.
31431         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
31432         $(objpfx)libnsl.so): Define libc-for-link as target-specific
31433         variable instead of depending directly on libc.
31434         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
31435         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
31436         $(link-libc-deps).
31437         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
31438         libc.
31439         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
31440         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
31441         ($(objpfx)libanl.so): Likewise.
31442         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
31443         ld.so.
31444         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
31445         $(link-libc-deps).
31446         * sysdeps/i386/fpu/Makefile: Remove file.
31447         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
31448         ($(objpfx)libm.so): Remove dependency on ld.so.
31450 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
31452         [BZ # 15553]
31453         * nis/yp_xdr.c (XDRMAXNAME): Define.
31454         (XDRMAXRECORD): Define.
31455         (xdr_domainname): Use XDRMAXNAME.
31456         (xdr_mapname): Likewise.
31457         (xdr_peername): Likewise.
31458         (xdr_keydat): Use XDRMAXRECORD.
31459         (xdr_valdat): Likewise.
31461 2013-05-30  Jeff Law  <law@redhat.com>
31463         [BZ #14256]
31464         * manual/errno.texi (ESTALE): Update to account for more than
31465         just NFS file systems.
31466         * sysdeps/gnu/errlist.c: Regenerated.
31468 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31470         [BZ #15465]
31471         * elf/Makefile (tests): Add tst-null-argv.
31472         (modules-names):  Add tst-null-argv-lib.
31473         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
31474         (tst-null-argv-ENV): Set environment for tst-null-argv.
31475         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
31476         (RTLD_PROGNAME): New macro.
31477         * elf/tst-null-argv.c: New test case.
31478         * elf/tst-null-argv-lib.c: Library for test case.
31479         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
31480         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
31481         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
31482         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
31483         * elf/dl-init.c (call_init): Likewise.
31484         (_dl_init): Likewise.
31485         * elf/dl-load.c (print_search_path): Likewise.
31486         (_dl_map_object): Likewise.
31487         * elf/dl-lookup.c (do_lookup_x): Likewise.
31488         (add_dependency): Likewise.
31489         (_dl_lookup_symbol_x): Likewise.
31490         (_dl_debug_bindings): Likewise.
31491         * elf/dl-open.c (_dl_show_scope): Likewise.
31492         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
31493         * elf/dl-version.c (match_symbol): Likewise.
31494         (_dl_check_map_versions): Likewise.
31495         * elf/rtld.c (dl_main): Likewise.
31496         (print_unresolved): Use RTLD_PROGNAME.
31497         (print_missing_version): Likewise.
31498         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
31499         (elf_machine_rela): Likewise.
31500         * sysdeps/powerpc/powerpc32/dl-machine.c
31501         (__process_machine_rela): Likewise.
31502         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31503         Likewise.
31504         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
31505         Likewise.
31506         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
31507         Likewise.
31508         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31509         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
31510         Likewise.
31511         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
31512         Likewise.
31513         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31515 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
31517         * po/be.po: Add descriptive title.
31518         * po/zh_CN.po: Likewise.
31519         * po/header.pot: Likewise.
31521 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
31523         * locale/programs/locarchive.c (create_archive): Inlucde fname in
31524         error message.
31525         (enlarge_archive): Likewise.
31527 2013-05-28  Ben North  <ben@redfrontdoor.org>
31529         * manual/arith.texi (frexp): It is the magnitude of the return
31530         value which lies in [0.5, 1), not the return value itself.
31532 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31534         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31536 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
31538         * stdio-common/bug26.c (main): Correct fscanf template.
31540         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
31541         declare _dl_skip_args.
31543         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
31544         Don't declare.
31546         * manual/platform.texi: Add missing @end deftypefun.
31548 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31550         [BZ #15529]
31551         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
31552         bit of mantissa of 2^16382.
31553         * math/libm-test.inc (hypot_test_data): Add more tests.
31555         * math/libm-test.inc: Add drem and pow10 to list of tested
31556         functions.
31557         (pow10_test): New function.
31558         (drem_test): Likewise.
31559         (drem_test_tonearest): Likewise.
31560         (drem_test_towardzero): Likewise.
31561         (drem_test_downward): Likewise.
31562         (drem_test_upward): Likewise.
31563         (main): Call the new functions.
31565         * math/libm-test.inc (finite_test_data): Remove.
31566         (finite_test): Run tests from isfinite_test_data.
31567         (gamma_test_data): Remove.
31568         (gamma_test): Run tests from lgamma_test_data.
31569         * sysdeps/i386/fpu/libm-test-ulps: Update.
31570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31572 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31574         * manual/platform.texi: Add PowerPC PPR function set documentation.
31575         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
31576         implementation.
31578 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
31580         * math/libm-test.inc (MAX_EXP): Define.
31581         (ULPDIFF): Define.
31582         (ulp): New function.
31583         (check_float_internal): Use ULPDIFF.
31584         (cpow_test): Disable failing test.
31585         (check_ulp): Test ulp() implemetnation.
31586         (main): Call check_ulp before starting tests.
31588 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
31590         * math/gen-libm-test.pl (generate_testfile): Do not handle
31591         START_DATA and END_DATA.
31592         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
31593         END_DATA.
31594         (acos_tonearest_test_data): Likewise.
31595         (acos_towardzero_test_data): Likewise.
31596         (acos_downward_test_data): Likewise.
31597         (acos_upward_test_data): Likewise.
31598         (acosh_test_data): Likewise.
31599         (asin_test_data): Likewise.
31600         (asin_tonearest_test_data): Likewise.
31601         (asin_towardzero_test_data): Likewise.
31602         (asin_downward_test_data): Likewise.
31603         (asin_upward_test_data): Likewise.
31604         (asinh_test_data): Likewise.
31605         (atan_test_data): Likewise.
31606         (atanh_test_data): Likewise.
31607         (atan2_test_data): Likewise.
31608         (cabs_test_data): Likewise.
31609         (cacos_test_data): Likewise.
31610         (cacosh_test_data): Likewise.
31611         (carg_test_data): Likewise.
31612         (casin_test_data): Likewise.
31613         (casinh_test_data): Likewise.
31614         (catan_test_data): Likewise.
31615         (catanh_test_data): Likewise.
31616         (cbrt_test_data): Likewise.
31617         (ccos_test_data): Likewise.
31618         (ccosh_test_data): Likewise.
31619         (ceil_test_data): Likewise.
31620         (cexp_test_data): Likewise.
31621         (cimag_test_data): Likewise.
31622         (clog_test_data): Likewise.
31623         (clog10_test_data): Likewise.
31624         (conj_test_data): Likewise.
31625         (copysign_test_data): Likewise.
31626         (cos_test_data): Likewise.
31627         (cos_tonearest_test_data): Likewise.
31628         (cos_towardzero_test_data): Likewise.
31629         (cos_downward_test_data): Likewise.
31630         (cos_upward_test_data): Likewise.
31631         (cosh_test_data): Likewise.
31632         (cosh_tonearest_test_data): Likewise.
31633         (cosh_towardzero_test_data): Likewise.
31634         (cosh_downward_test_data): Likewise.
31635         (cosh_upward_test_data): Likewise.
31636         (cpow_test_data): Likewise.
31637         (cproj_test_data): Likewise.
31638         (creal_test_data): Likewise.
31639         (csin_test_data): Likewise.
31640         (csinh_test_data): Likewise.
31641         (csqrt_test_data): Likewise.
31642         (ctan_test_data): Likewise.
31643         (ctan_tonearest_test_data): Likewise.
31644         (ctan_towardzero_test_data): Likewise.
31645         (ctan_downward_test_data): Likewise.
31646         (ctan_upward_test_data): Likewise.
31647         (ctanh_test_data): Likewise.
31648         (ctanh_tonearest_test_data): Likewise.
31649         (ctanh_towardzero_test_data): Likewise.
31650         (ctanh_downward_test_data): Likewise.
31651         (ctanh_upward_test_data): Likewise.
31652         (erf_test_data): Likewise.
31653         (erfc_test_data): Likewise.
31654         (exp_test_data): Likewise.
31655         (exp_tonearest_test_data): Likewise.
31656         (exp_towardzero_test_data): Likewise.
31657         (exp_downward_test_data): Likewise.
31658         (exp_upward_test_data): Likewise.
31659         (exp10_test_data): Likewise.
31660         (exp2_test_data): Likewise.
31661         (expm1_test_data): Likewise.
31662         (fabs_test_data): Likewise.
31663         (fdim_test_data): Likewise.
31664         (finite_test_data): Likewise.
31665         (floor_test_data): Likewise.
31666         (fma_test_data): Likewise.
31667         (fma_towardzero_test_data): Likewise.
31668         (fma_downward_test_data): Likewise.
31669         (fma_upward_test_data): Likewise.
31670         (fmax_test_data): Likewise.
31671         (fmin_test_data): Likewise.
31672         (fmod_test_data): Likewise.
31673         (fpclassify_test_data): Likewise.
31674         (frexp_test_data): Likewise.
31675         (gamma_test_data): Likewise.
31676         (hypot_test_data): Likewise.
31677         (ilogb_test_data): Likewise.
31678         (isfinite_test_data): Likewise.
31679         (isgreater_test_data): Likewise.
31680         (isgreaterequal_test_data): Likewise.
31681         (isinf_test_data): Likewise.
31682         (isless_test_data): Likewise.
31683         (islessequal_test_data): Likewise.
31684         (islessgreater_test_data): Likewise.
31685         (isnan_test_data): Likewise.
31686         (isnormal_test_data): Likewise.
31687         (issignaling_test_data): Likewise.
31688         (isunordered_test_data): Likewise.
31689         (j0_test_data): Likewise.
31690         (j1_test_data): Likewise.
31691         (jn_test_data): Likewise.
31692         (ldexp_test_data): Likewise.
31693         (lgamma_test_data): Likewise.
31694         (lrint_test_data): Likewise.
31695         (lrint_tonearest_test_data): Likewise.
31696         (lrint_towardzero_test_data): Likewise.
31697         (lrint_downward_test_data): Likewise.
31698         (lrint_upward_test_data): Likewise.
31699         (llrint_test_data): Likewise.
31700         (llrint_tonearest_test_data): Likewise.
31701         (llrint_towardzero_test_data): Likewise.
31702         (llrint_downward_test_data): Likewise.
31703         (llrint_upward_test_data): Likewise.
31704         (log_test_data): Likewise.
31705         (log10_test_data): Likewise.
31706         (log1p_test_data): Likewise.
31707         (log2_test_data): Likewise.
31708         (logb_test_data): Likewise.
31709         (logb_downward_test_data): Likewise.
31710         (lround_test_data): Likewise.
31711         (llround_test_data): Likewise.
31712         (modf_test_data): Likewise.
31713         (nearbyint_test_data): Likewise.
31714         (nextafter_test_data): Likewise.
31715         (nexttoward_test_data): Likewise.
31716         (pow_test_data): Likewise.
31717         (pow_tonearest_test_data): Likewise.
31718         (pow_towardzero_test_data): Likewise.
31719         (pow_downward_test_data): Likewise.
31720         (pow_upward_test_data): Likewise.
31721         (remainder_test_data): Likewise.
31722         (remainder_tonearest_test_data): Likewise.
31723         (remainder_towardzero_test_data): Likewise.
31724         (remainder_downward_test_data): Likewise.
31725         (remainder_upward_test_data): Likewise.
31726         (remquo_test_data): Likewise.
31727         (rint_test_data): Likewise.
31728         (rint_tonearest_test_data): Likewise.
31729         (rint_towardzero_test_data): Likewise.
31730         (rint_downward_test_data): Likewise.
31731         (rint_upward_test_data): Likewise.
31732         (round_test_data): Likewise.
31733         (scalb_test_data): Likewise.
31734         (scalbn_test_data): Likewise.
31735         (scalbln_test_data): Likewise.
31736         (signbit_test_data): Likewise.
31737         (sin_test_data): Likewise.
31738         (sin_tonearest_test_data): Likewise.
31739         (sin_towardzero_test_data): Likewise.
31740         (sin_downward_test_data): Likewise.
31741         (sin_upward_test_data): Likewise.
31742         (sincos_test_data): Likewise.
31743         (sinh_test_data): Likewise.
31744         (sinh_tonearest_test_data): Likewise.
31745         (sinh_towardzero_test_data): Likewise.
31746         (sinh_downward_test_data): Likewise.
31747         (sinh_upward_test_data): Likewise.
31748         (sqrt_test_data): Likewise.
31749         (tan_test_data): Likewise.
31750         (tan_tonearest_test_data): Likewise.
31751         (tan_towardzero_test_data): Likewise.
31752         (tan_downward_test_data): Likewise.
31753         (tan_upward_test_data): Likewise.
31754         (tanh_test_data): Likewise.
31755         (tgamma_test_data): Likewise.
31756         (trunc_test_data): Likewise.
31757         (y0_test_data): Likewise.
31758         (y1_test_data): Likewise.
31759         (yn_test_data): Likewise.
31760         (significand_test_data): Likewise.
31762         * math/gen-libm-test.pl (@functions): Remove variable.
31763         (generate_testfile): Don't handle START and END lines.
31764         * math/libm-test.inc (START): New macro.
31765         (END): Likewise.
31766         (END_COMPLEX): Likewise.
31767         (acos_test): Use END macro without arguments.
31768         (acos_test_tonearest): Likewise.
31769         (acos_test_towardzero): Likewise.
31770         (acos_test_downward): Likewise.
31771         (acos_test_upward): Likewise.
31772         (acosh_test): Likewise.
31773         (asin_test): Likewise.
31774         (asin_test_tonearest): Likewise.
31775         (asin_test_towardzero): Likewise.
31776         (asin_test_downward): Likewise.
31777         (asin_test_upward): Likewise.
31778         (asinh_test): Likewise.
31779         (atan_test): Likewise.
31780         (atanh_test): Likewise.
31781         (atan2_test): Likewise.
31782         (cabs_test): Likewise.
31783         (cacos_test): Use END_COMPLEX macro without arguments.
31784         (cacosh_test): Likewise.
31785         (carg_test): Use END macro without arguments.
31786         (casin_test): Use END_COMPLEX macro without arguments.
31787         (casinh_test): Likewise.
31788         (catan_test): Likewise.
31789         (catanh_test): Likewise.
31790         (cbrt_test): Use END macro without arguments.
31791         (ccos_test): Use END_COMPLEX macro without arguments.
31792         (ccosh_test): Likewise.
31793         (ceil_test): Use END macro without arguments.
31794         (cexp_test): Use END_COMPLEX macro without arguments.
31795         (cimag_test): Use END macro without arguments.
31796         (clog_test): Use END_COMPLEX macro without arguments.
31797         (clog10_test): Likewise.
31798         (conj_test): Likewise.
31799         (copysign_test): Use END macro without arguments.
31800         (cos_test): Likewise.
31801         (cos_test_tonearest): Likewise.
31802         (cos_test_towardzero): Likewise.
31803         (cos_test_downward): Likewise.
31804         (cos_test_upward): Likewise.
31805         (cosh_test): Likewise.
31806         (cosh_test_tonearest): Likewise.
31807         (cosh_test_towardzero): Likewise.
31808         (cosh_test_downward): Likewise.
31809         (cosh_test_upward): Likewise.
31810         (cpow_test): Use END_COMPLEX macro without arguments.
31811         (cproj_test): Likewise.
31812         (creal_test): Use END macro without arguments.
31813         (csin_test): Use END_COMPLEX macro without arguments.
31814         (csinh_test): Likewise.
31815         (csqrt_test): Likewise.
31816         (ctan_test): Likewise.
31817         (ctan_test_tonearest): Likewise.
31818         (ctan_test_towardzero): Likewise.
31819         (ctan_test_downward): Likewise.
31820         (ctan_test_upward): Likewise.
31821         (ctanh_test): Likewise.
31822         (ctanh_test_tonearest): Likewise.
31823         (ctanh_test_towardzero): Likewise.
31824         (ctanh_test_downward): Likewise.
31825         (ctanh_test_upward): Likewise.
31826         (erf_test): Use END macro without arguments.
31827         (erfc_test): Likewise.
31828         (exp_test): Likewise.
31829         (exp_test_tonearest): Likewise.
31830         (exp_test_towardzero): Likewise.
31831         (exp_test_downward): Likewise.
31832         (exp_test_upward): Likewise.
31833         (exp10_test): Likewise.
31834         (exp2_test): Likewise.
31835         (expm1_test): Likewise.
31836         (fabs_test): Likewise.
31837         (fdim_test): Likewise.
31838         (finite_test): Likewise.
31839         (floor_test): Likewise.
31840         (fma_test): Likewise.
31841         (fma_test_towardzero): Likewise.
31842         (fma_test_downward): Likewise.
31843         (fma_test_upward): Likewise.
31844         (fmax_test): Likewise.
31845         (fmin_test): Likewise.
31846         (fmod_test): Likewise.
31847         (fpclassify_test): Likewise.
31848         (frexp_test): Likewise.
31849         (gamma_test): Likewise.
31850         (hypot_test): Likewise.
31851         (ilogb_test): Likewise.
31852         (isfinite_test): Likewise.
31853         (isgreater_test): Likewise.
31854         (isgreaterequal_test): Likewise.
31855         (isinf_test): Likewise.
31856         (isless_test): Likewise.
31857         (islessequal_test): Likewise.
31858         (islessgreater_test): Likewise.
31859         (isnan_test): Likewise.
31860         (isnormal_test): Likewise.
31861         (issignaling_test): Likewise.
31862         (isunordered_test): Likewise.
31863         (j0_test): Likewise.
31864         (j1_test): Likewise.
31865         (jn_test): Likewise.
31866         (ldexp_test): Likewise.
31867         (lgamma_test): Likewise.
31868         (lrint_test): Likewise.
31869         (lrint_test_tonearest): Likewise.
31870         (lrint_test_towardzero): Likewise.
31871         (lrint_test_downward): Likewise.
31872         (lrint_test_upward): Likewise.
31873         (llrint_test): Likewise.
31874         (llrint_test_tonearest): Likewise.
31875         (llrint_test_towardzero): Likewise.
31876         (llrint_test_downward): Likewise.
31877         (llrint_test_upward): Likewise.
31878         (log_test): Likewise.
31879         (log10_test): Likewise.
31880         (log1p_test): Likewise.
31881         (log2_test): Likewise.
31882         (logb_test): Likewise.
31883         (logb_test_downward): Likewise.
31884         (lround_test): Likewise.
31885         (llround_test): Likewise.
31886         (modf_test): Likewise.
31887         (nearbyint_test): Likewise.
31888         (nextafter_test): Likewise.
31889         (nexttoward_test): Likewise.
31890         (pow_test): Likewise.
31891         (pow_test_tonearest): Likewise.
31892         (pow_test_towardzero): Likewise.
31893         (pow_test_downward): Likewise.
31894         (pow_test_upward): Likewise.
31895         (remainder_test): Likewise.
31896         (remainder_test_tonearest): Likewise.
31897         (remainder_test_towardzero): Likewise.
31898         (remainder_test_downward): Likewise.
31899         (remainder_test_upward): Likewise.
31900         (remquo_test): Likewise.
31901         (rint_test): Likewise.
31902         (rint_test_tonearest): Likewise.
31903         (rint_test_towardzero): Likewise.
31904         (rint_test_downward): Likewise.
31905         (rint_test_upward): Likewise.
31906         (round_test): Likewise.
31907         (scalb_test): Likewise.
31908         (scalbn_test): Likewise.
31909         (scalbln_test): Likewise.
31910         (signbit_test): Likewise.
31911         (sin_test): Likewise.
31912         (sin_test_tonearest): Likewise.
31913         (sin_test_towardzero): Likewise.
31914         (sin_test_downward): Likewise.
31915         (sin_test_upward): Likewise.
31916         (sincos_test): Likewise.
31917         (sinh_test): Likewise.
31918         (sinh_test_tonearest): Likewise.
31919         (sinh_test_towardzero): Likewise.
31920         (sinh_test_downward): Likewise.
31921         (sinh_test_upward): Likewise.
31922         (sqrt_test): Likewise.
31923         (tan_test): Likewise.
31924         (tan_test_tonearest): Likewise.
31925         (tan_test_towardzero): Likewise.
31926         (tan_test_downward): Likewise.
31927         (tan_test_upward): Likewise.
31928         (tanh_test): Likewise.
31929         (tgamma_test): Likewise.
31930         (trunc_test): Likewise.
31931         (y0_test): Likewise.
31932         (y1_test): Likewise.
31933         (yn_test): Likewise.
31934         (significand_test): Likewise.
31936 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
31938         [BZ #15381]
31939         * libio/genops.c (_IO_no_init): Initialize wide struct info.
31941 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
31943         [BZ #14894]
31944         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
31945         __ppc_mdoio and __ppc_mdoom.
31946         * manual/platform.texi: Document new functions __ppc_yield,
31947         __ppc_mdoio and __ppc_mdoom.
31949 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
31951         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
31952         (main): Mention "tls" pseudo-hwcap is legacy.
31953         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
31955 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
31957         * math/gen-libm-test.pl (parse_args): Output only string of
31958         arguments as text for test name, not full call or descriptions of
31959         tests for extra outputs.
31960         (generate_testfile): Do not pass function name to parse_args.
31961         Generate this_func variable from START.
31962         * math/libm-test.inc (struct test_f_f_data): Rename test_name
31963         field to arg_str.
31964         (struct test_ff_f_data): Likewise.
31965         (test_ff_f_data_nexttoward): Likewise.
31966         (struct test_fi_f_data): Likewise.
31967         (struct test_fl_f_data): Likewise.
31968         (struct test_if_f_data): Likewise.
31969         (struct test_fff_f_data): Likewise.
31970         (struct test_c_f_data): Likewise.
31971         (struct test_f_f1_data): Likewise.  Remove field extra_name.
31972         (struct test_fF_f1_data): Likewise.
31973         (struct test_ffI_f1_data): Likewise.
31974         (struct test_c_c_data): Rename test_name field to arg_str.
31975         (struct test_cc_c_data): Likewise.
31976         (struct test_f_i_data): Likewise.
31977         (struct test_ff_i_data): Likewise.
31978         (struct test_f_l_data): Likewise.
31979         (struct test_f_L_data): Likewise.
31980         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
31981         and extra2_name.
31982         (COMMON_TEST_SETUP): New macro.
31983         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
31984         (COMMON_TEST_CLEANUP): Likewise.
31985         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
31986         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
31987         macros.
31988         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
31989         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
31990         macros.
31991         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
31992         (RUN_TEST_fff_f): Take argument string.  Call new setup and
31993         cleanup macros.
31994         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
31995         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
31996         macros.
31997         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
31998         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
31999         macros.
32000         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32001         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
32002         cleanup macros.
32003         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32004         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
32005         cleanup macros.
32006         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32007         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
32008         cleanup macros.
32009         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32010         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
32011         macros.
32012         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
32013         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
32014         macros.
32015         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
32016         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
32017         macros.
32018         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
32019         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
32020         cleanup macros.
32021         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
32022         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
32023         cleanup macros.
32024         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
32025         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
32026         macros.
32027         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
32028         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
32029         cleanup macros.
32030         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
32031         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
32032         macros.
32033         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
32034         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
32035         macros.
32036         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
32037         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
32038         cleanup macros.
32039         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
32041 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
32043         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
32044         to _sifields.sigfault.
32045         (si_addr_lsb): Define new macro.
32046         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32047         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32048         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
32050 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
32052         [BZ #15441]
32053         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
32054         returns -1.
32055         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
32056         null return -1.
32057         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
32058         loading the domain.
32060 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
32062         * math/gen-libm-test.pl (parse_args): Do not include expected
32063         result in test name.
32064         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
32065         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32066         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32067         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32068         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32071 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32073         * benchtests/Makefile: Sort function entries.
32075         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
32076         tanh, asinh, acosh, atanh.
32077         * benchtests/acos-inputs: New file.
32078         * benchtests/acosh-inputs: New file.
32079         * benchtests/asin-inputs: New file.
32080         * benchtests/asinh-inputs: New file.
32081         * benchtests/atanh-inputs: New file.
32082         * benchtests/cosh-inputs: New file.
32083         * benchtests/log-inputs: New file.
32084         * benchtests/sinh-inputs: New file.
32085         * benchtests/tanh-inputs: New file.
32087 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
32089         [BZ #15339]
32090         * posix/tst-getaddrinfo4.c: New test.
32091         * posix/Makefile (tests): Add it.
32093 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32095         [BZ #15339]
32096         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
32097         when no services were used.
32098         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
32099         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
32101 2013-05-21  Andreas Schwab  <schwab@suse.de>
32103         [BZ #15014]
32104         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
32105         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
32106         successful.
32107         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
32108         redundant variable declarations and reallocation of buffer when
32109         parsing as IPv6 address.  Always set NSS status when called from
32110         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
32111         buffer too small.  Correct computation of needed size.
32112         * nss/Makefile (tests): Add test-digits-dots.
32113         * nss/test-digits-dots.c: New test.
32115 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32117         * benchtests/Makefile: Remove instructions for adding
32118         benchmark tests.
32119         * benchtests/README: New file to explain how to execute and
32120         enhance the benchmark tests.
32122 2013-05-21  Andreas Schwab  <schwab@suse.de>
32124         [BZ #15493]
32125         * setjmp/Makefile (tests): Add tst-sigsetjmp.
32126         * setjmp/tst-sigsetjmp.c: New test.
32128 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32130         * sysdeps/x86_64/memset.S (memset): New implementation.
32131         (__bzero): Likewise.
32132         (__memset_tail): New function.
32134 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
32136         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
32137         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
32138         __memcpy_sse2_unaligned ifunc selection.
32139         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32140         Add memcpy-sse2-unaligned.S.
32141         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32142         Add: __memcpy_sse2_unaligned.
32144 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
32146         [BZ #15490]
32147         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32148         math_force_eval before restoring floating-point envrionment.
32149         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
32150         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
32151         Likewise.
32152         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
32153         <math_private.h>.
32154         (__nearbyintl): Use math_force_eval before restoring
32155         floating-point environment.
32156         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
32158         * math/gen-libm-test.pl (special_functions): Remove.
32159         (parse_args): Don't handle TEST_extra.  Handle functions with no
32160         return value.
32161         * math/libm-test.inc (struct test_sincos_data): Replace with
32162         struct test_fFF_11_data.
32163         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
32164         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
32165         (sincos_test_data): Change element type to struct
32166         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
32167         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
32168         RUN_TEST_LOOP_sincos.
32169         * math/README.libm-test: Don't mention special handling of
32170         individual functions.
32171         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
32172         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32173         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32174         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32175         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32178         * math/gen-libm-test.pl (get_variable): Remove function.
32179         (parse_args): Don't show pointer parameters to call in test
32180         names.  Use "extra output N" in test names for extra outputs
32181         rather than naming variables.
32183 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
32185         [BZ #15488]
32186         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
32187         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
32188         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
32189         double tests.
32190         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
32191         disable.
32192         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
32193         check_long_double.
32195         * math/gen-libm-test.pl (@tests): Remove variable.
32196         ($count): Likewise.
32197         (new_test): Remove function.
32198         (show_exceptions): New function.
32199         (special_functions): Use show_exceptions instead of new_test.
32200         (parse_args): Likewise.
32201         (generate_testfile): Pass only function name in generated call to
32202         print_max_error or print_complex_max_error.
32203         (get_ulps): Do not handle complex tests specially.
32204         (output_test): Rename to ...
32205         (get_all_ulps_for_test): ... this.  Return a string rather than
32206         printing to a file.  Require ulps to be present.
32207         (output_ulps): Generate arrays rather than #defines.
32208         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
32209         (struct ulp_data): New type.
32210         (BUILD_COMPLEX_ULP): Remove macro.
32211         (compare_ulp_data): New function.
32212         (find_ulps): Likewise.
32213         (find_test_ulps): Likewise.
32214         (find_function_ulps): Likewise.
32215         (find_complex_function_ulps): Likewise.
32216         (print_max_error): Determine allowed ulps using
32217         find_function_ulps.
32218         (print_complex_max_error): Determine allowed ulps using
32219         find_complex_function_ulps.
32220         (check_float_internal): Determine max ulps using find_test_ulps.
32221         (check_float): Do not take max_ulp parameter.  Update call to
32222         check_float_internal.
32223         (check_complex): Likewise.
32224         (check_int): Do not take max_ulp parameter.
32225         (check_long): Likewise.
32226         (check_bool): Likewise.
32227         (check_longlong): Likewise.
32228         (struct test_f_f_data): Remove max_ulp field.
32229         (struct test_ff_f_data): Likewise.
32230         (struct test_ff_f_data_nexttoward): Likewise.
32231         (struct test_fi_f_data): Likewise.
32232         (struct test_fl_f_data): Likewise.
32233         (struct test_if_f_data): Likewise.
32234         (struct test_fff_f_data): Likewise.
32235         (struct test_c_f_data): Likewise.
32236         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
32237         (struct test_fF_f1_data): Likewise.
32238         (struct test_ffI_f1_data): Likewise.
32239         (struct test_c_c_data): Remove max_ulp field.
32240         (struct test_cc_c_data): Likewise.
32241         (struct test_f_i_data): Likewise.
32242         (struct test_ff_i_data): Likewise.
32243         (struct test_f_l_data): Likewise.
32244         (struct test_f_L_data): Likewise.
32245         (struct test_sincos_data): Likewise.
32246         (RUN_TEST_f_f): Do not handle ulps.
32247         (RUN_TEST_LOOP_f_f): Likewise.
32248         (RUN_TEST_2_f): Likewise.
32249         (RUN_TEST_LOOP_2_f): Likewise.
32250         (RUN_TEST_fff_f): Likewise.
32251         (RUN_TEST_LOOP_fff_f): Likewise.
32252         (RUN_TEST_c_f): Likewise.
32253         (RUN_TEST_LOOP_c_f): Likewise.
32254         (RUN_TEST_f_f1): Likewise.
32255         (RUN_TEST_LOOP_f_f1): Likewise.
32256         (RUN_TEST_fF_f1): Likewise.
32257         (RUN_TEST_LOOP_fF_f1): Likewise.
32258         (RUN_TEST_fI_f1): Likewise.
32259         (RUN_TEST_LOOP_fI_f1): Likewise.
32260         (RUN_TEST_ffI_f1): Likewise.
32261         (RUN_TEST_LOOP_ffI_f1): Likewise.
32262         (RUN_TEST_c_c): Likewise.
32263         (RUN_TEST_LOOP_c_c): Likewise.
32264         (RUN_TEST_cc_c): Likewise.
32265         (RUN_TEST_LOOP_cc_c): Likewise.
32266         (RUN_TEST_f_i): Likewise.
32267         (RUN_TEST_LOOP_f_i): Likewise.
32268         (RUN_TEST_f_i_tg): Likewise.
32269         (RUN_TEST_LOOP_f_i_tg): Likewise.
32270         (RUN_TEST_ff_i_tg): Likewise.
32271         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32272         (RUN_TEST_f_b): Likewise.
32273         (RUN_TEST_LOOP_f_b): Likewise.
32274         (RUN_TEST_f_b_tg): Likewise.
32275         (RUN_TEST_LOOP_f_b_tg): Likewise.
32276         (RUN_TEST_f_l): Likewise.
32277         (RUN_TEST_LOOP_f_l): Likewise.
32278         (RUN_TEST_f_L): Likewise.
32279         (RUN_TEST_LOOP_f_L): Likewise.
32280         (RUN_TEST_sincos): Likewise.
32281         (RUN_TEST_LOOP_sincos): Likewise.
32283 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
32285         [BZ #15480]
32286         [BZ #15485]
32287         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
32288         main case of finite arguments, set rounding mode to FE_TONEAREST
32289         and discard exceptions.
32290         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
32291         exceptions.
32292         (remainder_tonearest_test_data): New variable.
32293         (remainder_test_tonearest): New function.
32294         (remainder_towardzero_test_data): New variable.
32295         (remainder_test_towardzero): New function.
32296         (remainder_downward_test_data): New variable.
32297         (remainder_test_downward): New function.
32298         (remainder_upward_test_data): New variable.
32299         (remainder_test_upward): New function.
32300         (main): Call the new test functions.
32302         * math/libm-test.inc (struct test_f_f1_data): Remove field
32303         extra_init.
32304         (struct test_fF_f1_data): Likewise.
32305         (struct test_ffI_f1_data): Likewise.
32306         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
32307         based on value of EXTRA_EXPECTED.
32308         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
32309         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
32310         EXTRA_VAR based on value of EXTRA_EXPECTED.
32311         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
32312         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
32313         EXTRA_VAR based on value of EXTRA_EXPECTED.
32314         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
32315         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
32316         EXTRA_VAR based on value of EXTRA_EXPECTED.
32317         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
32318         * math/gen-libm-test.pl (parse_args): Don't output initializers
32319         for extra output values.
32321         * math/libm-test.inc (check_int): Expect result to be exactly
32322         equal to expected value and do not handle ulps.
32323         (check_long): Likewise.
32324         (check_longlong): Likewise.
32326         * math/libm-test.inc (ceil_test_data): Test for "inexact"
32327         exceptions.
32328         (cimag_test_data): Likewise.
32329         (conj_test_data): Likewise.
32330         (copysign_test_data): Likewise.
32331         (cproj_test_data): Likewise.
32332         (creal_test_data): Likewise.
32333         (fabs_test_data): Likewise.
32334         (fdim_test_data): Likewise.
32335         (finite_test_data): Likewise.
32336         (floor_test_data): Likewise.
32337         (fmax_test_data): Likewise.
32338         (fmin_test_data): Likewise.
32339         (fmod_test_data): Likewise.
32340         (fpclassify_test_data): Likewise.
32341         (frexp_test_data): Likewise.
32342         (ilogb_test_data): Likewise.
32343         (isfinite_test_data): Likewise.
32344         (isgreater_test_data): Likewise.
32345         (isgreaterequal_test_data): Likewise.
32346         (isinf_test_data): Likewise.
32347         (isless_test_data): Likewise.
32348         (islessequal_test_data): Likewise.
32349         (islessgreater_test_data): Likewise.
32350         (isnan_test_data): Likewise.
32351         (isnormal_test_data): Likewise.
32352         (issignaling_test_data): Likewise.
32353         (isunordered_test_data): Likewise.
32354         (ldexp_test_data): Likewise.
32355         (lrint_test_data): Likewise.
32356         (lrint_test_data) [TEST_FLOAT]: Disable one test.
32357         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
32358         (lrint_tonearest_test_data): Test for "inexact" exceptions.
32359         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32360         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
32361         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32362         test input.
32363         (lrint_towardzero_test_data): Test for "inexact" exceptions.
32364         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32365         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
32366         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
32367         that test input.
32368         (lrint_downward_test_data): Test for "inexact" exceptions.
32369         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32370         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
32371         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
32372         test input.
32373         (lrint_upward_test_data): Test for "inexact" exceptions.
32374         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
32375         test input.
32376         (llrint_test_data): Test for "inexact" exceptions.
32377         (llrint_test_data) [TEST_FLOAT]: Disable one test.
32378         (llrint_tonearest_test_data): Test for "inexact" exceptions.
32379         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
32380         (llrint_towardzero_test_data): Test for "inexact" exceptions.
32381         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
32382         (llrint_downward_test_data): Test for "inexact" exceptions.
32383         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
32384         (llrint_upward_test_data): Test for "inexact" exceptions.
32385         (logb_test_data): Likewise.
32386         (logb_downward_test_data): Likewise.
32387         (nextafter_test_data): Likewise.
32388         (nexttoward_test_data): Likewise.
32389         (remainder_test_data): Likewise.
32390         (remquo_test_data): Likewise.
32391         (scalbn_test_data): Likewise.
32392         (scalbln_test_data): Likewise.
32393         (signbit_test_data): Likewise.
32394         (sqrt_test_data): Likewise.
32395         (significand_test_data): Likewise.
32397 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32399         [BZ #15424]
32400         * benchtests/bench-modf.c (struct args): Mark arg0 as
32401         volatile.
32402         * scripts/bench.pl: Mark members of struct args as volatile.
32404 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32406         [BZ # 15497]
32407         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
32408         negative infinity on POWER6 or lower.
32409         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
32411 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
32413         [BZ #15442]
32414         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
32415         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
32416         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
32417         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
32418         (_FP_SETQNAN): New macro.
32419         (_FP_SETQNAN_SEMIRAW): Likewise.
32420         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
32421         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
32422         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
32423         (FP_EXTEND): Use _FP_FRAC_SNANP.
32424         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
32425         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
32426         into account.
32427         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32428         New macro.
32429         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
32430         Likewise.
32432 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32434         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
32435         with DIVIDE_BY_ZERO_EXCEPTION.
32436         (gamma_test_data): Likewise.
32437         (lgamma_test_data): Likewise.
32438         (log_test_data): Likewise.
32439         (log10_test_data): Likewise.
32440         (log2_test_data): Likewise.
32441         (tgamma_test_data): Likewise.
32443         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
32444         (acos_test_tonearest): Likewise.
32445         (acos_test_towardzero): Likewise.
32446         (acos_test_downward): Likewise.
32447         (acos_test_upward): Likewise.
32448         (acosh_test): Likewise.
32449         (asin_test): Likewise.
32450         (asin_test_tonearest): Likewise.
32451         (asin_test_towardzero): Likewise.
32452         (asin_test_downward): Likewise.
32453         (asin_test_upward): Likewise.
32454         (asinh_test): Likewise.
32455         (atan_test): Likewise.
32456         (atanh_test): Likewise.
32457         (atan2_test): Likewise.
32458         (cabs_test): Likewise.
32459         (cacos_test): Likewise.
32460         (cacosh_test): Likewise.
32461         (casin_test): Likewise.
32462         (casinh_test): Likewise.
32463         (catan_test): Likewise.
32464         (catanh_test): Likewise.
32465         (cbrt_test): Likewise.
32466         (ccos_test): Likewise.
32467         (ccosh_test): Likewise.
32468         (cexp_test): Likewise.
32469         (clog_test): Likewise.
32470         (clog10_test): Likewise.
32471         (cos_test): Likewise.
32472         (cos_test_tonearest): Likewise.
32473         (cos_test_towardzero): Likewise.
32474         (cos_test_downward): Likewise.
32475         (cos_test_upward): Likewise.
32476         (cosh_test): Likewise.
32477         (cosh_test_tonearest): Likewise.
32478         (cosh_test_towardzero): Likewise.
32479         (cosh_test_downward): Likewise.
32480         (cosh_test_upward): Likewise.
32481         (cpow_test): Likewise.
32482         (csin_test): Likewise.
32483         (csinh_test): Likewise.
32484         (csqrt_test): Likewise.
32485         (ctan_test): Likewise.
32486         (ctan_test_tonearest): Likewise.
32487         (ctan_test_towardzero): Likewise.
32488         (ctan_test_downward): Likewise.
32489         (ctan_test_upward): Likewise.
32490         (ctanh_test): Likewise.
32491         (ctanh_test_tonearest): Likewise.
32492         (ctanh_test_towardzero): Likewise.
32493         (ctanh_test_downward): Likewise.
32494         (ctanh_test_upward): Likewise.
32495         (erf_test): Likewise.
32496         (erfc_test): Likewise.
32497         (exp_test): Likewise.
32498         (exp_test_tonearest): Likewise.
32499         (exp_test_towardzero): Likewise.
32500         (exp_test_downward): Likewise.
32501         (exp_test_upward): Likewise.
32502         (exp10_test): Likewise.
32503         (exp2_test): Likewise.
32504         (expm1_test): Likewise.
32505         (fmod_test): Likewise.
32506         (gamma_test): Likewise.
32507         (hypot_test): Likewise.
32508         (j0_test): Likewise.
32509         (j1_test): Likewise.
32510         (jn_test): Likewise.
32511         (lgamma_test): Likewise.
32512         (log_test): Likewise.
32513         (log10_test): Likewise.
32514         (log1p_test): Likewise.
32515         (log2_test): Likewise.
32516         (logb_test_downward): Likewise.
32517         (pow_test): Likewise.
32518         (pow_test_tonearest): Likewise.
32519         (pow_test_towardzero): Likewise.
32520         (pow_test_downward): Likewise.
32521         (pow_test_upward): Likewise.
32522         (remainder_test): Likewise.
32523         (remquo_test): Likewise.
32524         (sin_test): Likewise.
32525         (sin_test_tonearest): Likewise.
32526         (sin_test_towardzero): Likewise.
32527         (sin_test_downward): Likewise.
32528         (sin_test_upward): Likewise.
32529         (sincos_test): Likewise.
32530         (sinh_test): Likewise.
32531         (sinh_test_tonearest): Likewise.
32532         (sinh_test_towardzero): Likewise.
32533         (sinh_test_downward): Likewise.
32534         (sinh_test_upward): Likewise.
32535         (sqrt_test): Likewise.
32536         (tan_test): Likewise.
32537         (tan_test_tonearest): Likewise.
32538         (tan_test_towardzero): Likewise.
32539         (tan_test_downward): Likewise.
32540         (tan_test_upward): Likewise.
32541         (tanh_test): Likewise.
32542         (tgamma_test): Likewise.
32543         (y0_test): Likewise.
32544         (y1_test): Likewise.
32545         (yn_test): Likewise.
32547         * math/gen-libm-test.pl (adjust_arg): Remove function.
32548         (special_function): Remove argument $in_func.  Only handle
32549         generating output for tables of tests, not inside functions.
32550         (parse_args): Likewise.
32551         (generate_testfile): Remove variable $in_func.  Update call to
32552         parse_args.
32553         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
32554         (MINUS_ZERO_INIT): Rename macro to minus_zero.
32555         (PLUS_INFTY_INIT): Rename macro to plus_infty.
32556         (MINUS_INFTY_INIT): Rename macro to minus_infty.
32557         (QNAN_VALUE_INIT): Rename macro to qnan_value.
32558         (MAX_VALUE_INIT): Rename macro to max_value.
32559         (MIN_VALUE_INIT): Rename macro to min_value.
32560         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
32561         (plus_zero): Remove variable.
32562         (minus_zero): Likewise.
32563         (plus_infty): Likewise.
32564         (minus_infty): Likewise.
32565         (qnan_value): Likewise.
32566         (max_value): Likewise.
32567         (min_value): Likewise.
32568         (min_subnorm_value): Likewise.
32570 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32572         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
32573         uint64_t or uint32_t usage.
32574         * crypt/sha256-block.c: Likewise.
32575         * crypt/sha256-crypt.c: Likewise.
32576         * crypt/sha256.c: Likewise.
32577         * crypt/sha512-block.c: Likewise.
32578         * crypt/sha512-crypt.c: Likewise.
32579         * crypt/sha512.c: Likewise.
32580         * debug/backtrace-tst.c: Likewise.
32581         * debug/pcprofiledump.c: Likewise.
32582         * elf/cache.c: Likewise.
32583         * elf/dl-cache.c: Likewise.
32584         * elf/dl-misc.c: Likewise.
32585         * elf/dl-profile.c: Likewise.
32586         * elf/dl-support.c: Likewise.
32587         * elf/ldconfig.c: Likewise.
32588         * elf/sprof.c: Likewise.
32589         * iconv/dummy-repertoire.c: Likewise.
32590         * iconv/iconv_charmap.c: Likewise.
32591         * iconv/skeleton.c: Likewise.
32592         * iconvdata/8bit-generic.c: Likewise.
32593         * iconvdata/cp737.h: Likewise.
32594         * iconvdata/cp775.h: Likewise.
32595         * iconvdata/ibm1008.h: Likewise.
32596         * iconvdata/ibm1025.h: Likewise.
32597         * iconvdata/ibm1046.h: Likewise.
32598         * iconvdata/ibm1097.h: Likewise.
32599         * iconvdata/ibm1112.h: Likewise.
32600         * iconvdata/ibm1122.h: Likewise.
32601         * iconvdata/ibm1123.h: Likewise.
32602         * iconvdata/ibm1124.h: Likewise.
32603         * iconvdata/ibm1129.h: Likewise.
32604         * iconvdata/ibm1130.h: Likewise.
32605         * iconvdata/ibm1132.h: Likewise.
32606         * iconvdata/ibm1133.h: Likewise.
32607         * iconvdata/ibm1137.h: Likewise.
32608         * iconvdata/ibm1140.h: Likewise.
32609         * iconvdata/ibm1141.h: Likewise.
32610         * iconvdata/ibm1142.h: Likewise.
32611         * iconvdata/ibm1143.h: Likewise.
32612         * iconvdata/ibm1144.h: Likewise.
32613         * iconvdata/ibm1145.h: Likewise.
32614         * iconvdata/ibm1146.h: Likewise.
32615         * iconvdata/ibm1147.h: Likewise.
32616         * iconvdata/ibm1148.h: Likewise.
32617         * iconvdata/ibm1149.h: Likewise.
32618         * iconvdata/ibm1153.h: Likewise.
32619         * iconvdata/ibm1154.h: Likewise.
32620         * iconvdata/ibm1155.h: Likewise.
32621         * iconvdata/ibm1156.h: Likewise.
32622         * iconvdata/ibm1157.h: Likewise.
32623         * iconvdata/ibm1158.h: Likewise.
32624         * iconvdata/ibm1160.h: Likewise.
32625         * iconvdata/ibm1161.h: Likewise.
32626         * iconvdata/ibm1162.h: Likewise.
32627         * iconvdata/ibm1163.h: Likewise.
32628         * iconvdata/ibm1164.h: Likewise.
32629         * iconvdata/ibm1166.h: Likewise.
32630         * iconvdata/ibm1167.h: Likewise.
32631         * iconvdata/ibm12712.h: Likewise.
32632         * iconvdata/ibm1390.h: Likewise.
32633         * iconvdata/ibm1399.h: Likewise.
32634         * iconvdata/ibm16804.h: Likewise.
32635         * iconvdata/ibm4517.h: Likewise.
32636         * iconvdata/ibm4899.h: Likewise.
32637         * iconvdata/ibm4909.h: Likewise.
32638         * iconvdata/ibm4971.h: Likewise.
32639         * iconvdata/ibm5347.h: Likewise.
32640         * iconvdata/ibm803.h: Likewise.
32641         * iconvdata/ibm856.h: Likewise.
32642         * iconvdata/ibm901.h: Likewise.
32643         * iconvdata/ibm902.h: Likewise.
32644         * iconvdata/ibm9030.h: Likewise.
32645         * iconvdata/ibm9066.h: Likewise.
32646         * iconvdata/ibm921.h: Likewise.
32647         * iconvdata/ibm922.h: Likewise.
32648         * iconvdata/ibm9448.h: Likewise.
32649         * iconvdata/isiri-3342.h: Likewise.
32650         * iconvdata/jis0201.h: Likewise.
32651         * include/link.h: Likewise.
32652         * include/netdb.h: Likewise.
32653         * inet/check_native.c: Likewise.
32654         * inet/check_pf.c: Likewise.
32655         * inet/getipv4sourcefilter.c: Likewise.
32656         * inet/getnameinfo.c: Likewise.
32657         * inet/getsourcefilter.c: Likewise.
32658         * inet/htonl.c: Likewise.
32659         * inet/setipv4sourcefilter.c: Likewise.
32660         * inet/setsourcefilter.c: Likewise.
32661         * inet/test-inet6_opt.c: Likewise.
32662         * inet/tst-network.c: Likewise.
32663         * locale/C-collate.c: Likewise.
32664         * locale/C-ctype.c: Likewise.
32665         * locale/C-time.c: Likewise.
32666         * locale/C-translit.h: Likewise.
32667         * locale/loadarchive.c: Likewise.
32668         * locale/programs/3level.h: Likewise.
32669         * locale/programs/charmap.c: Likewise.
32670         * locale/programs/charmap.h: Likewise.
32671         * locale/programs/ld-address.c: Likewise.
32672         * locale/programs/ld-collate.c: Likewise.
32673         * locale/programs/ld-ctype.c: Likewise.
32674         * locale/programs/ld-identification.c: Likewise.
32675         * locale/programs/ld-measurement.c: Likewise.
32676         * locale/programs/ld-messages.c: Likewise.
32677         * locale/programs/ld-monetary.c: Likewise.
32678         * locale/programs/ld-name.c: Likewise.
32679         * locale/programs/ld-numeric.c: Likewise.
32680         * locale/programs/ld-paper.c: Likewise.
32681         * locale/programs/ld-telephone.c: Likewise.
32682         * locale/programs/ld-time.c: Likewise.
32683         * locale/programs/linereader.c: Likewise.
32684         * locale/programs/locale.c: Likewise.
32685         * locale/programs/locarchive.c: Likewise.
32686         * locale/programs/locfile.h: Likewise.
32687         * locale/programs/repertoire.c: Likewise.
32688         * locale/programs/simple-hash.c: Likewise.
32689         * locale/programs/simple-hash.h: Likewise.
32690         * malloc/memusage.c: Likewise.
32691         * malloc/memusagestat.c: Likewise.
32692         * nis/nis_defaults.c: Likewise.
32693         * nis/nis_hash.c: Likewise.
32694         * nis/nis_print.c: Likewise.
32695         * nis/nis_xdr.c: Likewise.
32696         * nscd/connections.c: Likewise.
32697         * nscd/hstcache.c: Likewise.
32698         * nscd/nscd_gethst_r.c: Likewise.
32699         * nscd/nscd_getserv_r.c: Likewise.
32700         * nscd/nscd_helper.c: Likewise.
32701         * nscd/servicescache.c: Likewise.
32702         * nss/makedb.c: Likewise.
32703         * nss/nss_db/db-XXX.c: Likewise.
32704         * nss/nss_db/db-initgroups.c: Likewise.
32705         * nss/nss_db/db-netgrp.c: Likewise.
32706         * nss/nss_files/files-network.c: Likewise.
32707         * nss/nss_files/files-parse.c: Likewise.
32708         * posix/bug-regex5.c: Likewise.
32709         * posix/fnmatch_loop.c: Likewise.
32710         * posix/regcomp.c: Likewise.
32711         * posix/regexec.c: Likewise.
32712         * posix/tst-rfc3484-2.c: Likewise.
32713         * posix/tst-rfc3484-3.c: Likewise.
32714         * posix/tst-rfc3484.c: Likewise.
32715         * resolv/nss_dns/dns-canon.c: Likewise.
32716         * resolv/nss_dns/dns-network.c: Likewise.
32717         * resolv/res_init.c: Likewise.
32718         * resolv/res_mkquery.c: Likewise.
32719         * resolv/tst-aton.c: Likewise.
32720         * stdlib/cxa_atexit.c: Likewise.
32721         * stdlib/cxa_finalize.c: Likewise.
32722         * stdlib/gen-fpioconst.c: Likewise.
32723         * stdlib/strtol_l.c: Likewise.
32724         * string/tst-endian.c: Likewise.
32725         * sunrpc/auth_des.c: Likewise.
32726         * sunrpc/clnt_udp.c: Likewise.
32727         * sunrpc/rtime.c: Likewise.
32728         * sunrpc/svcauth_des.c: Likewise.
32729         * sunrpc/xdr.c: Likewise.
32730         * sunrpc/xdr_intXX_t.c: Likewise.
32731         * sunrpc/xdr_rec.c: Likewise.
32732         * sysdeps/generic/ldconfig.h: Likewise.
32733         * sysdeps/generic/ldsodefs.h: Likewise.
32734         * sysdeps/generic/memusage.h: Likewise.
32735         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32736         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
32737         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
32738         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32739         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32740         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32741         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32742         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32743         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32744         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
32745         * sysdeps/posix/getaddrinfo.c: Likewise.
32746         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32747         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32748         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32749         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32750         * sysdeps/powerpc/test-gettimebase.c: Likewise.
32751         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
32752         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
32753         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
32754         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
32755         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
32756         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
32757         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
32758         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
32759         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
32760         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
32761         * sysdeps/x86_64/dl-tls.h: Likewise.
32762         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
32763         * time/alt_digit.c: Likewise.
32764         * time/era.c: Likewise.
32765         * wcsmbs/tst-c16c32-1.c: Likewise.
32767 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32769         * math/libm-test.inc (struct test_sincos_data): New type.
32770         (RUN_TEST_LOOP_sincos): New macro.
32771         (sincos_test_data): New variable.
32772         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
32774 2013-05-16  Richard Henderson  <rth@redhat.com>
32776         * math/atest-exp2.c (LIMB64): New macro.
32777         (CONSTSZ): New macro.
32778         (mp_exp1, mp_exp_m1, mp_log2): New variables.
32779         (hexdig): Move ...
32780         (print_mpn_fp): ... to function scope.
32781         (read_mpn_hex): Remove.
32782         (get_log2): Remove.
32783         (exp2_mpn): Use mp_log2.
32784         (main): Use mp_exp1.
32786 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
32788         * math/libm-test.inc: Remove comment about not testing "inexact"
32789         exceptions.
32790         (INEXACT_EXCEPTION): New macro.
32791         (NO_INEXACT_EXCEPTION): Likewise.
32792         (INVALID_EXCEPTION_OK): Update value.
32793         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32794         (OVERFLOW_EXCEPTION_OK): Likewise.
32795         (UNDERFLOW_EXCEPTION_OK): Likewise.
32796         (IGNORE_ZERO_INF_SIGN): Likewise.
32797         (ERRNO_UNCHANGED): Likewise.
32798         (ERRNO_EDOM): Likewise.
32799         (ERRNO_ERANGE): Likewise.
32800         (test_exceptions): Handle testing "inexact" exceptions.
32801         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
32802         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
32803         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
32804         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
32805         INEXACT_EXCEPTION.
32806         (rint_towardzero_test_data): Likewise.
32807         (rint_downward_test_data): Likewise.
32808         (rint_upward_test_data): Likewise.
32810         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
32811         with OVERFLOW_EXCEPTION.
32812         (exp10_test_data): Likewise.
32813         (exp2_test_data): Likewise.
32814         (expm1_test_data): Likewise.
32815         (lgamma_test_data): Likewise.
32816         (pow_test_data): Likewise.
32817         (tgamma_test_data): Likewise.
32818         (yn_test_data): Remove duplicate test of overflow.
32820         * math/libm-test.inc (struct test_cc_c_data): New type.
32821         (RUN_TEST_LOOP_cc_c): New macro.
32822         (cpow_test_data): New variable.
32823         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
32825         * math/libm-test.inc (struct test_f_L_data): New type.
32826         (RUN_TEST_LOOP_f_L): New macro.
32827         (llrint_test_data): New variable.
32828         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
32829         (llrint_tonearest_test_data): New variable.
32830         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
32831         (llrint_towardzero_test_data): New variable.
32832         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
32833         (llrint_downward_test_data): New variable.
32834         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
32835         (llrint_upward_test_data): New variable.
32836         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
32837         (llround_test_data): New variable.
32838         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
32840 2013-05-13  Peter Collingbourne  <pcc@google.com>
32842         * math/atest-exp2.c (get_log2): Remove const attribute.
32844 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
32846         * math/libm-test.inc (struct test_f_l_data): New type.
32847         (RUN_TEST_LOOP_f_l): New macro.
32848         (lrint_test_data): New variable.
32849         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
32850         (lrint_tonearest_test_data): New variable.
32851         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
32852         (lrint_towardzero_test_data): New variable.
32853         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
32854         (lrint_downward_test_data): New variable.
32855         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
32856         (lrint_upward_test_data): New variable.
32857         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
32858         (lround_test_data): New variable.
32859         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
32861 2013-05-15  Peter Collingbourne  <pcc@google.com>
32863         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
32864         (EXTRACT_WORDS64) Use where appropriate.
32865         (INSERT_WORDS64) Likewise.
32867         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
32868         constraints with x constraints.
32869         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
32871         * malloc/obstack.c (_obstack_compat): Add initializer.
32873 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
32875         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
32876         si_trapno and add si_addr_lsb to _sifields.sigfault.
32877         (si_trapno): Remove macro.
32878         (si_addr_lsb): Define new macro.
32879         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
32881 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
32883         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
32884         instead of TEST_f_l.
32885         (llrint_test_tonearest): Likewise.
32886         (llrint_test_towardzero): Likewise.
32887         (llrint_test_downward): Likewise.
32888         (llrint_test_upward): Likewise.
32889         (llround_test): Likewise.
32891         * math/libm-test.inc (struct test_f_i_data): Add comment.
32892         (RUN_TEST_LOOP_f_b): New macro.
32893         (RUN_TEST_LOOP_f_b_tg): Likewise.
32894         (finite_test_data): New variable.
32895         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
32896         (isfinite_test_data): New variable.
32897         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32898         (isinf_test_data): New variable.
32899         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32900         (isnan_test_data): New variable.
32901         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32902         (isnormal_test_data): New variable.
32903         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32904         (issignaling_test_data): New variable.
32905         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32906         (signbit_test_data): New variable.
32907         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
32909         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
32910         with INVALID_EXCEPTION.
32911         (acosh_test_data): Likewise.
32912         (asin_test_data): Likewise.
32913         (atanh_test_data): Likewise.
32914         (fmod_test_data): Likewise.
32915         (log_test_data): Likewise.
32916         (log10_test_data): Likewise.
32917         (log2_test_data): Likewise.
32918         (pow_test_data): Likewise.
32919         (sqrt_test_data): Likewise.
32920         (y0_test_data): Likewise.
32921         (y1_test_data): Likewise.
32922         (yn_test_data): Likewise.
32924         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
32925         function contents.
32927         * math/libm-test.inc (struct test_ff_i_data): New type.
32928         (RUN_TEST_LOOP_ff_i_tg): New macro.
32929         (isgreater_test_data): New variable.
32930         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32931         (isgreaterequal_test_data): New variable.
32932         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32933         (isless_test_data): New variable.
32934         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32935         (islessequal_test_data): New variable.
32936         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32937         (islessgreater_test_data): New variable.
32938         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32939         (isunordered_test_data): New variable.
32940         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
32942 2013-05-14  David S. Miller  <davem@davemloft.net>
32944         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32946 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
32948         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
32950         * math/libm-test.inc (struct test_fF_f1_data): Change type of
32951         extra_test to int.
32952         (struct test_f_i_data): Change type of max_ulp to int.
32954         * math/libm-test.inc (test_ffI_f1_data): New type.
32955         (RUN_TEST_LOOP_ffI_f1): New macro.
32956         (remquo_test_data): New variable.
32957         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
32959         * setjmp/tst-setjmp-fp.c: New file.
32960         * setjmp/Makefile (tests): Add tst-setjmp-fp.
32961         (link-libm): New variable.
32962         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
32964         * math/libm-test.inc (struct test_f_i_data): New type.
32965         (RUN_TEST_LOOP_f_i): New macro.
32966         (RUN_TEST_LOOP_f_i_tg): Likewise.
32967         (fpclassify_test_data): New variable.
32968         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
32969         (ilogb_test_data): New variable.
32970         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
32972         * math/libm-test.inc (scalbln_test): Correct function name in END
32973         call.
32975         * math/libm-test.inc (struct test_f_f1_data): Add comment.
32976         (RUN_TEST_LOOP_fI_f1): New macro.
32977         (frexp_test_data): New variable.
32978         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
32980         * math/libm-test.inc (struct test_fF_f1_data): New type.
32981         (RUN_TEST_LOOP_fF_f1): New macro.
32982         (modf_test_data): New variable.
32983         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
32985         * math/libm-test.inc (struct test_f_f1_data): New type.
32986         (RUN_TEST_LOOP_f_f1): New macro.
32987         (gamma_test_data): New variable.
32988         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32989         (lgamma_test_data): New variable.
32990         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
32992 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
32994         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
32995         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
32996         (main): Comment "tls" pseudo-hwcap.
32998 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
33000         * math/libm-test.inc (struct test_fl_f_data): New type.
33001         (RUN_TEST_LOOP_fl_f): New variable.
33002         (scalbln_test_data): New variable.
33003         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
33005         * math/libm-test.inc (struct test_fi_f_data): New type.
33006         (RUN_TEST_LOOP_fi_f): New macro.
33007         (ldexp_test_data): New variable.
33008         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
33009         (scalbn_test_data): New variable.
33010         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
33012         * math/libm-test.inc (struct test_c_f_data): New type.
33013         (RUN_TEST_LOOP_c_f): New macro.
33014         (cabs_test_data): New variable.
33015         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
33016         (carg_test_data): New variable.
33017         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
33018         (cimag_test_data): New variable.
33019         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
33020         (creal_test_data): New variable.
33021         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
33023         * math/libm-test.inc (struct test_if_f_data): New type.
33024         (RUN_TEST_LOOP_if_f): New macro.
33025         (jn_test_data): New variable.
33026         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
33027         (yn_test_data): New variable.
33028         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
33030         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
33032 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33034         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
33035         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
33037 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33039         * benchtests/Makefile (CPPFLAGS-nonlib): Add
33040         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
33041         (bench-deps): Add bench-timing.h.
33042         * benchtests-bench-skeleton.c: Include bench-timing.h.
33043         (main): Use TIMING_* macros instead of clock_gettime.
33044         * benchtests/bench-timing.h: New file.
33046         [BZ #14582]
33047         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
33048         Renamed from _LIB_VERSION.
33049         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
33051 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
33053         * math/libm-test.inc (struct test_fff_f_data): New type.
33054         (RUN_TEST_LOOP_fff_f): New macro.
33055         (fma_test_data): New variable.
33056         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
33057         (fma_towardzero_test_data): New variable.
33058         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
33059         (fma_downward_test_data): New variable.
33060         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
33061         (fma_upward_test_data): New variable.
33062         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
33064         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
33065         (struct test_c_c_data): New type.
33066         (RUN_TEST_LOOP_c_c): New macro.
33067         (cacos_test_data): New variable.
33068         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
33069         (cacosh_test_data): New variable.
33070         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
33071         (casin_test_data): New variable.
33072         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
33073         (casinh_test_data): New variable.
33074         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
33075         (catan_test_data): New variable.
33076         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
33077         (catanh_test_data): New variable.
33078         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
33079         (ccos_test_data): New variable.
33080         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
33081         (ccosh_test_data): New variable.
33082         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
33083         (cexp_test_data): New variable.
33084         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
33085         (clog_test_data): New variable.
33086         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
33087         (clog10_test_data): New variable.
33088         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
33089         (conj_test_data): New variable.
33090         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
33091         (cproj_test_data): New variable.
33092         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
33093         (csin_test_data): New variable.
33094         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
33095         (csinh_test_data): New variable.
33096         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
33097         (csqrt_test_data): New variable.
33098         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
33099         (ctan_test_data): New variable.
33100         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
33101         (ctan_tonearest_test_data): New variable.
33102         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33103         (ctan_towardzero_test_data): New variable.
33104         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33105         (ctan_downward_test_data): New variable.
33106         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33107         (ctan_upward_test_data): New variable.
33108         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33109         (ctanh_test_data): New variable.
33110         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
33111         (ctanh_tonearest_test_data): New variable.
33112         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
33113         (ctanh_towardzero_test_data): New variable.
33114         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
33115         (ctanh_downward_test_data): New variable.
33116         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
33117         (ctanh_upward_test_data): New variable.
33118         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
33119         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
33120         of BUILD_COMPLEX.
33122         * math/libm-test.inc (struct test_ff_f_data): New type.
33123         (struct test_ff_f_data_nexttoward): Likewise.
33124         (RUN_TEST_LOOP_2_f): New macro.
33125         (RUN_TEST_LOOP_ff_f): Likewise.
33126         (atan2_test_data): New variable.
33127         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
33128         (copysign_test_data): New variable.
33129         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
33130         (fdim_test_data): New variable.
33131         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
33132         (fmax_test_data): New variable.
33133         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
33134         (fmin_test_data): New variable.
33135         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
33136         (fmod_test_data): New variable.
33137         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
33138         (hypot_test_data): New variable.
33139         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
33140         (nextafter_test_data): New variable.
33141         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
33142         (nexttoward_test_data): New variable.
33143         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
33144         (pow_test_data): New variable.
33145         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
33146         (pow_tonearest_test_data): New variable.
33147         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
33148         (pow_towardzero_test_data): New variable.
33149         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
33150         (pow_downward_test_data): New variable.
33151         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
33152         (pow_upward_test_data): New variable.
33153         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
33154         (remainder_test_data): New variable.
33155         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
33156         (scalb_test_data): New variable.
33157         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
33158         * sysdeps/i386/fpu/libm-test-ulps: Update.
33160 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
33162         * math/libm-test.inc (fma_test): Use max_value instead of local
33163         variable fltmax.
33164         (nextafter_test): Likewise.
33166         * math/libm-test.inc (acos_towardzero_test_data): New variable.
33167         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33168         (acos_downward_test_data): New variable.
33169         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33170         (acos_upward_test_data): New variable.
33171         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33172         (acosh_test_data): New variable.
33173         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
33174         (asin_test_data): New variable.
33175         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
33176         (asin_tonearest_test_data): New variable.
33177         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33178         (asin_towardzero_test_data): New variable.
33179         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33180         (asin_downward_test_data): New variable.
33181         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33182         (asin_upward_test_data): New variable.
33183         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33184         (asinh_test_data): New variable.
33185         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
33186         (atan_test_data): New variable.
33187         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
33188         (atanh_test_data): New variable.
33189         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
33190         (cbrt_test_data): New variable.
33191         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
33192         (ceil_test_data): New variable.
33193         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
33194         (cos_test_data): New variable.
33195         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
33196         (cos_tonearest_test_data): New variable.
33197         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33198         (cos_towardzero_test_data): New variable.
33199         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33200         (cos_downward_test_data): New variable.
33201         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33202         (cos_upward_test_data): New variable.
33203         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33204         (cosh_test_data): New variable.
33205         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
33206         (cosh_tonearest_test_data): New variable.
33207         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33208         (cosh_towardzero_test_data): New variable.
33209         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33210         (cosh_downward_test_data): New variable.
33211         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33212         (cosh_upward_test_data): New variable.
33213         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33214         (erf_test_data): New variable.
33215         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
33216         (erfc_test_data): New variable.
33217         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
33218         (exp_test_data): New variable.
33219         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
33220         (exp_tonearest_test_data): New variable.
33221         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33222         (exp_towardzero_test_data): New variable.
33223         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33224         (exp_downward_test_data): New variable.
33225         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33226         (exp_upward_test_data): New variable.
33227         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33228         (exp10_test_data): New variable.
33229         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
33230         (exp2_test_data): New variable.
33231         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
33232         (expm1_test_data): New variable.
33233         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
33234         (fabs_test_data): New variable.
33235         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
33236         (floor_test_data): New variable.
33237         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
33238         (j0_test_data): New variable.
33239         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
33240         (j1_test_data): New variable.
33241         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
33242         (log_test_data): New variable.
33243         (log_test): Run tests with RUN_TEST_LOOP_f_f.
33244         (log10_test_data): New variable.
33245         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
33246         (log1p_test_data): New variable.
33247         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
33248         (log2_test_data): New variable.
33249         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
33250         (logb_test_data): New variable.
33251         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
33252         (logb_downward_test_data): New variable.
33253         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33254         (nearbyint_test_data): New variable.
33255         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
33256         (rint_test_data): New variable.
33257         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
33258         (rint_tonearest_test_data): New variable.
33259         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33260         (rint_towardzero_test_data): New variable.
33261         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33262         (rint_downward_test_data): New variable.
33263         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33264         (rint_upward_test_data): New variable.
33265         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33266         (round_test_data): New variable.
33267         (round_test): Run tests with RUN_TEST_LOOP_f_f.
33268         (sin_test_data): New variable.
33269         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
33270         (sin_tonearest_test_data): New variable.
33271         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33272         (sin_towardzero_test_data): New variable.
33273         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33274         (sin_downward_test_data): New variable.
33275         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33276         (sin_upward_test_data): New variable.
33277         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33278         (sinh_test_data): New variable.
33279         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
33280         (sinh_tonearest_test_data): New variable.
33281         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33282         (sinh_towardzero_test_data): New variable.
33283         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33284         (sinh_downward_test_data): New variable.
33285         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33286         (sinh_upward_test_data): New variable.
33287         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33288         (sqrt_test_data): New variable.
33289         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
33290         (tan_test_data): New variable.
33291         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
33292         (tan_tonearest_test_data): New variable.
33293         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33294         (tan_towardzero_test_data): New variable.
33295         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
33296         (tan_downward_test_data): New variable.
33297         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
33298         (tan_upward_test_data): New variable.
33299         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
33300         (tanh_test_data): New variable.
33301         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
33302         (tgamma_test_data): New variable.
33303         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
33304         (trunc_test_data): New variable.
33305         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
33306         (y0_test_data): New variable.
33307         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
33308         (y1_test_data): New variable.
33309         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
33310         (significand_test_data): New variable.
33311         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
33313 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
33315         [BZ #12387]
33316         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
33318 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33320         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
33322 2013-05-10  Andreas Jaeger  <aj@suse.de>
33324         [BZ #15448]
33325         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
33326         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
33328 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33330         * math/gen-libm-test.pl (adjust_arg): New function.
33331         (special_functions): Handle generating output in both functions
33332         and arrays.
33333         (parse_args): Likewise.
33334         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
33335         $in_func argument to parse_args.
33336         * math/libm-test.inc (struct test_f_f_data): New type.
33337         (IF_ROUND_INIT_): New macro.
33338         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
33339         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
33340         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
33341         (IF_ROUND_INIT_FE_UPWARD): Likewise.
33342         (ROUND_RESTORE_): Likewise.
33343         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
33344         (ROUND_RESTORE_FE_TONEAREST): Likewise.
33345         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
33346         (ROUND_RESTORE_FE_UPWARD): Likewise.
33347         (RUN_TEST_LOOP_f_f): New macro.
33348         (acos_test_data): New variable.
33349         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
33350         (acos_tonearest_test_data): New variable.
33351         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
33353 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33355         * benchtests/bench-skeleton.c (startup): Fix coding style.
33357 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
33359         [BZ #6809]
33360         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
33361         negative infinity argument.
33362         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
33363         negative infinity argument.
33364         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
33365         negative infinity argument.
33366         * math/libm-test.inc (tgamma_test): Expect errno to be set for
33367         domain errors.
33369 2013-05-10  Florian Weimer  <fweimer@redhat.com>
33371         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
33372         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
33373         * iconv/iconv_prog.c (main): Likewise.
33374         * locale/programs/charmap-dir.c (charmap_readdir)
33375         (fopen_uncompressed): Likewise.
33376         * locale/programs/locfile.c (siblings_uncached)
33377         (write_locale_data): Use lstat64 instead of lstat.
33378         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
33379         stat.
33381 2013-05-10  Andreas Jaeger  <aj@suse.de>
33383         [BZ #15395]
33384         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
33385         localization.
33386         Include <locale.h>.
33388 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
33390         * elf/dl-close.c (_dl_close_worker): Add comments.
33392 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
33394         [BZ #15359]
33395         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
33396         high part of pi/2.
33397         (__ieee754_rem_pio2l): Update comments.
33399         [BZ #15429]
33400         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
33401         high part of pi/2.
33402         (__ieee754_rem_pio2l): Update comments.
33404         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
33405         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
33407         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
33408         M_PI_4l.
33410         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
33411         (M_PI_34_LOG10El): Likewise.
33412         (M_PI2_LOG10El): Likewise.
33413         (M_PI4_LOG10El): Likewise.
33414         (M_PI_LOG10El): Likewise.
33416 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33418         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33420 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
33422         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
33423         (MINUS_ZERO_INIT): Likewise.
33424         (PLUS_INFTY_INIT): Likewise.
33425         (MINUS_INFTY_INIT): Likewise.
33426         (QNAN_VALUE_INIT): Likewise.
33427         (MAX_VALUE_INIT): Likewise.
33428         (MIN_VALUE_INIT): Likewise.
33429         (MIN_SUBNORM_VALUE_INIT): Likewise.
33430         (plus_zero): Initialize with PLUS_ZERO_INIT.
33431         (minus_zero): Initialize with MINUS_ZERO_INIT.
33432         (plus_infty): Initialize with PLUS_INFTY_INIT.
33433         (minus_infty): Initialize with MINUS_INFTY_INIT.
33434         (qnan_value): Initialize with QNAN_VALUE_INIT.
33435         (max_value): Initialize with MAX_VALUE_INIT.
33436         (min_value): Initialize with MIN_VALUE_INIT.
33437         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
33439         * math/libm-test.inc (RUN_TEST_if_f): New macro.
33440         (jn_test): Use TEST_if_f instead of TEST_ff_f.
33441         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
33442         (yn_test): Use TEST_if_f instead of TEST_ff_f.
33444         * math/libm-test.inc (RUN_TEST_f_f): New macro.
33445         (RUN_TEST_2_f): Likewise.
33446         (RUN_TEST_ff_f): Likewise.
33447         (RUN_TEST_fi_f): Likewise.
33448         (RUN_TEST_fl_f): Likewise.
33449         (RUN_TEST_fff_f): Likewise.
33450         (RUN_TEST_c_f): Likewise.
33451         (RUN_TEST_f_f1): Likewise.
33452         (RUN_TEST_fF_f1): Likewise.
33453         (RUN_TEST_fI_f1): Likewise.
33454         (RUN_TEST_ffI_f1): Likewise.
33455         (RUN_TEST_c_c): Likewise.
33456         (RUN_TEST_cc_c): Likewise.
33457         (RUN_TEST_f_i): Likewise.
33458         (RUN_TEST_f_i_tg): Likewise.
33459         (RUN_TEST_ff_i_tg): Likewise.
33460         (RUN_TEST_f_b): Likewise.
33461         (RUN_TEST_f_b_tg): Likewise.
33462         (RUN_TEST_f_l): Likewise.
33463         (RUN_TEST_f_L): Likewise.
33464         (RUN_TEST_sincos): Likewise.
33465         * math/gen-libm-test.pl (new_test): Take new argument to indicate
33466         whether to show exceptions.  Do not include ");\n" in return
33467         value.
33468         (special_functions): Output call to RUN_TEST_sincos instead of
33469         check_float calls.  Update calls to new_test.
33470         (parse_args): Output call to single RUN_TEST_* macro instead of
33471         check_* calls and other assignments.  Update calls to new_test.
33473         [BZ #2546]
33474         [BZ #2560]
33475         [BZ #5159]
33476         [BZ #15426]
33477         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
33478         input to result for tgamma overflow.
33479         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
33480         (gamma_coeff): New variable.
33481         (NCOEFF): New macro.
33482         (gamma_positive): New function.
33483         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
33484         underflow here.  Use gamma_positive instead of exp (lgamma) for
33485         other arguments.
33486         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
33487         (gamma_coeff): New variable.
33488         (NCOEFF): New macro.
33489         (gammaf_positive): New function.
33490         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
33491         underflow here.  Use gamma_positive instead of exp (lgamma) for
33492         other arguments.
33493         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
33494         (gamma_coeff): New variable.
33495         (NCOEFF): New macro.
33496         (gammal_positive): New function.
33497         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
33498         underflow here.  Use gamma_positive instead of exp (lgamma) for
33499         other arguments.
33500         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
33501         (gamma_coeff): New variable.
33502         (NCOEFF): New macro.
33503         (gammal_positive): New function.
33504         (__ieee754_gammal_r): Handle positive infinity, overflow and
33505         underflow here.  Handle NaN the same as positive infinity.  Remove
33506         check x < 0xffffffff for negative integers.  Use gamma_positive
33507         instead of exp (lgamma) for other arguments.
33508         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
33509         (gamma_coeff): New variable.
33510         (NCOEFF): New macro.
33511         (gammal_positive): New function.
33512         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
33513         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
33514         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
33515         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
33516         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
33517         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
33518         * sysdeps/generic/math_private.h (__gamma_productf): New
33519         prototype.
33520         (__gamma_product): Likewise.
33521         (__gamma_productl): Likewise.
33522         * math/Makefile (libm-calls): Add gamma_product.
33523         * math/libm-test.inc (tgamma_test): Add more tests.
33524         * sysdeps/i386/fpu/libm-test-ulps: Update.
33525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33527 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
33529         * benchtests/bench-skeleton.c (main): Preheat CPU.
33531 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
33533         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
33535 2013-05-07  Roland McGrath  <roland@hack.frob.com>
33537         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
33538         and _dl_skip_args_internal.
33540 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
33542         * manual/message.texi (Message Translation): Talk about users.
33543         Message to key mapping impacts design.
33545 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33547         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
33549         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
33551         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
33552         * sysdeps/wordsize-64/glob64.c: ... here.
33554         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
33555         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
33556         New macros.
33558         * debug/getlogin_r_chk.c: Moved to ...
33559         * login/getlogin_r_chk.c: ... here.
33560         * debug/Makefile (routines): Move getlogin_r_chk to ...
33561         * login/Makefile (routines): ... here.
33562         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
33563         * login/Versions (libc: GLIBC_2.4): ... here.
33565         * io/poll.c (__poll): Renamed from poll.
33566         Add libc_hidden_def.
33567         (poll): Define as weak alias.
33569         * debug/ptsname_r_chk.c: Moved to ...
33570         * login/ptsname_r_chk.c: ... here.
33571         * debug/Makefile (routines): Move ptsname_r_chk to ...
33572         * login/Makefile (routines): ... here.
33573         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
33574         * login/Versions (libc: GLIBC_2.4): ... here.
33576         * posix/getlogin.c: Moved to ...
33577         * login/getlogin.c: ... here.
33578         * posix/getlogin_r.c: Moved to ...
33579         * login/getlogin_r.c: ... here.
33580         * posix/getlogin_r.c: Moved to ...
33581         * login/getlogin_r.c: ... here.
33582         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
33583         * login/Makefile (routines): ... here.
33584         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
33585         * login/Versions (libc: GLIBC_2.0): ... here.
33587         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
33588         (setrlimit): Define as weak alias.
33590         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
33591         Call __ names for open, ftruncate, and close.
33592         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
33593         (truncate): Define as weak alias.
33595 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
33597         * math/gen-libm-test.pl (parse_args): Initialize x before each
33598         test of frexp, modf and remquo.
33600         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
33601         test signgam value.
33603 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33605         [BZ #15418]
33606         [BZ #15419]
33607         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
33608         internal tests.
33609         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33611 2013-05-06  Roland McGrath  <roland@hack.frob.com>
33613         * elf/dl-writev.h: New file.
33614         * elf/dl-misc.c: Include it.
33615         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
33616         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
33618 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
33620         * math/libm-test.inc (noXFails): Remove variable.
33621         (noXPasses): Likewise.
33622         (BUILD_COMPLEX_INT): Remove macro.
33623         (print_screen): Remove xfail argument.
33624         (print_screen_max_error): Likewise.
33625         (update_stats): Likewise.
33626         (print_max_error): Likewise.  Update calls to other affected
33627         functions.
33628         (print_complex_max_error): Likewise.
33629         (test_single_exception): Update calls to print_screen.
33630         (test_single_errno): Likewise.
33631         (check_float_internal): Remove xfail argument.  Update calls to
33632         other affected functions.
33633         (check_float): Likewise.
33634         (check_complex): Likewise.
33635         (check_int): Likewise.
33636         (check_long): Likewise.
33637         (check_bool): Likewise.
33638         (check_longlong): Likewise.
33639         (main): Don't print noXFails and noXPasses.
33640         * math/gen-libm-test.pl (top level): Don't mention expected
33641         failure handling in comment.
33642         (new_test): Don't handle expected failures.
33643         (parse_args): Don't mention expected failure handling in comment.
33644         (generate_testfile): Don't handle expected failures.
33645         (parse_ulps): Likewise.
33646         (print_ulps_file): Likewise.
33647         (get_failure): Remove function.
33648         (output_test): Don't handle expected failures.
33649         * make/README.libm-test: Don't mention expected failure handling.
33651         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
33652         (minus_zero): Likewise.
33653         (plus_infty): Likewise.
33654         (minus_infty): Likewise.
33655         (qnan_value): Likewise.
33656         (max_value): Likewise.
33657         (min_value): Likewise.
33658         (min_subnorm_value): Likewise.
33659         (initialize): Do not initialize those variables dynamically.
33661 2013-05-03  Roland McGrath  <roland@hack.frob.com>
33663         * io/open.c (__open_2): Moved to ...
33664         * io/open_2.c: ... this new file.
33665         * io/open64.c (__open64_2): Moved to ...
33666         * io/open64_2.c: ... this new file.
33667         * io/openat.c (__openat_2): Moved to ...
33668         * io/openat_2.c: ... this new file.
33669         * io/openat64.c (__openat64_2): Moved to ...
33670         * io/openat64_2.c: ... this new file.
33671         * io/Makefile (routines): Add them.
33672         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
33673         * sysdeps/unix/sysv/linux/open_2.c: File removed.
33674         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
33675         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
33676         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
33677         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
33678         (__openat64): Add hidden_ver.
33679         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
33680         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
33682         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
33683         Separately conditionalize setting of GLRO(dl_sysinfo) so
33684         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
33685         as well, but the actual setting is only under [NEED_DL_SYSINFO].
33687 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33689         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
33690         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
33691         definition.
33692         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
33693         * sysdeps/unix/sysv/linux/powerpc/init-first.c
33694         (_libc_vdso_platform_setup): Add __vdso_time initialization.
33695         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
33696         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
33698 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
33700         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
33701         test signgam value.
33703         * math/libm-test.inc (hypot_test): Do not use
33704         IGNORE_ZERO_INF_SIGN.
33706 2013-05-03  Andreas Jaeger  <aj@suse.de>
33708         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
33709         Linux 3.9.
33710         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
33711         (PF_MAX): Adjust for VSOCK change.
33713 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33717 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
33719         [BZ #15264]
33720         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
33721         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
33722         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
33724 2013-05-02  David S. Miller  <davem@davemloft.net>
33726         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33728 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
33730         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
33732 2013-05-01  Roland McGrath  <roland@hack.frob.com>
33734         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
33736 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
33738         [BZ #14952]
33739         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
33740         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33741         Use __attribute__ ((__gnu_inline__)).
33742         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
33743         Don't use __attribute__ ((__gnu_inline__)).
33745 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
33747         [BZ #15423]
33748         * math/s_catan.c (__catan): Handle small real or imaginary part of
33749         input specially to avoid spurious underflow.
33750         * math/s_catanf.c (__catanf): Likewise.
33751         * math/s_catanh.c (__catanh): Likewise.
33752         * math/s_catanhf.c (__catanhf): Likewise.
33753         * math/s_catanhl.c (__catanhl): Likewise.
33754         * math/s_catanl.c (__catanl): Likewise.
33755         * math/libm-test.inc (catan_test): Add more tests.
33756         (catanh_test): Likewise.
33757         * sysdeps/i386/fpu/libm-test-ulps: Update.
33758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33760 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33762         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33764 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
33766         [BZ #15416]
33767         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
33768         accurately for denominator in atan2.
33769         * math/s_catanf.c (__catanf): Likewise.
33770         * math/s_catanh.c (__catanh): Likewise.
33771         * math/s_catanhf.c (__catanhf): Likewise.
33772         * math/s_catanhl.c (__catanhl): Likewise.
33773         * math/s_catanl.c (__catanl): Likewise.
33774         * math/libm-test.inc (catan_test): Add more tests.
33775         (catanh_test): Likewise.
33776         * sysdeps/i386/fpu/libm-test-ulps: Update.
33777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33779 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33781         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
33783         * benchtests/Makefile (bench): Remove slow benchmarks.
33784         * benchtests/atan-inputs: Add slow benchmark inputs.
33785         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
33786         (BENCH_FUNC): Accept variant offset.
33787         (VARIANT): Define.
33788         * benchtests/bench-skeleton.c (main): Run benchmark for each
33789         variant.
33790         * benchtests/cos-inputs: Add slow benchmark inputs.
33791         * benchtests/exp-inputs: Likewise.
33792         * benchtests/pow-inputs: Likewise.
33793         * benchtests/sin-inputs: Likewise.
33794         * benchtests/slowatan-inputs: Remove.
33795         * benchtests/slowatan.c: Remove.
33796         * benchtests/slowcos-inputs: Remove.
33797         * benchtests/slowcos.c: Remove.
33798         * benchtests/slowexp-inputs: Remove.
33799         * benchtests/slowexp.c: Remove.
33800         * benchtests/slowpow-inputs: Remove.
33801         * benchtests/slowpow.c: Remove.
33802         * benchtests/slowsin-inputs: Remove.
33803         * benchtests/slowsin.c: Remove.
33804         * benchtests/slowtan-inputs: Remove.
33805         * benchtests/slowtan.c: Remove.
33806         * benchtests/tan-inputs: Add slow benchmark inputs.
33807         * scripts/bench.pl: Parse comments and directives.
33809         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
33810         in CPPFLAGS.
33811         ($(objpfx)bench-%.c): Remove *-ITER.
33812         * benchtests/bench-modf.c: Remove definition of ITER.
33813         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
33814         (main): Loop for DURATION seconds instead of fixed number of
33815         iterations.
33816         * scripts/bench.pl: Don't expect iterations in parameters.
33818 2013-04-29  Roland McGrath  <roland@hack.frob.com>
33820         * io/fchdir.c (__fchdir): Renamed from fchdir.
33821         (fchdir): Define as weak alias.
33823 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
33825         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
33826         (ERRNO_EDOM): Likewise.
33827         (ERRNO_ERANGE): Likewise.
33828         (noErrnoTests): New variable.
33829         (init_max_error): Set errno to 0.
33830         (test_single_errno): New function.
33831         (test_errno): Likewise.
33832         (check_float_internal): Call test_errno.  Set errno to 0.
33833         (check_complex): Refer to errno tests in comment.
33834         (check_int): Call test_errno.  Set errno to 0.
33835         (check_long): Likewise.
33836         (check_bool): Likewise.
33837         (check_longlong): Likewise.
33838         (cos_test): Use ERRNO_* flags for errno tests instead of
33839         check_int.
33840         (expm1_test): Likewise.
33841         (fmod_test): Likewise.
33842         (ilogb_test): Likewise.
33843         (lgamma_test): Likewise.
33844         (pow_test): Likewise.
33845         (remainder_test): Likewise.
33846         (sin_test): Likewise.
33847         (tan_test): Likewise.
33848         (yn_test): Likewise.
33849         (initialize): Set errno to 0.
33850         (main): Print number of errno tests.
33851         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
33853 2013-04-29  Andreas Jaeger  <aj@suse.de>
33855         [BZ #15084]
33856         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
33857         and RES_USEVC.
33859         [BZ #15085]
33860         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
33861         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
33862         unimplemented.
33864         [BZ #15380]
33865         * stdlib/random.c (__initstate): Return NULL if
33866         __initstate fails.
33868         [BZ #15086]
33869         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
33870         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
33871         RES_SNGLKUPREOP.
33873 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33877 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
33879         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
33880         of individual tests.
33881         (casin_test): Likewise.
33882         (casinh_test): Likewise.
33884 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
33886         [BZ #15409]
33887         * math/s_catan.c (__catan): Handle arguments with large real or
33888         imaginary part separately without squaring.
33889         * math/s_catanf.c (__catanf): Likewise.
33890         * math/s_catanh.c (__catanh): Likewise.
33891         * math/s_catanhf.c (__catanhf): Likewise.
33892         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33893         and redefine.
33894         (__catanhl): Handle arguments with large real or imaginary part
33895         separately without squaring.
33896         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
33897         and redefine.
33898         (__catanl): Handle arguments with large real or imaginary part
33899         separately without squaring.
33900         * math/libm-test.inc (catan_test): Add more tests.
33901         (catanh_test): Likewise.
33902         * sysdeps/i386/fpu/libm-test-ulps: Update.
33903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33905 2013-04-27  Andreas Jaeger  <aj@suse.de>
33907         [BZ #15007]
33908         * stdlib/stdlib.h: Update guards for qecvt.
33909         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
33910         <stdlib.h>.
33912 2013-04-27  Allan McRae  <allan@archlinux.org>
33914         * sysdeps/i386/fpu/libm-test-ulps: Update.
33916 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
33918         [BZ #15406]
33919         * math/s_catan.c: Include <float.h>.
33920         (__catan): Ensure underflow exception occurs for underflowed
33921         result.
33922         * math/s_catanf.c: Include <float.h>.
33923         (__catanf): Ensure underflow exception occurs for underflowed
33924         result.
33925         * math/s_catanh.c: Include <float.h>.
33926         (__catanh): Ensure underflow exception occurs for underflowed
33927         result.
33928         * math/s_catanhf.c: Include <float.h>.
33929         (__catanhf): Ensure underflow exception occurs for underflowed
33930         result.
33931         * math/s_catanhl.c: Include <float.h>.
33932         (__catanhl): Ensure underflow exception occurs for underflowed
33933         result.
33934         * math/s_catanl.c: Include <float.h>.
33935         (__catanl): Ensure underflow exception occurs for underflowed
33936         result.
33937         * math/libm-test.inc (catan_test): Add more tests.
33938         (catanh_test): Likewise.
33940         [BZ #15405]
33941         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
33942         underflowed result.
33943         * math/s_ccoshf.c (__ccoshf): Likewise.
33944         * math/s_ccoshl.c (__ccoshl): Likewise.
33945         * math/s_csin.c (__csin): Likewise.
33946         * math/s_csinf.c (__csinf): Likewise.
33947         * math/s_csinh.c (__csinh): Likewise.
33948         * math/s_csinhf.c (__csinhf): Likewise.
33949         * math/s_csinhl.c (__csinhl): Likewise.
33950         * math/s_csinl.c (__csinl): Likewise.
33951         * math/libm-test.inc (ccos_test): Add more tests.
33952         (ccosh_test): Likewise.
33953         (csin_test): Likewise.
33954         (csinh_test): Likewise.
33956 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33958         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
33959         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
33960         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
33961         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
33962         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
33963         powerpc/power5+/fpu folders.
33964         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
33967 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
33969         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33971 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
33973         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
33974         additions to variable.
33975         [$(config-machine) = x86_64] (modules-names): Likewise.
33976         ($(objpfx)tst-audit3): Remove dependency.
33977         ($(objpfx)tst-audit3.out): Likewise.
33978         ($(objpfx)tst-audit4): Likewise.
33979         ($(objpfx)tst-audit4.out): Likewise.
33980         ($(objpfx)tst-audit5): Likewise.
33981         ($(objpfx)tst-audit5.out): Likewise.
33982         ($(objpfx)tst-audit6): Likewise.
33983         ($(objpfx)tst-audit6.out): Likewise.
33984         ($(objpfx)tst-audit7): Likewise.
33985         ($(objpfx)tst-audit7.out): Likewise.
33986         (tst-audit3-ENV): Remove variable.
33987         (tst-audit4-ENV): Likewise.
33988         (tst-audit5-ENV): Likewise.
33989         (tst-audit6-ENV): Likewise.
33990         (tst-audit7-ENV): Likewise.
33991         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
33992         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
33993         addition to variable.
33994         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
33995         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
33996         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
33997         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
33998         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
33999         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
34000         tst-audit3, tst-audit4 and tst-audit5.
34001         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
34002         tst-audit6 and tst-audit7.
34003         [$(subdir) = elf] (modules-names): Add audit modules for those
34004         tests.
34005         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
34006         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
34007         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
34008         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
34009         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
34010         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
34011         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
34012         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
34013         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
34014         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
34015         [$(subdir) = elf] (tst-audit3-ENV): New variable.
34016         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
34017         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
34018         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
34019         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
34020         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
34021         Likewise.
34022         [$(subdir) = elf && $(config-cflags-avx) = yes]
34023         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
34024         [$(subdir) = elf && $(config-cflags-avx) = yes]
34025         (CFLAGS-tst-auditmod4a.c): Likewise.
34026         [$(subdir) = elf && $(config-cflags-avx) = yes]
34027         (CFLAGS-tst-auditmod4b.c): Likewise.
34028         [$(subdir) = elf && $(config-cflags-avx) = yes]
34029         (CFLAGS-tst-auditmod6b.c): Likewise.
34030         [$(subdir) = elf && $(config-cflags-avx) = yes]
34031         (CFLAGS-tst-auditmod6c.c): Likewise.
34032         [$(subdir) = elf && $(config-cflags-avx) = yes]
34033         (CFLAGS-tst-auditmod7b.c): Likewise.
34034         * elf/tst-audit3.c: Move to ...
34035         * sysdeps/x86_64/tst-audit3.c: ... here.
34036         * elf/tst-audit4.c: Move to ...
34037         * sysdeps/x86_64/tst-audit4.c: ... here.
34038         * elf/tst-audit5.c: Move to ...
34039         * sysdeps/x86_64/tst-audit5.c: ... here.
34040         * elf/tst-audit6.c: Move to ...
34041         * sysdeps/x86_64/tst-audit6.c: ... here.
34042         * elf/tst-audit7.c: Move to ...
34043         * sysdeps/x86_64/tst-audit7.c: ... here.
34044         * elf/tst-auditmod3a.c: Move to ...
34045         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
34046         * elf/tst-auditmod3b.c: Move to ...
34047         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
34048         * elf/tst-auditmod4a.c: Move to ...
34049         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
34050         * elf/tst-auditmod4b.c: Move to ...
34051         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
34052         * elf/tst-auditmod5a.c: Move to ...
34053         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
34054         * elf/tst-auditmod5b.c: Move to ...
34055         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
34056         * elf/tst-auditmod6a.c: Move to ...
34057         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
34058         * elf/tst-auditmod6b.c: Move to ...
34059         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
34060         * elf/tst-auditmod6c.c: Move to ...
34061         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
34062         * elf/tst-auditmod7a.c: Move to ...
34063         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
34064         * elf/tst-auditmod7b.c: Move to ...
34065         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
34067 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
34069         [BZ #15366]
34070         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
34071         define unconditionally.
34072         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
34073         define unconditionally.
34074         (INT8_C, INT16_C, etc.): Likewise.
34076 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
34078         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
34079         __ehdr_start with hidden visibility.
34081         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
34083 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
34085         * math/libm-test.inc (cos_test): Use accurate hex constants.
34086         (sincost_test): Likewise.
34088 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
34090         * math/libm-test.inc (catan_test): Add more tests.
34091         (catanh_test): Likewise.
34093         * math/s_catanf.c (__catanf): Use suffixed floating-point
34094         constants.
34095         * math/s_catanhf.c (__catanhf): Likewise.
34096         * math/s_catanhl.c (__catanhl): Likewise.
34097         * math/s_catanl.c (__catanl): Likewise.
34099         [BZ #15394]
34100         * math/s_catan.c (__catan): Calculate imaginary part of result
34101         with log1p not log unless computing log of number close to 0.
34102         * math/s_catanf.c (__catanf): Likewise.
34103         * math/s_catanl.c (__catanl): Likewise.
34104         * math/s_catanh.c (__catanh): Calculate real part of result with
34105         log1p not log unless computing log of number close to 0.
34106         * math/s_catanhf.c (__catanhf): Likewise.
34107         * math/s_catanhl.c (__catanhl): Likewise.
34108         * math/libm-test.inc (catan_test): Add more tests.
34109         (catanh_test): Likewise.
34110         * sysdeps/i386/fpu/libm-test-ulps: Update.
34111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34113 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34115         * benchtests/Makefile: Mention files in which fast and slow
34116         paths of math functions are implemented.
34118 2013-04-23  Roland McGrath  <roland@hack.frob.com>
34120         * sysdeps/posix/timespec_get.c: New file.
34122 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34124         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
34125         POWER.
34126         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
34127         for POWER.
34128         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
34129         powerpc/power5/fpu folders.
34130         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
34131         * benchtests/Makefile: Add modf testcase.
34132         * benchtests/bench-modf.c: New file: Benchmark test for mo
34134 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34136         [BZ #14888]
34137         * time/Makefile (tests): Add tst-strptime-whitespace.
34138         * time/strptime_l.c (get_number): Use ISSPACE.
34139         (__strptime_internal): Likewise.
34140         * time/tst-strptime-whitespace.c: New test case.
34142 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
34144         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
34145         member.
34146         (_nss_files_init): Set it here.
34148 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
34150         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
34151         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
34152         unsigned.
34154 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
34156         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
34158 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34160         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
34161         size just once.
34163 2013-04-21  David S. Miller  <davem@davemloft.net>
34165         * po/ru.po: Update Russion translation from translation project.
34167 2013-04-17  Adam Conrad  <adconrad@0c3.net>
34169         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
34170         and setfsgid.
34172 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
34174         * configure.in: Remove i386 configure warning. Remove i386 case.
34175         * configure: Regenerate.
34176         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
34177         Add example to error message.
34178         * sysdeps/i386/configure: Regenerate.
34180 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
34182         * benchtests/Makefile (bench): Add cos, tan, slowcos and
34183         slowtan.
34184         * benchtests/cos-inputs: New file.
34185         * benchtests/slowcos-inputs: New file.
34186         * benchtests/slowcos.c: New file.
34187         * benchtests/slowtan-inputs: New file.
34188         * benchtests/slowtan.c: New file.
34189         * benchtests/tan-inputs: New file.
34191 2013-04-16  Roland McGrath  <roland@hack.frob.com>
34193         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
34194         considered kosher.
34196 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34198         * benchtests/Makefile: Include cppflags-iterator.mk to add
34199         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
34201         * Makefile.in (bench-clean): New target.
34202         * benchtests/Makefile (bench-clean): Likewise.
34204 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
34206         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
34208 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
34210         * stdio-common/tstdiomisc.c: Fix coding-style violation.
34212 2013-04-15  Andreas Schwab  <schwab@suse.de>
34214         * nscd/grpcache.c (cache_addgr): Properly check for short write.
34215         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34216         * nscd/pwdcache.c (cache_addpw): Likewise.
34217         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
34218         more than recsize.
34220 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34222         * benchtests/Makefile (bench): Write all output to
34223         bench-out.tmp together.
34225 2013-04-15  Andreas Schwab  <schwab@suse.de>
34227         * nscd/nscd.c (main): Don't fork again after closing files.
34229 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34231         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34233         * benchtests/Rules (bench-deps): Collect dependencies into a
34234         single variable.  Add Makefile to dependencies.
34235         ($(objpfx)bench-%.c): Depend on bench-deps.
34237 2013-04-12  Roland McGrath  <roland@hack.frob.com>
34238             Xavier Roche  <roche+kml2@exalead.com>
34240         [BZ #15361]
34241         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
34242         just that it's a file descriptor.
34243         * manual/llio.texi (Synchronizing AIO Operations): Update description
34244         for EBADF error from aio_fsync.
34246 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34248         * Rules (bench): Move target definition...
34249         * benchtests/Makefile: ... here.
34251 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
34253         * math/libm-test.inc (cos_test): Fix PI/2 test.
34254         (sincos_test): Likewise.
34255         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
34256         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
34258 2013-04-11  Andreas Schwab  <schwab@suse.de>
34260         [BZ #13988]
34261         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
34262         accept exponent character only when digits were seen.
34263         * stdio-common/Makefile (tests): Add bug26.
34264         * stdio-common/bug26.c: New file.
34266         [BZ #14293]
34267         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
34268         non-freeable.
34270 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34272         * Makeconfig (rtld-prefix): Define built linker prefix.
34273         * Rules (run-bench): Use it.
34274         * math/Makefile (run-regen-ulps): Likewise.
34276         * Rules (bench): Remove eval.
34278 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34279             Roland McGrath  <roland@hack.frob.com>
34280             Ondrej Bilka  <neleai@seznam.cz>
34282         [BZ #15346]
34283         * time/getdate.c: Include ctype.h and alloca.h.
34284         (__getdate_r): Trim leading and trailing spaces of input.
34285         * time/tst-getdate.c (tests): Add tests with leading and
34286         trailing spaces.
34288 2013-04-08  Roland McGrath  <roland@hack.frob.com>
34290         [BZ #14280]
34291         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
34292         when computing value.
34294 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34296         * math/README.libm-test (How can I generate "libm-test-ulps"?):
34297         Use testrun.sh to run libm tests.
34299         [BZ #15309]
34300         * elf/dl-open.c (dl_open_worker): memset all of seen array.
34302 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
34304         [BZ #15264]
34305         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
34307 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34309         * Makefile.in (regen-ulps): New target.
34310         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
34311         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
34312         [ifneq (no,$(PERL)] (regen-ulps): New target.
34313         [ifeq (no,$(PERL)] (regen-ulps): New target.
34314         * math/libm-test.inc (ulps_file_name): Define.
34315         (output_dir): New variable.
34316         (options): Add "output-dir" option.
34317         (parse_opt): Handle 'o' case.
34318         (main): If output_dir is non-NULL use it as a prefix
34319         otherwise use "".
34320         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34322 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34324         [BZ #10060, #10062]
34325         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
34326         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
34327         fail configure if __sync_val_compare_and_swap is not inlined.
34328         * sysdeps/i386/configure: Regenerate.
34329         * configure.in: Build for i686 when configured for i386.
34330         * configure: Regenerate.
34331         * README: Remove i386 reference.
34333 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
34335         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
34336         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34338 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
34340         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
34341         (lmsnanval): New variables.
34342         (F): Add conversion tests.
34343         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
34344         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
34346         * stdio-common/tstdiomisc.c (F): Properly collect individual
34347         tests' results.
34349         [BZ #14686, #15336]
34350         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
34351         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
34352         Instead, use input NaN values or generate a qNaN by arithmetic
34353         operation.  Also fix bugs to comply with the standard.
34354         * math/libm-test.inc (remainder_test): Add more tests.
34356         [BZ #15335, #15342]
34357         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
34358         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
34359         input NaN values or generate a qNaN by arithmetic operation.
34361         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
34362         unreachable code.
34364         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
34365         definitions.
34367 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
34369         [BZ #14478]
34370         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34371         underflowed result.
34372         * math/s_cexpf.c (__cexpf): Likewise.
34373         * math/s_cexpl.c (__cexpl): Likewise.
34374         * math/libm-test.inc (cexp_test): Add more tests.
34376 2013-04-03  Andreas Schwab  <schwab@suse.de>
34378         [BZ #15330]
34379         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
34380         order arrays from heap if bigger than alloca cutoff.
34382 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
34384         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
34385         (SNAN_TESTS_double): Refer to GCC PR56831.
34386         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
34387         GCC PR56828.
34389 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34391         * Rules (bench): Move bench.out after the run is complete.
34393         * Rules (bench): Echo currently running benchmark.
34395         * benchtests/Makefile (bench): Add atan and slowatan.
34396         * benchtests/atan-inputs: New file.
34397         * benchtests/slowatan-inputs: New file.
34398         * benchtests/slowatan.c: New file.
34400         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
34401         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
34402         its value.
34404         [BZ #15305]
34405         * sysdeps/unix/sysv/linux/kernel-features.h
34406         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
34407         __ASSUME_XFS_RESTRICTED_CHOWN.
34408         * sysdeps/unix/sysv/linux/pathconf.c
34409         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34410         Save and restore errno.
34412 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
34414         [BZ #15327]
34415         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
34416         arguments using __kernel_casinh.
34417         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
34418         arguments using __kernel_casinhf.
34419         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
34420         arguments using __kernel_casinhl.
34421         * math/libm-test.inc (cacosh_test): Add more tests.
34422         * sysdeps/i386/fpu/libm-test-ulps: Update.
34423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34425 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34427         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
34428         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
34430         * bench/Makefile (bench): Add sin and slowsin.
34431         * benchtests/sin-inputs: New file.
34432         * benchtests/slowsin-inputs: New file.
34433         * benchtests/slowsin.c: New file.
34435         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
34436         (bench): Add slowexp and slowpow.
34437         (exp-ITER): Increase iterations.
34438         (pow-ITER): Likewise.
34439         * benchtests/exp-inputs: Change input.
34440         * benchtests/pow-inputs: Likewise.
34441         * benchtests/slowexp-inputs: New file.
34442         * benchtests/slowexp.c: New file.
34443         * benchtests/slowpow-inputs: New file.
34444         * benchtests/slowpow.c: New file.
34446 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34448         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
34449         instructions.
34450         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
34451         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
34452         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
34453         * benchtests/Makefile: Add rint benchtest.
34454         * benchtests/rint-inputs: Input for rint benchtest.
34456 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
34458         * Versions.def (libm): Add GLIBC_2.18.
34459         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
34460         hidden libm prototypes.
34461         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
34462         * math/Makefile (libm-calls): Add s_issignaling.
34463         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
34464         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
34465         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
34466         declaration.
34467         * math/math.h [__USE_GNU] (issignaling): New macro.
34468         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
34469         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
34470         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
34471         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
34472         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
34473         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
34474         * manual/arith.texi (issignaling): New section.
34475         * manual/libm-err-tab.pl (@all_functions): Update comment.
34476         * math/gen-libm-test.pl (parse_args): Apply special handling for
34477         issignaling.
34478         * math/libm-test.inc (print_float, issignaling_test): New
34479         functions.
34480         (check_float_internal): Add issignaling checks.
34481         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
34482         default definition.
34483         * sysdeps/powerpc/math-tests.h: New file.
34484         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
34485         tests.
34486         * math/test-snan.c (TEST_FUNC): Likewise.
34488 2013-03-30  David S. Miller  <davem@davemloft.net>
34490         * po/de.po: Update from translation team.
34492 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
34494         [BZ #10357]
34495         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34496         imaginary part less than 1.0 and real part less than 0.5
34497         specially.
34498         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34499         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34500         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
34501         (cacos_test): Add more tests.
34502         (casin_test): Likewise.
34503         (casinh_test): Likewise.
34504         * sysdeps/i386/fpu/libm-test-ulps: Update.
34505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34507 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34509         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
34510         ONE with its value.
34512         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
34513         (__pow_mp): Replace ONE and MONE with their values.
34514         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34515         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
34516         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34517         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
34518         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34519         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34521         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
34523         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
34524         (__pow_mp): Replace ZERO and MZERO with their values.
34525         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34526         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34527         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34528         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34529         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34530         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
34531         (__sqr): Likewise.
34533         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
34535         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
34537 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34539         * include/stdlib.h [!SHARED] (__call_tls_dtors):
34540         Declare with __attribute__ ((weak)).
34541         * stdlib/exit.c (__libc_atexit) [!SHARED]:
34542         Call __call_tls_dtors only if it's not NULL.
34544 2013-03-28  Roland McGrath  <roland@hack.frob.com>
34546         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
34547         didn't do it already, then set _dl_phdr and _dl_phnum based on the
34548         magic __ehdr_start linker symbol if it's defined.
34549         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
34550         them up here if it was already done.
34552         * elf/dl-support.c (_dl_phdr): Make pointer to const.
34553         (_dl_aux_init): Use const in cast when setting it.
34554         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
34555         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
34556         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
34558         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
34559         Declare them here.
34560         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
34561         * csu/libc-tls.c: Nor here.
34562         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
34564         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
34565         (__libc_message): Never call vsyslog.
34567 2013-03-28  Alan Modra  <amodra@gmail.com>
34569         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
34570         Define as empty.
34571         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
34572         Likewise.
34574 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34576         [BZ #15214]
34577         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
34578         underflow.
34579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34581 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34583         [BZ #15304]
34584         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34585         Don't add gid passed as argument.
34587         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
34589 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
34591         [BZ #15307]
34592         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34593         imaginary part between 1.0 and 1.5 and real part less than 0.5
34594         specially.
34595         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34596         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34597         * math/libm-test.inc (cacos_test): Add more tests.
34598         (casin_test): Likewise.
34599         (casinh_test): Likewise.
34600         * sysdeps/i386/fpu/libm-test-ulps: Update.
34601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34603 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34605         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
34606         constants.
34607         (norm): Likewise.
34608         (denorm): Likewise.
34609         (__dbl_mp): Likewise.
34610         (add_magnitudes): Likewise.
34611         (sub_magnitudes): Likewise.
34612         (__add): Likewise.
34613         (__sub): Likewise.
34614         (__mul): Likewise.
34615         (__sqr): Likewise.
34616         (__inv): Likewise.
34617         (__dvd): Likewise.
34619         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
34620         commented code.
34621         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
34622         (__dubcos): Likewise.
34623         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
34624         (__ieee754_acos): Likewise.
34625         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
34626         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
34627         (__exp1): Likewise.
34628         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34629         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34630         (log1): Likewise.
34631         (my_log2): Likewise.
34632         (checkint): Likewise.
34633         * sysdeps/ieee754/dbl-64/e_remainder.c
34634         (__ieee754_remainder): Likewise.
34635         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
34636         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
34637         (bsloww): Likewise.
34638         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34640         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
34641         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
34642         MANTISSA_STORE_T to store computations on mantissa.  Use
34643         macros for rounding and division.
34644         (denorm): Likewise.
34645         (__dbl_mp): Likewise.
34646         (add_magnitudes): Likewise.
34647         (sub_magnitudes): Likewise.
34648         (__mul): Likewise.
34649         (__sqr): Likewise.
34650         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34651         powers of two in terms of TWOPOW macro.
34652         (mp_no): Make type of mantissa as MANTISSA_T.
34653         [!RADIXI]: Define RADIXI.
34654         [!TWO52]: Define TWO52.
34655         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34657 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34659         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
34660         llroundl symbol when building for PPC32.
34662 2013-03-24  Mark H Weaver  <mhw@netris.org>
34664         * manual/arith.texi (Normalization Functions): Fix prototypes for
34665         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
34667 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34669         [BZ #13889]
34670         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
34671         high value to check if expl overflow.
34672         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
34673         to check for underflow and overflow.
34674         * math/libm-test.inc: Add exp test.
34676 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
34678         [BZ #11120]
34679         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
34680         with NOT_IN_libc.
34682 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34684         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
34685         symbol.
34687 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34689         * math/gen-libm-test.pl (parse_args, special_functions): Properly
34690         wrap blocks consisting of several statements.
34692         * sysdeps/generic/math-tests.h: New file.
34693         * sysdeps/i386/fpu/math-tests.h: Likewise.
34694         * math/test-snan.c: Include it.
34695         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
34697 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34699         [BZ #15285]
34700         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
34701         (__ieee754_j0l): Do not improve calculations using cos of twice
34702         input for inputs above LDBL_MAX / 2.0L.
34703         (__ieee754_y0l): Likewise.
34704         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
34705         (__ieee754_j1l): Do not improve calculations using cos of twice
34706         input for inputs above LDBL_MAX / 2.0L.
34707         (__ieee754_y1l): Likewise.
34708         * math/libm-test.inc (j0_test): Add another test.
34709         (j1_test): Likewise.
34710         (y0_test): Likewise.
34711         (y1_test): Likewise.
34712         * sysdeps/i386/fpu/libm-test-ulps: Update.
34714 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34716         * Rules ($(objpfx)bench-%.c): Include code from a C source
34717         file.
34719 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
34721         [BZ #15287]
34722         * math/k_casinh.c (__kernel_casinh): Handle arguments with
34723         imaginary part 1.0 and real part less than 0.5 specially.
34724         * math/k_casinhf.c (__kernel_casinhf): Likewise.
34725         * math/k_casinhl.c (__kernel_casinhl): Likewise.
34726         * math/libm-test.inc (cacos_test): Add more tests.
34727         (casin_test): Likewise.
34728         (casinh_test): Likewise.
34729         * sysdeps/i386/fpu/libm-test-ulps: Update.
34730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34732 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34734         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
34735         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
34737 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
34739         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
34740         * config.make.in (config-cflags-sse4): Remove variable.
34741         (config-cflags-avx): Likewise.
34742         (config-cflags-sse2avx): Likewise.
34743         (config-cflags-novzeroupper): Likewise.
34744         (config-asflags-i686): Likewise.
34745         (have-mfma4): Likewise.
34746         (have-as-vis3): Likewise.
34747         (MIG): Likewise.
34748         * configure.in (MIG): Do not AC_SUBST.
34749         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
34750         (libc_cv_cc_sse4): Do not AC_SUBST.
34751         (libc_cv_cc_avx): Likewise.
34752         (libc_cv_cc_sse2avx): Likewise.
34753         (libc_cv_cc_novzeroupper): Likewise.
34754         (libc_cv_cc_fma4): Likewise.
34755         (libc_cv_as_i686): Likewise.
34756         (libc_cv_sparc_as_vis3): Likewise.
34757         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
34758         LIBC_CONFIG_VAR.
34759         (config-asflags-i686): Likewise.
34760         (config-cflags-avx): Likewise.
34761         (config-cflags-sse2avx): Likewise.
34762         (have-mfma4): Likewise.
34763         (config-cflags-novzeroupper): Likewise.
34764         * sysdeps/mach/configure.in (MIG): Likewise.
34765         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
34766         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
34767         LIBC_CONFIG_VAR.
34768         (config-cflags-avx): Likewise.
34769         (config-cflags-sse2avx): Likewise.
34770         (have-mfma4): Likewise.
34771         (config-cflags-novzeroupper): Likewise.
34772         * configure: Regenerated.
34773         * sysdeps/i386/configure: Likewise.
34774         * sysdeps/mach/configure: Likewise.
34775         * sysdeps/sparc/configure: Likewise.
34776         * sysdeps/x86_64/configure: Likewise.
34778 2013-03-20  Roland McGrath  <roland@hack.frob.com>
34780         [BZ #14812]
34781         * locale/programs/localedef.c (options): Put N_ translation marker
34782         on argument names, not just descriptions.
34784 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34786         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
34788 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
34790         [BZ #14176]
34791         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
34793 2013-03-19  Roland McGrath  <roland@hack.frob.com>
34795         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
34796         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
34797         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
34798         [!BEFORE_ABORT] (before_abort): New function.
34799         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
34800         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
34801         (writev_for_fatal): New function.
34802         (WRITEV_FOR_FATAL): New macro; call that.
34803         (backtrace_and_maps): New function.
34804         (BEFORE_ABORT): New macro; call that.
34805         (struct str_list): Type removed.
34806         (__libc_message, __libc_fatal): Functions removed.
34807         Include <sysdeps/posix/libc_fatal.c> instead.
34809 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
34811         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
34812         constants.
34813         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
34814         double constants.
34816 2013-03-19  Andreas Schwab  <schwab@suse.de>
34818         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
34819         * sysdeps/gnu/configure: Regenerate.
34821         * configure.in: Substitute libc_cv_rtlddir.
34822         * configure: Regenerate.
34823         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
34824         * Makeconfig (rtlddir, inst_rtlddir): New variables.
34825         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
34826         * elf/Makefile (install-others, CFLAGS-interp.c)
34827         (ldso_install, common-ldd-rewrite): Likewise.
34828         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
34829         $(inst_slibdir)/$(rtld-installed-name).
34830         * scripts/rellns-sh: Add -p option.
34831         * Makerules (make-shlib-link): Use rellns-sh to get relative name
34832         for source.
34834 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34836         * manual/nptl.texi: Renamed to ...
34837         * manual/threads.texi: ... this.
34838         * manual/Makefile (chapters): Update.
34840 2013-03-18  Roland McGrath  <roland@hack.frob.com>
34842         [BZ #14812]
34843         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
34844         on argument names, not just descriptions.
34845         * malloc/memusagestat.c (options): Likewise.
34846         * nss/getent.c (options): Likewise.
34848 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
34850         [BZ #14812]
34851         * iconv/iconv_prog.c (options): Put N_ translation marker
34852         on argument names, not just descriptions.
34853         * iconv/iconvconfig.c (options): Likewise.
34855 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
34857         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
34858         implementation which is faster on all x86_64 architectures.
34859         Tested on AMD, Intel Nehalem, SNB, IVB.
34860         * sysdeps/x86_64/strnlen.S: Likewise.
34862         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34863         Remove all multiarch strlen and strnlen versions.
34864         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
34865         Remove strlen and strnlen related parts.
34867         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
34868         Inline strlen part.
34869         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
34871         * sysdeps/x86_64/multiarch/strlen.S: Remove.
34872         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
34873         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
34874         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
34875         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34876         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
34878 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
34880         * manual/memory.texi (Malloc Tunable Parameters):
34881         Sort parameters alphabetically. Add comments for missing entries.
34883 2013-03-17  David S. Miller  <davem@davemloft.net>
34885         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34887 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
34889         [BZ #15283]
34890         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
34891         for arguments at most half maximum finite value.
34892         * math/libm-test.inc (j0_test): Add more tests.
34893         (j1_test): Likewise.
34894         (y0_test): Likewise.
34895         (y1_test): Likewise.
34896         * sysdeps/i386/fpu/libm-test-ulps: Update.
34897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34899         [BZ #14155]
34900         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
34901         1 / x and functions P and Q for arguments above 0x1p256L.
34902         (__ieee754_y0l): Likewise.
34903         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
34904         (__ieee754_y1l): Likewise.
34905         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
34906         (j1_test): Likewise.
34907         (y0_test): Likewise.
34908         (y1_test): Likewise.
34910 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
34912         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
34913         variable.
34915 2013-03-15  Roland McGrath  <roland@hack.frob.com>
34917         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
34918         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
34919         zero since it's initialized to EXEC_PAGESIZE.
34921         * sysdeps/unix/sysv/linux/ldsodefs.h
34922         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
34923         * sysdeps/generic/ldsodefs.h: ... here.
34925 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
34927         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
34929         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
34930         math/test-snan.c.
34931         * math/test-snan.c: Renamed from
34932         sysdeps/powerpc/fpu/test-powerpc-snan.c.
34933         * math/Makefile (tests): Add test-snan.
34934         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
34935         test-powerpc-snan.
34937         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
34938         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
34939         functions.
34940         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
34941         __builtin_nan family of functions.
34942         * math/libm-test.inc (initialize): Initialize qnan_value with
34943         __builtin_nan family of functions.
34944         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
34945         Remove variables.
34946         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
34947         Remove functions.
34948         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
34949         storage class.  Initialize qNaN_var and sNaN_var with
34950         __builtin_nan and __builtin_nans families of functions,
34951         respectively.
34953         * math/libm-test.inc (acosh_test): Also test with qNaN input.
34954         (sqrt_test): Remove duplicate test with qNaN input.
34955         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
34956         (round_test, signbit_test, significand_test): Note missing +/-Inf
34957         as well as qNaN tests.
34959         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
34960         qNaN_var.  Fix a few strings, too.
34961         * math/libm-test.inc (nan_value): Rename to qnan_value.
34962         * math/gen-libm-test.pl (%beautify): Adjust to that.
34963         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
34964         * math/test-misc.c (main): Likewise.
34965         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
34966         to __qnan_bytes, and __qnan_union, respectively.
34967         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
34968         Likewise.
34969         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
34970         and lqnanval, respectively.
34971         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
34972         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
34973         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
34974         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
34976         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
34977         * math/test-misc.c (main) [__x86_64__]: Enable test for long
34978         doubles.
34980         * math/test-misc.c (main): Fix copy'n'pastos.
34981         * misc/tst-efgcvt.c (special): Likewise.
34983         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
34984         Remove declarations.
34986 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34988         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
34989         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
34990         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
34991         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
34993 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34995         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
34996         macro to return vdso values correctly in IFUNC implementations.
34997         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
34998         Optimization by using IFUNC.
35000 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35001             Richard Henderson  <rth@redhat.com>
35002             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35004         * Makefile.in (bench): New target.
35005         * NEWS: Mention the benchmark framework.
35006         * Rules (bench): Likewise.
35007         (binaries-bench): Generate binaries for functions to
35008         benchmark.
35009         * benchtests/Makefile: New makefile for benchmark tests.
35010         * benchtests/bench-skeleton.c: New skeleton file for benchmark
35011         programs.
35012         * benchtests/exp-inputs: New input file for EXP function.
35013         * benchtests/pow-inputs: New input file for POW function.
35014         * scripts/bench.pl: New script to generate source files for
35015         benchmark programs.
35017 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35019         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
35020         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
35021         computations on mantissa.  Use macros for rounding and
35022         division.
35023         (denorm): Likewise.
35024         (__dbl_mp): Likewise.
35025         (add_magnitudes): Likewise.
35026         (sub_magnitudes): Likewise.
35027         (__mul): Likewise.
35028         (__sqr): Likewise.
35029         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
35030         powers of two in terms of TWOPOW macro.
35031         (mp_no): Make type of mantissa as MANTISSA_T.
35032         [!RADIXI]: Define RADIXI.
35033         [!TWO52]: Define TWO52.
35034         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
35036         * manual/nptl.texi (cindex): Modify threads to pthreads.
35038 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
35040         * sysdeps/x86_64/preconfigure: Regenerated.
35042 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
35044         [BZ #14155]
35045         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
35046         0x1p28 and above.
35047         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
35048         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
35049         0x1p28 and above.
35050         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
35051         * math/libm-test.inc (j0_test): Do not allow one spurious
35052         underflow exception.
35053         (y1_test): Likewise.
35055 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35057         * manual/Makefile (chapters): Add nptl.
35058         * manual/debug.texi (Debugging Support): Add link to Threads
35059         chapter.
35060         * manual/nptl.texi: New file.
35062         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
35064 2013-03-14  Petr Baudis  <pasky@ucw.cz>
35066         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
35067         for non-NULL pointer before the memory validity test. Pointed
35068         out by Holger Brunck <holger.brunck@keymile.com>.
35070 2013-03-13  Andreas Schwab  <schwab@suse.de>
35072         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
35073         instead of .os.
35075 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
35077         * timezone/zic.c: Update from tzcode 2013b.
35079 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
35081         * manual/install.texi (Configuring and compiling):
35082         Mention i686 and i586.
35083         * INSTALL: Regenerate.
35085 2013-03-12  Roland McGrath  <roland@hack.frob.com>
35087         * sysdeps/init_array/elf-init.c: New file.
35088         * csu/elf-init.c
35089         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
35090         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
35092         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
35093         __gmon_start__ as global, but as static with a .preinit_array pointer.
35094         * sysdeps/init_array/gmon-start.c: New file.  Use that.
35095         * sysdeps/init_array/crti.S: New file, empty except for comments.
35096         * sysdeps/init_array/crtn.S: Likewise.
35098 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
35100         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
35101         definining bcopy.
35102         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35103         Remove Prefer_SSE_for_memop.
35104         * sysdeps/x86_64/multiarch/init-arch.h: Remove
35105         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
35106         HAS_PREFER_SSE_FOR_MEMOP.
35107         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
35108         memset-x86-64.
35109         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35110         Remove bzero, memset ifunc support.
35111         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
35112         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
35113         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35114         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35116 2013-03-11  Andreas Schwab  <schwab@suse.de>
35118         [BZ #15234]
35119         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
35120         by SHLIB_COMPAT.
35121         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
35122         (GLIBC_2.16): Remove pthread_atfork.
35124 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35126         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
35127         (ptestcases.h): Likewise.
35129 2013-03-08  Roland McGrath  <roland@hack.frob.com>
35131         * Makeconfig ($(common-objpfx)config.status): Depend on
35132         sysdeps/*/preconfigure{,.in} too.
35134 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
35136         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
35137         (__free_hook): Use void * instead of __malloc_ptr_t.
35138         (__malloc_hook): Likewise.
35139         (__realloc_hook): Likewise.
35140         (__memalign_hook): Likewise.
35141         (__after_morecore_hook): Likewise.
35142         * malloc/arena.c (save_malloc_hook): Likewise.
35143         (save_free_hook): Likewise.
35144         * malloc/hooks.c (malloc_hook_ini): Likewise.
35145         (realloc_hook_ini): Likewise.
35146         (memalign_hook_ini): Likewise.
35147         * malloc/malloc.c (malloc_hook_ini): Likewise.
35148         (realloc_hook_ini): Likewise.
35149         (memalign_hook_ini): Likewise.
35150         (__free_hook): Likewise.
35151         (__malloc_hook): Likewise.
35152         (__realloc_hook): Likewise.
35153         (__memalign_hook): Likewise.
35154         (__libc_malloc): Likewise.
35155         (__libc_free): Likewise.
35156         (__libc_realloc): Likewise.
35157         (__libc_memalign): Likewise.
35158         (__libc_valloc): Likewise.
35159         (__libc_pvalloc): Likewise.
35160         (__libc_calloc): Likewise.
35161         (__posix_memalign): Likewise.
35162         * malloc/morecore.c (__sbrk): Likewise.
35163         (__default_morecore): Likewise.
35165         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
35167         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
35168         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
35169         __malloc_ptrdiff_t.
35171         * malloc/malloc.h (__malloc_size_t): Remove macro.
35172         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
35173         __malloc_size_t.
35174         (old_memalign_hook): Likewise.
35175         (old_realloc_hook): Likewise.
35176         (struct hdr): Likewise.
35177         (flood): Likewise.
35178         (mallochook): Likewise.
35179         (memalignhook): Likewise.
35180         (reallochook): Likewise.
35181         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
35182         (tr_old_realloc_hook): Likewise.
35183         (tr_old_memalign_hook): Likewise.
35184         (tr_mallochook): Likewise.
35185         (tr_reallochook): Likewise.
35186         (tr_memalignhook): Likewise.
35188 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35190         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
35191         default_ldbl_pack and using as default implementation.
35192         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
35193         implementation.
35194         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
35195         redundant definition.
35196         (ldbl_insert_mantissa): Likewise.
35197         (ldbl_canonicalize): Likewise.
35198         (ldbl_nearbyint): Likewise.
35199         (ldbl_pack): Rename to ldbl_pack_ppc.
35200         (ldbl_unpack): Rename to ldbl_unpack_ppc.
35201         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
35202         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
35204 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
35206         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
35207         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
35208         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
35209         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
35210         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
35211         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
35212         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
35213         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
35215 2013-03-07  Andreas Jaeger  <aj@suse.de>
35217         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35218         bits/mman-linux.h.
35220 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35222         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
35223         Include mpa.h and declare __MPEXP.
35224         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
35225         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35226         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35227         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
35228         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35229         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
35230         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
35232         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
35233         (__slowpow): Use long double EXPL and LOGL functions to
35234         compute POW.
35235         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
35236         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35237         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
35238         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
35239         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
35240         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
35242         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
35243         intermediate variable to calculate exponent.
35244         (__sqr): Likewise.
35245         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35246         Likewise.
35247         (__sqr): Likewise.
35249         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
35250         [!NO__SQR]: Define __sqr.
35251         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
35252         and NO__SQR.  Remove all code except __mul and __sqr.  Include
35253         sysdeps/ieee754/dbl-64/mpa.c.
35254         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35256         [BZ #12723]
35257         * posix/Makefile (tests): Add tst-pathconf.
35258         * posix/tst-pathconf.c: New test case.
35259         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
35260         _PC_PIPE_BUF.
35261         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
35263 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
35265         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
35267 2013-03-06  Andreas Jaeger  <aj@suse.de>
35269         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
35270         definition via __MAP_ANONYMOUS.
35272         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
35273         it's not part of Linux headers.
35275         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
35276         (MAP_HUGE_MASK): Define.
35278         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35279         Define.
35280         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35281         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35282         Define.
35283         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35284         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
35285         Define.
35286         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35287         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
35288         Define.
35289         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
35291         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
35292         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
35293         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
35294         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
35295         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
35296         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
35298         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35299         Handle f2fs.
35301         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35302         Handle f2fs and efivarfs.
35304         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
35305         f2fs.
35307         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
35308         (EFIVARFS_MAGIC): Add.
35309         (F2FS_LINK_MAX): Add.
35311 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35313         * stdio-common/vfprintf.c: Replace __builtin_expect with
35314         __glibc_unlikely.
35316 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
35318         [BZ #13550]
35319         * sysdeps/generic/bp-sym.h: Remove file.
35320         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
35321         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
35322         <bp-sym.h> and <bp-asm.h>.
35323         (__longjmp): Don't use BP_SYM.
35324         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
35325         and <bp-asm.h>.
35326         (memcpy): Don't use BP_SYM.
35327         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
35328         <bp-sym.h> and <bp-asm.h>.
35329         (memcpy): Don't use BP_SYM.
35330         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
35331         <bp-asm.h>.
35332         (memcpy): Don't use BP_SYM.
35333         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
35334         <bp-asm.h>.
35335         (memset): Don't use BP_SYM.
35336         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35337         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35338         (__bzero): Don't use BP_SYM.
35339         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35340         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35341         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
35342         <bp-sym.h> and <bp-asm.h>.
35343         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35344         pointers.
35345         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
35346         <bp-sym.h> and <bp-asm.h>.
35347         (memcpy): Don't use BP_SYM.
35348         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
35349         <bp-sym.h> and <bp-asm.h>.
35350         (memset): Don't use BP_SYM.
35351         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35352         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35353         (__bzero): Don't use BP_SYM.
35354         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35355         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35356         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
35357         <bp-sym.h> and <bp-asm.h>.
35358         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35359         pointers.
35360         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
35361         <bp-sym.h> and <bp-asm.h>.
35362         (memcpy): Don't use BP_SYM.
35363         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
35364         <bp-sym.h> and <bp-asm.h>.
35365         (memset): Don't use BP_SYM.
35366         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35367         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35368         (__bzero): Don't use BP_SYM.
35369         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35370         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35371         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
35372         <bp-sym.h> and <bp-asm.h>.
35373         (__memchr): Don't use BP_SYM.
35374         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
35375         <bp-sym.h> and <bp-asm.h>.
35376         (memcmp): Don't use BP_SYM.  Remove comment about bounded
35377         pointers.
35378         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
35379         <bp-sym.h> and <bp-asm.h>.
35380         (memcpy): Don't use BP_SYM.
35381         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
35382         <bp-sym.h> and <bp-asm.h>.
35383         (__mempcpy): Don't use BP_SYM.
35384         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
35385         <bp-sym.h> and <bp-asm.h>.
35386         (__memrchr): Don't use BP_SYM.
35387         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
35388         <bp-sym.h> and <bp-asm.h>.
35389         (memset): Don't use BP_SYM.
35390         (__bzero): Likewise.
35391         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
35392         <bp-sym.h> and <bp-asm.h>.
35393         (__rawmemchr): Don't use BP_SYM.
35394         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
35395         <bp-sym.h> and <bp-asm.h>.
35396         (__STRCMP): Don't use BP_SYM.
35397         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
35398         <bp-sym.h> and <bp-asm.h>.
35399         (strchr): Don't use BP_SYM.
35400         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
35401         <bp-sym.h> and <bp-asm.h>.
35402         (__strchrnul): Don't use BP_SYM.
35403         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
35404         <bp-sym.h> and <bp-asm.h>.
35405         (strlen): Don't use BP_SYM.
35406         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
35407         <bp-sym.h> and <bp-asm.h>.
35408         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35409         pointers.
35410         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
35411         <bp-sym.h> and <bp-asm.h>.
35412         (__strnlen): Don't use BP_SYM.
35413         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
35414         <bp-sym.h> and <bp-asm.h>.
35415         (__GI__setjmp): Don't use BP_SYM.
35416         (_setjmp): Likewise.
35417         (__sigsetjmp): Likewise.
35418         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
35419         (L(start_addresses)): Don't use BP_SYM.
35420         (_start): Likewise.
35421         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
35422         <bp-asm.h>.
35423         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
35424         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
35425         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35426         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35427         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
35428         <bp-asm.h>.
35429         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
35430         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
35431         about bounded pointers.
35432         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35433         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35434         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
35435         <bp-asm.h>.
35436         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35437         about bounded pointers.  Remove GKM FIXME comments.
35438         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35439         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
35440         <bp-asm.h>.
35441         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
35442         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
35443         Remove GKM FIXME comments.
35444         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35445         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35446         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
35447         <bp-asm.h>.
35448         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
35449         about bounded pointers.  Remove GKM FIXME comment.
35450         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
35451         and <bp-asm.h>.
35452         (strncmp): Don't use BP_SYM.  Remove comment about bounded
35453         pointers.
35454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
35455         <bp-sym.h> and <bp-asm.h>.
35456         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
35458         <bp-sym.h> and <bp-asm.h>.
35459         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35460         comment.
35462 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
35464         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
35465         call free(NULL).
35467 2013-03-05  David S. Miller  <davem@davemloft.net>
35469         * po/es.po: Update from translation team.
35471 2013-03-05  Andreas Jaeger  <aj@suse.de>
35473         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
35474         <bits/mman-linux.h>.
35475         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35476         is fine.
35477         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
35478         <bits/mman-linux.h> to end of file.
35479         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35480         is fine.
35481         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
35482         <bits/mman-linux.h> to end of file.
35483         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
35484         is fine.
35485         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
35486         <bits/mman-linux.h> to end of file.
35488         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
35489         (MCL_CURRENT, MCL_FUTURE): Define here.
35491 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35493         [BZ #15232]
35494         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
35495         attribute_hidden.
35496         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35498 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35500         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
35501         fourth parameter needed for rt_sigprocmask syscall.
35502         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
35503         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
35504         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
35505         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
35506         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
35507         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
35509 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
35511         [BZ #13550]
35512         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
35513         comment about bounded pointers.
35514         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
35515         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
35517 2013-03-04  Andreas Jaeger  <aj@suse.de>
35519         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
35520         common definitions.
35522         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
35523         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
35524         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
35525         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35526         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35527         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35529 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35531         [BZ #15055]
35532         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
35533         __ieee754_sqrl instead of __sqrl.
35535 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
35537         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
35538         * sysdeps/powerpc/fpu_control.h: ... here.
35539         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
35540         * sysdeps/powerpc/bits/fenvinline.h: ... here.
35541         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
35542         * sysdeps/powerpc/bits/mathinline.h: ... here.
35544 2013-03-01  Roland McGrath  <roland@hack.frob.com>
35546         * elf/dl-hwcaps.c (_dl_important_hwcaps):
35547         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
35548         to just [NEED_DL_SYSINFO_DSO].
35549         * elf/dl-support.c: Likewise.
35550         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
35551         * elf/rtld.c (dl_main): Likewise.
35552         * elf/setup-vdso.h (setup_vdso): Likewise.
35553         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
35554         * sysdeps/unix/sysv/linux/dl-sysdep.c
35555         (_dl_discover_osversion): Likewise.
35557 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
35559         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
35560         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35562 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
35564         * NEWS: Mention libm performance improvements and non-x86 PI
35565         futex support.
35567         * csu/libc-start.c (__pthread_initialize_minimal): Change
35568         function arguments.
35569         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
35571 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
35573         [BZ #13550]
35574         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
35575         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
35576         <bp-sym.h> and <bp-asm.h>.
35577         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35578         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
35579         and <bp-asm.h>.
35580         (memcpy): Don't use BP_SYM.
35581         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
35582         <bp-asm.h>.
35583         (__mpn_add_n): Don't use BP_SYM.
35584         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
35585         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
35586         and <bp-asm.h>.
35587         (__mpn_addmul_1): Don't use BP_SYM.
35588         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35589         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
35590         <bp-sym.h>.
35591         (_setjmp): Don't use BP_SYM.
35592         (__novmx_setjmp): Likewise.
35593         (__GI__setjmp): Likewise.
35594         (__vmx_setjmp): Likewise.
35595         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
35596         <bp-sym.h>.
35597         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
35598         (__bzero): Don't use BP_SYM.
35599         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
35600         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
35601         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
35602         <bp-sym.h> and <bp-asm.h>.
35603         (memcpy): Don't use BP_SYM.
35604         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
35605         <bp-sym.h> and <bp-asm.h>.
35606         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35607         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
35608         <bp-sym.h> and <bp-asm.h>.
35609         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
35610         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
35611         <bp-asm.h>.
35612         (__mpn_lshift): Don't use BP_SYM.
35613         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35614         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
35615         <bp-asm.h>.
35616         (memset): Don't use BP_SYM.
35617         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
35618         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
35619         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
35620         <bp-asm.h>.
35621         (__mpn_mul_1): Don't use BP_SYM.
35622         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35623         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
35624         <bp-sym.h> and <bp-asm.h>.
35625         (memcmp): Don't use BP_SYM.
35626         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
35627         <bp-sym.h> and <bp-asm.h>.
35628         (memcpy): Don't use BP_SYM.
35629         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
35630         <bp-sym.h> and <bp-asm.h>.
35631         (memset): Don't use BP_SYM.
35632         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
35633         <bp-sym.h> and <bp-asm.h>.
35634         (strncmp): Don't use BP_SYM.
35635         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
35636         <bp-sym.h> and <bp-asm.h>.
35637         (memcpy): Don't use BP_SYM.
35638         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
35639         <bp-sym.h> and <bp-asm.h>.
35640         (memset): Don't use BP_SYM.
35641         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
35642         <bp-sym.h> and <bp-asm.h>.
35643         (__memchr): Don't use BP_SYM.
35644         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
35645         <bp-sym.h> and <bp-asm.h>.
35646         (memcmp): Don't use BP_SYM.
35647         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
35648         <bp-sym.h> and <bp-asm.h>.
35649         (memcpy): Don't use BP_SYM.
35650         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
35651         <bp-sym.h> and <bp-asm.h>.
35652         (__mempcpy): Don't use BP_SYM.
35653         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
35654         <bp-sym.h> and <bp-asm.h>.
35655         (__memrchr): Don't use BP_SYM.
35656         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
35657         <bp-sym.h> and <bp-asm.h>.
35658         (memset): Don't use BP_SYM.
35659         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
35660         <bp-sym.h> and <bp-asm.h>.
35661         (__rawmemchr): Don't use BP_SYM.
35662         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
35663         <bp-sym.h> and <bp-asm.h>.
35664         (__STRCMP): Don't use BP_SYM.
35665         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
35666         <bp-sym.h> and <bp-asm.h>.
35667         (strchr): Don't use BP_SYM.
35668         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
35669         <bp-sym.h> and <bp-asm.h>.
35670         (__strchrnul): Don't use BP_SYM.
35671         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
35672         <bp-sym.h> and <bp-asm.h>.
35673         (strlen): Don't use BP_SYM.
35674         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
35675         <bp-sym.h> and <bp-asm.h>.
35676         (strncmp): Don't use BP_SYM.
35677         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
35678         <bp-sym.h> and <bp-asm.h>.
35679         (__strnlen): Don't use BP_SYM.
35680         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
35681         <bp-asm.h>.
35682         (__mpn_rshift): Don't use BP_SYM.
35683         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35684         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
35685         <bp-sym.h> and <bp-asm.h>.
35686         (__sigsetjmp): Don't use BP_SYM.
35687         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
35688         (L(start_addresses)): Don't use BP_SYM.
35689         (_start): Likewise.
35690         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
35691         <bp-asm.h>.
35692         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
35693         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35694         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35695         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
35696         <bp-asm.h>.
35697         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
35698         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35699         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35700         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
35701         <bp-asm.h>.
35702         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35703         comments.
35704         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35705         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
35706         <bp-asm.h>.
35707         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
35708         FIXME comments.
35709         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35710         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
35711         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
35712         <bp-asm.h>.
35713         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
35714         comment.
35715         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
35716         and <bp-asm.h>.
35717         (strncmp): Don't use BP_SYM,
35718         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
35719         <bp-asm.h>.
35720         (__mpn_sub_n): Don't use BP_SYM.
35721         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35722         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
35723         and <bp-asm.h>.
35724         (__mpn_submul_1): Don't use BP_SYM.
35725         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
35727         <bp-sym.h> and <bp-asm.h>.
35728         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
35729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
35730         <bp-sym.h> and <bp-asm.h>.
35731         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
35732         comment.
35734 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35736         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
35737         Use ZK to minimize writes to Z.
35738         (sub_magnitudes): Simplify code a bit.
35739         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
35740         Use ZK to minimize writes to Z.
35741         (sub_magnitudes): Simplify code a bit.
35743 2013-02-27  Roland McGrath  <roland@hack.frob.com>
35745         * csu/gmon-start.c: Add special exception to license text.
35747 2013-02-27  Richard Henderson  <rth@redhat.com>
35749         * scripts/config.guess: Update from config.git.
35750         * scripts/config.sub: Likewise.
35752 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35754         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
35756         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
35758         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
35760         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
35762         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
35764 2013-02-26  Roland McGrath  <roland@hack.frob.com>
35766         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
35767         [$(build-shared = yes].
35769 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35771         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
35772         (__mul): Reduce iterations for calculating mantissa.
35774         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
35775         MPTWO.
35776         (__mpranred): Likewise.
35778         [BZ #15160]
35779         * malloc/memusagestat.c (main): Draw graphs for heap and stack
35780         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
35782 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
35784         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
35785         Define __attribute__.
35787 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35789         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
35790         unused.
35791         * posix/regex_internal.h (__attribute): Remove.
35792         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
35793         (re_string_context_at): Likewise.
35794         (bitset_not): Use __attribute__ and mark function as possibly
35795         unused.
35796         (bitset_merge): Likewise.
35797         (bitset_mask): Likewise.
35798         (re_string_char_size_at): Likewise.
35799         (re_string_wchar_at): Likewise.
35800         (re_string_elem_size_at): Likewise.
35802 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35804         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
35805         code.
35806         (cc32): Likewise.
35808         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
35809         (__acr): Likewise.
35810         (__cpy): Likewise.
35811         (norm): Likewise.
35812         (denorm): Likewise.
35813         (__dbl_mp): Likewise.
35814         (add_magnitudes): Likewise.
35815         (sub_magnitudes): Likewise.
35816         (__mul): Likewise.
35817         (__inv): Likewise.
35819         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
35820         style.
35822         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
35823         style.
35825         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
35826         code.
35828         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
35829         up changes with default code.
35830         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
35831         Likewise.
35833 2013-02-24  Allan McRae  <allan@archlinux.org>
35835         * manual/socket.texi (The Internet Namespace): Order menu items
35836         to match that in the file.
35838         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
35839         node listing of the info page menu.
35841 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
35843         [BZ #13550]
35844         * sysdeps/i386/bp-asm.h: Remove file.
35845         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35846         (PARMS): Do not use macros from bp-asm.h.
35847         (S1): Likewise.
35848         (S2): Likewise.
35849         (SIZE): Likewise.
35850         (__mpn_add_n): Do not use BP_SYM
35851         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
35852         "bp-asm.h".
35853         (PARMS): Do not use macros from bp-asm.h.
35854         (S1): Likewise.
35855         (SIZE): Likewise.
35856         (__mpn_addmul_1): Do not use BP_SYM
35857         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
35858         "bp-asm.h".
35859         (PARMS): Do not use macros from bp-asm.h.
35860         (SIGMSK): Likewise.
35861         (_setjmp): Likewise.  Do not use BP_SYM.
35862         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
35863         "bp-asm.h".
35864         (PARMS): Do not use macros from bp-asm.h.
35865         (SIGMSK): Likewise.
35866         (setjmp): Likewise.  Do not use BP_SYM.
35867         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
35868         "bp-asm.h".
35869         (PARMS): Do not use macros from bp-asm.h.
35870         (__frexp): Do not use BP_SYM.
35871         (frexp): Likewise.
35872         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
35873         "bp-asm.h".
35874         (PARMS): Do not use macros from bp-asm.h.
35875         (__frexpf): Do not use BP_SYM.
35876         (frexpf): Likewise.
35877         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
35878         "bp-asm.h".
35879         (PARMS): Do not use macros from bp-asm.h.
35880         (__frexpl): Do not use BP_SYM.
35881         (frexpl): Likewise.
35882         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
35883         "bp-asm.h".
35884         (PARMS): Do not use macros from bp-asm.h.
35885         (__remquo): Do not use BP_SYM.
35886         (remquo): Likewise.
35887         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
35888         "bp-asm.h".
35889         (PARMS): Do not use macros from bp-asm.h.
35890         (__remquof): Do not use BP_SYM.
35891         (remquof): Likewise.
35892         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
35893         "bp-asm.h".
35894         (PARMS): Do not use macros from bp-asm.h.
35895         (__remquol): Do not use BP_SYM.
35896         (remquol): Likewise.
35897         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
35898         "bp-asm.h".
35899         (PARMS): Do not use macros from bp-asm.h.
35900         (DEST): Likewise.
35901         (SRC): Likewise.
35902         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
35903         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
35904         "bp-asm.h".
35905         (PARMS): Do not use macros from bp-asm.h.
35906         (strlen): Do not use BP_SYM.
35907         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
35908         "bp-asm.h".
35909         (PARMS): Do not use macros from bp-asm.h.
35910         (S1): Likewise.
35911         (S2): Likewise.
35912         (SIZE): Likewise.
35913         (__mpn_add_n): Do not use BP_SYM.
35914         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
35915         "bp-asm.h".
35916         (PARMS): Do not use macros from bp-asm.h.
35917         (S1): Likewise.
35918         (SIZE): Likewise.
35919         (__mpn_addmul_1): Do not use BP_SYM.
35920         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
35921         weak_alias.
35922         (bzero): Likewise.
35923         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
35924         "bp-asm.h".
35925         (PARMS): Do not use macros from bp-asm.h.
35926         (S): Likewise.
35927         (SIZE): Likewise.
35928         (__mpn_lshift): Do not use BP_SYM.
35929         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
35930         "bp-asm.h".
35931         (PARMS): Do not use macros from bp-asm.h.
35932         (DEST): Likewise.
35933         (SRC): Likewise.
35934         (LEN): Likewise.
35935         (memcpy): Likewise.  Do not use BP_SYM.
35936         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
35937         libc_hidden_def and weak_alias.
35938         (mempcpy): Do not use BP_SYM in weak_alias.
35939         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
35940         "bp-asm.h".
35941         (PARMS): Do not use macros from bp-asm.h.
35942         (DEST): Likewise.
35943         (LEN): Likewise.
35944         [!BZERO_P] (CHR): Likewise.
35945         (memset): Likewise.  Do not use BP_SYM.
35946         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
35947         "bp-asm.h".
35948         (PARMS): Do not use macros from bp-asm.h.
35949         (S1): Likewise.
35950         (SIZE): Likewise.
35951         (__mpn_mul_1): Do not use BP_SYM.
35952         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
35953         "bp-asm.h".
35954         (PARMS): Do not use macros from bp-asm.h.
35955         (S): Likewise.
35956         (SIZE): Likewise.
35957         (__mpn_rshift): Do not use BP_SYM.
35958         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
35959         "bp-asm.h".
35960         (PARMS): Do not use macros from bp-asm.h.
35961         (STR): Likewise.
35962         (CHR): Likewise.
35963         (strchr): Likewise.  Do not use BP_SYM.
35964         (index): Do not use BP_SYM in weak_alias.
35965         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
35966         "bp-asm.h".
35967         (PARMS): Do not use macros from bp-asm.h.
35968         (DEST): Likewise.
35969         (SRC): Likewise.
35970         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
35971         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
35972         "bp-asm.h".
35973         (PARMS): Do not use macros from bp-asm.h.
35974         (strlen): Do not use BP_SYM.
35975         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
35976         "bp-asm.h".
35977         (PARMS): Do not use macros from bp-asm.h.
35978         (S1): Likewise.
35979         (S2): Likewise.
35980         (SIZE): Likewise.
35981         (__mpn_sub_n): Do not use BP_SYM.
35982         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
35983         "bp-asm.h".
35984         (PARMS): Do not use macros from bp-asm.h.
35985         (S1): Likewise.
35986         (SIZE): Likewise.
35987         (__mpn_submul_1): Do not use BP_SYM.
35988         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
35989         "bp-asm.h".
35990         (PARMS): Do not use macros from bp-asm.h.
35991         (S1): Likewise.
35992         (S2): Likewise.
35993         (SIZE): Likewise.
35994         (__mpn_add_n): Do not use BP_SYM.
35995         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
35996         weak_alias.
35997         (bzero): Likewise.
35998         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
35999         "bp-asm.h".
36000         (PARMS): Do not use macros from bp-asm.h.
36001         (BLK2): Likewise.
36002         (LEN): Likewise.
36003         (memcmp): Do not use BP_SYM.
36004         (bcmp): Do not use BP_SYM in weak_alias.
36005         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
36006         "bp-asm.h".
36007         (PARMS): Do not use macros from bp-asm.h.
36008         (DEST): Likewise.
36009         (SRC): Likewise.
36010         (LEN): Likewise.
36011         (memcpy): Likewise.  Do not use BP_SYM.
36012         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
36013         "bp-asm.h".
36014         (PARMS): Do not use macros from bp-asm.h.
36015         (DEST): Likewise.
36016         (SRC): Likewise.
36017         (LEN): Likewise.
36018         (memmove): Likewise.  Do not use BP_SYM.
36019         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
36020         "bp-asm.h".
36021         (PARMS): Do not use macros from bp-asm.h.
36022         (DEST): Likewise.
36023         (SRC): Likewise.
36024         (LEN): Likewise.
36025         (__mempcpy): Likewise.  Do not use BP_SYM.
36026         (mempcpy): Do not use BP_SYM in weak_alias.
36027         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
36028         "bp-asm.h".
36029         (PARMS): Do not use macros from bp-asm.h.
36030         (DEST): Likewise.
36031         (LEN): Likewise.
36032         [!BZERO_P] (CHR): Likewise.
36033         (memset): Likewise.  Do not use BP_SYM.
36034         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
36035         "bp-asm.h".
36036         (PARMS): Do not use macros from bp-asm.h.
36037         (STR2): Likewise.
36038         (strcmp): Do not use BP_SYM.
36039         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
36040         "bp-asm.h".
36041         (PARMS): Do not use macros from bp-asm.h.
36042         (STR): Likewise.
36043         (DELIM): Likewise.
36044         [USE_AS_STRTOK_R] (SAVE): Likewise.
36045         (FUNCTION): Likewise.  Do not use BP_SYM.
36046         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
36047         aliases.
36048         (strtok_r): Likewise.
36049         (__GI___strtok_r): Likewise.
36050         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36051         (PARMS): Do not use macros from bp-asm.h.
36052         (S): Likewise.
36053         (SIZE): Likewise.
36054         (__mpn_lshift): Do not use BP_SYM.
36055         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36056         (PARMS): Do not use macros from bp-asm.h.
36057         (STR): Likewise.
36058         (CHR): Likewise.
36059         (__memchr): Do not use BP_SYM.
36060         (memchr): Do not use BP_SYM in weak_alias.
36061         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36062         (PARMS): Do not use macros from bp-asm.h.
36063         (BLK2): Likewise.
36064         (LEN): Likewise.
36065         (memcmp): Do not use BP_SYM.
36066         (bcmp): Do not use BP_SYM in weak_alias.
36067         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
36068         (PARMS): Do not use macros from bp-asm.h.
36069         (S1): Likewise.
36070         (SIZE): Likewise.
36071         (__mpn_mul_1): Do not use BP_SYM.
36072         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
36073         "bp-asm.h".
36074         (PARMS): Do not use macros from bp-asm.h.
36075         (STR): Likewise.
36076         (CHR): Likewise.
36077         (__rawmemchr): Do not use BP_SYM.
36078         (rawmemchr): Do not use BP_SYM in weak_alias.
36079         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
36080         (PARMS): Do not use macros from bp-asm.h.
36081         (S): Likewise.
36082         (SIZE): Likewise.
36083         (__mpn_rshift): Do not use BP_SYM.
36084         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
36085         (PARMS): Do not use macros from bp-asm.h.
36086         (SIGMSK): Likewise.
36087         (__sigsetjmp): Likewise.  Do not use BP_SYM.
36088         * sysdeps/i386/start.S: Do not include "bp-sym.h".
36089         (_start): Do not use BP_SYM.
36090         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
36091         (PARMS): Do not use macros from bp-asm.h.
36092         (DEST): Likewise.
36093         (SRC): Likewise.
36094         (__stpcpy): Likewise.  Do not use BP_SYM.
36095         (stpcpy): Do not use BP_SYM in weak_alias.
36096         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
36097         "bp-asm.h".
36098         (PARMS): Do not use macros from bp-asm.h.
36099         (DEST): Likewise.
36100         (SRC): Likewise.
36101         (LEN): Likewise.
36102         (__stpncpy): Likewise.  Do not use BP_SYM.
36103         (stpncpy): Do not use BP_SYM in weak_alias.
36104         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
36105         (PARMS): Do not use macros from bp-asm.h.
36106         (STR): Likewise.
36107         (CHR): Likewise.
36108         (strchr): Likewise.  Do not use BP_SYM.
36109         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
36110         "bp-asm.h".
36111         (PARMS): Do not use macros from bp-asm.h.
36112         (STR): Likewise.
36113         (CHR): Likewise.
36114         (__strchrnul): Likewise.  Do not use BP_SYM.
36115         (strchrnul): Do not use BP_SYM in weak_alias.
36116         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
36117         "bp-asm.h".
36118         (PARMS): Do not use macros from bp-asm.h.
36119         (STOP): Likewise.
36120         (strcspn): Do not use BP_SYM.
36121         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
36122         "bp-asm.h".
36123         (PARMS): Do not use macros from bp-asm.h.
36124         (STR): Likewise.
36125         (STOP): Likewise.
36126         (strpbrk): Likewise.  Do not use BP_SYM.
36127         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
36128         "bp-asm.h".
36129         (PARMS): Do not use macros from bp-asm.h.
36130         (STR): Likewise.
36131         (CHR): Likewise.
36132         (strrchr): Likewise.  Do not use BP_SYM.
36133         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
36134         (PARMS): Do not use macros from bp-asm.h.
36135         (SKIP): Likewise.
36136         (strspn): Do not use BP_SYM.
36137         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
36138         (PARMS): Do not use macros from bp-asm.h.
36139         (STR): Likewise.
36140         (DELIM): Likewise.
36141         (SAVE): Likewise.
36142         (FUNCTION): Likewise.  Do not use BP_SYM.
36143         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
36144         aliases.
36145         (strtok_r): Likewise.
36146         (__GI___strtok_r): Likewise.
36147         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
36148         (PARMS): Do not use macros from bp-asm.h.
36149         (S1): Likewise.
36150         (S2): Likewise.
36151         (SIZE): Likewise.
36152         (__mpn_sub_n): Do not use BP_SYM.
36153         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
36154         "bp-asm.h".
36155         (PARMS): Do not use macros from bp-asm.h.
36156         (S1): Likewise.
36157         (SIZE): Likewise.
36158         (__mpn_submul_1): Do not use BP_SYM.
36159         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
36160         <bp-sym.h>.
36161         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
36162         and <bp-asm.h>.
36163         (PARMS): Do not use macros from bp-asm.h.
36164         (FLAGS): Likewise.
36165         (PTID): Likewise.
36166         (TLS): Likewise.
36167         (CTID): Likewise.
36168         (__clone): Do not use BP_SYM.
36169         (clone): Do not use BP_SYM in weak_alias.
36170         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
36171         and <bp-asm.h>.
36172         (PARMS): Do not use macros from bp-asm.h.
36173         (LEN): Likewise.
36174         (__mmap64): Do not use BP_SYM.
36175         (mmap64): Do not use BP_SYM in weak_alias.
36176         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36177         <bp-sym.h> and <bp-asm.h>.
36178         (PARMS): Do not use macros from bp-asm.h.
36179         (__posix_fadvise64_l64): Do not use BP_SYM.
36180         * sysdeps/unix/sysv/linux/i386/semtimedop.S
36181         (PARMS): Do not use macros from bp-asm.h.
36182         (NSOPS): Likewise.
36183         (semtimedop): Do not use BP_SYM.
36184         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
36185         and <bp-asm.h>.
36187 2013-02-21  Allan McRae  <allan@archlinux.org>
36189         * manual/message.texi (Charset conversion in gettext):
36190         Move @end statement to beginning of line.
36192 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36194         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
36195         static.
36196         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36197         Likewise.
36199         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
36200         (denorm): Likewise.
36201         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
36202         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
36204 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36206         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
36207         tail-call to the resolved function if pltexit isn't needed.
36209 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36211         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
36212         or Y being zero as being unlikely.
36213         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
36214         Likewise.
36216 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
36218         * manual/nss.texi (System Databases and Name Service Switch):
36219         Remove frobnicate @pxref.
36221 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36223         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36224         __attribute__ ((unused)) to __attribute__ ((__unused__)).
36226 2013-02-20  Petr Machata  <pmachata@redhat.com>
36228         * elf/elf.h (R_ARM_TARGET1): New macro.
36229         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
36230         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
36231         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
36232         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
36233         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
36234         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
36235         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
36236         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
36237         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
36238         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
36239         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
36240         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
36241         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
36242         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
36243         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
36244         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
36245         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
36246         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
36247         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
36248         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
36249         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
36250         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
36251         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
36252         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
36253         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
36254         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
36255         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
36256         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
36257         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
36258         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
36259         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
36260         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
36261         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
36262         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
36263         (R_ARM_THM_GOT_BREL12): Likewise.
36264         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
36265         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
36266         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
36267         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
36268         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
36269         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
36270         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
36271         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
36272         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
36274 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
36276         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
36277         __attribute_used__ to __attribute__ ((unused)).
36279 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36281         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
36282         powerpc mpa.c.
36283         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
36284         comment formatting.
36285         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
36287 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
36289         [BZ #13550]
36290         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
36291         Remove macro.
36292         (ENTER): Remove both macro definitions.
36293         (LEAVE): Likewise.
36294         (CHECK_BOUNDS_LOW): Likewise.
36295         (CHECK_BOUNDS_HIGH): Likewise.
36296         (CHECK_BOUNDS_BOTH): Likewise.
36297         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
36298         (RETURN_BOUNDED_POINTER): Likewise.
36299         (RETURN_NULL_BOUNDED_POINTER): Likewise.
36300         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
36301         (POP_ERRNO_LOCATION_RETURN): Likewise.
36302         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
36303         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36304         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
36305         macros.
36306         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36307         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
36308         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
36309         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
36310         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
36311         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
36312         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
36313         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
36314         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
36315         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
36316         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
36317         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
36318         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36319         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
36320         removed macros.
36321         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36322         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
36323         macros.
36324         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36325         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
36326         * sysdeps/i386/i586/memset.S (memset): Likewise.
36327         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
36328         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36329         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
36330         macros.
36331         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36332         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
36333         Change uses of L(2) to L(out).
36334         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
36335         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
36336         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
36337         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36338         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
36339         removed macros.
36340         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36341         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
36342         macros.
36343         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36344         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
36345         (RETURN): Do not use macro LEAVE.
36346         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
36347         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
36348         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
36349         * sysdeps/i386/i686/memset.S (memset): Likewise.
36350         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
36351         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
36352         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
36353         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
36354         Likewise.
36355         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36356         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
36357         L(1_2) and L(1_3) into L(1).
36358         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36359         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
36360         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36361         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
36362         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
36363         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
36364         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
36365         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36366         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
36367         macros.
36368         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
36369         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
36370         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
36371         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
36372         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
36373         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
36374         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
36375         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
36376         * sysdeps/i386/strcspn.S (strcspn): Likewise.
36377         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
36378         * sysdeps/i386/strrchr.S (strrchr): Likewise.
36379         * sysdeps/i386/strspn.S (strspn): Likewise.
36380         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
36381         conditional code.
36382         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
36383         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
36384         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
36385         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
36386         L(1_3) into L(1_1).
36387         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
36388         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
36389         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
36390         macros.
36391         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
36393 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
36395         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
36396         macro.
36398 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36400         * math/atest-exp.c (exp_mpn): Remove ROUND.
36401         * math/atest-exp2.c (exp_mpn): Likewise.
36402         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
36404         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
36405         * stdlib/tst-tls-atexit-lib.c: Likewise.
36406         * stdlib/tst-tls-atexit.c: Likewise.
36408 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36410         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
36411         and __attribute_alloc_size__.
36413 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36415         * include/programs/xmalloc.h: Change __attribute_alloc_size to
36416         __attribute_alloc_size__.
36417         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
36418         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
36420 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
36422         * include/programs/xmalloc.h: New file.
36423         * catgets/gencat.c: Include it.
36424         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
36425         * elf/pldd.c: Likewise.
36426         * iconv/iconv_charmap.c: Likewise.
36427         * iconv/iconvconfig.c: Likewise.
36428         * iconv/strtab.c: Likewise.
36429         * locale/programs/locale.c: Likewise.
36430         * locale/programs/localedef.h: Likewise.
36431         * locale/programs/simple-hash.c: Likewise.
36432         * nscd/nscd.h: Likewise.
36433         * nss/makedb.c: Likewise.
36434         * sysdeps/generic/ldconfig.h: Likewise.
36436 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36438         * Versions.def: Add GLIBC_2.18.
36439         * include/link.h (struct link_map): New member l_tls_dtor_count.
36440         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
36441         (__call_tls_dtors): Likewise.
36442         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
36443         __cxa_thread_atexit_impl.
36444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36445         Likewise.
36446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36447         Likewise.
36448         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
36449         Likewise.
36450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
36451         Likewise.
36452         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36453         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
36454         Likewise.
36455         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
36456         Likewise.
36457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36458         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
36459         Likewise.
36460         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
36461         (tests): Add test case tst-tls-atexit.
36462         (modules-names): Add shared library for tst-tls-atexit.
36463         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
36464         (GLIBC_PRIVATE): Add __call_tls_dtors.
36465         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
36466         for libstdc++.
36467         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
36468         * stdlib/tst-tls-atexit.c: New test case.
36469         * stdlib/tst-tls-atexit-lib.c: New test case.
36471         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
36473         * elf/Versions (ld): Add _dl_find_dso_for_object.
36474         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
36475         * elf/dl-open.c (_dl_find_dso_for_object): New function.
36476         (dl_open_worker): Use _dl_find_dso_for_object.
36477         * elf/dl-sym.c (do_sym): Likewise.
36478         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
36480 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36482         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
36483         Syntactic changes only.
36484         (_dl_runtime_profile): Do a tail-call to the resolved function.
36486 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
36488         [BZ #13550]
36489         * sysdeps/x86_64/bp-asm.h: Remove file.
36490         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
36491         <bp-sym.h> and <bp-asm.h>.
36492         (__clone): Do not use BP_SYM.
36493         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
36494         <bp-sym.h> and <bp-asm.h>.
36495         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36496         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
36497         "bp-asm.h".
36498         (_setjmp): Do not use BP_SYM.
36499         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
36500         "bp-asm.h".
36501         (setjmp): Do not use BP_SYM.
36502         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
36503         libc_hidden_def.
36504         (mempcpy): Do not use BP_SYM in weak_alias.
36505         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
36506         "bp-asm.h".
36507         (strchr): Do not use BP_SYM.
36508         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
36509         "bp-asm.h".
36510         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
36511         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
36512         (_start): Do not use BP_SYM.
36513         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
36514         "bp-asm.h".
36515         (strcat): Do not use BP_SYM.
36516         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
36517         "bp-asm.h".
36518         (STRCMP): Do not use BP_SYM.
36519         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
36520         "bp-asm.h".
36521         (STRCPY): Do not use BP_SYM.
36522         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
36523         "bp-asm.h".
36524         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
36525         "bp-asm.h".
36526         (FUNCTION): Do not use BP_SYM.
36527         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
36528         weak_alias.
36529         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
36531 2013-02-17  Andreas Jaeger  <aj@suse.de>
36533         * time/Versions: Sort entries.
36534         * string/Versions: Likewise.
36535         * resolv/Versions: Likewise.
36536         * posix/Versions: Likewise.
36537         * iconv/Versions: Likewise.
36538         * elf/Versions: Likewise.
36539         * wcsmbs/Versions: Likewise.
36541 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36543         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
36544         loop termination condition.
36546         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
36547         variable to calculate EZ.
36548         (__sqr): Likewise.
36550         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
36551         the lower precision input.
36553 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
36555         [BZ #13550]
36556         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
36557         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
36558         (run-via-rtld-prefix): Do not handle %-bp tests.
36559         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
36560         (all-object-suffixes): Remove .ob.
36561         (bppfx): Remove variable.
36562         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
36563         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
36564         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
36565         [$(build-bounded) = yes] (libtype.ob): Likewise.
36566         * Makerules (elide-routines.ob): Remove variable.
36567         (do-tests-clean): Do not handle *-bp.out.
36568         (common-mostlyclean): Do not handle *-bp and *-bp.out.
36569         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
36570         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
36571         (tests): Do not include $(tests-bp.out).
36572         (xtests): Do not include $(xtests-bp.out).
36573         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
36574         [$(build-bounded) = yes] ($(addprefix
36575         $(objpfx),$(binaries-bounded))): Remove rule.
36576         ($(objpfx)%-bp.out): Remove rule.
36577         * config.make.in (build-bounded): Remove variable.
36578         * crypt/Makefile [$(build-bounded) = yes]
36579         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
36580         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
36581         append to variable.
36582         [$(build-bounded) = yes] (install-lib): Likewise.
36583         [$(build-bounded) = yes] (generated): Likewise.
36584         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
36585         Remove rule.
36586         * intl/Makefile [$(build-bounded) = yes]
36587         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
36588         * math/Makefile [$(build-bounded) = yes]
36589         ($(tests:%=$(objpfx)%-bp): Likewise.
36590         * misc/Makefile [$(build-bounded) = yes]
36591         ($(objpfx)tst-tsearch-bp): Likewise.
36592         * nptl/Makeconfig (bounded-thread-library): Remove variable.
36593         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
36594         Remove dependency.
36595         * string/Makefile (o-objects.ob): Remove variable.
36596         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
36597         (CFLAGS-.ob): Remove variable.
36598         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
36599         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
36600         both definitions of variable.
36601         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
36602         (ASFLAGS-.ob): Remove variable.
36604 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
36606         [BZ #13550]
36607         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
36608         Remove __BOUNDED_POINTERS__ from condition.
36609         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
36610         * string/bits/string2.h [!__NO_STRING_INLINES &&
36611         !__BOUNDED_POINTERS__]: Likewise.
36612         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
36613         Likewise.
36614         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
36615         Remove conditional code.
36616         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
36617         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
36618         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
36619         condition.
36621         [BZ #13550]
36622         * csu/libc-start.c: Do not include <bp-sym.h>.
36623         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
36624         * elf/dl-open.c: Do not include <bp-sym.h>.
36625         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
36626         * math/fegetenv.c: Do not include <bp-sym.h>.
36627         (fegetenv): Do not use BP_SYM in versioned symbols.
36628         * nptl/sysdeps/pthread/bits/libc-lockP.h
36629         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
36630         <bp-sym.h>.
36631         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36632         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
36633         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36634         (__pthread_mutex_destroy): Likewise.
36635         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36636         (__pthread_mutex_lock): Likewise.
36637         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36638         (__pthread_mutex_trylock): Likewise.
36639         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36640         (__pthread_mutex_unlock): Likewise.
36641         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36642         (__pthread_mutexattr_init): Likewise.
36643         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36644         (__pthread_mutexattr_destroy): Likewise.
36645         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36646         (__pthread_mutexattr_settype): Likewise.
36647         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36648         (__pthread_rwlock_init): Likewise.
36649         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36650         (__pthread_rwlock_destroy): Likewise.
36651         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36652         (__pthread_rwlock_rdlock): Likewise.
36653         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36654         (__pthread_rwlock_tryrdlock): Likewise.
36655         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36656         (__pthread_rwlock_wrlock): Likewise.
36657         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36658         (__pthread_rwlock_trywrlock): Likewise.
36659         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36660         (__pthread_rwlock_unlock): Likewise.
36661         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36662         (__pthread_key_create): Likewise.
36663         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36664         (__pthread_setspecific): Likewise.
36665         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36666         (__pthread_getspecific): Likewise.
36667         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
36668         Likewise.
36669         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36670         (_pthread_cleanup_push_defer): Likewise.
36671         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36672         (_pthread_cleanup_pop_restore): Likewise.
36673         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
36674         (pthread_setcancelstate): Likewise.
36675         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
36676         <bp-sym.h>.
36677         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
36678         (memchr): Do not use BP_SYM in weak_alias.
36679         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
36680         (fegetenv): Do not use BP_SYM in versioned symbols.
36681         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
36682         (fesetenv): Do not use BP_SYM in versioned symbols.
36683         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36684         (feupdateenv): Do not use BP_SYM in versioned symbols.
36685         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36686         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36687         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
36688         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
36689         (open64): Do not use BP_SYM in weak_alias.
36690         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
36691         (fegetenv): Do not use BP_SYM in versioned symbols.
36692         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
36693         (fesetenv): Do not use BP_SYM in versioned symbols.
36694         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
36695         (feupdateenv): Do not use BP_SYM in versioned symbols.
36696         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
36697         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
36698         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
36699         (feraiseexcept): Do not use BP_SYM in versioned symbols.
36700         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
36701         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
36702         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
36703         <bp-sym.h>.
36704         (__libc_start_main): Do not use BP_SYM.
36706 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36708         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
36709         redundant return line.
36710         (norm): Likewise.
36711         (denorm): Likewise.
36712         (dbl_mp): Likewise.
36713         (sub_magnitudes): Likewise.
36714         (__add): Likewise.
36715         (__sub): Likewise.
36716         (__mul): Likewise.
36717         (__inv): Likewise.
36718         (__dvd): Likewise.
36719         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
36720         (norm): Likewise.
36721         (denorm): Likewise.
36722         (dbl_mp): Likewise.
36723         (sub_magnitudes): Likewise.
36724         (__add): Likewise.
36725         (__sub): Likewise.
36726         (__mul): Likewise.
36727         (__inv): Likewise.
36728         (__dvd): Likewise.
36730         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
36731         instead of __mul.
36732         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36733         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
36734         (cc32): Likewise.
36736         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
36737         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
36738         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
36739         of __mul for squares.
36740         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
36741         function
36742         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
36743         Likewise.
36744         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
36745         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36747 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
36749         [BZ #13550]
36750         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
36751         code.
36752         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
36753         prototype or function definition.  Rename ubp_* variables and
36754         parameters.  Remove argv definitions conditional on
36755         [__BOUNDED_POINTERS__].
36756         * debug/backtrace.c (__backtrace): Do not use __unbounded.
36757         * elf/dl-runtime.c (_dl_fixup): Likewise.
36758         * include/set-hooks.h (RUN_HOOK): Likewise.
36759         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
36760         definition.
36761         * string/strcpy.c (strcpy): Do not use __unbounded.
36762         * sysdeps/generic/frame.h (struct layout): Likewise.
36763         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
36764         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
36765         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
36766         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
36767         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
36768         (__backtrace): Likewise.
36769         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
36770         use __ptrvalue.
36771         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
36772         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36773         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
36774         Likewise.
36775         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
36776         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
36777         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36778         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36779         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
36780         Do not use __unbounded.
36781         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
36782         Rename __unboundedrlimits parameter to rlimits in prototype.
36783         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
36784         Do not use __unbounded.
36785         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
36786         not use __ptrvalue.
36787         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36788         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
36789         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36790         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
36791         __ptrvalue or __unbounded.
36792         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
36793         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
36794         use __unbounded.
36795         (__new_msgctl): Do not use __ptrvalue.
36796         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
36797         __unbounded.
36798         (__libc_msgrcv): Do not use __ptrvalue.
36799         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
36800         startup_info): Do not use __unbounded.
36801         (__libc_start_main): Likewise.  Rename ubp_* variables and
36802         parameters.  Remove argv definitions conditional on
36803         [__BOUNDED_POINTERS__].
36804         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
36805         __ptrvalue.
36806         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
36807         use __unbounded.
36808         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
36809         or __ptrvalue.
36810         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
36811         use __unbounded.
36812         (__new_shmctl): Do not use __ptrvalue.
36813         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
36814         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
36815         Likewise.
36816         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
36817         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
36818         (__libc_sigaction): Likewise.
36819         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
36820         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
36821         Likewise.
36822         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36824 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
36826         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
36828         * string/mempcpy.c: Implement by calling memcpy.
36830 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
36832         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
36834         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
36835         evaluation.
36837         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
36838         values in the mantissa.
36840         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
36841         minimize writes to Z.
36842         (sub_magnitudes): Simplify code a bit.
36844 2013-02-12  Roland McGrath  <roland@hack.frob.com>
36846         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
36847         from the message.  The linker prefixes all warnings with that already.
36849 2013-02-12  Andreas Schwab  <schwab@suse.de>
36851         [BZ #15078]
36852         * posix/regexec.c (extend_buffers): Add parameter min_len.
36853         (check_matching): Pass minimum needed length.
36854         (clean_state_log_if_needed): Likewise.
36855         (get_subexp): Likewise.
36856         * posix/Makefile (tests): Add bug-regex34.
36857         (bug-regex34-ENV): Define.
36858         * posix/bug-regex34.c: New file.
36860         [BZ #11561]
36861         * posix/regcomp.c (parse_bracket_exp): When looking up collating
36862         elements compare against the byte sequence of it, not its name.
36863         * posix/Makefile (tests): Add bug-regex35.
36864         (bug-regex35-ENV): Define.
36865         * posix/bug-regex35.c: New file.
36867 2013-02-11  Tom de Vries  <tom@codesourcery.com>
36869         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
36870         comment.
36871         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
36872         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
36873         (CHECK_EOL): Add undef.
36875 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
36877         * bits/stdlib-bsearch.h: New file.
36878         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
36879         * stdlib/stdlib.h: Likewise.
36881 2013-02-11  Roland McGrath  <roland@hack.frob.com>
36883         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
36884         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
36885         declaration.
36886         * manual/search.texi (Array Search Function): Add missing const in
36887         lfind prototype.
36888         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
36889         declaration to use rlim_t.
36890         (Basic Scheduling Functions): Remove erroneous const from
36891         sched_getparam prototype.  Remove erroneous * from
36892         sched_get_priority_max and sched_get_priority_min prototypes.
36893         (Resource Usage): Fix summary @comment on vtimes to refer to
36894         sys/vtimes.h rather than vtimes.h.
36895         Add missing *s in vtimes prototype.
36896         (Limits on Resources): Fix ulimit prototype to return long int.
36897         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
36898         prototypes to use long int rather than double.
36899         (BSD Random): Fix initstate and setstate to use char *, not void *.
36900         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
36901         prototype to make second argument 'struct aiocb64 *const[]'.
36902         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
36903         (Status of AIO Operations): Remove erroneous const in aio_return and
36904         aio_return64 prototypes.
36905         (Synchronizing I/O): Fix sync prototype to return void.
36906         * manual/startup.texi (Suboptions): Remove an erroneous const in
36907         getsubopt prototype.
36908         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
36909         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
36910         use size_t rather than int.
36911         (Scanning All Users): Likewise for getpwent_r.
36912         (Setting Groups): Add missing const to setgroups prototype.
36913         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
36914         * manual/socket.texi (Host Names): Fix gethostbyaddr and
36915         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
36916         'const void *' rather than 'const char *'.
36917         (Host Address Functions): Likewise for inet_ntop.
36918         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
36919         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
36920         ssize_t for return value.
36921         (Sending Data): Likewise for send, sendto, sendmsg.
36922         (Socket Option Functions): Add a missing const in setsockopt prototype.
36923         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
36924         use wchar_t for the argument.
36925         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
36926         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
36927         take no arguments.
36928         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
36929         double/float/long double for second argument.
36930         Fix return types of significand, significandf, significandl.
36931         * manual/filesys.texi (Setting Permissions): Use mode_t for second
36932         argument in fchmod prototype.
36933         (File Owner): Use uid_t and gid_t in fchown prototype.
36934         (File Times): Add const to utimes, futimes, and lutimes prototypes.
36935         (Making Special Files): Use mode_t and dev_t in mknod prototype.
36936         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
36937         use 'const struct dirent **' as argument types to CMP function pointer
36938         argument.
36939         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
36940         (File Times): Fix summary magic @comment for struct utimbuf and utime
36941         to refer to utime.h, not time.h.
36942         * manual/string.texi (Argz Functions): Add missing const in
36943         argz_extract and argz_next prototypes.
36944         (Finding Tokens in a String): Likewise for basename.
36945         (String/Array Comparison): Fix typo in wcscasecmp prototype.
36946         (Copying and Concatenation): Fix typo in wmemmove prototype.
36947         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
36948         (Signal Stack): Remove erroneous const in sigstack prototype.
36949         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
36950         prototype.
36951         (Simple Calendar Time): Likewise for stime.
36952         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
36953         prototype.
36954         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
36955         say sys/sysctl.h instead.
36956         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
36957         and vsyslog prototypes.
36959 2013-02-11  Tom de Vries  <tom@codesourcery.com>
36961         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
36962         Remove.
36964 2013-02-11  Roland McGrath  <roland@hack.frob.com>
36966         * misc/sys/mman.h: Fix typo in mremap comment.
36968 2013-02-08  Roland McGrath  <roland@hack.frob.com>
36970         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
36971         the '\0' terminator.
36973 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
36975         [BZ #13550]
36976         * debug/segfault.c: Don't include <bp-checks.h>.
36977         * sysdeps/generic/bp-checks.h: Remove file.
36978         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
36979         (__GETDENTS): Don't use CHECK_N.
36980         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
36981         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
36982         (__getgroups): Don't use CHECK_N.
36983         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
36984         (setgroups): Don't use CHECK_N.
36985         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
36986         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
36987         (__libc_msgrcv): Don't use CHECK_N.
36988         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
36989         (__libc_msgsnd): Don't use CHECK_N.
36990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
36991         <bp-checks.h>.
36992         (__libc_pread): Don't use CHECK_N.
36993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
36994         include <bp-checks.h>.
36995         (__libc_pread64): Don't use CHECK_N.
36996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
36997         include <bp-checks.h>.
36998         (__libc_pwrite): Don't use CHECK_N.
36999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
37000         include <bp-checks.h>.
37001         (__libc_pwrite64): Don't use CHECK_N.
37002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
37003         <bp-checks.h>.
37004         (__libc_pread): Don't use CHECK_N.
37005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
37006         include <bp-checks.h>.
37007         (__libc_pread64): Don't use CHECK_N.
37008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
37009         include <bp-checks.h>.
37010         (__libc_pwrite): Don't use CHECK_N.
37011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
37012         include <bp-checks.h>.
37013         (__libc_pwrite64): Don't use CHECK_N.
37014         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
37015         (do_pread): Don't use CHECK_N.
37016         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
37017         (do_pread64): Don't use CHECK_N.
37018         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
37019         (do_pwrite): Don't use CHECK_N.
37020         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
37021         (do_pwrite64): Don't use CHECK_N.
37022         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
37023         (__libc_readv): Don't use CHECK_N.
37024         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
37025         (semop): Don't use CHECK_N.
37026         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
37027         <bp-checks.h>.
37028         (semtimedop): Don't use CHECK_N.
37029         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
37030         (__libc_pread): Don't use CHECK_N.
37031         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
37032         <bp-checks.h>.
37033         (__libc_pread64): Don't use CHECK_N.
37034         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
37035         <bp-checks.h>.
37036         (__libc_pwrite): Don't use CHECK_N.
37037         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
37038         <bp-checks.h>.
37039         (__libc_pwrite64): Don't use CHECK_N.
37040         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
37041         <bp-checks.h>.
37042         (__libc_msgrcv): Don't use CHECK_N.
37043         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
37044         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
37045         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
37046         (__libc_writev): Don't use CHECK_N.
37048 2013-02-08  Roland McGrath  <roland@hack.frob.com>
37050         * string/strcpy.c: Removed unused variable.
37052         * Makeconfig (+sysdep-includes): Define with := rather than =.
37053         Use an existing include/ subdir of each sysdeps dir before it.
37055 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37057         * nscd/connection.c (register_traced_file): Comment function.
37058         [HAVE_INOTIFY] (union __inev): Define.
37059         [HAVE_INOTIFY] (inotify_check_files): New function.
37060         [HAVE_INOTIFY] (clear_db_cache): Likewise.
37061         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
37062         clear_db_cache.
37063         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
37065 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37067         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
37068         loaded if not already and that a failure is permanent.
37070 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
37072         [BZ #15006]
37073         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
37074         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
37076 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
37078         [BZ #13550]
37079         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
37080         (CHECK_1_NULL_OK): Likewise.
37081         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
37082         (__fxstat): Do not use CHECK_1.
37083         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
37084         <bp-checks.h>.
37085         (___fxstat64): Do not use CHECK_1.
37086         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
37087         <bp-checks.h>.
37088         (__fxstatat): Do not use CHECK_1.
37089         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
37090         <bp-checks.h>.
37091         (__fxstatat64): Do not use CHECK_1.
37092         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
37093         <bp-checks.h>.
37094         (__fxstat): Do not use CHECK_1.
37095         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
37096         <bp-checks.h>.
37097         (__fxstatat): Do not use CHECK_1.
37098         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37099         <bp-checks.h>.
37100         (__getresgid): Do not use CHECK_1.
37101         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37102         <bp-checks.h>.
37103         (__getresuid): Do not use CHECK_1.
37104         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
37105         <bp-checks.h>.
37106         (__lxstat): Do not use CHECK_1.
37107         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37108         <bp-checks.h>.
37109         (__old_msgctl): Do not use CHECK_1.
37110         (__new_msgctl): Likewise.
37111         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
37112         <bp-checks.h>.
37113         (__new_setrlimit): Do not use CHECK_1.
37114         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37115         <bp-checks.h>.
37116         (__old_shmctl): Do not use CHECK_1.
37117         (__new_shmctl): Likewise.
37118         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
37119         <bp-checks.h>.
37120         (__xstat): Do not use CHECK_1.
37121         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
37122         (__lxstat): Do not use CHECK_1.
37123         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
37124         <bp-checks.h>.
37125         (___lxstat64): Do not use CHECK_1.
37126         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
37127         (__old_msgctl): Do not use CHECK_1.
37128         (__new_msgctl): Likewise.
37129         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
37130         <bp-checks.h>.
37131         (__gettimeofday): Do not use CHECK_1.
37132         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
37133         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
37134         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
37135         <bp-checks.h>.
37136         (__gettimeofday): Do not use CHECK_1.
37137         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
37138         (__old_shmctl): Do not use CHECK_1_NULL_OK.
37139         (__new_shmctl): Do not use CHECK_1.
37140         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
37141         <bp-checks.h>.
37142         (do_sigtimedwait): Do not use CHECK_1.
37143         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
37144         <bp-checks.h>.
37145         (do_sigwaitinfo): Do not use CHECK_1.
37146         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
37147         <bp-checks.h>.
37148         (msgctl): Do not use CHECK_1.
37149         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
37150         <bp-checks.h>.
37151         (shmctl): Do not use CHECK_1.
37152         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
37153         (ustat): Do not use CHECK_1.
37154         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
37155         <bp-checks.h>.
37156         (__fxstat): Do not use CHECK_1.
37157         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
37158         <bp-checks.h>.
37159         (__fxstatat): Do not use CHECK_1.
37160         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
37161         <bp-checks.h>.
37162         (__lxstat): Do not use CHECK_1.
37163         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
37164         <bp-checks.h>.
37165         (__xstat): Do not use CHECK_1.
37166         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
37167         (__xstat): Do not use CHECK_1.
37168         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
37169         (___xstat64): Do not use CHECK_1.
37171         [BZ #13550]
37172         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
37173         definitions.
37174         (CHECK_BOUNDS_HIGH): Likewise.
37175         * string/strcpy.c: Do not include <bp-checks.h>.
37176         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
37178 2013-02-07  Roland McGrath  <roland@hack.frob.com>
37180         * nscd/nscd-client.h (__nscd_drop_map_ref):
37181         Add __attribute__ ((unused)).
37182         * nis/nss-nisplus.h (niserr2nss): Likewise.
37184         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
37185         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
37187         * csu/libc-tls.c (init_static_tls, init_slotinfo):
37188         Remove inline keyword.
37189         * include/rounding-mode.h (round_away): Likewise.
37190         * libio/wfileops.c (adjust_wide_data): Likewise.
37191         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
37192         (__m128i_strloadu_tolower): Likewise.
37193         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
37194         (__m128i_strloadu_tolower): Likewise.
37195         * time/mktime.c (ydhms_diff): Likewise.
37196         * locale/elem-hash.h (elem_hash): Likewise.
37197         * locale/setlocale.c (setdata): Likewise.
37198         * posix/regex_internal.h (re_string_char_size_at): Likewise.
37199         (re_string_wchar_at): Likewise.
37200         (bitset_not, bitset_merge, bitset_mask): Likewise.
37201         [!(__GNUC__ > 3)] (inline): Remove macro.
37202         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
37203         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
37204         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
37205         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
37206         * string/memcmp.c (memcmp_bytes): Likewise.
37207         * locale/programs/locarchive.c (compute_hashval): Likewise.
37208         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
37209         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
37210         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
37211         * nss/getent.c (print_rpc, print_protocols): Likewise.
37212         (print_passwd, print_group, print_aliases): Likewise.
37213         * nis/nss-nisplus.h (niserr2nss): Likewise.
37214         * nscd/connections.c (restart_p): Likewise.
37215         Change return type to bool.
37217 2013-02-05  Roland McGrath  <roland@hack.frob.com>
37219         * Makeconfig (all-Depend-files): Add existing
37220         $(sorted-subdirs:=/Depend) files.
37221         (all-subdirs): Remove nss.
37222         * sysdeps/unix/inet/Subdirs: Add it here instead.
37223         * hesiod/Depend: New file.
37225         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
37226         instead of calling alloca.
37228         * io/lseek.c (__lseek): Rename to __libc_lseek.
37229         Define __lseek as an alias.
37231         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
37233 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
37235         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
37236         else clause and remove check for non-standard endianness.
37238 2013-02-04  David S. Miller  <davem@davemloft.net>
37240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37242 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
37244         [BZ #13550]
37245         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
37246         (__ubp_memchr): Remove prototype.
37247         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
37248         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37249         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
37250         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
37251         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
37252         Remove alias.
37253         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
37254         (__ubp_memchr): Likewise.
37255         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
37256         (__ubp_memchr): Likewise.
37257         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
37258         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
37259         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
37260         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
37261         CHECK_STRING.
37262         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
37263         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
37264         (__getcwd): Do not use CHECK_STRING.
37265         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37266         <bp-checks.h>.
37267         (__real_chown): Do not use CHECK_STRING.
37268         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
37269         <bp-checks.h>.
37270         (fchownat): Do not use CHECK_STRING.
37271         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
37272         CHECK_STRING.
37273         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37274         <bp-checks.h>.
37275         (__lchown): Do not use CHECK_STRING.
37276         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
37277         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
37278         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
37279         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
37280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37281         include <bp-checks.h>.
37282         (truncate64): Do not use CHECK_STRING.
37283         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37284         <bp-checks.h>.
37285         (__real_chown): Do not use CHECK_STRING.
37286         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37287         <bp-checks.h>.
37288         (__lchown): Do not use CHECK_STRING.
37289         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37290         <bp-checks.h>.
37291         (__chown): Do not use CHECK_STRING.
37292         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
37293         <bp-checks.h>.
37294         (truncate64): Do not use CHECK_STRING.
37295         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
37296         Likewise.
37297         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
37298         (__xmknod): Do not use CHECK_STRING.
37299         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
37300         <bp-checks.h>.
37301         (__xmknodat): Do not use CHECK_STRING.
37302         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
37303         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
37305 2013-02-04  Andreas Schwab  <schwab@suse.de>
37307         [BZ #14142]
37308         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
37309         * include/netdb.h: Likewise for h_errno.
37310         * elf/tst-stackguard1.c: Include <tls.h>.
37312 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
37314         * elf/link.h (struct link_map): Extend the l_addr comment.
37315         * include/link.h (struct link_map): Likewise.
37317 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
37319         [BZ #13550]
37320         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
37321         (BOUNDED_1): Remove macro.
37322         * debug/backtrace.c: Don't include <bp-checks.h>.
37323         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
37324         (__backtrace): Likewise.
37325         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
37326         <bp-checks.h>.
37327         (__backtrace): Don't use BOUNDED_1.
37328         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
37329         <bp-checks.h>.
37330         (__backtrace): Don't use BOUNDED_1.
37331         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
37332         (__backtrace): Don't use BOUNDED_1.
37333         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
37334         (shmat): Don't use BOUNDED_N.
37336 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
37338         [BZ #13550]
37339         * sysdeps/generic/bp-start.h: Remove file.
37340         * csu/libc-start.c: Don't include <bp-start.h>.
37341         (LIBC_START_MAIN): Set up __environ directly instead of using
37342         INIT_ARGV_and_ENVIRON.
37343         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
37344         <bp-start.h>.
37346         [BZ #13550]
37347         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
37348         definitions.
37349         (CHECK_FCNTL): Likewise.
37350         (CHECK_N_PAGES): Likewise.
37352         [BZ #13550]
37353         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
37354         definitions.
37355         (CHECK_SIGSET_NULL_OK): Likewise.
37356         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
37357         <bp-checks.h>.
37358         (sigpending): Don't use CHECK_SIGSET.
37359         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
37360         <bp-checks.h>.
37361         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37362         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
37363         <bp-checks.h>.
37364         (do_sigsuspend): Don't use CHECK_SIGSET.
37365         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
37366         use CHECK_SIGSET.
37367         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
37368         (do_sigwait): Don't use CHECK_SIGSET.
37369         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
37370         use CHECK_SIGSET.
37371         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
37372         include <bp-checks.h>.
37373         (sigpending): Don't use CHECK_SIGSET.
37374         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
37375         include <bp-checks.h>.
37376         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37377         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
37378         <bp-checks.h>.
37379         (sigpending): Don't use CHECK_SIGSET.
37380         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
37381         <bp-checks.h>.
37382         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
37384         [BZ #13550]
37385         * sysdeps/generic/bp-semctl.h: Remove file.
37386         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
37387         <bp-checks.h> and <bp-semctl.h>.
37388         (__old_semctl): Don't use CHECK_SEMCTL.
37389         (__new_semctl): Likewise.
37390         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
37391         and <bp-semctl.h>.
37392         (__old_semctl): Don't use CHECK_SEMCTL.
37393         (__new_semctl): Likewise.
37394         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
37395         <bp-checks.h> and <bp-semctl.h>.
37396         (__old_semctl): Don't use CHECK_SEMCTL.
37397         (__new_semctl): Likewise.
37398         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
37399         <bp-checks.h> and <bp-semctl.h>.
37400         (semctl): Don't use CHECK_SEMCTL.
37402         [BZ #13550]
37403         * Makerules (elide-bp-thunks): Remove variable.
37404         (elide-routines.oS): Don't use $(elide-bp-thunks).
37405         (elide-routines.os): Likewise.
37406         (elide-routines.o): Likewise.
37407         (elide-routines.op): Likewise.
37408         (elide-routines.og): Likewise.
37409         (objects): Don't use $(bp-thunks).
37410         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
37411         include.
37412         (common-generated): Do not add s-proto-bp.d.
37413         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
37414         (int): Likewise.
37415         (typ): Likewise.
37416         Do not generate makefile rules for bounded-pointer thunks.
37417         * sysdeps/generic/bp-thunks.h: Remove file.
37418         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
37419         * sysdeps/unix/s-proto-bp.S: Likewise.
37421         [BZ #15062]
37422         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
37423         parts of result separately when argument is not close to line from
37424         -i to i and one part of argument is small.
37425         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37426         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37427         * math/libm-test.inc (cacos_test): Add more tests.
37428         (casin_test): Likewise.
37429         (casinh_test): Likewise.
37430         * sysdeps/i386/fpu/libm-test-ulps: Update.
37431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37433 2013-01-31  David S. Miller  <davem@davemloft.net>
37435         * po/de.po: Update from translation team.
37437 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
37439         * time/tzfile.c: Include stdint.h for SIZE_MAX.
37441 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
37443         * configure.in (_AC_PROG_CC_C89): New definition.
37444         * configure: Regenerate.
37446         * configure.in (AC_PROG_CPP): New definition.
37447         * configure: Regenerate.
37449 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37451         * debug/tst-backtrace.h: New file.
37452         * debug/tst-backtrace2.c: Include tst-backtrace.h.
37453         (ret): Remove variable.
37454         (x): Likewise.
37455         (FAIL): Remove macro.
37456         (NO_INLINE): Likewise.
37457         (fn1): Use match function instead of strstr.
37458         * debug/tst-backtrace3.c: Include tst-backtrace.h.
37459         (ret): Remove variable.
37460         (x): Likewise.
37461         (FAIL): Remove macro.
37462         (NO_INLINE): Likewise.
37463         (fn): Use match function instead of strstr.
37464         * debug/tst-backtrace4.c: Include tst-backtrace.h.
37465         (ret): Remove variable.
37466         (x): Likewise.
37467         (FAIL): Remove macro.
37468         (NO_INLINE): Likewise.
37469         (handle_signal): Use match function instead of strstr.
37470         * debug/tst-backtrace5.c: Include tst-backtrace.h.
37471         (ret): Remove variable.
37472         (x): Likewise.
37473         (FAIL): Remove macro.
37474         (NO_INLINE): Likewise.
37475         (handle_signal): Use match function instead of strstr.
37477 2013-01-23  Roland McGrath  <roland@hack.frob.com>
37479         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
37481 2013-01-23  David S. Miller  <davem@davemloft.net>
37483         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
37484         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
37485         argument of CAS if possible.
37486         * sysdeps/sparc/sparc64/bits/atomic.h
37487         (__arch_compare_and_exchange_val_32_acq): Likewise.
37488         (__arch_compare_and_exchange_val_64_acq): Likewise.
37490 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
37492         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
37493         * sysdeps/posix/ulimit.c: ... this.
37494         Include <limits.h>.
37495         * sysdeps/unix/bsd/ulimit.c: Remove file.
37497 2013-01-23  Adam Conrad  <adconrad@0c3.net>
37499         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
37500         (LDFLAGS-tst-array5): Likewise.
37502 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
37504         [BZ #15036]
37505         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
37506         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
37507         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
37508         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
37510 2013-01-21  David S. Miller  <davem@davemloft.net>
37512         * sysdeps/sparc/backtrace.c: New file.
37513         * sysdeps/sparc/sparc32/backtrace.h: New file.
37514         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
37515         * sysdeps/sparc/sparc64/backtrace.h: New file.
37516         * sysdeps/sparc/sparc64/backtrace.c: Delete.
37517         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
37518         -funwind-tables.
37520 2013-01-21  Andreas Schwab  <schwab@suse.de>
37522         [BZ #15020]
37523         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
37524         closed its stdout.
37526 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
37528         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
37529         "mpa2.h".
37530         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37532 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
37533             Mark Mitchell  <mark@codesourcery.com>
37534             Tom de Vries  <tom@codesourcery.com>
37535             Paul Pluzhnikov  <ppluzhnikov@google.com>
37537         * debug/tst-backtrace2.c: New file.
37538         * debug/tst-backtrace3.c: Likewise.
37539         * debug/tst-backtrace4.c: Likewise.
37540         * debug/tst-backtrace5.c: Likewise.
37541         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
37542         (CFLAGS-tst-backtrace3.c): Likewise.
37543         (CFLAGS-tst-backtrace4.c): Likewise.
37544         (CFLAGS-tst-backtrace5.c): Likewise.
37545         (LDFLAGS-tst-backtrace2): Likewise.
37546         (LDFLAGS-tst-backtrace3): Likewise.
37547         (LDFLAGS-tst-backtrace4): Likewise.
37548         (LDFLAGS-tst-backtrace5): Likewise.
37549         (tests): Add new tests tst-backtrace2, tst-backtrace3,
37550         tst-backtrace4 and tst-backtrace5.
37552 2013-01-18  Anton Blanchard  <anton@samba.org>
37553             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
37555         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
37556         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
37557         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
37558         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
37559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37560         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
37561         "+r" and remove output regs list as redundant.  Add explicit inline
37562         asm to specify register of return val to work around compiler codegen
37563         bug.  Remove (int) cast on return value.  Add return type parameter to
37564         use in macro so that this macro does not truncate return value for
37565         64-bit values.
37566         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
37567         pass to INTERNAL_VSYSCALL_NCS.
37568         (INLINE_VSYSCALL): Add 'long int' as return type to
37569         INTERNAL_VSYSCALL_NCS macro invocation.
37570         (INTERNAL_VSYSCALL): Add 'long int' as return type to
37571         INTERNAL_VSYSCALL_NCS macro invocation.
37572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37574 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37576         [BZ #14496]
37577         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
37578         Fix application of SIMD FP exception mask.
37580         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
37581         mp_no from a power of two.
37582         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
37583         __mpexp_twomm1.  Use __pow_mp.
37585         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
37586         multiplication.
37588 2013-01-17  David S. Miller  <davem@davemloft.net>
37590         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37592 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37594         [BZ #15023]
37595         * include/complex.h: Condition contents on [!_COMPLEX_H].
37596         (__kernel_casinhf): New prototype.
37597         (__kernel_casinh): Likewise.
37598         (__kernel_casinhl): Likewise.
37599         * math/Makefile (libm_calls): Add k_casinh.
37600         * math/k_casinh.c: New file.
37601         * math/k_casinhf.c: Likewise.
37602         * math/k_casinhl.c: Likewise.
37603         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
37604         finite nonzero arguments.
37605         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
37606         finite nonzero arguments.
37607         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
37608         finite nonzero arguments.
37609         * math/s_casinh.c: Do not include <float.h>.
37610         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
37611         * math/s_casinhf.c: Do not include <float.h>.
37612         (__casinhf): Move code for finite nonzero arguments to
37613         k_casinhf.c.
37614         * math/s_casinhl.c: Do not include <float.h>.
37615         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
37616         redefine.
37617         (__casinhl): Move code for finite nonzero arguments to
37618         k_casinhl.c.
37619         * math/libm-test.inc (cacos_test): Add more tests.
37620         * sysdeps/i386/fpu/libm-test-ulps: Update.
37621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37623 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
37625         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
37626         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
37627         [!HAVE_MREMAP]: Remove [defined linux] case.
37628         * malloc/arena.c: Do not include <malloc-sysdep.h>.
37630 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37632         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
37634 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
37636         * elf/elf.h (R_386_SIZE32): New relocation.
37637         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
37638         R_386_SIZE32.
37639         (elf_machine_rela): Likewise.
37640         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
37641         R_X86_64_SIZE64 and R_X86_64_SIZE32.
37643 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
37645         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
37646         (FP_FAST_FMA): Do not define.
37647         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
37648         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
37649         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
37650         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
37651         !_SOFT_FLOAT]: Likewise.
37652         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
37653         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
37654         value.
37655         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
37656         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
37657         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
37658         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
37659         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
37660         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
37661         file.
37663 2013-01-16  Andreas Schwab  <schwab@suse.de>
37665         [BZ #14327]
37666         * include/stdlib.h (__mktemp): Add declaration.
37667         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
37668         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
37670 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37672         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
37673         definitions.
37674         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37675         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
37676         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
37677         definitions here.
37678         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
37679         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
37680         definitions.
37681         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
37682         and ONE.
37683         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
37684         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
37685         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
37686         definitions.
37687         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
37688         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
37689         definitions.
37690         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37692         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
37694 2013-01-15  David S. Miller  <davem@davemloft.net>
37696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37697         trunc{,f} to libm-sysdep_routes.
37698         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
37700         file.
37701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
37702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
37703         file.
37704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
37705         file.
37706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
37707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
37708         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
37709         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
37710         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
37711         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
37712         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
37713         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
37715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37716         nearbyint{,f} to libm-sysdep_routes.
37717         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
37719         New file.
37720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
37721         file.
37722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
37723         New file.
37724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
37725         file.
37726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
37727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
37728         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
37729         file.
37730         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
37731         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
37732         file.
37733         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
37734         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
37735         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
37737         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37738         libc_feholdexcept and libc_fesetenv.
37740 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
37742         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
37744 2013-01-14  David S. Miller  <davem@davemloft.net>
37746         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
37747         (SPARC_ASM_VIS2_IFUNC): Likewise.
37748         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
37749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
37750         use of 'siam' instruction.
37751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
37752         Likewise.
37753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
37754         Likewise.
37755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
37756         Likewise.
37757         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
37758         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
37759         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
37760         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
37761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
37762         file.
37763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
37764         file.
37765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
37766         file.
37767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
37768         file.
37769         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
37770         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
37771         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
37772         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
37773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
37774         new VIS2 routines.
37775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37778         Likewise.
37779         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
37780         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
37781         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
37782         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
37783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
37784         routines to libm-sysdep_routines.
37785         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
37787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
37788         fdim/fdimf to libm-sysdep_routines.
37789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
37790         file.
37791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
37792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
37793         file.
37794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
37795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
37796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
37797         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
37798         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
37799         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
37800         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
37802 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37804         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
37805         to optimize copies.
37807         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
37808         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37809         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37811         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
37812         local variable MPTWO.
37813         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
37814         Likewise.
37816 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37818         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
37819         GLOB_NOESCAPE.
37821 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37823         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
37825 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
37827         * manual/pattern.texi (glob_t): Document gl_flags.
37828         (glob64_t): Likewise.
37830 2013-01-11  David S. Miller  <davem@davemloft.net>
37832         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
37833         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
37834         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
37835         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
37836         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
37837         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
37838         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
37839         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
37840         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
37841         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
37842         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
37843         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
37844         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
37846         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37847         sparc V9 rather than using V8 code.
37848         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
37849         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37851         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
37852         Move to...
37853         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
37854         Here.
37856 2013-01-11  Roland McGrath  <roland@hack.frob.com>
37858         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
37859         not in the main loop.
37860         * configure: Regenerated.
37862 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
37864         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
37865         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
37866         to just #else.
37867         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
37868         [!__GLIBC_HAVE_LONG_LONG] case.
37869         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
37870         condition to just #else.
37871         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
37872         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
37873         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
37874         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
37875         unconditional.
37876         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
37877         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37878         #elif condition to just #else.
37879         * sysdeps/unix/sysv/linux/sys/sysmacros.h
37880         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
37881         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
37882         #elif condition to just #else.
37884 2013-01-11  Steve Ellcey  <sellcey@mips.com>
37886         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
37887         (EF_MIPS_ARCH_64): Fix value.
37888         (EF_MIPS_ARCH_32R2): New.
37889         (EF_MIPS_ARCH_64R2): New.
37891 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
37893         * Makeconfig (+link-pie-before-libc): New.
37894         (+link-pie-after-libc): Likewise.
37895         (+link-pie-tests): Likewise.
37896         (+link-pie): Rewritten.
37897         (link-before-libc): Remove $(config-LDFLAGS).
37898         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
37899         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
37900         (config-LDFLAGS): Renamed to ...
37901         (rtld-LDFLAGS): This.
37902         (rtld-tests-LDFLAGS): New macro.
37903         (link-libc-rpath-link): Likewise.
37904         (link-libc-tests-rpath-link): Likewise.
37905         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
37906         (link-libc): Prepand $(link-libc-rpath-link).
37907         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
37908         (test-program-prefix): New macro.
37909         (test-via-rtld-prefix): Likewise.
37910         (test-program-cmd): Likewise.
37911         (host-test-program-cmd): Likewise.
37912         * Makefile ($(common-objpfx)testrun.sh): Replace
37913         $(run-program-prefix) with $(test-program-prefix).
37914         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
37915         $(rtld-LDFLAGS).
37916         ($(common-objpfx)shlib.lds): Likewise.
37917         (build-module-helper): Likewise.
37918         ($(common-objpfx)format.lds): Likewise.
37919         * Rules (binaries-pie-tests): New.
37920         (binaries-pie-notests): Likewise.
37921         (binaries-pie): Rewritten.
37922         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
37923         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
37924         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
37925         (make-test-out): Replace $(host-built-program-cmd) with
37926         $(host-test-program-cmd).
37927         * config.make.in (build-hardcoded-path-in-tests): New variable.
37928         * configure.in (--enable-hardcoded-path-in-tests): New configure
37929         option.
37930         (hardcoded_path_in_tests): New AC_SUBST.
37931         * configure: Regenerated.
37932         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
37933         $(built-program-cmd) with $(test-program-cmd).
37934         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
37935         (test_program_cmd): This.
37936         * elf/Makefile ($(objpfx)order.out): Run test with
37937         $(test-program-prefix).
37938         ($(objpfx)order2.out): Likewise.
37939         ($(objpfx)tst-initorder.out): Likewise.
37940         ($(objpfx)tst-initorder2.out): Likewise.
37941         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
37942         $(test-program-cmd).
37943         ($(objpfx)tst-array1-static.out): Likewise.
37944         ($(objpfx)tst-array2.out): Likewise.
37945         ($(objpfx)tst-array3.out): Likewise.
37946         ($(objpfx)tst-array4.out): Likewise.
37947         ($(objpfx)tst-array5.out): Likewise.
37948         ($(objpfx)tst-array5-static.out): Likewise.
37949         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
37950         $(test-program-cmd).
37951         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
37952         $(run-program-prefix) with $(test-program-prefix).
37953         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
37954         (test_program_prefix): This.
37955         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
37956         $(run-program-prefix) with $(test-program-prefix).
37957         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
37958         (test_program_prefix): This.
37959         * iconvdata/tst-tables.sh: Likewise.
37960         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
37961         $(run-program-prefix) with $(test-program-prefix).
37962         ($(objpfx)tst-translit.out): Likewise.
37963         ($(objpfx)tst-gettext2.out): Likewise.
37964         ($(objpfx)tst-gettext4.out): Likewise.
37965         ($(objpfx)tst-gettext6.out): Likewise.
37966         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
37967         (test_program_prefix): This.
37968         * intl/tst-gettext2.sh: Likewise.
37969         * intl/tst-gettext4.sh  Likewise.
37970         * intl/tst-gettext6.sh: Likewise.
37971         * intl/tst-translit.sh: Likewise.
37972         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
37973         with $(test-program-cmd).
37974         * libio/Makefile ($(objpfx)test-freopen.out): Replace
37975         $(run-program-prefix) with $(test-program-prefix).
37976         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
37977         (test_program_prefix): This.
37978         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
37979         $(run-program-prefix) with $(test-program-prefix).
37980         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
37981         (test_program_prefix): This.
37982         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
37983         * posix/Makefile ($(objpfx)globtest.out): Replace
37984         $(run-via-rtld-prefix) and $(test-wrapper) with
37985         $(test-program-prefix) and $(test-via-rtld-prefix).
37986         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
37987         $(test-program-prefix).
37988         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
37989         $(host-test-program-cmd).
37990         (tst-spawn-ARGS): Likewise.
37991         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
37992         $(test-program-prefix).
37993         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
37994         (test_via_rtld_prefix): This.
37995         (test_wrapper): Renamed to ...
37996         (test_program_prefix): This.
37997         (run_program_prefix): Replaced by test_program_prefix.
37998         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
37999         (test_program_prefix): This.
38000         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
38001         with $(host-test-program-cmd).
38002         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
38003         $(run-program-prefix) with $(test-program-prefix).
38004         ($(objpfx)tst-printf.out): Likewise.
38005         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
38006         $(test-program-cmd).
38007         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
38008         (test_program_prefix): This.
38009         * stdio-common/tst-unbputc.sh: Likewise.
38010         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
38011         $(run-program-prefix) with $(test-program-prefix).
38012         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
38013         (test_program_prefix): This.
38014         * string/Makefile ($(objpfx)tst-svc.out):  Replace
38015         $(built-program-cmd) with $(test-program-cmd).
38017 2013-01-11  Andreas Jaeger  <aj@suse.de>
38019         [BZ #15003]
38020         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
38021         value. Sync with Linux 3.7.
38023 2013-01-10  David S. Miller  <davem@davemloft.net>
38025         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
38026         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38027         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38029 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38031         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
38032         never set.
38033         * configure: Regenerated.
38035 2013-01-10  David S. Miller  <davem@davemloft.net>
38037         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
38038         sparc V9 rather than using V8 code.
38039         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
38040         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
38042 2013-01-10  Roland McGrath  <roland@hack.frob.com>
38044         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
38045         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
38046         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
38047         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
38048         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
38049         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
38050         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
38051         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
38052         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
38053         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
38054         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
38055         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
38056         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
38057         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
38058         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
38059         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
38060         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
38061         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
38062         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
38063         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
38064         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
38065         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
38066         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
38067         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
38068         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
38069         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
38070         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
38072 2013-01-10  David S. Miller  <davem@davemloft.net>
38074         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38076 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38078         * posix/Makefile (tests-static): New variable.
38079         (tests): Add $(tests-static).
38080         (tst-exec-static-ARGS): New variable.
38081         (tst-spawn-static-ARGS): Likewise.
38082         * posix/tst-exec-static.c: New file.
38083         * posix/tst-spawn-static.c: Likewise.
38084         * posix/tst-exec.c: Support run directly.
38085         * posix/tst-spawn.c: Likewise.
38087 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
38089         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
38090         long.
38091         * math/bits/mathcalls.h (llrint): Likewise.
38092         (llround): Likewise.
38093         * stdlib/stdlib.h (struct drand48_data): Likewise.
38094         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
38095         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
38096         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
38097         Likewise.
38098         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
38099         Likewise.
38100         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
38101         (elf_greg_t): Likewise.
38102         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
38103         (__jmp_buf): Likewise.
38104         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
38105         definitions.
38106         (llrint): Likewise, for all definitions.
38107         (llrintl): Likewise.
38109         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
38110         Remove [__GNUC__] condition.
38111         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
38112         condition to just [__USE_ISOC99].
38113         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
38115 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
38117         [BZ #14200]
38118         * sysdeps/unix/sysv/linux/x86/bits/environments.h
38119         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
38120         defined.
38121         (_POSIX_V6_ILP32_OFF32): Likewise.
38122         (_XBS5_ILP32_OFF32): Likewise.
38123         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
38124         (__ILP32_OFFBIG_LDFLAGS): Likewise.
38126 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
38128         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
38130         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
38131         doubles __mpexp_twomm1.  Adjust usage.
38132         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
38133         Remove.
38135 2013-01-10  Andreas Schwab  <schwab@suse.de>
38137         [BZ #14964]
38138         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
38139         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
38141 2013-01-09  David S. Miller  <davem@davemloft.net>
38143         [BZ #15003]
38144         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
38145         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
38146         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
38147         (TCP_FASTOPEN): Define.
38148         (tcp_repair_opt): New structure.
38149         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
38150         enum values.
38151         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
38152         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
38153         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
38154         (tcp_cookie_transactions): New structure.
38156 2013-01-09  Anton Blanchard  <anton@samba.org>
38158         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
38159         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
38160         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
38161         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38163 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
38165         * include/features.h (__USE_ANSI): Remove.
38167 2013-01-09  Roland McGrath  <roland@hack.frob.com>
38169         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
38171         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
38173 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
38175         * sysdeps/s390/fpu/libm-test-ulps: Update.
38177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38179         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
38180         (__acr): Likewise.
38181         (__cpy): Likewise.
38182         (norm): Likewise.
38183         (denorm): Likewise.
38184         (__mp_dbl): Likewise.
38185         (__dbl_mp): Likewise.
38186         (add_magnitudes): Likewise.
38187         (sub_magnitudes): Likewise.
38188         (__add): Likewise.
38189         (__sub): Likewise.
38190         (__mul): Likewise.
38191         (__inv): Likewise.
38192         (__dvd): Likewise.
38193         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
38194         (__acr): Likewise.
38195         (__cpy): Likewise.
38196         (norm): Likewise.
38197         (denorm): Likewise.
38198         (__mp_dbl): Likewise.
38199         (__dbl_mp): Likewise.
38200         (add_magnitudes): Likewise.
38201         (sub_magnitudes): Likewise.
38202         (__add): Likewise.
38203         (__sub): Likewise.
38204         (__mul): Likewise.
38205         (__inv): Likewise.
38206         (__dvd): Likewise.
38207         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
38208         (__acr): Likewise.
38209         (__cpy): Likewise.
38210         (norm): Likewise.
38211         (denorm): Likewise.
38212         (__mp_dbl): Likewise.
38213         (__dbl_mp): Likewise.
38214         (add_magnitudes): Likewise.
38215         (sub_magnitudes): Likewise.
38216         (__add): Likewise.
38217         (__sub): Likewise.
38218         (__mul): Likewise.
38219         (__inv): Likewise.
38220         (__dvd): Likewise.
38222 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
38224         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
38225         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
38226         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
38227         2 && __USE_EXTERN_INLINES]: Likewise.
38229 2013-01-08  Andreas Jaeger  <aj@suse.de>
38231         [BZ# 14985]
38232         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
38233         Remove.
38234         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38235         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
38237 2013-01-07  Anton Blanchard  <anton@samba.org>
38239         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
38240         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
38241         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
38242         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
38243         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
38244         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
38245         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
38246         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38247         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38248         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38249         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38250         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38251         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
38252         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
38253         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
38254         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38255         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38256         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
38257         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
38258         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
38259         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
38260         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
38261         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38262         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
38263         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
38264         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
38265         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38266         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
38267         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
38268         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
38269         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
38270         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38271         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38272         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
38273         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
38274         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38275         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
38276         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38277         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
38278         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38279         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
38280         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38281         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
38283 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
38285         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
38286         (__MALLOC_PMT): Likewise.
38287         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
38288         [__GNUC__], only on [_LIBC].
38289         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38290         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
38291         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
38292         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
38293         forward declaration.
38294         (realloc_hook_ini): Likewise.
38295         (memalign_hook_ini): Likewise.
38296         (__libc_memalign): Do not use __MALLOC_PMT in variable
38297         declaration.
38298         (__libc_valloc): Likewise.
38299         (__libc_pvalloc): Likewise.
38300         (__libc_calloc): Likewise.
38301         (__posix_memalign): Likewise.
38303         [BZ #14996]
38304         * math/s_casinh.c: Include <float.h>.
38305         (__casinh): Do not do computation with squaring and square root
38306         for large arguments.
38307         * math/s_casinhf.c: Include <float.h>.
38308         (__casinhf): Do not do computation with squaring and square root
38309         for large arguments.
38310         * math/s_casinhl.c: Include <float.h>.
38311         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
38312         (__casinhl): Do not do computation with squaring and square root
38313         for large arguments.
38314         * math/libm-test.inc (casin_test): Add more tests.
38315         (casinh_test): Likewise.
38316         * sysdeps/i386/fpu/libm-test-ulps: Update.
38317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38319 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
38321         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
38322         (__x86_64_raw_data_cache_size): Likewise.
38323         (__x86_64_data_cache_size_half): Likewise.
38324         (__x86_64_raw_data_cache_size_half): Likewise.
38325         (__x86_64_shared_cache_size): Likewise.
38326         (__x86_64_raw_shared_cache_size): Likewise.
38327         (__x86_64_shared_cache_size_half): Likewise.
38328         (__x86_64_raw_shared_cache_size_half): Likewise.
38329         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
38330         to ...
38331         (__x86_data_cache_size): This.
38332         (__x86_64_raw_data_cache_size): Renamed to ...
38333         (__x86_raw_data_cache_size): This.
38334         (__x86_64_data_cache_size_half): Renamed to ...
38335         (__x86_data_cache_size_half): This.
38336         (__x86_64_raw_data_cache_size_half): Renamed to ...
38337         (__x86_raw_data_cache_size_half): This.
38338         (__x86_64_shared_cache_size): Renamed to ...
38339         (__x86_shared_cache_size): This.
38340         (__x86_64_raw_shared_cache_size): Renamed to ...
38341         (__x86_raw_shared_cache_size): This.
38342         (__x86_64_shared_cache_size_half): Renamed to ...
38343         (__x86_shared_cache_size_half): This.
38344         (__x86_64_raw_shared_cache_size_half): Renamed to ...
38345         (__x86_raw_shared_cache_size_half): This.
38346         * sysdeps/x86_64/memcpy.S: Updated.
38347         * sysdeps/x86_64/memset.S: Likewise.
38348         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
38349         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38350         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38352 2013-01-04  David S. Miller  <davem@davemloft.net>
38354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38356 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
38358         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
38359         1 to avoid redefinition warning.
38360         (__USE_GNU): Don't define.
38361         (init_signaling_nan): Protoize.
38363         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38365 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38367         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
38368         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
38369         (__cpymn): Likewise.
38370         (norm): Remove commented code.
38371         (denorm): Likewise.
38372         (__mp_dbl): Likewise.
38373         (__inv): Likewise.
38374         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
38375         (__cpymn): Likewise.
38376         (norm): Remove commented code.
38377         (denorm): Likewise.
38378         (__mp_dbl): Likewise.
38379         (__inv): Likewise.
38381         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
38382         mp_no value for 1.0 and 2.0.
38383         (norm): Use RADIXI instead of radixi.d.
38384         (denorm): Likewise.
38385         (__mul): Use 0.0 instead of zero.d.
38386         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
38387         mp_no value for 1.0 and 2.0.
38388         (norm): Use RADIXI instead of radixi.d.
38389         (denorm): Likewise.
38390         (__mul): Use 0.0 instead of zero.d.
38392 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
38394         [BZ #14994]
38395         * math/s_casinh.c (__casinh): Reduce finite argument to first
38396         quadrant then set signs of results at the end.
38397         * math/s_casinhf.c (__casinhf): Likewise.
38398         * math/s_casinhl.c (__casinhl): Likewise.
38399         * math/libm-test.inc (casin_test): Add more tests.
38400         (casinh_test): Likewise.
38401         * sysdeps/i386/fpu/libm-test-ulps: Update.
38402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38404 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38406         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
38408         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
38410         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
38411         declarations.
38412         (denorm): Likewise.
38413         (__mp_dbl): Likewise.
38414         (__inv): Likewise.
38416         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
38417         and adjust the header comment.
38419         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
38420         variable name from declaration.
38422 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
38424         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38425         Initialize COMMON_CPUID_INDEX_7 element.
38426         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
38427         (CPUID_RTM): Likewise.
38428         (HAS_RTM): Likewise.
38429         (COMMON_CPUID_INDEX_7): New enum.
38431 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
38433         [BZ #14981]
38434         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
38435         size is zero, record memory as freed.
38437 2013-01-03  Andreas Jaeger  <aj@suse.de>
38439         * po/ia.po: Add new Interlingua translation.
38441 2012-01-03  Allan McRae  <allan@archlinux.org>
38443         * locale/programs/localedef.c: Fix description of '--posix' flag.
38445 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
38447         * NEWS: Update dates in second copyright notice.
38448         * README: Update copyright dates in example.
38449         * manual/libc.texinfo: Update copyright dates.
38450         * scripts/test-installation.pl: Update copyright date in --version
38451         output.
38453         * hurd/ctty-input.c: Fix copyright notice formatting.
38454         * hurd/ctty-output.c: Likewise.
38455         * hurd/dtable.c: Likewise.
38456         * hurd/hurd-raise.c: Likewise.
38457         * hurd/hurdprio.c: Likewise.
38458         * hurd/msgportdemux.c: Likewise.
38459         * misc/sys/file.h: Likewise.
38460         * misc/sys/ioctl.h: Likewise.
38461         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38462         * sysdeps/mach/hurd/chdir.c: Likewise.
38463         * sysdeps/mach/hurd/fchdir.c: Likewise.
38464         * sysdeps/mach/hurd/rename.c: Likewise.
38465         * sysdeps/mach/hurd/rmdir.c: Likewise.
38466         * sysdeps/mach/hurd/seekdir.c: Likewise.
38467         * sysdeps/mach/hurd/setsid.c: Likewise.
38468         * sysdeps/posix/wait3.c: Likewise.
38470         * All files with FSF copyright notices: Update copyright dates
38471         using scripts/update-copyrights.
38472         * intl/plural.c: Regenerated.
38473         * locale/programs/charmap-kw.h: Likewise.
38474         * locale/programs/locfile-kw.h: Likewise.
38476 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38478         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
38479         four values.
38481         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
38482         calculation loop and add branch prediction.
38484         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
38485         check access beyond bounds of m1np.
38487         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38488         MPTWO.
38489         (__inv): Remove local variable MPTWO to use the global
38490         constant.
38491         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
38492         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38493         variable MPTWO.
38494         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
38495         MP3HALFS static const.
38497 2013-01-01  David S. Miller  <davem@davemloft.net>
38499         * po/ca.po: Update from translation team.
38501 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
38503         * scripts/update-copyrights: New file.
38504         * Makeconfig: Reformat copyright notice.
38505         * ctype/ctype.h: Likewise.
38506         * debug/swprintf_chk.c: Likewise.
38507         * elf/dl-cache.c: Likewise.
38508         * elf/dl-debug.c: Likewise.
38509         * elf/dl-object.c: Likewise.
38510         * grp/initgroups.c: Likewise.
38511         * hurd/Makefile: Likewise.
38512         * hurd/hurd/signal.h: Likewise.
38513         * hurd/hurdfault.c: Likewise.
38514         * hurd/hurdioctl.c: Likewise.
38515         * hurd/hurdlookup.c: Likewise.
38516         * hurd/intr-msg.c: Likewise.
38517         * iconv/gconv_open.c: Likewise.
38518         * libio/swprintf.c: Likewise.
38519         * locale/lc-ctype.c: Likewise.
38520         * locale/nl_langinfo.c: Likewise.
38521         * mach/Machrules: Likewise.
38522         * mach/Makefile: Likewise.
38523         * malloc/obstack.h: Likewise.
38524         * manual/Makefile: Likewise.
38525         * manual/tsort.awk: Likewise.
38526         * misc/bits/stab.def: Likewise.
38527         * nis/nis_print_group_entry.c: Likewise.
38528         * nis/nis_table.c: Likewise.
38529         * nis/nss_compat/compat-pwd.c: Likewise.
38530         * nis/nss_compat/compat-spwd.c: Likewise.
38531         * po/Makefile: Likewise.
38532         * posix/fnmatch.c: Likewise.
38533         * posix/regex.h: Likewise.
38534         * resolv/Makefile: Likewise.
38535         * resolv/nss_dns/dns-network.c: Likewise.
38536         * resolv/res_hconf.c: Likewise.
38537         * scripts/gen-sorted.awk: Likewise.
38538         * soft-fp/soft-fp.h: Likewise.
38539         * stdio-common/printf.h: Likewise.
38540         * stdlib/monetary.h: Likewise.
38541         * stdlib/random.c: Likewise.
38542         * stdlib/random_r.c: Likewise.
38543         * sysdeps/generic/Makefile: Likewise.
38544         * sysdeps/gnu/Makefile: Likewise.
38545         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38546         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38547         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38548         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38549         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38550         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38551         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38552         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38553         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38554         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38555         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38556         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38557         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38558         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38559         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
38560         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38561         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38562         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38563         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38564         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38565         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38566         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38567         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38568         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
38569         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
38570         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38571         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
38572         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
38573         * sysdeps/mach/hurd/errnos.awk: Likewise.
38574         * sysdeps/mach/hurd/fork.c: Likewise.
38575         * sysdeps/mach/hurd/getcwd.c: Likewise.
38576         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
38577         * sysdeps/mach/hurd/mmap.c: Likewise.
38578         * sysdeps/mach/hurd/utimes.c: Likewise.
38579         * sysdeps/mach/hurd/xmknod.c: Likewise.
38580         * sysdeps/posix/profil.c: Likewise.
38581         * sysdeps/posix/readdir_r.c: Likewise.
38582         * sysdeps/powerpc/bits/mathdef.h: Likewise.
38583         * sysdeps/powerpc/bits/setjmp.h: Likewise.
38584         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
38585         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
38586         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
38587         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38588         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38589         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38590         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38591         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38592         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38593         * sysdeps/pthread/lio_listio.c: Likewise.
38594         * sysdeps/sparc/dl-procinfo.h: Likewise.
38595         * sysdeps/unix/i386/sysdep.S: Likewise.
38596         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
38597         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
38598         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
38599         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
38600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
38601         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
38602         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
38603         * sysdeps/unix/sysv/linux/speed.c: Likewise.
38604         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38605         * sysdeps/wordsize-32/divdi3.c: Likewise.
38606         * time/sys/time.h: Likewise.
38607         * wcsmbs/Makefile: Likewise.
38609 2013-01-01  David S. Miller  <davem@davemloft.net>
38611         * po/fr.po: Update from translation team.
38613         * catgets/gencat.c: Update copyright year.
38614         * csu/version.c: Likewise.
38615         * debug/catchsegv.sh: Likewise.
38616         * debug/pcprofiledump.c: Likewise.
38617         * debug/xtrace.sh: Likewise.
38618         * elf/ldconfig.c: Likewise.
38619         * elf/ldd.bash.in: Likewise.
38620         * elf/pldd.c: Likewise.
38621         * elf/sotruss.ksh: Likewise.
38622         * elf/sprof.c: Likewise.
38623         * iconv/iconv_prog.c: Likewise.
38624         * iconv/iconvconfig.c: Likewise.
38625         * locale/programs/locale.c: Likewise.
38626         * locale/programs/localedef.c: Likewise.
38627         * login/programs/pt_chown.c: Likewise.
38628         * malloc/memusage.sh: Likewise.
38629         * malloc/memusagestat.c: Likewise.
38630         * malloc/mtrace.pl: Likewise.
38631         * nscd/nscd.c: Likewise.
38632         * nss/getent.c: Likewise.
38633         * nss/makedb.c: Likewise.
38634         * posix/getconf.c: Likewise.
38636 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38638         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
38639         numbers.
38641 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
38643         * math/bits/mathcalls.h (modf): Use __nonnull.
38645 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38647         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
38648         (split): Use macro CN instead of the bare value.
38649         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
38650         could be used.
38651         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
38652         instead of the bare value.
38653         (power1): Likewise.
38655 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38657         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
38658         __ATAN_TWOM.
38659         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38661         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
38662         their values.
38663         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
38664         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
38665         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
38666         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
38668 2012-12-28  Andreas Jaeger  <aj@suse.de>
38670         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
38671         values are from Linux 3.7.
38673         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
38674         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
38676 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38678         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
38679         TRUE case.
38681         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
38682         (norm): Likewise.
38683         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
38684         variables with preprocessor constants.
38685         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38686         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38687         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38689 2012-12-27  Bruno Haible  <bruno@clisp.org>
38691         [BZ #14317]
38692         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
38693         only if needed.
38695 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38697         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
38698         and use variable directly.
38699         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
38701         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
38702         MPONE.
38703         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
38704         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
38705         variable MPONE.
38706         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
38707         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38708         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
38709         include directive.  Remove local variable MPONE.
38710         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
38711         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
38712         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38714 2012-12-25  David S. Miller  <davem@davemloft.net>
38716         * version.h (RELEASE): Set to "development".
38717         (VERSION): Set to "2.17.90".
38718         * NEWS: Add 2.18 section.
38720 2012-12-21  David S. Miller  <davem@davemloft.net>
38722         * po/hr.po: Update from translation team.
38724 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38726         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
38728 2012-12-19  Steve Ellcey  <sellcey@mips.com>
38730         * NEWS:  Mention new memcpy for MIPS.
38732 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38734         * manual/contrib.texi (Contributors): Spelling correction.
38736 2012-12-15  David S. Miller  <davem@davemloft.net>
38738         * po/ru.po: Update from translation team.
38740 2012-12-13  David S. Miller  <davem@davemloft.net>
38742         * NEWS: Mention IFUNC testsuite enhancements.
38744         * po/pl.po: Update from translation team.
38745         * po/bg.po: Likewise.
38747         * manual/contrib.texi (Contributors): Update entries for Hongjiu
38748         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
38750 2012-12-11  David S. Miller  <davem@davemloft.net>
38752         * po/sv.po: Update from translation team.
38754         * po/vi.po: Update from translation team.
38756         * po/cs.po: Update from translation team.
38758         * po/de.po: Update from translation team.
38759         * po/eo.po: Likewise.
38760         * po/nl.po: Likewise.
38762 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38764         [BZ #14246]
38765         * manual/argp.texi (Argp Helper Functions): Move node to follow
38766         Argp Parsing State.
38768         [BZ #14872]
38769         * manual/conf.texi (Limits on File System Capacity): Mention if
38770         terminating null is included in the max size.
38772 2012-12-10  Andreas Jaeger  <aj@suse.de>
38774         * po/cs.po: Update from translation team.
38776 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38778         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
38779         void pointer and cast to uintptr_t.
38780         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
38781         path.
38782         * sysdeps/s390/s390-64/memcpy.S: Likewise.
38783         * sysdeps/s390/s390-64/memset.S: Likewise.
38785 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
38787         [BZ #14833]
38788         * menual/message.texi (Message Translation): Fix typos.
38789         (Helper programs for gettext): Likewise.
38791 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
38793         [BZ #14898]
38794         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
38795         Change to -1.
38797 2012-12-07  David S. Miller  <davem@davemloft.net>
38799         * po/libc.pot: Update.
38801 2012-12-07  Richard Henderson  <rth@redhat.com>
38803         [BZ #10114]
38804         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
38805         normal/normal case to before the switch.
38806         (_FP_DIV): Likewise.
38808 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
38809             Mike Frysinger  <vapier@gentoo.org>
38811         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
38812         check for __NR_fadvise64_64.
38814 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
38816         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
38817         0, not just to plain "0" as a statement.
38818         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
38819         with cw.
38821 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
38823         * NEWS: Use sourceware.org in Bugzilla URL.
38825 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
38828         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38830         * stdio-common/tst-put-error.c (do_test): Add newline to the
38831         padded test to ensure flush.
38833 2012-12-05  Jeff Law  <law@redhat.com>
38835         * sunrpc/etc.rpc (fedfs_admin): Add entry.
38837 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
38839         * README: Don't refer to ports add-on as distributed separately.
38840         Mention AArch64 in list of systems supported in the ports add-on.
38842         * LICENSES: Add more non-FSF copyright and license notices.
38844         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
38845         ((unused)).
38847         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
38849         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
38850         10000 as width of padded output.
38852 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
38854         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
38856         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
38857         variable LX with __attribute__ ((unused)).
38858         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
38859         Likewise.
38860         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
38861         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38862         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
38863         with __attribute__ ((unused)).
38865 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
38867         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
38869 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
38871         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
38872         (CFLAGS-nldbl-acos.c): New variable.
38873         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
38874         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
38875         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
38876         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
38877         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
38878         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
38879         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
38880         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
38881         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
38882         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
38883         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
38884         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
38885         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
38886         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
38887         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
38888         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
38889         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
38890         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
38891         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
38892         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
38893         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
38894         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
38895         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
38896         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
38897         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
38898         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
38899         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
38900         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
38901         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
38902         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
38903         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
38904         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
38905         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
38906         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
38907         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
38908         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
38909         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
38910         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
38911         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
38912         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
38913         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
38914         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
38915         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
38916         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
38917         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
38918         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
38919         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
38920         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
38921         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
38922         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
38923         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
38924         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
38925         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
38926         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
38927         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
38928         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
38929         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
38930         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
38931         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
38932         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
38933         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
38934         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
38935         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
38936         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
38937         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
38938         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
38939         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
38940         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
38941         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
38942         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
38943         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
38944         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
38945         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
38946         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
38947         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
38948         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
38949         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
38950         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
38951         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
38952         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
38953         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
38954         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
38955         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
38956         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
38957         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
38958         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
38959         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
38960         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
38961         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
38962         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
38963         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
38964         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
38965         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
38966         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
38967         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
38968         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
38969         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
38971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
38972         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
38974         [BZ #14914]
38975         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
38976         whole low double instead of just low 47 bits when splitting values
38977         into two parts.
38979 2012-12-03  Allan McRae  <allan@archlinux.org>
38981         * manual/stdio.texi (Predefined Printf Handlers): Remove
38982         @hsep and @vsep usage.
38984 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
38986         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
38987         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
38989 2012-12-03  Jeff Law  <law@redhat.com>
38991         * time/sys/time.h (settimeofday): Do not mark TV argument
38992         as __nonnull.
38994 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
38996         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
38997         when currently writing and seek to current position when not.
38998         * libio/Makefile (tests): Remove bug-fclose1.
38999         * libio/bug-fclose1.c: Delete.
39001 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
39003         * manual/arith.texi (feenableexcept): Fix typo.
39004         (fedisableexcept): Likewise.
39006 2012-11-30  Roland McGrath  <roland@hack.frob.com>
39008         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
39009         second, differently-typed declaration, rather than a cast.
39011 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39013         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
39014         * include/rpc/svc.h: ... here.
39016 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
39018         [BZ #13013]
39019         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
39020         depending n and resplen2 to catch cases where answer
39021         equals answerp2.
39023 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
39025         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
39026         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
39028 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
39030         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
39032 2012-11-29  Roland McGrath  <roland@hack.frob.com>
39034         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
39036 2012-11-28  Jeff Law  <law@redhat.com>
39038         [BZ #13761]
39039         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
39040         dataset_temporary.  Track alloca usage into alloca_used.
39041         If dataset is large allocate and release it via malloc/free.
39043 2012-06-04  Florian Weimer  <fweimer@redhat.com>
39045         [BZ #14197]
39046         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
39048 2012-11-28  David S. Miller  <davem@davemloft.net>
39050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39052 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39054         [BZ #14803]
39055         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
39056         of pi/2 rounded to nearest to 64 bits.
39057         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
39058         nearest to 64 bits.
39059         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
39060         bits.
39062 2012-11-28  Jeff Law <law@redhat.com>
39063             Martin Osvald <mosvald@redhat.com>
39065         [BZ #14889]
39066         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
39067         * sunrpc/svc.c: Include time.h.
39068         (__svc_accept_failed): New function.
39069         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
39070         any reason other than EINTR, call __svc_accept_failed.
39071         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
39072         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
39074 2012-11-28  Andreas Schwab  <schwab@suse.de>
39076         * scripts/abilist.awk: Also handle indirect functions in .opd
39077         section.
39079 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
39081         [BZ #13881]
39082         * sysdeps/x86/fpu/powl_helper.c: New file.
39083         * sysdeps/x86/fpu/Makefile: Likewise.
39084         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
39085         (p3): New object.
39086         (__ieee754_powl): Use __powl_helper for finite arguments except
39087         integer exponents below 8.
39088         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
39089         (p3): New object.
39090         (__ieee754_powl): Use __powl_helper for finite arguments except
39091         integer exponents below 8.
39092         * math/libm-test.inc (pow_test): Add more tests and enable some
39093         previously disabled tests.
39094         * sysdeps/i386/fpu/libm-test-ulps: Update.
39095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39097 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
39098             Carlos O'Donell  <carlos_odonell@mentor.com>
39100         * nss/makedb.c (is_prime): Assert that input is odd and greater
39101         than 4.  Note that fact in a comment too.
39102         (next_prime): Add 4 to input.
39104 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39106         [BZ #11741]
39107         * libio/Makefile (tests): Add test case tst-fwrite-error.
39108         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
39109         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
39110         * libio/tst-fwrite-error.c: New test case.
39112 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
39114         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
39115         before casting to void *.
39116         * include/libc-internal.h (__pointer_type): New macro.
39117         (__integer_if_pointer_type_sub): Likewise.
39118         (__integer_if_pointer_type): Likewise.
39119         (cast_to_integer): Likewise.
39120         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
39121         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
39122         before casting to atomic64_t.
39123         (atomic_exchange_acq): Likewise.
39124         (__arch_exchange_and_add_body): Likewise.
39125         (__arch_add_body): Likewise.
39126         (atomic_add_negative): Likewise.
39127         (atomic_add_zero): Likewise.
39129 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
39131         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
39132         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
39133         (add_fdes): Likewise.
39134         (linear_search_fdes): Likewise.
39135         (binary_search_unencoded_fdes): Likewise.
39137 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
39139         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
39141 2012-11-24  Adam Conrad  <adconrad@0c3.net>
39143         * configure.in: Autodetect C++ header directories.
39144         * configure: Regenerated.
39146 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
39148         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
39150 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
39152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39154 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
39156         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
39157         LDBL_MANT_DIG == 106]: Disable some tests.
39158         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39159         Likewise.
39160         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
39161         Likewise.
39163         [BZ #14871]
39164         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
39165         input for small inputs.  Return +/- pi/2 for large inputs.
39166         * math/libm-test.inc (atan_test): Add more tests.
39168         * sysdeps/generic/unwind-dw2-fde-glibc.c
39169         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
39170         __attribute__ ((unused)).
39172         [BZ #14645]
39173         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
39174         x * y if x and y are nonzero and z is zero.
39176         [BZ #14811]
39177         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
39178         nonzero exponents with absolute value below 0x1p-117 to +/-
39179         0x1p-117.
39181         [BZ #14869]
39182         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
39183         up arguments below 2**-450, not just those below 2**-500.
39184         * math/libm-test.inc (hypot_test): Add another test.
39186         [BZ #14868]
39187         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
39188         Return a+b for ratio over 2**120, not 2**60.
39189         * math/libm-test.inc (hypot_test): Add another test.
39191         * math/libm-test.inc (clog_test): Use
39192         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
39193         (clog10_test): Likewise.
39195         [BZ #6778]
39196         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
39198 2012-11-22  Andreas Schwab  <schwab@suse.de>
39200         * sysdeps/i386/fpu/libm-test-ulps: Update.
39202 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
39204         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
39205         printf output with newline.
39207 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
39209         [BZ #14865]
39210         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
39211         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
39212         -z nodlopen, -z initfirst and -z execstack support.
39213         * configure: Regenerated.
39215         * elf/elf.h (DF_1_NODIRECT): New macro.
39216         (DF_1_IGNMULDEF): Likewise.
39217         (DF_1_NOKSYMS): Likewise.
39218         (DF_1_NOHDR): Likewise.
39219         (DF_1_EDITED): Likewise.
39220         (DF_1_NORELOC): Likewise.
39221         (DF_1_SYMINTPOSE): Likewise.
39222         (DF_1_GLOBAUDIT): Likewise.
39223         (DF_1_SINGLETON): Likewise.
39224         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
39225         DT_1_SUPPORTED_MASK bits.
39226         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
39228 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
39230         * sysdeps/unix/make-syscalls.sh: Document prefixes.
39232 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
39234         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
39235         macro.
39237         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
39238         (sendmmsg): Move declarations...
39239         * socket/sys/socket.h: ... here.
39240         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
39241         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
39242         include it from...
39243         * socket/recvmmsg.c: ... this new file.
39244         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
39245         (sendmmsg): Rename to __sendmmsg, create weak alias and make
39246         definition of __sendmmsg hidden.
39247         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
39248         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
39249         Move ENOSYS stub into and include it from...
39250         * socket/sendmmsg.c: ... this new file.
39251         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
39252         (sysdep_routines): Move recvmmsg and sendmmsg...
39253         * socket/Makefile (routines): ... here.
39254         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
39255         (GLIBC_PRIVATE): Add __sendmmsg.
39256         * include/sys/socket.h (__sendmmsg): Add declarations.
39257         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
39258         sendmmsg.
39260 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
39262         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
39263         variable I1 with __attribute__ ((unused)).
39264         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39266 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39268         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
39269         DUMMY variables with __attribute__ ((unused)).
39271         * bits/byteswap.h: Include <bits/types.h>.
39272         (__bswap_64): Use __uint64_t instead of unsigned long long int.
39274 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39276         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
39277         string_t.  Do not manually set errno.
39278         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
39279         length with __strnlen.  Make sure to both set errno and return it on
39280         failure.
39282 2012-11-19  David S. Miller  <davem@davemloft.net>
39284         With help from Joseph Myers.
39285         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
39286         very large arguments properly.
39287         * math/libm-test.inc (atan_test): New tests.
39288         (atan2_test): New tests.
39289         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39290         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39292 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
39294         [BZ #14856]
39295         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
39296         Define to 3.
39298         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
39299         [POSIX] (EADDRNOTAVAIL): Likewise.
39300         [POSIX] (EAFNOSUPPORT): Likewise.
39301         [POSIX] (EALREADY): Likewise.
39302         [POSIX] (ECONNABORTED): Likewise.
39303         [POSIX] (ECONNREFUSED): Likewise.
39304         [POSIX] (ECONNRESET): Likewise.
39305         [POSIX] (EDESTADDRREQ): Likewise.
39306         [POSIX] (EDQUOT): Likewise.
39307         [POSIX] (EHOSTUNREACH): Likewise.
39308         [POSIX] (EIDRM): Likewise.
39309         [POSIX] (EISCONN): Likewise.
39310         [POSIX] (ELOOP): Likewise.
39311         [POSIX] (EMULTIHOP): Likewise.
39312         [POSIX] (ENETDOWN): Likewise.
39313         [POSIX] (ENETUNREACH): Likewise.
39314         [POSIX] (ENOBUFS): Likewise.
39315         [POSIX] (ENODATA): Likewise.
39316         [POSIX] (ENOLINK): Likewise.
39317         [POSIX] (ENOMSG): Likewise.
39318         [POSIX] (ENOPROTOOPT): Likewise.
39319         [POSIX] (ENOSR): Likewise.
39320         [POSIX] (ENOSTR): Likewise.
39321         [POSIX] (ENOTCONN): Likewise.
39322         [POSIX] (ENOTSOCK): Likewise.
39323         [POSIX] (EOPNOTSUPP): Likewise.
39324         [POSIX] (EOVERFLOW): Likewise.
39325         [POSIX] (EPROTO): Likewise.
39326         [POSIX] (EPROTONOSUPPORT): Likewise.
39327         [POSIX] (EPROTOTYPE): Likewise.
39328         [POSIX] (ESTALE): Likewise.
39329         [POSIX] (ETIME): Likewise.
39330         [POSIX] (ETXTBSY): Likewise.
39331         [POSIX] (EWOULDBLOCK): Likewise.
39332         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
39333         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
39334         [POSIX] (SEEK_CUR): Likewise.
39335         [POSIX] (SEEK_END): Likewise.
39336         [POSIX || UNIX98] (mode_t): Do not require.
39337         [POSIX] (off_t): Likewise.
39338         [POSIX] (pid_t): Likewise.
39339         [POSIX] (sys/stat.h): Do not allow header.
39340         [POSIX] (unistd.h): Likewise.
39341         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
39342         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
39343         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
39344         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
39345         require.
39346         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
39347         sigevent): Specify elements.
39348         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
39349         entry.
39350         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
39351         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
39353         * conform/data/cpio.h-data [POSIX]: Disable whole file.
39354         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
39355         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
39356         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
39357         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
39358         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
39359         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
39360         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
39361         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
39362         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
39363         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
39364         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
39365         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
39366         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
39367         Likewise.
39368         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
39369         Likewise.
39370         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
39371         Likewise.
39372         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
39373         Likewise.
39374         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
39375         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
39376         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
39377         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
39378         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
39379         Specify lower bound on value.
39380         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
39381         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
39382         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
39383         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
39384         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
39385         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
39386         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
39387         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
39388         value.
39389         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
39390         as optional.
39391         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
39392         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
39393         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
39394         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
39395         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
39396         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
39397         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
39398         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
39399         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
39400         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
39401         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
39402         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
39403         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
39404         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
39405         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
39406         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
39407         entry.
39408         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
39409         optional.
39410         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
39411         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
39412         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
39413         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
39414         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
39415         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
39416         Likewise.
39417         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
39418         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
39419         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
39420         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
39421         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
39422         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
39423         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
39424         as optional.
39425         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
39426         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
39427         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
39428         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
39429         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
39430         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
39431         specify as optional.
39432         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
39433         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
39434         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
39435         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
39436         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
39437         [XPG3] (NL_LANGMAX): Likewise.
39438         [POSIX || XPG3] (NL_MSGMAX): Likewise.
39439         [POSIX || XPG3] (NL_NMAX): Likewise.
39440         [POSIX || XPG3] (NL_SETMAX): Likewise.
39441         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
39442         [XPG3] (NZERO): Likewise.
39443         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
39444         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
39445         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
39446         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
39447         (REG_ERANGE): Expect.
39448         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
39449         optional-constant.
39450         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
39451         Use (void) in prototype.
39452         [POSIX] (*_t): Allow.
39453         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
39454         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
39455         (WRDE_BADVAL): Expect.
39457         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
39458         expect.
39459         [XPG3 || XPG4] (O_RSYNC): Likewise.
39460         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
39461         Likewise.
39462         [XPG3 || XPG4] (pthread_sigmask): Likewise.
39463         [XPG3 || XPG4] (sigqueue): Likewise.
39464         [XPG3 || XPG4] (sigtimedwait): Likewise.
39465         [XPG3 || XPG4] (sigwaitinfo): Likewise.
39466         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
39467         [XPG3 || XPG4] (vsnprintf): Likewise.
39468         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
39469         Likewise.
39470         [XPG3 || XPG4] (blksize_t): Likewise.
39471         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
39472         Likewise.
39473         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
39474         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
39475         [XPG3 || XPG4] (struct itimerspec): Likewise.
39476         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
39477         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
39478         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
39479         [XPG3 || XPG4] (clockid_t): Likewise.
39480         [XPG3 || XPG4] (timer_t): Likewise.
39481         [XPG3 || XPG4] (clock_getres): Likewise.
39482         [XPG3 || XPG4] (clock_gettime): Likewise.
39483         [XPG3 || XPG4] (clock_settime): Likewise.
39484         [XPG3 || XPG4] (nanosleep): Likewise.
39485         [XPG3 || XPG4] (timer_create): Likewise.
39486         [XPG3 || XPG4] (timer_delete): Likewise.
39487         [XPG3 || XPG4] (timer_gettime): Likewise.
39488         [XPG3 || XPG4] (timer_getoverrun): Likewise.
39489         [XPG3 || XPG4] (timer_settime): Likewise.
39490         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
39491         [XPG3 || XPG4] (getlogin_r): Likewise.
39492         [XPG3 || XPG4] (pread): Likewise.
39493         [XPG3 || XPG4] (pthread_atfork): Likewise.
39494         [XPG3 || XPG4] (pwrite): Likewise.
39496         [BZ #14835]
39497         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
39498         <bits/siginfo.h>.
39500 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
39502         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
39503         finalizing MALLSTREAM.
39505         * sysdeps/mach/hurd/syncfs.c: New file.
39507 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39509         [BZ #14719]
39510         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
39511         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
39512         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
39513         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
39514         (_nss_dns_gethostbyname4_r): Likewise.
39515         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
39516         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
39518 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
39520         [BZ #13763]
39521         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
39523 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
39525         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
39526         * elf/cache.c (print_entry): Print ",AArch64" for
39527         FLAG_AARCH64_LIB64
39529         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
39530         * elf/cache.c (print_entry): Print ",hard-float" for
39531         FLAG_ARM_LIBHF.
39533 2012-11-18  David S. Miller  <davem@davemloft.net>
39535         With help from Joseph Myers.
39536         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
39537         cutoff to 2**-13.
39538         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
39539         cutoff to 2**-25.
39540         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
39541         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
39542         small.
39543         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
39544         * math/libm-test.inc (y0_test): New tests.
39545         (y1_test): New tests.
39546         * sysdeps/i386/fpu/libm-test-ulps: Update.
39547         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39548         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39550 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
39552         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
39553         64-bit targets.
39554         * configure: Regenerated.
39556 2012-11-17  David S. Miller  <davem@davemloft.net>
39558         [BZ #14811]
39559         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
39560         nonzero exponents with absolute value below 0x1p-128 to +/-
39561         0x1p-128.
39563 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
39565         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
39567         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
39569         * posix/getconf-speclist.c: New file.
39570         * posix/posix-envs.def: Likewise.
39571         * posix/confstr.c (START_ENV_GROUP): New macro.
39572         (END_ENV_GROUP): Likewise.
39573         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39574         (KNOWN_PRESENT_ENV_STRING): Likewise.
39575         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39576         (UNKNOWN_ENVIRONMENT): Likewise.
39577         (confstr): Include posix-envs.def instead of handling
39578         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
39579         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
39580         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
39581         (END_ENV_GROUP): Likewise.
39582         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
39583         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
39584         (UNKNOWN_ENVIRONMENT): Likewise.
39585         (__sysconf): Include posix-envs.def instead of handling associated
39586         cases directly here.
39587         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
39588         preprocessing getconf-speclist.c rather than running getconf or
39589         generating empty file.
39591 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
39593         * scripts/check-local-headers.sh: Ignore 'mach' headers.
39595 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
39597         [BZ #14672]
39598         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
39600 2012-11-16  David S. Miller  <davem@davemloft.net>
39602         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
39603         smaller than LDBL_EPSILON/2.0L, just return xm1.
39605 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
39607         * elf/tst-array1.c (init): Set constructor priority to 1000.
39608         (fini): Set destructor priority to 1000.
39609         * elf/tst-array2dep.c: Likewise.
39611 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39613         [BZ #11741]
39614         * libio/fileops.c (_IO_new_file_write): Correctly return error.
39615         (_IO_new_file_xsputn): Also return EOF if none of the input
39616         data was written when overflow failed.
39617         * libio/iopadn.c (_IO_padn): Likewise.
39618         * libio/iowpadn.c (_IO_wpadn): Likewise.
39619         * stdio-common/tst-put-error.c: Add copyright notice.
39620         (do_test): Add case for printing padded string.
39621         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
39622         _IO_padn returned error.
39623         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
39624         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
39625         return EOF.
39627 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39629         * libio/libioP.h: Add comment note that the references to C++
39630         bits are now obsolete.
39632 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39634         * math/libm-test.inc (check_complex): Use asprintf.
39636 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
39638         * debug/pcprofiledump.c (print_version): Update copyright year.
39639         * malloc/memusagestat.c (print_version): Likewise.
39641 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
39643         [BZ #14831]
39644         * elf/Makefile (tests): Add tst-audit8.
39645         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
39646         ($(objpfx)tst-audit8.out): New target.
39647         (tst-audit8-ENV): New variable.
39648         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
39649         audit if l_reloc_result is NULL.
39650         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
39651         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
39652         * elf/tst-audit8.c: New file.
39654 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39656         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
39657         * misc/Makefile (CFLAGS-select.c): Define.
39658         * posix/Makefile (CFLAGS-pause.c): Define.
39660 2012-11-13  David S. Miller  <davem@davemloft.net>
39662         * crypt/Makefile: Move test targets after toplevel Rules
39663         inclusion.  Grab any necessary sysdep routines when linking.
39664         * crypt/md5.c (md5_process_block): Remove define, we will always
39665         name it __md5_process_block.
39666         (md5_finish_ctx): Update md5_process_block call.
39667         (md5_stream): Likewise.
39668         (md5_process_bytes): Likewise.
39669         (md5_process_block): Rename to __md5_process_block and move to ...
39670         * crypt/md5-block.c: ... here.
39671         * crypt/sha256.c (sha256_process_block): Move to ...
39672         * crypt/sha256-block.c: ... here.
39673         * crypt/sha512.c (sha512_process_block): Move to ...
39674         * crypt/sha512-block.c: ... here.
39675         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
39676         path.
39677         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
39678         * sysdeps/sparc/sparc64/multiarch/Makefile
39679         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
39680         crypt subdir.
39681         (localedef-aux): Add md5 crypto assembler when in locale subdir.
39682         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
39683         multiarch changes.
39684         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
39685         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
39686         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
39687         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
39688         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
39689         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
39690         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
39691         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
39692         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
39693         file.
39694         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
39695         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
39696         file.
39697         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
39699 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
39701         * timezone/tzselect.ksh: Update from tzcode git revision
39702         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
39703         * timezone/zdump.c: Likewise.
39704         * timezone/zic.c: Likewise.
39705         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
39706         in TZVERSION setting, not $(PKGVERSION).
39707         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
39708         REPORT_BUGS_TO settings.
39710         [BZ #14838]
39711         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
39712         macro.
39714 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39716         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
39717         detection to immediately after _FP_ROUND().
39718         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
39719         bits are 0.
39721 2012-11-11  David S. Miller  <davem@davemloft.net>
39723         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
39724         inttypes.h
39725         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
39726         __close rather than their public counterparts.
39728 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
39730         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
39731         file.
39732         [UNIX98] (sem_timedwait): Do not expect.
39733         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
39734         [XPG4 || UNIX98] (sockatmark): Do not expect.
39735         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
39736         (clock_getcpuclockid): Do not expect.
39737         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
39738         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
39739         Do not expect.
39740         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
39741         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
39742         [UNIX98] (vwscanf): Likewise.
39743         [UNIX98] (vswscanf): Likewise.
39745 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
39747         * timezone/version.h: Remove file.
39748         * timezone/README: Do not refer to version.h.
39749         * timezone/Makefile ($(objpfx)zic.o): New dependency on
39750         $(objpfx)version.h.
39751         ($(objpfx)zdump.o): Likewise.
39752         ($(objpfx)version.h): New target.
39754         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
39755         2012i.
39756         * timezone/README: Don't mention modification to tzselect.ksh.
39757         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
39758         work on unmodified tzselect.ksh.  Substitute version numbers in
39759         tzselect.ksh.
39761         * Makefile (format-me): Remove.
39762         (INSTALL): Adjust indentation.  Use commands directly instead of
39763         using $(format-me).
39765         * aclocal.m4 (ACX_PKGVERSION): New macro.
39766         (ACX_BUGURL): Likewise.
39767         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
39768         (PKGVERSION): New AC_DEFINE_UNQUOTED.
39769         (REPORT_BUGS_TO): Likewise.
39770         * configure: Regenerated.
39771         * config.h.in (PKGVERSION): New macro.
39772         (REPORT_BUGS_TO): Likewise.
39773         * config.make.in (PKGVERSION): New variable.
39774         (PKGVERSION_TEXI): Likewise.
39775         (REPORT_BUGS_TO): Likewise.
39776         (REPORT_BUGS_TEXI): Likewise.
39777         * Makefile (format-me): Use -I$(common-objpfx)manual.
39778         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
39779         ($(common-objpfx)manual/%): New target.
39780         (manual/%): Remove target.
39781         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
39782         (print_version): Use PKGVERSION.
39783         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
39784         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
39785         and REPORT_BUGS_TO.
39786         ($(objpfx)xtrace): Likewise.
39787         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
39788         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
39789         (print_version): Use PKGVERSION.
39790         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
39791         (do_version): Use PKGVERSION.
39792         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
39793         REPORT_BUGS_TO.
39794         (common-ldd-rewrite): Likewise.
39795         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
39796         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
39797         (print_version): Use PKGVERSION.
39798         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
39799         * elf/pldd.c (argp_program_bug_address): Remove variable.
39800         (more_help): New function.
39801         (argp): Use more_help.
39802         (print_version): Use PKGVERSION.
39803         * elf/sln.c (main): Use PKGVERSION.
39804         (usage): Use REPORT_BUGS_TO.
39805         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
39806         (top level): Use PKGVERSION.
39807         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
39808         (print_version): Use PKGVERSION.
39809         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
39810         (print_version): Use PKGVERSION.
39811         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
39812         (print_version): Use PKGVERSION.
39813         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
39814         (print_version): Use PKGVERSION.
39815         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
39816         (print_version): Use PKGVERSION.
39817         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
39818         (print_version): Use PKGVERSION.
39819         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
39820         and BUGURL.
39821         ($(objpfx)memusage): Likewise.
39822         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
39823         (do_version): Use PKGVERSION.
39824         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
39825         (print_version): Use PKGVERSION.
39826         * malloc/mtrace.pl ($PACKAGE): Remove variable.
39827         ($PKGVERSION): New variable.
39828         ($REPORT_BUGS_TO): Likewise.
39829         (usage): Use $REPORT_BUGS_TO.
39830         (top level): Use $PKGVERSION.
39831         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
39832         ($(objpfx)pkgvers.texi): New rule.
39833         ($(objpfx)stamp-pkgvers): Likewise.
39834         * manual/install.texi: Include pkgvers.texi.
39835         (--with-pkgversion): Document new configure option.
39836         (--with-bugurl): Likewise.
39837         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
39838         than necessarily for this particular distribution.  Use
39839         REPORT_BUGS_TO for where to report bugs.
39840         * INSTALL: Regenerated.
39841         * manual/libc.texinfo: Include pkgvers.texi.
39842         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
39843         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
39844         (print_version): Use PKGVERSION.
39845         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
39846         (print_version): Use PKGVERSION.
39847         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
39848         (print_version): Use PKGVERSION.
39849         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
39850         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
39851         macro.
39852         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
39853         (print_version): Use PKGVERSION.
39854         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
39855         (print_version): Use PKGVERSION.
39856         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
39857         and PKGVERSION.
39859         * timezone/checktab.awk: Update from tzcode 2012i.
39860         * timezone/ialloc.c: Likewise.
39861         * timezone/private.h: Likewise.
39862         * timezone/scheck.c: Likewise.
39863         * timezone/tzfile.h: Likewise.
39864         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
39865         (TZVERSION): Hardcode tzcode version number.
39866         * timezone/zdump.c: Update from tzcode 2012i.
39867         * timezone/zic.c: Likewise.
39868         * timezone/version.h: New file.
39869         * timezone/README: Describe version.h.  Update upstream location.
39871         [BZ #14824]
39872         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
39873         (mktemp): Enable declaration.
39874         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
39875         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
39876         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
39877         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
39878         Likewise.
39879         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
39880         Likewise.
39881         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
39882         Likewise.
39883         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
39884         Likewise.
39885         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
39886         Likewise.
39887         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
39888         Likewise.
39890         [BZ #14821]
39891         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
39892         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
39893         for copies of such integer values.
39894         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
39895         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
39897 2012-11-09  Andreas Jaeger  <aj@suse.de>
39899         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
39900         definitions and declarations that are provided by
39901         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39903 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39905         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
39906         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
39907         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
39908         definition.
39910 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39912         * elf/elf.h: Update comment before AArch64 relocations.
39914 2012-11-07  David S. Miller  <davem@davemloft.net>
39916         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
39917         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
39918         (__start_context): Declare.
39919         (__makecontext_ret): Delete.
39920         (__makecontext): Hook up __start_context instead of
39921         __makecontext_ret.
39922         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
39923         (sysdep_routines): Add __start_context when in stdlib.
39925 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39927         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
39928         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
39929         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
39930         hardcoded "nm".
39931         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
39932         (READELF): New variable.  Use it instead of hardcoded "readelf".
39934 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
39936         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
39937         * sysdeps/x86/Makefile: Here.
39938         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
39939         * sysdeps/x86/tst-xmmymm.sh: This.
39941 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39943         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
39944         expectations.
39945         [UNIX98] (pthread_barrier_t): Do not expect.
39946         [UNIX98] (pthread_barrierattr_t): Likewise.
39947         [UNIX98] (pthread_spinlock_t): Likewise.
39948         [UNIX98] (pthread_barrier_destroy): Likewise.
39949         [UNIX98] (pthread_barrier_init): Likewise.
39950         [UNIX98] (pthread_barrier_wait): Likewise.
39951         [UNIX98] (pthread_barrierattr_destroy): Likewise.
39952         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
39953         [UNIX98] (pthread_barrierattr_init): Likewise.
39954         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
39955         [UNIX98] (pthread_getcpuclockid): Likewise.
39956         [UNIX98] (pthread_mutex_timedlock): Likewise.
39957         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
39958         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
39959         [UNIX98] (pthread_sigmask): Likewise.
39960         [UNIX98] (pthread_spin_destroy): Likewise.
39961         [UNIX98] (pthread_spin_init): Likewise.
39962         [UNIX98] (pthread_spin_lock): Likewise.
39963         [UNIX98] (pthread_spin_trylock): Likewise.
39964         [UNIX98] (pthread_spin_unlock): Likewise.
39965         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
39966         Do not expect.
39967         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
39968         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
39969         [XPG3 || XPG4] (pthread_cond_t): Likewise.
39970         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
39971         [XPG3 || XPG4] (pthread_key_t): Likewise.
39972         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
39973         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
39974         [XPG3 || XPG4] (pthread_once_t): Likewise.
39975         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
39976         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
39977         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
39978         [XPG3 || XPG4] (pthread_t): Likewise.
39980         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
39981         not expect.
39982         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
39984         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
39985         Change function return type to int.
39987         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
39988         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
39989         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
39990         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
39991         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
39992         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
39993         [!POSIX] (posix_madvise): Likewise.
39994         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
39995         && !UNIX98].
39996         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
39997         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
39998         (mode_t): Likewise.
39999         (posix_mem_offset): Likewise.
40000         (posix_typed_mem_get_info): Likewise.
40001         (posix_typed_mem_open): Likewise.
40003         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
40004         Change condition to [XOPEN2K8].
40006         * conform/conformtest.pl: Preprocess allow-header data with -x c
40007         instead of from stdin.
40008         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
40009         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
40010         [C99-based standards] (cerfc): Likewise.
40011         [C99-based standards] (cexp2): Likewise.
40012         [C99-based standards] (cexpm1): Likewise.
40013         [C99-based standards] (clog10): Likewise.
40014         [C99-based standards] (clog1p): Likewise.
40015         [C99-based standards] (clog2): Likewise.
40016         [C99-based standards] (clgamma): Likewise.
40017         [C99-based standards] (ctgamma): Likewise.
40018         [C99-based standards] (cerff): Likewise.
40019         [C99-based standards] (cerfcf): Likewise.
40020         [C99-based standards] (cexp2f): Likewise.
40021         [C99-based standards] (cexpm1f): Likewise.
40022         [C99-based standards] (clog10f): Likewise.
40023         [C99-based standards] (clog1pf): Likewise.
40024         [C99-based standards] (clog2f): Likewise.
40025         [C99-based standards] (clgammaf): Likewise.
40026         [C99-based standards] (ctgammaf): Likewise.
40027         [C99-based standards] (cerfl): Likewise.
40028         [C99-based standards] (cerfcl): Likewise.
40029         [C99-based standards] (cexp2l): Likewise.
40030         [C99-based standards] (cexpm1l): Likewise.
40031         [C99-based standards] (clog10l): Likewise.
40032         [C99-based standards] (clog1pl): Likewise.
40033         [C99-based standards] (clog2l): Likewise.
40034         [C99-based standards] (clgammal): Likewise.
40035         [C99-based standards] (ctgammal): Likewise.
40036         * conform/data/inttypes.h-data [C99-based standards]: Include
40037         stdint.h-data.  Remove all expectations for stdint.h contents.
40038         [C99-based standards] (PRI*): Do not allow.
40039         [C99-based standards] (SCN*): Likewise.
40040         [C99-based standards] (*_t): Likewise.
40041         [C99-based-standards] (PRId8): Expect macro.
40042         [C99-based-standards] (PRIi8): Likewise.
40043         [C99-based-standards] (PRIo8): Likewise.
40044         [C99-based-standards] (PRIu8): Likewise.
40045         [C99-based-standards] (PRIx8): Likewise.
40046         [C99-based-standards] (PRIX8): Likewise.
40047         [C99-based-standards] (SCNd8): Likewise.
40048         [C99-based-standards] (SCNi8): Likewise.
40049         [C99-based-standards] (SCNo8): Likewise.
40050         [C99-based-standards] (SCNu8): Likewise.
40051         [C99-based-standards] (SCNx8): Likewise.
40052         [C99-based-standards] (PRIdLEAST8): Likewise.
40053         [C99-based-standards] (PRIiLEAST8): Likewise.
40054         [C99-based-standards] (PRIoLEAST8): Likewise.
40055         [C99-based-standards] (PRIuLEAST8): Likewise.
40056         [C99-based-standards] (PRIxLEAST8): Likewise.
40057         [C99-based-standards] (PRIXLEAST8): Likewise.
40058         [C99-based-standards] (SCNdLEAST8): Likewise.
40059         [C99-based-standards] (SCNiLEAST8): Likewise.
40060         [C99-based-standards] (SCNoLEAST8): Likewise.
40061         [C99-based-standards] (SCNuLEAST8): Likewise.
40062         [C99-based-standards] (SCNxLEAST8): Likewise.
40063         [C99-based-standards] (PRIdFAST8): Likewise.
40064         [C99-based-standards] (PRIiFAST8): Likewise.
40065         [C99-based-standards] (PRIoFAST8): Likewise.
40066         [C99-based-standards] (PRIuFAST8): Likewise.
40067         [C99-based-standards] (PRIxFAST8): Likewise.
40068         [C99-based-standards] (PRIXFAST8): Likewise.
40069         [C99-based-standards] (SCNdFAST8): Likewise.
40070         [C99-based-standards] (SCNiFAST8): Likewise.
40071         [C99-based-standards] (SCNoFAST8): Likewise.
40072         [C99-based-standards] (SCNuFAST8): Likewise.
40073         [C99-based-standards] (SCNxFAST8): Likewise.
40074         [C99-based-standards] (PRId16): Likewise.
40075         [C99-based-standards] (PRIi16): Likewise.
40076         [C99-based-standards] (PRIo16): Likewise.
40077         [C99-based-standards] (PRIu16): Likewise.
40078         [C99-based-standards] (PRIx16): Likewise.
40079         [C99-based-standards] (PRIX16): Likewise.
40080         [C99-based-standards] (SCNd16): Likewise.
40081         [C99-based-standards] (SCNi16): Likewise.
40082         [C99-based-standards] (SCNo16): Likewise.
40083         [C99-based-standards] (SCNu16): Likewise.
40084         [C99-based-standards] (SCNx16): Likewise.
40085         [C99-based-standards] (PRIdLEAST16): Likewise.
40086         [C99-based-standards] (PRIiLEAST16): Likewise.
40087         [C99-based-standards] (PRIoLEAST16): Likewise.
40088         [C99-based-standards] (PRIuLEAST16): Likewise.
40089         [C99-based-standards] (PRIxLEAST16): Likewise.
40090         [C99-based-standards] (PRIXLEAST16): Likewise.
40091         [C99-based-standards] (SCNdLEAST16): Likewise.
40092         [C99-based-standards] (SCNiLEAST16): Likewise.
40093         [C99-based-standards] (SCNoLEAST16): Likewise.
40094         [C99-based-standards] (SCNuLEAST16): Likewise.
40095         [C99-based-standards] (SCNxLEAST16): Likewise.
40096         [C99-based-standards] (PRIdFAST16): Likewise.
40097         [C99-based-standards] (PRIiFAST16): Likewise.
40098         [C99-based-standards] (PRIoFAST16): Likewise.
40099         [C99-based-standards] (PRIuFAST16): Likewise.
40100         [C99-based-standards] (PRIxFAST16): Likewise.
40101         [C99-based-standards] (PRIXFAST16): Likewise.
40102         [C99-based-standards] (SCNdFAST16): Likewise.
40103         [C99-based-standards] (SCNiFAST16): Likewise.
40104         [C99-based-standards] (SCNoFAST16): Likewise.
40105         [C99-based-standards] (SCNuFAST16): Likewise.
40106         [C99-based-standards] (SCNxFAST16): Likewise.
40107         [C99-based-standards] (PRId32): Likewise.
40108         [C99-based-standards] (PRIi32): Likewise.
40109         [C99-based-standards] (PRIo32): Likewise.
40110         [C99-based-standards] (PRIu32): Likewise.
40111         [C99-based-standards] (PRIx32): Likewise.
40112         [C99-based-standards] (PRIX32): Likewise.
40113         [C99-based-standards] (SCNd32): Likewise.
40114         [C99-based-standards] (SCNi32): Likewise.
40115         [C99-based-standards] (SCNo32): Likewise.
40116         [C99-based-standards] (SCNu32): Likewise.
40117         [C99-based-standards] (SCNx32): Likewise.
40118         [C99-based-standards] (PRIdLEAST32): Likewise.
40119         [C99-based-standards] (PRIiLEAST32): Likewise.
40120         [C99-based-standards] (PRIoLEAST32): Likewise.
40121         [C99-based-standards] (PRIuLEAST32): Likewise.
40122         [C99-based-standards] (PRIxLEAST32): Likewise.
40123         [C99-based-standards] (PRIXLEAST32): Likewise.
40124         [C99-based-standards] (SCNdLEAST32): Likewise.
40125         [C99-based-standards] (SCNiLEAST32): Likewise.
40126         [C99-based-standards] (SCNoLEAST32): Likewise.
40127         [C99-based-standards] (SCNuLEAST32): Likewise.
40128         [C99-based-standards] (SCNxLEAST32): Likewise.
40129         [C99-based-standards] (PRIdFAST32): Likewise.
40130         [C99-based-standards] (PRIiFAST32): Likewise.
40131         [C99-based-standards] (PRIoFAST32): Likewise.
40132         [C99-based-standards] (PRIuFAST32): Likewise.
40133         [C99-based-standards] (PRIxFAST32): Likewise.
40134         [C99-based-standards] (PRIXFAST32): Likewise.
40135         [C99-based-standards] (SCNdFAST32): Likewise.
40136         [C99-based-standards] (SCNiFAST32): Likewise.
40137         [C99-based-standards] (SCNoFAST32): Likewise.
40138         [C99-based-standards] (SCNuFAST32): Likewise.
40139         [C99-based-standards] (SCNxFAST32): Likewise.
40140         [C99-based-standards] (PRId64): Likewise.
40141         [C99-based-standards] (PRIi64): Likewise.
40142         [C99-based-standards] (PRIo64): Likewise.
40143         [C99-based-standards] (PRIu64): Likewise.
40144         [C99-based-standards] (PRIx64): Likewise.
40145         [C99-based-standards] (PRIX64): Likewise.
40146         [C99-based-standards] (SCNd64): Likewise.
40147         [C99-based-standards] (SCNi64): Likewise.
40148         [C99-based-standards] (SCNo64): Likewise.
40149         [C99-based-standards] (SCNu64): Likewise.
40150         [C99-based-standards] (SCNx64): Likewise.
40151         [C99-based-standards] (PRIdLEAST64): Likewise.
40152         [C99-based-standards] (PRIiLEAST64): Likewise.
40153         [C99-based-standards] (PRIoLEAST64): Likewise.
40154         [C99-based-standards] (PRIuLEAST64): Likewise.
40155         [C99-based-standards] (PRIxLEAST64): Likewise.
40156         [C99-based-standards] (PRIXLEAST64): Likewise.
40157         [C99-based-standards] (SCNdLEAST64): Likewise.
40158         [C99-based-standards] (SCNiLEAST64): Likewise.
40159         [C99-based-standards] (SCNoLEAST64): Likewise.
40160         [C99-based-standards] (SCNuLEAST64): Likewise.
40161         [C99-based-standards] (SCNxLEAST64): Likewise.
40162         [C99-based-standards] (PRIdFAST64): Likewise.
40163         [C99-based-standards] (PRIiFAST64): Likewise.
40164         [C99-based-standards] (PRIoFAST64): Likewise.
40165         [C99-based-standards] (PRIuFAST64): Likewise.
40166         [C99-based-standards] (PRIxFAST64): Likewise.
40167         [C99-based-standards] (PRIXFAST64): Likewise.
40168         [C99-based-standards] (SCNdFAST64): Likewise.
40169         [C99-based-standards] (SCNiFAST64): Likewise.
40170         [C99-based-standards] (SCNoFAST64): Likewise.
40171         [C99-based-standards] (SCNuFAST64): Likewise.
40172         [C99-based-standards] (SCNxFAST64): Likewise.
40173         [C99-based-standards] (PRIdMAX): Likewise.
40174         [C99-based-standards] (PRIiMAX): Likewise.
40175         [C99-based-standards] (PRIoMAX): Likewise.
40176         [C99-based-standards] (PRIuMAX): Likewise.
40177         [C99-based-standards] (PRIxMAX): Likewise.
40178         [C99-based-standards] (PRIXMAX): Likewise.
40179         [C99-based-standards] (SCNdMAX): Likewise.
40180         [C99-based-standards] (SCNiMAX): Likewise.
40181         [C99-based-standards] (SCNoMAX): Likewise.
40182         [C99-based-standards] (SCNuMAX): Likewise.
40183         [C99-based-standards] (SCNxMAX): Likewise.
40184         [C99-based-standards] (PRIdPTR): Likewise.
40185         [C99-based-standards] (PRIiPTR): Likewise.
40186         [C99-based-standards] (PRIoPTR): Likewise.
40187         [C99-based-standards] (PRIuPTR): Likewise.
40188         [C99-based-standards] (PRIxPTR): Likewise.
40189         [C99-based-standards] (PRIXPTR): Likewise.
40190         [C99-based-standards] (SCNdPTR): Likewise.
40191         [C99-based-standards] (SCNiPTR): Likewise.
40192         [C99-based-standards] (SCNoPTR): Likewise.
40193         [C99-based-standards] (SCNuPTR): Likewise.
40194         [C99-based-standards] (SCNxPTR): Likewise.
40195         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
40196         allow.
40197         * conform/data/stdint.h-data: Update comments to clarify
40198         requirements.
40199         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
40200         type.
40201         [C99-based standards] (INT8_MAX): Likewise.
40202         [C99-based standards] (INT16_MIN): Likewise.
40203         [C99-based standards] (INT16_MAX): Likewise.
40204         [C99-based standards] (INT32_MIN): Likewise.
40205         [C99-based standards] (INT32_MAX): Likewise.
40206         [C99-based standards] (INT64_MIN): Likewise.
40207         [C99-based standards] (INT64_MAX): Likewise.
40208         [C99-based standards] (UINT8_MAX): Likewise.
40209         [C99-based standards] (UINT16_MAX): Likewise.
40210         [C99-based standards] (UINT32_MAX): Likewise.
40211         [C99-based standards] (UINT64_MAX): Likewise.
40212         [C99-based standards] (INT_LEAST8_MIN): Likewise.
40213         [C99-based standards] (INT_LEAST8_MAX): Likewise.
40214         [C99-based standards] (INT_LEAST16_MIN): Likewise.
40215         [C99-based standards] (INT_LEAST16_MAX): Likewise.
40216         [C99-based standards] (INT_LEAST32_MIN): Likewise.
40217         [C99-based standards] (INT_LEAST32_MAX): Likewise.
40218         [C99-based standards] (INT_LEAST64_MIN): Likewise.
40219         [C99-based standards] (INT_LEAST64_MAX): Likewise.
40220         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
40221         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
40222         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
40223         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
40224         [C99-based standards] (INT_FAST8_MIN): Likewise.
40225         [C99-based standards] (INT_FAST8_MAX): Likewise.
40226         [C99-based standards] (INT_FAST16_MIN): Likewise.
40227         [C99-based standards] (INT_FAST16_MAX): Likewise.
40228         [C99-based standards] (INT_FAST32_MIN): Likewise.
40229         [C99-based standards] (INT_FAST32_MAX): Likewise.
40230         [C99-based standards] (INT_FAST64_MIN): Likewise.
40231         [C99-based standards] (INT_FAST64_MAX): Likewise.
40232         [C99-based standards] (UINT_FAST8_MAX): Likewise.
40233         [C99-based standards] (UINT_FAST16_MAX): Likewise.
40234         [C99-based standards] (UINT_FAST32_MAX): Likewise.
40235         [C99-based standards] (UINT_FAST64_MAX): Likewise.
40236         [C99-based standards] (INTPTR_MIN): Likewise.
40237         [C99-based standards] (INTPTR_MAX): Likewise.
40238         [C99-based standards] (UINTPTR_MAX): Likewise.
40239         [C99-based standards] (INTMAX_MIN): Likewise.
40240         [C99-based standards] (INTMAX_MAX): Likewise.
40241         [C99-based standards] (UINTMAX_MAX): Likewise.
40242         [C99-based standards] (PTRDIFF_MIN): Likewise.
40243         [C99-based standards] (PTRDIFF_MAX): Likewise.
40244         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
40245         [C99-based standards] (SIZE_MAX): Likewise.
40246         [C99-based standards] (WCHAR_MAX): Likewise.
40247         [C99-based standards] (WINT_MAX): Likewise.
40248         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
40249         constraint on value.
40250         [C99-based standards] (WCHAR_MIN): Likewise.
40251         [C99-based standards] (WINT_MIN): Likewise.
40252         [C99-based standards] (*_t): Allow.
40253         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
40254         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
40255         Include math.h-data and complex.h-data.  Remove all expectations
40256         of math.h and complex.h contents.
40257         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
40258         at end of line.
40259         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
40260         (struct tm): Expect tag.
40261         [C99-based-standards] (wcstof): Expect function.
40262         [C99-based-standards] (wcstold): Likewise.
40263         [C99-based-standards] (wcstoll): Likewise.
40264         [C99-based-standards] (wcstoull): Likewise.
40265         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
40266         macro-int-constant.  Specify type.
40267         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
40268         constraint on value.
40269         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40270         Specify type.
40271         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
40272         Specify value.
40273         [ISO C standards]: Do not allow headers.
40274         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
40275         wcs[abcdefghijklmnopqrstuvwxyz]*.
40276         [ISO C standards] (*_t): Do not allow.
40277         * conform/data/wctype.h-data [C99-based standards] (iswblank):
40278         Expect function.
40279         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
40280         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
40281         Specify type.
40282         [ISO C standards]: Do not allow headers.
40283         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
40284         is[abcdefghijklmnopqrstuvwxyz]*.
40285         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
40286         to[abcdefghijklmnopqrstuvwxyz]*.
40287         [ISO C standards] (*_t): Do not allow.
40288         * conform/data/stdalign.h-data: New file.
40289         * conform/data/stdbool.h-data: Likewise.
40290         * conform/data/stdnoreturn.h-data: Likewise.
40292 2012-11-07  Roland McGrath  <roland@hack.frob.com>
40294         [BZ #14815]
40295         * manual/filesys.texi (Directory Entries): Typo fix.
40296         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
40298 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40300         * elf/elf.h (EM_AARCH64): New macro.
40301         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
40302         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
40303         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
40304         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
40305         (R_AARCH64_TLSDESC): Likewise.
40306         (NT_ARM_TLS): Likewise.
40307         (NT_ARM_HW_BREAK): Likewise.
40308         (NT_ARM_HW_WATCH): Likewise.
40310 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40312         [BZ #14811]
40313         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
40314         (__ieee754_powl): Saturate nonzero exponents with absolute value
40315         below 0x1p-79 to +/- 0x1p-79.
40316         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
40317         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
40318         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
40319         nonzero exponents with absolute value below 0x1p-32 to +/-
40320         0x1p-32.
40321         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
40322         (__ieee754_powl): Saturate nonzero exponents with absolute value
40323         below 0x1p-79 to +/- 0x1p-79.
40324         * math/libm-test.inc (pow_test): Add more tests.
40326 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40328         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
40329         _dl_s390_cap_flags with kernel. Increase string length.
40330         (_dl_s390_platforms): Add z196 and zEC12.
40332 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
40334         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
40335         Change XOPEN21K to XOPEN2K.
40337 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
40339         * string/memmove.c: Use memcpy when possible.
40341 2012-11-06  Andreas Jaeger  <aj@suse.de>
40343         * po/eo.po: Update from translation team.
40345 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
40347         [BZ #14793]
40348         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
40349         exponent and small x and y exponents, scale x or y up.  Increase
40350         by 2 the exponent used in scaling up.
40351         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40352         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40353         * math/libm-test.inc (fma_test): Add more tests.
40354         (fma_test_towardzero): Likewise.
40355         (fma_test_downward): Likewise.
40356         (fma_test_upward): Likewise.
40358 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
40360         [BZ #14805]
40361         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
40362         fenv_t *.
40364         [BZ #14801]
40365         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
40366         namespace for names of struct fields.
40367         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
40368         fenv_t fields.
40369         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40370         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
40372 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40374         [BZ #3665]
40375         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
40377 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40379         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
40380         PTR_DEMANGLE.
40382         [BZ #5246]
40383         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
40384         PTR_DEMANGLE.
40386 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
40388         [BZ #14797]
40389         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
40390         definitely overflow as x * y not x * y + z.
40391         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40392         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40393         * math/libm-test.inc (fma_test): Add more tests.
40394         (fma_test_towardzero): Likewise.
40395         (fma_test_downward): Likewise.
40396         (fma_test_upward): Likewise.
40398 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
40400         [BZ #157]
40402         * include/stub-tag.h: Remove file.
40403         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
40404         '#include' of it.
40405         * manual/maint.texi (Porting): Don't reference it.
40406         * Makerules ($(objpfx)stubs): Likewise.
40407         * dirent/closedir.c: Don't include <stub-tag.h>.
40408         * dirent/dirfd.c: Likewise.
40409         * dirent/fdopendir.c: Likewise.
40410         * dirent/getdents.c: Likewise.
40411         * dirent/getdents64.c: Likewise.
40412         * dirent/opendir.c: Likewise.
40413         * dirent/readdir.c: Likewise.
40414         * dirent/readdir64.c: Likewise.
40415         * dirent/readdir64_r.c: Likewise.
40416         * dirent/readdir_r.c: Likewise.
40417         * dirent/rewinddir.c: Likewise.
40418         * dirent/seekdir.c: Likewise.
40419         * dirent/telldir.c: Likewise.
40420         * gmon/profil.c: Likewise.
40421         * grp/setgroups.c: Likewise.
40422         * inet/if_index.c: Likewise.
40423         * io/access.c: Likewise.
40424         * io/chdir.c: Likewise.
40425         * io/chmod.c: Likewise.
40426         * io/chown.c: Likewise.
40427         * io/close.c: Likewise.
40428         * io/dup.c: Likewise.
40429         * io/dup2.c: Likewise.
40430         * io/dup3.c: Likewise.
40431         * io/euidaccess.c: Likewise.
40432         * io/faccessat.c: Likewise.
40433         * io/fchdir.c: Likewise.
40434         * io/fchmod.c: Likewise.
40435         * io/fchmodat.c: Likewise.
40436         * io/fchown.c: Likewise.
40437         * io/fchownat.c: Likewise.
40438         * io/fcntl.c: Likewise.
40439         * io/flock.c: Likewise.
40440         * io/fstatfs.c: Likewise.
40441         * io/fstatfs64.c: Likewise.
40442         * io/fstatvfs.c: Likewise.
40443         * io/fstatvfs64.c: Likewise.
40444         * io/futimens.c: Likewise.
40445         * io/fxstat.c: Likewise.
40446         * io/fxstat64.c: Likewise.
40447         * io/fxstatat.c: Likewise.
40448         * io/fxstatat64.c: Likewise.
40449         * io/getcwd.c: Likewise.
40450         * io/isatty.c: Likewise.
40451         * io/lchmod.c: Likewise.
40452         * io/lchown.c: Likewise.
40453         * io/link.c: Likewise.
40454         * io/linkat.c: Likewise.
40455         * io/lseek.c: Likewise.
40456         * io/lseek64.c: Likewise.
40457         * io/lxstat64.c: Likewise.
40458         * io/mkdir.c: Likewise.
40459         * io/mkdirat.c: Likewise.
40460         * io/mkfifo.c: Likewise.
40461         * io/mkfifoat.c: Likewise.
40462         * io/open.c: Likewise.
40463         * io/open64.c: Likewise.
40464         * io/openat.c: Likewise.
40465         * io/openat64.c: Likewise.
40466         * io/pipe.c: Likewise.
40467         * io/pipe2.c: Likewise.
40468         * io/poll.c: Likewise.
40469         * io/posix_fadvise.c: Likewise.
40470         * io/posix_fadvise64.c: Likewise.
40471         * io/posix_fallocate.c: Likewise.
40472         * io/posix_fallocate64.c: Likewise.
40473         * io/read.c: Likewise.
40474         * io/readlink.c: Likewise.
40475         * io/readlinkat.c: Likewise.
40476         * io/rmdir.c: Likewise.
40477         * io/sendfile.c: Likewise.
40478         * io/sendfile64.c: Likewise.
40479         * io/statfs.c: Likewise.
40480         * io/statfs64.c: Likewise.
40481         * io/statvfs.c: Likewise.
40482         * io/statvfs64.c: Likewise.
40483         * io/symlink.c: Likewise.
40484         * io/symlinkat.c: Likewise.
40485         * io/ttyname.c: Likewise.
40486         * io/ttyname_r.c: Likewise.
40487         * io/umask.c: Likewise.
40488         * io/unlink.c: Likewise.
40489         * io/unlinkat.c: Likewise.
40490         * io/utime.c: Likewise.
40491         * io/utimensat.c: Likewise.
40492         * io/write.c: Likewise.
40493         * io/xmknod.c: Likewise.
40494         * io/xmknodat.c: Likewise.
40495         * io/xstat.c: Likewise.
40496         * io/xstat64.c: Likewise.
40497         * login/getpt.c: Likewise.
40498         * login/grantpt.c: Likewise.
40499         * login/unlockpt.c: Likewise.
40500         * math/e_acoshl.c: Likewise.
40501         * math/e_acosl.c: Likewise.
40502         * math/e_asinl.c: Likewise.
40503         * math/e_atan2l.c: Likewise.
40504         * math/e_atanhl.c: Likewise.
40505         * math/e_coshl.c: Likewise.
40506         * math/e_expl.c: Likewise.
40507         * math/e_fmodl.c: Likewise.
40508         * math/e_gammal_r.c: Likewise.
40509         * math/e_hypotl.c: Likewise.
40510         * math/e_j0l.c: Likewise.
40511         * math/e_j1l.c: Likewise.
40512         * math/e_jnl.c: Likewise.
40513         * math/e_lgammal_r.c: Likewise.
40514         * math/e_log10l.c: Likewise.
40515         * math/e_log2l.c: Likewise.
40516         * math/e_logl.c: Likewise.
40517         * math/e_powl.c: Likewise.
40518         * math/e_rem_pio2l.c: Likewise.
40519         * math/e_sinhl.c: Likewise.
40520         * math/e_sqrtl.c: Likewise.
40521         * math/fclrexcpt.c: Likewise.
40522         * math/fedisblxcpt.c: Likewise.
40523         * math/feenablxcpt.c: Likewise.
40524         * math/fegetenv.c: Likewise.
40525         * math/fegetexcept.c: Likewise.
40526         * math/fegetround.c: Likewise.
40527         * math/feholdexcpt.c: Likewise.
40528         * math/fesetenv.c: Likewise.
40529         * math/fesetround.c: Likewise.
40530         * math/feupdateenv.c: Likewise.
40531         * math/fgetexcptflg.c: Likewise.
40532         * math/fraiseexcpt.c: Likewise.
40533         * math/fsetexcptflg.c: Likewise.
40534         * math/ftestexcept.c: Likewise.
40535         * math/k_cosl.c: Likewise.
40536         * math/k_rem_pio2l.c: Likewise.
40537         * math/k_sinl.c: Likewise.
40538         * math/k_tanl.c: Likewise.
40539         * math/s_asinhl.c: Likewise.
40540         * math/s_atanl.c: Likewise.
40541         * math/s_cbrtl.c: Likewise.
40542         * math/s_erfl.c: Likewise.
40543         * math/s_expm1l.c: Likewise.
40544         * math/s_log1pl.c: Likewise.
40545         * math/s_tanhl.c: Likewise.
40546         * misc/acct.c: Likewise.
40547         * misc/brk.c: Likewise.
40548         * misc/chflags.c: Likewise.
40549         * misc/chroot.c: Likewise.
40550         * misc/fchflags.c: Likewise.
40551         * misc/fgetxattr.c: Likewise.
40552         * misc/flistxattr.c: Likewise.
40553         * misc/fremovexattr.c: Likewise.
40554         * misc/fsetxattr.c: Likewise.
40555         * misc/fsync.c: Likewise.
40556         * misc/ftruncate.c: Likewise.
40557         * misc/futimes.c: Likewise.
40558         * misc/futimesat.c: Likewise.
40559         * misc/getdomain.c: Likewise.
40560         * misc/getdtsz.c: Likewise.
40561         * misc/gethostid.c: Likewise.
40562         * misc/gethostname.c: Likewise.
40563         * misc/getloadavg.c: Likewise.
40564         * misc/getpagesize.c: Likewise.
40565         * misc/getsysstats.c: Likewise.
40566         * misc/getxattr.c: Likewise.
40567         * misc/gtty.c: Likewise.
40568         * misc/ioctl.c: Likewise.
40569         * misc/lgetxattr.c: Likewise.
40570         * misc/listxattr.c: Likewise.
40571         * misc/llistxattr.c: Likewise.
40572         * misc/lremovexattr.c: Likewise.
40573         * misc/lsetxattr.c: Likewise.
40574         * misc/lutimes.c: Likewise.
40575         * misc/madvise.c: Likewise.
40576         * misc/mincore.c: Likewise.
40577         * misc/mlock.c: Likewise.
40578         * misc/mlockall.c: Likewise.
40579         * misc/mmap.c: Likewise.
40580         * misc/mprotect.c: Likewise.
40581         * misc/msync.c: Likewise.
40582         * misc/munlock.c: Likewise.
40583         * misc/munlockall.c: Likewise.
40584         * misc/munmap.c: Likewise.
40585         * misc/preadv.c: Likewise.
40586         * misc/preadv64.c: Likewise.
40587         * misc/ptrace.c: Likewise.
40588         * misc/pwritev.c: Likewise.
40589         * misc/pwritev64.c: Likewise.
40590         * misc/readv.c: Likewise.
40591         * misc/reboot.c: Likewise.
40592         * misc/remap_file_pages.c: Likewise.
40593         * misc/removexattr.c: Likewise.
40594         * misc/revoke.c: Likewise.
40595         * misc/select.c: Likewise.
40596         * misc/setdomain.c: Likewise.
40597         * misc/setegid.c: Likewise.
40598         * misc/seteuid.c: Likewise.
40599         * misc/sethostid.c: Likewise.
40600         * misc/sethostname.c: Likewise.
40601         * misc/setregid.c: Likewise.
40602         * misc/setreuid.c: Likewise.
40603         * misc/setxattr.c: Likewise.
40604         * misc/sstk.c: Likewise.
40605         * misc/stty.c: Likewise.
40606         * misc/swapoff.c: Likewise.
40607         * misc/swapon.c: Likewise.
40608         * misc/sync.c: Likewise.
40609         * misc/syncfs.c: Likewise.
40610         * misc/syscall.c: Likewise.
40611         * misc/truncate.c: Likewise.
40612         * misc/ualarm.c: Likewise.
40613         * misc/usleep.c: Likewise.
40614         * misc/ustat.c: Likewise.
40615         * misc/utimes.c: Likewise.
40616         * misc/vhangup.c: Likewise.
40617         * misc/writev.c: Likewise.
40618         * posix/_exit.c: Likewise.
40619         * posix/alarm.c: Likewise.
40620         * posix/execve.c: Likewise.
40621         * posix/fexecve.c: Likewise.
40622         * posix/fork.c: Likewise.
40623         * posix/fpathconf.c: Likewise.
40624         * posix/getaddrinfo.c: Likewise.
40625         * posix/getegid.c: Likewise.
40626         * posix/geteuid.c: Likewise.
40627         * posix/getgid.c: Likewise.
40628         * posix/getgroups.c: Likewise.
40629         * posix/getlogin.c: Likewise.
40630         * posix/getlogin_r.c: Likewise.
40631         * posix/getpgid.c: Likewise.
40632         * posix/getpid.c: Likewise.
40633         * posix/getppid.c: Likewise.
40634         * posix/getresgid.c: Likewise.
40635         * posix/getresuid.c: Likewise.
40636         * posix/getsid.c: Likewise.
40637         * posix/getuid.c: Likewise.
40638         * posix/glob64.c: Likewise.
40639         * posix/nanosleep.c: Likewise.
40640         * posix/pathconf.c: Likewise.
40641         * posix/pause.c: Likewise.
40642         * posix/posix_madvise.c: Likewise.
40643         * posix/pread.c: Likewise.
40644         * posix/pread64.c: Likewise.
40645         * posix/pwrite.c: Likewise.
40646         * posix/pwrite64.c: Likewise.
40647         * posix/sched_getaffinity.c: Likewise.
40648         * posix/sched_getp.c: Likewise.
40649         * posix/sched_gets.c: Likewise.
40650         * posix/sched_primax.c: Likewise.
40651         * posix/sched_primin.c: Likewise.
40652         * posix/sched_rr_gi.c: Likewise.
40653         * posix/sched_setaffinity.c: Likewise.
40654         * posix/sched_setp.c: Likewise.
40655         * posix/sched_sets.c: Likewise.
40656         * posix/sched_yield.c: Likewise.
40657         * posix/setgid.c: Likewise.
40658         * posix/setlogin.c: Likewise.
40659         * posix/setpgid.c: Likewise.
40660         * posix/setresgid.c: Likewise.
40661         * posix/setresuid.c: Likewise.
40662         * posix/setsid.c: Likewise.
40663         * posix/setuid.c: Likewise.
40664         * posix/sleep.c: Likewise.
40665         * posix/spawni.c: Likewise.
40666         * posix/sysconf.c: Likewise.
40667         * posix/times.c: Likewise.
40668         * posix/wait.c: Likewise.
40669         * posix/wait3.c: Likewise.
40670         * posix/wait4.c: Likewise.
40671         * posix/waitpid.c: Likewise.
40672         * resolv/gai_sigqueue.c: Likewise.
40673         * resource/getpriority.c: Likewise.
40674         * resource/getrlimit.c: Likewise.
40675         * resource/getrusage.c: Likewise.
40676         * resource/nice.c: Likewise.
40677         * resource/setpriority.c: Likewise.
40678         * resource/setrlimit.c: Likewise.
40679         * resource/ulimit.c: Likewise.
40680         * rt/aio_cancel.c: Likewise.
40681         * rt/aio_fsync.c: Likewise.
40682         * rt/aio_read.c: Likewise.
40683         * rt/aio_sigqueue.c: Likewise.
40684         * rt/aio_suspend.c: Likewise.
40685         * rt/aio_write.c: Likewise.
40686         * rt/clock_getres.c: Likewise.
40687         * rt/clock_gettime.c: Likewise.
40688         * rt/clock_nanosleep.c: Likewise.
40689         * rt/clock_settime.c: Likewise.
40690         * rt/lio_listio.c: Likewise.
40691         * rt/mq_close.c: Likewise.
40692         * rt/mq_getattr.c: Likewise.
40693         * rt/mq_notify.c: Likewise.
40694         * rt/mq_open.c: Likewise.
40695         * rt/mq_receive.c: Likewise.
40696         * rt/mq_send.c: Likewise.
40697         * rt/mq_setattr.c: Likewise.
40698         * rt/mq_timedreceive.c: Likewise.
40699         * rt/mq_timedsend.c: Likewise.
40700         * rt/mq_unlink.c: Likewise.
40701         * rt/shm_open.c: Likewise.
40702         * rt/shm_unlink.c: Likewise.
40703         * rt/timer_create.c: Likewise.
40704         * rt/timer_delete.c: Likewise.
40705         * rt/timer_getoverr.c: Likewise.
40706         * rt/timer_gettime.c: Likewise.
40707         * rt/timer_settime.c: Likewise.
40708         * setjmp/__longjmp.c: Likewise.
40709         * setjmp/setjmp.c: Likewise.
40710         * signal/kill.c: Likewise.
40711         * signal/killpg.c: Likewise.
40712         * signal/raise.c: Likewise.
40713         * signal/sigaction.c: Likewise.
40714         * signal/sigaltstack.c: Likewise.
40715         * signal/sigblock.c: Likewise.
40716         * signal/sigignore.c: Likewise.
40717         * signal/sigintr.c: Likewise.
40718         * signal/signal.c: Likewise.
40719         * signal/sigpause.c: Likewise.
40720         * signal/sigpending.c: Likewise.
40721         * signal/sigqueue.c: Likewise.
40722         * signal/sigreturn.c: Likewise.
40723         * signal/sigset.c: Likewise.
40724         * signal/sigsetmask.c: Likewise.
40725         * signal/sigstack.c: Likewise.
40726         * signal/sigsuspend.c: Likewise.
40727         * signal/sigtimedwait.c: Likewise.
40728         * signal/sigvec.c: Likewise.
40729         * signal/sigwait.c: Likewise.
40730         * signal/sigwaitinfo.c: Likewise.
40731         * signal/sysv_signal.c: Likewise.
40732         * socket/accept.c: Likewise.
40733         * socket/accept4.c: Likewise.
40734         * socket/bind.c: Likewise.
40735         * socket/connect.c: Likewise.
40736         * socket/getpeername.c: Likewise.
40737         * socket/getsockname.c: Likewise.
40738         * socket/getsockopt.c: Likewise.
40739         * socket/isfdtype.c: Likewise.
40740         * socket/listen.c: Likewise.
40741         * socket/recv.c: Likewise.
40742         * socket/recvfrom.c: Likewise.
40743         * socket/recvmsg.c: Likewise.
40744         * socket/send.c: Likewise.
40745         * socket/sendmsg.c: Likewise.
40746         * socket/sendto.c: Likewise.
40747         * socket/setsockopt.c: Likewise.
40748         * socket/shutdown.c: Likewise.
40749         * socket/sockatmark.c: Likewise.
40750         * socket/socket.c: Likewise.
40751         * socket/socketpair.c: Likewise.
40752         * stdio-common/ctermid.c: Likewise.
40753         * stdio-common/cuserid.c: Likewise.
40754         * stdio-common/remove.c: Likewise.
40755         * stdio-common/rename.c: Likewise.
40756         * stdio-common/renameat.c: Likewise.
40757         * stdio-common/tempname.c: Likewise.
40758         * stdlib/getcontext.c: Likewise.
40759         * stdlib/makecontext.c: Likewise.
40760         * stdlib/setcontext.c: Likewise.
40761         * stdlib/swapcontext.c: Likewise.
40762         * stdlib/system.c: Likewise.
40763         * streams/fattach.c: Likewise.
40764         * streams/fdetach.c: Likewise.
40765         * streams/getmsg.c: Likewise.
40766         * streams/getpmsg.c: Likewise.
40767         * streams/putmsg.c: Likewise.
40768         * streams/putpmsg.c: Likewise.
40769         * sysdeps/unix/bsd/getpt.c: Likewise.
40770         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
40771         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
40772         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
40773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40774         Likewise.
40775         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
40776         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40777         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
40778         * sysvipc/msgctl.c: Likewise.
40779         * sysvipc/msgget.c: Likewise.
40780         * sysvipc/msgrcv.c: Likewise.
40781         * sysvipc/msgsnd.c: Likewise.
40782         * sysvipc/semctl.c: Likewise.
40783         * sysvipc/semget.c: Likewise.
40784         * sysvipc/semop.c: Likewise.
40785         * sysvipc/semtimedop.c: Likewise.
40786         * sysvipc/shmat.c: Likewise.
40787         * sysvipc/shmctl.c: Likewise.
40788         * sysvipc/shmdt.c: Likewise.
40789         * sysvipc/shmget.c: Likewise.
40790         * termios/tcdrain.c: Likewise.
40791         * termios/tcflow.c: Likewise.
40792         * termios/tcflush.c: Likewise.
40793         * termios/tcgetattr.c: Likewise.
40794         * termios/tcgetpgrp.c: Likewise.
40795         * termios/tcsendbrk.c: Likewise.
40796         * termios/tcsetattr.c: Likewise.
40797         * termios/tcsetpgrp.c: Likewise.
40798         * time/adjtime.c: Likewise.
40799         * time/clock.c: Likewise.
40800         * time/getitimer.c: Likewise.
40801         * time/gettimeofday.c: Likewise.
40802         * time/setitimer.c: Likewise.
40803         * time/settimeofday.c: Likewise.
40804         * time/stime.c: Likewise.
40805         * time/time.c: Likewise.
40807 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
40809         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
40810         /usr/old/bin.
40812         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
40813         instead of spaces.
40814         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
40816 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
40818         [BZ #14796]
40819         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
40820         FE_TONEAREST before applying Dekker multiplication and Knuth
40821         addition.  Clear inexact exceptions and check for exact zero
40822         results afterwards.
40823         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40824         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40825         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40826         * math/libm-test.inc (fma_test): Add more tests.
40827         (fma_test_towardzero): Likewise.
40828         (fma_test_downward): Likewise.
40829         (fma_test_upward): Likewise.
40830         * sysdeps/generic/math_private.h (default_libc_fesetround): New
40831         function.
40832         (libc_fesetround): New macro.
40833         (libc_fesetroundf): Likewise.
40834         (libc_fesetroundl): Likewise.
40835         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
40836         function.
40837         (libc_fesetround_387): Likewise.
40838         (libc_fesetroundf): New macro.
40839         (libc_fesetround): Likewise.
40840         (libc_fesetroundl): Likewise.
40841         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
40842         function.
40843         (libc_fesetroundf): New macro.
40844         (libc_fesetround): Likewise.
40845         (libc_fesetroundl): Likewise.
40846         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
40847         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
40848         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
40849         libm_hidden_ver.
40850         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
40851         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
40852         libm_hidden_def.
40853         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
40854         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
40855         libm_hidden_ver.
40856         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
40857         libm_hidden_def.
40859         [BZ #3439]
40860         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
40861         integer constant usable in #if and use that to give value to enum
40862         constant.
40863         (FE_DIVBYZERO): Likewise.
40864         (FE_UNDERFLOW): Likewise.
40865         (FE_OVERFLOW): Likewise.
40866         (FE_INVALID): Likewise.
40867         (FE_INVALID_SNAN): Likewise.
40868         (FE_INVALID_ISI): Likewise.
40869         (FE_INVALID_IDI): Likewise.
40870         (FE_INVALID_ZDZ): Likewise.
40871         (FE_INVALID_IMZ): Likewise.
40872         (FE_INVALID_COMPARE): Likewise.
40873         (FE_INVALID_SOFTWARE): Likewise.
40874         (FE_INVALID_SQRT): Likewise.
40875         (FE_INVALID_INTEGER_CONVERSION): Likewise.
40876         (FE_TONEAREST): Likewise.
40877         (FE_TOWARDZERO): Likewise.
40878         (FE_UPWARD): Likewise.
40879         (FE_DOWNWARD): Likewise.
40880         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
40881         (FE_DIVBYZERO): Likewise.
40882         (FE_OVERFLOW): Likewise.
40883         (FE_UNDERFLOW): Likewise.
40884         (FE_INEXACT): Likewise.
40885         (FE_TONEAREST): Likewise.
40886         (FE_DOWNWARD): Likewise.
40887         (FE_UPWARD): Likewise.
40888         (FE_TOWARDZERO): Likewise.
40889         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
40890         (FE_UNDERFLOW): Likewise.
40891         (FE_OVERFLOW): Likewise.
40892         (FE_DIVBYZERO): Likewise.
40893         (FE_INVALID): Likewise.
40894         (FE_TONEAREST): Likewise.
40895         (FE_TOWARDZERO): Likewise.
40896         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
40897         (FE_OVERFLOW): Likewise.
40898         (FE_UNDERFLOW): Likewise.
40899         (FE_DIVBYZERO): Likewise.
40900         (FE_INEXACT): Likewise.
40901         (FE_TONEAREST): Likewise.
40902         (FE_TOWARDZERO): Likewise.
40903         (FE_UPWARD): Likewise.
40904         (FE_DOWNWARD): Likewise.
40905         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
40906         (FE_DIVBYZERO): Likewise.
40907         (FE_OVERFLOW): Likewise.
40908         (FE_UNDERFLOW): Likewise.
40909         (FE_INEXACT): Likewise.
40910         (FE_TONEAREST): Likewise.
40911         (FE_DOWNWARD): Likewise.
40912         (FE_UPWARD): Likewise.
40913         (FE_TOWARDZERO): Likewise.
40915 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
40917         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
40919 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
40921         * scripts/cross-test-ssh.sh (command): Use newlines to separate
40922         commands.  Quote $PWD.
40923         (blacklist_exports): Don't use remove_newlines.  Replace "declare
40924         -x" by "export".
40925         (remove_newlines): Remove.
40927 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
40929         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
40930         * stdlib/stdlib.h (atof): Moved to ...
40931         * include/bits/stdlib-float.h: Here.  New file.
40932         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
40933         * stdlib/bits/stdlib-float.h: New file.
40934         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
40935         -mno-sse -mno-mmx.
40936         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
40937         <xmmintrin.h>.
40939 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
40941         * conform/conformtest.pl (@headers): Add fenv.h.
40942         * conform/data/fenv.h-data: New file.
40943         * include/fenv.h [_ISOMAC]: Disable all contents of file except
40944         include of <math/fenv.h>.
40946         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
40947         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
40948         && !UNIX98].  Enables tests for XOPEN2K8.
40949         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
40950         POSIX2008]: Likewise.
40952         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
40953         (struct rusage): Do not expect type or its members.
40955         [BZ #3439]
40956         * math/math.h (FP_NAN): Define macro to integer constant usable in
40957         #if and use that to give value to enum constant.
40958         (FP_INFINITE): Likewise.
40959         (FP_ZERO): Likewise.
40960         (FP_SUBNORMAL): Likewise.
40961         (FP_NORMAL): Likewise.
40963 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
40965         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
40966         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
40967         arguments.
40969 2012-11-02  Roland McGrath  <roland@hack.frob.com>
40971         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
40972         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
40973         autoconf-time if not.
40974         * configure.in: Remove AC_PREREQ.
40976 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40978         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
40979         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
40980         of the internal implementation.
40982 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
40984         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
40985         except include of <misc/sys/syslog.h>.
40987 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
40990         function returns with a NULL context exit with zero.
40992 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40994         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
40996 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
40998         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
40999         (run_program_cmd): This.
41000         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
41001         (tst_langinfo): New variable.  Use it.
41003 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
41005         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
41006         floating point opcodes.
41008 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41010         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
41011         variable.
41013         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
41015         * sysdeps/mach/hurd/powerpc: Remove directory.
41016         * sysdeps/mach/powerpc: Likewise.
41018 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41020         * scripts/check-local-headers.sh: Ignore c++ headers.
41022 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41024         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
41025         __libc_cleanup_region_start argument.
41027 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
41029         [BZ #14784]
41030         [BZ #14785]
41031         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
41032         x * y using scaling, not as x * y + z.
41033         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41034         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41035         * math/libm-test.inc (fma_test): Add more tests.
41036         (fma_test_towardzero): Likewise.
41037         (fma_test_downward): Likewise.
41038         (fma_test_upward): Likewise.
41040 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
41042         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
41044 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41046         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
41047         New variable.
41049 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
41051         * rt/tst-shm.c (worker): Correct checking for mmap failure.
41053 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41056         Fix sort order.
41057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41058         Likewise.
41060 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41063         Fix the order of the list for glibc 2.17.
41064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41065         Likewise.
41067 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
41069         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41071 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
41073         [BZ #14610]
41074         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
41075         for low part of x being zero before using __atanl (y).
41076         * math/libm-test.inc (atan2_test): Add another test.
41078         * manual/install.texi (Configuring and compiling): Document
41079         general use of test-wrapper and test-wrapper-env.
41080         * INSTALL: Regenerated.
41082         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
41083         (__fma): Do not extract and scale down low bits on after-rounding
41084         systems when result rounded to normal precision would have normal
41085         exponent.
41086         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
41087         (__fmal): Do not extract and scale down low bits on after-rounding
41088         systems when result rounded to normal precision would have normal
41089         exponent.
41090         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
41091         (__fmal): Do not extract and scale down low bits on after-rounding
41092         systems when result rounded to normal precision would have normal
41093         exponent.
41094         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
41095         macro.
41096         (fma_test): Add more tests.
41097         (fma_test_towardzero): Likewise.
41098         (fma_test_downward): Likewise.
41099         (fma_test_upward): Likewise.
41101 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
41103         * sysdeps/i386/tininess.h: Renamed to ...
41104         * sysdeps/x86/tininess.h: This.
41105         * sysdeps/x86_64/tininess.h: Removed.
41107 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41109         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
41110         input.  Use $(build-program-cmd).
41111         ($(objpfx)tst-array1-static.out): Likewise.
41112         ($(objpfx)tst-array2.out): Likewise.
41113         ($(objpfx)tst-array3.out): Likewise.
41114         ($(objpfx)tst-array4.out): Likewise.
41115         ($(objpfx)tst-array5.out): Likewise.
41116         ($(objpfx)tst-array5-static.out): Likewise.
41118 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
41120         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
41121         if defined.
41123         * nss/nsswitch.h (nss_interface_function): Provide new
41124         macro for use with NSS functions.
41125         * grp/initgroups.c: Use new macro.
41126         * nss/getXXbyYY.c: Likewise.
41127         * nss/getXXbyYY_r.c: Likewise.
41128         * nss/getXXent.c: Likewise.
41129         * nss/getXXent_r.c: Likewise.
41130         * sysdeps/posix/getaddrinfo.c: Likewise.
41132 2012-10-30  Andreas Jaeger  <aj@suse.de>
41134         * po/ru.po: Update Russion translation from translation project.
41136 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
41138         [BZ #14152]
41139         [BZ #14783]
41140         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
41141         result and shift together with sticky bit instead of replicating
41142         round-to-nearest rounding.
41143         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41144         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41145         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
41146         missing underflow exceptions.
41147         (fma_test_towardzero): Add more tests.
41148         (fma_test_downward): Likewise.
41149         (fma_test_upward): Likewise.
41151         [BZ #14047]
41152         * sysdeps/generic/tininess.h: New file.
41153         * sysdeps/i386/tininess.h: Likewise.
41154         * sysdeps/sh/tininess.h: Likewise.
41155         * sysdeps/x86_64/tininess.h: Likewise.
41156         * stdlib/tst-strtod-underflow.c: Likewise.
41157         * stdlib/tst-tininess.c: Likewise.
41158         * stdlib/strtod_l.c: Include <tininess.h>.
41159         (round_and_return): Do not set errno for exact underflow cases.
41160         Force an underflow exception when setting errno for underflow.
41161         Determine underflow based on rounding to normal precision if
41162         TININESS_AFTER_ROUNDING.
41163         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
41164         ERANGE for exact underflow cases.
41165         * stdlib/Makefile (tests): Add tst-tininess and
41166         tst-strtod-underflow.
41167         ($(objpfx)tst-tininess): Use $(link-libm).
41168         ($(objpfx)tst-strtod-underflow): Likewise.
41170 2012-10-30  Andreas Jaeger  <aj@suse.de>
41172         [BZ#14767]
41173         * elf/Makefile (tests): Remove conditional for have-initfini-array
41174         since this is now always required and the variable does not exist
41175         anymore.
41176         (tests-static): Likewise.
41177         (modules-names): Likewise.
41179         * po/eo.po: Add Esperanto translation from translation project.
41181         * elf/tst-array1.c (fini_array): Make writeable so that it can be
41182         merged with constructor/destructor.
41183         (init_array): Likewise.
41184         * elf/tst-array2dep.c (fini_array): Likewise.
41185         (init_array): Likewise.
41187 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
41189         * manual/message.texi: Delete @cartouche tags.
41191 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
41193         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
41194         EOPNOTSUPP.
41195         * sysdeps/mach/hurd/fsync.c: Likewise.
41197         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
41198         [_POSIX_REALTIME_SIGNALS]: Change condition to
41199         [_POSIX_REALTIME_SIGNALS > 0].
41201 2012-10-27  Andreas Jaeger  <aj@suse.de>
41203         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
41204         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
41205         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
41206         [__WORDSIZE != 64]: Likewise.
41208 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
41210         *  iconvdata/tst-table.sh: Remove ${SHELL}.
41211         *  iconvdata/tst-tables.sh: Likewise.
41213 2012-10-25  David S. Miller  <davem@davemloft.net>
41215         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41216         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
41217         of strtoull.
41219         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
41220         ifunc-impl-list.c
41221         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41222         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
41223         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
41224         file.
41226 2012-10-25  Roland McGrath  <roland@hack.frob.com>
41228         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41229         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
41230         __getdirentries.
41232 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41233             Jim Blandy  <jimb@codesourcery.com>
41235         * scripts/cross-test-ssh.sh: New file.
41236         * manual/install.texi (Configuring and compiling): Document use of
41237         cross-test-ssh.sh.
41238         * INSTALL: Regenerated.
41240 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
41242         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
41243         EOPNOTSUPP.
41245 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
41247         * Makeconfig (run-program-prefix): Fix comment.
41249 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41250             Jim Blandy  <jimb@codesourcery.com>
41252         * Makeconfig (test-wrapper): New variable,
41253         (test-wrapper-env): Likewise.
41254         [$(cross-compiling) = yes && $(test-wrapper) != ""]
41255         (run-built-tests): Define to yes.
41256         (run-program-prefix): Use $(test-wrapper).
41257         (built-program-cmd): Likewise.
41258         * Rules (make-test-out): Use $(test-wrapper-env) and
41259         $(host-built-program-cmd).
41260         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
41261         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
41262         tst-pathopt.sh.
41263         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
41264         $(test-wrapper-env) to tst-rtld-load-self.sh.
41265         ($(objpfx)order2.out): Use $(test-wrapper).
41266         ($(objpfx)tst-initorder.out): Likewise.
41267         ($(objpfx)tst-initorder2.out): Likewise.
41268         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
41269         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
41270         (test_wrapper_env): New variable.  Use it to run ld.so.
41271         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
41272         Use it to run ld.so.
41273         (test_wrapper_env): Likewise.
41274         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
41275         $(test-wrapper) to run-iconv-test.sh.
41276         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
41277         (ICONV): Use $test_wrapper.
41278         * posix/Makefile ($(objpfx)globtest.out): Pass
41279         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
41280         globtest.sh, not $(run-program-prefix).
41281         * posix/globtest.sh (run_via_rtld_prefix): New variable.
41282         (test_wrapper): Likewise.
41283         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
41284         set together with run_via_rtld_prefix.
41285         (run_program_prefix): Define in terms of test_wrapper and
41286         run_via_rtld_prefix.
41288 2012-10-24  Roland McGrath  <roland@hack.frob.com>
41290         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
41291         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
41292         Targets removed.
41294         [BZ #14743]
41295         * include/time.h: Remove librt_hidden_proto (clock_gettime).
41296         Declare __clock_getres, __clock_gettime, __clock_settime,
41297         __clock_nanosleep, and __clock_getcpuclockid.
41298         * rt/clock_gettime.c: Define __clock_gettime as an alias.
41299         Remove librt_hidden_def (clock_gettime).
41300         * sysdeps/unix/clock_gettime.c: Likewise.
41301         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
41302         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41303         * rt/clock_getres.c: Define __clock_getres as an alias.
41304         * sysdeps/posix/clock_getres.c: Likewise.
41305         * rt/clock_settime.c: Define __clock_settime as an alias.
41306         * sysdeps/unix/clock_settime.c: Likewise.
41307         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
41308         * sysdeps/unix/clock_nanosleep.c: Likewise.
41309         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41310         * rt/clock-compat.c: New file.
41311         * rt/Makefile (librt-routines): Add clock-compat and move
41312         $(clock-routines) to ...
41313         (routines): ... here, new variable.
41314         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
41315         Don't add get_clockfreq here.
41316         * rt/Versions (libc: GLIBC_2.17): New version set.
41317         Add clock_* symbols here.
41318         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
41319         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
41320         (GLIBC_2.17): Add clock_* symbols.
41321         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41323         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41325         Likewise.
41326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41327         Likewise.
41328         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
41330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41332         * NEWS: Mention the move.
41334         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
41335         Use __open, __read, __close rather than their public counterparts.
41336         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41337         (__get_clockfreq_via_cpuinfo): Likewise.
41338         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
41339         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
41341         * config.h.in (HAVE_IFUNC): New #undef.
41342         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
41343         was successful.
41344         * configure: Regenerated.
41346 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41348         * configure.in: Move READELF check to start of file.
41349         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
41350         libc_cv_asm_gnu_indirect_function in the process.
41351         * configure: Regenerated.
41353 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
41355         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
41356         send the output to /dev/null.
41357         (libc_cv_cc_with_libunwind): Likewise.
41358         (libc_cv_as_noexecstack): Likewise.
41359         * configure: Regenerate.
41361 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
41363         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
41365         * posix/globtest.sh (TMPDIR): Do not set.
41366         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
41367         (testout): Likewise.
41369 2012-10-24  Andreas Jaeger  <aj@suse.de>
41371         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
41372         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
41373         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
41374         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
41375         posix_fadvise64, posix_fallocate64.
41377         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
41378         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
41379         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
41380         Likewise.
41381         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
41382         Likewise.
41383         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
41385         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
41386         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
41387         <bits/fcntl-linux.h>.
41388         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
41390         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
41391         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
41392         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
41393         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
41394         [__WORDSIZE != 64]: Likewise.
41396 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41398         * Makeconfig (run-built-tests): New variable.
41399         * Rules [$(cross-compiling) = yes]: Change condition to
41400         [$(run-built-tests) = no].
41401         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
41402         to [$(run-built-tests) = yes].
41403         * elf/Makefile [$(cross-compiling) = no]: Likewise
41404         * grp/Makefile [$(cross-compiling) = no]: Likewise.
41405         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
41406         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
41407         * intl/Makefile [$(cross-compiling) = no]: Likewise.
41408         * io/Makefile [$(cross-compiling) = no]: Likewise.
41409         * libio/Makefile [$(cross-compiling) = no]: Likewise.
41410         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
41411         * misc/Makefile [$(cross-compiling) = no]: Likewise.
41412         * posix/Makefile [$(cross-compiling) = no]: Likewise.
41413         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
41414         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
41415         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
41416         * string/Makefile [$(cross-compiling) = no]: Likewise.
41418         * posix/Makefile ($(objpfx)globtest.out): Pass
41419         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
41420         $(rtld-installed-name).
41421         * posix/globtest.sh (elf_objpfx): Remove variable.
41422         (rtld_installed_name): Likewise.
41423         (library_path): Likewise.
41424         (run_program_prefix): New variable.  Use for running globtest
41425         binary.
41427 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
41428             Joseph Myers  <joseph@codesourcery.com>
41430         * Makeconfig (host-built-program-cmd): New variable.
41431         * elf/Makefile (tst-stackguard1-ARGS): Use
41432         $(host-built-program-cmd).
41433         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
41434         (tst-spawn-ARGS): Likewise.
41435         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
41437 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
41438             Jim Blandy  <jimb@codesourcery.com>
41440         * Makeconfig (run-via-rtld-prefix): New variable.
41441         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
41442         (built-program-cmd): Likewise.
41444 2012-10-22  Andreas Jaeger  <aj@suse.de>
41446         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
41447         __O_RSYNC if it exists, otherwise to O_SYNC.
41449 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
41450             Joseph Myers  <joseph@codesourcery.com>
41452         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
41453         /dev/null.
41454         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
41455         from /dev/null
41456         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
41457         /dev/null.
41459 2012-10-22  Andreas Jaeger  <aj@suse.de>
41461         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
41462         Define always.
41463         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
41465         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41466         bits/fcntl-linux.h.
41468         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
41469         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
41471         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
41472         to __O_LARGEFILE.
41473         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
41474         to __O_LARGEFILE.
41476 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
41477             Joseph Myers  <joseph@codesourcery.com>
41479         * config.make.in (NM): New variable.
41481 2012-10-21  Andreas Jaeger  <aj@suse.de>
41483         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
41484         definitions and declarations that are provided by
41485         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
41487 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41489         [BZ #14683]
41490         * elf/Makefile (tests-static): Add tst-leaks1-static.
41491         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
41492         ($(objpfx)tst-leaks1-static): New rule.
41493         ($(objpfx)tst-leaks1-static-mem): Likewise.
41494         (tst-leaks1-static-ENV): New macro.
41495         * elf/dl-open.c (dl_open_worker): Check the main application
41496         only if SHARED is defined.
41497         * elf/tst-leaks1-static.c: New file.
41499 2012-10-20  Andreas Jaeger  <aj@suse.de>
41501         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
41502         generic values for Linux.
41503         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
41504         and declarations that are provided by <bits/fcntl-linux.h> and
41505         include <bits/fcntl-linux.h>.
41506         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41507         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41509 2012-10-20  Roland McGrath  <roland@hack.frob.com>
41511         * io/fcntl.h: Move include of <bits/types.h> to the top and
41512         include it unconditionally.
41514 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
41516         * wcsmbs/Makefile (tests-ifunc): New variable.
41517         (tests): Add $(tests-ifunc).
41518         * wcsmbs/test-wcschr-ifunc.c: New file.
41519         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
41520         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
41521         * wcsmbs/test-wcslen-ifunc.c: Likewise.
41522         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
41523         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
41525         * string/Makefile (tests-ifunc): New variable.
41526         (tests): Add $(tests-ifunc).
41527         * string/test-memccpy.c (TEST_NAME): New macro.
41528         * string/test-memchr.c (TEST_NAME): Likewise.
41529         * string/test-memcmp.c (TEST_NAME): Likewise.
41530         * string/test-memcpy.c (TEST_NAME): Likewise.
41531         * string/test-memmem.c (TEST_NAME): Likewise.
41532         * string/test-memmove.c (TEST_NAME): Likewise.
41533         * string/test-memset.c (TEST_NAME): Likewise.
41534         * string/test-rawmemchr.c (TEST_NAME): Likewise.
41535         * string/test-stpcpy.c (TEST_NAME): Likewise.
41536         * string/test-stpncpy.c (TEST_NAME): Likewise.
41537         * string/test-strcasecmp.c (TEST_NAME): Likewise.
41538         * string/test-strcasestr.c (TEST_NAME): Likewise.
41539         * string/test-strcat.c (TEST_NAME): Likewise.
41540         * string/test-strchr.c (TEST_NAME): Likewise.
41541         * string/test-strcmp.c(TEST_NAME): Likewise.
41542         * string/test-strcpy.c (TEST_NAME): Likewise.
41543         * string/test-strcspn.c (TEST_NAME): Likewise.
41544         * string/test-strlen.c (TEST_NAME): Likewise.
41545         * string/test-strncasecmp.c (TEST_NAME): Likewise.
41546         * string/test-strncmp.c (TEST_NAME): Likewise.
41547         * string/test-strncpy.c (TEST_NAME): Likewise.
41548         * string/test-strnlen.c (TEST_NAME): Likewise.
41549         * string/test-strpbrk.c (TEST_NAME): Likewise.
41550         * string/test-strrchr.c (TEST_NAME): Likewise.
41551         * string/test-strspn.c (TEST_NAME): Likewise.
41552         * string/test-strstr.c (TEST_NAME): Likewise.
41553         * string/test-bcopy-ifunc.c: New file.
41554         * string/test-bzero-ifunc.c: Likewise.
41555         * string/test-memccpy-ifunc.c: Likewise.
41556         * string/test-memchr-ifunc.c: Likewise.
41557         * string/test-memcmp-ifunc.c: Likewise.
41558         * string/test-memcpy-ifunc.c: Likewise.
41559         * string/test-memmem-ifunc.c: Likewise.
41560         * string/test-memmove-ifunc.c: Likewise.
41561         * string/test-mempcpy-ifunc.c: Likewise.
41562         * string/test-memset-ifunc.c: Likewise.
41563         * string/test-rawmemchr-ifunc.c: Likewise.
41564         * string/test-stpcpy-ifunc.c: Likewise.
41565         * string/test-stpncpy-ifunc.c: Likewise.
41566         * string/test-strcasecmp-ifunc.c: Likewise.
41567         * string/test-strcasestr-ifunc.c: Likewise.
41568         * string/test-strcat-ifunc.c: Likewise.
41569         * string/test-strchr-ifunc.c: Likewise.
41570         * string/test-strchrnul-ifunc.c: Likewise.
41571         * string/test-strcmp-ifunc.c: Likewise.
41572         * string/test-strcpy-ifunc.c: Likewise.
41573         * string/test-strcspn-ifunc.c: Likewise.
41574         * string/test-strlen-ifunc.c: Likewise.
41575         * string/test-strncasecmp-ifunc.c: Likewise.
41576         * string/test-strncat-ifunc.c: Likewise.
41577         * string/test-strncmp-ifunc.c: Likewise.
41578         * string/test-strncpy-ifunc.c: Likewise.
41579         * string/test-strnlen-ifunc.c: Likewise.
41580         * string/test-strpbrk-ifunc.c: Likewise.
41581         * string/test-strrchr-ifunc.c: Likewise.
41582         * string/test-strspn-ifunc.c: Likewise.
41583         * string/test-strstr-ifunc.c: Likewise.
41585         * debug/Makefile (tests-ifunc): New variable.
41586         (tests): Add $(tests-ifunc).
41587         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
41588         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
41589         * debug/test-stpcpy_chk-ifunc.c: New file.
41590         * debug/test-strcpy_chk-ifunc.c: Likewise.
41592 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41594         [BZ #13601]
41595         * elf/dl-load.c (open_verify): Retry read if the entire ELF
41596         header is not read in.
41598 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
41600         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
41601         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
41602         directly.  Pass built executable to script as
41603         $(built-program-cmd).
41604         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
41605         $testprogram without using LD_LIBRARY_PATH and $ldso.
41607         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
41608         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
41609         $(rtld-installed-name).
41610         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
41611         (rtld_installed_name): Likewise.
41612         (library_path): Likewise.
41613         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
41614         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
41615         $(run-program-prefix) to tst-tables.sh.
41616         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
41617         it to run tst-table-from and tst-table-to.
41618         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
41619         Pass it to tst-table.sh.
41620         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
41621         $(run-program-prefix) to tst-gettext.sh.
41622         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
41623         tst-translit.sh.
41624         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
41625         tst-gettext2.sh.
41626         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
41627         to run tst-gettext.
41628         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
41629         to run tst-gettext2.
41630         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
41631         to run tst-translit.
41632         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
41633         $(run-program-prefix) to tst-mtrace.sh.
41634         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
41635         to run tst-mtrace.
41636         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
41637         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
41638         $(rtld-installed-name).
41639         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
41640         (rtld_installed_name): Likewise.
41641         (run_program_prefix): New variable.  Use it to run wordexp-test.
41643         * Makeconfig (ARCH): Remove all definitions.
41644         (machine): Likewise.
41645         [ARCH]: Remove conditional code.
41646         [!objdir]: Give error.
41647         [!objdir] (objpfx): Remove.
41648         [!objdir] (common-objpfx): Likewise.
41649         [!objdir] (common-objdir): Likewise.
41650         * configure.in (config_makefile): Remove.  Hardcode Makefile in
41651         AC_CONFIG_FILES call.
41652         * configure: Regenerated.
41654         [BZ #13888]
41655         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
41656         or TMPDIR.
41657         (testout): Likewise.
41659         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
41660         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
41661         $(rtld-installed-name).
41662         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
41663         (rtld_installed_name): Likwise.
41664         (runit): Remove function.
41665         (run_getconf): New variable,  Use it for running getconf binary.
41667 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
41669         [BZ #14716]
41670         * string/test-memmem.c (check_result): New function.
41671         (do_one_test): Use it.
41672         (check1): New function.
41673         (test_main): Use it.
41675 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
41677         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
41679 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
41681         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
41682         (_G_LSEEK64): Likewise.
41683         (_G_MMAP64): Likewise.
41684         (_G_FSTAT64): Likewise.
41685         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
41686         (_G_LSEEK64): Likewise.
41687         (_G_MMAP64): Likewise.
41688         (_G_FSTAT64): Likewise.
41689         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
41690         unconditional.  Call __mmap64 directly.
41691         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
41692         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
41693         __lseek64 directly.
41694         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
41695         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
41696         __mmap64 directly.
41697         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
41698         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
41699         __lseek64 directly.
41700         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
41701         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
41702         __lseek64 directly.
41703         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
41704         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
41705         __lseek64 directly.
41706         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
41707         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
41708         __fxstat64 directly.
41709         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
41710         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
41711         unconditional.
41712         (freopen64) [!_G_OPEN64]: Remove conditional code.
41713         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
41714         unconditional.
41715         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
41716         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
41717         unconditional.
41718         (ftello64) [!_G_LSEEK64]: Remove conditional code.
41719         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
41720         unconditional.
41721         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41722         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
41723         unconditional.
41724         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
41725         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
41726         unconditional.
41727         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41728         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
41729         unconditional.
41730         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
41731         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
41732         unconditional.
41733         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
41735 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41737         [BZ #12140]
41738         * manual/memory.texi (Malloc Tunable Parameters): Add note
41739         about free list pointers overwriting some perturb bytes.
41740         Wording suggested by Roland McGrath.
41742 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
41744         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
41745         (lgamma_test): Likewise.
41746         (tgamma_test): Likewise.
41748 2012-10-16  Florian Weimer  <fweimer@redhat.com>
41750         [BZ #14700]
41751         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
41752         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
41754 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
41756         * NEWS: Mention BZ #14716.
41757         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
41758         when removing AVAILABLE1_USES_J macro.
41760 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
41762         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
41763         (__bswap_64): __uint64_t for unsigned 64-bit int.
41765 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
41767         * include/string.h (memmem): Declare libc hidden alias.
41768         * string/memmem.c (memmem): Define libc hidden alias.
41769         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
41770         __read, __close instead of open, read, close.
41772 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
41774         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
41775         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
41776         global and hidden.
41777         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
41778         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
41779         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
41780         Likewise.
41781         (__rawmemchr_sse2): Likewise.
41782         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
41783         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
41784         (__strchr_sse2): Likewise.
41785         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
41786         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
41787         (__strcasecmp_sse2): Likewise.
41788         (__strncasecmp_sse2): Likewise.
41789         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
41790         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
41791         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
41792         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
41793         (__strrchr_sse2): Likewise.
41794         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
41795         ifunc-impl-list.c.
41796         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
41797         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
41798         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
41799         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41800         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
41801         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
41802         * sysdeps/x86_64/multiarch/memset.S: Likewise.
41803         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41804         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
41805         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
41806         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
41807         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
41808         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
41809         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
41810         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
41811         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41812         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
41813         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
41814         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
41815         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
41816         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
41817         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
41818         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
41819         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
41820         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
41821         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41822         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
41823         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41824         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
41825         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
41827         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
41828         global and hidden.
41829         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
41830         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
41831         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
41832         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
41833         Likewise.
41834         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
41835         Likewise.
41836         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
41837         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
41838         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
41839         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
41840         ifunc-impl-list.c.
41841         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
41842         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
41843         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
41844         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41845         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41846         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41847         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41848         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41849         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41850         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
41851         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
41852         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
41853         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
41854         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
41855         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
41856         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41857         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
41858         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
41859         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
41860         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
41861         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41862         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
41863         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
41864         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
41865         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41866         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
41867         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
41868         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
41869         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
41870         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
41871         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
41872         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
41873         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
41874         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
41875         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
41876         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
41877         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
41878         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
41879         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
41880         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
41881         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
41883         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
41884         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
41885         * include/ifunc-impl-list.h: New file.
41886         * misc/ifunc-impl-list.c: Likewise.
41887         * misc/Makefile (routines): Add ifunc-impl-list.
41888         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
41889         * string/test-string.h: Include <ifunc-impl-list.h>.
41890         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
41891         TEST_NAME]: New variables.
41892         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
41893         are defined.
41894         (test_init): Call __libc_ifunc_impl_list to initialize
41895         func_list if TEST_IFUNC and TEST_NAME are defined.
41897         * string/Makefile (strop-tests): Add bcopy and bzero.
41898         * string/test-bcopy.c: New file.
41899         * string/test-bzero.c: Likewise.
41900         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
41901         defined.
41902         * string/test-memset.c: Support bzero test if TEST_BZERO is
41903         defined.
41904         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
41905         __libc_memmove.
41906         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
41907         __libc_memset.
41908         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
41909         of memset.
41911 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
41913         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
41914         * configure: Regenerated.
41916         * Makeconfig (+link-static-before-libc): Don't include
41917         $(link-static-libc).
41919         * libio/libio.h (_IO_pos_t): Remove.
41921 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41923         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
41924         McGrath.
41926 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41928         * crypt/crypt-entry.c: Include fips-private.h.
41929         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
41930         * crypt/md5c-test.c (main): Tolerate disabled MD5.
41931         * sysdeps/unix/sysv/linux/fips-private.h: New file.
41932         * sysdeps/generic/fips-private.h: New file, dummy fallback.
41934 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
41936         * crypt/crypt-private.h: Include stdbool.h.
41937         (_ufc_setup_salt_r): Return bool.
41938         * crypt/crypt-entry.c: Include errno.h.
41939         (__crypt_r): Return NULL with EINVAL for bad salt.
41940         * crypt/crypt_util.c (bad_for_salt): New.
41941         (_ufc_setup_salt_r): Check that salt is long enough and within
41942         the specified alphabet.
41943         * crypt/badsalttest.c: New file.
41944         * crypt/Makefile (tests): Add it.
41945         ($(objpfx)badsalttest): New.
41947 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
41949         * NEWS: Add entry for BZ #14602.
41951 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
41953         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
41954         type-generic.
41955         * math/libm-test.inc: Update comment listing what functions and
41956         macros are tested.
41957         (isgreater_test): New function.
41958         (isgreaterequal_test): Likewise.
41959         (isless_test): Likewise.
41960         (islessequal_test): Likewise.
41961         (islessgreater_test): Likewise.
41962         (isunordered_test): Likewise.
41963         (main): Call the new functions.
41965 2012-10-09  Roland McGrath  <roland@hack.frob.com>
41967         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
41968         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
41969         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
41970         * sysdeps/i386/configure: Regenerated.
41971         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
41972         * sysdeps/mach/configure: Regenerated.
41973         * sysdeps/mach/hurd/configure: Regenerated.
41974         * sysdeps/powerpc/configure: Regenerated.
41975         * sysdeps/powerpc/powerpc32/configure: Regenerated.
41976         * sysdeps/powerpc/powerpc64/configure: Regenerated.
41977         * sysdeps/s390/s390-32/configure: Regenerated.
41978         * sysdeps/s390/s390-64/configure: Regenerated.
41979         * sysdeps/sh/configure: Regenerated.
41980         * sysdeps/sparc/configure: Regenerated.
41981         * sysdeps/unix/sysv/linux/configure: Regenerated.
41982         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41983         * sysdeps/x86_64/configure: Regenerated.
41985         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
41986         defined.  Don't check if MAP is NULL.
41988 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
41990         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
41991         (_G_stat64): Likewise.
41992         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
41993         (_G_stat64): Likewise.
41994         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
41995         instead of struct _G_stat64.
41996         * libio/fileops.c (mmap_remap_check): Likewise.
41997         (decide_maybe_mmap): Likewise.
41998         (_IO_new_file_seekoff): Likewise.
41999         (_IO_file_stat): Likewise.
42000         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
42001         _G_off64_t.
42002         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
42003         instead of struct _G_stat64.
42004         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42006 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
42008         [BZ #14602]
42009         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42010         Replace with ...
42011         (CHECK_EOL): New macro.
42012         (two_way_short_needle): Check beginning of haystack for EOL.  Use
42013         CHECK_EOL.
42014         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42015         Replace with CHECK_EOL.
42016         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
42017         Replace with CHECK_EOL.
42019 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
42021         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
42022         type-generic.
42023         * math/libm-test.inc: Update comment listing what functions and
42024         macros are tested.
42025         (finite_test): New function.
42026         (isinf_test): Likewise.
42027         (isnan_test): Likewise.
42028         (fpclassify_test): Test subnormal input.
42029         (isfinite_test): Likewise.
42030         (isnormal_test): Likewise.
42031         (main): Call the new functions.
42033 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
42035         [BZ #14660]
42036         * Makerules (%.dynsym): Force C locale when running
42037         $(OBJDUMP) --dynamic-syms.
42039 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
42041         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
42042         <stdint.h>.
42044 2012-10-06  David S. Miller  <davem@davemloft.net>
42046         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
42047         upper 32-bits of the length value in %o2 since we use branch-on-register
42048         tests which consider the entire 64-bit register.
42050 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
42052         * string/test-strstr.c (check2): Add a test for page boundary.
42054 2012-10-05  David S. Miller  <davem@davemloft.net>
42056         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
42057         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
42058         file.
42059         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42060         sysdep_routines.
42061         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42062         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
42063         and bzero when HWCAP_SPARC_CRYPTO is present.
42065 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
42067         [BZ #14602]
42068         * string/test-strstr.c (check2): New function.
42069         (test_main): Call check2.
42071         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
42072         and bug-strchr1.
42073         * string/bug-strcasestr1.c (do_test): Moved to ...
42074         * string/test-strcasestr.c (check1): Here.  New function.
42075         (do_one_test): Break out result checking code into ...
42076         (check_result): This.  New function.
42077         (do_one_test): Call check_result.
42078         (test_main): Call check1.
42079         * string/bug-strchr1.c (do_test): Moved to ...
42080         * string/test-strchr.c (check1): Here.  New function.
42081         (do_one_test): Break out result checking code into ...
42082         (check_result): This.  New function.
42083         (do_one_test): Call check_result.
42084         (test_main): Call check1.
42085         * string/bug-strstr1.c (main): Moved to ...
42086         * string/test-strstr.c (check1): Here.  New function.
42087         (do_one_test): Break out result checking code into ...
42088         (check_result): This.  New function.
42089         (do_one_test): Call check_result.
42090         (test_main): Call check1.
42091         * string/bug-strcasestr1.c: Removed.
42092         * string/bug-strchr1.c: Likewise.
42093         * string/bug-strstr1.c: Likewise.
42095         * elf/Makefile (dl-routines): Add hwcaps.
42096         * elf/dl-support.c (_dl_important_hwcaps): Removed.
42097         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
42098         (_dl_important_hwcaps): Moved to ...
42099         * elf/dl-hwcaps.c: Here.  New file.
42100         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
42102         [BZ #14557]
42103         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
42104         if IS_IN_rtld isn't defined.
42106         * elf/dl-support.c (_dl_sysinfo_map): New.
42107         Include "get-dynamic-info.h" and "setup-vdso.h".
42108         (_dl_non_dynamic_init): Call setup_vdso.
42109         * elf/dynamic-link.h: Don't include <assert.h>.
42110         (elf_get_dynamic_info): Moved to ...
42111         * elf/get-dynamic-info.h: Here.  New file.
42112         * elf/dynamic-link.h: Include "get-dynamic-info.h".
42113         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
42114         * elf/setup-vdso.h: Here.  New file.
42115         * elf/rtld.c: Include "setup-vdso.h".
42116         (dl_main): Call setup_vdso.
42118 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
42120         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
42121         creal in comment listing functions tested.  List finite, isinf,
42122         isnan, isless, islessequal, isgreater, isgreaterequal,
42123         islessgreater, isunordered, lgamma_r and pow10 as functions and
42124         macros not tested.  Mention which functions not tested are aliases
42125         for other functions.  Fix typo.  Note that signs of NaNs are not
42126         tested.
42128         * scripts/config.guess: Update from config.git.
42129         * scripts/config.sub: Likewise.
42131 2012-10-04  Roland McGrath  <roland@hack.frob.com>
42133         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
42134         * misc/madvise.c (madvise): Renamed to __madvise.
42135         Make madvise a weak alias.
42136         * include/sys/mman.h: Declare __madvise.
42137         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
42138         * sysdeps/unix/syscalls.list
42139         (madvise): Make __madvise the strong name, and madvise a weak alias.
42140         * sysdeps/unix/sysv/linux/syscalls.list
42141         (madvise, mmap): Remove redundant entries.
42142         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
42143         * malloc/malloc.c (mtrim): Likewise.
42144         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
42146 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42148         * sysdeps/mach/hurd/dl-cache.c: File removed.
42149         * config.h.in (USE_LDCONFIG): New #undef.
42150         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
42151         * configure: Regenerated.
42152         * elf/Makefile (dl-routines): Add dl-cache only under
42153         [$(use-ldconfig) = yes].
42154         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
42155         cache on [USE_LDCONFIG].
42156         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
42157         [USE_LDCONFIG].
42158         * elf/rtld.c (dl_main): Likewise.
42160 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
42162         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
42163         _SC_LEVEL4_CACHE_LINESIZE.
42165 2012-10-03  Roland McGrath  <roland@hack.frob.com>
42167         * sysdeps/unix/bsd/confstr.h: File removed.
42169 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
42171         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
42172         sys/sdt-config.h.
42174 2012-10-02  Roland McGrath  <roland@hack.frob.com>
42176         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
42177         Make 'mapoff' field ElfW(Off) rather than off_t.
42179 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
42181         * nscd/Makefile: Remove nscd-cflags and all its users.
42182         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
42183         (CFLAGS-nonlib): Add compiler flags for nscd modules.
42185         [BZ #10631]
42186         * malloc.c (malloc_printerr): Clarify error message.
42188 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
42190         [BZ #14648]
42191         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42192         Set bit_FMA_Usable if FMA is supported.
42193         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
42194         macro.
42195         (bit_FMA4_Usable): Updated.
42196         (index_FMA_Usable): New macro.
42197         (CPUID_FMA): Likewise
42198         (HAS_FMA): Defined with bit_FMA_Usable.
42200 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42202         * bits/types.h (__swblk_t): Type removed.
42203         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
42204         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
42205         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42206         (__SWBLK_T_TYPE): Likewise.
42207         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42208         (__SWBLK_T_TYPE): Likewise.
42209         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42210         (__SWBLK_T_TYPE): Likewise.
42211         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42212         (__SWBLK_T_TYPE): Likewise.
42214 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
42215             Honza Horak <hhorak@redhat.com>
42217         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
42218         (xdr_mapname): Use YPMAXMAP as maxsize.
42219         (xdr_peername): Use YPMAXPEER as maxsize.
42220         (xdr_keydat): Use YPAXRECORD as maxsize.
42221         (xdr_valdat): Use YPMAXRECORD as maxsize.
42223 2012-10-01  Roland McGrath  <roland@hack.frob.com>
42225         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
42227         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
42228         * csu/init-first.c: ... here.
42229         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
42230         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
42231         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
42232         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
42233         * sysdeps/i386/init-first.c: File removed.
42234         * sysdeps/sh/init-first.c: File removed.
42236 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
42238         [BZ #14645]
42239         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
42240         if x * y might underflow to zero and z is zero.
42241         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42242         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42243         * math/libm-test.inc (min_subnorm_value): New variable.
42244         (fma_test): Add more tests.
42245         (fma_test_towardzero): Likewise.
42246         (fma_test_downward): Likewise
42247         (fma_test_upward): Likewise.
42248         (initialize): Set min_subnorm_value.
42250 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
42252         [BZ #14638]
42253         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
42254         0 + 0.
42255         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
42256         mode for addition resulting in exact zero.
42257         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
42258         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
42259         exact 0 + 0.
42260         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42261         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42262         * math/libm-test.inc (fma_test): Add more tests.
42263         (fma_test_towardzero): New function.
42264         (fma_test_downward): Likewise.
42265         (fma_test_upward): Likewise.
42266         (main): Call the new functions.
42268 2012-09-28  David S. Miller  <davem@davemloft.net>
42270         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
42272 2012-09-28  Roland McGrath  <roland@hack.frob.com>
42274         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
42275         instead of SIGALRM.
42277         * sysdeps/gnu/_G_config.h: Moved to ...
42278         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
42279         * sysdeps/mach/hurd/_G_config.h: Moved to ...
42280         * sysdeps/generic/_G_config.h: ... here.
42282         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
42284         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
42286         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
42287         Conditionalize target on [libnss_test1.so-version].
42289         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
42291         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
42292         (elfobjdir): Move out of conditionals.
42294         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
42295         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
42296         (__nss_lookup_function): Conditionalize label remove_from_tree on
42297         [!DO_STATIC_NSS || SHARED], matching its only use.
42299 2012-09-28  David S. Miller  <davem@davemloft.net>
42301         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
42302         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
42303         file.
42304         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
42305         sysdep_routines.
42306         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
42307         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
42308         when HWCAP_SPARC_CRYPTO is present.
42310 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42312         * io/tst-mknodat.c: Create a FIFO instead of a socket.
42314 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
42316         [BZ #6530]
42317         * stdio-common/vfprintf.c (process_string_arg): Revert
42318         2000-07-22 change.
42320 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
42322         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
42323         for testcase.
42324         * stdio-common/tst-sprintf.c: Include <locale.h>
42325         (main): Test sprintf's handling of incomplete multibyte
42326         characters.
42328 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
42330         * elf/dl-runtime.c (VERSYMIDX): Removed.
42331         * elf/dl-version.c (VERSYMIDX): Likewise.
42332         * elf/do-rel.h (VERSYMIDX): Likewise.
42333         (VALIDX): Likewise.
42334         * elf/dynamic-link.h (VERSYMIDX): Likewise.
42335         * elf/rtld.c (VALIDX): Likewise.
42336         (ADDRIDX): Likewise.
42337         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
42338         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
42339         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
42340         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
42341         (VALIDX): Likewise.
42342         (ADDRIDX): Likewise.
42344 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42346         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
42348 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
42350         [BZ #11438]
42351         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
42352         to global scope.
42353         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
42354         addresses are in the same scope as 192.0.2/24.
42355         * posix/gai.conf: Document new scope table defaults.
42357 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42359         [BZ #5298]
42360         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
42361         for ftell.  Compute offsets from write pointers instead.
42362         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
42364 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42366         [BZ #14543]
42367         * libio/Makefile (tests): New test case tst-fseek.
42368         * libio/tst-fseek.c: New test case to verify that fseek/ftell
42369         combination works in wide mode.
42370         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
42371         state when the external buffer state changes.
42373 2012-09-27  David S. Miller  <davem@davemloft.net>
42375         [BZ #14376]
42376         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
42377         pass reloc->r_addend in as the 'high' argument to
42378         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
42380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42382 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
42384         * rt/tst-aio2.c: Include <pthread.h>.
42385         * rt/tst-aio3.c: Likewise.
42387 2012-09-27  Steve Ellcey  <sellcey@mips.com>
42389         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
42391 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
42393         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
42394         contents on [SHARED].
42396 2012-09-26  Marek Polacek  <polacek@redhat.com>
42398         [BZ #14530]
42399         [BZ #13741]
42400         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
42401         for C++ and GCC <4.3 as well as for non GCC compilers.
42403 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
42405         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42407 2012-09-25  Roland McGrath  <roland@hack.frob.com>
42409         * Makefile.in (all, install): Declare with .PHONY.
42410         Reported by Michael Hope <michael.hope@linaro.org>.
42412 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42414         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
42415         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
42416         system header.
42417         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
42418         Likewise.
42419         (sydep_routines): Add the new and the internal functions.
42420         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
42421         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
42422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
42423         (GLIBC_2.17): Add the new function.
42424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42425         (GLIBC_2.17): Likewise.
42426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
42427         (GLIBC_2.17): Likewise.
42428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
42429         (GLIBC_2.17): Likewise.
42430         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
42432 2012-09-25  Alan Modra  <amodra@gmail.com>
42434         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
42435         Add release barrier before setting once_control to say
42436         initialisation is done.  Add hints on lwarx.  Use macro in
42437         place of isync.
42438         (clear_once_control): Add release barrier.
42440 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42442         [BZ #13629]
42443         * math/s_clog.c (__clog): Handle more values close to |z| = 1
42444         specially.
42445         * math/s_clog10.c (__clog10): Likewise.
42446         * math/s_clog10f.c (__clog10f): Likewise.
42447         * math/s_clog10l.c (__clog10l): Likewise.
42448         * math/s_clogf.c (__clogf): Likewise.
42449         * math/s_clogl.c (__clogl): Likewise.
42450         * math/Makefile (libm-calls): Add x2y2m1.
42451         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
42452         (__x2y2m1): Likewise.
42453         (__x2y2m1l): Likewise.
42454         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
42455         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
42456         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
42457         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42458         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
42459         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
42460         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
42461         * sysdeps/i386/fpu/libm-test-ulps: Update.
42462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42464         [BZ #14621]
42465         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
42466         int as type of variable DEPTH.
42467         (glob): Use size_t instead of int as type of variables NEWCOUNT
42468         and OLD_PATHC.
42470 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42472         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
42473         Add s_sincosf-sse2.
42474         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
42475         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
42476         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
42477         macros for using routine as __sincosf_ia32.
42478         Use macro for function declaration and weak_alias.
42479         * sysdeps/i386/fpu/libm-test-ulps: Update.
42481         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
42482         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42484         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
42485         subnormal argument.
42486         * math/s_cexpf.c (__cexpf): Likewise.
42487         * math/s_csinf.c (__csinf): Likewise.
42488         * math/s_csinhf.c (__csinhf): Likewise.
42489         * math/s_ctanf.c (__ctanf): Likewise.
42490         * math/s_ctanhf.c (__ctanhf): Likewise.
42491         * math/s_ccosh.c (__ccoshf): Likewise.
42492         * math/s_cexp.c (__cexpl): Likewise.
42493         * math/s_csin.c (__csin): Likewise.
42494         * math/s_csinh.c (__csinh): Likewise.
42495         * math/s_ctan.c (__ctan): Likewise.
42496         * math/s_ctanh.c (ctanh): Likewise.
42497         * math/s_ccoshl.c (__ccoshl): Likewise.
42498         * math/s_cexpl.c (__cexpl): Likewise.
42499         * math/s_csinl.c (__csinl): Likewise.
42500         * math/s_csinhl.c (__csinhl): Likewise.
42501         * math/s_ctanl.c (__ctanl): Likewise.
42502         * math/s_ctanhl.c (__ctanhl): Likewise.
42504 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
42506         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
42507         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
42508         (_IO_off_t): Define to __off_t, not _G_off_t.
42509         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
42510         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
42511         (_IO_wint_t): Define to wint_t, not _G_wint_t.
42512         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
42513         type of __dummy and __dummy2 fields.
42514         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
42515         (_G_ssize_t): Likewise.
42516         (_G_off_t): Likewise.
42517         (_G_pid_t): Likewise.
42518         (_G_uid_t): Likewise.
42519         (_G_wchar_t): Likewise.
42520         (_G_wint_t): Likewise.
42521         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
42522         (_G_ssize_t): Likewise.
42523         (_G_off_t): Likewise.
42524         (_G_pid_t): Likewise.
42525         (_G_uid_t): Likewise.
42526         (_G_wchar_t): Likewise.
42527         (_G_wint_t): Likewise.
42528         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
42529         (_G_ssize_t): Likewise.
42530         (_G_off_t): Likewise.
42531         (_G_pid_t): Likewise.
42532         (_G_uid_t): Likewise.
42533         (_G_wchar_t): Likewise.
42534         (_G_wint_t): Likewise.
42536 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42538         * malloc/arena.c: Include malloc-sysdep.h.
42539         (shrink_heap): Use check_may_shrink_heap to decide if madvise
42540         is sufficient to shrink the heap or an unmap is needed.
42541         * sysdeps/generic/malloc-sysdep.h: New file.  Define
42542         new function check_may_shrink_heap.
42543         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
42544         new function check_may_shrink_heap.
42546 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42548         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
42549         comments.
42551 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
42553         * catgets/test-gencat.sh: Add "set -e".
42554         * elf/tst-pathopt.sh: Likewise.
42555         * grp/tst_fgetgrent.sh: Likewise.
42556         * iconvdata/run-iconv-test.sh: Likewise.
42557         * intl/tst-gettext.sh: Likewise.
42558         * intl/tst-gettext2.sh: Likewise.
42559         * intl/tst-gettext4.sh: Likewise.
42560         * intl/tst-gettext6.sh: Likewise.
42561         * intl/tst-translit.sh: Likewise.
42562         * io/ftwtest-sh: Likewise.
42563         * libio/test-freopen.sh: Likewise.
42564         * malloc/tst-mtrace.sh: Likewise.
42565         * posix/globtest.sh: Likewise.
42566         * posix/tst-getconf.sh: Likewise.
42567         * posix/wordexp-tst.sh: Likewise.
42568         * stdio-common/tst-printf.sh: Likewise.
42569         * stdio-common/tst-unbputc.sh: Likewise.
42570         * stdlib/tst-fmtmsg.sh: Likewise.
42571         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42572         * catgets/Makefile: Do not specify -e option when running
42573         testsuite shell scripts.
42574         * elf/Makefile: Likewise.
42575         * grp/Makefile: Likewise.
42576         * iconvdata/Makefile: Likewise.
42577         * intl/Makefile: Likewise.
42578         * io/Makefile: Likewise.
42579         * libio/Makefile: Likewise.
42580         * malloc/Makefile: Likewise.
42581         * posix/Makefile: Likewise.
42582         * stdio-common/Makefile: Likewise.
42583         * stdlib/Makefile: Likewise.
42584         * sysdeps/x86_64/Makefile: Likewise.
42586         * io/ftwtest-sh: Add copyright header.
42587         * posix/globtest.sh: Likewise.
42588         * posix/tst-getconf.sh: Likewise.
42589         * posix/wordexp-tst.sh: Likewise.
42590         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
42592 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
42594         [BZ #13679]
42595         * Makeconfig (+link): Defined as $(+link-static) if
42596         $(build-shared) isn't yes.
42597         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
42598         isn't yes.
42599         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
42601         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
42603         [BZ #14562]
42604         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
42605         new chunk size with MALLOC_ALIGN_MASK.
42607 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
42609         [BZ #5044]
42610         * stdio-common/printf_fphex.c: Include <stdbool.h> and
42611         <rounding-mode.h>.
42612         (__printf_fphex): Determine rounding using get_rounding_mode and
42613         round_away.
42614         * stdio-common/tst-printf-round.c (struct hex_test): New
42615         structure.
42616         (hex_tests): New variable.
42617         (test_hex_in_one_mode): New function.
42618         (do_test): Also run tests for hex float output.
42620 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
42622         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42623         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42624         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
42625         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
42626         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
42627         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
42628         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42629         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
42631 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
42633         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
42634         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
42635         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
42636         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
42638 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
42640         [BZ #14579]
42641         * elf/rtld.c (dl_main): Limit the check for self loading to normal
42642         mode only.
42643         * elf/tst-rtld-load-self.sh: New test.
42644         * elf/Makefile: Run it.
42646 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
42648         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
42649         (tst-writev-ENV): Remove.
42650         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
42652 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
42654         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
42656 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
42658         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
42659         unconditional.
42660         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
42661         Likewise.
42662         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
42663         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
42664         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
42665         Likewise.
42667 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
42669         [BZ #14587]
42670         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
42671         * config.make.in (have-cpp-asm-debuginfo): Removed.
42672         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
42673         * configure: Regenerated.
42675 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
42677         [BZ #5044]
42678         * stdio-common/printf_fp.c: Include <stdbool.h> and
42679         <rounding-mode.h>.
42680         (___printf_fp): Determine rounding using get_rounding_mode and
42681         round_away.
42682         * stdio-common/tst-printf-round.c: New file.
42683         * stdio-common/Makefile (tests): Add tst-printf-round.
42684         (link-libm): New variable.
42685         ($(objpfx)tst-printf-round): Depend in $(link-libm).
42687 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
42689         [BZ #14576]
42690         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
42691         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
42692         Likewise.
42693         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
42694         Likewise.
42696 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
42698         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
42699         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42700         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42701         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
42703 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
42705         [BZ #14518]
42706         * include/rounding-mode.h: New file.
42707         * sysdeps/generic/get-rounding-mode.h: Likewise.
42708         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
42709         * stdlib/strtod_l.c: Include <rounding-mode.h>.
42710         (MAX_VALUE): New macro.
42711         (MIN_VALUE): Likewise.
42712         (overflow_value): New function.
42713         (underflow_value): Likewise.
42714         (round_and_return): Use overflow_value and underflow_value to
42715         determine return values in overflow and underflow cases.  Use
42716         round_away to determine rounding depending on rounding mode.
42717         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
42718         determine return values in overflow and underflow cases.
42719         * stdlib/tst-strtod-round.c: Include <fenv.h>.
42720         (struct test_results): New structure.
42721         (struct test): Use struct test_results to store expected results
42722         for all rounding modes.
42723         (TEST): Include expected results for all rounding modes.
42724         (test_in_one_mode): New function.
42725         (do_test): Use test_in_one_mode to compute and check results.
42726         Check results for all rounding modes.
42727         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
42728         $(link-libm).
42730 2012-12-09  Allan McRae  <allan@archlinux.org>
42732         * sysdeps/i386/fpu/libm-test-ulps: Update
42734 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
42736         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
42737         (_G_int32_t): Likewise.
42738         (_G_uint16_t): Likewise.
42739         (_G_uint32_t): Likewise.
42740         (_G_HAVE_BOOL): Likewise.
42741         (_G_HAVE_ATEXIT): Likewise.
42742         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42743         (_G_HAVE_IO_FILE_OPEN): Likewise.
42744         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
42745         (_G_int32_t): Likewise.
42746         (_G_uint16_t): Likewise.
42747         (_G_uint32_t): Likewise.
42748         (_G_HAVE_BOOL): Likewise.
42749         (_G_HAVE_ATEXIT): Likewise.
42750         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42751         (_G_HAVE_IO_FILE_OPEN): Likewise.
42752         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
42753         (_G_int32_t): Likewise.
42754         (_G_uint16_t): Likewise.
42755         (_G_uint32_t): Likewise.
42756         (_G_HAVE_BOOL): Likewise.
42757         (_G_HAVE_ATEXIT): Likewise.
42758         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
42759         (_G_HAVE_IO_FILE_OPEN): Likewise.
42761 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
42763         * csu/libc-tls.c: Update copyright years.
42765 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
42767         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
42768         [!_G_USING_THUNKS]: Remove conditional code.
42769         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
42770         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
42772         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
42773         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
42774         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42775         (_G_VTABLE_LABEL_PREFIX): Likewise.
42776         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42777         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42778         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42779         (_G_VTABLE_LABEL_PREFIX): Likewise.
42780         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42781         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
42782         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
42783         (_G_VTABLE_LABEL_PREFIX): Likewise.
42784         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
42786 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
42788         * libio/Makefile: Include ../Makeconfig before tests.
42789         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
42790         only if $(build-shared) is yes.
42792         * iconv/gconv_db.c: Update copyright years.
42794 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42796         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
42797         unwind info if defined PIC. Fix special cases description.
42798         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
42800         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
42801         DP_HI_MASK entry.
42802         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
42804 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
42806         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
42808         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
42809         is NULL.
42811         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
42812         (LDLIBS-tst-chk4): This.
42813         (LDFLAGS-tst-chk5): Renamed to ...
42814         (LDLIBS-tst-chk5): This.
42815         (LDFLAGS-tst-chk6): Renamed to ...
42816         (LDLIBS-tst-chk6): This.
42817         (LDFLAGS-tst-lfschk4): Renamed to ...
42818         (LDLIBS-tst-lfschk4): This.
42819         (LDFLAGS-tst-lfschk5): Renamed to ...
42820         (LDLIBS-tst-lfschk5): This.
42821         (LDFLAGS-tst-lfschk6): Renamed to ...
42822         (LDLIBS-tst-lfschk6): This.
42824         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
42825         on $(common-objpfx)soversions.mk.
42827 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
42829         [BZ #10014]
42830         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
42831         example host name.
42833 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
42835         * malloc/arena.c (arena_get_retry): New function that gets
42836         another arena for the caller to try its request on.
42837         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
42838         current arena cannot fulfill the request.
42839         (__libc_memalign): Likewise.
42840         (__libc_memalign): Likewise.
42841         (__libc_pvalloc): Likewise.
42842         (__libc_calloc): Likewise.
42844 2012-09-05  John Tobey  <john.tobey@gmail.com>
42846         [BZ #13542]
42847         * manual/arith.texi (Operations on Complex): Fix description
42848         of carg branch cut.
42850 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
42852         [BZ #10014]
42853         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
42854         host name.
42856         [BZ #10038]
42857         * manual/memory.texi (Memory): Make order of menu items match
42858         order of sections.
42860 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42862         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
42863         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
42864         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
42866 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42868         * csu/libc-tls.c (static_dtv): Renamed to ...
42869         (_dl_static_dtv): This.  Make it global.
42870         (_dl_initial_dtv): Removed.
42871         (__libc_setup_tls): Updated.
42872         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
42873         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
42874         DL_INITIAL_DTV.
42876 2012-09-06  Petr Machata  <pmachata@redhat.com>
42878         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
42879         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
42880         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
42881         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
42883 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42885         [BZ #14545]
42886         * csu/libc-tls.c (_dl_initial_dtv): New variable.
42887         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
42888         freeing dtv[-1].
42890 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
42892         [BZ #14544]
42893         * Makeconfig (link-static-before-libc): Replace $(+prector)
42894         with $(+prectorT).
42895         (link-static-after-libc): Replace $(+postctor) with
42896         $(+postctorT).
42897         (link-bounded): Replace $(+prector)/$(+postctor) with
42898         $(+prectorT)/$(+postctorT).
42899         (+prectorT): New macro.
42900         (+postctorT): Likewise.
42902 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
42904         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
42905         (round_str): Handle values above the maximum for IBM long double
42906         as inexact.
42907         * stdlib/tst-strtod-round.c (tests): Regenerated.
42909 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42911         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
42912         assembler flag.
42913         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
42914         zarch_nohighgprs around the zarch optimized routines.
42915         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42916         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42917         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
42918         for zarch.
42920 2012-09-05  David S. Miller  <davem@davemloft.net>
42922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42924         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
42925         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
42926         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
42927         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42928         entries.
42930 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42932         * malloc/arena.c: Fold copyright years.
42933         * malloc/mcheck.c, malloc/memusage.c: Likewise.
42935 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42937         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
42939 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42941         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
42943 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42945         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
42946         change internal state upon failure.
42948 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
42950         * malloc/mcheck.c (mcheck_check_all): Fix typo.
42951         * malloc/memusage.c (mmap): Likewise.
42952         (mmap64, mremap): Likewise.  Adjust name in comment.
42954 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42956         * libio/fileops.c: Fix typos in comments.
42957         * libio/oldfileops.c: Likewise.
42958         * libio/wfileops.c: Likewise.
42960 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42962         [BZ #1349]
42963         * malloc/Makefile (tests): Add tst-malloc-usable test case.
42964         (tst-malloc-usable-ENV): Set environment for test case.
42965         * malloc/hooks.c (malloc_check_get_size): New function to get
42966         requested size.
42967         * malloc/malloc.c (musable): Use malloc_check_get_size.
42968         * malloc/tst-malloc-usable.c: New test case.
42970 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42972         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
42974 2012-09-05  Allan McRae  <allan@archlinux.org>
42976         [BZ #13966]
42977         * configure.in (CXX_SYSINCLUDES): Use compiler output to
42978         determine header location.
42979         * configure: Regenerated.
42981 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
42983         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
42984         float format.
42985         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
42986         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
42987         format.
42988         (test): Regenerate.
42990 2012-09-04  David S. Miller  <davem@davemloft.net>
42992         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
42993         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
42994         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
42996 2012-09-04  Florian Weimer  <fweimer@redhat.com>
42998         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
42999         failures.
43001         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
43003 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
43005         [BZ #9914]
43006         * libio/iogetdelim.c: Include <limits.h>.
43007         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
43008         + len + 1 would overflow.
43010 2012-09-03  Andreas Jaeger  <aj@suse.de>
43012         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43013         * sysdeps/i386/fpu/libm-test-ulps: Update.
43015 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43017         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
43018         Add s_sinf-sse2, s_conf-sse2.
43020         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
43021         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
43022         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
43023         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
43025         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
43026         for using routine as __sinf_ia32.
43027         Use macro for function declaration and weak_alias.
43028         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
43029         for using routine as __cosf_ia32.
43030         Use macro for function declaration and weak_alias.
43032         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
43033         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
43035         * sysdeps/x86_64/fpu/s_sinf.S: New file.
43036         * sysdeps/x86_64/fpu/s_cosf.S: New file.
43037         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43039         * math/libm-test.inc (cos_test): Add more test cases.
43040         (sin_test): Likewise.
43041         (sincos_test): Likewise.
43043 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43045         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
43046         (IFUNC_RESOLVE): Make pointers to the specialized implementations
43047         hidden.
43048         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43050 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
43052         [BZ #14538]
43053         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
43054         first element of the GOT.
43055         (elf_machine_load_address): Return the difference between
43056         the runtime address of _DYNAMIC and elf_machine_dynamic ().
43058 2012-09-01  Allan McRae  <allan@archlinux.org>
43060         [BZ #13412]
43061         * configure.in (AWK): Require gawk version 3.0 or later.
43062         * configure: Regenerated.
43064 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
43066         * sysdeps/unix/sysv/linux/kernel-features.h
43067         (__ASSUME_POSIX_CPU_TIMERS): Remove.
43068         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43069         [__NR_clock_getres]: Make code unconditional.
43070         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
43071         (clock_getcpuclockid): Remove code left unreachable by removal of
43072         conditionals.
43073         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
43074         code unconditional.
43075         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43076         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43077         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
43078         Make code unconditional.
43079         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
43080         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43081         * sysdeps/unix/sysv/linux/clock_settime.c
43082         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
43083         conditional code.
43084         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
43085         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
43087 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
43089         [BZ #14476]
43090         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
43091         scripts/test-installation.pl.
43093         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
43094         and $ld_so_version if it is set.
43096 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43098         [BZ #14516]
43099         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
43100         failure if reading from procfs failed.
43101         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
43103 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43105         * sysdeps/unix/sysv/linux/kernel-features.h
43106         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
43107         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43108         Remove conditional code.
43109         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43110         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
43111         Remove conditional code.
43112         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43113         * sysdeps/unix/sysv/linux/i386/fxstat.c
43114         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43115         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43116         * sysdeps/unix/sysv/linux/i386/fxstatat.c
43117         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43118         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43119         * sysdeps/unix/sysv/linux/i386/lxstat.c
43120         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
43121         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43122         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
43123         Remove conditional code.
43124         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43125         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
43126         Remove conditional code.
43127         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43128         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
43129         <kernel-features.h>.
43130         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
43131         Remove.
43132         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
43133         Remove conditional code.
43134         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
43135         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
43136         Remove conditional.
43138 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
43140         [BZ #5400]
43141         * NEWS: Add fixed bug number.
43143 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
43145         [BZ #14519]
43146         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
43147         underflowing exponent in case of negative sign.
43148         * stdlib/tst-strtod-round-data: Add more tests.
43149         * stdlib/tst-strtod-round.c (tests): Regenerated.
43151         [BZ #3479]
43152         * stdlib/strtod_l.c (NDIG): Remove.
43153         (HEXNDIG): Likewise.
43154         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
43155         smallest representable value.
43156         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
43157         lie within an exact representation of 1/2 ulp of the result.
43158         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
43159         unconditionally.
43160         (TENS_P9_IDX): Define unconditionally.
43161         (TENS_P9_SIZE): Likewise.
43162         (TENS_P10_IDX): Likewise.
43163         (TENS_P10_SIZE): Likewise.
43164         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
43165         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
43166         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
43167         entries for 10^2^13 and 10^2^14.
43168         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
43169         (TENS_P13_IDX): Define.
43170         (TENS_P13_SIZE): Likewise.
43171         (TENS_P14_IDX): Likewise.
43172         (TENS_P14_SIZE): Likewise.
43173         (_fpioconst_pow10): Change array size to
43174         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
43175         unconditional.
43176         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
43177         1024]: Add entries for 10^2^13 and 10^2^14.
43178         [LAST_POW10 > _LAST_POW10]: Remove #error.
43179         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
43180         (_fpioconst_pow10): Change array size to
43181         FPIOCONST_POW10_ARRAY_SIZE.
43182         * stdlib/gen-fpioconst.c: New file.
43183         * stdlib/gen-tst-strtod-round.c: Likewise.
43184         * stdlib/tst-strtod-round-data: Likewise.
43185         * stdlib/tst-strtod-round.c: Likewise.
43186         * stdlib/Makefile (tests): Add tst-strtod-round.
43188         [BZ #14459]
43189         * stdlib/strtod_l.c: Include <stdint.h>.
43190         (NDEBUG): Do not define.
43191         (round_and_return): Change EXPONENT parameter to type intmax_t.
43192         Rearrange calculations to avoid internal overflow possibilities.
43193         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
43194         Rearrange calculations to avoid internal overflow possibilities.
43195         Assert that number fits inside MPNSIZE limbs.
43196         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
43197         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
43198         calculations and add assertions to avoid internal overflow
43199         possibilities.  Add casts to avoid signed/unsigned operations.
43200         * stdlib/tst-strtod-overflow.c: New file.
43201         * stdlib/Makefile (tests): Add tst-strtod-overflow.
43203 2012-08-25  Marek Polacek  <polacek@redhat.com>
43205         * time/time.h: Fix some typos in comments.
43207 2012-08-23  Roland McGrath  <roland@hack.frob.com>
43209         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
43210         * posix/tst-rfc3484-2.c: Likewise.
43211         * posix/tst-rfc3484-3.c: Likewise.
43213 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
43215         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
43216         (EF_ARM_ABI_FLOAT_HARD): Likewise.
43218 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
43220         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
43221         #include of fxstatat64.c.
43223 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43225         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
43226         * shadow/getspent_r.c: Likewise.
43227         * shadow/getspnam.c: Likewise.
43228         * shadow/getspnam_r.c: Likewise.
43229         * gshadow/getsgent.c: Likewise.
43230         * gshadow/getsgent_r.c: Likewise.
43231         * gshadow/getsgnam.c: Likewise.
43232         * gshadow/getsgnam_r.c: Likewise.
43233         * inet/getnetbyad.c: Likewise.
43234         * inet/getnetbyad_r.c: Likewise.
43235         * inet/getnetbynm.c: Likewise.
43236         * inet/getnetbynm_r.c: Likewise.
43237         * inet/getnetent.c: Likewise.
43238         * inet/getnetent_r.c: Likewise.
43239         * inet/getproto.c: Likewise.
43240         * inet/getproto_r.c: Likewise.
43241         * inet/getprtent.c: Likewise.
43242         * inet/getprtent_r.c: Likewise.
43243         * inet/getprtname.c: Likewise.
43244         * inet/getprtname_r.c: Likewise.
43245         * inet/getrpcbyname.c: Likewise.
43246         * inet/getrpcbyname_r.c: Likewise.
43247         * inet/getrpcbynumber.c: Likewise.
43248         * inet/getrpcbynumber_r.c: Likewise.
43249         * inet/getrpcent.c: Likewise.
43250         * inet/getrpcent_r.c: Likewise.
43251         * inet/getaliasent.c: Likewise.
43252         * inet/getaliasent_r.c: Likewise.
43253         * inet/getaliasname.c: Likewise.
43254         * inet/getaliasname_r.c: Likewise.
43255         * nscd/getgrgid_r.c: Likewise.
43256         * nscd/getgrnam_r.c: Likewise.
43257         * nscd/gethstbyad_r.c: Likewise.
43258         * nscd/gethstbynm3_r.c: Likewise.
43259         * nscd/getpwnam_r.c: Likewise.
43260         * nscd/getpwuid_r.c: Likewise.
43261         * nscd/getsrvbynm_r.c: Likewise.
43262         * nscd/getsrvbypt_r.c: Likewise.
43263         * nscd/gai.c: Likewise.
43265         * configure.in (build_nscd): New substituted variable, set
43266         by --disable-build-nscd and defaults to $use_nscd.
43267         * configure: Regenerated.
43268         * config.make.in (build-nscd): New substituted variable.
43269         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
43270         Change conditional to require [$(build-nscd) = yes] as well.
43271         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
43273         [BZ# 13696]
43274         * configure.in (use_nscd): New substituted variable, set by
43275         --disable-nscd.  If enabled, define USE_NSCD.
43276         * configure: Regenerated.
43277         * config.h.in: Add USE_NSCD.
43278         * config.make.in (use-nscd): New substituted variable.
43279         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
43280         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
43281         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
43282         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
43283         (CFLAGS-getgrnam_r.c): Likewise.
43284         (CFLAGS-initgroups.c): Likewise.
43285         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
43286         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
43287         Variables removed.
43288         * inet/getnetgrent_r.c
43289         (nscd_setnetgrent): New function, broken out of ...
43290         (setnetgrent): ... here.  Call it.
43291         (innetgr): Conditionalize nscd bits on [USE_NSCD].
43292         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
43293         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
43294         * nscd/Makefile (routines, aux): Move definitions after include of
43295         Makeconfig.  Conditionalize on [$(use-nscd) != no].
43296         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
43297         Conditionalize on [USE_NSCD].
43298         (is_nscd, nscd_init_cb): Likewise.
43299         (nss_load_library): Conditionalize init callback on [USE_NSCD].
43300         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
43301         * nss/nss_db/db-init.c: Likewise.
43302         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
43303         [USE_NSCD].
43304         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
43305         (make_request): Use it.
43306         (cache_valid_p): New function.
43307         (__check_pf): Use it.
43308         * NEWS: Add item for --disable-nscd.
43310 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
43312         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
43313         to support sed >= 4.2.1-20-ga9bf076.
43314         * configure: Regenerated.
43316 2012-08-22  Roland McGrath  <roland@hack.frob.com>
43318         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
43319         Conditionalize whole body on [IREL].
43321 2012-08-22  Jeff Law <law@redhat.com>
43323         [BZ #14505]
43324         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
43325         if the family is PF_UNSPEC.
43327 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
43329         * Makerules (lib-version): Rename from V.
43330         (install-lib-nosubdir): Change V to lib-version.
43332 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
43334         [BZ #14252]
43335         * powerpc32/power6/wcschr.c: New file.
43336         * powerpc32/power6/wcscpy.c: New file.
43337         * powerpc32/power6/wcsrchr.c: New file.
43338         * powerpc64/power6/wcschr.c: New file.
43339         * powerpc64/power6/wcscpy.c: New file.
43340         * powerpc64/power6/wcsrchr.c: New file.
43342 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43344         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
43345         (two_way_short_needle): Use it.
43346         * string/strstr.c (AVAILABLE1_USES_J): Define.
43347         * string/strcasestr.c: Likewise.
43349         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
43350         array references.
43351         * string/strcasestr.c (TOLOWER): Make side-effect safe.
43353         [BZ #11607]
43354         * NEWS: Add an entry.
43355         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
43356         define their defaults.
43357         (two_way_short_needle): Detect end-of-string on-the-fly.
43358         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
43359         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
43360         * string/bug-strcasestr1.c: New test.
43361         * string/Makefile: Run it.
43363 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
43365         [BZ #11607]
43366         * string/str-two-way.h (two_way_short_needle): Optimize matching of
43367         the first character.
43369 2012-08-21  Roland McGrath  <roland@hack.frob.com>
43371         * csu/elf-init.c (__libc_csu_irel): Function removed.
43372         * csu/libc-start.c (apply_irel): New function.
43373         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
43375 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
43377         * sysdeps/unix/sysv/linux/kernel-features.h
43378         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
43379         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
43380         <kernel-features.h>.
43381         [__NR_fadvise64_64]: Make code unconditional.
43382         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
43383         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43384         !__NR_fadvise64_64)]: Likewise.
43385         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
43386         !__NR_fadvise64_64))]: Likewise.
43387         [__NR_fadvise64]: Make code unconditional.
43388         [!__NR_fadvise64]: Remove conditional code.
43389         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
43390         <kernel-features.h>.
43391         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43392         unconditional.
43393         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43394         conditional code.
43395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
43396         not include <kernel-features.h>.
43397         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43398         unconditional.
43399         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43400         conditional code.
43401         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
43402         include <kernel-features.h>.
43403         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
43404         unconditional.
43405         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
43406         conditional code.
43408 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
43410         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
43411         slight instruction rearrangements per scrollpipe analysis.
43412         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43414 2012-08-20  Roland McGrath  <roland@hack.frob.com>
43416         * manual/syslog.texi (syslog; vsyslog, closelog):
43417         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
43418         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
43420         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
43421         DSOCAPS to match condition on defining it.
43423 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
43425         * sysdeps/unix/sysv/linux/kernel-features.h
43426         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
43427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
43428         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43429         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
43431         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43432         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
43434         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
43435         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
43437         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
43438         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
43440         * sysdeps/unix/sysv/linux/kernel-features.h
43441         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
43442         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
43443         unconditional.
43444         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43445         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
43446         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43447         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43448         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
43449         Make code unconditional.
43450         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43451         (__mmap64) [!__NR_mmap2]: Likewise.
43452         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
43453         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
43454         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43455         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
43456         [__NR_mmap2]: Make code unconditional.
43457         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
43458         (__mmap64) [!__NR_mmap2]: Likewise.
43460 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43462         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
43464 2012-08-18  Andreas Jaeger  <aj@suse.de>
43466         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
43468 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43470         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
43471         * include/unistd.h (__have_sock_cloexec): Likewise.
43472         (__have_pipe2): Likewise.
43473         (__have_dup3): Likewise.
43475 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
43477         [BZ #9685]
43478         * include/unistd.h (__have_pipe2): Change define into an extern int.
43479         (__have_dup3): Likewise.
43480         * socket/have_sock_cloexec.c: Include fcntl.h.
43481         (__have_pipe2): New variable.
43482         (__have_dup3): Likewise.
43484 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
43486         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
43488 2012-08-17  Marek Polacek  <polacek@redhat.com>
43490         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
43491         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
43493 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43495         * configure.in: Add AC_SUBST for sysheaders.
43496         * configure: Regenerated.
43497         * config.make.in (sysheaders): New substituted variable.
43499         * sysdeps/unix/mkfifo.c: Moved ...
43500         * sysdeps/posix/mkfifo.c: ... here.
43501         * sysdeps/unix/mkfifoat.c: Moved ...
43502         * sysdeps/posix/mkfifoat.c: ... here.
43504         * sysdeps/unix/utime.c: Moved ...
43505         * sysdeps/posix/utime.c: ... here.
43507         * sysdeps/unix/time.c: Moved ...
43508         * sysdeps/posix/time.c: ... here.
43509         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
43510         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
43512         * sysdeps/unix/nice.c: Moved ...
43513         * sysdeps/posix/nice.c: ... here.
43515         * sysdeps/unix/alarm.c: Moved ...
43516         * sysdeps/posix/alarm.c: ... here.
43518         * intl/Makefile ($(codeset_mo)): Depend on the input file.
43520 2012-08-17  Jeff Law <law@redhat.com>
43522         * intl/Makefile (codeset_mo): New variable.
43523         ($(codeset_mo)): New target.
43524         (tst-codeset.out): Depend on that.  Remove explicit rule.
43525         (tst-gettext3.out, tst-gettext5.out): Likewise.
43526         (LOCPATH-ENV, tst-codeset-ENV): New variables.
43527         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
43528         * intl/tst-codeset.sh: Remove.
43529         * intl/tst-gettext3.sh: Likewise.
43530         * intl/tst-gettext5.sh: Likewise.
43532 2012-08-17  Roland McGrath  <roland@hack.frob.com>
43534         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
43535         * sysdeps/unix/syscalls.list: ... here.
43537         * sysdeps/posix/getaddrinfo.c
43538         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
43539         (gaiconf_init, gaiconf_reload): Use them.
43540         [!_STATBUF_ST_NSEC]
43541         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
43542         Define using time_t rather than struct timespec.
43544         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
43545         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
43546         Macros removed.
43547         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
43548         [!NO_THREADS].
43549         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
43550         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
43551         Likewise.
43553         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
43554         __libc_cleanup_push argument.
43556         * bits/param.h: New file.
43557         * misc/sys/param.h: New file.
43558         * include/sys/param.h: New file.
43559         * misc/Makefile (headers): Add bits/param.h.
43560         * sysdeps/generic/sys/param.h: File removed.
43561         * sysdeps/unix/sysv/linux/bits/param.h: New file.
43562         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
43563         * sysdeps/mach/hurd/bits/param.h: New file.
43564         * sysdeps/mach/hurd/sys/param.h: File removed.
43566         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
43567         last change.
43569         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
43570         [_IO_MTSAFE_IO].
43571         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
43572         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
43573         New macros.
43575         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
43576         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
43577         rather than -D_IO_MTSAFE_IO conditionally.
43578         * stdio-common/Makefile (CPPFLAGS): Likewise.
43579         * wcsmbs/Makefile (CPPFLAGS): Likewise.
43580         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
43581         Use $(libio-mtsafe).
43582         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
43583         of -D_IO_MTSAFE_IO.
43584         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
43585         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
43586         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
43587         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
43588         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
43589         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
43590         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
43591         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
43592         (CFLAGS-fread_u_chk.c): Likewise.
43593         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
43594         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
43595         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
43596         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
43597         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
43598         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
43599         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
43600         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
43601         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
43603         * libio/Makefile: Test [$(libc-reentrant) = yes]
43604         instead of [$(filter %REENTRANT, $(defines)) nonempty].
43606         * Makeconfig
43607         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
43608         * sysdeps/pthread/configure: File removed.
43609         * sysdeps/pthread/Makeconfig: New file.
43610         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
43611         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
43613 2012-08-16  Gary Benson  <gbenson@redhat.com>
43615         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
43616         unmapping the first object in a namespace.
43618 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43620         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
43621         (__internal_setnetgrent): ... this.  Add internal_function to
43622         definition.  Add libc_hidden_def.
43623         (setnetgrent): Update caller.
43624         (internal_endnetgrent): Renamed to ...
43625         (__internal_endnetgrent): ... this.  Add internal_function to
43626         definition.  Add libc_hidden_def.
43627         (endnetgrent): Update caller.
43628         (internal_getnetgrent_r): Renamed to ...
43629         (__internal_getnetgrent_r): ... this.  Add internal_function to
43630         definition.  Add libc_hidden_def.
43631         (__getnetgrent_r): Update caller.
43632         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
43634 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43636         * stdlib/longlong.h: Update from GCC.
43638 2012-08-16  Roland McGrath  <roland@hack.frob.com>
43640         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
43641         on _QL, which is set by umul_ppmm but never used.
43642         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
43643         variables, which are set by GMP macros but never used.
43644         * stdio-common/_itowa.c (_itowa): Likewise.
43645         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
43646         * stdlib/mod_1.c (mpn_mod_1): Likewise.
43648 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
43650         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
43651         struct La_sh_regs is not constant.
43652         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
43653         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
43654         and struct La_sparc64_regs are not constant.
43656 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
43658         * sysdeps/unix/sysv/linux/kernel-features.h
43659         (__ASSUME_POSIX_TIMERS): Remove.
43660         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
43661         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43662         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
43663         Make code unconditional.
43664         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43665         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
43666         Make code unconditional.
43667         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43668         * sysdeps/unix/sysv/linux/clock_nanosleep.c
43669         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
43670         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43671         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
43672         Make code unconditional.
43673         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
43674         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
43675         (__libc_missing_posix_timers): Remove.
43677 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43679         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
43680         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
43682         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
43684         * elf/dl-sym.c: Include <stdlib.h>.
43686         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
43687         constants, which avoids warnings in 32-bit builds.
43689         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
43690         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
43692         * misc/lseek.c: File moved to ...
43693         * io/lseek.c: ... here.
43695         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
43697         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
43698         shifting LEN more than 31 bits at once.
43700 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43702         [BZ #14195]
43703         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
43704         segmentation fault for a case of two empty input strings.
43705         * string/test-strncasecmp.c (check1): Renamed to...
43706         (bz12205): ...this.
43707         (bz14195): Add new testcase for two empty input strings and N > 0.
43708         (test_main): Call new testcase, adapt for renamed function.
43710 2012-08-15  Andreas Jaeger  <aj@suse.de>
43712         [BZ #14090]
43713         * crypt/md5test2.c: New test, based on test supplied by Serge
43714         Belyshev <belyshev@depni.sinp.msu.ru>.
43715         * crypt/Makefile (xtests): Add md5test-giant..
43716         * crypt/Makefile ($(objpfx)md5test-giant): Add.
43718 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
43720         [BZ #14090]
43721         * crypt/md5.c (md5_process_block): Don't assume the buffer
43722         length is less than 2**32.
43723         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
43724         length is less than 2**64.
43726 2012-08-15  Roland McGrath  <roland@hack.frob.com>
43728         * string/str-two-way.h: Include <sys/param.h>.
43729         (MAX): Macro removed.
43731         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
43732         Move #define and #undef of memmove to just before and after
43733         including <string.h>.
43735         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
43736         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
43737         and after including <string.h>.  Move declarations of
43738         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
43739         to before #include "string/memmove.c".
43741         * include/dirent.h: Declare __getdirentries.
43743         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
43744         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
43746 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
43748         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
43749         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
43750         * sysdeps/i386/configure: Regenerated.
43751         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
43752         STABS_CURRENT_FILE, and STABS_FUN.
43753         (END): Remove call to STABS_FUN_END.
43754         (STABS_CURRENT_FILE1): Delete.
43755         (STABS_CURRENT_FILE): Likewise.
43756         (STABS_FUN): Likewise.
43757         (STABS_FUN_END): Likewise.
43758         (STABS_FUN2): Likewise.
43759         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
43760         * sysdeps/x86_64/configure: Regenerated.
43762 2012-08-14  Roland McGrath  <roland@hack.frob.com>
43764         * elf/dl-open.c: Include <atomic.h>.
43765         * elf/dl-lookup.c: Likewise.
43767 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
43769         * sysdeps/unix/sysv/linux/kernel-features.h
43770         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
43771         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
43772         unconditionally.
43773         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
43774         unconditionally.
43775         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
43776         condition on __ASSUME_CLONE_THREAD_FLAGS.
43778 2012-08-14  Andreas Jaeger  <aj@suse.de>
43780         * sysdeps/i386/fpu/libm-test-ulps: Update.
43782 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
43784         * include/atomic.h (atomic_exchange_and_add): Split into ...
43785         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
43786         New atomic macros.
43788 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
43790         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43792 2012-08-13  Jeff Law <law@redhat.com>
43794         * manual/stdio.texi (snprintf): Clarify handling of the trailing
43795         null byte in the output string.
43797 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
43799         * sysdeps/unix/sysv/linux/kernel-features.h
43800         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
43801         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
43802         (__ASSUME_ARG_MAX_STACK_BASED): Define.
43803         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
43804         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
43805         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
43806         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
43808 2012-08-09  Jeff Law <law@redhat.com>
43810         [BZ #13939]
43811         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
43812         When avoid_arena is set, don't retry in the that arena.  Pick the
43813         next one, whatever it might be.
43814         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
43815         (arena_lock): Pass in new parameter to arena_get2.
43816         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
43817         arena_get2.
43818         (__libc_malloc): Unify retrying after main arena failure with
43819         __libc_memalign version.
43820         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
43822 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
43824         [BZ #14166]
43825         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
43826         to __redirect_strstr.
43827         (__strstr_sse42): Use typeof __redirect_strstr.
43828         (__strstr_ia32): Likewise.
43829         (__libc_strstr): New prototype.
43830         (strstr): Renamed to ...
43831         (__libc_strstr): This.
43832         (strstr): New strong alias of __libc_strstr.
43833         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
43834         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
43835         __redirect_time.
43836         Include <time.h>.
43837         (__libc_time): New prototype.
43838         (time_ifunc): Replace time with __libc_time.
43839         (time): New strong alias and hidden definition of __libc_time.
43840         (__GI_time): Remove strong alias.
43841         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
43842         Include <stddef.h>.
43843         (memmove): Redefined to __redirect_memmove.
43844         (__memmove_sse2): Use typeof __redirect_memmove.
43845         (__memmove_ssse3): Likewise.
43846         (__memmove_ssse3_back): Likewise.
43847         (__libc_memmove): New prototype.
43848         (memmove): Renamed to ...
43849         (__libc_memmove): This.
43850         (memmove): New strong alias of __libc_memmove.
43852 2012-08-08  Mark Salter  <msalter@redhat.com>
43854         * elf/elf.h
43855         (R_MN10300_TLS_GD): Define.
43856         (R_MN10300_TLS_LD): Likewise.
43857         (R_MN10300_TLS_LDO): Likewise.
43858         (R_MN10300_TLS_GOTIE): Likewise.
43859         (R_MN10300_TLS_IE): Likewise.
43860         (R_MN10300_TLS_LE): Likewise.
43861         (R_MN10300_TLS_DTPMOD): Likewise.
43862         (R_MN10300_TLS_DTPOFF): Likewise.
43863         (R_MN10300_TLS_TPOFF): Likewise.
43864         (R_MN10300_SYM_DIFF): Likewise.
43865         (R_MN10300_ALIGN): Likewise.
43866         (R_MN10300_NUM): Update.
43868 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
43870         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
43871         Remove.
43873 2012-08-08  Roland McGrath  <roland@hack.frob.com>
43875         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
43877         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
43878         sysdeps/unix -> sysdeps/posix move.
43879         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43881 2012-08-07      Allan McRae     <allan@archlinux.org>
43883         [BZ #14303]
43884         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
43885         (SUNOS_CPP): Likewise.
43886         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
43887         not found.
43888         (open_input): Call CPP using execvp.
43890 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
43892         * sysdeps/unix/sysv/linux/kernel-features.h
43893         (__ASSUME_PROT_GROWSUPDOWN): Remove.
43894         (__ASSUME_NO_CLONE_DETACHED): Likewise.
43895         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43896         (__ASSUME_WAITID_SYSCALL): Likewise.
43897         * sysdeps/unix/sysv/linux/dl-execstack.c
43898         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
43899         code unconditional.
43900         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
43901         conditional code.
43902         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
43903         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
43904         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
43905         code.
43906         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
43907         unconditional.
43908         [__ASSUME_WAITID_SYSCALL]: Likewise.
43909         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
43911 2012-08-07  Roland McGrath  <roland@hack.frob.com>
43913         * sysdeps/unix/closedir.c: Renamed to ...
43914         * sysdeps/posix/closedir.c: ... here.
43915         * sysdeps/unix/dirfd.c: Renamed to ...
43916         * sysdeps/posix/dirfd.c: ... here.
43917         * sysdeps/unix/dirstream.h: Renamed to ...
43918         * sysdeps/posix/dirstream.h: ... here.
43919         * sysdeps/unix/fdopendir.c: Renamed to ...
43920         * sysdeps/posix/fdopendir.c: ... here.
43921         * sysdeps/unix/opendir.c: Renamed to ...
43922         * sysdeps/posix/opendir.c: ... here.
43923         * sysdeps/unix/readdir.c: Renamed to ...
43924         * sysdeps/posix/readdir.c: ... here.
43925         * sysdeps/unix/readdir_r.c: Renamed to ...
43926         * sysdeps/posix/readdir_r.c: ... here.
43927         * sysdeps/unix/rewinddir.c: Renamed to ...
43928         * sysdeps/posix/rewinddir.c: ... here.
43929         * sysdeps/unix/seekdir.c: Renamed to ...
43930         * sysdeps/posix/seekdir.c: ... here.
43931         * sysdeps/unix/telldir.c: Renamed to ...
43932         * sysdeps/posix/telldir.c: ... here.
43933         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
43934         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
43935         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
43936         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
43938         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
43939         * bits/fcntl.h: ... here.
43941         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
43942         not 0.
43943         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
43944         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
43945         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
43946         (struct flock): Move l_start, l_len to the beginning.
43947         Use __pid_t for l_pid.
43948         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
43949         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
43950         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
43951         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
43952         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
43953         [__USE_LARGEFILE64] (struct flock64): New type.
43954         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
43956         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
43957         * bits/dirent.h: ... here.
43959         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
43960         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
43962 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
43964         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43965         Change from 2.6.0 to 2.6.16.
43966         * sysdeps/unix/sysv/linux/configure: Regenerated.
43967         * sysdeps/unix/sysv/linux/kernel-features.h
43968         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
43969         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
43970         version.
43971         (__ASSUME_UTIMES): Likewise.
43972         (__ASSUME_CLONE_STOPPED): Remove.
43973         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
43974         architectures, not kernel version.
43975         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
43976         (__ASSUME_NO_CLONE_DETACHED): Likewise.
43977         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
43978         (__ASSUME_WAITID_SYSCALL): Likewise.
43979         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
43980         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
43981         * README: State 2.6.16 as minimum Linux kernel version.  Do not
43982         refer to older versions.
43984 2012-08-06  Roland McGrath  <roland@hack.frob.com>
43986         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
43987         Define alphasort64 as an alias.
43988         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
43989         Define versionsort64 as an alias.
43990         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
43991         Define scandir64 as an alias.
43992         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
43993         Define scandirat64 as an alias.
43994         * dirent/alphasort64.c (alphasort64):
43995         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
43996         * dirent/versionsort64.c: Likewise.
43997         * dirent/scandir64.c: Likewise.
43998         * dirent/scandirat64.c: Likewise.
43999         * sysdeps/wordsize-64/alphasort.c: File removed.
44000         * sysdeps/wordsize-64/alphasort64.c: File removed.
44001         * sysdeps/wordsize-64/scandir.c: File removed.
44002         * sysdeps/wordsize-64/scandir64.c: File removed.
44003         * sysdeps/wordsize-64/scandirat.c: File removed.
44004         * sysdeps/wordsize-64/scandirat64.c: File removed.
44005         * sysdeps/wordsize-64/versionsort.c: File removed.
44006         * sysdeps/wordsize-64/versionsort64.c: File removed.
44007         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
44008         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
44009         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
44010         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
44011         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
44012         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
44013         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
44014         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
44016         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
44017         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44018         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
44019         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44020         [defined __arch64__ || defined __sparcv9]
44021         (__INO_T_MATCHES_INO64_T): New macro.
44022         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44023         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
44024         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
44025         * sysdeps/unix/sysv/linux/bits/dirent.h
44026         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
44027         (_DIRENT_MATCHES_DIRENT64): New macro.
44029         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
44030         Define lockf64 as an alias.
44031         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
44032         Define fseeko64 as an alias.
44033         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
44034         Define ftello64 as an alias.
44035         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
44036         Define _IO_fgetpos64 and fgetpos64 as aliases.
44037         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
44038         Define _IO_fsetpos64 and fsetpos64 as aliases.
44039         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
44040         Conditionalize body on this.
44041         * libio/fseeko64.c: Likewise.
44042         * libio/ftello64.c: Likewise.
44043         * libio/iofgetpos64.c: Likewise.
44044         * libio/iofsetpos64.c: Likewise.
44045         * sysdeps/wordsize-64/lockf.c: File removed.
44046         * sysdeps/wordsize-64/lockf64.c: File removed.
44047         * sysdeps/wordsize-64/fseeko.c: File removed.
44048         * sysdeps/wordsize-64/fseeko64.c: File removed.
44049         * sysdeps/wordsize-64/ftello.c: File removed.
44050         * sysdeps/wordsize-64/ftello64.c: File removed.
44051         * sysdeps/wordsize-64/iofgetpos.c: File removed.
44052         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
44053         * sysdeps/wordsize-64/iofsetpos.c: File removed.
44054         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
44055         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
44056         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
44057         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
44058         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
44059         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
44060         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
44061         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
44062         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
44063         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
44064         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
44066         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44067         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
44068         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
44069         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44070         [defined __arch64__ || defined __sparcv9]
44071         (__OFF_T_MATCHES_OFF64_T): New macro.
44072         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
44073         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
44074         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44075         (__OFF_T_MATCHES_OFF64_T): New macro.
44077 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44079         * stdlib/secure-getenv.c (__secure_getenv): Replace
44080         GLIBC_2_16 with GLIBC_2_17.
44082 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
44084         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
44085         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44087 2012-08-03  David S. Miller  <davem@davemloft.net>
44089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44091 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44093         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
44094         Remove.
44095         (__ASSUME_CORRECT_SI_PID): Likewise.
44096         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
44097         (__ASSUME_TMPFS_NAME): Likewise.
44098         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
44099         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
44100         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
44101         (HAVE_AUX_SECURE): Make definition unconditional.
44102         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
44103         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
44105 2012-08-03  Roland McGrath  <roland@hack.frob.com>
44107         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
44108         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
44109         * sysdeps/mach/hurd/eloop-threshold.h: New file.
44110         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44111         __eloop_threshold instead of SYMLOOP_MAX.
44113         * sysdeps/generic/eloop-threshold.h: New file.
44114         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
44115         of MAXSYMLINKS.
44116         * elf/chroot_canon.c (chroot_canon): Likewise.
44118 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
44120         [BZ #13717]
44121         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44122         Change to 2.6.0 everywhere.
44123         * sysdeps/unix/sysv/linux/configure: Regenerated.
44124         * sysdeps/unix/sysv/linux/kernel-features.h
44125         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
44126         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
44127         kernel versions.
44128         (__ASSUME_POSIX_TIMERS): Define unconditionally.
44129         (__ASSUME_FUTEX_REQUEUE): Remove.
44130         (__ASSUME_STATFS64): Define unconditionally.
44131         (__ASSUME_AT_SECURE): Likewise.
44132         (__ASSUME_CORRECT_SI_PID): Likewise.
44133         (__ASSUME_TGKILL): Define without depending on kernel version for
44134         i386.
44135         (__ASSUME_UTIMES): Likewise.
44136         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
44137         kernel version.
44138         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
44139         (__ASSUME_TMPFS_NAME): Likewise.
44140         * README: Update reference to Linux kernel versions.
44142 2012-08-02  Marek Polacek  <polacek@redhat.com>
44144         [BZ# 14150]
44145         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
44146         libc_cv_asm_type_prefix with %.
44147         * configure: Regenerated.
44148         * include/libc-symbols.h: Remove comment about
44149         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44150         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
44151         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
44152         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
44153         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
44154         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
44155         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
44156         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
44157         * elf/tst-unique2mod1.c: Likewise.
44158         * elf/tst-unique1mod2.c: Likewise.
44159         * elf/tst-unique1mod1.c: Likewise.
44160         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
44161         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
44162         Replace ASM_TYPE_DIRECTIVE with .type.
44163         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44164         * sysdeps/i386/sysdep.h: Likewise.
44165         * sysdeps/x86_64/sysdep.h: Likewise.
44166         * sysdeps/sh/sysdep.h: Likewise.
44167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
44168         Do not define ASM_TYPE_DIRECTIVE.
44169         * sysdeps/powerpc/sysdep.h: Likewise.
44170         * sysdeps/powerpc/powerpc32/sysdep.h:
44171         Replace ASM_TYPE_DIRECTIVE with .type.
44172         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44173         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44174         * sysdeps/i386/fpu/e_powf.S: Likewise.
44175         * sysdeps/i386/fpu/e_expl.S: Likewise.
44176         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44177         * sysdeps/i386/fpu/e_acosh.S: Likewise.
44178         * sysdeps/i386/fpu/e_pow.S: Likewise.
44179         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
44180         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44181         * sysdeps/i386/fpu/s_expm1.S: Likewise.
44182         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
44183         * sysdeps/i386/fpu/e_log2.S: Likewise.
44184         * sysdeps/i386/fpu/e_log2l.S: Likewise.
44185         * sysdeps/i386/fpu/e_scalb.S: Likewise.
44186         * sysdeps/i386/fpu/e_powl.S: Likewise.
44187         * sysdeps/i386/fpu/e_log10f.S: Likewise.
44188         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
44189         * sysdeps/i386/fpu/e_logl.S: Likewise.
44190         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
44191         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
44192         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
44193         * sysdeps/i386/fpu/e_log2f.S: Likewise.
44194         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44195         * sysdeps/i386/fpu/e_log.S: Likewise.
44196         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44197         * sysdeps/i386/fpu/e_logf.S: Likewise.
44198         * sysdeps/i386/fpu/e_log10l.S: Likewise.
44199         * sysdeps/i386/fpu/e_atanh.S: Likewise.
44200         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
44201         * sysdeps/i386/fpu/e_log10.S: Likewise.
44202         * sysdeps/i386/fpu/s_frexp.S: Likewise.
44203         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44204         * sysdeps/i386/fpu/s_asinh.S: Likewise.
44205         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
44206         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44207         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
44208         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
44209         * sysdeps/i386/i686/strtok.S: Likewise.
44210         * sysdeps/i386/i386-mcount.S: Likewise.
44211         * sysdeps/i386/strtok.S: Likewise.
44212         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
44213         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44214         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44215         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44216         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
44217         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44218         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
44219         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
44220         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44221         * sysdeps/x86_64/_mcount.S: Likewise.
44222         * sysdeps/x86_64/strtok.S: Likewise.
44223         * sysdeps/sh/_mcount.S: Likewise.
44225 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44227         * libio/iofopen.c: Include <fcntl.h>.
44228         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
44229         (_IO_fopen64, fopen64): Define as aliases.
44230         * libio/iofopen64.c: Include <fcntl.h>.
44231         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
44232         Conditionalize body on this.
44233         * sysdeps/wordsize-64/iofopen.c: File removed.
44234         * sysdeps/wordsize-64/iofopen64.c: File removed.
44236 2012-08-01  Marek Polacek  <polacek@redhat.com>
44238         * libc/Makeconfig: Use elf in place of binfmt-subdir.
44239         Use dlfcn directly instead of a variable.
44240         (binfmt-subdir): Do not define.
44241         (dlfcn): Likewise.
44243 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
44245         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
44246         Remove all definitions.
44247         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
44248         <kernel-features.h>.
44249         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44250         (miss_F_GETOWN_EX): Remove all definitions.
44251         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
44252         macro definition.
44253         [!__ASSUME_FCNTL64]: Remove conditional code.
44254         [__ASSUME_FCNTL64]: Make code unconditional.
44255         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
44256         <kernel-features.h>.
44257         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
44258         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
44259         (lockf64) [__NR_fcntl64]: Make code unconditional.
44260         (lockf64) [__ASSUME_FCNTL64]: Likewise.
44262         * sysdeps/unix/sysv/linux/kernel-features.h
44263         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
44264         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
44265         Make code unconditional.
44266         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44267         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
44269         [__NR_vfork]: Make code unconditional.
44270         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44271         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
44273         [__NR_vfork]: Make code unconditional.
44274         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
44275         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44277 2012-08-01  Roland McGrath  <roland@hack.frob.com>
44279         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
44280         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
44282         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44283         Define mkstemp64 as an alias.
44284         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44285         Define mkstemps64 as an alias.
44286         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44287         Define mkostemp64 as an alias.
44288         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
44289         Define mkostemps64 as an alias.
44290         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
44291         Conditionalize body on this.
44292         * misc/mkostemp64.c: Likewise.
44293         * misc/mkostemps64.c: Likewise.
44294         * misc/mkstemps64.c: Likewise.
44295         * sysdeps/wordsize-64/mkstemp64.c: File removed.
44296         * sysdeps/wordsize-64/mkostemp64.c: File removed.
44297         * sysdeps/wordsize-64/mkostemp.c: File removed.
44298         * sysdeps/wordsize-64/mkstemp.c: File removed.
44299         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
44300         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
44301         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
44302         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
44304         [BZ #14138]
44305         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
44306         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
44307         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
44308         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
44310         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
44311         compat_symbol macros from <shlib-compat.h> rather than the underlying
44312         default_symbol_version and symbol_version macros, so that DEFAULT
44313         lines in shlib-versions are respected.
44314         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
44316 2012-08-01  Florian Weimer  <fweimer@redhat.com>
44318         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
44319         Declare with warn_unused_result.
44320         (setgid, setregid, setegid, setresgid): Likewise.
44321         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
44322         Likewise.
44323         * WUR-REPORT: Remove set*id functions.
44325 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
44327         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
44329 2012-07-31  Roland McGrath  <roland@hack.frob.com>
44331         [BZ #10191]
44332         * include/sys/socket.h (__libc_accept, __libc_accept4):
44333         Add attribute_hidden.
44334         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
44336         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
44337         use of PTR_MANGLE.
44338         * inet/getnetgrent_r.c (setup): Likewise.
44340         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
44342 2012-07-31  David S. Miller  <davem@davemloft.net>
44344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44346 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
44348         [BZ #13629]
44349         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
44350         value between 1.0 and 2.0 and smaller part has absolute value less
44351         than 1.0.
44352         * math/s_clog10.c (__clog10): Likewise.
44353         * math/s_clog10f.c (__clog10f): Likewise.
44354         * math/s_clog10l.c (__clog10l): Likewise.
44355         * math/s_clogf.c (__clogf): Likewise.
44356         * math/s_clogl.c (__clogl): Likewise.
44357         * math/libm-test.inc (clog_test): Add more tests.
44358         (clog10_test): Likewise.
44359         * sysdeps/i386/fpu/libm-test-ulps: Update.
44360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44362 2012-07-31  Florian Weimer  <fweimer@redhat.com>
44364         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
44365         Exit with zero in case no suitable GID is found, and write a
44366         message to standard error.
44368 2012-07-30  Roland McGrath  <roland@hack.frob.com>
44370         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
44371         rather than to 1.
44372         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
44373         (MAXPATHLEN): Removed.
44374         (NOGROUP, NODEV): New macros.
44375         (setbit, clrbit, isset, isclr): New macros.
44376         (howmany, roundup, powerof2): New macros.
44377         (DEV_BSIZE): New macro.
44379         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
44380         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
44382         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
44383         definition on [!__NO_LONG_DOUBLE_MATH].
44385         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
44386         PTR_MANGLE and PTR_DEMANGLE.
44388         * socket/accept4.c (accept4): Rename to __libc_accept4.
44389         Define accept4 as a weak alias.
44391         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
44392         on [_DIRENT_HAVE_D_TYPE].
44393         * io/ftw.c (ftw_dir): Likewise.
44395         * io/xmknod.c (__xmknod): Don't check PATH for being null.
44397         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
44399         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
44400         Use the BSD numbers rather than the arbitrary ones we had.
44401         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
44402         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
44403         (SIGXCPU, SIGXFSZ): New macros.
44404         (_NSIG): Now 32.
44406         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
44407         initializer on [_LIBC_REENTRANT].
44409         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
44410         definitions inside [_POSIX_MAPPED_FILES].
44412         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
44414         * dirent/opendir.c: Include <fcntl.h>.
44416         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
44417         (__libc_getspecific): Likewise.
44418         (__libc_key_create): Likewise.
44420         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
44421         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
44422         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
44423         (tmpfile64): Define as alias.
44424         * sysdeps/wordsize-64/tmpfile.c: File removed.
44425         * sysdeps/wordsize-64/tmpfile64.c: File removed.
44426         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
44427         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
44429         * stdio-common/vfscanf.c: Include <stdbool.h>.
44430         * nss/makedb.c: Likewise.
44431         * stdio-common/_i18n_number.h: Likewise.
44432         * argp/argp-help.c: Likewise.
44433         * posix/wordexp.c: Likewise.
44434         * sysdeps/posix/spawni.c: Likewise.
44435         * nss/nss_files/files-initgroups.c: Likewise.
44436         * stdio-common/reg-modifier.c: Include <stdlib.h>.
44437         * nss/nss_files/files-initgroups.c: Likewise.
44438         * nss/nss_db/db-netgrp.c: Likewise.
44439         * nss/nss_db/db-initgroups.c: Likewise.
44440         * io/fchmodat.c: Include <sys/stat.h>.
44442         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
44443         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
44445         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
44446         [HAVE_MMAP].
44448         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
44449         Add multiple inclusion protection.
44451 2012-07-27  David S. Miller  <davem@davemloft.net>
44453         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44455 2012-07-27  Gary Benson  <gbenson@redhat.com>
44457         [BZ #14298]
44458         * elf/rtld.c: Include <stap-probe.h>.
44459         (dl_main): Added static probes "init_start" and "init_complete".
44460         * elf/dl-load.c: Include <stap-probe.h>.
44461         (lose): Take new parameter "nsid".
44462         Added static probe "map_failed".
44463         (_dl_map_object_from_fd): Pass namespace id to lose.
44464         Added static probe "map_start".
44465         (open_verify): Pass namespace id to lose.
44466         * elf/dl-open.c: Include <stap-probe.h>.
44467         (dl_open_worker) Added static probes "map_complete", "reloc_start"
44468         and "reloc_complete".
44469         * elf/dl-close.c: Include <stap-probe.h>.
44470         (_dl_close_worker): Added static probes "unmap_start" and
44471         "unmap_complete".
44472         * elf/rtld-debugger-interface.txt: New file documenting the above.
44474 2012-07-26  Roland McGrath  <roland@hack.frob.com>
44476         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
44477         rather than a string variable.
44478         * sunrpc/rpc_main.c (h_output): Likewise.
44479         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
44481 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
44483         * inet/check_native.c: New file.
44485 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
44487         [BZ #13629]
44488         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
44489         if larger part has absolute value 1.0.
44490         * math/s_clog10.c (__clog10): Likewise.
44491         * math/s_clog10f.c (__clog10f): Likewise.
44492         * math/s_clog10l.c (__clog10l): Likewise.
44493         * math/s_clogf.c (__clogf): Likewise.
44494         * math/s_clogl.c (__clogl): Likewise.
44495         * math/libm-test.inc (clog_test): Add more tests.
44496         (clog10_test): Likewise.
44497         * sysdeps/i386/fpu/libm-test-ulps: Update.
44498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44500         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
44501         (pltexit): Likewise.
44502         (La_regs): Likewise.
44503         (La_retval): Likewise.
44504         (int_retval): Likewise.
44505         Update #error for removed macros to refer only to definitions in
44506         tst-audit.h.
44507         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
44508         macro.
44509         (pltexit): Likewise.
44510         (La_regs): Likewise.
44511         (La_retval): Likewise.
44512         (int_retval): Likewise.
44513         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
44514         macro.
44515         (pltexit): Likewise.
44516         (La_regs): Likewise.
44517         (La_retval): Likewise.
44518         (int_retval): Likewise.
44519         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
44520         macro.
44521         (pltexit): Likewise.
44522         (La_regs): Likewise.
44523         (La_retval): Likewise.
44524         (int_retval): Likewise.
44525         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
44526         macro.
44527         (pltexit): Likewise.
44528         (La_regs): Likewise.
44529         (La_retval): Likewise.
44530         (int_retval): Likewise.
44531         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
44532         macro.
44533         (pltexit): Likewise.
44534         (La_regs): Likewise.
44535         (La_retval): Likewise.
44536         (int_retval): Likewise.
44537         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
44538         macro.
44539         (pltexit): Likewise.
44540         (La_regs): Likewise.
44541         (La_retval): Likewise.
44542         (int_retval): Likewise.
44543         * sysdeps/generic/tst-audit.h: Update comment to refer only to
44544         macro definitions in tst-audit.h.
44545         * sysdeps/i386/tst-audit.h: New file.
44546         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
44547         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
44548         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
44549         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
44550         * sysdeps/sh/tst-audit.h: Likewise.
44551         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
44552         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
44553         * sysdeps/x86_64/tst-audit.h: Likewise.
44555 2012-07-26  Andreas Jaeger  <aj@suse.de>
44557         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
44558         ptrace.
44560         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
44561         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
44562         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
44563         PTRACE_O_MASK.
44564         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
44565         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
44566         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
44568         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
44569         value.
44571         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
44572         _sigsys.
44573         (si_call_addr, si_syscall, si_arch): Define new macro.
44574         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
44575         _sigsys.
44576         (si_call_addr, si_syscall, si_arch): Define new marcro.
44577         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
44578         _sigsys.
44579         (si_call_addr, si_syscall, si_arch): Define new macro.
44580         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
44581         _sigsys.
44582         (si_call_addr, si_syscall, si_arch): Define new macro.
44584 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44586         [BZ #13717]
44587         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44588         Change to 2.4.21 where previously 2.4.1.
44589         * sysdeps/unix/sysv/linux/configure: Regenerated.
44590         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
44591         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
44592         Linux kernel version.
44593         (__ASSUME_STD_AUXV): Remove.
44594         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
44595         kernel version.
44596         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
44597         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
44598         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
44599         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
44600         (__ASSUME_NETLINK_SUPPORT): Likewise.
44601         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
44602         (__no_netlink_support): Remove conditional definition.
44603         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
44604         Remove.
44605         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44606         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
44607         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
44608         (if_nameindex_ioctl): Remove.
44609         (if_nameindex_netlink): Do not handle __no_netlink_support.
44610         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44611         code.
44612         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
44613         Remove conditional code.
44614         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
44615         code.
44616         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
44617         unconditional.
44618         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
44619         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
44620         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
44621         Remove.
44622         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
44623         [!__ASSUME_STD_AUXV]: Remove conditional code.
44624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
44625         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
44626         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
44627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
44628         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
44629         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44630         code.
44631         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44633         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
44634         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44635         conditional code.
44636         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
44637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44638         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
44639         code.
44640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44641         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
44642         conditional code.
44643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
44644         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44645         code unconditional.
44646         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44647         conditional code.
44648         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44649         unconditional.
44650         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44651         conditional code.
44652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44653         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44654         unconditional.
44655         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44656         conditional code.
44657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
44658         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44659         code unconditional.
44660         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44661         conditional code.
44662         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44663         unconditional.
44664         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44665         conditional code.
44666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
44667         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
44668         code unconditional.
44669         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44670         conditional code.
44671         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
44672         unconditional.
44673         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
44674         conditional code.
44676 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
44678         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
44679         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
44680         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44681         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
44682         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
44683         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
44684         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
44685         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
44686         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
44687         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
44688         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
44689         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
44690         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
44691         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
44692         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
44693         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
44694         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
44695         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
44696         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
44697         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
44698         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
44699         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
44700         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44702 2012-07-25  Florian Weimer  <fweimer@redhat.com>
44704         * Versions.def: Add GLIBC_2.17.
44705         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
44706         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
44707         Introduce __libc_secure_getenv.
44708         * stdlib/Versions (2.17): Add secure_getenv
44709         (GLIBC_PRIVATE): Add __libc_secure_getenv.
44710         * stdlib/secure-getenv.c: Rename __secure_getenv to
44711         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
44712         symbol __secure_getenv for GLIBC_2.0.
44713         * stdlib/tst-secure-getenv.c: New.
44714         * stdlib/Makefile (tests): Add testcase.
44715         * manual/startup.texi (Environment Access): Document
44716         secure_getenv.
44717         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44718         __libc_secure_getenv.
44719         * inet/ruserpass.c (ruserpass): Likewise.
44720         * malloc/mtrace.c (mtrace): Likewise.
44721         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
44722         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
44723         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
44724         * sysdeps/posix/tempname.c: Likewise.  Evaluate
44725         HAVE_SECURE_GETENV.
44726         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
44727         __secure_getenv to __libc_secure_getenv.
44728         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
44729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44730         Likewise.
44731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44732         Likewise.
44733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44734         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44735         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44738         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44741 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
44743         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
44744         (struct La_i86_retval): Likewise.
44745         (struct La_x86_64_regs): Likewise.
44746         (struct La_x86_64_retval): Likewise.
44747         (struct La_x32_regs): Likewise.
44748         (struct La_x32_retval): Likewise.
44749         (struct La_ppc32_regs): Likewise.
44750         (struct La_ppc32_retval): Likewise.
44751         (struct La_ppc64_regs): Likewise.
44752         (struct La_ppc64_retval): Likewise.
44753         (struct La_sh_regs): Likewise.
44754         (struct La_sh_retval): Likewise.
44755         (struct La_s390_32_regs): Likewise.
44756         (struct La_s390_32_retval): Likewise.
44757         (struct La_s390_64_regs): Likewise.
44758         (struct La_s390_64_retval): Likewise.
44759         (struct La_sparc32_regs): Likewise.
44760         (struct La_sparc32_retval): Likewise.
44761         (struct La_sparc64_regs): Likewise.
44762         (struct La_sparc64_retval): Likewise.
44763         (struct audit_ifaces): Remove architecture-specific pltenter and
44764         pltexit members.
44765         * sysdeps/i386/ldsodefs.h: New file.
44766         * sysdeps/powerpc/ldsodefs.h: Likewise.
44767         * sysdeps/s390/ldsodefs.h: Likewise.
44768         * sysdeps/sh/ldsodefs.h: Likewise.
44769         * sysdeps/sparc/ldsodefs.h: Likewise.
44770         * sysdeps/x86_64/ldsodefs.h: Likewise.
44772 2012-07-25  Marek Polacek  <polacek@redhat.com>
44774         [BZ #6808]
44775         * math/libm-test.inc (yn_test): Add another test.
44776         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
44777         to ERANGE when the result is +-Inf.
44778         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
44779         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
44780         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
44781         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
44783 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
44785         * conform/data/time.h-data (NULL): Use macro-constant.  Require
44786         equal to 0.
44787         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
44788         clock_t.
44789         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
44791 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
44793         * configure.in <sysdeps resolving>: Correct printing
44794         Implies_before.
44795         * configure: Regenerate.
44797 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
44799         * math/w_ilogb.c: Include <limits.h>.
44800         * math/w_ilogbl.c: Likewise.
44802 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44804         * manual/lang.texi (__va_copy): Document primarily as ISO C99
44805         va_copy.  Document allowing for unavailable va_copy only as
44806         pre-C99 compatibility.
44807         * manual/string.texi (Copying and Concatenation): Use va_copy
44808         instead of __va_copy in concat example.
44810 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
44812         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
44813         (__sendto): Use create_address_port.  Initialize APORT and deallocate
44814         it if not null.
44816         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
44817         with O_NOLINK passed to __file_name_lookup.
44819         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
44820         with O_NOLINK passed to __file_name_lookup.
44822         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
44823         negative N or less than NGIDS.
44825         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
44826         type to string_t.  Set ERANGE as errno and return it if NAME is not big
44827         enough.  Use memcpy instead of strncpy.
44829 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
44831         * elf/Makefile (check-data): Remove.
44832         (localplt.data): New vpath directive.
44833         ($(objpfx)check-localplt.out): Use localplt.data from vpath
44834         instead of $(check-data).
44835         * scripts/data/localplt-generic.data: Move to ...
44836         * sysdeps/generic/localplt.data: ... here.
44837         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
44838         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
44839         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
44840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
44841         ... here.
44842         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
44843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
44844         ... here.
44845         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
44846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
44847         ... here.
44848         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
44849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
44850         ... here.
44851         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
44852         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
44853         ... here.
44854         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
44855         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
44856         ... here.
44858 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44860         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
44861         PPC32 and PPC64 files.
44862         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
44863         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
44865 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44867         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
44868         __makecontext_ret to ...
44869         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
44870         ... here and call exit if uc_link is NULL.  New file.
44871         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
44872         __makecontext_ret.S.
44873         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
44874         __makecontext_ret to ...
44875         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
44876         ... here and call exit if uc_link is NULL.  New file.
44877         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
44878         __makecontext_ret.S.
44880 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44882         * elf/elf.h (R_390_IRELATIVE): New definition.
44883         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
44884         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
44885         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
44886         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
44887         (elf_machine_lazy_rel): Likewise.
44888         * sysdeps/s390/dl-irel.h: New file.
44889         * sysdeps/s390/s390-64/memcpy.S: New asm code.
44890         * sysdeps/s390/s390-64/memset.S: New asm code.
44891         * sysdeps/s390/s390-64/memcmp.S: New asm code.
44892         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
44893         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
44894         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
44895         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
44896         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
44897         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
44898         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
44899         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
44900         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
44901         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
44902         * sysdeps/s390/s390-32/memcpy.S: New asm code.
44903         * sysdeps/s390/s390-32/memset.S: New asm code.
44904         * sysdeps/s390/s390-32/memcmp.S: New asm code.
44906 2012-07-17  Marek Polacek  <polacek@redhat.com>
44908         [BZ #14349]
44909         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
44910         * sysdeps/s390/s390-64/configure.in: Likewise.
44911         * sysdeps/sparc/configure.in: Likewise.
44912         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
44913         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
44914         * sysdeps/i386/configure.in: Likewise.
44915         * sysdeps/x86_64/configure.in: Likewise.
44916         * sysdeps/sh/configure.in: Likewise.
44917         * sysdeps/s390/s390-32/configure: Regenerated.
44918         * sysdeps/s390/s390-64/configure: Likewise.
44919         * sysdeps/x86_64/configure: Likewise.
44920         * sysdeps/sh/configure: Likewise.
44921         * sysdeps/powerpc/powerpc64/configure: Likewise.
44922         * sysdeps/powerpc/powerpc32/configure: Likewise.
44923         * sysdeps/sparc/configure: Likwise.
44924         * sysdeps/i386/configure: Likewise.
44926         * elf/dl-open.c: Comment fixes.
44928 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
44930         * Makefile [CXX] (check-data): Remove.
44931         [CXX] (c++-types.data): New vpath directive.
44932         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
44933         vpath.  Do not allow for C++ type data being missing.
44934         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
44935         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
44936         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
44937         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
44938         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
44939         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
44940         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
44941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
44942         ... here.
44943         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
44944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
44945         ... here.
44946         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
44947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
44948         ... here.
44949         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
44950         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
44951         ... here.
44952         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
44953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
44954         ... here.
44955         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
44956         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
44957         ... here.
44958         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
44959         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
44960         ... here.
44961         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
44962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
44964         * elf/tls-macros.h (TLS_LE): Move architecture-specific
44965         definitions to architecture-specific files.
44966         (TLS_IE): Likewise.
44967         (TLS_LD): Likewise.
44968         (TLS_GD): Likewise.
44969         * sysdeps/i386/tls-macros.h: New file.
44970         * sysdeps/powerpc/tls-macros.h: Likewise.
44971         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
44972         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
44973         * sysdeps/sh/tls-macros.h: Likewise.
44974         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
44975         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
44976         * sysdeps/x86_64/tls-macros.h: Likewise.
44978 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
44980         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
44981         zero value for regular exit case.
44983         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
44984         (__start_context): Preserve zero value for regular exit case.
44986 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
44987             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44989         * manual/setjmp.texi (setcontext): Clarify normal process
44990         termination when uc_link is the null pointer.
44991         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
44992         exit call.
44994 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
44996         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
44997         preprocessor.  Test for each exception mask separately.
44999 2012-07-16  Andreas Jaeger  <aj@suse.de>
45001         * po/ru.po: Update from translation team.
45003 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
45005         * conform/data/string.h-data (NULL): Use macro-constant.  Require
45006         equal to 0.
45007         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45008         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45009         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
45010         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
45011         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45013 2012-07-13  Andreas Jaeger  <aj@suse.de>
45015         * po/fr.po: Update from translation team.
45017 2012-07-12  Marek Polacek  <polacek@redhat.com>
45019         [BZ #14173]
45020         * math/libm-test.inc (yn_test): Add test for BZ #14173.
45021         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
45022         loop condition.
45024 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
45026         [BZ #13717]
45027         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
45028         Change to 2.4.1 where previously 2.4.0.
45029         * sysdeps/unix/sysv/linux/configure: Regenerated.
45030         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
45031         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
45032         version.
45033         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
45034         (__ASSUME_AT_CLKTCK): Remove.
45035         (__ASSUME_AT_PAGESIZE): Likewise.
45036         (__ASSUME_AT_XID): Likewise.
45037         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
45038         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
45039         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
45040         unconditionally.
45041         (HAVE_AUX_PAGESIZE): Likewise.
45042         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
45043         [__ASSUME_AT_CLKTCK]: Make code unconditional.
45044         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
45046 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
45048         [BZ #14307]
45049         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
45050         the temporary buffer used to invoke __gethostbyname2_r,
45051         __gethostbyaddr_r and gethostbyname4_r to make room for struct
45052         host_data / struct gaih_addrtuple.
45053         * resolv/nss_dns/dns-host.c (global scope): Move definition of
45054         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
45055         header file nss/nsswitch.h.
45056         * nss/nsswitch.h (global scope): Add definition of implementation
45057         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
45058         resolv/nss_dns/dns-host.c).
45060 2012-07-11  Andreas Jaeger  <aj@suse.de>
45062         * po/fr.po: Update from translation team.
45064         * po/sv.po: Update from translation team
45065         * po/fr.po: Another update from translation team.
45067 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45069         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
45070         for subnormals or multiply small sinh result by itself.
45071         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45074 2012-07-11  David S. Miller  <davem@davemloft.net>
45076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45078 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
45080         [BZ #14347]
45081         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
45082         (INTERNAL_MARK): Shift it here.
45084 2012-07-10  Marek Polacek  <polacek@redhat.com>
45086         [BZ #14151]
45087         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
45088         libc_cv_asm_global_directive with .globl.
45089         * configure: Regenerated.
45090         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
45091         with .globl.
45092         * sysdeps/i386/configure: Regenerated.
45093         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
45094         with .globl.
45095         * sysdeps/x86_64/configure: Regenerated.
45096         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
45097         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
45098         * elf/tst-unique2mod2.c: Likewise.
45099         * elf/tst-unique2mod1.c: Likewise.
45100         * elf/tst-unique1mod2.c: Likewise.
45101         * elf/tst-unique1mod1.c: Likewise.
45102         * sysdeps/s390/s390-32/sysdep.h: Likewise.
45103         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
45104         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45105         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
45106         * sysdeps/mach/sysdep.h: Likewise.
45107         * sysdeps/i386/sysdep.h: Likewise.
45108         * sysdeps/i386/i386-mcount.S: Likewise.
45109         * sysdeps/x86_64/_mcount.S: Likewise.
45110         * sysdeps/x86_64/sysdep.h: Likewise.
45111         * sysdeps/sh/_mcount.S: Likewise.
45112         * sysdeps/sh/sysdep.h: Likewise.
45113         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
45114         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
45115         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
45116         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45117         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
45118         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
45119         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
45120         * locale/localeinfo.h: Likewise.
45121         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
45122         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
45124 2012-07-09  Roland McGrath  <roland@hack.frob.com>
45126         [BZ #14336]
45127         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
45128         system".
45129         * manual/message.texi (The Uniforum approach): Likewise.
45130         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
45131         (glibc iconv Implementation): Likewise.
45133 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
45135         [BZ #14337]
45136         * math/s_clog.c (__clog): Avoid scaling a value down where that
45137         could result in underflow.
45138         * math/s_clog10.c (__clog10): Likewise.
45139         * math/s_clog10f.c (__clog10f): Likewise.
45140         * math/s_clog10l.c (__clog10l): Likewise.
45141         * math/s_clogf.c (__clogf): Likewise.
45142         * math/s_clogl.c (__clogl): Likewise.
45143         * math/libm-test.inc (clog_test): Add more tests.
45144         (clog10_test): Likewise.
45145         * sysdeps/i386/fpu/libm-test-ulps: Update.
45146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45148 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
45150         [BZ #14283]
45151         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
45152         by 7 not 8 to examine high bit of fractional part.
45154         [BZ #14042]
45155         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
45156         for call to __mcount_internal.
45157         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
45158         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
45159         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
45161 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
45163         [BZ #14154]
45164         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
45165         approximation for values within 0x1p-13f of an odd multiple of
45166         pi/4.
45167         * math/libm-test.inc (tan_test): Do not allow spurious underflow
45168         exception.  Add more tests.
45169         * sysdeps/i386/fpu/libm-test-ulps: Update.
45171         [BZ #6778]
45172         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
45173         inputs and return -1 for them.  Do not check for +Inf in case not
45174         reachable for +Inf.
45175         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45176         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
45177         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45178         and return -1 for them.  Do not check for +Inf in case not
45179         reachable for +Inf.
45180         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
45181         define.
45182         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
45183         and return -1 for them.  Do not check for +Inf in case not
45184         reachable for +Inf.
45185         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
45186         spurious underflow.
45187         * sysdeps/i386/fpu/libm-test-ulps: Update.
45188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45190 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
45192         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
45194 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
45196         [BZ #14157]
45197         [BZ #14331]
45198         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
45199         could result in spurious underflow.  Scale down values above
45200         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
45201         * math/s_csqrtf.c (__csqrtf): Likewise.
45202         * math/s_csqrtl.c (__csqrtl): Likewise.
45203         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
45204         spurious underflow.
45205         * sysdeps/i386/fpu/libm-test-ulps: Update.
45206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45208 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
45210         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
45211         xopen-msg.sed.
45212         * catgets/xopen-msg.awk: New file.
45213         * catgets/xopen-msg.sed: Removed.
45215         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
45216         po2text.sed.
45217         * intl/po2test.awk: New file.
45218         * intl/po2test.sed: Removed.
45220 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
45222         [BZ #14328]
45223         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
45224         or multiply small sinh result by itself.
45225         * math/s_ctanf.c (__ctanf): Likewise.
45226         * math/s_ctanh.c (__ctanh): Likewise.
45227         * math/s_ctanhf.c (__ctanhf): Likewise.
45228         * math/s_ctanhl.c (__ctanhl): Likewise.
45229         * math/s_ctanl.c (__ctanl): Likewise.
45230         * math/libm-test.inc (ctan_test_tonearest): New function.
45231         (ctan_test_towardzero): Likewise.
45232         (ctan_test_downward): Likewise.
45233         (ctan_test_upward): Likewise.
45234         (ctanh_test_tonearest): Likewise.
45235         (ctanh_test_towardzero): Likewise.
45236         (ctanh_test_downward): Likewise.
45237         (ctanh_test_upward): Likewise.
45238         (main): Call these new functions.
45239         * sysdeps/i386/fpu/libm-test-ulps: Update.
45240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45242 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
45244         * .gitignore: Delete /ports entry.
45246 2012-07-03  Andreas Jaeger  <aj@suse.de>
45248         * po/bg.po: Update from translation team.
45249         * po/cs.po: Likewise.
45250         * po/de.po: Likewise.
45251         * po/hr.po: Likewise.
45252         * po/nl.pl: Likewise.
45253         * po/pl.po: Likewise.
45254         * po/vi.po: Likewise.
45256 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
45258         * Makeconfig [!+link] (+link-before-libc): New variable.
45259         [!+link] (+link-after-libc): Likewise.
45260         [!+link] (+link-tests): Likewise.
45261         [!+link] (+link): Define in terms of $(+link-before-libc) and
45262         $(+link-after-libc).
45263         [!+link-static] (+link-static-before-libc): New variable.
45264         [!+link-static] (+link-static-after-libc): Likewise.
45265         [!+link-static] (+link-static-tests): Likewise.
45266         [!+link-static] (+link-static): Define in terms of
45267         $(+link-static-before-libc) and $(+link-static-after-libc).
45268         [build-shared] (link-libc-before-gnulib): New variable.
45269         [build-shared] (link-libc-tests): Likewise.
45270         [build-shared] (link-libc): Define in terms of
45271         $(link-libc-before-gnulib).
45272         [!build-shared] (link-libc-tests): New variable.
45273         (link-libc-static-tests): New variable.
45274         [!gnulib] (gnulib-arch): New variable.
45275         [!gnulib] (gnulib-tests): Likewise.
45276         [!gnulib] (static-gnulib-arch): Likewise.
45277         [!gnulib] (static-gnulib-tests): Likewise.
45278         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
45279         Define with "=" instead of ":=".
45280         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
45281         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
45282         * Rules (binaries-all-notests): New variable.
45283         (binaries-all-tests): Likewise.
45284         (binaries-static-notests): Likewise.
45285         (binaries-static-tests): Likewise.
45286         (binaries-all): Define using $(binaries-all-notests) and
45287         $(binaries-all-tests).
45288         (binaries-static): Define using $(binaries-static-notests) and
45289         $(binaries-static-tests).
45290         (binaries-shared-tests): New variable.
45291         (binaries-shared-notests): Likewise.
45292         (binaries-shared): Remove variable.
45293         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
45294         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
45295         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
45296         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
45297         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
45298         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
45299         * elf/Makefile (sln-modules): New variable.
45300         (extra-objs): Add $(sln-modules:=.o).
45301         (ldconfig-modules): Add static-stubs.
45302         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
45303         * elf/static-stubs.c: New file.
45305         [BZ #14283]
45306         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
45307         by 7 not 8 to examine high bit of fractional part.  Use volatile
45308         variables when splitting into final array of floats if
45309         __FLT_EVAL_METHOD__ != 0.
45310         * math/libm-test.inc (cos_test): Add another test.
45311         (sin_test): Likewise.
45312         * sysdeps/i386/fpu/libm-test-ulps: Update.
45314         [BZ #14273]
45315         * math/libm-test.inc (cosh_test): Add more tests.
45317         * version.h (RELEASE): Set to "development".
45318         (VERSION): Set to "2.16.90".
45320 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
45322         * NEWS: Update copyright. Remove last-updated date.
45323         Mention math library bug fixes and timezone data changes.
45324         * README: Mention GNU/Hurd, x32, and HPPA support status.
45326 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
45328         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
45330 2012-06-27  Andreas Jaeger  <aj@suse.de>
45332         * manual/contrib.texi (Contributors): Add Samuel Thibault.
45334 2012-06-25  Andreas Jaeger  <aj@suse.de>
45336         * sysdeps/s390/fpu/libm-test-ulps: Update.
45338 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
45339             Thomas Schwinge  <thomas@codesourcery.com>
45341         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
45342         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
45343         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
45344         fanotify_mark.
45346 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
45348         * sysdeps/mach/start.c: Remove file.
45349         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
45350         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
45351         * sysdeps/sh/init-first.c: Likewise.
45353         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
45354         registers for frame unwinding purposes, add CFI directives.
45355         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45356         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
45357         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
45358         Likewise.
45360         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
45361         __fortify_fail returning.
45362         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
45364         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
45365         sysdeps/sh/____longjmp_chk.S.
45366         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
45367         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
45368         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
45369         (gen-as-const-headers): Append sigaltstack-offsets.sym.
45371         * sysdeps/sh/abort-instr.h: New file.
45372         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
45373         process in case exit returns.
45375         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
45376         initialize the GOT register before use.
45378         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
45379         calculation of ARGC > 4.
45381         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
45382         meaningful names to some local labels.
45384 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45385             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45387         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
45388         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
45389         (__arch_compare_and_exchange_val_16_acq): Likewise.
45390         (__arch_compare_and_exchange_val_32_acq): Likewise.
45391         (atomic_exchange_and_add): Fix gUSA sequence.
45392         (atomic_add): Likewise.
45393         (atomic_add_negative): Likewise.
45394         (atomic_add_zero): Likewise.
45395         (atomic_bit_test_set): Likewise.
45397 2012-06-22  Andreas Schwab  <schwab@redhat.com>
45399         [BZ #13579]
45400         * include/link.h (struct link_map): Add l_free_initfini.
45401         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
45402         l_initfini.
45403         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
45404         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
45405         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
45406         set.
45408 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
45410         * configure.in: Use AC_LANG_SOURCE.
45411         * configure: Regenerate.
45413 2012-06-22  Roland McGrath  <roland@hack.frob.com>
45415         * configure.in (libc_cv_localstatedir): New substituted variable.
45416         * configure: Regenerated.
45417         * config.make.in (localstatedir): New variable, substituted from
45418         libc_cv_localstatedir.
45419         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
45420         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
45421         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
45422         * sysdeps/gnu/configure: Regenerated.
45424 2012-06-21  Jeff Law  <law@redhat.com>
45426         [BZ #14277]
45427         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
45428         free.  Simplify list management for _LIBC case.
45430 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
45432         [BZ #14273]
45433         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
45434         Clear sign bit of 64-bit integer value before comparing against
45435         overflow value.
45437         * sysdeps/mach/configure: Regenerated.
45439 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
45441         [BZ #14278]
45442         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
45444 2012-06-21  Jeff Law  <law@redhat.com>
45446         [BZ #13882]
45447         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
45448         uint16_t for elements in the "seen" array to avoid char overflows.
45449         * elf/dl-fini.c (_dl_sort_fini): Likewise.
45450         * elf/dl-open.c (dl_open_worker): Likewise.
45452 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
45454         * scripts/list-sources.sh: Scan PORTS for translations.
45455         * po/libc.pot: Regenerated.
45457 2012-06-21  Andreas Jaeger  <aj@suse.de>
45459         [BZ #12194]
45460         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
45461         warning.
45462         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
45463         * bits/byteswap-16.h (__bswap_16): Likewise.
45464         * bits/byteswap.h (__bswap_constant_16): Likewise.
45466 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
45468         [BZ #14117]
45469         * sysdeps/i386/fpu_control.h: Removed.
45470         * sysdeps/x86_64/fpu_control.h: Moved to ...
45471         * sysdeps/x86/fpu_control.h: Here.
45473         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
45474         (_FPU_SETCW): Likewise.
45476 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
45478         [BZ #14117]
45479         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
45480         * sysdeps/x86/fpu/bits/mathinline.h: This.
45481         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
45483         [BZ #14050]
45484         [BZ #14117]
45485         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
45486         functions if __x86_64__ is defined.
45488 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
45490         * string/endian.h: Add !__ASSEMBLER__ condition for including
45491         conversion interfaces.
45493 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
45495         [BZ #14241]
45496         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
45497         of ABS(x) in calculating zero to negative powers other than odd
45498         integers.
45499         * math/libm-test.inc (pow_test): Add more tests.
45501 2012-06-15  Andreas Jaeger  <aj@suse.de>
45503         * manual/contrib.texi (Contributors): Update entry of Liubov
45504         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
45505         Machado Filho.
45507 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
45509         * string/string.h: Add __wur to GNU version of strerror_r.
45511 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
45513         [BZ #14229]
45514         * string/Makefile (tests): Add tst-strtok_r.
45515         * string/tst-strtok_r.c: New file.
45516         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
45517         RAX_LP/RDX_LP on SAVE_PTR.
45519 2012-06-14  Roland McGrath  <roland@hack.frob.com>
45521         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
45523 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
45525         * libm_test.inc (csqrt_test): Allow more spurious underflow
45526         exceptions.
45527         (j0_test): Likewise.
45528         (j1_test): Likewise.
45529         (y0_test): Likewise.
45530         (y1_test): Likewise.
45532 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
45534         * po/Makefile (libc.pot): Use UTF-8 charset.
45536 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
45538         [BZ #14210]
45539         Suppress sign-conversion warning from FD_SET.
45540         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
45541         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
45542         not unsigned long int.
45543         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
45545 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
45547         [BZ #14050]
45548         [BZ #14117]
45549         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
45550         __extern_always_inline instead of __extern_inline.
45551         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
45552         (__signbit): Likewise.
45553         (__signbitl): Support C++ namespace.
45554         (lrintf): New inline function.
45555         (lrint): Likewise.
45556         (llrintf): Likewise.
45557         (llrint): Likewise.
45558         (fmaxf): Likewise.
45559         (fmax): Likewise.
45560         (fminf): Likewise.
45561         (fmin): Likewise.
45562         (rint): Likewise.
45563         (rintf): Likewise.
45564         (ceil): Likewise.
45565         (ceilf): Likewise.
45566         (floor): Likewise.
45567         (floorf): Likewise.
45568         (nearbyint): Likewise.
45569         (nearbyintf): Likewise.
45571 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
45573         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
45574         non-default versions.
45576 2012-06-11  Roland McGrath  <roland@hack.frob.com>
45578         [BZ #14218]
45579         * manual/argp.texi (Argp): Reword argp_parse description slightly.
45581 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
45583         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
45584         (FE_UPWARD, FE_DOWNWARD): Don't define.
45585         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
45586         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45588         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
45589         reading it.
45590         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45591         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45593 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45595         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45596         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
45597         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
45598         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
45600 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
45602         [BZ #14117]
45603         * sysdeps/i386/fpu/bits/fenv.h: Removed.
45604         * sysdeps/i386/fpu/Implies: New file.
45605         * sysdeps/x86_64/fpu/Implies: Likewise.
45606         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
45607         * sysdeps/x86/fpu/bits/fenv.h: This.
45609         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
45610         __SSE_MATH__.
45612 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45614         [BZ #14134]
45615         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
45616         character 0xffff that matches the last element of the
45617         conversion table.
45619 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45621         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
45622         fmodl commit.
45624 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45626         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
45627         values higher than 25.6283.
45629 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45631         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
45632         subnormal exponent extraction and add some __builtin_expect.
45633         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
45634         Fix for subnormal mantissa calculation.
45636 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
45638         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
45639         cpu2 is -1 and errno is not ENOSYS.
45641 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
45643         [BZ #14117]
45644         * sysdeps/i386/i486/bits/string.h: Renamed to ...
45645         * sysdeps/x86/bits/string.h: This.
45646         * sysdeps/x86_64/bits/string.h: Removed.
45648         * sysdeps/i386/i486/bits/string.h: Define inline functions only
45649         if not compiling for x86-64, but compiling for >= i486.
45651         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
45652         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
45654         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
45655         New macro from Linux kernel 3.4.0.
45656         (FP_XSTATE_MAGIC2): Likewise.
45657         (FP_XSTATE_MAGIC2_SIZE): Likewise.
45658         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
45659         (struct _fpx_sw_bytes): New struct.
45660         (struct _xsave_hdr): Likewise.
45661         (struct _ymmh_state): Likewise.
45662         (struct _xstate): Likewise.
45664         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
45665         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
45666         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
45667         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
45668         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
45669         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
45671         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
45672         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
45673         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
45674         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
45675         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
45676         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
45678 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45680         [BZ #13743]
45681         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
45682         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
45683         (sysdep_headers): Include sys/platform/ppc.h.
45684         * sysdeps/powerpc/test-gettimebase.c: Test for
45685         __ppc_get_timebase() to catch future ISA opcode/insn changes.
45686         * manual/Makefile (appendices): Include platform.texi.
45687         * manual/contrib.texi (Contributors): Update @node pointers.
45688         * manual/maint.texi (Maintenance): Likewise.
45689         (Platform): New node.
45690         * manual/platform.texi: New file.  Document the new features.
45692 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45693             Jakub Jelinek  <jakub@redhat.com>
45695         [BZ #14188]
45696         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
45697         where __builtin_expect is unavailable.
45699 2012-06-03  David S. Miller  <davem@davemloft.net>
45701         * stdlib/longlong.h: Updated from GCC.
45703 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
45705         [BZ #14042]
45706         * sysdeps/powerpc/powerpc32/mcount.c: New file.
45707         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
45708         __mcount_internal.
45709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45710         (GLIBC_2.16): Likewise.
45712 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45714         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
45716 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
45719         (default-abi): New variable.
45720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
45721         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
45722         variable.
45723         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
45724         Likewise.
45725         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
45726         Likewise.
45727         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
45728         Likewise.
45730         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
45731         definition.  Document in comment.
45733 2012-06-01  David S. Miller  <davem@davemloft.net>
45735         * stdlib/longlong.h: Updated from GCC.
45737 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45739         [BZ #14117]
45740         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
45741         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
45742         sys/debugreg.h sys/io.h here.
45743         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
45744         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
45745         sys/io.h.
45746         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
45747         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
45748         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
45749         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
45750         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
45751         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
45753         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
45754         Define only if __x86_64__ is defined.
45756 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
45758         [BZ #14048]
45759         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
45760         Use int64_t for variable i.
45761         * math/libm-test.inc (fmod_test): Add more tests.
45763         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
45764         z computation is not scheduled after fetestexcept.
45765         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
45766         Use math_force_eval instead of asm to ensure calculation scheduled
45767         before exception test.
45768         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
45769         Ensure a1 + u.d computation is not scheduled after fetestexcept.
45771 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
45773         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
45774         computation is not scheduled after fetestexcept.
45776 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
45778         [BZ #14117]
45779         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
45780         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
45782 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45784         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
45785         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45787 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
45789         [BZ #14117]
45790         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
45791         <bits/wordsize.h>.
45792         (__WCHAR_MIN): Support __WORDSIZE == 64.
45793         (__WCHAR_MAX): Likewise.
45795         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
45796         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
45798         [BZ #14183]
45799         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
45800         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
45802         [BZ #14117]
45803         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
45804         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
45806         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
45807         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
45809         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
45810         Defined to 1 if __x86_64__ isn't defined.
45811         (_STAT_VER_LINUX_OLD): New.
45812         (st_atime): Remove duplicate.
45813         (st_mtime): Likewise.
45814         (st_ctime): Likewise.
45816 2012-05-31  David S. Miller  <davem@davemloft.net>
45818         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
45819         entries.
45821 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
45823         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
45824         gen-libm-test.pl.
45826         [BZ #14132]
45827         * elf/dl-reloc.c: Include <_itoa.h>.
45828         (_dl_reloc_bad_type): Remove use of INTUSE.
45829         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
45830         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
45831         * stdio-common/psiginfo.c (psiginfo): Likewise.
45832         * stdio-common/psignal.c (psignal): Likewise.
45833         * string/strsignal.c (strsignal): Likewise.
45834         * include/signal.h (_sys_siglist): Declare hidden proto.
45835         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
45836         INTVARDEF with libc_hidden_data_def.
45837         * stdio-common/itoa-udigits.c: Likewise.
45838         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
45839         (_itoa_lower_digits_internal): Remove declaration.
45840         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
45841         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
45842         (_sys_sigabbrev_internal): Remove aliases.
45843         (_sys_siglist): Define hidden alias.
45845 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
45847         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45848         bits/sysctl.h.
45850 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
45852         [BZ #14117]
45853         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
45854         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
45856         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
45857         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
45858         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
45859         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
45860         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
45861         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
45863         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
45864         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
45865         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
45867         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
45868         with __addr.
45869         (insw): Likewise.
45870         (insl): Likewise.
45871         (outsb): Likewise.
45872         (outsw): Likewise.
45873         (outsl): Likewise.
45875         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
45876         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
45877         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
45879         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
45880         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
45881         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
45882         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
45883         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
45884         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
45886         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
45887         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
45889         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
45890         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
45892         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
45893         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
45894         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
45896         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
45897         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
45898         to ...
45899         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
45901         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
45902         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
45903         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
45905         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
45906         for x86-64.
45907         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
45909 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
45911         * math/math.h (M_El): Use two more decimal places.
45912         (M_LOG2El): Likewise.
45913         (M_LOG10El): Likewise.
45914         (M_LN2l): Likewise.
45915         (M_LN10l): Likewise.
45916         (M_PIl): Likewise.
45917         (M_PI_2l): Likewise.
45918         (M_PI_4l): Likewise.
45919         (M_1_PIl): Likewise.
45920         (M_2_PIl): Likewise.
45921         (M_2_SQRTPIl): Likewise.
45922         (M_SQRT2l): Likewise.
45923         (M_SQRT1_2l): Likewise.
45925 2012-05-31  David S. Miller  <davem@davemloft.net>
45927         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
45928         values between float registers.
45929         * sysdeps/sparc/sparc64/memset.S: Likewise.
45930         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45932 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
45934         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
45935         -D_FORTIFY_SOURCE=1.
45936         (CPPFLAGS-tst-longjmp_chk.c): Define.
45937         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
45938         (CPPFLAGS-tst-longjmp_chk2.c): Define.
45939         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
45940         CFLAGS-tst-wchar-h.c.
45942 2012-05-31  Marek Polacek  <polacek@redhat.com>
45944         [BZ #14132]
45945         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
45946         __endmntent_internal): Remove declaration.
45947         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
45948         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
45949         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
45951 2012-05-30  David S. Miller  <davem@davemloft.net>
45953         * sysdeps/sparc/sparc32/soft-fp/q_util.c
45954         (___Q_simulate_exceptions): Use real FP ops rather than writing
45955         into the %fsr.
45956         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
45957         Likewise.
45959 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45961         [BZ #14117]
45962         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
45963         * sysdeps/x86/bits/xtitypes.h: This.
45965         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
45966         * sysdeps/x86/bits/wordsize.h: This.
45968         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
45969         * sysdeps/x86/bits/huge_vall.h: This.
45971         * sysdeps/i386/bits/select.h: Removed.
45972         * sysdeps/x86_64/bits/select.h: Renamed to ...
45973         * sysdeps/x86/bits/select.h: This.
45975         * sysdeps/i386/bits/setjmp.h: Removed.
45976         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
45977         * sysdeps/x86/bits/setjmp.h: This.
45979         * sysdeps/i386/bits/mathdef.h: Removed.
45980         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
45981         * sysdeps/x86/bits/mathdef.h: This.
45983 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
45985         [BZ #14132]
45986         * include/sys/socket.h (__connect_internal)
45987         (__libc_sa_len_internal): Remove declaration.
45988         (__connect, __libc_sa_len): Declare hidden_proto.
45989         (SA_LEN): Remove use of INTUSE.
45990         * socket/connect.c: Add libc_hidden_def.
45991         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
45992         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
45993         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
45994         alias.
45995         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45996         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
45997         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
45998         of adding _internal alias.
46000 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46002         [BZ #14117]
46003         * sysdeps/i386/bits/link.h: Removed.
46004         * sysdeps/i386/bits/linkmap.h: Likewise.
46005         * sysdeps/x86_64/bits/link.h: Renamed to ...
46006         * sysdeps/x86/bits/link.h: This.
46007         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
46008         * sysdeps/x86/bits/linkmap.h: This.
46010         * sysdeps/i386/bits/endian.h: Removed.
46011         * sysdeps/x86_64/bits/endian.h: Renamed to ...
46012         * sysdeps/x86/bits/endian.h: This.
46014         * sysdeps/i386/bits/byteswap.h: Removed.
46015         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46016         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
46017         * sysdeps/x86/bits/byteswap.h: This.
46018         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
46019         * sysdeps/x86/bits/byteswap-16.h: This.
46020         * sysdeps/i386/Implies: Add x86.
46021         * sysdeps/x86_64/Implies: Likewise.
46023 2012-05-30  David S. Miller  <davem@davemloft.net>
46025         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
46026         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
46027         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46028         (FP_TRAPPING_EXCEPTIONS): Define.
46029         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46030         (FP_TRAPPING_EXCEPTIONS): Define.
46031         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
46032         subnormals only when inexact has been signalled or underflow
46033         exceptions are enabled.
46034         (_FP_PACK_CANONICAL): Likewise.
46036 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46038         [BZ #14183]
46039         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
46040         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
46042 2012-05-30  Richard Henderson  <rth@twiddle.net>
46044         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
46045         with #ifndef NOT_IN_libc.
46047         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
46048         marked to avoid plt entry.
46050 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
46052         [BZ #14112]
46053         * Makeconfig (default-abi): New macro.
46054         (abi-includes): Likewise.
46055         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
46056         $(abi-$(default-abi)-lib-soname) for soname if defined.
46057         ($(common-objpfx)gnu/lib-names.stmp): Generate from
46058         abi-variants.
46059         * Makefile (installed-stubs): Likewise.
46060         * include/stubs-biarch.h: Removed.
46061         * scripts/lib-names.awk: Only handle one library at a time.
46062         * scripts/soversions.awk: Remove WORDSIZE support.
46063         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
46064         entries.
46065         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
46066         Removed.
46067         (syscall-list-default-condition): Likewise.
46068         (syscall-list-default-condition): Likewise.
46069         (syscall-list-includes): Likewise.
46070         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
46071         syscall-list-* with abi-*.  Handle undefined abi-variants.
46072         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
46073         * sysdeps/unix/sysv/linux/i386/Implies: New file.
46074         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
46075         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
46076         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
46077         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
46078         Removed.
46079         (syscall-list-32-options): Likewise.
46080         (syscall-list-32-condition): Likewise.
46081         (syscall-list-64-options): Likewise.
46082         (syscall-list-64-condition): Likewise.
46083         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
46084         macro.
46085         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
46086         Renamed to ...
46087         (abi-*): This.
46088         (abi-64-ld-soname): New macro.
46089         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
46090         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
46091         Renamed to ...
46092         (abi-*): This.
46093         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
46094         * sysdeps/x86_64/x32/shlib-versions: Likewise.
46096 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
46098         * sysdeps/unix/sysv/linux/kernel-features.h
46099         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
46100         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
46101         include <kernel-features.h>.
46102         [!__NR_ftruncate64]: Remove conditional code.
46103         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46104         [__NR_ftruncate64]: Make code unconditional.
46105         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46106         * sysdeps/unix/sysv/linux/truncate64.c: Do not
46107         include <kernel-features.h>.
46108         [!__NR_ftruncate64]: Remove conditional code.
46109         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46110         [__NR_ftruncate64]: Make code unconditional.
46111         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
46113         include <kernel-features.h>.
46114         [!__NR_ftruncate64]: Remove conditional code.
46115         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46116         [__NR_ftruncate64]: Make code unconditional.
46117         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
46119         include <kernel-features.h>.
46120         [!__NR_ftruncate64]: Remove conditional code.
46121         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46122         [__NR_ftruncate64]: Make code unconditional.
46123         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
46125         * configure.in (libc_cv_fpie): Weaken to a compile test using
46126         LIBC_TRY_CC_OPTION.
46127         * configure: Regenerated.
46129 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46131         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
46132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
46133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
46134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46135         Refreshed.
46136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
46137         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
46138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
46139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
46140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
46141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46142         Refreshed.
46144 2012-05-27  David S. Miller  <davem@davemloft.net>
46146         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
46147         (___Q_zero): New.
46148         (__Q_simulate_exceptions): Return void.  Change to simulate
46149         exceptions by writing into the %fsr.
46150         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
46151         (__Qp_handle_exceptions): Likewise.
46152         (numbers): Delete.
46153         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
46154         __Qp_handle_exceptions.
46155         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
46156         __Qp_handle_exceptions.
46157         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46158         as unused and give dummy FP_RND_NEAREST initializer.
46159         (FP_INHIBIT_RESULTS): Define.
46160         (___Q_simulate_exceptions): Update declaration.
46161         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
46162         formatting.
46163         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
46164         as unused and give dummy FP_RND_NEAREST initializer.
46165         (__Qp_handle_exceptions): Update declaration.
46166         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
46167         formatting.
46169 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
46171         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
46172         the temporary FPU control word.
46173         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
46174         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
46175         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
46176         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
46177         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46178         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
46179         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
46180         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
46181         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
46182         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
46183         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
46185 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46187         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
46188         fields.
46190 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
46192         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
46193         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
46194         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
46195         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
46196         Likewise.
46197         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
46198         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
46199         Likewise.
46201 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
46203         * po/h.po: Update from translation team.
46205 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
46207         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
46209         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
46210         handling of denormals.
46211         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46212         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
46213         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46214         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46215         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46216         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
46217         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
46218         Likewise.
46220 2012-05-26  Marek Polacek  <polacek@redhat.com>
46222         [BZ #14152]
46223         * math/libm-test.inc (fma_test): Don't always expect underflow
46224         exception.
46226 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46228         [BZ #12416]
46229         * elf/tst-execstack.c: Include stackinfo.h.
46230         (do_test): Adjust test case to ensure that pthread_getattr_np
46231         behaviour remains the same after marking stack executable.
46233 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46235         * sysdeps/unix/sysv/linux/kernel-features.h
46236         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
46237         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
46238         kernel-features.h.
46239         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46240         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46241         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
46242         kernel-features.h.
46243         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
46244         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
46246 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
46248         * configure.in: Define the default includes to being none.
46249         * configure: Regenerated.
46251 2012-05-25  Roland McGrath  <roland@hack.frob.com>
46253         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
46254         * sysdeps/x86_64/setjmp.S: Likewise.
46255         * sysdeps/i386/bsd-setjmp.S: Likewise.
46256         * sysdeps/i386/bsd-_setjmp.S: Likewise.
46257         * sysdeps/i386/setjmp.S: Likewise.
46258         * sysdeps/i386/__longjmp.S: Likewise.
46259         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46260         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
46262         * include/stap-probe.h: New file.
46263         * configure.in: Handle --enable-systemtap.
46264         * configure: Regenerated.
46265         * config.h.in (USE_STAP_PROBE): New #undef.
46266         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
46267         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
46268         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
46270 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
46272         [BZ #13717]
46273         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46274         to 2.4.0 where earlier.
46275         * sysdeps/unix/sysv/linux/configure: Regenerated.
46276         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
46277         <kernel-features.h>.
46278         [__ASSUME_32BITUIDS]: Make code unconditional.
46279         [!__ASSUME_32BITUIDS]: Remove conditional code.
46280         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
46281         <kernel-features.h>.
46282         [__ASSUME_32BITUIDS]: Make code unconditional.
46283         [!__ASSUME_32BITUIDS]: Remove conditional code.
46284         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
46285         [__ASSUME_32BITUIDS]: Make code unconditional.
46286         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
46287         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
46288         <kernel-features.h>.
46289         [__ASSUME_32BITUIDS]: Make code unconditional.
46290         [!__ASSUME_32BITUIDS]: Remove conditional code.
46291         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
46292         <kernel-features.h>.
46293         [__ASSUME_32BITUIDS]: Make code unconditional.
46294         [!__ASSUME_32BITUIDS]: Remove conditional code.
46295         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
46296         <kernel-features.h>.
46297         [__ASSUME_32BITUIDS]: Make code unconditional.
46298         [!__ASSUME_32BITUIDS]: Remove conditional code.
46299         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
46300         <kernel-features.h>.
46301         [__ASSUME_32BITUIDS]: Make code unconditional.
46302         [!__ASSUME_32BITUIDS]: Remove conditional code.
46303         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
46304         <kernel-features.h>.
46305         [__ASSUME_32BITUIDS]: Make code unconditional.
46306         [!__ASSUME_32BITUIDS]: Remove conditional code.
46307         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
46308         <kernel-features.h>.
46309         [__ASSUME_32BITUIDS]: Make code unconditional.
46310         [!__ASSUME_32BITUIDS]: Remove conditional code.
46311         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
46312         <kernel-features.h>.
46313         [__ASSUME_32BITUIDS]: Make code unconditional.
46314         [!__ASSUME_32BITUIDS]: Remove conditional code.
46315         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
46316         <kernel-features.h>.
46317         [__ASSUME_32BITUIDS]: Make code unconditional.
46318         [!__ASSUME_32BITUIDS]: Remove conditional code.
46319         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
46320         <kernel-features.h>.
46321         [__ASSUME_32BITUIDS]: Make code unconditional.
46322         [!__ASSUME_32BITUIDS]: Remove conditional code.
46323         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
46324         <kernel-features.h>.
46325         [__ASSUME_32BITUIDS]: Make code unconditional.
46326         [!__ASSUME_32BITUIDS]: Remove conditional code.
46327         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
46328         <kernel-features.h>.
46329         [__NR_setresgid] (__setresgid): Do not declare.
46330         [__ASSUME_32BITUIDS]: Make code unconditional.
46331         [!__ASSUME_32BITUIDS]: Remove conditional code.
46332         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
46333         <kernel-features.h>.
46334         [__NR_setresuid] (__setresuid): Do not declare.
46335         [__ASSUME_32BITUIDS]: Make code unconditional.
46336         [!__ASSUME_32BITUIDS]: Remove conditional code.
46337         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
46338         <kernel-features.h>.
46339         [__ASSUME_32BITUIDS]: Make code unconditional.
46340         [!__ASSUME_32BITUIDS]: Remove conditional code.
46341         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
46342         <kernel-features.h>.
46343         [__ASSUME_32BITUIDS]: Make code unconditional.
46344         [!__ASSUME_32BITUIDS]: Remove conditional code.
46345         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
46346         <kernel-features.h>.
46347         [__ASSUME_32BITUIDS]: Make code unconditional.
46348         [!__ASSUME_32BITUIDS]: Remove conditional code.
46349         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
46350         <kernel-features.h>.
46351         [__ASSUME_32BITUIDS]: Make code unconditional.
46352         [!__ASSUME_32BITUIDS]: Remove conditional code.
46353         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
46354         <kernel-features.h>.
46355         [__ASSUME_32BITUIDS]: Make code unconditional.
46356         [!__ASSUME_32BITUIDS]: Remove conditional code.
46357         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
46358         <kernel-features.h>.
46359         [__ASSUME_32BITUIDS]: Make code unconditional.
46360         [!__ASSUME_32BITUIDS]: Remove conditional code.
46361         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
46362         <kernel-features.h>.
46363         [__ASSUME_32BITUIDS]: Make code unconditional.
46364         [!__ASSUME_32BITUIDS]: Remove conditional code.
46365         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
46366         <kernel-features.h>.
46367         [__ASSUME_32BITUIDS]: Make code unconditional.
46368         [!__ASSUME_32BITUIDS]: Remove conditional code.
46369         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
46370         <kernel-features.h>.
46371         [__ASSUME_32BITUIDS]: Make code unconditional.
46372         [!__ASSUME_32BITUIDS]: Remove conditional code.
46373         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
46374         <kernel-features.h>.
46375         [__ASSUME_32BITUIDS]: Make code unconditional.
46376         [!__ASSUME_32BITUIDS]: Remove conditional code.
46377         * sysdeps/unix/sysv/linux/kernel-features.h
46378         (__ASSUME_SETRESUID_SYSCALL): Remove.
46379         (__ASSUME_SETRESGID_SYSCALL): Likewise.
46380         (__ASSUME_32BITUIDS): Likewise.
46381         (__ASSUME_LDT_WORKS): Likewise.
46382         (__ASSUME_O_DIRECTORY): Likewise.
46383         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
46384         architecture but not kernel version.
46385         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46386         (__ASSUME_MMAP2_SYSCALL): Likewise.
46387         (__ASSUME_STAT64_SYSCALL): Likewise.
46388         (__ASSUME_IPC64): Likewise.
46389         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
46390         <kernel-features.h>.
46391         [__ASSUME_32BITUIDS]: Make code unconditional.
46392         [!__ASSUME_32BITUIDS]: Remove conditional code.
46393         * sysdeps/unix/sysv/linux/opendir.c: Do not include
46394         <kernel-features.h>.
46395         [__ASSUME_O_DIRECTORY]: Make code unconditional.
46396         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
46397         132096]: Remove conditional code.
46398         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
46399         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
46400         <kernel-features.h>.
46401         [__ASSUME_32BITUIDS]: Make code unconditional.
46402         [!__ASSUME_32BITUIDS]: Remove conditional code.
46403         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
46404         <kernel-features.h>.
46405         [__ASSUME_32BITUIDS]: Make code unconditional.
46406         [!__ASSUME_32BITUIDS]: Remove conditional code.
46407         * sysdeps/unix/sysv/linux/setegid.c: Do not include
46408         <kernel-features.h>.
46409         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
46410         unconditional.
46411         (__setresgid): Do not declare.
46412         [__ASSUME_32BITUIDS]: Make code unconditional.
46413         [!__ASSUME_32BITUIDS]: Remove conditional code.
46414         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
46415         <kernel-features.h>.
46416         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
46417         unconditional.
46418         (__setresuid): Do not declare.
46419         [__ASSUME_32BITUIDS]: Make code unconditional.
46420         [!__ASSUME_32BITUIDS]: Remove conditional code.
46421         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
46422         <kernel-features.h>.
46423         [__ASSUME_32BITUIDS]: Make code unconditional.
46424         [!__ASSUME_32BITUIDS]: Remove conditional code.
46425         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
46426         <kernel-features.h>.
46427         [__ASSUME_32BITUIDS]: Make code unconditional.
46428         [!__ASSUME_32BITUIDS]: Remove conditional code.
46430 2012-05-25  Richard Henderson  <rth@twiddle.net>
46432         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
46433         dl_hwcap to ifunc resolver.
46434         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
46435         elf_ifunc_invoke.
46436         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
46437         dl_hwcap to ifunc resolver.
46438         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
46440 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46442         [BZ #14153]
46443         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
46444         for |x| <= 2**-26, not 2**-57.
46445         * math/libm-test.inc (acos_test): Do not allow spurious underflow
46446         exception.
46448 2012-05-24  Jeff Law  <law@redhat.com>
46450         * stdio-common/Makefile (tests): Add bug25.
46451         * stdio-common/bug25.c: New test.
46453 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46455         [BZ #13576]
46456         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
46457         multiple of MALLOC_ALIGNMENT in size.
46458         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
46460 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46462         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
46463         Require >= 256.
46464         (FILENAME_MAX): Use macro-int-constant.
46465         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
46466         (_IOFBF): Use macro-int-constant.
46467         (_IOLBF): Likewise.
46468         (_IONBF): Likewise.
46469         (SEEK_CUR): Likewise.
46470         (SEEK_END): Likewise.
46471         (SEEK_SET): Likewise.
46472         (TMP_MAX): Likewise.
46473         (EOF): Use macro-int-constant.  Require < 0.
46474         (NULL): Use macro-constant.  Require == 0.
46475         (stdin): Require type to be FILE *.
46476         (stdout): Likewise.
46477         (stderr): Likewise.
46478         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
46479         macro-int-constant.
46480         (EXIT_SUCCESS): Likewise.
46481         (NULL): Use macro-constant.  Require == 0.
46482         (RAND_MAX): Use macro-int-constant.
46483         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
46484         [C99-based standards] (strtof): Require function.
46485         [C99-based standards] (strtold): Likewise.
46486         [C99-based standards] (strtoll): Likewise.
46487         [C99-based standards] (strtoull): Likewise.
46488         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
46489         [ISO || ISO99 || ISO11] (limits.h): Likewise.
46490         [ISO || ISO99 || ISO11] (math.h): Likewise.
46491         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
46492         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
46493         [ISO || ISO99 || ISO11] (*_t): Do not allow.
46495 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
46497         [BZ #14132]
46498         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
46499         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
46500         * intl/dgettext.c (DCGETTEXT): Likewise.
46501         * intl/gettext.c (DCGETTEXT): Likewise.
46502         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
46503         * posix/regex_internal.h (gettext): Likewise.
46504         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
46505         Remove declaration.
46506         * include/argz.h (__argz_count_internal)
46507         (__argz_stringify_internal): Remove declaration.
46508         (__argz_count, __argz_stringify): Declare hidden proto.
46509         * intl/dcgettext.c: Remove use of INTDEF.
46510         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
46511         * string/argz-stringify.c: Likewise.
46512         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46513         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46514         Declare hidden proto.
46515         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
46516         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
46517         Declare hidden proto.
46518         * include/stdio.h (__asprintf_internal): Don't declare.
46519         (__asprintf): Don't define as macro.  Declare hidden proto.
46520         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
46521         (__fsetlocking): Declare hidden proto.
46522         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
46523         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
46524         hidden proto.
46525         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
46526         (_IO_setlinebuf): Remove use of INTUSE.
46527         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
46528         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
46529         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
46530         Remove declaration.
46531         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
46532         (_IO_do_flush): Remove use of INTUSE.
46533         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
46534         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
46535         (_IO_adjust_column, _IO_least_wmarker)
46536         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
46537         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
46538         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
46539         (_IO_default_doallocate, _IO_wdefault_doallocate)
46540         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
46541         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
46542         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
46543         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
46544         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
46545         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
46546         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
46547         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
46548         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
46549         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
46550         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
46551         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
46552         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
46553         proto.
46554         (_IO_flush_all_internal, _IO_adjust_column_internal)
46555         (_IO_default_uflow_internal, _IO_default_finish_internal)
46556         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
46557         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
46558         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
46559         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
46560         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
46561         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
46562         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
46563         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
46564         (_IO_file_close_internal, _IO_file_close_it_internal)
46565         (_IO_file_underflow_internal, _IO_file_overflow_internal)
46566         (_IO_file_init_internal, _IO_file_attach_internal)
46567         (_IO_file_fopen_internal, _IO_file_read_internal)
46568         (_IO_file_sync_internal, _IO_file_seek_internal)
46569         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
46570         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
46571         (_IO_str_underflow_internal, _IO_str_overflow_internal)
46572         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
46573         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
46574         (_IO_list_all_internal, _IO_link_in_internal)
46575         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
46576         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
46577         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
46578         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
46579         (_IO_do_write_internal, _IO_padn_internal)
46580         (_IO_getline_info_internal, _IO_getline_internal)
46581         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
46582         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
46583         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
46584         (_IO_vfscanf_internal, _IO_vfprintf_internal)
46585         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
46586         (_IO_init_internal, _IO_un_link_internal): Don't declare.
46587         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
46588         with libc_hidden_ver, remove use of INTUSE.
46589         * libio/genops.c: Likewise.
46590         * libio/freopen.c: Likewise.
46591         * libio/freopen64.c: Likewise.
46592         * libio/iofclose.c: Likewise.
46593         * libio/iofdopen.c: Likewise.
46594         * libio/iofflush.c: Likewise.
46595         * libio/iofflush_u.c: Likewise.
46596         * libio/iofgets.c: Likewise.
46597         * libio/iofgets_u.c: Likewise.
46598         * libio/iofopen.c: Likewise.
46599         * libio/iofopncook.c: Likewise.
46600         * libio/iofread.c: Likewise.
46601         * libio/iofread_u.c: Likewise.
46602         * libio/ioftell.c: Likewise.
46603         * libio/iofwrite.c: Likewise.
46604         * libio/iogetline.c: Likewise.
46605         * libio/iogets.c: Likewise.
46606         * libio/iogetwline.c: Likewise.
46607         * libio/iopadn.c: Likewise.
46608         * libio/iopopen.c: Likewise.
46609         * libio/ioseekoff.c: Likewise.
46610         * libio/ioseekpos.c: Likewise.
46611         * libio/iosetbuffer.c: Likewise.
46612         * libio/iosetvbuf.c: Likewise.
46613         * libio/ioungetc.c: Likewise.
46614         * libio/ioungetwc.c: Likewise.
46615         * libio/iovdprintf.c: Likewise.
46616         * libio/iovsprintf.c: Likewise.
46617         * libio/iovsscanf.c: Likewise.
46618         * libio/memstream.c: Likewise.
46619         * libio/obprintf.c: Likewise.
46620         * libio/oldfileops.c: Likewise.
46621         * libio/oldiofclose.c: Likewise.
46622         * libio/oldiofdopen.c: Likewise.
46623         * libio/oldiofopen.c: Likewise.
46624         * libio/oldiopopen.c: Likewise.
46625         * libio/oldstdfiles.c: Likewise.
46626         * libio/putc.c: Likewise.
46627         * libio/setbuf.c: Likewise.
46628         * libio/setlinebuf.c: Likewise.
46629         * libio/stdfiles.c: Likewise.
46630         * libio/strops.c: Likewise.
46631         * libio/vasprintf.c: Likewise.
46632         * libio/vscanf.c: Likewise.
46633         * libio/vsnprintf.c: Likewise.
46634         * libio/vswprintf.c: Likewise.
46635         * libio/wfiledoalloc.c: Likewise.
46636         * libio/wfileops.c: Likewise.
46637         * libio/wgenops.c: Likewise.
46638         * libio/wmemstream.c: Likewise.
46639         * libio/wstrops.c: Likewise.
46640         * libio/__fpurge.c: Likewise.
46641         * libio/__fsetlocking.c: Likewise.
46642         * assert/assert.c: Likewise.
46643         * debug/fgets_chk.c: Likewise.
46644         * debug/fgets_u_chk.c: Likewise.
46645         * debug/fread_chk.c: Likewise.
46646         * debug/fread_u_chk.c: Likewise.
46647         * debug/gets_chk.c: Likewise.
46648         * debug/obprintf_chk.c: Likewise.
46649         * debug/vasprintf_chk.c: Likewise.
46650         * debug/vdprintf_chk.c: Likewise.
46651         * debug/vsnprintf_chk.c: Likewise.
46652         * debug/vsprintf_chk.c: Likewise.
46653         * malloc/mtrace.c: Likewise.
46654         * misc/error.c: Likewise.
46655         * misc/syslog.c: Likewise.
46656         * stdio-common/asprintf.c: Likewise.
46657         * stdio-common/fxprintf.c: Likewise.
46658         * stdio-common/getw.c: Likewise.
46659         * stdio-common/isoc99_fscanf.c: Likewise.
46660         * stdio-common/isoc99_scanf.c: Likewise.
46661         * stdio-common/isoc99_vfscanf.c: Likewise.
46662         * stdio-common/isoc99_vscanf.c: Likewise.
46663         * stdio-common/isoc99_vsscanf.c: Likewise.
46664         * stdio-common/printf-prs.c: Likewise.
46665         * stdio-common/printf_fp.c: Likewise.
46666         * stdio-common/printf_fphex.c: Likewise.
46667         * stdio-common/printf_size.c: Likewise.
46668         * stdio-common/putw.c: Likewise.
46669         * stdio-common/scanf.c: Likewise.
46670         * stdio-common/sprintf.c: Likewise.
46671         * stdio-common/tmpfile.c: Likewise.
46672         * stdio-common/vfprintf.c: Likewise.
46673         * stdio-common/vfscanf.c: Likewise.
46674         * stdlib/strfmon_l.c: Likewise.
46675         * sunrpc/openchild.c: Likewise.
46676         * sunrpc/xdr_stdio.c: Likewise.
46677         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
46678         * sysdeps/mach/hurd/tmpfile.c: Likewise.
46680 2012-05-24  Roland McGrath  <roland@hack.frob.com>
46682         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46684         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
46685         in the third column, to generate for the shared library an IFUNC
46686         that uses _dl_vdso_vsym.
46687         * Makerules (COMPILE.c, compile-stdin.c): New variables.
46688         * Makeconfig (object-suffixes-noshared): New variable.
46690         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
46691         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
46692         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
46693         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
46695         [BZ #14132]
46696         * include/sys/time.h (__gettimeofday): Remove macro.
46697         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
46698         * time/gettimeofday.c (__gettimeofday): Remove #undef.
46699         Remove INTDEF.
46700         (__gettimeofday): Add libc_hidden_def.
46701         (gettimeofday): Add libc_hidden_weak.
46702         * sysdeps/mach/gettimeofday.c: Likewise.
46703         * sysdeps/posix/gettimeofday.c: Likewise.
46704         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
46705         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
46706         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
46707         (__gettimeofday_internal): Remove strong_alias.
46708         (__gettimeofday): Add libc_hidden_def.
46709         (gettimeofday): Add libc_hidden_weak.
46710         * sysdeps/unix/syscalls.list (gettimeofday):
46711         Remove __gettimeofday_internal alias.
46713 2012-05-24  Daniel Jacobowitz  <drow@false.org>
46714             H.J. Lu  <hongjiu.lu@intel.com>
46716         [BZ #12495]
46717         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
46718         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
46719         (largebin_index_32_big): New.
46720         (largebin_index): Use it for 16-byte alignment.
46721         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
46722         correction with front_misalign.
46724 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
46726         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
46727         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46728         Likewise.
46729         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
46730         Likewise.
46731         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
46732         Likewise.
46733         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
46734         Likewise.
46735         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
46736         Likewise.
46737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
46738         Likewise.
46739         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
46740         Likewise.
46741         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
46742         Likewise.
46743         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
46744         Likewise.
46745         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
46746         Likewise.
46747         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46748         Likewise.
46749         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
46750         Likewise.
46752         * scripts/data/c++-types-x32-linux-gnu.data: New file.
46753         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
46755 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
46757         [BZ #10846]
46758         [BZ #14036]
46759         * math/libm-test.inc (exp_test): Add test from bug 14036.
46760         (pow_test): Add test from bug 10846.
46762         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
46763         and other flags.
46764         (special_function): Do not include flags in test name.
46765         (parse_args): Likewise.
46766         * sysdeps/i386/fpu/libm-test-ulps: Update.
46767         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46768         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
46769         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
46770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46772         * math/gen-libm-test.pl (%beautify): Add entries for underflow
46773         exceptions.
46774         * math/libm-test.inc ("Philosophy"): Update comment about
46775         exception testing.
46776         (UNDERFLOW_EXCEPTION): New macro.
46777         (UNDERFLOW_EXCEPTION_OK): Likewise.
46778         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
46779         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
46780         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
46781         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
46782         (INVALID_EXCEPTION_OK): Update value.
46783         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46784         (OVERFLOW_EXCEPTION_OK): Likewise.
46785         (IGNORE_ZERO_INF_SIGN): Likewise.
46786         (test_exceptions): Handle underflow exceptions.
46787         (acos_test): Update for underflow exception expectations.
46788         (cexp_test): Likewise.
46789         (clog_test): Likewise.
46790         (clog10_test): Likewise.
46791         (csqrt_test): Likewise.
46792         (ctan_test): Likewise.
46793         (ctanh_test): Likewise.
46794         (exp_test): Likewise.
46795         (exp10_test): Likewise.
46796         (exp2_test): Likewise.
46797         (expm1_test): Likewise.
46798         (fma_test): Likewise.
46799         (j0_test): Likewise.
46800         (jn_test): Likewise.
46801         (nexttoward_test): Likewise.
46802         (pow_test): Likewise.
46803         (scalbn_test): Likewise.
46804         (scalbln_test): Likewise.
46805         (tan_test): Likewise.
46806         (y1_test): Likewise.
46807         * sysdeps/i386/fpu/libm-test-ulps: Update.
46808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46810 2012-05-23  David S. Miller  <davem@davemloft.net>
46812         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46813         (__libc_sigaction): Remove unused local variables.
46815 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46817         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
46819 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
46821         mktime: avoid signed integer overflow
46822         * time/mktime.c (__mktime_internal): Do not mishandle the case
46823         where diff == INT_MIN.
46825         mktime: simplify computation of average
46826         * time/mktime.c (ranged_convert): Use new time_t_avg function
46827         instead of rolling our own (probably-slower) code.
46829         mktime: do not assume signed right shift propagates sign bit
46830         * time/mktime.c (isdst_differ): New static function.
46831         (__mktime_internal): No need to normalize tm_isdst now.
46832         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
46833         tm_isdst values.
46835         mktime: merge another wrapv change from gnulib
46836         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
46837         from some compilers.
46839         mktime: remove incorrect attempt at unusual arithmetics
46840         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
46841         The code didn't really work on such machines anyway.
46842         (TYPE_MINIMUM): Assume two's complement.
46843         (twos_complement_arithmetic): Verify that long_int and time_t
46844         are two's complement (or unsigned, in the latter case).
46846         mktime: check signed shifts on long_int and time_t, too
46847         * time/mktime.c (SHR): Check that shifts work as desired
46848         on the types long_int and time_t too, as SHR is used on
46849         such types.
46851         mktime: do not assume 'long' is wide enough
46852         * time/mktime.c (verify): Move decl up.
46853         (long_int): New type.
46854         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
46855         to remove assumption in the code that 'long' is wide enough to
46856         store year values.  This assumption is not true on x32 and on
46857         some non-glibc platforms.
46859         mktime: merge wrapv change from gnulib
46860         * time/mktime.c (WRAPV): New macro.
46861         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
46862         (guess_time_tm, __mktime_internal): Do not assume that signed
46863         integer overflow wraps around; modern compilers generate code
46864         where this assumption is no longer valid.
46866 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46868         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46869         Replace "jmp L(pseudo_end)" with "ret".
46870         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
46871         Likewise.
46873 2012-05-23  Andreas Jaeger  <aj@suse.de>
46875         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
46876         * sysdeps/unix/sysv/linux/poll.c: Remove file.
46878 2012-05-23  Andreas Jaeger  <aj@suse.de>
46879             Maximilian Attems  <max@stro.at>
46881         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
46882         New macros.
46884 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
46886         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
46887         code so that pseudo_end is just ret and the stack pointer is
46888         correct also for static library in error case.
46890 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
46892         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
46893         move to syscalls.list.
46894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
46895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
46896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
46897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
46899         * manual/install.texi (Running make install): Do not mention Linux
46900         kernel version for which pt_chown is not needed.
46901         (Linux): Do not mention problems with nscd with 2.0 kernels.
46902         * INSTALL: Regenerated.
46904 2012-05-23  Andreas Jaeger  <aj@suse.de>
46906         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
46907         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
46908         macro.
46909         * sysdeps/unix/sysv/linux/s390/bits/mman.h
46910         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46911         * sysdeps/unix/sysv/linux/sh/bits/mman.h
46912         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46913         * sysdeps/unix/sysv/linux/i386/bits/mman.h
46914         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46915         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
46916         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46917         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
46918         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
46919         * sysdeps/unix/sysv/linux/bits/in.h
46920         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
46922 2012-05-22  Roland McGrath  <roland@hack.frob.com>
46924         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
46925         (PREPARE_VERSION): Just use assert instead, it will be elided
46926         under [NDEBUG] anyway.
46928 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46930         * sysdeps/unix/sysv/linux/Makefile: Include
46931         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
46932         (sysdep_routines): Remove sysctl.
46933         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
46934         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
46935         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
46936         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
46937         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
46939 2012-05-22  Andreas Jaeger  <aj@suse.de>
46941         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
46942         that pseudo_end is just ret and the stack pointer is correct also
46943         for static library in error case.
46945 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
46947         [BZ #14122]
46948         * nss/nsswitch.c (defconfig_entries): New variable.
46949         (__nss_database_lookup): Don't leak defconfig entries.
46950         (nss_parse_service_list): Don't leak on error paths.
46951         (free_database_entries): New function.
46952         (free_defconfig): New function.
46953         (free_mem): Move common code to free_database_entries.
46955 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46957         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
46958         Add arch_prctl.
46959         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
46961         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
46962         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
46963         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
46964         New macro.
46965         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
46966         (INTERNAL_SYSCALL_TYPES): Likewise.
46967         (LOAD_ARGS_TYPES_[1-6]): Likewise.
46968         (LOAD_REGS_TYPES_[1-6]): Likewise.
46969         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
46970         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
46972 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46974         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
46975         copysignl for GLIBC_2_0.
46976         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
46977         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
46978         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
46979         logbl for GLIBC_2_0.
46980         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
46981         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
46983 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
46985         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
46986         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46988         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
46989         Use "neg %eax".
46991         * time/mktime.c: Update copyright years.
46993 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
46995         mktime: merge comment-quoting-style change from gnulib
46996         * time/mktime.c: Quote 'like this' in comments.
46997         The GNU coding standards suggest that we no longer quote `like this',
46998         as "`" and "'" are typically rendered asymmetrically nowadays.
46999         The typical gnulib style is to quote 'like this' when quoting
47000         code, and "like this" when quoting English.
47002         * time/mktime.c (compile-command): Add "-I.".
47004         mktime: merge mktime-internal.h change from gnulib
47005         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
47007         mktime: merge time_r change from gnulib
47008         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
47010         mktime: merge DEBUG change from gnulib
47011         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
47012         case system <time.h> has a #define.
47014         mktime: merge <sys/types.h> change from gnulib
47015         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
47016         since <time.t> is now guaranteed to define time_t.
47018         mktime: merge HAVE_CONFIG_H change from gnulib
47019         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
47021 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
47023         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47024         Use "neg %eax".
47026         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
47027         __rlim_t cast.
47028         (struct rusage): Use anonymous union to pad each field to
47029         __syscall_slong_t.
47031 2012-05-21  David S. Miller  <davem@davemloft.net>
47033         * Makefules (o-iterator): Remove .s cases.
47034         (compile-command.s): Delete.
47035         (COMPILE.s): Delete.
47036         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
47038 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
47040         * configure.in (libc_cv_predef_stack_protector): Only consider
47041         "foobar" and "__stack_chk_fail" lines in libc_undefs.
47042         * configure: Regenerated.
47044 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47046         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
47047         New macro.  Use R*LP on int and pointer.
47048         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
47049         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
47050         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
47051         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
47053         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
47054         [__WORDSIZE_TIME64_COMPAT32] instead of
47055         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
47056         (struct utmp): Likewise.
47057         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
47058         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
47059         Renamed to ...
47060         (__WORDSIZE_TIME64_COMPAT32): This.
47061         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
47062         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
47063         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
47064         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
47065         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
47066         (__WORDSIZE_TIME64_COMPAT32): New macro.
47068 2012-05-21  Andreas Jaeger  <aj@suse.de>
47070         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
47071         only if [SHARED]. Add prototype for __wcschr_ia32.
47073 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47075         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
47076         of %rbp unmolested in the jmp_buf while mangling the low bits.
47077         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
47078         unmolested high bits of %rbp while demangling the low bits.
47079         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
47081 2012-05-21  Andreas Jaeger  <aj@suse.de>
47083         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
47084         * sunrpc/svc_simple.c: Use it for registerrpc.
47085         * sunrpc/xcrypt.c: Use it for passwd2des.
47087         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
47089 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47091         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
47092         Don't define if [__SYSCALL_WORDSIZE != 32].
47093         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
47094         New macro.
47096 2012-05-21  Bruno Haible  <bruno@clisp.org>
47097             Andreas Jaeger  <aj@suse.de>
47099         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
47100         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
47101         inptr and inend for must_buffer_ch.
47102         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
47103         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
47104         * stdio-common/Makefile (tests): Remove bug15.
47105         (bug15-ENV): Remove macro.
47106         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
47107         anymore.
47109 2012-05-19  Andreas Jaeger  <aj@suse.de>
47110             Roland McGrath  <roland@hack.frob.com>
47112         * manual/contrib.texi: Completely rewritten. It contains now an
47113         alphabetical list of contributors and their contributions.
47115 2012-05-21  Richard Henderson  <rth@twiddle.net>
47117         * misc/getauxval.c (__getauxval): Use unsigned long int.
47118         * misc/sys/auxv.h: Include <sys/cdefs.h>.
47119         (getauxval): Use unsigned long int.
47121 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
47123         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
47125 2012-05-21  Roland McGrath  <roland@hack.frob.com>
47127         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
47128         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
47129         __alignof__ (long double).
47131 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47135 2012-05-20  Richard Henderson  <rth@twiddle.net>
47137         * misc/getauxval.c: New file.
47138         * misc/sys/auxv.h: New file.
47139         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
47140         (routines): Add getauxval.
47141         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
47142         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
47143         * elf/dl-sysdep.c (_dl_auxv): Remove.
47144         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
47145         * elf/dl-support.c (_dl_auxv): New variable.
47146         (_dl_aux_init): Initialize it.
47147         * manual/startup.texi (Auxiliary Vector): New node.
47148         * sysdeps/generic/bits/hwcap.h: New file.
47149         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
47150         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
47151         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
47152         * sysdeps/sparc/sysdep.h: ... here.  Include it.
47153         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
47154         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
47155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47156         Update.
47157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
47158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
47159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
47160         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
47161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
47163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
47164         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
47166 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47170 2012-05-19  David S. Miller  <davem@davemloft.net>
47172         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47174 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47176         [BZ #14123]
47177         * math/s_ccosh.c: Include <float.h>
47178         (__ccosh): Avoid internal overflow calculating sinh and cosh
47179         values before multiplying by sin and cos values.
47180         * math/s_ccoshf.c: Likewise.
47181         * math/s_ccoshl.c: Likewise.
47182         * math/s_csin.c: Likewise.
47183         * math/s_csinf.c: Likewise.
47184         * math/s_csinl.c: Likewise.
47185         * math/s_csinh.c: Likewise.
47186         * math/s_csinhf.c: Likewise.
47187         * math/s_csinhl.c: Likewise.
47188         * math/libm-test.inc (ccos_test): Add more tests.
47189         (ccosh_test): Likewise.
47190         (csin_test): Likewise.
47191         (csinh_test): Likewise.
47192         * sysdeps/i386/fpu/libm-test-ulps: Update.
47193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47195 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
47197         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
47198         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
47200         * sysdeps/x86_64/x32/_itoa.h: Add comment.
47202 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
47204         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
47205         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
47206         * sysdeps/powerpc/soft-fp/Versions: Likewise.
47207         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
47208         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
47209         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
47210         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
47211         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
47212         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
47213         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
47214         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
47215         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
47216         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
47217         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
47218         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
47219         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
47220         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
47221         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
47222         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
47223         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
47224         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
47225         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
47226         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
47227         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
47228         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
47229         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
47230         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
47231         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
47232         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
47233         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
47234         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
47236 2012-05-18  Andreas Jaeger  <aj@suse.de>
47238         * csu/.gitignore: Delete.
47240 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47242         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
47243         (timex): Use __syscall_slong_t.
47245 2012-05-18  Andreas Jaeger  <aj@suse.de>
47246             Carlos O'Donell  <carlos_odonell@mentor.com>
47248         * manual/install.texi (Configuring and compiling): Update
47249         description about files modified in the source directory.
47250         * INSTALL: Regenerated.
47252 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47254         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
47255         value.  Use "or" to set return value to -1.
47256         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
47257         negate return value.
47259 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
47261         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
47262         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
47263         failure if the compiler has Graphite support disabled.
47264         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
47265         Likewise.
47266         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
47267         (CFLAGS-memmove.c): Likewise.
47268         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
47269         Likewise.
47271 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
47273         * sysdeps/x86_64/x32/_itoa.h: New file.
47275         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
47276         getdents system call only if kernel and user dirents have the
47277         same d_ino and d_off.
47279         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47280         LLONG_MAX != LONG_MAX.
47281         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47282         (_fitoa_word): Likewise.
47284         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
47285         years.
47286         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
47287         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
47288         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
47290         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
47291         include <bits/wordsize.h>.  Check __x86_64__ instead of
47292         __WORDSIZE.
47293         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
47294         if __x86_64__ is defined.  Use anonymous union on fpstate.
47296         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
47297         anonymous union.
47299 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
47301         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
47302         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
47303         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
47304         Refer to _rtld_local_ro instead of _rtld_global_ro.
47305         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
47306         Likewise.
47307         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
47308         Likewise.
47309         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
47310         Likewise.
47311         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
47312         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
47313         of _rtld_global, and rtld_progname instead of _dl_argv[0].
47315         * sysdeps/powerpc/powerpc32/dl-machine.c
47316         (__elf_machine_runtime_setup) [PROF]: Don't reference
47317         _dl_prof_resolve.
47319 2012-05-18  Andreas Jaeger  <aj@suse.de>
47321         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
47322         function only available for GCCs before 3.4 since GCC 3.4
47323         introduced a builtin.
47324         (lrint): Likewise.
47325         (llrintf): Likewise.
47326         (llrint): Likewise.
47327         (fmaxf): Likewise.
47328         (fmax): Likewise.
47329         (fminf): Likewise.
47330         (fmin): Likewise.
47331         (rint): Likewise.
47332         (rintf): Likewise.
47333         (nearbyint): Likewise.
47334         (nearbyintf): Likewise.
47335         (ceil): Likewise.
47336         (ceilf): Likewise.
47337         (floor): Likewise.
47338         (floorf): Likewise.
47340 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47342         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
47343         on both fields and cast pointer to __syscall_ulong_t.
47345         * bits/types.h (__fsword_t): New type.
47346         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
47347         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
47348         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47349         (__FSWORD_T_TYPE): Likewise.
47350         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47351         (__FSWORD_T_TYPE): Likewise.
47352         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47353         (__FSWORD_T_TYPE): Likewise.
47354         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
47355         (__FSWORD_T_TYPE): Likewise.
47356         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
47357         __SWORD_TYPE with __fsword_t.
47358         (statfs64): Likewise.
47360 2012-05-17  David S. Miller  <davem@davemloft.net>
47362         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
47364 2012-05-17  Andreas Jaeger  <aj@suse.de>
47366         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
47367         warning.
47369 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47371         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
47373 2012-05-17  Andreas Jaeger  <aj@suse.de>
47375         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
47376         when it is used.
47378 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47380         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
47382 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
47384         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
47385         * sysdeps/x86_64/tst-mallocalign1.c: New file.
47387 2012-05-17  Andreas Jaeger  <aj@suse.de>
47388             Carlos O'Donell  <carlos_odonell@mentor.com>
47390         [BZ #14059]
47391         * sysdeps/x86_64/multiarch/init-arch.h
47392         (bit_YMM_Usable): Rename to...
47393         (bit_AVX_Usable): ... this.
47394         (bit_FMA4_Usable): New macro.
47395         (bit_XMM_state): New macro.
47396         (bit_YMM_state): New macro.
47397         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
47398         [__ASSEMBLER__] (index_AVX_Usable): ... this.
47399         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
47400         (CPUID_OSXSAVE): New macro.
47401         (CPUID_AVX): New macro.
47402         (CPUID_FMA4): New macro.
47403         (index_YMM_Usable): Rename to...
47404         (index_AVX_Usable): ... this.
47405         (HAS_AVX): Use HAS_ARCH_FEATURE.
47406         (HAS_FMA4): Likewise.
47407         (HAS_YMM_USABLE): Remove.
47408         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47409         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
47410         are present.
47411         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
47412         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
47413         * sysdeps/x86_64/multiarch/Makefile: Likewise.
47414         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
47415         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
47417 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
47419         * math/libm-test.c: Support platforms without multiple rounding modes.
47420         * math/bug-nextafter.c: Support platforms without FP exceptions.
47421         * math/bug-nexttoward.c: Likewise.
47422         * math/test-fenv.c: Likewise.
47423         * math/test-misc.c: Likewise.
47424         * stdlib/bug-getcontext.c: Likewise.
47426 2012-05-17  Andreas Jaeger  <aj@suse.de>
47428         * manual/examples/search.c (critter_cmp): Change signature to
47429         avoid warnings.
47430         * manual/string.texi (Collation Functions): Likewise.
47432 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47434         * bits/types.h: Fold copyright years.
47435         * bits/typesizes.h: Likewise.
47436         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
47437         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
47438         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
47439         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
47440         * time/time.h: Likewise.
47442 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
47444         [BZ #208]
47445         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
47446         in instead of returning them.  Return void.
47447         (__libc_mallinfo): Accumulate over all arenas.
47448         (__malloc_stats): Adjust for change in int_mallinfo interface.
47450 2012-05-16  Roland McGrath  <roland@hack.frob.com>
47452         [BZ #10375]
47453         * configure.in (NM): Add AC_CHECK_TOOL for it.
47454         (libc_extra_cflags): New substituted variable.
47455         Check for -fstack-protector being used implicitly.
47456         * configure: Regenerated.
47457         * config.make.in (config-extra-cflags): New variable,
47458         gets @libc_extra_cflags@.
47459         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
47461         [BZ #10375]
47462         * configure.in: Check for _FORTIFY_SOURCE being predefined.
47463         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
47464         * configure: Regenerated.
47465         * config.make.in (CPPUNDEFS): New substituted variable.
47466         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
47467         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
47468         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
47470 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47472         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
47473         (mq_attr): Use __syscall_slong_t.
47475 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47477         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
47478         Check __x86_64__ instead of __WORDSIZE.
47479         (_STAT_VER_LINUX): Likewise.
47480         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
47481         __syscall_ulong_t and __syscall_slong_t.
47482         (stat64): Likewise.
47484 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47486         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
47488 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47490         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
47492 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47494         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
47495         __syscall_ulong_t.
47497         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
47498         include <bits/wordsize.h>.  Check __x86_64__ instead of
47499         __WORDSIZE.
47500         (greg_t): Use "__extension__ long long int" if __x86_64__ is
47501         defined.
47502         (mcontext_t): Replace "unsigned long" with "unsigned long long".
47504         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
47505         include <bits/wordsize.h>.  Check __x86_64__ instead of
47506         __WORDSIZE.
47507         (user_regs_struct): Use "__extension__ unsigned long long"
47508         instead of "unsigned long" if __x86_64__ is defined.
47509         (user): Likewise.  Pad after pointer field if __ILP32__ is
47510         defined.
47512 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
47514         * configure.in (makeinfo): Require version 4.5 or later.  Allow
47515         versions 5 to 9.
47516         * configure: Regenerated.
47517         * manual/install.texi (texinfo): Increase version requirement to
47518         4.5 or later.
47519         * INSTALL: Regenerated.
47521         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
47523 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
47525         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
47527         * sysdeps/x86_64/x32/ffs.c: New file.
47529         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
47530         __syscall_ulong_t.
47531         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
47532         defined.  Use __syscall_ulong_t.
47533         (shminfo): Use __syscall_ulong_t.
47534         (shm_info): Likewise.
47536         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
47537         __syscall_ulong_t.
47539         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
47540         <bits/wordsize.h>.
47541         (msgqnum_t): Use __syscall_ulong_t.
47542         (msglen_t): Likewise.
47543         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
47544         __syscall_ulong_t.
47546         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
47547         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47549         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
47551         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
47552         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
47554         * sysvipc/sys/msg.h (msgbuf): Replace long int with
47555         __syscall_slong_t.
47557         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
47558         include <bits/wordsize.h>.  Check __x86_64__ instead of
47559         __WORDSIZE.
47561         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
47562         "unsigned long long int" if __x86_64__ is defined.
47563         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
47565         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
47566         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
47567         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
47569         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
47570         <stdint.h>.
47571         (GET_PC): Cast to uintptr_t first.
47572         (GET_FRAME): Likewise.
47573         (GET_STACK): Likewise.
47575         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
47576         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
47577         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
47578         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
47579         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
47580         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
47581         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
47582         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
47583         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
47584         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
47585         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
47586         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
47587         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47588         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
47589         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
47590         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
47591         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
47592         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
47593         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
47594         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
47595         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
47596         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
47597         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
47598         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
47599         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
47600         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
47601         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
47602         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
47603         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
47605 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
47607         * Makerules (+depfiles): Also collect depfiles from .oS in
47608         $(extra-objs).
47609         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
47610         .oS, $(libnldbl-routines)).
47612         * Makerules (native-compile-mkdep-flags): Define.
47613         * sunrpc/Makefile (extra-objs): Add $(addprefix
47614         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
47615         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
47616         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
47617         calling $(make-target-directory).
47619 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47621         * bits/types.h (__snseconds_t): Removed.
47622         * time/time.h (struct timespec): Replace __snseconds_t with
47623         __syscall_slong_t.
47624         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
47625         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
47626         Likewise.
47627         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47628         (__SNSECONDS_T_TYPE): Likewise.
47629         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47630         (__SNSECONDS_T_TYPE): Likewise.
47631         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47632         (__SNSECONDS_T_TYPE): Likewise.
47634 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47636         * sysdeps/mach/hurd/bits/typesizes.h
47637         (__SYSCALL_SLONG_TYPE): New macro.
47638         (__SYSCALL_ULONG_TYPE): Likewise.
47640 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47642         * bits/types.h (__syscall_slong_t): New type.
47643         (__syscall_ulong_t): Likewise.
47645         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
47646         (__SYSCALL_ULONG_TYPE): Likewise.
47647         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47648         (__SYSCALL_SLONG_TYPE): Likewise.
47649         (__SYSCALL_ULONG_TYPE): Likewise.
47650         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47651         (__SYSCALL_SLONG_TYPE): Likewise.
47652         (__SYSCALL_ULONG_TYPE): Likewise.
47653         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47654         (__SYSCALL_SLONG_TYPE): Likewise.
47655         (__SYSCALL_ULONG_TYPE): Likewise.
47657 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47659         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
47660         Add sigaltstack-offsets.sym.
47661         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
47662         <sigaltstack-offsets.h>.
47663         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
47664         longjmp_msg pointer.
47665         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
47666         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
47667         signal stack.
47668         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
47670 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47672         * elf/stackguard-macros.h: Remove file.
47673         * sysdeps/generic/stackguard-macros.h: New file.
47674         * sysdeps/i386/stackguard-macros.h: Likewise.
47675         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
47676         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
47677         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
47678         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
47679         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
47680         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
47681         * sysdeps/x86_64/stackguard-macros.h: Likewise.
47682         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
47683         <elf/stackguard-macros.h>.
47685         [BZ #14109]
47686         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
47687         __aligned__ in attribute.
47688         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
47689         (gregset_t): Likewise.
47691 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47693         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
47694         * sysdeps/x86_64/64/Implies-after: Here.  New file.
47695         * sysdeps/x86_64/x32/Implies-after: New file.
47697 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47699         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
47700         and access return value for _dl_profile_fixup.  Use R10_LP to
47701         load frame size.
47703 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47705         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
47707 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47709         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
47710         * sysdeps/x86_64/x32/sysdep.h: New file.
47712 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47714         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
47715         * sysdeps/x86_64/setjmp.S: Likewise.
47717 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47719         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
47720         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
47721         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
47722         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
47723         remove unused global constant.
47725 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
47727         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
47728         include of <not-cancel.h>.
47730 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47732         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
47734 2012-05-15  Jeff Law  <law@redhat.com>
47735             Andreas Jaeger  <aj@suse.de>
47737         [BZ #13594]
47738         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
47739         out from...
47740         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
47741         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
47742         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
47743         code changing __hst_map_handle.map.
47745 2012-05-15  Roland McGrath  <roland@hack.frob.com>
47747         * configure.in (sysnames): Look for Implies-before and Implies-after
47748         files.
47749         * configure: Regenerated.
47751 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47753         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
47754         8-byte data alignment with LP_SIZE alignment.
47756 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47758         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
47759         into R10_LP.
47761 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47763         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
47765 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47767         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
47768         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
47769         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
47770         Likewise.
47771         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47773 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47775         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
47776         (stackinfo_sub_sp): Likewise.
47778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47780         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
47781         RAX_LP.
47783 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47785         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
47786         into R*_LP.
47788 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47790         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
47791         sizes into R*_LP.
47793 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47795         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
47797 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47799         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
47800         into R11_LP and load __x86_64_shared_cache_size_half into
47801         R8_LP.
47803 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
47805         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
47806         R8_LP.
47808 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47810         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
47811         logb for POWER7.
47812         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
47813         logbf for POWER7.
47814         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
47815         logbl for POWER7.
47816         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
47817         powerpc32/power7/fpu/s_logb.c via #include.
47818         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
47819         powerpc32/power7/fpu/s_logbf.c via #include.
47820         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
47821         powerpc32/power7/fpu/s_logbl.c via #include.
47823 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
47825         * README.libm: Remove file.
47827 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47829         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
47830         count for x32.  Use R*_LP and omit operand-size suffix.
47832 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47834         * shlib-versions: Move x86_64-.*-linux.* entries to ...
47835         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
47836         * sysdeps/x86_64/x32/shlib-versions: New file.
47838 2012-05-14  Roland McGrath  <roland@hack.frob.com>
47840         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
47841         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
47842         Use _dl_fatal_printf instead.
47844 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
47846         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
47847         set if not set by the user.  Do not allow for being unset.
47848         * sysdeps/unix/sysv/linux/configure: Regenerated.
47850 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47852         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
47853         the `q' suffix from lea and replace .quad with ASM_ADDR.
47855 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47857         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
47858         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
47859         instead of $17.
47860         (PTR_DEMANGLE): Likewise.
47862 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47864         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
47865         (LP_OP): Likewise.
47866         (ASM_ADDR): Likewise.
47867         (RAX_LP): Likewise.
47868         (RBP_LP): Likewise.
47869         (RBX_LP): Likewise.
47870         (RCX_LP): Likewise.
47871         (RDI_LP): Likewise.
47872         (RSI_LP): Likewise.
47873         (RSP_LP): Likewise.
47874         (R8_LP): Likewise.
47875         (R9_LP): Likewise.
47876         (R10_LP): Likewise.
47877         (R10_LP): Likewise.
47878         (R11_LP): Likewise.
47879         (R12_LP): Likewise.
47880         (R13_LP): Likewise.
47881         (R14_LP): Likewise.
47882         (R15_LP): Likewise.
47884 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47886         * sysdeps/x86_64/x32/dl-machine.h: New file.
47888 2012-05-14  Andreas Jaeger  <aj@suse.de>
47890         * manual/Makefile (subdir): Remove export of subdir.
47891         (all): Remove target.
47892         (.PHONY): Remove all from list.
47893         (mkinstalldirs): Remove.
47894         (.PHONY): Remove installdirs from list.
47895         ($(inst_infodir)/libc.info): Use make-target-directory.
47896         (installdirs): Remove.
47897         (subdir_%): Remove.
47898         (glibc-targets): Remove.
47899         (lib): Remove.
47900         (stubs): Remove.
47901         ($(objpfx)stubs ../po/manual.pot): Remove.
47902         ($(objpfx)stamp%): Remove.
47903         (make-target-directory): Remove.
47904         (subdir_install): Remove.
47905         (routines): Remove.
47906         (aux): Remove.
47907         (sources): Remove.
47908         (objects): Remove.
47909         (headers): Remove.
47911         [BZ #13750]
47912         * manual/.gitignore: Remove, it's not needed anymore.
47913         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
47914         all files in it.
47915         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
47916         directory.
47917         (texis): Renamed to $(objpfx)texis.
47918         (texis-path): New, contains path to generated files.
47919         (chapters.%): Use texis-path for complete path, add extra argument
47920         libc-texinfo.sh.
47921         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
47922         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
47923         (summary,texi, stamp-summary): Use complete path of
47924         files. Generate files in build dir.
47925         (dir-add.texi): Build in build dir.
47926         (libm-err.texi,stamp-libm-err): Likewise.
47927         (version.texi, stamp-version): Likewise.
47928         (.%c.texi): Likewise.
47929         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
47930         (mostlyclean): Remove target.
47931         (realclean): Remove target.
47932         (generated): Add new variable with contents from mostlyclean and
47933         realclean, remove entries duplicated in common-mostlyclean, add
47934         stamp-libm-err and stamp-version.
47935         (generated-dirs): Add libc directory.
47936         ($(inst_infodir)/libc.info): Install files from build dir.
47938         * manual/install.texi (Configuring and compiling): Adjust since
47939         the info files are not part of the tar ball anymore.
47941 2012-05-14  Andreas Jaeger  <aj@suse.de>
47943         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
47944         variable.
47946 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
47948         [BZ #13717]
47949         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
47950         to 2.2.0 where earlier.
47951         * sysdeps/unix/sysv/linux/configure: Regenerated.
47952         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
47953         Remove conditional code.
47954         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
47955         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
47956         Remove conditional code.
47957         [!__NR_lchown]: Likewise.
47958         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47959         [__NR_lchown]: Likewise.
47960         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
47961         comment referencing __ASSUME_LCHOWN_SYSCALL.
47962         * sysdeps/unix/sysv/linux/i386/sigaction.c
47963         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47964         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47965         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
47966         Remove conditional code.
47967         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
47968         (__protocol_available): Remove #if 0 code.
47969         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
47970         conditional code.
47971         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
47972         * sysdeps/unix/sysv/linux/kernel-features.h
47973         (__ASSUME_GETCWD_SYSCALL): Don't define.
47974         (__ASSUME_REALTIME_SIGNALS): Likewise.
47975         (__ASSUME_PREAD_SYSCALL): Likewise.
47976         (__ASSUME_PWRITE_SYSCALL): Likewise.
47977         (__ASSUME_POLL_SYSCALL): Likewise.
47978         (__ASSUME_LCHOWN_SYSCALL): Likewise.
47979         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
47980         non-SPARC.
47981         (__ASSUME_SIOCGIFNAME): Don't define.
47982         (__ASSUME_MSG_NOSIGNAL): Likewise.
47983         (__ASSUME_SENDFILE): Define unconditionally.
47984         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
47985         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
47986         conditional code.
47987         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
47988         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
47989         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47990         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47991         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
47992         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
47993         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
47994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
47995         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47996         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
47998         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
47999         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
48001         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48002         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
48004         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48005         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
48007         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48008         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
48010         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
48011         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
48013         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48014         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
48016         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48017         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48018         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
48019         Remove conditional code.
48020         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48021         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48022         Remove conditional code.
48023         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48024         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
48025         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
48026         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48027         Remove conditional code.
48028         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48029         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
48030         Remove conditional code.
48031         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48032         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
48033         Remove conditional code.
48034         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48035         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
48036         Remove conditional code.
48037         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
48038         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
48039         Remove conditional code.
48040         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48041         * sysdeps/unix/sysv/linux/sh/pwrite64.c
48042         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
48043         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
48044         * sysdeps/unix/sysv/linux/sigaction.c
48045         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48046         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48047         * sysdeps/unix/sysv/linux/sigpending.c
48048         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48049         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48050         * sysdeps/unix/sysv/linux/sigprocmask.c
48051         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48052         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48053         * sysdeps/unix/sysv/linux/sigsuspend.c
48054         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
48055         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
48056         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
48057         (__libc_missing_rt_sigs): Remove.
48058         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
48059         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
48060         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
48061         Remove conditional code.
48062         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
48063         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
48064         return 1.
48065         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
48066         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
48067         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
48068         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
48070 2012-05-14  Andreas Jaeger  <aj@suse.de>
48072         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
48073         it's not used in glibc.
48074         (__coshm1): Likewise.
48075         (__acosh1p): Likewise.
48076         (__sgn): Likewise.
48078         * manual/string.texi (Copying and Concatenation): Add missing
48079         variable in concat example.
48080         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
48082 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48084         [BZ #14103]
48085         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
48086         __builtin_clzl with __builtin_clzll.
48088 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
48090         [BZ #14104]
48091         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
48092         libc_freeres_ptr.
48094 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48096         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
48097         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
48098         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
48099         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
48101 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
48103         * NEWS: Update ia64 info.
48105 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
48107         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
48108         used as bcopy.
48110 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
48112         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
48113         * sysdeps/unix/syscalls.list (dup3): Likewise.
48114         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
48115         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
48117 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48119         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
48120         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
48122 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
48124         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
48125         thread pointer.
48126         (TLS_IE): Use mov/add instead of movq/addq to load thread
48127         pointer.
48128         (TLS_GD_PREFIX): New.
48129         (TLS_GD): Use it.
48131 2012-05-11  David S. Miller  <davem@davemloft.net>
48133         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
48134         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
48135         (_FPU_SETCW): Likewise.
48137 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48139         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
48140         is 32-byte aligned.
48142 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
48144         [BZ #11837]
48145         * iconvdata/gb18030.c: Update tables.
48146         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
48147         characters specially.
48148         (BODY for TO_LOOP): Add encoding of missing ranges.
48150 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
48152         [BZ #13673]
48153         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
48154         * sysdeps/mach/hurd/dup3.c: Likewise.
48155         * sysdeps/mach/hurd/readlinkat.c: Likewise.
48156         * sysdeps/powerpc/memmove.c:: Likewise.
48158 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48160         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
48161         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
48163 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48165         * elf/elf.h (R_X86_64_RELATIVE64): New.
48166         (R_X86_64_NUM): Updated.
48167         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48168         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
48169         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
48170         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
48171         tst-quad1pie tst-quad2pie
48172         (modules-names): Add tst-quadmod1 tst-quadmod2.
48173         ($(objpfx)tst-quad1): New dependency.
48174         ($(objpfx)tst-quad2): Likewise.
48175         ($(objpfx)tst-quad1pie): Likewise.
48176         ($(objpfx)tst-quad2pie): Likewise.
48177         * sysdeps/x86_64/tst-quad1.c: New file.
48178         * sysdeps/x86_64/tst-quad1pie.c: New file.
48179         * sysdeps/x86_64/tst-quad2.c: Likewise.
48180         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
48181         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
48182         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
48183         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
48184         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
48186 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48188         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
48189         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
48190         * streams/stropts.h (t_scalar_t): Define type.
48192         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
48193         (_PATH_PRESERVE): Set to "/var/lib".
48194         (_PATH_RWHODIR): Set to "/var/spool/rwho".
48196         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
48197         instead of int.
48199         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
48200         if __dir_mkfile succeeded.
48202         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
48203         checking for _hurd_dtablesize.  Unlock it right after having
48204         finished _hurd_dtable allocation.
48206 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48208         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
48209         * sysdeps/mach/hurd/configure: Regenerated.
48210         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
48211         special-casing to...
48212         * sysdeps/gnu/configure.in: ... this new file.
48213         * sysdeps/unix/sysv/linux/configure: Regenerated.
48214         * sysdeps/gnu/configure: New generated file.
48216         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
48217         for Linux: use nsec instead of usec, as well as:
48218         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
48219         members of type struct timespec.
48220         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
48221         New macros.
48222         (struct stat64): Likewise.
48223         (_STATBUF_ST_NSEC): New macro.
48224         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
48226         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
48227         __strtoul_internal rather than strtoul.
48229 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48231         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
48232         and reject them.
48234 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48236         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
48237         which preserves existing values.
48238         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
48240 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48242         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
48243         TIMEOUT values.  Return EINVAL for NFDS values either negative or
48244         greater than FD_SETSIZE.
48246 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48248         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
48249         allocated, call __vm_protect to finish enabling the existing space, and
48250         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
48251         allocate the remainder.
48253 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48255         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
48256         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
48258 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48260         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
48261         sysdeps/mach/hurd/readlink.c.
48263         * posix/tst-sysconf.c (posix_options): Only use
48264         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
48265         _POSIX_SYNCHRONIZED_IO when they are defined
48266         * sysdeps/mach/hurd/bits/posix_opt.h:
48267         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
48268         (_XOPEN_REALTIME): Undefine macro.
48269         (_XOPEN_REALTIME_THREADS): Undefine macro.
48270         (_XOPEN_SHM): Undefine macro.
48271         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
48272         macro to -1.
48273         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
48274         macro to -1.
48275         (_POSIX_ASYNC_IO): Undefine macro.
48276         (_POSIX_PRIORITIZED_IO): Undefine macro.
48277         (_POSIX_SPIN_LOCKS): Define macro to -1.
48279         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
48280         SA_NODEFER, SA_RESETHAND.
48281         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
48282         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
48283         F_DUPFD_CLOEXEC.
48285 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48287         * elf/Makefile (pldd-modules): Define unconditionally.
48289 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48291         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
48293 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48295         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
48296         Return ENOENT when name is empty.
48297         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
48299 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48301         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
48303         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
48305 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48307         Fix mlock in all cases except non-readable pages.
48308         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
48309         instead of VM_PROT_ALL as parameter to __vm_wire function.
48311         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
48312         (__mkdir): When path is `/', just fail with EEXIST.
48313         * sysdeps/mach/hurd/mkdirat.c: Likewise.
48315 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48317         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
48318         <sys/uio.h> (for writev).
48319         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
48320         and <sys/param.h> (for MIN).
48322 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
48324         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
48325         REQUESTED_TIME.  Properly set the remaining time and return EINTR
48326         if interrupted.
48328 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48330         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
48331         Depend on against $(link-rpcuserlibs).
48333 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48335         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
48336         (__libc_stack_end): Do not use attribute_relro.
48337         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
48338         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
48339         to libthread-provided value.
48340         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
48341         attribute_relro.
48343 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48345         [BZ #3748]
48346         * bits/libc-lock.h (__libc_once_get): New macro.
48347         * sysdeps/mach/bits/libc-lock.h: Likewise.
48348         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
48349         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
48350         instead of using implementation details.
48352         * libio/fileops.c: Unconditionally include <kernel-features.h>.
48353         * libio/freopen.c: Likewise.
48354         * libio/freopen64.c: Likewise.
48355         * misc/syslog.c: Likewise.
48356         * nscd/connections.c: Likewise.
48357         * nscd/netgroupcache.c: Likewise.
48358         * sysdeps/posix/getcwd.c: Likewise.
48360 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48362         * math/w_ilogbf.c: Add #include <limits.h>.
48364 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48366         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
48367         path instead of returning without unlocking.
48369         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
48370         immediate-write ioctls.
48371         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
48373 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48375         * sysdeps/mach/hurd/i386/init-first.c (init): Use
48376         __builtin_frame_address instead of making assumptions about the
48377         location of the return address relative to DATA.  Force early load of
48378         the return address.
48379         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
48380         __builtin_frame_address.
48382         dup3 for GNU Hurd.
48383         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
48384         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
48385         implement dup3 and do some further code clean-ups.
48386         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
48387         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
48389 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48391         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
48393         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
48394         HURD_CRITICAL_END around holding _hurd_dtable_lock.
48395         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
48396         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
48397         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
48398         d->port.lock.
48400         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
48401         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
48402         when handler == SIG_ERR, not when handler != SIG_ERR.
48404 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48406         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
48407         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
48408         definitions.
48410         accept4 for GNU Hurd.
48411         * include/sys/socket.h (__libc_accept4): New prototype.
48412         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
48413         to implement __libc_accept4.
48414         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
48415         __libc_accept4.
48416         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
48418         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
48419         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
48420         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
48421         signal-defines.sym.
48423 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48425         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
48427 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
48429         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
48430         assertion on O_CLOEXEC flag.
48431         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
48432         * hurd/intern-fd.c: Likewise.
48433         * hurd/port2fd.c: Likewise.
48435 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48437         [BZ #3906]
48438         * bits/in.h (IPV6_PKTINFO): Define new macro.
48439         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
48441 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48443         [BZ #13954]
48444         [BZ #13955]
48445         [BZ #13956]
48446         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
48447         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
48448         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
48449         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
48450         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48451         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
48452         * math/libm-test.inc (logb_test) : Additional logb tests.
48454 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
48455             Andreas Jaeger  <aj@suse.de>
48457         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
48458         * configure: Regenerated.
48459         * config.h.in (LINK_OBSOLETE_RPC): New macro.
48460         * config.make.in (link-obsolete-rpc): New substituted variable.
48461         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
48462         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
48463         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48464         (shared-only-routines): Don't set it under [link-obsolete-rpc],
48465         so that libc.a contains the symbols.
48466         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
48467         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
48468         * sunrpc/auth_none.c: Likewise.
48469         * sunrpc/auth_unix.c: Likewise.
48470         * sunrpc/authdes_prot.c: Likewise.
48471         * sunrpc/authuxprot.c: Likewise.
48472         * sunrpc/clnt_gen.c: Likewise.
48473         * sunrpc/clnt_perr.c: Likewise.
48474         * sunrpc/clnt_raw.c: Likewise.
48475         * sunrpc/clnt_simp.c: Likewise.
48476         * sunrpc/clnt_tcp.c: Likewise.
48477         * sunrpc/clnt_udp.c: Likewise.
48478         * sunrpc/clnt_unix.c: Likewise.
48479         * sunrpc/des_crypt.c: Likewise.
48480         * sunrpc/des_soft.c: Likewise.
48481         * sunrpc/get_myaddr.c: Likewise.
48482         * sunrpc/key_call.c: Likewise.
48483         * sunrpc/key_prot.c: Likewise.
48484         * sunrpc/netname.c: Likewise.
48485         * sunrpc/pm_getmaps.c: Likewise.
48486         * sunrpc/pm_getport.c: Likewise.
48487         * sunrpc/pmap_clnt.c: Likewise.
48488         * sunrpc/pmap_prot.c: Likewise.
48489         * sunrpc/pmap_prot2.c: Likewise.
48490         * sunrpc/pmap_rmt.c: Likewise.
48491         * sunrpc/publickey.c: Likewise.
48492         * sunrpc/rpc_cmsg.c: Likewise.
48493         * sunrpc/rpc_common.c: Likewise.
48494         * sunrpc/rpc_dtable.c: Likewise.
48495         * sunrpc/rpc_prot.c: Likewise.
48496         * sunrpc/rpc_thread.c: Likewise.
48497         * sunrpc/rtime.c: Likewise.
48498         * sunrpc/svc.c: Likewise.
48499         * sunrpc/svc_auth.c: Likewise.
48500         * sunrpc/svc_raw.c: Likewise.
48501         * sunrpc/svc_run.c: Likewise.
48502         * sunrpc/svc_tcp.c: Likewise.
48503         * sunrpc/svc_udp.c: Likewise.
48504         * sunrpc/svc_unix.c: Likewise.
48505         * sunrpc/svcauth_des.c: Likewise.
48506         * sunrpc/xcrypt.c: Likewise.
48507         * sunrpc/xdr.c: Likewise.
48508         * sunrpc/xdr_array.c: Likewise.
48509         * sunrpc/xdr_float.c: Likewise.
48510         * sunrpc/xdr_intXX_t.c: Likewise.
48511         * sunrpc/xdr_mem.c: Likewise.
48512         * sunrpc/xdr_rec.c: Likewise.
48513         * sunrpc/xdr_ref.c: Likewise.
48514         * sunrpc/xdr_sizeof.c: Likewise.
48515         * sunrpc/xdr_stdio.c: Likewise.
48517 2012-05-10  Roland McGrath  <roland@hack.frob.com>
48519         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
48520         change.  Update copyright years.
48522 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48524         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
48526 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
48527             Joseph Myers  <joseph@codesourcery.com>
48528             Paul Pluzhnikov  <ppluzhnikov@google.com>
48530         [BZ #14012]
48531         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
48532         requiring rpcgen.
48533         [cross-compiling] (extra-libs): Likewise.
48534         [cross-compiling] (extra-libs-others): Likewise.
48535         [cross-compiling] (librpcsvc-routines): Likewise.
48536         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
48537         [cross-compiling] (omit-deps): Likewise.
48538         (sunrpc-CPPFLAGS): New variable.
48539         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
48540         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
48541         (cross-rpcgen-objs): New variable.
48542         (extra-objs): Append $(cross-rpcgen-objs).
48543         ($(cross-rpcgen-objs)): New rule.
48544         ($(objpfx)cross-rpcgen): Likewise.
48545         (rpcgen-cmd): Define to use $(built-program-file).  Expand
48546         comment.
48547         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
48548         ($(objpfx)x%.stmp): Likewise.
48549         * sunrpc/proto.h [IS_IN_build] (_): Define.
48550         [IS_IN_build] (_libc_intl_domainname): Likewise.
48552 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
48554         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
48555         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
48556         and R_X86_64_TPOFF64.
48558 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
48560         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
48561         sysdeps/unix/sysv/syscalls.list.
48562         (stime): Likewise.
48563         (utime): Likewise.
48564         * sysdeps/unix/sysv/syscalls.list: Remove file.
48566 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
48568         [BZ #3440]
48569         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
48570         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
48571         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
48572         (__LC_IDENTIFICATION): Make these macros useful in #if
48573         expressions, as required by C99.
48575 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
48577         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
48578         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
48579         after this.
48581 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
48583         * stdlib/longlong.h: Updated from GCC.
48585 2012-05-09  Andreas Jaeger  <aj@suse.de>
48587         * nscd/nscd.c (run_modes): Make named enum, reorder so that
48588         default is first entry.
48589         (run_mode): Set type.
48590         (main): Remove informal message about syslog.
48591         (options): Fix typo.
48593         [BZ #14053]
48594         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
48595         to asm.
48596         (lrint): Likewise.
48597         (llrintf): Likewise.
48598         (llrint): Likewise.
48599         (rint): Likewise.
48600         (rintf): Likewise.
48601         (nearbyint): Likewise.
48602         (nearbyintf): Likewise.
48604 2012-05-09  Andreas Jaeger  <aj@suse.de>
48605             Pedro Alves  <palves@redhat.com>
48607         * nscd/nscd.c (run_mode): Use enum.
48608         (main): Cleanup coding style issue.
48610 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
48611             Andreas Jaeger  <aj@suse.de>
48613         * nscd/nscd.c (go_background): Replaced with...
48614         (run_mode): ... this.
48615         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
48616         (options): Add -F --foreground.
48617         (main): Implement it.
48618         (parse_opt): Parse it.
48620 2012-05-09  Andreas Jaeger  <aj@suse.de>
48622         [BZ #14083]
48623         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
48624         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
48625         -Wconversion warning.
48626         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
48627         Likewise.
48629 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
48631         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
48632         == 0.
48633         (LC_ALL): Use macro-int-constant.
48634         (LC_COLLATE): Likewise.
48635         (LC_CTYPE): Likewise.
48636         (LC_MESSAGES): Likewise.
48637         (LC_MONETARY): Likewise.
48638         (LC_NUMERIC): Likewise.
48639         (LC_TIME): Likewise.
48640         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
48641         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48642         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48643         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
48644         Specify type.
48645         [C99-based standards] (float_t): Expect type.
48646         [C99-based standards] (double_t): Expect type.
48647         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
48648         type.
48649         [C99-based standards] (HUGE_VALL): Likewise.
48650         [C99-based standards] (INFINITY): Likewise.
48651         [C99-based standards] (NAN): Likewise.
48652         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
48653         [C99-based standards] (FP_NAN): Likewise.
48654         [C99-based standards] (FP_NORMAL): Likewise.
48655         [C99-based standards] (FP_SUBNORMAL): Likewise.
48656         [C99-based standards] (FP_ZERO): Likewise.
48657         [C99-based standards] (FP_FAST_FMA): Use
48658         optional-macro-int-constant.  Specify type.  Require == 1.
48659         [C99-based standards] (FP_FAST_FMAF): Likewise.
48660         [C99-based standards] (FP_FAST_FMAL): Likewise.
48661         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
48662         [C99-based standards] (FP_ILOGBNAN): Likewise.
48663         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
48664         Specify type.
48665         [C99-based standards] (MATH_ERREXCEPT): Likewise.
48666         [C99-based standards] (math_errhandling): Specify type.
48667         [ISO99 || ISO11] (signgam): Do not allow.
48668         [non-C99-based standards] (copysignf): Do not allow.
48669         [non-C99-based standards] (exp2f): Likewise.
48670         [non-C99-based standards] (log2f): Likewise.
48671         [non-C99-based standards] (modff): Allow.
48672         [non-C99-based standards] (erff): Do not allow.
48673         [non-C99-based standards] (erfcf): Likewise.
48674         [non-C99-based standards] (gammaf): Likewise.
48675         [non-C99-based standards] (hypotf): Likewise.
48676         [non-C99-based standards] (j0f): Likewise.
48677         [non-C99-based standards] (j1f): Likewise.
48678         [non-C99-based standards] (jnf): Likewise.
48679         [non-C99-based standards] (lgammaf): Likewise.
48680         [non-C99-based standards] (tgammaf): Likewise.
48681         [non-C99-based standards] (y0f): Likewise.
48682         [non-C99-based standards] (y1f): Likewise.
48683         [non-C99-based standards] (ynf): Likewise.
48684         [non-C99-based standards] (isnanf): Likewise.
48685         [non-C99-based standards] (acoshf): Likewise.
48686         [non-C99-based standards] (asinhf): Likewise.
48687         [non-C99-based standards] (atanhf): Likewise.
48688         [non-C99-based standards] (cbrtf): Likewise.
48689         [non-C99-based standards] (expm1f): Likewise.
48690         [non-C99-based standards] (ilogbf): Likewise.
48691         [non-C99-based standards] (log1pf): Likewise.
48692         [non-C99-based standards] (logbf): Likewise.
48693         [non-C99-based standards] (nextafterf): Likewise.
48694         [non-C99-based standards] (remainderf): Likewise.
48695         [non-C99-based standards] (rintf): Likewise.
48696         [non-C99-based standards] (scalbf): Likewise.
48697         [non-C99-based standards] (copysignl): Likewise.
48698         [non-C99-based standards] (exp2l): Likewise.
48699         [non-C99-based standards] (log2l): Likewise.
48700         [non-C99-based standards] (modfl): Allow.
48701         [non-C99-based standards] (erfl): Do not allow.
48702         [non-C99-based standards] (erfcl): Likewise.
48703         [non-C99-based standards] (gammal): Likewise.
48704         [non-C99-based standards] (hypotl): Likewise.
48705         [non-C99-based standards] (j0l): Likewise.
48706         [non-C99-based standards] (j1l): Likewise.
48707         [non-C99-based standards] (jnl): Likewise.
48708         [non-C99-based standards] (lgammal): Likewise.
48709         [non-C99-based standards] (tgammal): Likewise.
48710         [non-C99-based standards] (y0l): Likewise.
48711         [non-C99-based standards] (y1l): Likewise.
48712         [non-C99-based standards] (ynl): Likewise.
48713         [non-C99-based standards] (isnanl): Likewise.
48714         [non-C99-based standards] (acoshl): Likewise.
48715         [non-C99-based standards] (asinhl): Likewise.
48716         [non-C99-based standards] (atanhl): Likewise.
48717         [non-C99-based standards] (cbrtl): Likewise.
48718         [non-C99-based standards] (expm1l): Likewise.
48719         [non-C99-based standards] (ilogbl): Likewise.
48720         [non-C99-based standards] (log1pl): Likewise.
48721         [non-C99-based standards] (logbl): Likewise.
48722         [non-C99-based standards] (nextafterl): Likewise.
48723         [non-C99-based standards] (remainderl): Likewise.
48724         [non-C99-based standards] (rintl): Likewise.
48725         [non-C99-based standards] (scalbl): Likewise.
48726         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48727         [non-C99-based standards] (FP_*): Do not allow.
48728         [C99-based standards] (FP_*): Change to
48729         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
48730         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48731         allow.
48732         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
48733         (SIG_ERR): Likewise.
48734         [X/Open-based standards] (SIG_HOLD): Likewise.
48735         (SIG_IGN): Likewise.
48736         (SIGABRT): Use macro-int-constant.  Specify type.  Require
48737         positive value.
48738         (SIGFPE): Likewise.
48739         (SIGILL): Likewise.
48740         (SIGINT): Likewise.
48741         (SIGSEGV): Likewise.
48742         (SIGTER): Likewise.
48743         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
48744         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
48745         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
48746         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
48747         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
48748         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
48749         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
48750         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
48751         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
48752         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
48753         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
48754         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
48755         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
48756         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
48757         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
48758         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
48759         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
48760         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
48761         [X/Open-based standards] (SIGTRAP): Likewise.
48762         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
48763         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
48764         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
48765         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
48766         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48767         allow.
48769 2012-05-08  Ian Wienand  <ianw@vmware.com>
48771         [BZ #14080]
48772         * time/tzset.c (__tzset_parse_tz): Update default rules for
48773         daylight time changes in the Energy Policy Act of 2005.
48775 2012-05-09  Andreas Jaeger  <aj@suse.de>
48777         [BZ #13983]
48778         * elf/ldconfig.c (parse_conf): Change string to make clear that
48779         ldconfig only issued a warning if ld.so.conf does not exist.
48781 2012-05-08  David S. Miller  <davem@davemloft.net>
48783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
48784         movxtod instead of popping the value on the stack.
48786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48788 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
48790         * config.h.in: Add HAVE_ARM_PCS_VFP.
48792 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
48794         [BZ #13979]
48795         * include/features.h: Warn if user requests __FORTIFY_SOURCE
48796         checking but the checks are disabled for any reason.
48798 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
48800         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
48801         and ELF64_R_TYPE with ELFW(R_TYPE).
48803 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
48805         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
48806         (ulimit): Likewise.
48808         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
48809         (settimeofday): Likewise.
48811 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
48813         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
48814         a struct th_u2 inside the union, and move tu_block/tu_code into
48815         a new th_u3 union of tu_block/tu_code inside of that.  Move
48816         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
48817         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
48818         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
48819         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
48820         (th_stuff): Change to th_u1.tu_stuff.
48821         (th_data): Define.
48822         (th_msg): Change to th_u1.th_u2.tu_data.
48824 2012-05-07  David S. Miller  <davem@davemloft.net>
48826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48828         [BZ #14074]
48829         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
48830         (SETUP_PIC_REG): Use it.
48831         (SETUP_PIC_REG_LEAF): Use it.
48833 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
48835         [BZ #13885]
48836         [BZ #13923]
48837         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48838         USE_AS_EXPM1L.
48839         (EXPL_FINITE): Likewise.
48840         (FLDLOG): Likewise.
48841         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48842         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48843         e_expl.S.
48844         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48845         USE_AS_EXPM1L.
48846         (EXPL_FINITE): Likewise.
48847         (FLDLOG): Likewise.
48848         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
48849         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
48850         e_expl.S.
48851         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
48852         test of -max_value argument for long double.
48853         * sysdeps/i386/fpu/libm-test-ulps: Update.
48854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48856 2012-05-06  David S. Miller  <davem@davemloft.net>
48858         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
48859         quad soft-float symbols whose references which are compiler
48860         generated.
48861         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
48863 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
48865         [BZ #13884]
48866         [BZ #13914]
48867         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48868         USE_AS_EXP10L.
48869         (EXPL_FINITE): Likewise.
48870         (FLDLOG): Likewise.
48871         (c0): Likewise.
48872         (c1): Likewise.
48873         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
48874         Adjust comments for base varying.
48875         (__expl_finite): Change alias to EXPL_FINITE.
48876         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
48877         e_expl.S.
48878         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
48879         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
48880         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48881         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
48882         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
48883         USE_AS_EXP10L.
48884         (EXPL_FINITE): Likewise.
48885         (FLDLOG): Likewise.
48886         (c0): Likewise.
48887         (c1): Likewise.
48888         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
48889         Adjust comments for base varying.
48890         (__expl_finite): Change alias to EXPL_FINITE.
48891         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
48892         tests for bugs.
48893         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48895         [BZ #14064]
48896         * math/libm-test.inc (check_float_internal): Correct ulp
48897         calculation for subnormal expected results.
48899 2012-05-06  Andreas Jaeger  <aj@suse.de>
48901         * Makeconfig (+math-flags): New, set to -frounding-math.
48902         (+cflags): Add +math-flags so that all of glibc gets compiled with
48903         it.
48905         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
48907 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
48909         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
48910         Disable one test.
48912         [BZ #13787]
48913         [BZ #13922]
48914         [BZ #14036]
48915         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
48916         (__ieee754_expl): Allow for and saturate large arguments.
48917         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
48918         (u_threshold): Likewise.
48919         (__exp): Call __ieee754_exp before checking for overflow and
48920         underflow.
48921         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
48922         (u_threshold): Likewise.
48923         (__expf): Call __ieee754_expf before checking for overflow and
48924         underflow.
48925         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
48926         (u_threshold): Likewise.
48927         (__expl): Call __ieee754_expl before checking for overflow and
48928         underflow.
48929         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
48930         (__ieee754_expl): Allow for and saturate large arguments.
48931         * math/libm-test.inc (exp_test): Add another test.  Do not allow
48932         missing overflow exception on overflow.
48933         (expm1_test): Do not allow missing overflow exception on overflow.
48935         * sysdeps/i386/fpu/e_expl.c: Move to ...
48936         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
48937         rather than using inline asm.
48938         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
48939         * sysdeps/x86_64/fpu/e_expl.S: Copy from
48940         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
48942         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
48943         (nice): Likewise.
48944         (poll): Likewise.
48945         (signal): Likewise.
48946         (time): Likewise.
48947         (times): Likewise.
48949 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48951         * sysdeps/unix/syscalls.list (adjtime): Add entry from
48952         sysdeps/unix/common/syscalls.list.
48953         (fchmod): Likewise.
48954         (fchown): Likewise.
48955         (ftruncate): Likewise.
48956         (getrusage): Likewise.
48957         (gettimeofday): Likewise.
48958         (setpgid): Likewise.
48959         (setregid): Likewise.
48960         (setreuid): Likewise.
48961         (sigaction): Likewise.
48962         (truncate): Likewise.
48963         (vhangup): Likewise.
48964         * sysdeps/unix/common/syscalls.list: Remove file.
48965         * sysdeps/unix/bsd/Implies: Don't include unix/common.
48966         * sysdeps/unix/sysv/linux/Implies: Likewise.
48968 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
48970         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
48971         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
48972         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
48973         Moved to ...
48974         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
48975         Here.
48976         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
48977         to ...
48978         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
48979         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
48980         to ...
48981         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
48982         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
48983         to ...
48984         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
48985         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
48986         to ...
48987         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
48988         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
48989         to ...
48990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
48991         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
48992         to ...
48993         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
48994         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
48995         to ...
48996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
48997         Here.
48998         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
48999         to ...
49000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
49001         Here.
49002         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
49003         to ...
49004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
49005         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
49006         Moved to ...
49007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
49008         Here.
49009         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
49010         to ...
49011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
49013 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49015         * sysdeps/unix/common/bits/dirent.h: Remove file.
49016         * sysdeps/unix/common/bits/fcntl.h: Likewise.
49018         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
49019         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
49020         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
49021         * sysdeps/unix/bsd/isatty.c: Likewise.
49022         * sysdeps/unix/bsd/tcdrain.c: Likewise.
49023         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
49024         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
49026 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49028         [BZ #13563]
49029         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
49030         long double comparison inaccuracies.
49031         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49032         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49034 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
49036         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
49037         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
49039 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
49041         [BZ #14049]
49042         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
49043         nonzero digits before rounding a hex value.
49044         * stdlib/tst-strtod.c (tests): Add another test.
49046 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49048         * sysdeps/s390/fpu/libm-test-ulps: Update.
49050 2012-05-03  Andreas Jaeger  <aj@suse.de>
49052         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
49053         does not get optimized out.
49054         (malloc_opt_barrier): New.
49056 2012-05-03  Andreas Jaeger  <aj@suse.de>
49057             Roland McGrath  <roland@hack.frob.com>
49059         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
49060         intermediate file deletion.
49061         (generated): Add .symlist files.
49063 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
49065         [BZ #13775]
49066         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
49067         Redirect under this condition.
49068         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49069         [__USE_GNU] (__dprintf_chk): Not under this condition.
49070         [__USE_GNU] (__vdprintf_chk): Likewise.
49071         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
49072         under this condition.
49073         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
49074         [__USE_XOPEN2K8] (dprintf): Define under this condition.
49075         [__USE_XOPEN2K8] (vdprintf): Likewise.
49076         [__USE_GNU] (__dprintf_chk): Not under this condition.
49077         [__USE_GNU] (__vdprintf_chk): Likewise.
49078         [__USE_GNU] (dprintf): Likewise.
49079         [__USE_GNU] (vdprintf): Likewise.
49081 2012-05-03  Roland McGrath  <roland@hack.frob.com>
49083         * elf/Makefile (common-generated): Set this instead of generated for
49084         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
49085         $(all-built-dso)-derived lists.
49087 2012-05-03  Andreas Jaeger  <aj@suse.de>
49089         * sysdeps/i386/fpu/libm-test-ulps: Update.
49091         * FAQ: Removed.
49092         * FAQ.in: Likewise.
49093         * scripts/gen-FAQ.pl: Likewise.
49094         * manual/install.texi (Installation): Point to online location of
49095         FAQ.
49096         * Makefile (files-for-dist): Remove FAQ.
49097         (FAQ): Remove.
49099 2012-05-02  Allan McRae  <allan@archlinux.org>
49101         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
49102         (LDFLAGS-reldepmod5.so): Likewise.
49103         (LDFLAGS-reldep6mod1.so): Likewise.
49104         (LDFLAGS-reldep6mod4.so): Likewise.
49105         (LDFLAGS-reldep8mod3.so): Likewise.
49106         (LDFLAGS-unload4mod1.so): Likewise.
49107         (LDFLAGS-unload4mod2.so): Likewise.
49108         (LDFLAGS-tst-initorder): Likewise.
49109         (LDFLAGS-tst-initordera2.so): Likewise.
49110         (LDFLAGS-tst-initordera3.so): Likewise.
49111         (LDFLAGS-tst-initordera4.so): Likewise.
49112         (LDFLAGS-tst-initorderb2.so): Likewise.
49113         (LDFLAGS-noload): Likewise.
49114         (LDFLAGS-next): Likewise.
49115         (LDFLAGS-order2mod1.so): Likewise.
49116         (LDFLAGS-order2mod2.so): Likewise.
49117         (LDFLAGS-tst-initorder2): Likewise.
49118         (LDFLAGS-tst-initorder2a.so): Likewise.
49119         (LDFLAGS-tst-initorder2b.so): Likewise.
49120         (LDFLAGS-tst-initorder2c.so): Likewise.
49121         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
49123 2012-05-02  David S. Miller  <davem@davemloft.net>
49125         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49127 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
49129         [BZ #14055]
49130         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
49132 2012-05-02  Andreas Jaeger  <aj@suse.de>
49134         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
49135         since we manipulate rounding mode.
49136         (CPPFLAGS-test-idouble.c): Likewise.
49137         (CPPFLAGS-test-ifloat.c): Likewise.
49138         (CFLAGS-test-ldouble.c): Likewise.
49139         (CFLAGS-test-double.c): Likewise.
49140         (CFLAGS-test-float.c): Likewise.
49141         (CFLAGS-test-misc.c): Likewise.
49142         (CFLAGS-test-test-fenv.c): Likewise.
49144 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49146         [BZ #2550]
49147         [BZ #2570]
49148         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
49149         comparisons to determine direction to adjust input.
49151 2012-05-01  Roland McGrath  <roland@hack.frob.com>
49153         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
49154         output to the target.
49156         * scripts/localplt.awk: New file.
49157         * elf/Makefile ($(objpfx)check-localplt): Target removed.
49158         (check-localplt-CFLAGS): Variable removed.
49159         ($(all-built-dso:=.jmprel)): New static pattern rule.
49160         (generated): Add those targets.
49161         (localplt-built-dso): New variable.
49162         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
49164         * elf/check-localplt.c: File removed.
49166         * scripts/check-execstack.awk: New file.
49167         * elf/Makefile ($(objpfx)check-execstack): Target removed.
49168         (check-execstack-CFLAGS): Variable removed.
49169         ($(objpfx)check-execstack.h): Target removed.
49170         ($(objpfx)execstack-default): New target.
49171         (generated): Add that instead of check-execstack.h.
49172         ($(all-built-dso:=.phdr)): New static pattern rule.
49173         (generated): Add those targets.
49174         * elf/check-execstack.c: File removed.
49176         * scripts/check-textrel.awk: New file.
49177         * elf/Makefile ($(objpfx)check-textrel): Target removed.
49178         (check-textrel-CFLAGS): Variable removed.
49179         (all-built-dso): Use := to define.o
49180         ($(all-built-dso:=.dyn)): New static pattern rule.
49181         (generated): Add those targets.
49182         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
49183         * config.make.in (READELF): New substituted variable.
49184         * elf/check-textrel.c: File removed.
49186 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49188         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
49189         allow.
49190         * conform/data/ctype.h-data [C99-based standards] (isblank):
49191         Expect function.
49192         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
49193         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
49194         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49195         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
49196         Specify type.  Require positive value.
49197         (EILSEQ): Likewise.
49198         (ERANGE): Likewise.
49199         [ISO || POSIX] (EILSEQ): Do not expect.
49200         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
49201         Specify type.  Require positive value.
49202         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
49203         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
49204         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
49205         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
49206         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
49207         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
49208         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
49209         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
49210         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
49211         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
49212         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
49213         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
49214         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
49215         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
49216         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
49217         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
49218         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
49219         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
49220         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
49221         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
49222         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
49223         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
49224         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
49225         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
49226         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
49227         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
49228         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
49229         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
49230         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
49231         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
49232         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
49233         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
49234         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
49235         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
49236         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
49237         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
49238         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
49239         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
49240         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
49241         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
49242         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
49243         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
49244         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
49245         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
49246         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
49247         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
49248         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
49249         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
49250         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
49251         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
49252         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
49253         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
49254         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
49255         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
49256         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
49257         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
49258         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
49259         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
49260         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
49261         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
49262         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
49263         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
49264         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
49265         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
49266         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
49267         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
49268         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
49269         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
49270         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
49271         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
49272         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
49273         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
49274         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
49275         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
49276         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
49277         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
49278         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
49279         Require >= 2.
49280         (FLT_ROUNDS): Expect as macro, not constant.
49281         (FLT_MANT_DIG): Use macro-int-constant.
49282         (DBL_MANT_DIG): Likewise.
49283         (LDBL_MANT_DIG): Likewise.
49284         (FLT_DIG): Likewise.
49285         (DBL_DIG): Likewise.
49286         (LDBL_DIG): Likewise.
49287         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
49288         (DBL_MIN_EXP): Likewise.
49289         (LDBL_MIN_EXP): Likewise.
49290         (FLT_MAX_EXP): Use macro-int-constant.
49291         (DBL_MAX_EXP): Likewise.
49292         (LDBL_MAX_EXP): Likewise.
49293         (FLT_MAX_10_EXP): Likewise.
49294         (DBL_MAX_10_EXP): Likewise.
49295         (LDBL_MAX_10_EXP): Likewise.
49296         (FLT_MAX): Use macro-constant.
49297         (DBL_MAX): Likewise.
49298         (LDBL_MAX): Likewise.
49299         (FLT_EPSILON): Use macro-constant.  Give upper bound.
49300         (DBL_EPSILON): Likewise.
49301         (LDBL_EPSILON): Likewise.
49302         (FLT_MIN): Likewise.
49303         (DBL_MIN): Likewise.
49304         (LDBL_MIN): Likewise.
49305         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
49306         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
49307         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
49308         [ISO11] (FLT_HAS_SUBNORM): Likewise.
49309         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
49310         [ISO11] (DBL_DECIMAL_DIG): Likewise.
49311         [ISO11] (FLT_DECIMAL_DIG): Likewise.
49312         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
49313         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
49314         [ISO11] (FLT_TRUE_MIN): Likewise.
49315         [ISO11] (LDBL_TRUE_MIN): Likewise.
49316         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49317         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
49318         (SCHAR_MIN): Use macro-int-constant.  Specify type.
49319         (SCHAR_MAX): Likewise.
49320         (UCHAR_MAX): Likewise.
49321         (CHAR_MIN): Likewise.
49322         (CHAR_MAX): Likewise.
49323         (MB_LEN_MAX): Use macro-int-constant.
49324         (SHRT_MIN): Use macro-int-constant.  Specify type.
49325         (SHRT_MAX): Likewise.
49326         (USHRT_MAX): Likewise.
49327         (INT_MAX): Likewise.
49328         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
49329         bound negative.
49330         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49331         bound with "U".
49332         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49333         bound with "L".
49334         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
49335         bound negative.  Suffix upper bound with "L".
49336         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
49337         bound with "UL".
49338         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
49339         Specify type.
49340         [C99-based standards] (LLONG_MAX): Likewise.
49341         [C99-based standards] (ULLONG_MAX): Likewise.
49342         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
49343         == 0.
49344         [ISO11] (max_align_t): Require type.
49345         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49347         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
49348         from $CFLAGS, without defining away __attribute__ calls.
49349         (checknamespace): Use $CFLAGS_namespace.
49351         * conform/conformtest.pl (@keywords): Only include C99 keywords
49352         for standards based on C99 or C11.
49354         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
49355         Disable tests.
49356         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
49357         UNIX98]: Likewise.
49359         * conform/conformtest.pl: Handle "macro-int-constant" and test for
49360         usability of symbols in #if.
49362         * conform/conformtest.pl: If macro or constant types start
49363         "promoted:", expect the symbol to be of the following type
49364         promoted by the integer promotions.
49366         * conform/conformtest.pl: Parse all "constant" and "macro" lines
49367         in one place.  Also handle "macro-constant".
49369         * conform/conformtest.pl: Only accept expected macro values with
49370         "==".  Parse all "macro" lines in one place.
49371         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
49373         * conform/conformtest.pl: Handle braced types on "constant" lines
49374         instead of handling "typed-constant".
49375         * conform/data/signal.h-data: Use "constant" instead of
49376         "typed-constant".
49378         * conform/conformtest.pl: Handle "optional-" at start of lines in
49379         one place rather than duplicating several cases.  Handle each
49380         format of "macro" line with initial "optional-".
49382         * conform/conformtest.pl: Only accept expected constant or
49383         optional-constant values with "==".  Parse all "constant" lines in
49384         one place.  Parse all "optional-constant" lines in one place.
49385         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
49386         * conform/data/fmtmsg.h-data: Likewise.
49387         * conform/data/netinet/in.h-data: Likewise.
49388         * conform/data/tar.h-data: Likewise.
49389         * conform/data/limits.h-data: Use "==" form on "constant" and
49390         "optional-constant" lines.
49392         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
49393         Use -std=c99 for XOPEN2K.
49394         (@knownproblems): Remove.
49395         (newtoken): Don't check %isknown.
49397         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
49398         Do not expect macro.
49399         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
49400         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
49401         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
49402         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
49403         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
49404         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
49405         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
49406         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
49407         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
49408         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
49409         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
49410         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
49411         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
49412         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
49413         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
49414         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
49415         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
49416         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
49417         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
49418         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
49419         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
49420         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
49421         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
49422         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
49423         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
49424         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
49425         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
49426         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
49427         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
49428         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
49429         [XPG3] (acosh): Likewise.
49430         [XPG3] (asinh): Likewise.
49431         [XPG3] (atanh): Likewise.
49432         [XPG3] (cbrt): Likewise.
49433         [XPG3] (expm1): Likewise.
49434         [XPG3] (ilogb): Likewise.
49435         [XPG3] (log1p): Likewise.
49436         [XPG3] (logb): Likewise.
49437         [XPG3] (nextafter): Likewise.
49438         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
49439         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
49440         [XPG3] (remainder): Likewise.
49441         [XPG3] (rint): Likewise.
49442         [XPG3 || XPG4 || UNIX98] (round): Likewise.
49443         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
49444         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
49445         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
49446         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
49447         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
49448         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
49449         [UNIX98 || XOPEN2K] (scalb): Expect.
49450         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
49451         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
49452         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
49453         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
49454         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
49455         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
49456         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
49457         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
49458         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
49459         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
49460         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
49461         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
49462         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
49463         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
49464         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
49465         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
49466         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
49467         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
49468         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
49469         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
49470         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
49471         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
49472         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
49473         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
49474         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
49475         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
49476         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
49477         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
49478         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
49479         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
49480         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
49481         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
49482         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
49483         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
49484         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
49485         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
49486         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
49487         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
49488         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
49489         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
49490         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
49491         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
49492         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
49493         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
49494         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
49495         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
49496         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
49497         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
49498         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
49499         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
49500         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
49501         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
49502         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
49503         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
49504         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
49505         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
49506         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
49507         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
49508         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
49509         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
49510         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
49511         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
49512         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
49513         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
49514         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
49515         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
49516         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
49517         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
49518         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
49519         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
49520         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
49521         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
49522         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
49523         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
49524         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
49525         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
49526         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
49527         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
49528         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
49529         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
49530         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
49531         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
49532         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
49533         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
49534         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
49535         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
49536         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
49537         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
49538         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
49539         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
49540         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
49541         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
49542         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
49543         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
49544         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
49545         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
49546         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
49547         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
49548         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
49549         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
49550         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
49551         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
49552         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
49553         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
49554         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
49555         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
49556         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
49557         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
49558         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
49559         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
49560         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
49561         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
49562         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
49563         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
49564         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
49565         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
49566         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
49567         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
49568         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
49569         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
49570         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
49571         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
49572         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
49573         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
49574         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
49575         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
49576         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
49577         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
49578         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
49579         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
49580         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
49581         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
49582         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
49583         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
49584         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
49585         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
49586         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
49588         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
49589         _XOPEN_SOURCE_EXTENDED for XPG4.
49591         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
49593         * Makeconfig (localtime): Remove variable.
49594         (inst_localtime-file): Likewise.
49596 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49599         Update.
49600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49601         Update.
49602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49603         Update.
49604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49605         Update.
49606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49607         Update.
49608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
49609         Update.
49610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49611         Update.
49612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
49613         Update.
49614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49615         Update.
49617 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
49619         [BZ #2550]
49620         [BZ #2570]
49621         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
49622         comparisons to determine direction to adjust input.
49623         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
49624         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
49625         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
49626         Likewise.
49627         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
49628         Likewise.
49629         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49630         Likewise.
49631         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
49632         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
49633         Likewise.
49634         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
49635         Likewise.
49636         * math/libm-test.inc (nexttoward_test): Add more tests.
49638 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
49640         [BZ #14040]
49641         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
49642         in version GLIBC_2.1, not GLIBC_2.0.
49643         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
49644         Likewise.
49646 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
49648         [BZ #13942]
49649         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
49650         (1 - x) * (1 + x).
49651         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49652         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
49653         * math/libm-test.inc (acos_test): Add more tests.
49654         (asin_test): Likewise.
49655         * sysdeps/i386/fpu/libm-test-ulps: Update.
49656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49658         [BZ #14034]
49659         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
49660         of square root.
49661         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
49662         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
49663         * math/libm-test.inc (acos_test_tonearest): New function.
49664         (acos_test_towardzero): Likewise.
49665         (acos_test_downward): Likewise.
49666         (acos_test_upward): Likewise.
49667         (asin_test_tonearest): Likewise.
49668         (asin_test_towardzero): Likewise.
49669         (asin_test_downward): Likewise.
49670         (asin_test_upward): Likewise.
49671         (main): Call the new functions.
49672         * sysdeps/i386/fpu/libm-test-ulps: Update.
49673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49675         [BZ #13884]
49676         [BZ #13924]
49677         * math/e_exp10.c: Include <float.h>.
49678         (__ieee754_exp10): Handle underflow here rather than multiplying
49679         large negative argument by M_LN10.
49680         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
49681         of __ieee754_expf.
49682         * math/e_exp10l.c: Include <float.h>.
49683         (__ieee754_exp10l): Handle underflow here rather than multiplying
49684         large negative argument by M_LN10l.
49685         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
49686         spurious overflow exception on underflow.
49688 2012-04-29  Marek Polacek  <polacek@redhat.com>
49690         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
49691         (__fortify_function): New macro.
49692         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
49693         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
49694         __extern_always_inline.
49695         * libio/bits/stdio2.h: Likewise.
49696         * libio/bits/stdio.h: Likewise.
49697         * string/string.h: Likewise.
49698         * string/bits/string3.h: Likewise.
49699         * include/stdio.h: Likewise.
49700         * stdlib/bits/stdlib.h: Likewise.
49701         * stdlib/stdlib.h: Likewise.
49702         * rt/bits/mqueue2.h: Likewise.
49703         * rt/mqueue.h: Likewise.
49704         * posix/bits/unistd.h: Likewise.
49705         * posix/unistd.h: Likewise.
49706         * io/bits/poll2.h: Likewise.
49707         * io/bits/fcntl2.h: Likewise.
49708         * io/fcntl.h: Likewise.
49709         * io/sys/poll.h: Likewise.
49710         * misc/bits/syslog.h: Likewise.
49711         * misc/bits/syslog-ldbl.h: Likewise.
49712         * misc/sys/syslog.h: Likewise.
49713         * socket/bits/socket2.h: Likewise.
49714         * socket/sys/socket.h: Likewise.
49715         * debug/tst-chk1.c: Likewise.
49716         * wcsmbs/bits/wchar2.h: Likewise.
49717         * wcsmbs/bits/wchar-ldbl.h: Likewise.
49718         * wcsmbs/wchar.h: Likewise.
49720 2012-04-29  Andreas Jaeger  <aj@suse.de>
49722         * Makerules (tests): Remove enable-check-abi protection.
49723         (check-abi-warn): Remove.
49724         (check-abi-%): Remove check-abi-warn usage.
49726         * configure.in: Remove check-abi configure option.
49727         * configure: Regenerated.
49728         * config.make.in (enable-check-abi): Remove.
49730 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
49732         [BZ #14033]
49733         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
49734         double functions to double *_finite functions.
49736         [BZ #13941]
49737         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
49738         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
49739         LDBL_MIN_EXP.
49740         * stdio-common/Makefile (tests): Add tst-sprintf3.
49741         * stdio-common/tst-sprintf3.c: New file.
49743         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
49744         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
49746 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
49748         * conform/conformtest.pl: Remove duplicate typed-constant
49749         handling.
49751 2012-04-28  David S. Miller  <davem@davemloft.net>
49753         * Makerules (%.abilist): Add vpath on sysdep_dirs.
49754         (check-abi-%): Remove AWK script prerequisite and explicit
49755         abilist directory.
49756         (check-abi): Rewrite to just diff the symlist with the abilist.
49757         (config-tls, config-abi-config): Delete, no longer used.
49758         (update-abi-%): Remove AWK script and explicit abilist directory.
49759         (update-abi): Rewrite to simply compare and conditionally copy the
49760         symlist and the sysdep abilist file.  Remove update-abi-config
49761         checks.
49762         * abilist/ld.abilist: Remove.
49763         * abilist/libBrokenLocale.abilist: Remove.
49764         * abilist/libanl.abilist: Remove.
49765         * abilist/libcrypt.abilist: Remove.
49766         * abilist/libdl.abilist: Remove.
49767         * abilist/librt.abilist: Remove.
49768         * abilist/libthread_db.abilist: Remove.
49769         * abilist/libutil.abilist: Remove.
49770         * scripts/extract-abilist.awk: Remove.
49771         * scripts/merge-abilist.awk: Remove.
49772         * sysdeps/generic/libcidn.abilist: New file.
49773         * sysdeps/generic/libnss_compat.abilist: New file.
49774         * sysdeps/generic/libnss_db.abilist: New file.
49775         * sysdeps/generic/libnss_dns.abilist: New file.
49776         * sysdeps/generic/libnss_files.abilist: New file.
49777         * sysdeps/generic/libnss_hesiod.abilist: New file.
49778         * sysdeps/generic/libnss_nis.abilist: New file.
49779         * sysdeps/generic/libnss_nisplus.abilist: New file.
49780         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
49781         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
49782         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
49783         file.
49784         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
49785         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
49786         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
49787         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
49788         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
49789         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
49790         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
49791         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
49792         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
49793         file.
49794         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
49795         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
49796         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
49797         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
49798         file.
49799         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
49800         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
49801         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
49802         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
49803         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
49804         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
49805         file.
49806         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
49807         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
49808         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
49809         file.
49810         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
49811         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
49812         New file.
49813         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
49814         New file.
49815         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
49816         New file.
49817         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
49818         New file.
49819         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
49820         New file.
49821         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
49822         New file.
49823         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
49824         New file.
49825         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
49826         New file.
49827         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
49828         New file.
49829         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
49830         New file.
49831         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
49832         New file.
49833         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
49834         New file.
49835         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
49836         New file.
49837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
49838         file.
49839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49840         New file.
49841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49842         New file.
49843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
49844         file.
49845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49846         New file.
49847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49848         New file.
49849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
49850         file.
49851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49852         New file.
49853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49854         New file.
49855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49856         New file.
49857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49858         New file.
49859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49860         New file.
49861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49862         New file.
49863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
49864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
49865         file.
49866         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
49867         New file.
49868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
49869         file.
49870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
49871         file.
49872         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
49873         file.
49874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
49875         file.
49876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
49877         file.
49878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49879         New file.
49880         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
49881         file.
49882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
49883         file.
49884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
49885         New file.
49886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
49887         file.
49888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
49889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
49890         file.
49891         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
49892         New file.
49893         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
49894         file.
49895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
49896         file.
49897         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
49898         file.
49899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
49900         file.
49901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
49902         file.
49903         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49904         New file.
49905         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
49906         file.
49907         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
49908         file.
49909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
49910         New file.
49911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
49912         file.
49913         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
49914         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
49915         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
49916         file.
49917         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
49918         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
49919         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
49920         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
49921         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
49922         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
49923         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
49924         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
49925         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
49926         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
49927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
49928         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
49929         file.
49930         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49931         New file.
49932         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
49933         file.
49934         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
49935         file.
49936         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
49937         file.
49938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
49939         file.
49940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
49941         file.
49942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49943         New file.
49944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49945         New file.
49946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
49947         file.
49948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49949         New file.
49950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
49951         file.
49952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
49953         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
49954         file.
49955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49956         New file.
49957         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
49958         file.
49959         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
49960         file.
49961         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
49962         file.
49963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
49964         file.
49965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
49966         file.
49967         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49968         New file.
49969         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49970         New file.
49971         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
49972         file.
49973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49974         New file.
49975         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
49976         file.
49978 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
49980         * conform/conformtest.pl: Fix typo in handling typed-constant from
49981         allow-header.
49983 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
49985         * README: Cut down references to pre-2.6 Linux kernels and
49986         Linuxthreads.  Update lists of configurations in libc and ports
49987         and sort alphabetically.  Say "or newer" with Linux kernel version
49988         requirements.
49990         * config.h.in [IS_IN_build]: Allow compiling without optimization.
49992 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49994         [BZ #887]
49995         * math/libm-test.inc (logb_test_downward): New test to expose
49996         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
49997         rounding mode.
49999 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
50001         [BZ #14027]
50002         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
50003         to be done.
50004         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
50005         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
50007 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
50009         * sysdeps/unix/i386/brk.S: Remove file.
50010         * sysdeps/unix/i386/dl-brk.S: Likewise.
50011         * sysdeps/unix/i386/pipe.S: Likewise.
50012         * sysdeps/unix/i386/sigreturn.S: Likewise.
50013         * sysdeps/unix/i386/syscall.S: Likewise.
50014         * sysdeps/unix/i386/vfork.S: Likewise.
50015         * sysdeps/unix/i386/wait.S: Likewise.
50017         * sysdeps/unix/common/tcsendbrk.c: Move to ...
50018         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
50020         * configure.in (arm*-none*): Do not allow without
50021         --enable-hacker-mode.
50022         (netbsd*): Remove case setting base_os.
50023         (386bsd*): Likewise.
50024         (freebsd*): Likewise.
50025         (bsdi*): Likewise.
50026         (osf*): Likewise.
50027         (sunos*): Likewise.
50028         (ultrix*): Likewise.
50029         (newsos*): Likewise.
50030         (dynix*): Likewise.
50031         (*bsd*): Likewise.
50032         (sysv*): Likewise.
50033         (isc*): Likewise.
50034         (esix*): Likewise.
50035         (sco*): Likewise.
50036         (minix*): Likewise.
50037         (irix4*): Likewise.
50038         (irix6*): Likewise.
50039         (solaris[2-9]*): Likewise.
50040         (none): Likewise.
50041         * configure: Regenerated.
50043 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50045         [BZ #11521]
50046         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
50047         overflow or cancellation in calculating denominator.
50048         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
50049         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
50050         down expression to avoid unexpected rounding in newer GCCs.
50051         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
50053 2012-04-26  David S. Miller  <davem@davemloft.net>
50055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
50056         long-double compat symbols.
50057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
50061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
50063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
50064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
50065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
50066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
50067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
50068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
50069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
50071 2012-04-25  David S. Miller  <davem@davemloft.net>
50073         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
50074         HWCAP_* values only after the memory barriers have been defined.
50075         (atomic_full_barrier): Define.
50076         (atomic_read_barrier): Define.
50077         (atomic_write_barrier): Define.
50079 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50081         * shlib-versions: Add libgcc_s version information.
50082         * sysdeps/generic/libgcc_s.h: Remove.
50083         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
50084         libgcc_s.h.
50085         * sysdeps/gnu/unwind-resume.c: Likewise.
50086         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
50088 2012-04-25  David S. Miller  <davem@davemloft.net>
50090         * sysdeps/unix/sparc/brk.S: Delete.
50091         * sysdeps/unix/sparc/dl-brk.S: Delete.
50092         * sysdeps/unix/sparc/pipe.S: Delete.
50093         * sysdeps/unix/sparc/sysdep.S: Delete.
50094         * sysdeps/unix/sparc/sysdep.h: Delete.
50095         * sysdeps/unix/sparc/vfork.S: Delete.
50096         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
50097         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
50098         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
50099         (ret_ERRVAL, r0, r1, MOVE): Define.
50100         (JUMPTARGET): Remove.
50101         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
50102         sysdeps/unix/sparc/sysdep.h
50103         (ENTRY, END): Remove.
50104         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50106 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
50108         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
50109         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
50110         -DIS_IN_build.
50112         * timezone/README: Update upstream location and email address for
50113         tzcode and tzdata.
50114         * timezone/zdump.c: Update from tzcode 2012b.
50115         * timezone/zic.c: Likewise.
50117         * configure.in (libc_cv_as_needed): Remove test.
50118         * configure: Regenerated.
50119         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
50120         conditional definition.
50121         [$(have-as-needed) != yes] (no-as-needed): Likewise.
50122         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
50123         * config.make.in (have-as-needed): Remove variable.
50125 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
50126             Paul Pluzhnikov  <ppluzhnikov@google.com>
50128         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
50129         strings correctly.
50131 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
50133         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
50134         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
50135         * sysdeps/sh/strlen.S: Likewise.
50137 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50139         * sysdeps/unix/fork.S: Remove file.
50140         * sysdeps/unix/i386/fork.S: Likewise.
50141         * sysdeps/unix/sparc/fork.S: Likewise.
50143         * sysdeps/unix/system.c: Remove file.
50144         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
50146         * sysdeps/unix/getegid.S: Remove file.
50147         * sysdeps/unix/geteuid.S: Likewise.
50149 2012-04-24  Roland McGrath  <roland@hack.frob.com>
50151         * scripts/check-localplt.awk: New file.
50152         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
50153         of diff.
50154         * scripts/data/localplt-generic.data: Add a comment.
50156         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
50157         NODE when __dir_mkfile failed.
50158         * sysdeps/mach/hurd/symlinkat.c: Likewise.
50159         Reported by Ludovic Courtès <ludo@gnu.org>.
50161 2012-04-24  Andreas Jaeger  <aj@suse.de>
50163         * Makerules (common-clean): Also remove gen-as-const-headers
50164         files.
50166 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50168         * Makerules (native-compile): Do not change working directory for
50169         build.  Use $(OUTPUT_OPTION) in command.
50170         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
50172 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50174         [BZ #13886]
50175         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
50176         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
50177         * math/libm-test.inc (floor_test): Add more tests.
50178         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
50180 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
50182         * sysdeps/unix/getdents.c: Remove file.
50183         * sysdeps/unix/sysv/getdents.c: Likewise.
50184         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
50186         * sysdeps/unix/syscalls.list (madvise): Add syscall from
50187         sysdeps/unix/mman/syscalls.list.
50188         (mmap): Likewise.
50189         (mprotect): Likewise.
50190         (msync): Likewise.
50191         (munmap): Likewise.
50192         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
50193         * sysdeps/unix/mman/syscalls.list: Remove.
50194         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
50196         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
50197         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
50198         * configure: Regenerated.
50199         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
50200         $(libgcc_s_suffix).
50201         * config.make.in (libgcc_s_suffix): Remove variable.
50203 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
50205         * sysdeps/unix/sysv/gethostname.c: Move to ...
50206         * sysdeps/posix/gethostname.c: ... here.
50208         * sysdeps/unix/execve.S: Remove file.
50210         * sysdeps/unix/_exit.S: Remove file.
50212 2012-04-23  Andreas Jaeger  <aj@suse.de>
50214         [BZ #13739]
50215         * manual/Makefile: Remove make dist support, there's no
50216         need for a stand-alone documentation tar ball.
50217         (TEXI2DVI): Define always, it's not in Makeconfig.
50218         (dist): Removed.
50219         (tar-it): Removed.
50220         (edition): Removed.
50221         (glibc-doc-$(edition).tar): Removed
50222         (%.Z): Removed.
50223         (%.gz): Removed.
50224         (%.uu): Removed.
50225         (ETAGS): Remove, it's in Makeconfig.
50226         (move-if-change): Remove, it's in Makeconfig.
50228 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
50230         [BZ #13970]
50231         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
50232         (strtod, strtof, strtold, strtol, strtoul, strtoq)
50233         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
50234         (strtod_l, strtof_l, strtold_l): Remove __wur.
50235         It is not necessarily an error to ignore strtol's return value.
50236         One can reliably look at the stored endptr to decide whether
50237         the number had valid syntax.
50239 2012-04-21  Andreas Jaeger  <aj@suse.de>
50241         [BZ #13739]
50242         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
50244 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
50246         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
50247         * sysdeps/unix/sysv/Versions: Remove file.
50249 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
50251         [BZ #13927]
50252         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50254 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
50256         [BZ #7064]
50257         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
50258         version from __vm86.
50260 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
50262         * sysdeps/unix/common/lxstat.c: Remove file.
50263         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
50265         * sysdeps/unix/sysv/Makefile: Remove file.
50267         * sysdeps/unix/sysv/direct.h: Remove file.
50269         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
50270         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
50271         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
50272         * sysdeps/unix/sysv/bits/signum.h: Likewise.
50273         * sysdeps/unix/sysv/bits/stat.h: Likewise.
50274         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
50275         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
50277         * sysdeps/unix/sysv/setrlimit.c: Remove file.
50279         * sysdeps/unix/xmknod.c: Remove file.
50280         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
50282         * sysdeps/unix/sysv/settimeofday.c: Remove file.
50284         * sysdeps/unix/sysv/i386/time.S: Remove file.
50286         * sysdeps/unix/fxstat.c: Remove file.
50287         * sysdeps/unix/xstat.c: Likewise.
50288         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
50290         * sysdeps/unix/sysv/sigaction.c: Remove file.
50292         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
50293         (sysdep_headers): Remove variable.
50294         [termio.h not in sysdep_headers] (generated): Likewise.
50295         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
50296         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
50297         * sysdeps/unix/sysv/tcdrain.c: Likewise.
50298         * sysdeps/unix/sysv/tcflow.c: Likewise.
50299         * sysdeps/unix/sysv/tcflush.c: Likewise.
50300         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
50301         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
50302         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
50303         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
50304         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
50306         * sysdeps/unix/siglist.c: Remove file.
50308         * sysdeps/unix/getppid.S: Remove file.
50310         * sysdeps/unix/mkdir.c: Remove file.
50311         * sysdeps/unix/rmdir.c: Likewise.
50313 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
50315         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
50316         ERR_MAX value.
50317         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
50318         errlist-compat value.
50320 2012-04-18  David S. Miller  <davem@davemloft.net>
50322         * sysdeps/generic/memcopy.h (reg_char): Delete.
50323         * debug/strcat_chk.c: Use char, not reg_char.
50324         * debug/strcpy_chk.c: Likewise.
50325         * debug/strncat_chk.c: Likewise.
50326         * debug/strncpy_chk.c: Likewise.
50327         * string/memchr.c: Likewise.
50328         * string/memrchr.c: Likewise.
50329         * string/rawmemchr.c: Likewise.
50330         * string/strcat.c: Likewise.
50331         * string/strchr.c: Likewise.
50332         * string/strchrnul.c: Likewise.
50333         * string/strcmp.c: Likewise.
50334         * string/strcpy.c: Likewise.
50335         * string/strncat.c: Likewise.
50336         * string/strncmp.c: Likewise.
50337         * string/strncpy.c: Likewise.
50339 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50341         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
50342         __builtin_memcopy is called when src and dest ranges are known to not
50343         overlap.
50345 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50347         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
50348         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
50349         fwd_align_merge macro call.
50350         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
50351         bwd_align_merge macro call.
50352         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50354 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
50356         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
50357         bwd_align_merge macros.
50358         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
50359         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
50360         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50362 2012-04-18  David S. Miller  <davem@davemloft.net>
50364         * sysdeps/sparc/sparc64/memcopy.h: Delete.
50366 2012-04-18  Andreas Jaeger  <aj@suse.de>
50368         [BZ# 6794]
50369         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
50370         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
50371         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50373         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
50374         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
50375         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50377         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
50378         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
50379         Adjust for changed ldbl-128 files.
50381         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
50382         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
50383         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
50385 2012-04-17  David S. Miller  <davem@davemloft.net>
50387         * sysdeps/sparc/sparc32/memcopy.h: Delete.
50389 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
50391         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
50392         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
50393         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
50394         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
50395         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
50396         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
50398 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50400         [BZ #6794]
50401         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
50402         * math/libm-test.inc: Add ilogb errno and exception tests.
50403         * math/w_ilogb.c: New file: ilogb wrapper.
50404         * math/w_ilogbf.c: New file: ilogbf wrapper.
50405         * math/w_ilogbl.c: New file: ilogbl wrapper.
50406         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
50407         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
50408         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
50409         exception being thrown with 0.0 as argument.
50410         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
50411         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
50412         exception being thrown with 0.0 as argument.
50413         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
50414         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50415         exception being thrown with 0.0 as argument.
50416         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
50417         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
50418         exception being thrown with 0.0 as argument.
50419         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
50420         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
50421         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
50422         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
50423         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
50424         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
50425         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
50426         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
50427         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
50429 2012-04-17  Petr Baudis  <pasky@ucw.cz>
50431         * include/sys/uio.h: Change __vector to __iovec to avoid clash
50432         with altivec.
50434 2012-04-16  Marek Polacek  <polacek@redhat.com>
50436         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
50438 2012-04-16  Marek Polacek  <polacek@redhat.com>
50440         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
50441         operands of fdivp instruction.
50443 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50445         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
50446         * elf/tst-auditmod3b.c: Likewise.
50447         * elf/tst-auditmod4b.c: Likewise.
50448         * elf/tst-auditmod5b.c: Likewise.
50449         * elf/tst-auditmod6b.c: Likewise.
50450         * elf/tst-auditmod6c.c: Likewise.
50451         * elf/tst-auditmod7b.c: Likewise.
50452         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
50453         * sysdeps/x86_64/preconfigure.in: Likewise.
50454         * sysdeps/x86_64/preconfigure: Regenerated.
50456 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
50458         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
50459         __ILP32__.
50461 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
50463         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50464         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
50466 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
50468         [BZ #13973]
50469         * locale/iso-639.def: Fix gl language name. Spotted by
50470         Yaron Shahrabani.
50472 2012-04-12  Roland McGrath  <roland@hack.frob.com>
50474         [BZ #2074]
50475         * libio/libio.h (__io_write_fn): Update comment.
50477 2012-04-12  Petr Baudis  <pasky@ucw.cz>
50479         [BZ #2074]
50480         * stdio.texi (Hook Functions): The user provided writer function
50481         is not allowed to return -1.
50483 2012-04-11  David S. Miller  <davem@davemloft.net>
50485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50487 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
50489         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
50490         Add a leading slash to rtkaio.
50492 2012-04-11  Jim Meyering  <meyering@redhat.com>
50494         [BZ #11959]
50495         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
50496         It is not necessarily an error to ignore fwrite's return
50497         value.  One can reliably use ferror to test for errors after
50498         the fact.
50500 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50502         * bits/types.h (__snseconds_t): New type.
50503         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
50505         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
50506         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50507         (__SNSECONDS_T_TYPE): Likewise.
50508         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50509         (__SNSECONDS_T_TYPE): Likewise.
50510         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50511         (__SNSECONDS_T_TYPE): Likewise.
50513 2012-04-10  Andreas Jaeger  <aj@suse.de>
50515         [BZ #2636]
50516         * manual/time.texi (Processor Time): Return type of times is
50517         elapsed real time since an arbitrary point in the past.
50518         (CPU Time): Move CLK_TCK from here...
50519         (Processor Time): ...to here.  Correct description.
50520         * manual/conf.texi (Constants for Sysconf): Correct description of
50521         _SC_CLK_TCK.
50523 2012-04-10  David S. Miller  <davem@davemloft.net>
50525         [BZ #13967]
50526         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
50527         where the is a gap between DT_REL(A) and DT_JMPREL.
50529 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
50531         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
50532         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50533         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50535 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50537         * elf/dl-support.c (_dl_inhibit_cache): New variable.
50538         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
50539         (dl_main): Handle --inhibit-cache.
50540         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
50541         _dl_inhibit_cache.
50542         * elf/dl-load.c (_dl_map_object): Use it.
50543         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
50545 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50547         [BZ #13872]
50548         * sysdeps/i386/fpu/e_powl.S (p78): New object.
50549         (__ieee754_powl): Saturate large exponents rather than testing for
50550         overflow of y*log2(x).
50551         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50552         * math/libm-test.inc (pow_test): Do not permit spurious overflow
50553         exceptions.
50555         [BZ #11521]
50556         * math/s_ctan.c: Include <float.h>.
50557         (__ctan): Avoid internal overflow or cancellation in calculating
50558         denominator.
50559         * math/s_ctanf.c: Likewise.
50560         * math/s_ctanl.c: Likewise.
50561         * math/s_ctanh.c: Likewise.
50562         * math/s_ctanhf.c: Likewise.
50563         * math/s_ctanhl.c: Likewise.
50564         * math/libm-test.inc (ctan_test): Add more tests.
50565         (ctanh_test): Likewise.
50566         * sysdeps/i386/fpu/libm-test-ulps: Update.
50567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50569 2012-04-09  Andreas Jaeger  <aj@suse.de>
50571         [BZ #6894]
50572         * manual/filesys.texi (Directory Entries): Mention that d_namlen
50573         is an optional BSD extension.
50575         [BZ #10254]
50576         * manual/stdio.texi (Opening Streams): Document additional fopen
50577         parameters.
50579 2012-04-09  Roland McGrath  <roland@hack.frob.com>
50581         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
50582         %eax without telling the compiler.
50584 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
50586         [BZ # 13963]
50587         * manual/install.texi: Use sourceware.org.
50589 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
50591         [BZ #13873]
50592         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
50593         (__ieee754_pow): Generate overflow and underflow using huge*huge
50594         and tiny*tiny rather than just returning constant infinity or zero
50595         for large exponents.
50596         * math/libm-test.inc (pow_test): Require overflow exceptions for
50597         applicable cases of large exponents.
50599         [BZ #706]
50600         * sysdeps/i386/fpu/e_pow.S (p10): New object.
50601         (__ieee754_pow): Use iterative multiplication algorithm only for
50602         integer exponents with absolute value below 1024.  Check for odd
50603         integer exponents when using algorithm for real exponents.
50604         * math/libm-test.inc (pow_test): Add more tests.
50605         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50607 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
50609         [BZ #13705]
50610         * math/libm-test.inc (exp_test): Do not allow overflow exception
50611         on underflow test.
50613 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
50615         [BZ #13705]
50616         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
50617         instead of __kernel_standard_f.
50619 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
50621         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
50622         * sysdeps/x86_64/memset_chk.S: Likewise.
50624 2012-04-08  Andreas Jaeger  <aj@suse.de>
50626         [BZ #10153]
50627         * manual/startup.texi (Environment Access): Describe return value
50628         for putenv and setenv.
50630         [BZ #6895]
50631         * manual/filesys.texi (Directory Entries): Add description for
50632         DT_LNK.
50634         [BZ #6890]
50635         * manual/filesys.texi (Directory Entries): Clarify that it's file
50636         system not operating system in the description of DT_UNKNOWN.
50638         [BZ #6578]
50639         * manual/syslog.texi (closelog): Fix reference, it's openlog.
50641 2012-04-08  Stephen Compall  <s11@member.fsf.org>
50643         [BZ #6649]
50644         * manual/llio.texi (Opening and Closing Files): Add cross
50645         reference to explain mode argument.
50647 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
50649         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
50650         * sysdeps/x86_64/memset_chk.S: Likewise.
50652 2012-04-07  David S. Miller  <davem@davemloft.net>
50654         * elf/elf.h (R_SPARC_WDISP10): Define.
50655         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
50656         R_SPARC_SIZE32.
50657         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
50658         R_SPARC_SIZE64 and R_SPARC_H34.
50660 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
50662         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
50663         conditions and remove no longer applicable assertion.
50665 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50667         * bits/byteswap.h: Include <features.h>.
50668         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
50669         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
50671 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
50673         * bits/byteswap.h (__bswap_16): Removed.
50674         Include <bits/byteswap-16.h> to get __bswap_16.
50675         * sysdeps/i386/bits/byteswap.h: Likewise.
50676         * sysdeps/s390/bits/byteswap.h: Likewise.
50677         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50678         * bits/byteswap-16.h: New file.
50679         * sysdeps/i386/bits/byteswap-16.h: Likewise.
50680         * sysdeps/s390/bits/byteswap-16.h: Likewise.
50681         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
50682         * string/Makefile (headers): Add bits/byteswap-16.h.
50684 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
50686         [BZ #13895]
50687         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
50688         extra indirection.
50689         * nss/Makefile (tests-static, tests): Add tst-nss-static.
50690         * nss/tst-nss-static.c: New.
50692 2012-04-06  Robert Millan  <rmh@gnu.org>
50694         [BZ #6486]
50695         * manual/llio.texi (File Position Primitive): lseek
50696         refers to WHENCE when it really means OFFSET.
50698 2012-04-06  Andreas Jaeger  <aj@suse.de>
50700         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
50701         strncmp declarations.
50703         * abilist/libc.abilist: Add __poll and __ppoll.
50705 2012-04-05  David S. Miller  <davem@davemloft.net>
50707         * scripts/check-local-headers.sh: Accept a host triplet in the
50708         path matched by the exclude regexp.
50710         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
50711         definition.
50712         * sysdeps/powerpc/powerpc32/dl-machine.h
50713         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
50714         * sysdeps/s390/s390-32/dl-machine.h
50715         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50716         * sysdeps/sparc/sparc32/dl-machine.h
50717         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50718         * sysdeps/sparc/sparc64/dl-machine.h
50719         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
50721         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
50722         lazy binding.
50723         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
50724         undefined symbol errors.
50726         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
50727         DT_NEEDED entries.
50729 2012-04-05  Michael Matz  <matz@suse.de>
50731         [BZ #13592]
50732         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
50734 2012-04-05  Andreas Jaeger  <aj@suse.de>
50736         [BZ #13908]
50737         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
50738         comment.
50740 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50742         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
50743         which ROUND is no valid rounding mode.
50745 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50747         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
50748         read again.
50749         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
50751 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50753         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
50754         an exception using FPU order intentionally.
50756 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
50758         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
50759         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
50760         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
50761         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
50763 2012-04-05  Simon Josefsson  <simon@josefsson.org>
50765         [BZ #12340]
50766         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
50767         EINVAL when BUFLEN is too smal.
50769 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
50771         [BZ #13553]
50772         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
50773         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
50775 2012-04-03  Andreas Jaeger  <aj@suse.de>
50777         [BZ #13938]
50778         * manual/setjmp.texi (System V contexts): Fix sentence.
50780         [BZ #13926]
50781         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
50782         New macro for this case.
50783         [!__GNUC__] (__bswap_64): New inline function for this case.
50784         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50785         * bits/byteswap.h: Likewise.
50786         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
50787         ull, guard with __GLIBC_HAVE_LONG_LONG.
50789         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
50790         __GLIBC_HAVE_LONG_LONG.
50792         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
50793         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
50795 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50797         [BZ #13691]
50798         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
50799         inptr and inend, rather than using last_ch.
50801 2012-04-02  David S. Miller  <davem@davemloft.net>
50803         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
50804         * stdio-common/printf-parse.h (read_int): Change return type to
50805         'int', return -1 on INT_MAX overflow.
50806         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
50807         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
50808         overflows INT_MAX.  Check for overflow of in-format-string precision
50809         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
50810         SIZE_MAX not INT_MAX for integer overflow test.
50811         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
50812         skip the construct in the format string but do not record anything.
50813         * stdio-common/bug22.c: Adjust to test both width/prevision
50814         INT_MAX overflow as well as total length INT_MAX overflow.  Check
50815         explicitly for proper errno values.
50817 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
50819         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
50820         CHAR_MAX.
50821         * string/test-strcmp.c [! WIDE]: Likewise.
50822         * time/tst-mktime2.c: Likewise for INT_MAX.
50823         * string/test-string.h: #include <sys/param.h> for MIN.
50825         * csu/init-first.c (__libc_init_first): Call __ctype_init.
50826         * sysdeps/i386/init-first.c (init): Likewise.
50827         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
50828         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
50829         * sysdeps/sh/init-first.c (init): Likewise.
50831 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
50833         * po/ru.po: Update from translation team.
50834         * po/vi.po: Likewise.
50836 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50838         * resolv/nss_dns/dns-host.c: Merge copyright years.
50840 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50842         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50843         Optimize memcpy with prefetch if
50844         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
50845         src, dst pointers have unequal 16 byte alignments.
50847 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50849         [BZ #13928]
50850         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
50851         from a CNAME entry and return the minimum ttl for the query.
50852         (gaih_getanswer_slice): Likewise.
50854 2012-03-30  Jeff Law  <law@redhat.com>
50856         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
50857         due to long keys.
50858         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
50859         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
50861         * resolv/nss_dns/dns-host.c: Update copyright year.
50863 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
50865         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
50866         requests to save a system call.  Fix check that all bytes are sent.
50868         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
50869         comments for sendmmsg.
50871 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50873         [BZ #13691]
50874         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
50875         with only 1 character between 0x0041 and 0x01b0.
50876         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
50877         * wcsmbs/tst-mbsnrtowcs.c: New file.
50879 2012-03-29  David S. Miller  <davem@davemloft.net>
50881         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
50882         small copies by hand.
50884 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50886         [BZ #13761]
50887         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
50888         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
50889         group memberships.
50891 2012-03-28  David S. Miller  <davem@davemloft.net>
50893         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
50894         that branches into memcpy.
50895         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50896         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
50897         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50898         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
50899         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
50900         bits.
50901         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
50902         implementation too.
50903         * sysdeps/sparc/mempcpy.S: New file.
50905         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
50906         the IFUNC routine in the libc case.
50907         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50909         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
50910         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
50911         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
50912         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
50913         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
50914         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
50915         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
50916         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
50918         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
50919         loop to 256 bytes instead of 64 bytes and fix test signedness.
50921         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
50922         * sysdeps/sparc/sparc32/Makefile: rather than here...
50923         * sysdeps/sparc/sparc64/Makefile: and here.
50925 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
50927         * malloc/mallocbug.c: Avoid warnings about unused variables.
50929 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50931         [BZ #13760]
50932         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
50933         in the right place. Discard and retry query if response is
50934         larger than input buffer size.
50936 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
50938         [BZ #369]
50939         [BZ #2678]
50940         [BZ #3866]
50941         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
50942         x for large integer exponent.
50943         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
50944         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
50945         sign of result as needed afterwards.
50946         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
50947         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
50948         result for underflowing pow the same as for overflow.
50949         (__kernel_standard_l): Handle powl overflow and underflow here
50950         rather than calling __kernel_standard.
50951         * math/libm-test.inc (pow_test): Add more tests.
50953         [BZ #3868]
50954         [BZ #13879]
50955         [BZ #13910]
50956         [BZ #13911]
50957         [BZ #13912]
50958         [BZ #13913]
50959         [BZ #13915]
50960         [BZ #13916]
50961         [BZ #13917]
50962         [BZ #13918]
50963         [BZ #13919]
50964         [BZ #13920]
50965         [BZ #13921]
50966         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
50967         * sysdeps/ieee754/k_standard.c: Include <float.h>.
50968         (__kernel_standard_l): New function.
50969         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
50970         __kernel_standard.
50971         * math/w_acosl.c (__acosl): Likewise.
50972         * math/w_asinl.c (__asinl): Likewise.
50973         * math/w_atan2l.c (__atan2l): Likewise.
50974         * math/w_atanhl.c (__atanhl): Likewise.
50975         * math/w_coshl.c (__coshl): Likewise.
50976         * math/w_exp10l.c (__exp10l): Likewise.
50977         * math/w_exp2l.c (__exp2l): Likewise.
50978         * math/w_fmodl.c (__fmodl): Likewise.
50979         * math/w_hypotl.c (__hypotl): Likewise.
50980         * math/w_j0l.c (__j0l, __y0l): Likewise.
50981         * math/w_j1l.c (__j1l, __y1l): Likewise.
50982         * math/w_jnl.c (__jnl, __ynl): Likewise.
50983         * math/w_lgammal.c (__lgammal): Likewise.
50984         * math/w_log10l.c (__log10l): Likewise.
50985         * math/w_log2l.c (__log2l): Likewise.
50986         * math/w_logl.c (__logl): Likewise.
50987         * math/w_powl.c (__powl): Likewise.
50988         * math/w_remainderl.c (__remainderl): Likewise.
50989         * math/w_scalbl.c (sysv_scalbl): Likewise.
50990         * math/w_sinhl.c (__sinhl): Likewise.
50991         * math/w_sqrtl.c (__sqrtl): Likewise.
50992         * math/w_tgammal.c (__tgammal): Likewise.
50993         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
50994         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
50995         * math/libm-test.inc (acos_test): Add more tests.
50996         (acosh_test): Likewise.
50997         (asin_test): Likewise.
50998         (atanh_test): Likewise.
50999         (exp_test): Likewise.
51000         (exp10_test): Likewise.
51001         (exp2_test): Likewise.
51002         (expm1_test): Likewise.
51003         (lgamma_test): Likewise.
51004         (log_test): Likewise.
51005         (log10_test): Likewise.
51006         (log1p_test): Likewise.
51007         (log2_test): Likewise.
51008         (pow_test): Do not allow some spurious overflow exceptions.
51009         (sqrt_test): Add more tests.
51010         (tgamma_test): Likewise.
51011         (y0_test): Likewise.
51012         (y1_test): Likewise.
51013         (yn_test): Likewise.
51015 2012-03-27  Anton Blanchard  <anton@samba.org>
51017         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
51018         MAP_HUGETLB.
51019         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51020         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51021         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51023 2012-03-27  David S. Miller  <davem@davemloft.net>
51025         * conform/Makefile: Run run-conformtest.sh using $(BASH).
51027         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
51028         have-as-vis3 check.
51030 2012-03-27  Andreas Jaeger  <aj@suse.de>
51032         * sysdeps/x86_64/elf/configure.in: Moved to ...
51033         * sysdeps/x86_64/configure.in: ... here.
51034         * sysdeps/x86_64/elf/start.S: Moved to ...
51035         * sysdeps/x86_64/start.S: ... here.
51036         * sysdeps/x86_64/elf/configure: Delete.
51038         * sysdeps/x86_64/configure.in: Merge contents from
51039         sysdeps/i386/configure.in (without i686 check).
51041         * sysdeps/i386/elf/Versions: Merge into ...
51042         * sysdeps/i386/Versions: ... this.
51043         * sysdeps/i386/elf/Versions: Delete file.
51044         * sysdeps/i386/elf/start.S: Moved to ...
51045         * sysdeps/i386/start.S: ...here.
51046         * sysdeps/i386/elf/configure.in: Merge into...
51047         * sysdeps/i386/configure.in: ...here.
51048         * sysdeps/i386/elf/configure.in: Delete file.
51049         * sysdeps/i386/elf/configure: Delete file.
51051         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
51052         * debug/backtracesyms.c: ... here.
51053         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
51054         * debug/backtracesymsfd.c: ... here.
51055         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
51056         * sysdeps/generic/ifunc-sel.h: ... here.
51058         * sysdeps/unix/i386/start.c: Delete file.
51059         * sysdeps/unix/sparc/start.c: Delete file.
51060         * sysdeps/unix/start.c: Delete file.
51062         * sysdeps/sh/elf/configure.in: Moved to ...
51063         * sysdeps/sh/configure.in: ... here.
51064         * sysdeps/sh/elf/start.S: Moved to ...
51065         * sysdeps/sh/start.S: ... here.
51066         * sysdeps/sh/elf/configure: Delete file.
51068         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
51069         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
51070         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
51071         * sysdeps/powerpc/powerpc64/entry.h: ... here.
51072         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
51073         * sysdeps/powerpc/powerpc64/start.S: here.
51074         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
51075         * sysdeps/powerpc/powerpc64/Makefile: ... this.
51076         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
51077         * sysdeps/powerpc/powerpc64/configure.in: ... this.
51078         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
51080         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
51081         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
51082         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
51083         * sysdeps/powerpc/powerpc32/start.S: ... here.
51084         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
51085         * sysdeps/powerpc/powerpc32/configure.in: ... this.
51086         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
51088         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
51089         * sysdeps/powerpc/ifunc-sel.h: ... here.
51090         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
51091         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
51093         * sysdeps/sparc/elf/configure.in: Moved to ...
51094         * sysdeps/sparc/configure.in: ... here.
51095         * sysdeps/sparc/elf/configure: Delete file.
51096         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
51097         * sysdeps/sparc/sparc32/start.S: ... here.
51098         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
51099         * sysdeps/sparc/sparc64/start.S: ... here.
51100         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
51101         * sysdeps/sparc/sparc32/Makefile: ... this.
51102         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
51103         * sysdeps/sparc/sparc64/Makefile: ... this.
51105         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
51106         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
51107         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
51108         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
51109         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
51110         * sysdeps/s390/s390-32/setjmp.S: ... here.
51111         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
51112         * sysdeps/s390/s390-32/configure.in: ... here.
51113         * sysdeps/s390/s390-32/elf/configure: Delete file.
51114         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
51115         * sysdeps/s390/s390-32/start.S: ... here.
51117         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
51118         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
51119         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
51120         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
51121         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
51122         * sysdeps/s390/s390-64/setjmp.S: ... here.
51123         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
51124         * sysdeps/s390/s390-64/configure.in: ... here
51125         * sysdeps/s390/s390-64/elf/configure: Delete file.
51126         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
51127         * sysdeps/s390/s390-64/start.S: ... here.
51128         * sysdeps/s390/s390-64/elf/configure: Delete.
51130         * configure.in: Remove support for elf directories in sysdeps.
51132         * configure: Regenerated.
51133         * sysdeps/i386/configure: Regenerated.
51134         * sysdeps/powerpc/powerpc32/configure: Regenerated.
51135         * sysdeps/powerpc/powerpc64/configure: Regenerated.
51136         * sysdeps/s390/s390-32/configure: Regenerated.
51137         * sysdeps/s390/s390-64/configure: Regenerated.
51138         * sysdeps/sh/configure: Regenerated.
51139         * sysdeps/sparc/configure: Regenerated.
51140         * sysdeps/x86_64/configure: Regenerated.
51142 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
51144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51146         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
51147         denormal result into account.
51149 2012-03-25  Roland McGrath  <roland@hack.frob.com>
51151         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
51152         Reported by Allan McRae <allan@archlinux.org>.
51154 2012-03-23  Jeff Law  <law@redhat.com>
51156         * nss/getnssent.c (__nss_getent): Fix typo.
51158 2012-03-23  David S. Miller  <davem@davemloft.net>
51160         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51162 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
51164         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
51165         to pad to uint64_t for each field.
51166         (dl_tls_index): Replace unsigned long with uint64_t.
51168 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
51169         Paul Pluzhnikov  <ppluzhnikov@google.com>
51171         [BZ #6528]
51172         * grp/Makefile (otherlibs): Don't set it.
51173         * inet/Makefile (otherlibs): Likewise.
51174         * login/Makefile (otherlibs): Likewise.
51175         * nscd/Makefile (otherlibs): Likewise.
51176         * posix/Makefile (otherlibs): Likewise.
51177         * pwd/Makefile (otherlibs): Likewise.
51178         * rt/Makefile (otherlibs): Likewise.
51179         * sunrpc/Makefile (otherlibs): Likewise.
51180         * nss/Makefile (otherlibs): Likewise.
51181         Add libnss_files to routines and static-only-routines.
51182         ($(objpfx)getent): Remove rule.
51183         * resolv/Makefile: Add libnss_dns and libresolv to routines and
51184         static-only-routines.
51186 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51188         [BZ #13892]
51189         * math/s_cexp.c: Include <float.h>.
51190         (__cexp): Handle exp result overflowing not necessarily
51191         overflowing both real and imaginary parts of result.
51192         * math/s_cexpf.c: Likewise.
51193         * math/s_cexpl.c: Likewise.
51194         * math/libm-test.inc (cexp_test): Add more tests.
51195         * sysdeps/i386/fpu/libm-test-ulps: Update.
51196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51198 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51200         * include/link.h (ELFW): New macro.
51201         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
51202         Replace ELF64_R_TYPE with ELFW(R_TYPE).
51204 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51206         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
51207         with uint64_t.
51209 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51211         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
51212         declaration.
51213         (struct La_x32_retval): Likewise.
51215 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
51217         * sysdeps/x86_64/preconfigure.in: New file.
51218         * sysdeps/x86_64/preconfigure: New generated file.
51220 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
51222         [BZ #13824]
51223         * math/e_exp2l.c: Include <float.h>.
51224         (__ieee754_exp2l): Handle overflow and underflow cases
51225         separately.  Only pass fractional part of argument to
51226         __ieee754_expl.
51227         * math/libm-test.inc (exp2_test): Add more tests.
51229         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
51230         negating x to take absolute value.
51231         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
51232         Likewise.
51233         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
51234         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
51235         Likewise.
51236         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
51237         computing low part if x was negated.
51238         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
51240 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51242         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
51243         la_x32_gnu_pltexit.
51244         (pltexit): Cast int_retval to ptrdiff_t.
51245         * elf/tst-auditmod3b.c: Likewise.
51246         * elf/tst-auditmod4b.c: Likewise.
51247         * elf/tst-auditmod5b.c: Likewise.
51248         * elf/tst-auditmod6b.c: Likewise.
51249         * elf/tst-auditmod6c.c: Likewise.
51250         * elf/tst-auditmod7b.c: Likewise.
51252         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
51253         and x32_gnu_pltexit.
51255         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
51256         __ELF_NATIVE_CLASS.
51257         (La_x32_regs): New macro.
51258         (La_x32_retval): Likewise.
51259         (la_x32_gnu_pltenter): New function prototype.
51260         (la_x32_gnu_pltexit): Likewise.
51262 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
51264         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
51265         exponent.
51267         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51269         * configure.in (libc_cv_cc_nofma): Check for option to disable
51270         generation of FMA instructions.
51271         * configure: Regenerate.
51272         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
51273         * sysdeps/ieee754/dbl-64/Makefile: New file.
51274         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
51275         Remove brandred-fma4.
51276         (CFLAGS-brandred-fma4.c): Remove.
51277         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
51278         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
51279         define.
51280         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
51281         define.
51283 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51285         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
51286         LLONG_MAX != LONG_MAX.
51287         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51288         (_fitoa_word): Likewise.
51289         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
51290         LLONG_MAX != LONG_MAX.
51291         * stdio-common/_itowa.h: Include <_itoa.h>.
51292         (_itowa_word): Use _ITOA_WORD_TYPE on value.
51293         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
51294         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
51295         only if not defined.
51296         (_ITOA_WORD_TYPE): Likewise.
51297         (_itoa_word): Use _ITOA_WORD_TYPE on value.
51298         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
51300 2012-03-21  David S. Miller  <davem@davemloft.net>
51302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51304 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
51306         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
51307         of x86_64 when setting libc_cv_slibdir, libdir and
51308         libc_cv_localedir.
51309         * sysdeps/unix/sysv/linux/configure: Regenerated.
51311 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51313         * manual/lang.texi (Old Varargs): Remove section.
51314         (How Variadic): Update menu.
51315         (va_start): Do not mention varargs.h.
51317 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51318             Joseph Myers  <joseph@codesourcery.com>
51320         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
51321         link test.
51322         * configure: Regenerated.
51324 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51326         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
51327         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
51328         conformtest.pl
51330 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51332         * NOTES: Remove.
51333         * Makefile (files-for-dist): Remove NOTES.
51334         (NOTES): Remove rule.
51335         * README: Don't refer to NOTES.
51336         * manual/creature.texi: Don't include macros.texi.
51337         * manual/intro.texi (creature.texi): Remove comment referring to
51338         NOTES.
51340         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
51341         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
51342         * configure: Regenerated.
51343         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
51344         LIBC_TRY_CC_OPTION.
51345         (libc_cv_as_i686): Likewise.
51346         (libc_cv_cc_avx): Likewise.
51347         (libc_cv_cc_sse2avx): Likewise.
51348         (libc_cv_cc_fma4): Likewise.
51349         (libc_cv_cc_novzeroupper): Likewise.
51350         * sysdeps/i386/configure: Regenerated.
51352         [BZ #13883]
51353         * sysdeps/i386/fpu/s_cexp.S: Remove.
51354         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
51355         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
51356         * math/libm-test.inc (cexp_test): Add more tests.
51357         * sysdeps/i386/fpu/libm-test-ulps: Update.
51358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51360 2012-03-21  Allan McRae  <allan@archlinux.org>
51362         * timezone/Makefile: Do not install iso3166.tab and zone.tab
51364 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
51366         [BZ #13871]
51367         * math/w_exp2.c: Do not include <float.h>.
51368         (o_threshold, u_threshold): Remove.
51369         (__exp2): Calculate result before checking finiteness and calling
51370         __kernel_standard.
51371         * math/w_exp2f.c: Likewise.
51372         * math/w_exp2l.c: Likewise.
51373         * math/libm-test.inc (exp2_test): Require overflow exception for
51374         1e6 input.
51376         [BZ #3866]
51377         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
51378         range of signed 64-bit integers before using fistpll.  Remove
51379         checks for whether integers fit in mantissa bits.
51380         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
51381         the range of signed 32-bit integers before using fistpl.  Remove
51382         checks for whether integers fit in mantissa bits.
51383         * sysdeps/i386/fpu/e_powl.S (p64): New object.
51384         (__ieee754_powl): Test for y outside the range of signed 64-bit
51385         integers before using fistpll.  Reduce 64-bit values to 63-bit
51386         ones as needed.
51387         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
51388         divide-by-zero is raised for zero to large negative powers.
51389         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
51390         (__ieee754_powl): Test for y outside the range of signed 64-bit
51391         integers before using fistpll.  Reduce 64-bit values to 63-bit
51392         ones as needed.
51393         * math/libm-test.inc (pow_test): Add more tests.
51395 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51397         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
51398         <stdio-common/_itoa.h>.
51399         * debug/segfault.c: Likewise.
51400         * elf/dl-cache.c: Likewise.
51401         * elf/dl-minimal.c: Likewise.
51402         * elf/dl-misc.c: Likewise.
51403         * elf/dl-sysdep.c: Likewise.
51404         * elf/dl-version.c: Likewise.
51405         * elf/rtld.c: Likewise.
51406         * hurd/hurdsock.c: Likewise.
51407         * hurd/lookup-retry.c: Likewise.
51408         * malloc/malloc.c: Likewise.
51409         * malloc/mtrace.c: Likewise.
51410         * nscd/nscd_getgr_r.c: Likewise.
51411         * nscd/nscd_getpw_r.c: Likewise.
51412         * nscd/nscd_getserv_r.c: Likewise.
51413         * posix/getopt_init.c: Likewise.
51414         * posix/wordexp.c: Likewise.
51415         * stdio-common/_itoa.c: Likewise.
51416         * stdio-common/printf_fphex.c: Likewise.
51417         * stdio-common/vfprintf.c: Likewise.
51418         * string/_strerror.c: Likewise.
51419         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
51420         * sysdeps/i386/i686/hp-timing.h: Likewise.
51421         * sysdeps/mach/_strerror.c: Likewise.
51422         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
51423         * sysdeps/mach/hurd/sethostid.c: Likewise.
51424         * sysdeps/mach/hurd/xmknodat.c: Likewise.
51425         * sysdeps/mach/xpg-strerror.c: Likewise.
51426         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51427         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51428         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
51429         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
51430         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51431         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
51432         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
51433         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
51434         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
51435         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
51436         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
51437         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
51438         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
51439         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51440         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51441         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
51442         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
51443         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
51444         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
51445         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
51446         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
51448         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
51450         * stdio-common/_itoa.h: Moved to ...
51451         * sysdeps/generic/_itoa.h: Here.
51453         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
51455         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
51456         instead of "_itoa.h" and "_itowa.h".
51457         * stdio-common/vfprintf.: Likewise.
51459 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51461         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
51462         <bits/wordsize.h>.
51463         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
51464         (__signbit): Likwise.
51465         (llrintf): Likwise.
51466         (llrint): Likwise.
51468 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51470         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
51471         __WORDSIZE != 64.
51473 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
51475         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
51476         OVERFLOW_EXCEPTION_OK.
51477         * math/libm-test.inc ("Philosophy"): Update comment about
51478         exception testing.
51479         (OVERFLOW_EXCEPTION): Define.
51480         (OVERFLOW_EXCEPTION_OK): Likewise.
51481         (INVALID_EXCEPTION_OK): Renumber.
51482         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51483         (IGNORE_ZERO_INF_SIGN): Likewise.
51484         (test_exceptions): Handle FE_OVERFLOW.
51485         (exp10_test): Expect overflow exceptions.
51486         (exp2_test): Likewise.
51487         (expm1_test): Likewise.
51488         (nextafter_test): Likewise.
51489         (pow_test): Likewise.
51490         (scalbn_test): Likewise.
51491         (scalbln_test): Likewise.
51493 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51495         * sysdeps/x86_64/bits/atomic.h
51496         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
51497         64bit integer.
51498         (atomic_exchange_acq): Likewise.
51499         (__arch_exchange_and_add_body): Likewise.
51500         (__arch_add_body): Likewise.
51501         (atomic_add_negative): Likewise.
51502         (atomic_add_zero): Likewise.
51504 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51506         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
51507         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
51509 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51511         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
51512         Check __x86_64__ instead of __WORDSIZE.
51514 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51516         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
51518 2012-03-19  David S. Miller  <davem@davemloft.net>
51520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51522         * sysdeps/sparc/fpu/fenv_private.h: New file.
51523         * sysdeps/sparc/fpu/math_private.h: Use it.
51524         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
51525         Remove.
51526         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
51527         (libc_feholdexcept_setroundl): Remove.
51528         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
51529         Remove.
51530         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
51531         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
51533 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51535         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
51536         int64_t instead of long int.
51537         (INSERT_WORDS64): Likwise.
51539 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
51541         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
51542         _Unwind_GetCFA return to _Unwind_Ptr first.
51544 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
51546         [BZ #13629]
51547         * math/s_clog.c: Include <float.h>.
51548         (__clog): Scale large or subnormal inputs.
51549         * math/s_clogf.c: Likewise.
51550         * math/s_clogl.c: Likewise.
51551         * math/s_clog10.c: Include <float.h>.
51552         (M_LOG10_2): Define.
51553         (__clog10): Scale large or subnormal inputs.
51554         * math/s_clog10f.c: Likewise.
51555         * math/s_clog10l.c: Likewise.
51556         * math/libm-test.inc (clog_test): Add more tests.
51557         (clog10_test): Likewise.
51558         * sysdeps/i386/fpu/libm-test-ulps: Update.
51559         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51561         [BZ #11451]
51562         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
51563         x and y.
51564         * math/libm-test.inc (atan2_test): Add another test.
51566         * Makerules (common-objdir-compile): Remove.
51567         * sysdeps/unix/Makefile (config-generated): Do not add
51568         $(unix-generated) to variable.
51569         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
51570         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
51571         Remove rule.
51572         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
51573         Likewise.
51574         [generic bits/local_lim.h] (before-compile): Do not append to
51575         variable.
51576         [generic bits/local_lim.h] (common-generated): Likewise.
51577         [generic sys/param.h] (before-compile): Do not append to variable.
51578         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
51579         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
51580         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
51581         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
51582         include.
51583         [generic sys/param.h] (sys/param.h-includes): Remove variable.
51584         [generic sys/param.h] (sys/param.h-includes): Remove rule.
51585         [generic sys/param.h] ($(addprefix
51586         $(common-objpfx),$(sys/param.h-includes))): Likewise.
51587         [generic sys/param.h] (common-generated): Do not append to
51588         variable.
51589         [generic sys/param.h] (sysdep_headers): Likewise.
51590         [generic bits/errno.h] (before-compile): Do not append to
51591         variable.
51592         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
51593         rule.
51594         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
51595         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
51596         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
51597         [generic bits/errno.h] (common-generated): Do not append to
51598         variable.
51599         [generic bits/ioctls.h] (before-compile): Do not append to
51600         variable.
51601         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
51602         rule.
51603         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
51604         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
51605         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
51606         rule.
51607         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
51608         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
51609         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
51610         [generic bits/ioctls.h] (common-generated): Do not append to
51611         variable.
51612         [generic sys/syscall.h] (syscall.h): Remove variable.
51613         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
51614         rule.
51615         [generic sys/syscall.h] (before-compile): Do not append to
51616         variable.
51617         [generic sys/syscall.h] (common-generated): Likewise.
51618         * sysdeps/unix/errnos-tmpl.c: Remove file.
51619         * sysdeps/unix/errnos.awk: Likewise.
51620         * sysdeps/unix/ioctls-tmpl.c: Likewise.
51621         * sysdeps/unix/ioctls.awk: Likewise.
51622         * sysdeps/unix/mk-local_lim.c: Likewise.
51623         * sysdeps/unix/snarf-ioctls: Likewise.
51625 2012-03-19  Richard Henderson  <rth@twiddle.net>
51627         * sysdeps/i386/fpu/fenv_private.h: New file.
51628         * sysdeps/i386/fpu/math_private.h: Use it.
51629         (math_opt_barrier, math_force_eval): Remove.
51630         (libc_feholdexcept_setround_53bit): Remove.
51631         (libc_feupdateenv_53bit): Remove.
51632         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51633         (math_opt_barrier, math_force_eval): Remove.
51634         (libc_feholdexcept): Remove.
51635         (libc_feholdexcept_setround): Remove.
51636         (libc_fetestexcept, libc_fesetenv): Remove.
51637         (libc_feupdateenv_test): Remove.
51638         (libc_feupdateenv, libc_feholdsetround): Remove.
51639         (libc_feresetround): Remove.
51641         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
51642         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
51644         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
51645         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
51646         (libc_feupdateenv_testl): New.
51647         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
51648         (libc_feupdateenv_testf): New.
51649         (libc_feupdateenv): Use libc_feupdateenv_test.
51650         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
51651         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
51653         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
51654         (libc_feholdsetroundf, libc_feholdsetroundl): New.
51655         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
51656         (libc_feresetround_noex): New.
51657         (libc_feresetround_noexf): New.
51658         (libc_feresetround_noexl): New.
51659         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
51660         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
51661         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
51662         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
51663         SET_RESTORE_ROUND.
51664         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51665         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
51666         (__cos): Likewise.
51667         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
51668         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
51669         SET_RESTORE_ROUND_NOEX.
51670         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
51671         SET_RESTORE_ROUND_NOEXF.
51672         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
51673         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
51674         (libc_feholdsetroundf): New.
51675         (libc_feresetround, libc_feresetroundf): New.
51677         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
51678         (libc_feholdexcept_setround_53bit): Convert from macro to function.
51679         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
51681         * sysdeps/generic/math_private.h: Include <fenv.h>.
51682         (default_libc_feholdexcept): New.
51683         (default_libc_feholdexcept_setround): New.
51684         (default_libc_fesetenv, default_libc_feupdateenv): New.
51685         (libc_feholdexcept): Only define if undefined.
51686         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
51687         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
51688         (libc_feholdexcept_setroundl): Likewise.
51689         (libc_feholdexcept_setround_53bit): Likewise.
51690         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
51691         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
51692         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
51693         (libc_feupdateenv_53bit): Likewise.
51694         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
51695         (libc_feholdexcept): Convert from macro to inline function.
51696         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
51697         (libc_fesetenv, libc_feupdateenv): Likewise.
51699         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
51700         not previously defined.
51701         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
51702         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
51703         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
51704         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
51705         * sysdeps/ieee754/flt-32/math_private.h: New file.
51706         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
51707         math_private.h below SET_FLOAT_WORD.
51708         (__isnan, __isinf_ns, __finite): Remove.
51709         (__isnanf, __isinf_nsf, __finitef): Remove.
51711 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
51713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51715 2012-03-17  David S. Miller  <davem@davemloft.net>
51717         [BZ #6471]
51718         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
51719         for 2.16.
51721 2012-03-16  David S. Miller  <davem@davemloft.net>
51723         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
51724         warnings.
51726         [BZ #6471]
51727         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
51728         properly.
51729         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
51730         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
51731         sysdep_routines when subdir is sysvipc.
51732         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
51733         __getshmlba helper.
51735         * sysdeps/sparc/fpu/libm-test/ulps: Update.
51737 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51739         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
51740         [__LP64__].
51742 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51744         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
51745         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
51746         (__lround): Renamed to ...
51747         (__llround): This.  Replace long int with long long int.
51748         Define lround functions as aliases of llround functions.
51749         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
51751 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51753         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
51754         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
51755         adresses to uintptr_t.  Replace "long int" and "unsigned long
51756         int" with "greg_t" on va_arg.
51758 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51760         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
51761         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
51763         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
51764         Move e_machine check before EI_CLASS check.  Handle x32
51765         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
51766         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
51767         SKIP_EM_IA_64 and include
51768         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
51770         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
51771         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
51772         (add_system_dir): New macro.
51774         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
51775         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
51777 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
51779         [BZ #2551]
51780         [BZ #2552]
51781         [BZ #2553]
51782         [BZ #2554]
51783         [BZ #2562]
51784         [BZ #2563]
51785         [BZ #2565]
51786         [BZ #2566]
51787         [BZ #2576]
51788         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
51789         (y0): Likewise.
51790         * math/w_j0f.c (j0f): Likewise.
51791         (y0f): Likewise.
51792         * math/w_j0l.c (__j0l): Likewise.
51793         (__y0l): Likewise.
51794         * math/w_j1.c (j1): Likewise.
51795         (y1): Likewise.
51796         * math/w_j1f.c (j1f): Likewise.
51797         (y1f): Likewise.
51798         * math/w_j1l.c (__j1l): Likewise.
51799         (__y1l): Likewise.
51800         * math/w_jn.c (jn): Likewise.
51801         (yn): Likewise.
51802         * math/w_jnf.c (jnf): Likewise.
51803         (ynf): Likewise.
51804         * math/w_jnl.c (__jnl): Likewise.
51805         (__ynl): Likewise.
51806         * math/libm-test.inc (j0_test): Add more tests.
51807         (j1_test): Likewise.
51808         (jn_test): Likewise.  Add trailing semicolon to existing test.
51809         (y0_test): Likewise.
51810         (y1_test): Likewise.
51811         * sysdeps/i386/fpu/libm-test-ulps: Update.
51812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51814         [BZ #13851]
51815         [BZ #13854]
51816         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
51817         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
51818         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
51819         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
51820         (__tanl): Set errno for infinite argument.
51821         * sysdeps/i386/fpu/mptan.c: Remove.
51822         * sysdeps/i386/fpu/s_tan.S: Likewise.
51823         * sysdeps/i386/fpu/s_tanl.S: Likewise.
51824         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
51825         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
51826         * math/libm-test.inc (tan_test): Add more tests and enable more
51827         tests for double and long double.
51828         * sysdeps/i386/fpu/libm-test-ulps: Update.
51829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51831 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
51833         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
51834         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
51836 2012-03-16  Roland McGrath  <roland@hack.frob.com>
51838         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
51839         * configure.in: Use it for both main tree and add-ons.
51840         * configure: Regenerated.
51842 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
51844         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
51846 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
51848         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
51849         in comment.
51851         [BZ #13851]
51852         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
51853         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
51854         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
51855         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
51856         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
51857         infinite argument.
51858         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
51859         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
51860         != 0 for prec == 2.
51861         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
51862         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
51863         * sysdeps/i386/fpu/s_cosl.S: Likewise.
51864         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
51865         * sysdeps/i386/fpu/s_sinl.S: Likewise.
51866         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
51867         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
51868         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
51869         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
51870         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
51871         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
51872         * math/libm-test.inc (cos_test): Add more tests and enable more
51873         tests for long double.
51874         (sin_test): Likewise.
51875         (sincos_test): Likewise.
51876         * sysdeps/i386/fpu/libm-test-ulps: Update.
51877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51879 2012-03-16  David S. Miller  <davem@davemloft.net>
51881         * sysdeps/sparc/fpu/math_private.h: New file.
51883 2012-03-15  David S. Miller  <davem@davemloft.net>
51885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
51886         file.
51887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
51888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
51889         file.
51890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
51891         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
51892         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
51893         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
51894         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
51895         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
51896         sysdep routines.
51897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51899         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
51900         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
51902         * sysdeps/sparc/sparc-ifunc.h: New file.
51903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
51904         sparc-ifunc.h
51905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
51907         Likewise.
51908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
51909         Likewise.
51910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
51911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
51912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51914         Likewise.
51915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
51916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
51917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
51918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
51919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
51920         Likewise.
51921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
51922         Likewise.
51923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
51924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
51925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
51926         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
51927         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51928         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51929         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
51930         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
51931         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51932         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51933         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
51934         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
51935         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
51936         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
51937         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
51938         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
51939         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
51940         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
51941         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
51942         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
51943         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
51944         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
51945         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
51946         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
51948 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
51950         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
51951         scaling.
51952         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51954 2012-03-15  Andreas Jaeger  <aj@suse.de>
51956         [BZ #13852]
51957         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
51958         ieee754/flt-32 implementation for sin, cos and sincos.
51959         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
51960         * sysdeps/i386/fpu/s_cosf.S: Likewise.
51961         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
51962         * sysdeps/i386/fpu/s_sinf.S: Likewise.
51963         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
51964         ieee754/flt-32 implementation for tan.
51966         * math/libm-test.inc (cos_test): Enable some large input tests for
51967         float as well
51968         (sin_test): Likewise.
51969         (sincos_test): Likewise.
51970         (tan_test): Add tests for large input.
51972         * sysdeps/i386/fpu/libm-test-ulps: Update.
51974 2012-03-15  Andreas Jaeger  <aj@suse.de>
51976         [BZ #13658]
51977         * math/libm-test.inc (cos_test): Add more test cases.
51978         (sin_test): Likewise.
51979         (sincos_test): Likewise.
51981 2012-03-15  Andreas Jaeger  <aj@suse.de>
51983         [BZ #13837]
51984         * math/libm-test.inc (cos_test): Add a test case for large input
51985         value.
51986         (sin_test): Likewise.
51987         (sincos_test): Likewise.
51989 2012-03-15  Andreas Jaeger  <aj@suse.de>
51990             Joseph Myers  <joseph@codesourcery.com>
51992         [BZ #13658]
51993         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
51994         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
51995         * sysdeps/i386/fpu/branred.c: Likewise.
51996         * sysdeps/i386/fpu/dosincos.c: Likewise.
51997         * sysdeps/i386/fpu/mpa.c: Likewise.
51998         * sysdeps/i386/fpu/s_cos.S: Likewise.
51999         * sysdeps/i386/fpu/s_sin.S: Likewise.
52000         * sysdeps/i386/fpu/s_sincos.S: Likewise.
52001         * sysdeps/i386/fpu/sincos32.c: Likewise.
52003         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
52004         Define.
52005         (libc_feupdateenv_53bit): Define.
52006         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
52007         Define.
52008         (libc_feupdateenv_53bit): Define.
52010         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
52011         53 bit (without extend i386 double precision).
52013         * math/libm-test.inc (sincos_test): Add tests for large input.
52014         (sin): Likewise.
52015         (cos): Likewise.
52017         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
52019 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
52021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52023 2012-03-15  David S. Miller  <davem@davemloft.net>
52025         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
52026         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
52027         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
52028         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
52029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
52030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
52031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
52032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
52033         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
52034         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
52035         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
52036         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
52037         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
52038         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
52039         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
52040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
52041         file.
52042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
52043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
52044         file.
52045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
52046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
52047         file.
52048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
52049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
52050         file.
52051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
52052         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
52053         fmin/fmax sysdep routines.
52054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
52056 2012-03-14  David S. Miller  <davem@davemloft.net>
52058         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
52059         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
52060         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
52061         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
52062         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
52063         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
52064         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
52065         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
52066         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
52067         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
52068         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
52069         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
52070         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
52071         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
52072         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
52073         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
52074         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
52075         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
52076         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
52077         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
52078         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
52079         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
52080         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
52081         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
52082         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
52083         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
52084         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
52085         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
52086         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
52087         routines.
52088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
52089         file.
52090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
52091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
52092         file.
52093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
52094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
52095         file.
52096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
52097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
52098         file.
52099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
52100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
52101         file.
52102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
52103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
52104         file.
52105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
52106         file.
52107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
52108         file.
52109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
52110         file.
52111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
52112         New file.
52113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
52114         file.
52115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
52116         file.
52117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
52118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
52119         file.
52120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
52121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
52122         file.
52123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
52124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
52125         file.
52126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
52127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
52128         VIS3 routines.
52130         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
52131         New file.
52133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52135         * sysdeps/sparc/configure.in: New file.
52136         * sysdeps/sparc/configure: Generate.
52137         * configure.in (libc_cv_sparc_as_vis3): Substitute.
52138         * configure: Regenerate.
52139         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
52140         * config.make.in (have-as-vis3): New.
52141         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
52142         available use -Av9d instead of -Av9a.
52143         * sysdeps/sparc/sparc64/Makefile: Likewise.
52144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
52145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
52146         New file.
52147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
52148         file.
52149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
52150         New file.
52151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
52152         file.
52153         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
52154         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
52155         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
52156         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
52157         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
52159         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
52160         fzeros/fnegs to load 0x80000000 into a float register instead of
52161         using the stack.
52162         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
52164 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52166         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52167         bits/syscall.h.
52168         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
52169         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
52170         ($(inst_includedir)/bits/syscall.h): Remove rule.
52171         ($(objpfx)bits/syscall.d): Include instead of
52172         $(objpfx)syscall-list.d.
52173         (generated): Change syscall-list.h and syscall-list.d to
52174         bits/syscall.h and bits/syscall.d.
52176 2012-03-14  Roland McGrath  <roland@hack.frob.com>
52178         [BZ #13846]
52179         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
52181 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
52183         [BZ #13841]
52184         * math/s_csqrt.c: Include <float.h>.
52185         (__csqrt): Scale large or subnormal inputs.
52186         * math/s_csqrtf.c: Likewise.
52187         * math/s_csqrtl.c: Likewise.
52188         * math/libm-test.inc (csqrt_test): Add more tests.
52189         * sysdeps/i386/fpu/libm-test-ulps: Update.
52190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52192         [BZ #13840]
52193         * math/libm-test.inc (hypot_test): Add more tests.
52195 2012-03-13  David S. Miller  <davem@davemloft.net>
52197         [BZ #13840]
52198         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
52199         double-precision for the calculation instead of scaling.
52201 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
52203         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
52204         manipulate bits before adding and subtracting TWO52[sx].
52205         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
52206         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
52207         Likewise.
52208         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
52210 2012-03-13  David S. Miller  <davem@davemloft.net>
52212         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
52213         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
52214         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
52215         rtld-global-offsets.h
52216         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52218         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
52219         large parameters.
52221         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
52223         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
52224         'err' in the ifdef scope in which it is actually used.
52226         * nss/nss_db/db-init.c: Include string.h
52228 2012-03-12  David S. Miller  <davem@davemloft.net>
52230         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52231         masking out of the most significant byte of random value used.
52232         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52233         Fix coding style in previous change.
52235         * sysdeps/unix/sysv/linux/kernel-features.h
52236         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
52237         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
52238         expression.
52239         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
52240         later.
52242 2012-03-11  David S. Miller  <davem@davemloft.net>
52244         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
52245         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
52246         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
52247         for 'resultvar' otherwise things get truncated on 64-bit.
52249         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52250         Fix masking out of the most significant byte of random value used.
52252         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52254 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
52256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52258 2012-03-09  David S. Miller  <davem@davemloft.net>
52260         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
52261         variables with appropriate CPP guards.
52262         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
52263         from the frame pointer, not the stack pointer.  Correct layout
52264         comments.  Fix test on resulting framesize and the management of
52265         the outregs buffer for pltexit.  Preserve floating point return
52266         values across _dl_call_pltexit call.
52267         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
52268         framesize and the management of the outregs buffer for pltexit.
52269         Preserve floating point return values across _dl_call_pltexit
52270         call.
52271         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
52272         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
52273         (la_sparc64_gnu_pltexit): New functions.
52274         (print_exit): Fix format string for return register value.
52276 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
52278         * sunrpc/Makefile (others): Add rpcgen.
52279         ($(objpfx)rpcgen): Remove special build rule and dependency on
52280         libc.
52281         * sunrpc/rpcgen.c: New file.
52283 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
52285         [BZ #13673]
52286         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
52287         * stdio-common/bug-vfprintf-nargs.c: Likewise.
52288         * sysdeps/i386/crti.S: Likewise.
52289         * sysdeps/i386/crtn.S: Likewise.
52290         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
52291         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
52292         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
52293         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
52294         * sysdeps/sh/crti.S: Likewise.
52295         * sysdeps/sh/crtn.S: Likewise.
52296         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
52298         [BZ #13673]
52299         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
52300         with URL.
52301         * locale/programs/locfile-kw.gperf: Likewise.
52302         * locale/programs/charmap-kw.h: Regenerated.
52303         * locale/programs/locfile-kw.h: Likewise.
52305         [BZ #13673]
52306         * intl/plural.y: Replace FSF snail mail address with URL.
52307         * intl/plural.c: Regenerated.
52309 2012-03-09  Richard Henderson  <rth@twiddle.net>
52311         * include/math_private.h: Remove file.
52312         * math/math_private.h: Move file ...
52313         * sysdeps/generic/math_private.h: ... here.
52315         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
52316         * sysdeps/powerpc/fpu/math_private.h: Likewise.
52317         * sysdeps/x86_64/fpu/math_private.h: Likewise.
52319         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
52320         and <math_private.h>.
52321         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52322         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52323         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52324         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52325         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52326         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
52327         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52328         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52329         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52330         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52331         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52332         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52333         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52334         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52335         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52336         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52337         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52338         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52339         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52340         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52341         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52342         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52343         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52344         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52345         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
52346         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52347         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52348         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52349         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52350         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52351         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52352         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52353         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
52354         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52355         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52356         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52357         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52358         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52359         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52360         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52361         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
52362         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52363         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52364         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
52365         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
52366         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52367         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
52368         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
52369         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52370         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52371         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
52372         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
52373         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
52374         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52375         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
52376         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52377         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52378         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
52379         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
52380         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
52381         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52382         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
52383         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52384         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52385         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
52386         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52387         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52388         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52389         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
52390         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
52391         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52392         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52393         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52394         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52395         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
52396         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
52397         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
52398         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52399         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
52400         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
52401         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52402         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
52403         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52404         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52405         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52406         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
52407         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
52408         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
52409         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52410         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52411         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52412         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52413         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52414         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52415         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52416         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52417         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52418         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52419         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52420         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52421         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52422         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52423         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52424         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52425         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52426         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52427         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52428         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52429         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52430         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52431         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52432         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52433         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52434         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52435         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
52436         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52437         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52438         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52439         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52440         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52441         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52442         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52443         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52444         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
52445         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52446         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52447         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52448         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
52449         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52450         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
52451         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
52452         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52453         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52454         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
52455         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
52456         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52457         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52458         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52459         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
52460         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52461         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52462         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52463         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52464         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
52465         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
52466         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52467         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52468         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52469         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
52470         * sysdeps/ieee754/k_standard.c: Likewise.
52471         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52472         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52473         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52474         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52475         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52476         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52477         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52478         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52479         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52480         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52481         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52482         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52483         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52484         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52485         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52486         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52487         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52488         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52489         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52490         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
52491         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
52492         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
52493         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52494         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52495         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52496         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
52497         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52498         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52499         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52500         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52501         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52502         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52503         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52504         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52505         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52506         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52507         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52508         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
52509         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
52510         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52511         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52512         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52513         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52514         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52515         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52516         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52517         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52518         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52519         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52520         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52521         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52522         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52523         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52524         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
52525         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52526         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52527         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
52528         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
52529         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52530         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52531         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52532         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52533         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52534         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52535         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52536         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52537         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52538         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52539         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52540         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52541         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52542         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52543         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52544         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52545         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52546         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52547         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
52548         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52549         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52550         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52551         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52552         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52553         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52554         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52555         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
52556         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52557         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52558         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
52559         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
52560         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52561         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
52562         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52563         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
52564         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52565         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52566         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52567         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
52568         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
52569         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
52570         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
52571         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52572         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52573         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52574         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52575         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
52576         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52577         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52578         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
52579         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
52580         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52581         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52582         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52583         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52584         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52585         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52586         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52587         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52588         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52589         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52590         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52591         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52592         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52593         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52594         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52595         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52596         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
52597         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52598         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52599         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52600         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52601         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52602         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52603         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52604         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
52605         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52606         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52607         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
52608         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
52609         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52610         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
52611         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
52612         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52613         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
52614         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
52615         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52616         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52617         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52618         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52619         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52620         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
52621         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52622         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52623         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52624         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52625         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
52626         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
52627         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52628         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52629         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52630         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
52631         * sysdeps/ieee754/s_lib_version.c: Likewise.
52632         * sysdeps/ieee754/s_matherr.c: Likewise.
52633         * sysdeps/ieee754/s_signgam.c: Likewise.
52634         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52635         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52636         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
52637         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
52638         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
52639         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
52640         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
52641         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
52642         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
52643         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
52644         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52645         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
52646         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52647         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52648         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
52649         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52650         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52651         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52652         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52653         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52654         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52656 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52658         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
52659         * sunrpc/rpc_main.c: Likewise.
52660         * sunrpc/rpc_svcout.c: Likewise.
52662 2012-03-09  David S. Miller  <davem@davemloft.net>
52664         * include/math_private.h: New file.
52666 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
52668         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
52669         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
52670         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
52671         from <bits/socket_type.h>.
52672         (enum __socket_type): Don't define here.
52673         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
52674         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52675         bits/socket_type.h.
52677         [BZ #13566]
52678         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
52679         checking __USE_GNU.
52681         * Makerules ($(inst_includedir)/%.h): New rule.
52682         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
52683         (install-others): Remove variable setting.
52684         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
52686 2012-03-08  Richard Henderson  <rth@twiddle.net>
52688         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
52689         from macro to inline function; merge with the
52690         !__LIBC_INTERNAL_MATH_INLINES version.
52691         (__ieee754_sqrtf): Likewise.
52693         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
52694         to inline function.
52695         (__rintf, __floor, __floorf): Likewise.
52697         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
52698         macro to inline function.
52699         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
52701         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
52702         not <math/math_private.h>.
52704 2012-03-08  David S. Miller  <davem@davemloft.net>
52706         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
52707         copyright year.
52708         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
52710 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
52712         * resolv/gai_misc.c (handle_requests): Fix struct timespec
52713         normalization.
52714         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
52715         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
52717 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
52719         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
52720         be defined individually, they must be defined as a block.  Define
52721         S for printing a string instead of hidint the different by using a
52722         macro for adding the 'l'.
52723         * stdio-common/tst-fphex-wide.c: Adjust.
52725 2012-03-07  Marek Polacek  <polacek@redhat.com>
52727         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
52729 2012-03-08  Marek Polacek  <polacek@redhat.com>
52731         [BZ #13806]
52732         * stdio-common/Makefile (tests): Add tst-fphex-wide.
52733         * stdio-common/tst-fphex.c: Define a few macros to make the
52734         test reusable.  Use them.
52735         * stdio-common/tst-fphex-wide.c: New file.
52737 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
52739         [BZ #6911]
52740         * manual/macros.texi (gnusystems): New macro.
52741         (nongnusystems): Likewise.
52742         (gnulinuxhurdsystems): Likewise.
52743         (gnuhurdsystems): Likewise..
52744         (gnulinuxsystems): Likewise.
52745         * manual/charset.texi: Use new macros or @theglibc{} to refer to
52746         variants of the GNU system, not "GNU system".
52747         * manual/conf.texi: Likewise.
52748         * manual/errno.texi: Likewise.  Update example of errno macro
52749         expansion.
52750         * manual/filesys.texi: Likewise.
52751         (getumask): Document as specific to GNU/Hurd.
52752         * manual/install.texi: Likewise.  Reword some references to
52753         GNU/Linux.
52754         * manual/intro.texi: Likewise.
52755         * manual/io.texi: Likewise.
52756         (File Name Portability): Detail which constraints are inapplicable
52757         to all GNU systems and which are only inapplicable to GNU/Hurd.
52758         * manual/job.texi: Likewise.
52759         * manual/llio.texi: Likewise.
52760         (O_NOCTTY): Document as present on GNU/Linux.
52761         * manual/maint.texi: Likewise.
52762         * manual/memory.texi: Likewise.
52763         * manual/pattern.texi: Likewise.
52764         * manual/pipe.texi: Likewise.
52765         * manual/process.texi: Likewise.
52766         * manual/resource.texi: Likewise.
52767         (RUSAGE_CHILDREN): Remove statement about specifying a particular
52768         child on GNU/Hurd.
52769         * manual/setjmp.texi: Likewise.
52770         * manual/signal.texi: Likewise.
52771         * manual/startup.texi: Likewise.
52772         * manual/stdio.texi: Likewise.
52773         * manual/terminal.texi: Likewise.
52774         (ONLCR): Document as POSIX.
52775         (OXTABS): Document availability on GNU/Linux as XTABS.
52776         (ONOEOT): Document availability separately from other bits.
52777         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
52778         * manual/time.texi: Likewise.
52779         * manual/users.texi: Likewise.
52780         * INSTALL: Regenerated.
52781         * sysdeps/gnu/errlist.c: Regenerated.
52783         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
52784         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
52785         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
52786         puts.
52787         * configure: Regenerated.
52789 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
52791         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
52792         default includes instead of AC_HEADER_CHECK.
52793         * sysdeps/i386/configure: Regenerated.
52795         [BZ #10716]
52796         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
52797         * math/s_cacoshf.c (__cacoshf): Likewise.
52798         * math/s_cacoshl.c (__cacoshl): Likewise.
52799         * math/s_casinh.c (__casinh): Set signs of result from argument.
52800         * math/s_casinhf.c (__casinhf): Likewise.
52801         * math/s_casinhl.c (__casinhl): Likewise.
52802         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
52803         (casinh_test): Add more tests.
52804         * sysdeps/i386/fpu/libm-test-ulps: Update.
52805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52807 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
52809         * po/zh_TW.po: Update from translation team.
52811         * login/Makefile (distribute): Remove variable.
52812         * catgets/Makefile: Likewise.
52813         * mach/Makefile: Likewise.
52814         * malloc/Makefile: Likewise.
52815         * misc/Makefile: Likewise.
52816         * iconv/Makefile: Likewise.
52817         * nscd/Makefile: Likewise.
52818         * hurd/Makefile: Likewise.
52819         * manual/Makefile: Likewise.
52820         * locale/Makefile: Likewise.
52821         * intl/Makefile: Likewise.
52822         * conform/Makefile: Likewise.
52823         * nss/Makefile: Likewise.
52824         * time/Makefile: Likewise.
52825         * soft-fp/Makefile: Likewise.
52826         * dirent/Makefile: Likewise.
52827         * gmon/Makefile: Likewise.
52828         * po/Makefile: Likewise.
52829         * rt/Makefile: Likewise.
52830         * socket/Makefile: Likewise.
52831         * math/Makefile: Likewise.
52832         * signal/Makefile: Likewise.
52833         * debug/Makefile: Likewise.
52834         * elf/Makefile: Likewise.
52835         * timezone/Makefile: Likewise.
52836         * stdlib/Makefile: Likewise.
52837         * iconvdata/Makefile: Likewise.
52838         * sunrpc/Makefile: Likewise.
52839         * io/Makefile: Likewise.
52840         * argp/Makefile: Likewise.
52841         * inet/Makefile: Likewise.
52842         * hesiod/Makefile: Likewise.
52843         * grp/Makefile: Likewise.
52844         * csu/Makefile: Likewise.
52845         * wctype/Makefile: Likewise.
52846         * crypt/Makefile: Likewise.
52847         * libio/Makefile: Likewise.
52848         * string/Makefile: Likewise.
52849         * nis/Makefile: Likewise.
52850         * resolv/Makefile: Likewise.
52851         * stdio-common/Makefile: Likewise.
52852         * wcsmbs/Makefile: Likewise.
52853         * dlfcn/Makefile: Likewise.
52854         * posix/Makefile: Likewise.
52856         [BZ #6959]
52857         * timezone/Makefile: Don't install timezone files, just the programs
52858         and scripts.
52860 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
52862         * nss/databases.def: Add missing gshadow entry.
52864         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
52866 2012-03-06  Marek Polacek  <polacek@redhat.com>
52868         [BZ #13726]
52869         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
52870         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52871         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
52872         * stdio-common/tst-long-dbl-fphex.c: New file.
52874 2012-03-06  David S. Miller  <davem@davemloft.net>
52876         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52877         (set_obp_int): New function.
52878         (get_obp_int): New function.
52879         (__get_clockfreq_via_dev_openprom): Likewise.
52880         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
52881         Avoid unused variable warnings on 'val' and use builtin_expect.
52882         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
52883         __builtin_expect.
52884         (INLINE_CLONE_SYSCALL): Likewise.
52886 2012-03-05  David S. Miller  <davem@davemloft.net>
52888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52890 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
52892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52894         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
52895         only for |x| >= 40.
52896         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52898 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
52900         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
52901         Replace gettimeofday with __vdso_gettimeofday.
52903         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52904         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
52905         __vdso_clock_gettime and __vdso_getcpu.
52907         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
52908         time with __vdso_time.
52910 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52912         * manual/lang.texi (size_t): Note types to which size_t may be
52913         equivalent with the GNU C Library, but do not describe when
52914         differences between them are significant.
52916 2012-03-05  Andreas Jaeger  <aj@suse.de>
52918         * sysdeps/i386/fpu/libm-test-ulps: Update.
52920 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
52922         [BZ #3976]
52923         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
52924         (__ieee754_pow): Save and restore rounding mode and use
52925         round-to-nearest for main computations.
52926         * math/libm-test.inc (pow_test_tonearest): New function.
52927         (pow_test_towardzero): Likewise.
52928         (pow_test_downward): Likewise.
52929         (pow_test_upward): Likewise.
52930         (main): Call the new functions.
52931         * sysdeps/i386/fpu/libm-test-ulps: Update.
52932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52934         [BZ #3976]
52935         * math/libm-test.inc (cosh_test_tonearest): New function.
52936         (cosh_test_towardzero): Likewise.
52937         (cosh_test_downward): Likewise.
52938         (cosh_test_upward): Likewise.
52939         (sinh_test_tonearest): Likewise.
52940         (sinh_test_towardzero): Likewise.
52941         (sinh_test_downward): Likewise.
52942         (sinh_test_upward): Likewise.
52943         (main): Call the new functions.
52944         * sysdeps/i386/fpu/libm-test-ulps: Update.
52945         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52947 2012-03-05  Tom de Vries  <tom@codesourcery.com>
52949         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
52950         default stack guard is set in last bytes.
52951         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
52953 2012-03-05  Kees Cook  <keescook@chromium.org>
52955         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
52957         [BZ #13656]
52958         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
52959         possibly allocate from heap instead of stack.
52960         * stdio-common/bug-vfprintf-nargs.c: New file.
52961         * stdio-common/Makefile (tests): Add nargs overflow test.
52963 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
52965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52967 2012-03-03  Marek Polacek  <polacek@redhat.com>
52969         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
52970         * math/math_private.h: Likewise.
52971         * stdlib/tst-strtod.c: Likewise.
52972         * sysdeps/i386/i486/bits/atomic.h: Likewise.
52973         * sysdeps/x86_64/bits/atomic.h: Likewise.
52975 2012-03-02  David S. Miller  <davem@davemloft.net>
52977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
52978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
52979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
52980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
52981         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
52982         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
52983         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
52984         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
52986 2012-03-02  Roland McGrath  <roland@hack.frob.com>
52988         [BZ #13792]
52989         * manual/examples/README: New file, says the example source files
52990         can be used under GPL>=2.
52991         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
52992         line containing just "*/".
52993         * manual/examples/add.c: Add copyright header (GPL>=2).
52994         * manual/examples/argp-ex1.c: Likewise.
52995         * manual/examples/argp-ex2.c: Likewise.
52996         * manual/examples/argp-ex3.c: Likewise.
52997         * manual/examples/argp-ex4.c: Likewise.
52998         * manual/examples/atexit.c: Likewise.
52999         * manual/examples/db.c: Likewise.
53000         * manual/examples/dir.c: Likewise.
53001         * manual/examples/dir2.c: Likewise.
53002         * manual/examples/execinfo.c: Likewise.
53003         * manual/examples/filecli.c: Likewise.
53004         * manual/examples/filesrv.c: Likewise.
53005         * manual/examples/fmtmsgexpl.c: Likewise.
53006         * manual/examples/genpass.c: Likewise.
53007         * manual/examples/inetcli.c: Likewise.
53008         * manual/examples/inetsrv.c: Likewise.
53009         * manual/examples/isockad.c: Likewise.
53010         * manual/examples/longopt.c: Likewise.
53011         * manual/examples/memopen.c: Likewise.
53012         * manual/examples/memstrm.c: Likewise.
53013         * manual/examples/mkfsock.c: Likewise.
53014         * manual/examples/mkisock.c: Likewise.
53015         * manual/examples/mygetpass.c: Likewise.
53016         * manual/examples/pipe.c: Likewise.
53017         * manual/examples/popen.c: Likewise.
53018         * manual/examples/rprintf.c: Likewise.
53019         * manual/examples/search.c: Likewise.
53020         * manual/examples/select.c: Likewise.
53021         * manual/examples/setjmp.c: Likewise.
53022         * manual/examples/sigh1.c: Likewise.
53023         * manual/examples/sigusr.c: Likewise.
53024         * manual/examples/stpcpy.c: Likewise.
53025         * manual/examples/strdupa.c: Likewise.
53026         * manual/examples/strftim.c: Likewise.
53027         * manual/examples/strncat.c: Likewise.
53028         * manual/examples/subopt.c: Likewise.
53029         * manual/examples/swapcontext.c: Likewise.
53030         * manual/examples/termios.c: Likewise.
53031         * manual/examples/testopt.c: Likewise.
53032         * manual/examples/testpass.c: Likewise.
53033         * manual/examples/timeval_subtract.c: Likewise.
53035         [BZ #13792]
53036         * manual/time.texi (Elapsed Time): Move timeval_subtract example
53037         function to ...
53038         * manual/timeval_subtract.c.texi: ... here, new file.
53040 2012-03-02  David S. Miller  <davem@davemloft.net>
53042         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
53044 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
53046         [BZ #3976]
53047         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
53048         (__sin): Save and restore rounding mode and use round-to-nearest
53049         for all computations.
53050         (__cos): Save and restore rounding mode and use round-to-nearest
53051         for all computations.
53052         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
53053         <fenv.h>.
53054         (tan): Save and restore rounding mode and use round-to-nearest for
53055         all computations.
53056         * math/libm-test.inc (cos_test_tonearest): New function.
53057         (cos_test_towardzero): Likewise.
53058         (cos_test_downward): Likewise.
53059         (cos_test_upward): Likewise.
53060         (sin_test_tonearest): Likewise.
53061         (sin_test_towardzero): Likewise.
53062         (sin_test_downward): Likewise.
53063         (sin_test_upward): Likewise.
53064         (tan_test_tonearest): Likewise.
53065         (tan_test_towardzero): Likewise.
53066         (tan_test_downward): Likewise.
53067         (tan_test_upward): Likewise.
53068         (main): Call the new functions.
53069         * sysdeps/i386/fpu/libm-test-ulps: Update.
53070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53072         [BZ #10135]
53073         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
53074         small n, then large n, before computing and testing k+n.
53075         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
53076         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
53077         Likewise.
53078         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
53079         Likewise.
53080         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
53081         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
53082         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
53083         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
53084         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
53085         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
53086         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
53087         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
53088         * math/libm-test.inc (scalbn_test): Add more tests.
53089         (scalbln_test): Likewise.
53091         * manual/filesys.texi (mode_t): Describe constraints on size and
53092         signedness, not exact equivalence to a particular type.
53093         (ino_t): Likewise.
53094         (ino64_t): Likewise.
53095         (dev_t): Likewise.
53096         (nlink_t): Likewise.
53097         (blkcnt_t): Likewise.
53098         (blkcnt64_t): Likewise.
53099         * manual/llio.texi (off_t): Likewise.
53101         [BZ #3976]
53102         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
53103         (__ieee754_exp): Save and restore rounding mode and use
53104         round-to-nearest for all computations.
53105         * math/libm-test.inc (exp_test_tonearest): New function.
53106         (exp_test_towardzero): Likewise.
53107         (exp_test_downward): Likewise.
53108         (exp_test_upward): Likewise.
53109         (main): Call the new functions.
53110         * sysdeps/i386/fpu/libm-test-ulps: Update.
53111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53113 2012-03-01  Chris Demetriou  <cgd@google.com>
53115         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
53116         have predictable order.
53118 2012-03-01  David S. Miller  <davem@davemloft.net>
53120         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
53122         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
53123         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
53124         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
53125         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
53127         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
53128         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
53129         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
53130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
53131         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
53132         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
53133         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
53134         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
53135         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
53137         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53139         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
53140         * sysdeps/sparc/fpu/libm-test-ulps: to here.
53141         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
53143         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
53144         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53145         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53146         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
53147         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
53148         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
53149         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
53150         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53151         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53152         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
53153         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
53154         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53155         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53156         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53157         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53158         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53159         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
53160         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
53161         * sysdeps/sparc/elf/configure: Regenerated.
53163 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
53165         * configure.in (AS, LD): Require binutils 2.20 or later.
53166         * configure: Regenerated.
53167         * manual/install.texi (Tools for Compilation): Give binutils 2.20
53168         as required minimum version.
53169         * INSTALL: Regenerated.
53171         [BZ #2541]
53172         [BZ #4108]
53173         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
53174         before squaring exponent.
53175         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
53176         bottom long double and 27 bits of top long double before squaring
53177         exponent.
53178         * math/libm-test.inc (erfc_test): Add more tests.
53179         * sysdeps/i386/fpu/libm-test-ulps: Update.
53180         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53183 2012-03-01  Kai Tietz  <ktietz@redhat.com>
53185         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
53186         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
53187         containing bit-fields.
53188         * soft-fp/extended.h (_FP_UNION_E): Likewise.
53189         * soft-fp/single.h (_FP_UNION_S): Likewise.
53190         * soft-fp/double.h (_FP_UNION_D): Likewise.
53192 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53194         [BZ #13786]
53195         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
53196         not include ../strcmp.S.
53197         [USE_AS_STRNCASECMP_L]: Likewise.
53198         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
53199         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
53200         * sysdeps/i386/i686/multiarch/strncase_l-c.c
53201         (__strncasecmp_l_ia32): Define as alias to
53202         __strncasecmp_l_nonascii.
53204         [BZ #5794]
53205         * math/libm-test.inc (expm1_test): Add test for bug 5794.
53206         * sysdeps/i386/fpu/libm-test-ulps: Update.
53207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53209         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
53210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53212 2012-02-29  Jeff Law  <law@redhat.com>
53214         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
53215         out of bounds read.
53217 2012-02-29  Marek Polacek  <polacek@redhat.com>
53219         [BZ #13706]
53220         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
53221         * elf/Makefile: Add rules to run tst-unused-dep.out.
53223 2012-02-28  David S. Miller  <davem@davemloft.net>
53225         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
53226         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
53227         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
53228         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
53229         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
53230         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
53232 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
53234         * math/libm-test.inc (llround_test): Move one test from
53235         lround_test.  Use TEST_f_L in moved test.
53236         (lround_test): Move misplaced test to llround_test.  Add testcase
53237         from bug 2561.
53239 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
53241         * sysdeps/x86_64/fpu/e_expf.S: New file.
53242         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
53244 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
53246         [BZ #13637]
53247         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
53248         of remain_len that may cause incomplete multi-byte character and
53249         false match.
53250         * posix/bug-regex33.c: New file.
53251         * posix/Makefile (tests): Add bug-regex33.
53253 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
53255         * manual/macros.texi: New file.
53256         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
53257         * manual/libc.texinfo: Include macros.texi.
53258         * manual/creatute.texi: Likewise.
53259         * manual/install.texi: Likewise.
53260         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
53261         @glibcadj{} in references to the GNU C Library.
53262         * manual/charset.texi: Likewise.
53263         * manual/conf.texi: Likewise.
53264         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
53265         when not using those macros.
53266         * manual/creature.texi: Likewise.
53267         * manual/crypt.texi: Likewise.
53268         * manual/errno.texi: Likewise.
53269         * manual/filesys.texi: Likewise.
53270         * manual/header.texi: Likewise.
53271         * manual/install.texi: Likewise.
53272         * manual/intro.texi: Likewise.
53273         * manual/io.texi: Likewise.
53274         * manual/job.texi: Likewise.
53275         * manual/lang.texi: Likewise.
53276         * manual/libc.texiinfo: Likewise.
53277         * manual/llio.texi: Likewise.
53278         * manual/locale.texi: Likewise.
53279         * manual/maint.texi: Likewise.
53280         * manual/math.texi: Likewise.
53281         * manual/memory.texi: Likewise.
53282         * manual/message.texi: Likewise.
53283         * manual/nss.texi: Likewise.
53284         * manual/pattern.texi: Likewise.
53285         * manual/process.texi: Likewise.
53286         * manual/resource.texi: Likewise.
53287         * manual/search.texi: Likewise.
53288         * manual/setjmp.texi: Likewise.
53289         * manual/signal.texi: Likewise.
53290         * manual/socket.texi: Likewise.
53291         * manual/startup.texi: Likewise.
53292         * manual/stdio.texi: Likewise.
53293         * manual/string.texi: Likewise.
53294         * manual/sysinfo.texi: Likewise.
53295         * manual/syslog.texi: Likewise.
53296         * manual/terminal.texi: Likewise.
53297         * manual/time.texi: Likewise.
53298         * manual/users.texi: Likewise.
53299         * INSTALL: Regenerated.
53300         * NOTES: Regenerated.
53301         * sysdeps/gnu/errlist.c: Regenerated.
53303 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
53305         * include/dirent.h: Include <dirstream.h> before
53306         <dirent/dirent.h>.
53308 2012-02-28  David S. Miller  <davem@davemloft.net>
53310         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
53311         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
53312         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
53313         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
53315 2012-02-27  David S. Miller  <davem@davemloft.net>
53317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
53318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
53319         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
53320         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
53322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
53323         frame pointer instead of stack pointer relative arg slot.
53324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53325         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53326         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53328 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
53330         [BZ #3992]
53331         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
53333 2012-02-27  David S. Miller  <davem@davemloft.net>
53335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
53336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
53337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
53339         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
53340         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
53341         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
53342         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
53344 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53346         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
53347         later.  Allow versions 5-9.
53348         * configure: Regenerated.
53349         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
53350         required minimum version and 4.6 as recommended version.  Do not
53351         mention bugs in GCC 2.7 and 2.8.
53352         * INSTALL: Regenerated.
53354 2012-02-27  David S. Miller  <davem@davemloft.net>
53356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
53357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
53358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
53359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
53360         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
53361         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
53362         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
53363         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
53365         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
53366         manipulate bits before adding and subtracting TWO112[sx].
53367         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
53369 2012-02-27  Roland McGrath  <roland@hack.frob.com>
53371         [BZ #13775]
53372         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
53373         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
53374         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
53375         being in POSIX, because they are in 1003.1-2008.
53377         * rt/tst-aio.c: Include <fcntl.h>.
53378         * rt/tst-aio7.c: Likewise.
53379         * rt/tst-aio64.c: Likewise.
53381         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
53383 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
53385         * manual/install.texi (--with-headers): Describe headers as
53386         interface headers, not private headers.
53387         (Specific advice for GNU/Linux systems): Describe use of headers
53388         from "make headers_install", not private headers from older
53389         kernels.
53390         * INSTALL: Regenerated.
53391         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
53392         Change to 2.6.19.
53393         * sysdeps/unix/sysv/linux/configure: Regenerated.
53395         * manual/llio.texi (fclean): Remove documentation.
53397         * manual/Makefile (libc-texi-generated): New variable.  Include
53398         version.texi.
53399         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
53400         $(libc-texi-generated), not duplicated list of files.
53401         (version.texi, stamp-version): New rules.
53402         (realclean): Remove $(libc-texi-generated), not individual files
53403         from that list.  Do not remove dir-add.texinfo.
53404         * manual/libc.texinfo: Comment out uses of edition numbers and
53405         references to printed manual.  Remove last-updated dates.
53406         (EDITION): Comment out.
53407         (ISBN): Likewise.
53408         (VERSION, UPDATED): Remove.
53409         (version.texi): Include.
53411 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
53413         * sysdeps/posix/spawni.c: Include <signal.h>.
53414         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
53415         * sysdeps/pthread/aio_fsync.c: Likewise.
53417 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
53419         * conform/Makefile (tests): Run only when not cross-compiling and
53420         when fast-check is not defined.
53422         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
53423         * conform/data/limits.h-data: Fixes for POSIX2008.
53424         * conform/run-conformtest.sh: Run all tests.
53425         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
53426         headers.
53427         * include/bits/dlfcn.h: Likewise.
53428         * include/langinfo.h: Likewise.
53429         * include/monetary.h: Likewise.
53430         * include/sys/poll.h: Likewise.
53432         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
53433         for __USE_GNU.
53434         * posix/spawn.h: Define __need_sigset_t.
53435         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
53436         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
53437         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
53438         to get sigevent_t only.
53439         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
53440         only for __USE_GNU.
53441         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53442         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53443         process_vm_writev only for __USE_GNU.
53444         * termios/termios.h: Declare tcgetsid also for POSIX2008.
53446         * conform/Makefile: For now ignore errors from run-conformtest.
53447         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
53448         POSIX to avoid namespace pollution.  Don't prepend headers.
53449         * conform/data/aio.h-data: Fixes for POSIX testing.
53450         * conform/data/fcntl.h-data: Likewise.
53451         * conform/data/glob.h-data: Likewise.
53452         * conform/data/grp.h-data: Likewise.
53453         * conform/data/pthread.h-data: Likewise.
53454         * conform/data/pwd.h-data: Likewise.
53455         * conform/data/signal.h-data: Likewise.
53456         * conform/data/spawn.h-data: Likewise.
53457         * conform/data/stdio.h-data: Likewise.
53458         * conform/data/stdlib.h-data: Likewise.
53459         * conform/data/stropts.h-data: Likewise.
53460         * conform/data/sys/mman.h-data: Likewise.
53461         * conform/data/sys/stat.h-data: Likewise.
53462         * conform/data/sys/types.h-data: Likewise.
53463         * conform/data/sys/wait.h-data: Likewise.
53464         * conform/data/time.h-data: Likewise.
53465         * conform/data/unistd.h-data: Likewise.
53466         * conform/data/utime.h-data: Likewise.
53468         * io/sys/stat.h: fchmod was always in POSIX.
53469         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
53470         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
53471         * rt/aio.h: Define __need_timespec before including <time.h>.
53472         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
53473         struct.  Add forward declaration of pthread_attr_t and use it in
53474         sigevent.
53475         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53476         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53477         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
53478         always remove CLK_TCK definition.
53480 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
53482         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
53484 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
53486         * conform/run-conformtest.sh: New file.
53487         * conform/Makefile: Run run-conformtest for tests.
53488         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
53489         support.
53491         * conform/data/uchar.h-data: New file.
53492         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
53493         * conform/data/arpa/inet.h-data: Likewise.
53494         * conform/data/assert.h-data: Likewise.
53495         * conform/data/complex.h-data: Likewise.
53496         * conform/data/cpio.h-data: Likewise.
53497         * conform/data/ctype.h-data: Likewise.
53498         * conform/data/dirent.h-data: Likewise.
53499         * conform/data/dlfcn.h-data: Likewise.
53500         * conform/data/errno.h-data: Likewise.
53501         * conform/data/fcntl.h-data: Likewise.
53502         * conform/data/float.h-data: Likewise.
53503         * conform/data/fmtmsg.h-data: Likewise.
53504         * conform/data/fnmatch.h-data: Likewise.
53505         * conform/data/ftw.h-data: Likewise.
53506         * conform/data/glob.h-data: Likewise.
53507         * conform/data/grp.h-data: Likewise.
53508         * conform/data/iconv.h-data: Likewise.
53509         * conform/data/inttypes.h-data: Likewise.
53510         * conform/data/langinfo.h-data: Likewise.
53511         * conform/data/libgen.h-data: Likewise.
53512         * conform/data/limits.h-data: Likewise.
53513         * conform/data/locale.h-data: Likewise.
53514         * conform/data/math.h-data: Likewise.
53515         * conform/data/monetary.h-data: Likewise.
53516         * conform/data/mqueue.h-data: Likewise.
53517         * conform/data/ndbm.h-data: Likewise.
53518         * conform/data/net/if.h-data: Likewise.
53519         * conform/data/netdb.h-data: Likewise.
53520         * conform/data/netinet/in.h-data: Likewise.
53521         * conform/data/nl_types.h-data: Likewise.
53522         * conform/data/poll.h-data: Likewise.
53523         * conform/data/pthread.h-data: Likewise.
53524         * conform/data/pwd.h-data: Likewise.
53525         * conform/data/regex.h-data: Likewise.
53526         * conform/data/sched.h-data: Likewise.
53527         * conform/data/search.h-data: Likewise.
53528         * conform/data/semaphore.h-data: Likewise.
53529         * conform/data/setjmp.h-data: Likewise.
53530         * conform/data/signal.h-data: Likewise.
53531         * conform/data/spawn.h-data: Likewise.
53532         * conform/data/stdarg.h-data: Likewise.
53533         * conform/data/stdio.h-data: Likewise.
53534         * conform/data/stdlib.h-data: Likewise.
53535         * conform/data/string.h-data: Likewise.
53536         * conform/data/strings.h-data: Likewise.
53537         * conform/data/stropts.h-data: Likewise.
53538         * conform/data/sys/ipc.h-data: Likewise.
53539         * conform/data/sys/mman.h-data: Likewise.
53540         * conform/data/sys/msg.h-data: Likewise.
53541         * conform/data/sys/resource.h-data: Likewise.
53542         * conform/data/sys/select.h-data: Likewise.
53543         * conform/data/sys/sem.h-data: Likewise.
53544         * conform/data/sys/shm.h-data: Likewise.
53545         * conform/data/sys/socket.h-data: Likewise.
53546         * conform/data/sys/stat.h-data: Likewise.
53547         * conform/data/sys/statvfs.h-data: Likewise.
53548         * conform/data/sys/time.h-data: Likewise.
53549         * conform/data/sys/timeb.h-data: Likewise.
53550         * conform/data/sys/times.h-data: Likewise.
53551         * conform/data/sys/types.h-data: Likewise.
53552         * conform/data/sys/uio.h-data: Likewise.
53553         * conform/data/sys/un.h-data: Likewise.
53554         * conform/data/sys/utsname.h-data: Likewise.
53555         * conform/data/sys/wait.h-data: Likewise.
53556         * conform/data/syslog.h-data: Likewise.
53557         * conform/data/tar.h-data: Likewise.
53558         * conform/data/termios.h-data: Likewise.
53559         * conform/data/utime.h-data: Likewise.
53560         * conform/data/utmpx.h-data: Likewise.
53561         * conform/data/varargs.h-data: Likewise.
53562         * conform/data/wchar.h-data: Likewise.
53563         * conform/data/wctype.h-data: Likewise.
53564         * conform/data/wordexp.h-data: Likewise.
53566         * include/stropts.h: New file.
53567         * include/uchar.h: New file.
53568         * include/aio.h: Changes to allow conformtest.pl to use the headers.
53569         * include/assert.h: Likewise.
53570         * include/ctype.h: Likewise.
53571         * include/dirent.h: Likewise.
53572         * include/dlfcn.h: Likewise.
53573         * include/fcntl.h: Likewise.
53574         * include/fnmatch.h: Likewise.
53575         * include/glob.h: Likewise.
53576         * include/grp.h: Likewise.
53577         * include/libio.h: Likewise.
53578         * include/locale.h: Likewise.
53579         * include/math.h: Likewise.
53580         * include/net/if.h: Likewise.
53581         * include/netdb.h: Likewise.
53582         * include/netinet/in.h: Likewise.
53583         * include/pthread.h: Likewise.
53584         * include/pwd.h: Likewise.
53585         * include/regex.h: Likewise.
53586         * include/sched.h: Likewise.
53587         * include/search.h: Likewise.
53588         * include/setjmp.h: Likewise.
53589         * include/signal.h: Likewise.
53590         * include/stdio.h: Likewise.
53591         * include/stdlib.h: Likewise.
53592         * include/string.h: Likewise.
53593         * include/sys/cdefs.h: Likewise.
53594         * include/sys/mman.h: Likewise.
53595         * include/sys/msg.h: Likewise.
53596         * include/sys/resource.h: Likewise.
53597         * include/sys/select.h: Likewise.
53598         * include/sys/socket.h: Likewise.
53599         * include/sys/stat.h: Likewise.
53600         * include/sys/statvfs.h: Likewise.
53601         * include/sys/time.h: Likewise.
53602         * include/sys/times.h: Likewise.
53603         * include/sys/uio.h: Likewise.
53604         * include/sys/utsname.h: Likewise.
53605         * include/sys/wait.h: Likewise.
53606         * include/termios.h: Likewise.
53607         * include/time.h: Likewise.
53608         * include/ulimit.h: Likewise.
53609         * include/unistd.h: Likewise.
53610         * include/utime.h: Likewise.
53611         * include/wchar.h: Likewise.
53612         * include/wctype.h: Likewise.
53613         * include/wordexp.h: Likewise.
53615         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
53617         * time/time.h: TIME_UTC must be a macro.
53618         Make timespec_get available for ISO C11 only as well.
53620 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
53622         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
53623         Reported by Peng Haitao <penght@cn.fujitsu.com>.
53625 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53627         * configure.in: Use -o not -a in test for unsupported multi-arch.
53629 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53631         * manual/texinfo.tex: Update to version 2012-01-19.16.
53633 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
53635         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
53637 2012-02-24  Roland McGrath  <roland@hack.frob.com>
53639         [BZ #13738]
53640         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
53641         * manual/fdl-1.3.texi: New file.
53642         * manual/fdl-1.1.texi: File removed.
53644         [BZ #13738]
53645         * manual/libc.texinfo (FDL_VERSION): New @set.
53646         Use it for mention of FDL in cover text.
53647         (Documentation License): Use it in @include file name.
53649 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53650             Roland McGrath  <roland@hack.frob.com>
53652         [BZ #5461]
53653         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
53654         (not LONG_LONG_MAX and LONG_LONG_MIN.
53655         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
53656         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
53657         name.
53658         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
53660 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53662         [BZ #2547]
53663         [BZ #11365]
53664         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
53665         manipulate bits before adding and subtracting TWO23[sx].
53666         * math/libm-test.inc (nearbyint_test): Add more tests.
53668 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53670         [BZ #2548]
53671         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
53672         bits before adding and subtracting TWO23[sx].
53673         * math/libm-test.inc (rint_test): Add more tests.
53674         (rint_test_tonearest): Likewise.
53675         (rint_test_towardzero): Likewise.
53676         (rint_test_downward): Likewise.
53677         (rint_test_upward: Likewise.
53679 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53681         [BZ #10110]
53682         * include/stdc-predef.h: New file.  Extracted from features.h.
53683         * include/features.h: Include stdc-predef.h.
53684         * Makefile (headers): Add stdc-predef.h.
53685         * CONFORMANCE (Compiler limitations): Update.
53687 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
53689         * manual/libc.texinfo (VERSION, UPDATED): Revert.
53691 2012-02-21  David S. Miller  <davem@davemloft.net>
53693         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
53694         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53696 2012-02-20  David S. Miller  <davem@davemloft.net>
53698         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
53699         using a normal save/restore sequence, rather than allocating a
53700         dummy stack frame just to store a frame pointer and restore.
53701         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53703 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53705         * manual/install.texi: Fix stray word in line-wrapped comment.
53707 2012-02-20  David S. Miller  <davem@davemloft.net>
53709         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
53710         both binutils and gcc support GOTDATA.
53712         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
53713         "rd %pc" in the PIC register setup sequences.
53715         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
53716         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
53717         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
53718         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
53719         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
53720         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
53721         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53722         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
53723         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
53724         (SYSCALL_ERROR_HANDLER): Likewise.
53725         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
53726         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
53727         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
53728         (SYSCALL_ERROR_HANDLER): Likewise.
53730         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
53731         (HAVE_GCC_GOTDATA): New.
53732         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
53733         relocation support in both binutils and gcc.
53734         * sysdeps/sparc/elf/configure: Regenerate.
53736         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
53737         * sysdeps/sparc/sparc32/elf/configure: Delete.
53738         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
53739         * sysdeps/sparc/sparc64/elf/configure: Delete.
53740         * sysdeps/sparc/elf/configure.in: New file.
53741         * sysdeps/sparc/elf/configure: Generate.
53743         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
53744         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
53745         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53746         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
53747         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
53749 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53751         * manual/install.texi: Do not mention specific glibc version
53752         numbers.
53753         * manual/libc.texinfo (VERSION, UPDATED): Update.
53754         (@copying): Use @copyright{} and range of years.
53756 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
53758         [BZ #13695]
53759         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
53760         [crti.S not in sysdirs] (generated): Do not append.
53761         [crti.S not in sysdirs] (omit-deps): Likewise.
53762         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
53763         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
53764         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
53765         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
53766         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
53767         Likewise.
53768         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
53769         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
53770         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
53771         * csu/defs.awk: Remove file.
53772         * sysdeps/generic/initfini.c: Likewise.
53773         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
53774         variable.
53775         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
53776         Likewise.
53778 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53780         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
53781         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
53782         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
53783         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
53784         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53785         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
53786         <bits/epoll.h>.
53787         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
53788         (__EPOLL_PACKED): Define to empty if not defined by
53789         <bits/epoll.h>.
53790         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
53791         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53792         bits/epoll.h.
53794 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53796         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
53797         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
53798         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
53799         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
53800         <bits/timerfd.h>.
53801         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
53802         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53803         bits/timerfd.h.
53805 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
53807         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
53808         in C locale.
53809         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53810         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53811         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
53812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53814 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
53816         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53817         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
53819 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
53821         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
53822         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
53823         defined.
53824         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
53825         Likewise.
53826         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
53827         entry for 2.16.
53829 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
53831         * math/w_acos.c: Use non-signaling floating-point comparisons.
53832         * math/w_acosf.c: Likewise.
53833         * math/w_acosh.c: Likewise.
53834         * math/w_acoshf.c: Likewise.
53835         * math/w_acoshl.c: Likewise.
53836         * math/w_acosl.c: Likewise.
53837         * math/w_asin.c: Likewise.
53838         * math/w_asinf.c: Likewise.
53839         * math/w_asinl.c: Likewise.
53840         * math/w_atanh.c: Likewise.
53841         * math/w_atanhf.c: Likewise.
53842         * math/w_atanhl.c: Likewise.
53843         * math/w_exp2.c: Likewise.
53844         * math/w_exp2f.c: Likewise.
53845         * math/w_exp2l.c: Likewise.
53846         * math/w_j0.c: Likewise.
53847         * math/w_j0f.c: Likewise.
53848         * math/w_j0l.c: Likewise.
53849         * math/w_j1.c: Likewise.
53850         * math/w_j1f.c: Likewise.
53851         * math/w_j1l.c: Likewise.
53852         * math/w_jn.c: Likewise.
53853         * math/w_jnf.c: Likewise.
53854         * math/w_log.c: Likewise.
53855         * math/w_log10.c: Likewise.
53856         * math/w_log10f.c: Likewise.
53857         * math/w_log10l.c: Likewise.
53858         * math/w_log2.c: Likewise.
53859         * math/w_log2f.c: Likewise.
53860         * math/w_log2l.c: Likewise.
53861         * math/w_logf.c: Likewise.
53862         * math/w_logl.c: Likewise.
53863         * math/w_sqrt.c: Likewise.
53864         * math/w_sqrtf.c: Likewise.
53865         * math/w_sqrtl.c: Likewise.
53866         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53867         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
53868         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53869         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53870         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53872 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53874         [BZ #9739]
53875         * manual/string.texi (strnlen): Use correct parameter name in
53876         equivalent expression.
53878 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53880         [BZ #11174]
53881         * manual/users.texi (seteuid): Consistently use neweuid for
53882         argument name.
53884 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
53886         [BZ #13704]
53887         * manual/nss.texi (Services in the NSS configuration): Correct
53888         list of services in example configuration file.
53890 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
53892         [BZ #11322]
53893         * manual/arith.texi: Remove statements about negative zero
53894         behaving identically to zero.
53896 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
53898         [BZ #5993]
53899         * manual/install.texi: Do not document upgrading from libc5.
53901 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
53903         [BZ #4596]
53904         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
53906 2012-02-18  David S. Miller  <davem@davemloft.net>
53908         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
53909         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
53910         %o7 across the call.
53911         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
53912         instead.
53913         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
53914         SETUP_PIC_REG_LEAF.
53915         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53916         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
53917         * sysdeps/sparc/crtn.S: Likewise.
53919 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
53921         * aout/Makefile: Remove.
53923 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
53925         [BZ #13058]
53926         * manual/examples/argp-ex1.c (main): Format definition in GNU
53927         style.
53928         * manual/examples/argp-ex2.c (main): Likewise.
53929         * manual/examples/argp-ex3.c (main): Likewise.
53930         * manual/examples/argp-ex4.c (main): Likewise.
53931         * manual/examples/longopt.c (main): Use new-style prototype
53932         definition.
53933         * manual/examples/strncat.c (main): Specify return type and use
53934         (void) for arguments.
53935         * manual/examples/subopt.c (main): Use char **argv argument.
53937 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53939         [BZ #5077]
53940         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
53941         rounding modes.
53943 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
53945         [BZ #6907]
53946         * manual/string.texi (strchr): Change when strchrnul is
53947         recommended.
53949 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
53951         [BZ #174]
53952         * manual/locale.texi (setlocale): Document LOCPATH.
53954 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53956         [BZ #10210]
53957         * manual/process.texi (execle): Move @dots{} before last argument.
53959 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
53961         [BZ #12047]
53962         * manual/charset.texi (Generic Charset Conversion): Fix typo
53963         (LC_TYPE -> LC_CTYPE).
53965 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
53967         [BZ #5805]
53968         * manual/arith.texi (scalbn): Use @var{} on parameter names.
53969         (scalbnf): Likewise.
53970         (scalbnl): Likewise.
53971         (scalbln): Likewise.
53972         (scalblnf): Likewise.
53973         (scalblnl): Likewise.
53974         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
53975         (vwarnx): Likewise.
53976         (verr): Likewise.
53977         (verrx): Likewise.
53978         * manual/filesys.texi (telldir): Use braces around return type.
53979         * manual/llio.texi (mmap): Add space after comma.
53980         (mmap64): Likewise.
53981         * manual/math.texi (jn): Use @var{} on parameter names.
53982         (jnf): Likewise.
53983         (jnl): Likewise.
53984         (yn): Likewise.
53985         (ynf): Likewise.
53986         (ynl): Likewise.
53987         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
53988         line.
53989         * manual/resource.texi (ulimit): Use @dots{} instead of literal
53990         "...".
53991         (sched_get_priority_min): Remove semicolon on @deftypefun line.
53992         (sched_get_priority_max): Likewise.
53993         * manual/signal.texi (sigvec): Add space after comma.
53994         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
53995         names.
53996         (if_indextoname): Likewise.
53997         (if_freenameindex): Likewise.
53998         (sendto): Use ',' instead of '.' in prototype.
53999         * manual/startup.texi (syscall): Use @dots{} instead of literal
54000         "...".
54001         * manual/stdio.texi (__fpending): Separate initial words of
54002         paragraph from @deftypefun line.
54003         * manual/syslog.texi (syslog): Use @dots{} instead of literal
54004         "...".
54005         (vsyslog): Use @var{} on parameter names.
54006         * manual/terminal.texi (stty): Use @var{} on parameter names.
54007         * manual/users.texi (getutmp): Use @var{} on parameter names.
54008         (getutmpx): Likewise.
54010 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54012         [BZ #6884]
54013         * manual/stdio.texi (fopen): Fix typos in description of
54014         ",ccs=STRING".
54016 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
54018         [BZ #4026]
54019         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
54020         get clock_id definition.
54022 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
54024         [BZ #4822]
54025         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
54026         (madvise): Cast every argument to void on its own.
54028 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54030         [BZ #9902]
54031         * manual/startup.texi (Exit Status): Fix typo.
54033 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
54035         [BZ #10140]
54036         * manual/examples/argp-ex1.c: Include <stdlib.h>.
54037         * manual/examples/argp-ex2.c: Likewise.
54038         * manual/examples/argp-ex3.c: Likewise.
54040 2012-02-16  Richard Henderson  <rth@redhat.com>
54042         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
54043         * sysdeps/s390/s390-32/initfini.c: Remove.
54044         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
54045         * sysdeps/s390/s390-64/initfini.c: Remove.
54047 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54049         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
54050         compiler output for sysdeps/generic/initfini.c.
54051         * sysdeps/sh/elf/initfini.c: Remove file.
54053 2012-02-16  David S. Miller  <davem@davemloft.net>
54055         [BZ #11494]
54056         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
54058         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
54059         * sysdeps/sparc/crti.S: New file.
54060         * sysdeps/sparc/crtn.S: New file.
54061         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
54062         * sysdeps/sparc/sparc64/Makefile: Likewise.
54064 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
54066         [BZ #3335]
54067         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
54069 2012-02-15  Roland McGrath  <roland@hack.frob.com>
54071         [BZ #4822]
54072         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
54074         * mach/devstream.c (cookie_io_functions_t): Macro removed.
54075         (write, read, close): Likewise.
54076         Patch by Aurelien Jarno <aurelien@aurel32.net>.
54078 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
54080         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
54081         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
54082         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
54083         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
54084         <bits/signalfd.h>.
54085         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
54086         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54087         bits/signalfd.h.
54089 2012-02-14  Marek Polacek  <polacek@redhat.com>
54091         * sysdeps/x86_64/crti.S: New file.
54092         * sysdeps/x86_64/crtn.S: New file.
54093         * sysdeps/x86_64/elf/initfini.c: Remove file.
54095 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54097         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
54098         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
54099         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
54100         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
54101         <bits/inotify.h>.
54102         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
54103         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54104         bits/inotify.h.
54106 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
54108         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
54109         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
54110         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
54111         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
54112         <bits/eventfd.h>.
54113         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
54114         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54115         bits/eventfd.h.
54117 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
54119         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
54120         __feraiseexcept instead of feraiseexcept.
54122         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
54123         nanosleep invocations.
54124         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
54125         strings, and add error checking for a nanosleep invocations.
54127 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
54129         Replace FSF snail mail address with URLs, as per GNU coding standards.
54130         Most of the snail mail addresses were wrong anyway, and omitting
54131         them makes the source code easier to maintain.  Almost all of the
54132         changes are to license notices and to locale LC_IDENTIFICATION
54133         addresses, except for this one:
54134         * manual/libc.texinfo: In "Published by", give the FSF's URL,
54135         not its snail mail address.
54137 2012-02-09  Richard Henderson  <rth@twiddle.net>
54139         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
54140         of kernel-features.h.
54142         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
54144 2012-02-08  Marek Polacek  <polacek@redhat.com>
54146         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
54147         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
54148         * sysdeps/gnu/_G_config.h: Likewise.
54149         * sysdeps/generic/_G_config.h: Likewise.
54151 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
54153         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
54154         tests.
54155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54157         * sysdeps/powerpc/powerpc32/crti.S: New file.
54158         * sysdeps/powerpc/powerpc32/crtn.S: New file.
54159         * sysdeps/powerpc/powerpc64/crti.S: New file.
54160         * sysdeps/powerpc/powerpc64/crtn.S: New file.
54162         * Makeconfig (have-initfini): Don't set.
54163         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
54164         * configure.in (nopic_initfini): Don't substitute.
54165         * config.h.in (HAVE_INITFINI): Don't #undef.
54166         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
54167         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
54169 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
54171         Support crti.S and crtn.S provided directly by architectures.
54172         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
54173         [crti.S in sysdirs] (omit-deps): Likewise.
54174         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
54175         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
54176         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
54177         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
54178         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
54179         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
54180         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
54181         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
54182         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
54183         compiler output for sysdeps/generic/initfini.c.
54184         * sysdeps/i386/elf/Makefile: Remove file.
54185         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
54187 2012-02-07  Marek Polacek  <polacek@redhat.com>
54189         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
54190         * sysdeps/gnu/_G_config.h: Likewise.
54191         * sysdeps/mach/hurd/_G_config.h: Likewise.
54193 2012-02-07  Marek Polacek  <polacek@redhat.com>
54195         * math/Makefile (tests): Add tst-CMPLX2.
54196         * math/tst-CMPLX2.c: New file.
54198 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
54200         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54202         * math/libm-test.inc (jn_test): Add missing L suffix.
54204 2012-02-06  Marek Polacek  <polacek@redhat.com>
54206         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
54207         * sysdeps/i386/fpu/e_powf.S: Likewise.
54208         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54209         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54210         * sysdeps/i386/fpu/e_acosh.S: Likewise.
54211         * sysdeps/i386/fpu/e_pow.S: Likewise.
54212         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
54213         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54214         * sysdeps/i386/fpu/s_expm1.S: Likewise.
54215         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
54216         * sysdeps/i386/fpu/e_log2.S: Likewise.
54217         * sysdeps/i386/fpu/e_log2l.S: Likewise.
54218         * sysdeps/i386/fpu/e_scalb.S: Likewise.
54219         * sysdeps/i386/fpu/e_powl.S: Likewise.
54220         * sysdeps/i386/fpu/s_log1p.S: Likewise.
54221         * sysdeps/i386/fpu/e_log10f.S: Likewise.
54222         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
54223         * sysdeps/i386/fpu/e_logl.S: Likewise.
54224         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
54225         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
54226         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
54227         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
54228         * sysdeps/i386/fpu/e_log2f.S: Likewise.
54229         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54230         * sysdeps/i386/fpu/e_log.S: Likewise.
54231         * sysdeps/i386/fpu/s_cexp.S: Likewise.
54232         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54233         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
54234         * sysdeps/i386/fpu/e_logf.S: Likewise.
54235         * sysdeps/i386/fpu/e_log10l.S: Likewise.
54236         * sysdeps/i386/fpu/e_atanh.S: Likewise.
54237         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
54238         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
54239         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54240         * sysdeps/i386/fpu/e_log10.S: Likewise.
54241         * sysdeps/i386/fpu/s_frexp.S: Likewise.
54242         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54243         * sysdeps/i386/fpu/s_asinh.S: Likewise.
54244         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
54245         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54246         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
54247         * sysdeps/i386/asm-syntax.h: Likewise.
54248         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
54249         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
54250         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
54251         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
54252         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
54253         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
54254         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
54255         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
54256         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
54257         * sysdeps/powerpc/sysdep.h: Likewise.
54258         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
54259         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
54261 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54263         [BZ #411]
54264         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
54266 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
54268         * sysdeps/i386/sysdep.h: Include <features.h>.
54269         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
54270         version.
54272 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
54274         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
54275         Define.
54276         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
54277         LOAD_PIC_REG_STR.
54279 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54281         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
54282         (SETUP_PIC_REG): Use GET_PC_THUNK.
54283         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
54284         macro.
54286 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54288         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
54289         for non-PIC compilation.
54290         (SETUP_PIC_REG): Add .p2align directive.
54291         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
54292         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
54293         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
54294         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
54295         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54296         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
54297         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
54298         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54299         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
54300         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
54301         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
54302         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
54303         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
54304         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
54305         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
54306         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54307         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54308         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
54309         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
54310         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
54311         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54312         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54313         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
54314         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
54315         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54316         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54317         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54318         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54319         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
54320         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
54321         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
54322         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54323         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
54324         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
54325         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
54326         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
54327         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
54328         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
54329         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
54330         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
54331         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
54333 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
54335         * math/tst-CMPLX.c: Include <stdio.h>.
54337 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
54339         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
54340         float.
54341         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54342         * sysdeps/sparc/bits/mathdef.h: Likewise.
54344 2012-01-31  Marek Polacek  <polacek@redhat.com>
54346         * libio/libio.h: Don't define _PARAMS.
54347         * locale/programs/config.h: Don't define PARAMS.
54348         * stdlib/strtol_l.c: Likewise.
54349         (__strtol_l): Remove PARAMS from the prototype.
54351 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
54353         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
54354         names.  Just use the correct names.  Remove unnecessary wrapper
54355         functions.
54356         * malloc/arena.c: Likewise.
54357         * malloc/hooks.c: Likewise.
54359         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
54360         ARENA_TEST says not to.  Simplify test for creation of a new arena.
54361         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
54363 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
54365         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
54366         into tail calls.
54367         (update_get_addr): New function.
54368         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
54369         GET_ADDR_MODULE parameter.
54371 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54373         * crypt/cert.c: Remove __STDC__ conditionals.
54374         * crypt/crypt-entry.c: Likewise.
54375         * crypt/crypt_util.c: Likewise.
54376         * libio/filedoalloc.c: Likewise.
54377         * libio/fileops.c: Likewise.
54378         * libio/genops.c: Likewise.
54379         * libio/iofclose.c: Likewise.
54380         * libio/iofdopen.c: Likewise.
54381         * libio/iofopen.c: Likewise.
54382         * libio/iofopen64.c: Likewise.
54383         * libio/iogetdelim.c: Likewise.
54384         * libio/iopopen.c: Likewise.
54385         * libio/obprintf.c: Likewise.
54386         * libio/oldfileops.c: Likewise.
54387         * libio/oldiofclose.c: Likewise.
54388         * libio/oldiofdopen.c: Likewise.
54389         * libio/oldiofopen.c: Likewise.
54390         * libio/oldiopopen.c: Likewise.
54391         * libio/wfiledoalloc.c: Likewise.
54392         * libio/wgenops.c: Likewise.
54393         * locale/programs/xmalloc.c: Likewise.
54394         * misc/syslog.c: Likewise.
54395         * stdio-common/xbug.c: Likewise.
54396         * string/memchr.c: Likewise.
54397         * string/memcmp.c: Likewise.
54398         * string/memrchr.c: Likewise.
54399         * string/rawmemchr.c: Likewise.
54400         * sysdeps/posix/getcwd.c: Likewise.
54401         * time/strftime_l.c: Likewise.
54403 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
54405         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
54406         * config.make.in (config-cflags-sse2avx): Define.
54407         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
54408         Fix typo.
54410 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
54412         * scripts/config.guess: Update from upstream config git repository.
54413         * scripts/config.sub: Likewise.
54415 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
54417         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
54418         (EM_NUM): Update.
54419         (R_TILEPRO_*, R_TILEGX_*): New macros.
54421         * scripts/firstversions.awk: Fix bug in version range handling.
54423         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
54425         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
54427         * include/sys/epoll.h: New file.
54428         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
54429         libc_hidden_def.
54431 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
54433         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
54434         Avoid unnecessary __WORDSIZE == 64 test.
54435         (fmaxf): Use VEX format if possible.
54436         (fmax): Likewise.
54437         (fminf): Likewise.
54438         (fmin): Likewise.
54440         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
54441         * math/math_private.h: Remove libc_fegetround* and
54442         libc_fesetround*.
54443         * sysdeps/i386/configure.in: Check for -msse2avx.
54444         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
54445         also if SSE2AVX is defined.
54446         Remove libc_fegetround* and libc_fesetround*.
54447         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
54448         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
54449         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
54450         of HAS_YMM_USABLE.
54451         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54452         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54453         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54454         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54455         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54457         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
54459 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54461         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
54462         size is not set.
54463         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54465 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
54467         [BZ #13618]
54468         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
54469         relocation.
54470         * Makeconfig (libm): Define.
54471         * elf/Makefile: Add rules to build and run tst-relsort1.
54472         * elf/tst-relsort1.c: New file.
54473         * elf/tst-relsort1mod1.c: New file.
54474         * elf/tst-relsort1mod2.c: New file.
54476 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
54478         * math/s_ldexp.c: Remove __STDC__ conditionals.
54479         * math/s_ldexpf.c: Likewise.
54480         * math/s_ldexpl.c: Likewise.
54481         * math/s_nextafter.c: Likewise.
54482         * math/s_nexttowardf.c: Likewise.
54483         * math/s_significand.c: Likewise.
54484         * math/s_significandf.c: Likewise.
54485         * math/s_significandl.c: Likewise.
54486         * math/w_jnl.c: Likewise.
54487         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
54488         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
54489         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
54490         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
54491         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
54492         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54493         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
54494         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54495         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54496         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54497         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54498         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54499         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54500         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
54501         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54502         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54503         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54504         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54505         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
54506         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54507         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54508         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
54509         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
54510         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
54511         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
54512         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
54513         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
54514         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
54515         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
54516         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
54517         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
54518         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
54519         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
54520         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
54521         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
54522         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
54523         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
54524         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
54525         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
54526         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
54527         * sysdeps/ieee754/k_standard.c: Likewise.
54528         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54529         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
54530         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
54531         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
54532         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
54533         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
54534         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
54535         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
54536         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
54537         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
54538         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
54539         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
54540         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
54541         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
54542         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
54543         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
54544         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
54545         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
54546         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
54547         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
54548         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
54549         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
54550         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
54551         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
54552         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
54553         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
54554         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
54555         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
54556         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54557         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
54558         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
54559         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
54560         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
54561         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
54562         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
54563         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
54564         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
54565         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
54566         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
54567         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
54568         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
54569         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
54570         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
54571         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
54572         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
54573         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
54574         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
54575         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
54576         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
54577         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
54578         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
54579         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
54580         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
54581         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
54582         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
54583         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
54584         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
54585         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
54586         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
54587         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
54588         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
54589         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
54590         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
54591         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
54592         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
54593         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
54594         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
54595         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
54596         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
54597         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
54598         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
54599         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
54600         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
54601         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
54602         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
54603         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
54604         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
54605         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
54606         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
54607         * sysdeps/ieee754/s_matherr.c: Likewise.
54608         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
54609         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
54610         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
54611         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
54613 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54615         * crypt/md5.h: Remove __STDC__ conditionals.
54616         * libio/libioP.h: Likewise.
54617         * locale/programs/config.h: Likewise.
54618         * sysdeps/generic/sysdep.h: Likewise.
54619         * sysdeps/i386/asm-syntax.h: Likewise.
54620         * sysdeps/s390/asm-syntax.h: Likewise.
54621         * sysdeps/unix/sysdep.h: Likewise.
54622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
54623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54625 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
54627         * libio/libio.h: Remove __STDC__ conditionals.
54628         * malloc/obstack.h: Likewise.
54629         * math/complex.h: Likewise.
54630         * math/math.h: Likewise.
54631         * sysdeps/generic/_G_config.h: Likewise.
54632         * sysdeps/gnu/_G_config.h: Likewise.
54633         * sysdeps/mach/hurd/_G_config.h: Likewise.
54634         * sysdeps/powerpc/bits/mathdef.h: Likewise.
54635         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
54636         * sysdeps/sparc/bits/mathdef.h: Likewise.
54638 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
54640         [BZ #13583]
54641         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
54642         Clean up HAS_* macros.
54643         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
54644         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
54645         possible.
54646         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
54647         HAS_AVX.
54648         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54649         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54650         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54651         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54652         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54654 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
54656         * elf/tst-unique3.cc (gets): Remove declaration.
54657         * elf/tst-unique3lib.cc (gets): Likewise.
54658         * elf/tst-unique3lib2.cc (gets): Likewise.
54659         * elf/tst-unique4.cc (gets): Likewise.
54661 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
54663         * include/stdio.h: Add C++ protection.  Add gets declarations and
54664         definitions.
54665         * debug/tst-chk1.c: Don't declare gets here.
54666         * stdio-common/tst-gets.c: Likewise.
54668 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54670         * posix/glob: Remove directory.
54672 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
54674         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
54676 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
54678         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
54679         of the non-standard EPFNOSUPPORT.
54681 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54683         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
54684         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
54685         ANYWHERE set to 1 only on KERN_NO_SPACE error.
54687 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
54689         * wcsmbs/uchar.h: Test __STDC_VERSION__.
54691 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
54693         * nscd/aicache.c (addhstaiX): Do not cache negative results of
54694         transient errors.
54695         * nscd/grpcache.c (cache_addgr): Likewise.
54696         * nscd/hstcache.c (cache_addhst): Likewise.
54697         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54698         * nscd/pwdcache.c (cache_addpw): Likewise.
54699         * nscd/servicescache.c (cache_addserv): Likewise.
54701 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
54703         * malloc/malloc.c: Various cleanups.
54704         * malloc/hooks.c: Likewise.
54706         * stdlib/Makefile (tests): Add bug-fmtmsg1.
54707         * stdlib/bug-fmtmsg1.c: New file.
54709         * stdlib/fmtmsg.c (init): Add missing unlock.
54710         Patch by Peng Haitao <penght@cn.fujitsu.com>.
54712 2012-01-12  Marek Polacek  <polacek@redhat.com>
54714         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
54715         and _GNU_SOURCE.
54717 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
54719         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
54720         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
54721         macro to ensure uniqueness of label name.
54722         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54723         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54725 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
54727         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
54729         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
54730         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
54731         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
54732         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
54734 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
54736         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
54738         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
54739         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
54740         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
54742         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
54744         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
54745         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
54746         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
54747         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
54749         * math/bits/math-finite.h: Add ldexp support.
54751 2012-01-10  Marek Polacek  <polacek@redhat.com>
54753         * locale/programs/localedef.h (show_archive_content): Add noreturn
54754         attribute.
54756 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
54758         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
54760 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54762         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
54764         * io/Makefile (headers): Add bits/poll2.h.
54766 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
54768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
54769         typo #include statement.
54771 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54773         * include/sys/cdefs.h: Define __attribute_alloc_size.
54774         * catgets/gencat.c: Add alloc_size attribute and apply consistently
54775         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
54776         * elf/pldd.c: Likewise.
54777         * iconv/iconv_charmap.c: Likewise.
54778         * iconv/iconvconfig.c: Likewise.
54779         * iconv/strtab.c: Likewise.
54780         * locale/programs/locale.c: Likewise.
54781         * locale/programs/localedef.h: Likewise.
54782         * locale/programs/simple-hash.c: Likewise.
54783         * nscd/nscd.h: Likewise.
54784         * nss/makedb.c: Likewise.
54785         * sysdeps/generic/ldconfig.h: Likewise.
54786         * locale/programs/localedef.c: Remove xmalloc prototype.
54787         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
54789 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54791         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
54792         appropriate.
54794 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
54796         * math/Makefile (tests): Add tst-CMPLX.
54797         * math/tst-CMPLX.c: New file.
54799         * math/complex.h (CMPLXL): Fix typo.
54801         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
54802         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
54803         GLIBC_2.16.
54804         * debug/tst-chk1.c: Add poll and ppoll tests.
54805         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
54806         * include/sys/poll.h: Add hidden proto for ppoll.
54807         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
54808         * sysdeps/mach/hurd/ppoll.c: Likewise.
54809         * io/ppoll.c: Likewise.
54810         * debug/poll_chk.c: New file.
54811         * debug/ppoll_chk.c: New file.
54812         * include/bits/poll2.h: New file.
54813         * io/bits/poll2.h: New file.
54815         [BZ #1350]
54816         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
54818         * configure.in: static is always set to yes.  Remove.
54819         * config.make.in: Don't set build-static.
54820         * Makeconfig: Remove use of build-static.
54821         * dlfcn/Makefile: Likewise.
54822         * elf/Makefile: Likewise.
54823         * math/Makefile: Likewise.
54824         * misc/Makefile: Likewise.
54825         * nptl/Makefile: Likewise.
54826         * sysdeps/mach/hurd/Makefile: Likewise.
54828         * configure.in: PWD_P is not used anymore.
54829         * config.make.in: Remove PWD_P entry.
54831         * configure.in: Remove last remnants of RANLIB.
54832         No need to check for signed size_t anymore.
54833         Don't set libc_commonpagesize and libc_relro_required here for Alpha
54834         and IA-64.
54835         Remove __builtin_expect test because we require at least gcc 3.4.
54836         * aclocal.m4: Likewise.
54838         * wcsmbs/mbrtoc16.c: Implement using towc function.
54839         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
54840         * wcsmbs/wcsmbsload.c: Likewise.
54841         * iconv/gconv_simple.c: Likewise.
54842         * iconv/gconv_int.h: Likewise.
54843         * iconv/gconv_builtin.h: Likewise.
54844         * iconv/iconv_prog.c: Remove CHAR16 handling.
54846         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
54848         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
54850         * configure.in: Remove --with-elf and --enable-bounded options.
54851         Dont set base_machine for ia64.  More non-ELF conditions removed.
54852         Remove testing and setting of leading underscore information.
54853         * config.make.in (build-bounded): Set to no.
54854         * config.h.in: Remove NO_UNDERSCORES entry.
54855         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
54856         them.
54857         * csu/start.c: Remove !NO_UNDERSCORE code.
54858         * locale/localeinfo.h: Likewise.
54859         * sysdeps/generic/machine-gmon.h: Likewise.
54860         * sysdeps/generic/sysdep.h: Likewise.
54861         * sysdeps/i386/sysdep.h: Likewise.
54862         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54863         * sysdeps/mach/sysdep.h: Likewise.
54864         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54865         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54866         * sysdeps/sh/sysdep.h: Likewise.
54867         * sysdeps/sparc/sparc32/alloca.S: Likewise.
54868         * sysdeps/unix/i386/sysdep.S: Likewise.
54869         * sysdeps/unix/sparc/start.c: Likewise.
54870         * sysdeps/unix/sparc/sysdep.S: Likewise.
54871         * sysdeps/unix/sparc/sysdep.h: Likewise.
54872         * sysdeps/unix/start.c: Likewise.
54873         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54874         * sysdeps/x86_64/sysdep.h: Likewise.
54876 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
54878         [BZ #13553]
54879         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
54880         for non-gcc.
54881         * argp/argp-fmtstream.h: Use const instead __const.
54882         * argp/argp.h: Likewise.
54883         * assert/assert.h: Likewise.
54884         * bits/fenv.h: Likewise.
54885         * bits/sched.h: Likewise.
54886         * bits/sigset.h: Likewise.
54887         * bits/sigthread.h: Likewise.
54888         * catgets/nl_types.h: Likewise.
54889         * conform/data/pthread.h-data: Likewise.
54890         * crypt/crypt-private.h: Likewise.
54891         * crypt/crypt.h: Likewise.
54892         * crypt/crypt_util.c: Likewise.
54893         * ctype/ctype.h: Likewise.
54894         * debug/execinfo.h: Likewise.
54895         * debug/mbsnrtowcs_chk.c: Likewise.
54896         * debug/mbsrtowcs_chk.c: Likewise.
54897         * debug/wcsnrtombs_chk.c: Likewise.
54898         * debug/wcsrtombs_chk.c: Likewise.
54899         * debug/wcstombs_chk.c: Likewise.
54900         * dirent/dirent.h: Likewise.
54901         * dlfcn/dlfcn.h: Likewise.
54902         * elf/neededtest4.c: Likewise.
54903         * grp/grp.h: Likewise.
54904         * gshadow/gshadow.h: Likewise.
54905         * iconv/gconv.h: Likewise.
54906         * iconv/gconv_int.h: Likewise.
54907         * iconv/gconv_simple.c: Likewise.
54908         * iconv/iconv.h: Likewise.
54909         * iconv/loop.c: Likewise.
54910         * iconv/skeleton.c: Likewise.
54911         * include/aio.h: Likewise.
54912         * include/aliases.h: Likewise.
54913         * include/argz.h: Likewise.
54914         * include/arpa/inet.h: Likewise.
54915         * include/assert.h: Likewise.
54916         * include/dirent.h: Likewise.
54917         * include/dlfcn.h: Likewise.
54918         * include/execinfo.h: Likewise.
54919         * include/fcntl.h: Likewise.
54920         * include/fenv.h: Likewise.
54921         * include/glob.h: Likewise.
54922         * include/grp.h: Likewise.
54923         * include/libintl.h: Likewise.
54924         * include/mntent.h: Likewise.
54925         * include/netdb.h: Likewise.
54926         * include/pwd.h: Likewise.
54927         * include/rpc/netdb.h: Likewise.
54928         * include/sched.h: Likewise.
54929         * include/search.h: Likewise.
54930         * include/shadow.h: Likewise.
54931         * include/signal.h: Likewise.
54932         * include/stdio.h: Likewise.
54933         * include/stdlib.h: Likewise.
54934         * include/string.h: Likewise.
54935         * include/sys/socket.h: Likewise.
54936         * include/sys/stat.h: Likewise.
54937         * include/sys/statfs.h: Likewise.
54938         * include/sys/statvfs.h: Likewise.
54939         * include/sys/syslog.h: Likewise.
54940         * include/sys/time.h: Likewise.
54941         * include/sys/uio.h: Likewise.
54942         * include/time.h: Likewise.
54943         * include/unistd.h: Likewise.
54944         * include/utmp.h: Likewise.
54945         * include/wchar.h: Likewise.
54946         * include/wctype.h: Likewise.
54947         * inet/aliases.h: Likewise.
54948         * inet/arpa/inet.h: Likewise.
54949         * inet/netinet/ether.h: Likewise.
54950         * inet/netinet/in.h: Likewise.
54951         * intl/libintl.h: Likewise.
54952         * io/bits/fcntl2.h: Likewise.
54953         * io/fcntl.h: Likewise.
54954         * io/ftw.h: Likewise.
54955         * io/sys/poll.h: Likewise.
54956         * io/sys/stat.h: Likewise.
54957         * io/sys/statfs.h: Likewise.
54958         * io/sys/statvfs.h: Likewise.
54959         * io/utime.h: Likewise.
54960         * libio/bits/stdio.h: Likewise.
54961         * libio/bits/stdio2.h: Likewise.
54962         * libio/libio.h: Likewise.
54963         * libio/libioP.h: Likewise.
54964         * libio/stdio.h: Likewise.
54965         * locale/lc-ctype.c: Likewise.
54966         * locale/locale.h: Likewise.
54967         * login/utmp.h: Likewise.
54968         * malloc/arena.c: Likewise.
54969         * malloc/malloc.c: Likewise.
54970         * malloc/malloc.h: Likewise.
54971         * malloc/mcheck.c: Likewise.
54972         * malloc/mtrace.c: Likewise.
54973         * math/bits/mathcalls.h: Likewise.
54974         * math/fenv.h: Likewise.
54975         * math/math_private.h: Likewise.
54976         * misc/bits/error.h: Likewise.
54977         * misc/bits/syslog.h: Likewise.
54978         * misc/err.h: Likewise.
54979         * misc/error.h: Likewise.
54980         * misc/fstab.h: Likewise.
54981         * misc/mntent.h: Likewise.
54982         * misc/regexp.h: Likewise.
54983         * misc/search.h: Likewise.
54984         * misc/sgtty.h: Likewise.
54985         * misc/sys/mman.h: Likewise.
54986         * misc/sys/syslog.h: Likewise.
54987         * misc/sys/uio.h: Likewise.
54988         * misc/sys/xattr.h: Likewise.
54989         * misc/ttyent.h: Likewise.
54990         * nis/rpcsvc/ypclnt.h: Likewise.
54991         * nss/nss.h: Likewise.
54992         * posix/bits/unistd.h: Likewise.
54993         * posix/fnmatch.h: Likewise.
54994         * posix/glob.h: Likewise.
54995         * posix/sched.h: Likewise.
54996         * posix/spawn.h: Likewise.
54997         * posix/sys/wait.h: Likewise.
54998         * posix/unistd.h: Likewise.
54999         * posix/wordexp.h: Likewise.
55000         * pwd/pwd.h: Likewise.
55001         * resolv/netdb.h: Likewise.
55002         * resource/sys/resource.h: Likewise.
55003         * rt/aio.h: Likewise.
55004         * rt/bits/mqueue2.h: Likewise.
55005         * rt/mqueue.h: Likewise.
55006         * shadow/shadow.h: Likewise.
55007         * signal/signal.h: Likewise.
55008         * socket/send.c: Likewise.
55009         * socket/sendto.c: Likewise.
55010         * socket/sys/socket.h: Likewise.
55011         * stdio-common/printf.h: Likewise.
55012         * stdlib/bits/stdlib.h: Likewise.
55013         * stdlib/fmtmsg.h: Likewise.
55014         * stdlib/monetary.h: Likewise.
55015         * stdlib/stdlib.h: Likewise.
55016         * stdlib/ucontext.h: Likewise.
55017         * streams/stropts.h: Likewise.
55018         * string/argz.h: Likewise.
55019         * string/bits/string2.h: Likewise.
55020         * string/string.h: Likewise.
55021         * string/strings.h: Likewise.
55022         * sunrpc/rpc/auth.h: Likewise.
55023         * sunrpc/rpc/auth_des.h: Likewise.
55024         * sunrpc/rpc/clnt.h: Likewise.
55025         * sunrpc/rpc/netdb.h: Likewise.
55026         * sunrpc/rpc/pmap_clnt.h: Likewise.
55027         * sunrpc/rpc/xdr.h: Likewise.
55028         * sysdeps/generic/inttypes.h: Likewise.
55029         * sysdeps/generic/net/if.h: Likewise.
55030         * sysdeps/generic/sys/swap.h: Likewise.
55031         * sysdeps/gnu/net/if.h: Likewise.
55032         * sysdeps/gnu/utmpx.h: Likewise.
55033         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
55034         * sysdeps/i386/i486/bits/string.h: Likewise.
55035         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
55036         * sysdeps/s390/bits/string.h: Likewise.
55037         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
55038         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
55039         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
55040         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
55041         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
55042         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
55043         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
55044         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
55045         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
55046         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
55047         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
55048         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
55049         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
55050         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
55051         * sysdeps/unix/sysv/linux/readv.c: Likewise.
55052         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
55053         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55054         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55055         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
55056         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
55057         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55058         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
55059         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
55060         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
55061         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
55062         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
55063         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
55064         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55065         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
55066         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
55067         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
55068         * sysvipc/sys/ipc.h: Likewise.
55069         * sysvipc/sys/msg.h: Likewise.
55070         * sysvipc/sys/sem.h: Likewise.
55071         * sysvipc/sys/shm.h: Likewise.
55072         * termios/termios.h: Likewise.
55073         * time/sys/time.h: Likewise.
55074         * time/time.h: Likewise.
55075         * wcsmbs/bits/wchar2.h: Likewise.
55076         * wcsmbs/uchar.h: Likewise.
55077         * wcsmbs/wchar.h: Likewise.
55078         * wctype/wctype.h: Likewise.
55080         [BZ #13551]
55081         * Makeconfig: Remove all but ELF support including AIX support.
55082         * Makerules: Likewise.
55083         * config.h.in: Likewise.
55084         * config.make.in: Likewise.
55085         * configure: Likewise.
55086         * configure.in: Likewise.
55087         * csu/Makefile: Likewise.
55088         * csu/version.c: Likewise.
55089         * debug/Makefile: Likewise.
55090         * dlfcn/Makefile: Likewise.
55091         * elf/Makefile: Likewise.
55092         * extra-lib.mk: Likewise.
55093         * iconv/Makefile: Likewise.
55094         * include/libc-symbols.h: Likewise.
55095         * include/shlib-compat.h: Likewise.
55096         * resolv/Makefile: Likewise.
55097         * resolv/res_libc.c: Likewise.
55098         * rt/Makefile: Likewise.
55099         * sysdeps/i386/asm-syntax.h: Likewise.
55100         * sysdeps/i386/sysdep.h: Likewise.
55101         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
55102         * sysdeps/mach/sysdep.h: Likewise.
55103         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
55104         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
55105         * sysdeps/s390/asm-syntax.h: Likewise.
55106         * sysdeps/s390/s390-32/sysdep.h: Likewise.
55107         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55108         * sysdeps/sh/sysdep.h: Likewise.
55109         * sysdeps/unix/sparc/sysdep.h: Likewise.
55110         * sysdeps/wordsize-32/divdi3.c: Likewise.
55111         * sysdeps/x86_64/sysdep.h: Likewise.
55113         * argp/Versions: Remove _argp_unlock_xxx.
55115         [BZ #13559]
55116         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
55117         * abilist/libBrokenLocale.abilist: Likewise.
55118         * abilist/libanl.abilist: Likewise.
55119         * abilist/libc.abilist: Likewise.
55120         * abilist/libcrypt.abilist: Likewise.
55121         * abilist/libdl.abilist: Likewise.
55122         * abilist/libm.abilist: Likewise.
55123         * abilist/libnsl.abilist: Likewise.
55124         * abilist/libpthread.abilist: Likewise.
55125         * abilist/libresolv.abilist: Likewise.
55126         * abilist/librt.abilist: Likewise.
55127         * abilist/libthread_db.abilist: Likewise.
55128         * abilist/libutil.abilist: Likewise.
55129         * abilist/libnss_db.abilist: New file.
55131         * scripts/abilist.awk: Add support for indirect functions.
55133         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
55135         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
55137         * shlib-versions: Remove entries for ports architectures.
55139         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
55140         files in ports.
55141         * elf/stackguard-macros.h: Remove support for IA-64.
55142         * elf/tst-auditmod1.c: Likewise.
55143         * sysdeps/generic/ldsodefs.h: Likewise.
55145         * sysdeps/unix/sysv/linux/configure.in: Ports should define
55146         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
55147         configure files.
55149         [BZ #13552]
55150         * configure.in: Remove --enable-omitfp support.
55151         * FAQ.in: Adjust.
55152         * config.make.in: Likewise.
55153         * Makeconfig: Likewise.
55154         * manual/install.texi: Likewise.
55156         In case anyone cares, the IA-64 architecture could move to ports.
55157         * sysdeps/ia64/*: Removed.
55158         * sysdeps/unix/sysv/linux/ia64/*: Removed.
55159         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
55161         [BZ #13555]
55162         * configure.in: Remove entries for unsupported architectures.
55164         [BZ #13533]
55165         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
55166         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
55167         routines.
55168         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
55169         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
55170         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
55171         fall back to using wcrtomb.
55172         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
55173         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
55174         renaming.
55175         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
55176         * wcsmbs/tst-c16c32-1.c: New file.
55178         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
55179         local variable.
55181         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
55183         * elf/tst-unique3.cc: Add explicit declaration of gets.
55184         * elf/tst-unique3lib.cc: Likewise.
55185         * elf/tst-unique3lib2.cc: Likewise.
55186         * elf/tst-unique4.cc: Likewise.
55188         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
55190 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
55192         [BZ #13566]
55193         * assert/assert.h (static_assert): Don't define for C++.
55194         * libio/stdio.h (gets): Do declare for C++ <= C++11.
55195         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
55197 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
55199         * iconv/loop.c (single loop): Fix assertion in storing of
55200         remaining bytes.
55202         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
55204 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
55206         * posix/getconf.c: Update copyright year.
55207         * nss/getent.c: Likewise.
55208         * nss/makedb.c: Likewise.
55209         * iconv/iconvconfig.c: Likewise.
55210         * iconv/iconv_prog.c: Likewise.
55211         * elf/ldconfig.c: Likewise.
55212         * elf/pldd.c: Likewise.
55213         * elf/sotruss.ksh: Likewise.
55214         * catgets/gencat.c: Likewise.
55215         * csu/version.c: Likewise.
55216         * elf/ldd.bash.in: Likewise.
55217         * elf/sprof.c (print_version): Likewise.
55218         * locale/programs/locale.c: Likewise.
55219         * locale/programs/localedef.c: Likewise.
55220         * login/programs/pt_chown.c: Likewise.
55221         * nscd/nscd.c (print_version): Likewise.
55222         * debug/xtrace.sh: Likewise.
55223         * malloc/memusage.sh: Likewise.
55224         * malloc/mtrace.pl: Likewise.
55225         * debug/catchsegv.sh: Likewise.
55227 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
55229         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
55230         pure attribute.
55232 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
55234         [BZ #13533]
55235         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
55236         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
55237         transformations.
55238         * iconv/gconv_int.h: Likewise.
55239         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
55240         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
55241         from libc for GLIBC_2.16.
55242         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
55243         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
55244         * wcsmbs/uchar.h: Really define mbstate_t.
55245         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
55246         * wcsmbs/c16rtomb.c: New file.
55247         * wcsmbs/mbrtoc16.c: New file.
55248         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
55249         for C/POSIX locale.
55250         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
55251         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
55253         * wcsmbs/wchar.h: Add missing __restrict.
55255 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55257         [BZ #13532]
55258         * time/Makefile (routines): Add timespec_get.
55259         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
55260         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
55261         timespec for ISO C11.
55262         * time/timespec_get.c: New file.
55263         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
55264         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
55266         [BZ #13531]
55267         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
55268         * stdlib/stdlib.h: Declare aligned_alloc.
55269         * Versions.def: Add GLIBC_2.16 for libc.
55270         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
55272         [BZ 13527]
55273         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
55274         ISO C11.
55276         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
55277         code.
55279         [BZ #13528]
55280         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
55282         [BZ #13529]
55283         * assert/assert.h (static_assert): Define.
55285         * version.h: Update for 2.16 development version.
55287         [BZ #13526]
55288         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
55289         _ISOC11_SOURCE.
55291         * version.h (RELEASE): Bump for 2.15 release.
55292         * include/features.h (__GLIBC_MINOR__): Bump to 15.
55294         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
55295         Patch by Marek Polacek <mpolacek@redhat.com>.
55297         * bits/byteswap.h: Protect long long constants with __extension__.
55298         * sysdeps/i386/bits/byteswap.h: Likewise.
55299         * sysdeps/ia64/bits/byteswap.h: Likewise.
55300         * sysdeps/s390/bits/byteswap.h: Likewise.
55301         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55303 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55305         [BZ #13540]
55306         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
55307         destination buffer.
55308         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
55310 2011-12-23  Marek Polacek  <polacek@redhat.com>
55312         * elf/dl-addr.c (determine_info): Add inline keyword.
55313         * elf/tst-auditmod4b.c (check_avx): Likewise.
55314         * elf/tst-auditmod6b.c (check_avx): Likewise.
55315         * elf/tst-auditmod6c.c (check_avx): Likewise.
55316         * elf/tst-auditmod7b.c (check_avx): Likewise.
55318 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
55320         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
55321         !__SSE_MATH__.
55323 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55325         [BZ #13540]
55326         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
55327         processing for last bytes.
55329 2011-08-06  Bruno Haible  <bruno@clisp.org>
55331         [BZ #13061]
55332         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
55333         U+0385, not to U+1FEE.
55335         [BZ #13062]
55336         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
55337         entry for U+00A5 U+0301.
55339 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55341         [BZ #13166]
55342         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
55343         buffer for the output is too small.
55345         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
55346         optimization.
55348         [BZ #13185]
55349         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
55350         SSE flags if possible.
55352 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55354         [BZ #13540]
55355         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
55356         processing for last bytes.
55358 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
55360         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
55361         (syscall-list-default-options, syscall-list-default-condition)
55362         (syscall-list-includes): Define.
55363         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
55364         list of ABIs and options and #if conditions for each ABI.  Do not
55365         handle common syscalls between ABIs specially.
55366         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
55367         Remove.
55368         (syscall-list-variants, syscall-list-32bit-options)
55369         (syscall-list-32bit-condition, syscall-list-64bit-options)
55370         (syscall-list-64bit-condition): Define.
55371         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
55372         (syscall-list-variants, syscall-list-32bit-options)
55373         (syscall-list-32bit-condition, syscall-list-64bit-options)
55374         (syscall-list-64bit-condition): Define.
55375         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
55376         Remove.
55377         (syscall-list-variants, syscall-list-32bit-options)
55378         (syscall-list-32bit-condition, syscall-list-64bit-options)
55379         (syscall-list-64bit-condition): Define.
55380         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
55381         Remove.
55382         (syscall-list-variants, syscall-list-32bit-options)
55383         (syscall-list-32bit-condition, syscall-list-64bit-options)
55384         (syscall-list-64bit-condition): Define.
55386 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
55388         * locale/iso-639.def: Add brx entry.
55390         [BZ #13328]
55391         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
55392         Proposed by Mariusz_Cukr <marcukr@op.pl>.
55394         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
55395         __feraiseexcept_renamed.
55397 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55399         [BZ #13538]
55400         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
55401         EPOLLET with unsigned values.
55402         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
55403         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
55405         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
55406         to large cancellation.
55407         * math/s_cacoshf.c: Likewise.
55408         * math/s_cacoshl.c: Likewise.
55410 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
55412         [BZ #13305]
55413         [BZ #12786]
55414         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
55415         * math/s_cacoshf.c: Likewise.
55416         * math/s_cacoshl.c: Likewise.
55418 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
55420         [BZ #13439]
55421         * iconv/gconv.h: Define __GCONV_SWAP.
55422         * iconvdata/unicode.c: The swap bit must be stored in __flags.
55423         * iconvdata/utf-16.c: Likewise.
55424         * iconvdata/utf-32.c: Likewise.
55426 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
55428         [BZ #13524]
55429         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
55430         numerator after shifting it by one limb.
55432 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
55434         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
55435         under [__USE_EXTERN_INLINES].
55437 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55439         [BZ #13446]
55440         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
55442 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55444         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
55445         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
55446         optimized code.
55447         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
55448         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
55449         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
55450         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
55451         for strncasecmp/strncasecmp_l compilation.
55452         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
55453         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
55455 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
55457         [BZ #13484]
55458         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
55459         of __asm__.
55461 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
55463         [BZ #13506]
55464         * time/tzfile.c (__tzfile_read): Check values from file header.
55466 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
55468         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
55469         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
55470         * powerpc/powerpc32/dl-start.S: Likewise.
55471         * powerpc/powerpc32/elf/start.S: Likewise.
55472         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
55473         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
55474         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
55475         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
55476         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55477         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
55478         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
55479         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55480         * powerpc/powerpc32/fpu/s_round.S: Likewise.
55481         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55482         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55483         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55484         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
55485         * powerpc/powerpc32/memset.S: Likewise.
55486         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55487         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55488         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55489         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55490         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55491         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55492         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55493         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55494         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
55495         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
55496         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
55497         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
55498         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
55500 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55502         * math/libm-test.inc: Added more nearbyint tests.
55503         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
55504         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
55505         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
55506         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
55508 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
55510         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
55511         FD_CLOEXEC.
55513 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55515         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
55516         Add wcscpy-ssse3 wcscpy-c.
55517         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
55518         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
55519         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
55520         * sysdeps/x86_64/wcschr.S: New file.
55521         * sysdeps/x86_64/wcsrchr.S: New file.
55522         * string/test-strcmp.c: Remove checking of wcscmp function for
55523         wrong alignments.
55524         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
55525         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
55526         wcsrchr-sse2 wcsrchr-c.
55527         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
55528         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
55529         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
55530         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
55531         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
55532         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
55533         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
55534         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
55535         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
55536         * wcsmbc/wcschr.c (WCSCHR): New macro.
55538 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55540         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
55541         * wcsmbs/test-wcsrchr.c: New file.
55542         * string/test-strrchr.c: Add wcsrchr support.
55543         (WIDE): New macro.
55544         * wcsmbs/test-wcscpy.c: New file.
55545         * string/test-strcpy.c: Add wcscpy support.
55546         (WIDE): New macro.
55548 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
55550         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
55551         the inner loop.
55553 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
55555         [BZ #13472]
55556         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
55558 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
55560         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
55561         Minor optimizations.
55563         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
55564         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
55565         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
55567 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
55569         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
55570         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
55571         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
55572         for gcc to avoid warnings.
55573         * inet/Makefile (tests): Add tst-checks.
55574         * inet/tst-checks.c: New file.
55576         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
55577         warning.
55579         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
55580         __wmemcmp_sse2.
55582         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
55583         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
55585         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
55587 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
55589         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
55590         problem.
55592         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
55594 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
55596         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
55597         conditional on GCC version.
55598         (__arch_compare_and_exchange_val_8_acq)
55599         (__arch_compare_and_exchange_val_16_acq)
55600         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
55601         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
55602         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
55604 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
55606         * sysdeps/sh/backtrace.c: New file.
55608 2011-12-02  Andreas Schwab  <schwab@redhat.com>
55610         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
55611         parenthesis.
55613 2011-12-01  Andreas Schwab  <schwab@redhat.com>
55615         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
55616         falling back to utime.
55618 2011-11-30  Andreas Schwab  <schwab@redhat.com>
55620         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
55621         expectations for float.
55623 2011-11-29  Andreas Schwab  <schwab@redhat.com>
55625         * locale/weight.h (findidx): Add parameter len.
55626         * locale/weightwc.h (findidx): Likewise.
55627         * posix/fnmatch_loop.c (FCT): Adjust caller.
55628         * posix/regcomp.c (build_equiv_class): Likewise.
55629         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
55630         * posix/regexec.c (check_node_accept_bytes): Likewise.
55631         * string/strcoll_l.c (STRCOLL): Likewise.
55632         * string/strxfrm_l.c (STRXFRM): Likewise.
55634 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
55636         * Makefile.in: Remove CVSOPT handling.
55637         * configure.in: Remove use of AC_REVISION.
55638         * iconvdata/Makefile (distribute): No need to filter out CVS.
55639         * scripts/list-sources.sh: Remove CVS, subversion and monotone
55640         handling.
55642 2011-11-16  Andreas Schwab  <schwab@redhat.com>
55644         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
55645         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
55646         [USE_AS_STRNCASECMP_L]: Likewise.
55647         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
55648         NO_TLS_DIRECT_SEG_REFS.
55649         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
55650         Fix argument offsets for non-PIC.
55651         [USE_AS_STRNCASECMP_L]: Likewise.
55652         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
55653         NO_TLS_DIRECT_SEG_REFS.
55655 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55657         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
55658         O_CLOEXEC.
55659         * locale/loadlocale.c (_nl_load_locale): Likewise.
55661 2011-11-15  Andreas Schwab  <schwab@redhat.com>
55663         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
55664         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
55665         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
55666         (SYSCALL_GETTIME): Set errno on error.
55668         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
55669         count references to noai6ai_cached.
55671 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
55673         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
55675         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
55676         FD_CLOEXEC for /proc/self/maps.
55678         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
55679         FD_CLOEXEC for /proc/meminfo.
55681         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
55682         gai.conf.
55684         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
55685         FD_CLOEXEC for given file.
55687         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
55689         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
55690         FD_CLOEXEC for /etc/hosts.
55691         (_gethtent): Likewise.
55693         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
55695         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
55696         cancellation and set FD_CLOEXEC for /etc/netgroup.
55698         * nss/nss_files/files-key.c (search): Don't allow cancellation when
55699         reading /etc/publickey.
55701         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
55702         allow cancellation when reading /etc/group.
55704         * nss/nss_files/files-alias.c (internal_setent): Don't allow
55705         cancellation.
55706         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
55708         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
55709         when using data file.
55711         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
55713         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
55714         (write_nis_obj): Use "c" and "e" in fopen.
55716         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
55718         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
55720         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
55722         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
55724         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
55725         locale.alias.
55727         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
55729         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
55731         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
55733         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
55734         file parsing and set FD_CLOEXEC.
55736 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55738         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
55740 2011-11-14  Andreas Schwab  <schwab@redhat.com>
55742         * malloc/arena.c (arena_get2): Don't call reused_arena when
55743         _int_new_arena failed.
55745 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
55747         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
55748         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
55749         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
55750         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55751         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55752         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
55753         to compile strcasecmp and strncasecmp.
55754         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
55755         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
55757         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
55759 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
55761         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
55762         locale-defines.sym to gen-as-const-headers.
55763         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
55764         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
55765         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
55766         to compile strcasecmp and strncasecmp.
55767         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
55768         strcasecmp_l and strncasecmp_l.
55769         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
55770         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
55771         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
55772         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
55773         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
55774         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
55775         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
55776         * sysdeps/i386/i686/multiarch/strncase.S: New file.
55777         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
55778         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
55779         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
55781 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
55783         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
55784         result of SYSDEP_GETTIME_CPU to retval.
55785         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
55786         parameter list to macro.  Remove trailing semicolon.  Adjust users.
55788         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
55789         variable.
55791         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
55792         mantissa words.
55793         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
55795         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
55796         from unused variable.
55798         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
55799         DWARF definitions.
55800         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
55801         for assembling.
55803         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
55804         over namespaces.
55806         * sunrpc/rpc_prot.c (rejected): Fix case value.
55808         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
55809         unsigned long long int to avoid warnings in shift.
55811         * posix/regex_internal.c (re_string_reconstruct): Actually use result
55812         of use of trans.
55813         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
55814         variable tmp.
55816         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
55817         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
55818         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
55820         * nis/nis_table.c (nis_list): Use variable of correct type for
55821         result of __follow_path call.
55823 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55825         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
55826         of math functions ceil, trunc, floor, round, and sqrt, when
55827         avaliable on the platform.
55828         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
55829         name clash.
55830         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55831         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55832         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55834 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
55836         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
55837         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
55839 2011-11-11  Roland McGrath  <roland@hack.frob.com>
55841         * include/unistd.h: Fix __readlink return type.
55842         Reported by Chris Metcalf <cmetcalf@tilera.com>.
55844 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
55846         * stdlib/ucontext.h: Undo last change for makecontext.
55848 2011-11-11  Andreas Schwab  <schwab@redhat.com>
55850         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
55852         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
55853         * setjmp/setjmp.h: Mark functions as non-leaf.
55854         * setjmp/bits/setjmp2.h: Likewise.
55855         * stdlib/ucontext.h: Likewise.
55857 2011-11-10  Andreas Schwab  <schwab@redhat.com>
55859         * malloc/arena.c (_int_new_arena): Don't increment narenas.
55860         (reused_arena): Don't check arena limit.
55861         (arena_get2): Atomically check arena limit.
55863 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
55865         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
55866         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
55868         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
55869         instructions.
55871 2011-11-07  Andreas Schwab  <schwab@redhat.com>
55873         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
55874         handler when locking.
55876         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55877         Fix size of allocated buffer.
55879 2011-11-04  Andreas Schwab  <schwab@redhat.com>
55881         [BZ #10103]
55882         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
55883         declarations for long double functions.
55884         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
55886         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
55888 2011-11-03  Andreas Schwab  <schwab@redhat.com>
55890         * nscd/nscd.c (main): Don't start AVC thread until credentials are
55891         installed.
55893         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
55894         is disabled.
55896 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55898         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
55900 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
55902         * include/alloca.h (stackinfo_alloca_round): Define.
55903         (extend_alloca): Use it.
55904         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
55905         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
55906         here.
55908         * scripts/check-local-headers.sh: Ignore libaudit.h.
55910         * nscd/Makefile (extra-objs): Make recursively expanded.
55912 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
55914         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
55915         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
55917         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
55918         * posix/tst-rfc3484-2.c: Likewise.
55919         * posix/tst-rfc3484-3.c: Likewise.
55921         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
55922         process_vm_writev.
55923         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
55924         process_vm_writev.
55925         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
55926         process_vm_writev from libc using GLIBC_2.15 version.
55928         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
55930 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
55932         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
55933         stack usage.
55935 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
55937         [BZ #13367]
55938         * nss/getent.c (initgroups_keys): Show error message in case no group
55939         names are given.
55941         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
55942         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
55943         __bump_nl_timestamp.
55944         * nscd/connections (nscd_init): When host database is served open
55945         netlink socket and request notification about configuration changes.
55946         (main_loop_poll): Track netlink file descriptor and bump timestamp
55947         in case data becomes available.
55948         (main_loop_epoll): Likewise.
55949         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
55950         (database_pers_head): Add extra_data fileds.
55951         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
55952         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
55953         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
55954         Adjust caller.
55955         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
55956         in6ai data, call __free_in6ai.
55957         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
55958         Add -DHAVE_NETLINK.
55959         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
55960         interface information.  Reuse previous data if netlink timestamp
55961         is not changed.
55962         (__bump_nl_timestamp): New function.
55963         (__free_in6ai): New function.
55965 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
55967         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
55968         close_not_cancel_no_status here.
55969         (__check_pf): Reorganize code a bit to not call close twice if OOM.
55971 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
55973         [BZ #13276]
55974         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
55975         return value.
55977         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
55978         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
55979         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
55981 2011-07-03  Andreas Jaeger  <aj@suse.de>
55983         [BZ #10709]
55984         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
55985         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
55986         * math/libm-test.inc (sin_test): Add test case.
55988 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
55990         [BZ #13337]
55991         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
55992         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
55994         * elf/chroot_canon.c (chroot_canon): Cleanups.
55996         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
55998         [BZ #13335]
55999         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
56000         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
56002         * string/test-strchr.c: Make usable for strchrnul testing.
56003         * string/test-strchrnul.c: New file.
56004         * string/Makefile (strop-tests): Add strchrnul.
56006         * po/it.po: Update from translation team.
56007         * po/es.po: Likewise.
56009 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
56011         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
56012         the three constants needed as parameters.  Drop the others.
56013         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
56014         __m128i_strloadu_tolower.
56015         Create and initialize variable zero and use it in all the places
56016         where _mm_setzero_si128 was used.
56018         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
56019         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
56020         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
56021         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
56022         anymore.
56023         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
56024         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
56025         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
56026         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
56027         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
56028         __mpranred, __mptan.
56029         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
56030         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
56031         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
56032         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
56033         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
56034         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
56035         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
56036         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
56037         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
56039 2011-10-28  Andreas Schwab  <schwab@redhat.com>
56041         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
56042         redefine if SHARED.
56043         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
56045         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
56046         wide char related routines to wcsmbs subdir.
56048 2011-10-27  Andreas Schwab  <schwab@redhat.com>
56050         [BZ #13344]
56051         * misc/sys/cdefs.h (__THROWNL): Define.
56052         * posix/unistd.h: Use __THREADNL instead of __THREAD
56053         for memory synchronization functions.
56055 2011-10-26  Roland McGrath  <roland@hack.frob.com>
56057         [BZ #13349]
56058         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
56059         doesn't exist.
56060         * manual/stdio.texi (Obstack Streams): Node removed.
56062 2011-10-26  Andreas Schwab  <schwab@redhat.com>
56064         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
56065         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56066         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56068         * math/math_private.h (math_force_eval): Allow non-addressable
56069         arguments.
56070         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
56072 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56074         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
56075         file is not needed.
56077         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
56078         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
56079         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
56080         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
56081         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
56082         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
56083         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
56084         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
56085         Add AVX variants.
56086         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
56087         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
56088         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
56089         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
56090         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
56091         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
56092         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
56093         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
56094         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
56095         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
56096         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
56097         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
56098         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
56099         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
56100         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
56101         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
56102         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
56103         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
56104         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
56106         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
56107         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
56109         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
56110         place.  Use VEX encoding when compiling for AVX.
56112 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56114         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
56115         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
56117         * string/test-strchr.c (do_test): Don't generate NUL bytes.
56119 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56121         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
56122         useless if() expression.
56123         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56124         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56125         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56126         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56127         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56128         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
56129         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56130         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56131         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56132         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56133         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56134         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56135         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
56136         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56137         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
56138         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
56139         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56140         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56141         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
56143         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
56145 2011-10-25  Andreas Schwab  <schwab@redhat.com>
56147         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
56148         condition.
56149         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56151 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
56153         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
56154         .text section.  Avoid duplicate constants.
56155         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56156         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56157         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56158         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56159         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56160         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56161         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56162         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56163         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56164         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
56165         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56166         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56167         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56168         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56169         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56170         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56171         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56172         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56173         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56174         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56175         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56176         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56177         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56178         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
56179         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
56180         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
56181         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
56182         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
56183         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
56184         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
56185         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
56186         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
56187         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56188         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
56189         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
56190         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
56191         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
56192         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
56193         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
56194         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
56195         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
56196         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
56197         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
56198         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
56199         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
56201 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
56203         * sysdeps/x86_64/dla.h: Move to ...
56204         * sysdeps/x86_64/fpu/dla.h: ...here.
56205         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
56206         situations.  Use __builtin_fma only for gcc 4.6 and up.
56208         * config.make.in: Add have-mfma4 entry.
56209         * configure.in: Substitute libc_cv_cc_fma4.
56210         * math/Makefile (dbl-only-routines): Add sincostab.
56211         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
56212         Use __sincostab not sincos.
56213         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
56214         name is a macro.
56215         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56216         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56217         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56218         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
56219         using __copysign.
56220         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
56221         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
56222         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
56223         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
56224         and __inv.
56225         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
56226         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
56227         __copysign.
56228         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
56229         define aliases when function name is a macro.
56230         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
56231         sysdeps/ieee754/dbl-64/sincos.tbl.
56232         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
56233         fma4-enabled routines.
56234         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
56235         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
56236         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
56237         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
56238         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
56239         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
56240         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
56241         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
56242         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
56243         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
56244         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
56245         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
56246         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
56247         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
56248         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
56249         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
56250         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
56251         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
56252         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
56253         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
56254         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
56255         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
56256         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
56257         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
56258         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
56259         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
56260         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
56261         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
56262         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
56263         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
56265         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
56266         rename.
56267         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56268         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56269         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56270         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56271         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56272         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56273         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56274         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56276 2011-10-24  Andreas Schwab  <schwab@redhat.com>
56278         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
56280 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56282         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
56284         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
56285         prediction.
56286         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
56288         * string/strnlen.c: Don't define STRNLEN, reverse logic.
56289         Remove unused variable magic_bits.
56290         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
56292         * string/strnlen.c: Define and use STRNLEN macro.
56293         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
56294         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
56295         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
56296         * wcsmbs/wcslen.c: Define and use WCSLEN.
56297         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
56298         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
56299         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
56300         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
56301         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
56302         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
56303         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56305 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56307         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56308         strnlen-sse2-no-bsf.
56309         Rename strlen-no-bsf to strlen-sse2-no-bsf.
56310         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
56311         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
56312         Add strnlen support.
56313         (USE_AS_STRNLEN): New macro.
56314         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
56315         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
56316         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
56317         * sysdeps/x86_64/wcslen.S: New file.
56319 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
56321         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
56322         XMM-moves are used for copying on small sizes.
56324 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56326         * wcsmbs/Makefile (strop-tests): Add wcschr.
56327         * wcsmbs/test-wcschr.c: New file.
56328         * string/test-strchr.c: Update.
56329         Add wcschr support.
56330         (WIDE): New macro.
56332 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56334         * wcsmbs/Makefile (strop-tests): Add wcslen.
56335         * wcsmbs/test-wcslen.c: New file.
56336         * string/test-strlen.c: Update.
56337         Add wcslen support.
56338         (WIDE): New macro.
56340 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56342         * po/it.po: Update from translation team.
56344 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56346         * sysdeps/x86_64/wcscmp.S: Update.
56347         Fix wrong comparison semantics.
56348         wcscmp shall use signed comparison not unsigned.
56349         Don't use substraction to avoid overflow bug.
56350         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
56351         * wcsmbc/wcscmp.c: Likewise.
56352         * string/test-strcmp.c: Likewise.
56353         Add new tests to check cases with negative values.
56355 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
56357         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
56358         * sysdeps/x86_64/dla.h: ...here.  New file.
56359         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
56360         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56361         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56362         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56363         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56364         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56365         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56366         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56367         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56369 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
56371         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
56372         __ynl_finite aliases.
56374 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56376         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56378         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
56379         define DLA_FMA.
56380         [DLA_FMA] (EMULV): Use DLA_FMA.
56381         [DLA_FMA] (MUL12): Use EMULV.
56382         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
56383         that are not needed.
56384         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56385         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56386         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56387         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56388         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56389         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56390         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56392 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
56394         * math/s_nan.c: Undef __nan.
56395         * math/s_nanf.c: Undef __nanf.
56396         * math/s_nanl.c: Undef __nanl.
56397         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
56398         "math_private.h".
56400 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
56402         * math/s_catan.c: Add branch predictions.
56403         * math/s_catanf.c: Likewise.
56404         * math/s_catanh.c: Likewise.
56405         * math/s_catanhf.c: Likewise.
56406         * math/s_catanhl.c: Likewise.
56407         * math/s_catanl.c: Likewise.
56408         * math/s_cexp.c: Likewise.
56409         * math/s_cexpf.c: Likewise.
56410         * math/s_cexpl.c: Likewise.
56411         * math/s_clog.c: Likewise.
56412         * math/s_clog10.c: Likewise.
56413         * math/s_clog10f.c: Likewise.
56414         * math/s_clog10l.c: Likewise.
56415         * math/s_clogf.c: Likewise.
56416         * math/s_clogl.c: Likewise.
56417         * math/s_csqrt.c: Likewise.
56418         * math/s_csqrtf.c: Likewise.
56419         * math/s_csqrtl.c: Likewise.
56420         * math/s_ctanf.c: Likewise.
56421         * math/s_ctanh.c: Likewise.
56422         * math/s_ctanhf.c: Likewise.
56423         * math/s_ctanhl.c: Likewise.
56424         * math/s_ctanl.c: Likewise.
56426         * math/math_private.h: Define __nan, __nanf, __nanl.
56427         * math/s_cacosh.c: Include <math_private.h>.
56428         * math/s_cacoshl.c: Likewise.
56429         * math/s_casinh.c: Likewise.
56430         * math/s_casinhf.c: Likewise.
56431         * math/s_casinhl.c: Likewise.
56432         * math/s_ccos.c: Rely entire on ccosh.
56433         * math/s_ccosf.c: Rely entire on ccoshf.
56434         * math/s_ccosl.c: Rely entirely on ccoshl.
56435         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
56436         Remove tests for FE_INVALID.
56437         * math/s_ccoshf.c: Likewise.
56438         * math/s_ccoshl.c: Likewise.
56439         * math/s_csin.c: Likewise.
56440         * math/s_csinf.c: Likewise.
56441         * math/s_csinh.c Likewise.
56442         * math/s_csinhf.c: Likewise.
56443         * math/s_csinhl.c: Likewise.
56444         * math/s_csinl.c: Likewise.
56445         * math/s_ctan.c: Likewise.
56446         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
56447         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
56448         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
56450 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
56452         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
56453         compilation problems.
56455         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
56456         __builtin_expect.
56458 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
56460         * sysdeps/i386/configure.in: Test for -mfma4 option.
56461         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
56462         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
56463         COMMON_CPUID_INDEX_80000001.
56464         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
56465         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
56466         use it if FMA3 is not supported.
56467         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
56469         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
56470         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56472 2011-10-20  Andreas Schwab  <schwab@redhat.com>
56474         [BZ #12892]
56475         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
56476         it would create a cycle with a link time dependency.
56478 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
56480         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
56481         instruction.
56482         * string/Makefile (strop-tests): Add rawmemchr.
56483         * string/test-rawmemchr.c: New file.
56485         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
56486         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
56487         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
56488         when compiling str{,n}casecmp and when AVX is available.  Hook up
56489         new optimized code in initializers.
56491 2011-10-19  Andreas Schwab  <schwab@redhat.com>
56493         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
56494         __feraiseexcept instead of feraiseexcept.
56496 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
56498         * math/math_private.h: Define defaults for libc_fetestexcept and
56499         libc_feupdateenv.
56500         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
56501         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
56502         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56503         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56504         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
56505         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56506         libc_fetestexcept and libc_feupdateenv.
56508         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
56509         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
56510         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
56511         * sysdeps/x86_64/fpu/math_private.h: Define special version of
56512         libc_feholdexcept_setround.
56514         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
56515         Add s_nearbyint-c and s_nearbyintf-c.
56516         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
56517         nearbyintf inlines.
56518         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
56519         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
56520         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
56521         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
56523         * math/math_private.h: Define defaults for libc_fegetround,
56524         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
56525         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
56526         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
56527         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
56528         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
56529         standard functions.
56530         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56531         Remove comments and hacks for old compiler versions.
56532         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
56533         libc_fegetround, libc_fesetround, libc_feholdexcept, and
56534         libc_feholdexceptl.
56536 2011-10-18  Andreas Schwab  <schwab@redhat.com>
56538         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
56539         (__feraiseexcept_renamed): Add __NTH.
56540         (feraiseexcept): Add __NTH.  Rename local variables to fix
56541         namespace violations.
56543 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
56545         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
56547         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
56549         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
56550         recently added interfaces.
56551         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
56553         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
56554         about macro parameter expansion.
56556         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
56557         __NO_MATH_INLINES is defined.  Cleanups.
56559         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
56560         and __floorf is target has SSE4.1.
56561         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
56562         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
56563         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
56564         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
56566         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
56567         name.
56568         (floorf): Likewise.
56570         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
56572 2011-10-17  Andreas Schwab  <schwab@redhat.com>
56574         * misc/sys/cdefs.h: Fix last change.
56576         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
56577         database lookup.
56579 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
56581         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
56583         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
56584         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56585         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56586         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
56587         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56588         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
56589         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
56590         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
56591         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
56592         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
56593         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
56594         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
56595         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
56596         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
56597         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
56598         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
56599         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
56600         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
56601         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
56602         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
56603         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
56604         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
56606         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
56607         ceil, ceilf, floor, floorf.
56609         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
56610         Perform IRELATIVE relocations last.
56612         * elf/do-rel.h: Add another parameter nrelative, replacing the
56613         local variable with the same name.  Change name of the function
56614         to end in Rel or Rela (uppercase).
56615         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
56616         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
56617         elf_dynamic_do_##reloc function.
56619 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56621         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
56622         is sufficient, at least on modern CPUs.
56624         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
56626         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
56627         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
56629         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
56630         __expl_finite.
56631         * math/bits/math-finite.h: Add entries for exp.
56632         * math/e_expl.c: Add __*_finite alias.
56633         * sysdeps/i386/fpu/e_exp.S: Likewise.
56634         * sysdeps/i386/fpu/e_expf.S: Likewise.
56635         * sysdeps/i386/fpu/e_expl.c: Likewise.
56636         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56637         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
56638         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56639         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56640         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
56641         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
56642         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
56644         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
56645         is sufficient, at least on modern CPUs.
56647         * ctype/ctype-info.c (__ctype_init): Define.
56648         * include/ctype.h (__ctype_init): Declare.
56649         (__ctype_b_loc): The variable is always initialized.
56650         (__ctype_toupper_loc): Likewise.
56651         (__ctype_tolower_loc): Likewise.
56652         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
56653         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
56655 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
56657         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
56659         * configure.in: Also look in $cxxmachine/include for C++ system
56660         headers.
56662 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56664         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
56665         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
56666         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
56667         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
56668         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
56669         (USE_AS_WMEMCMP): New macro.
56670         Fixing indents.
56671         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
56672         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
56673         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
56674         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
56675         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56676         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
56677         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
56678         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
56679         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
56680         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
56681         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
56682         (USE_AS_WMEMCMP): New macro.
56683         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
56684         * sysdeps/string/test-memcmp.c: Update.
56685         Fix simple_wmemcmp.
56686         Add new tests.
56687         * wcsmbs/wmemcmp.c: Update.
56688         (WMEMCMP): New macro.
56689         Fix overflow bug.
56691 2011-10-12  Andreas Jaeger  <aj@suse.de>
56693         [BZ #13268]
56694         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
56696 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
56698         * libio/iofwide.c (do_length): Avoid warning.
56700         * ctype/ctype.h (__isctype_f): Add missing __THROW.
56702 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
56704         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
56706         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
56707         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
56708         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
56709         * sysdeps/i386/i686/fpu/e_log.S: New file.
56710         * sysdeps/i386/i686/fpu/e_logf.S: New file.
56711         * sysdeps/i386/i686/fpu/e_logl.S: New file.
56713         * ctype/ctype.h: Add support for inlined isXXX functions when
56714         compiling C++ code.
56716 2011-10-14  Andreas Schwab  <schwab@redhat.com>
56718         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56720         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
56722 2011-10-13  Roland McGrath  <roland@hack.frob.com>
56724         [BZ #13291]
56725         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
56727 2011-10-13  Andreas Schwab  <schwab@redhat.com>
56729         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
56730         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
56731         feraiseexcept.
56733         * sysdeps/x86_64/memrchr.S: Check for zero size.
56735         * string/stratcliff.c: Add memrchr tests.
56737 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56739         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56740         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
56741         rawmemchr-sse2 rawmemchr-sse2-bsf.
56742         * sysdeps/i386/i686/multiarch/memchr.S: New file.
56743         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
56744         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
56745         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
56746         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
56747         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
56748         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
56749         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
56750         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
56751         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
56752         * string/memrchr.c (MEMRCHR): New macro.
56754 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
56756         Add integration with gcc's -ffinite-math-only and optimize wrapper
56757         functions in libm.
56758         * Versions.def: Define GLIBC_2.15 version for libm.
56759         * math/Makefile (headers): Add bits/math-finite.h.
56760         * math/bits/math-finite.h: New file.
56761         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
56762         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
56763         * math/e_acoshl.c: Add __*_finite alias.
56764         * math/e_acosl.c: Likewise.
56765         * math/e_asinl.c: Likewise.
56766         * math/e_atan2l.c: Likewise.
56767         * math/e_atanhl.c: Likewise.
56768         * math/e_coshl.c: Likewise.
56769         * math/e_exp10.c: Likewise.
56770         * math/e_exp10f.c: Likewise.
56771         * math/e_exp10l.c: Likewise.
56772         * math/e_exp2l.c: Likewise.
56773         * math/e_fmodl.c: Likewise.
56774         * math/e_gammal_r.c: Likewise.
56775         * math/e_hypotl.c: Likewise.
56776         * math/e_j0l.c: Likewise.
56777         * math/e_j1l.c: Likewise.
56778         * math/e_jnl.c: Likewise.
56779         * math/e_lgammal_r.c: Likewise.
56780         * math/e_log10l.c: Likewise.
56781         * math/e_log2l.c: Likewise.
56782         * math/e_logl.c: Likewise.
56783         * math/e_powl.c: Likewise.
56784         * math/e_sinhl.c: Likewise.
56785         * math/e_sqrtl.c: Likewise.
56786         * math/e_scalb.c: Completely rewritten and optimized.
56787         * math/e_scalbf.c: Likewise.
56788         * math/e_scalbl.c: Likewise.
56789         * math/w_acos.c: Likewise.
56790         * math/w_acosf.c: Likewise.
56791         * math/w_acosl.c: Likewise.
56792         * math/w_acosh.c: Likewise.
56793         * math/w_acoshf.c: Likewise.
56794         * math/w_acoshl.c: Likewise.
56795         * math/w_asin.c: Likewise.
56796         * math/w_asinf.c: Likewise.
56797         * math/w_asinl.c: Likewise.
56798         * math/w_atan2.c: Likewise.
56799         * math/w_atan2f.c: Likewise.
56800         * math/w_atan2l.c: Likewise.
56801         * math/w_atanh.c: Likewise.
56802         * math/w_atanhf.c: Likewise.
56803         * math/w_atanhl.c: Likewise.
56804         * math/w_exp10.c: Likewise.
56805         * math/w_exp10f.c: Likewise.
56806         * math/w_exp10l.c: Likewise.
56807         * math/w_fmod.c: Likewise.
56808         * math/w_fmodf.c: Likewise.
56809         * math/w_fmodl.c: Likewise.
56810         * math/w_j0.c: Likewise.
56811         * math/w_j0f.c: Likewise.
56812         * math/w_j0l.c: Likewise.
56813         * math/w_j1.c: Likewise.
56814         * math/w_j1f.c: Likewise.
56815         * math/w_j1l.c: Likewise.
56816         * math/w_jn.c: Likewise.
56817         * math/w_jnf.c: Likewise.
56818         * math/w_log.c: Likewise.
56819         * math/w_logf.c: Likewise.
56820         * math/w_logl.c: Likewise.
56821         * math/w_log10.c: Likewise.
56822         * math/w_log10f.c: Likewise.
56823         * math/w_log10l.c: Likewise.
56824         * math/w_log2.c: Likewise.
56825         * math/w_log2f.c: Likewise.
56826         * math/w_log2l.c: Likewise.
56827         * math/w_pow.c: Likewise.
56828         * math/w_powf.c: Likewise.
56829         * math/w_powl.c: Likewise.
56830         * math/w_remainder.c: Likewise.
56831         * math/w_remainderf.c: Likewise.
56832         * math/w_remainderl.c: Likewise.
56833         * math/w_scalb.c: Likewise.
56834         * math/w_scalbf.c: Likewise.
56835         * math/w_scalbl.c: Likewise.
56836         * math/w_sqrt.c: Likewise.
56837         * math/w_sqrtf.c: Likewise.
56838         * math/w_sqrtl.c: Likewise.
56839         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
56840         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
56841         used.
56842         * math/math_private.h: Declare __kernel_standard_f.
56843         * math/w_cosh.c: Remove cruft and optimize a bit.
56844         * math/w_coshf.c: Likewise.
56845         * math/w_coshl.c: Likewise.
56846         * math/w_exp2.c: Likewise.
56847         * math/w_exp2f.c: Likewise.
56848         * math/w_exp2l.c: Likewise.
56849         * math/w_hypot.c: Likewise.
56850         * math/w_hypotf.c: Likewise.
56851         * math/w_hypotl.c: Likewise.
56852         * math/w_lgamma.c: Likewise.
56853         * math/w_lgamma_r.c: Likewise.
56854         * math/w_lgammaf.c: Likewise.
56855         * math/w_lgammaf_r.c: Likewise.
56856         * math/w_lgammal.c: Likewise.
56857         * math/w_lgammal_r.c: Likewise.
56858         * math/w_sinh.c: Likewise.
56859         * math/w_sinhf.c: Likewise.
56860         * math/w_sinhl.c: Likewise.
56861         * math/w_tgamma.c: Likewise.
56862         * math/w_tgammaf.c: Likewise.
56863         * math/w_tgammal.c: Likewise.
56864         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
56865         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
56866         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
56867         Minor optimizations.  Pretty printing.  Remove cruft.
56868         * sysdeps/i386/fpu/e_acosf.S: Likewise.
56869         * sysdeps/i386/fpu/e_acosh.S: Likewise.
56870         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
56871         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
56872         * sysdeps/i386/fpu/e_acosl.c: Likewise.
56873         * sysdeps/i386/fpu/e_asin.S: Likewise.
56874         * sysdeps/i386/fpu/e_asinf.S: Likewise.
56875         * sysdeps/i386/fpu/e_atan2.S: Likewise.
56876         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
56877         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
56878         * sysdeps/i386/fpu/e_atanh.S: Likewise.
56879         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
56880         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
56881         * sysdeps/i386/fpu/e_exp10.S: Likewise.
56882         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
56883         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
56884         * sysdeps/i386/fpu/e_exp2.S: Likewise.
56885         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
56886         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
56887         * sysdeps/i386/fpu/e_fmod.S: Likewise.
56888         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
56889         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
56890         * sysdeps/i386/fpu/e_hypot.S: Likewise.
56891         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
56892         * sysdeps/i386/fpu/e_log.S: Likewise.
56893         * sysdeps/i386/fpu/e_log10.S: Likewise.
56894         * sysdeps/i386/fpu/e_log10f.S: Likewise.
56895         * sysdeps/i386/fpu/e_log10l.S: Likewise.
56896         * sysdeps/i386/fpu/e_log2.S: Likewise.
56897         * sysdeps/i386/fpu/e_log2f.S: Likewise.
56898         * sysdeps/i386/fpu/e_log2l.S: Likewise.
56899         * sysdeps/i386/fpu/e_logf.S: Likewise.
56900         * sysdeps/i386/fpu/e_logl.S: Likewise.
56901         * sysdeps/i386/fpu/e_pow.S: Likewise.
56902         * sysdeps/i386/fpu/e_powf.S: Likewise.
56903         * sysdeps/i386/fpu/e_powl.S: Likewise.
56904         * sysdeps/i386/fpu/e_remainder.S: Likewise.
56905         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
56906         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
56907         * sysdeps/i386/fpu/e_scalb.S: Likewise.
56908         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
56909         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
56910         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
56911         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
56912         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
56913         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56914         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56915         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56916         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56917         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56918         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56919         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56920         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56921         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56922         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56923         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56924         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
56925         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56926         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56927         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56928         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56929         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56930         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56931         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56932         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56933         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56934         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
56935         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
56936         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
56937         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
56938         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
56939         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
56940         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
56941         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
56942         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
56943         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
56944         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
56945         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56946         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
56947         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
56948         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
56949         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
56950         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
56951         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
56952         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
56953         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
56954         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
56955         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
56956         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
56957         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
56958         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
56959         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
56960         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
56961         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
56962         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
56963         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
56964         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
56965         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
56966         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56967         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
56968         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
56969         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
56970         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
56971         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
56972         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
56973         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
56974         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
56975         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
56976         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
56977         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
56978         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
56979         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
56980         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
56981         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
56982         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
56983         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
56984         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
56985         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
56986         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
56987         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
56988         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56989         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56990         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
56991         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
56992         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
56993         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
56994         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
56995         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
56996         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
56997         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
56998         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
56999         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57000         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57001         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57002         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57003         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57004         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57005         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57006         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57007         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57008         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
57009         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
57010         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
57011         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
57012         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
57013         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
57014         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
57015         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
57016         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
57017         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57018         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57019         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57020         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57021         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
57022         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57023         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
57024         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
57025         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
57026         (__isnanf): Likewise.
57027         (__isinf_ns): Likewise.
57028         (__isinf_nsf): Likewise.
57029         (__finite): Likewise.
57030         (__finitef): Likewise.
57031         (__ieee754_sqrt): Define as macro.
57032         (__ieee754_sqrtf): Define as macro.
57033         (__ieee754_sqrtl): Define as macro.
57034         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
57035         inlined copy.
57036         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
57037         __FINITE_MATH_ONLY__ consistent.
57038         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
57040 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
57042         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
57043         of rawmemchr.
57045         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
57047 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
57049         * po/ja.po: Update from translation team.
57051 2011-10-08  Roland McGrath  <roland@hack.frob.com>
57053         * locale/programs/locarchive.c (prepare_address_space): New function.
57054         (create_archive, enlarge_archive, open_archive): Use it.
57056         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
57057         inside [SHARED], where it is used.
57059         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
57061         * nss/getent.c (netgroup_keys): Remove unused variable.
57062         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57064 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
57066         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
57067         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
57068         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
57069         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
57070         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
57071         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
57072         * math/Makefile (libm-calls): Add s_isinf_ns.
57073         * math/divtc3.c: Use __isinf_nsl instead of isinf.
57074         * math/multc3.c: Likewise.
57075         * math/s_casin.c: Likewise.
57076         * math/s_casinf.c: Likewise.
57077         * math/s_casinl.c: Likewise.
57078         * math/s_ccos.c: Likewise.
57079         * math/s_ccosf.c: Likewise.
57080         * math/s_ccosl.c: Likewise.
57081         * math/s_ctan.c: Likewise.
57082         * math/s_ctanf.c: Likewise.
57083         * math/s_ctanh.c: Likewise.
57084         * math/s_ctanhf.c: Likewise.
57085         * math/s_ctanhl.c: Likewise.
57086         * math/s_ctanl.c: Likewise.
57087         * math/w_fmod.c: Likewise.
57088         * math/w_fmodf.c: Likewise.
57089         * math/w_fmodl.c: Likewise.
57090         * math/w_remainder.c: Likewise.
57091         * math/w_remainderf.c: Likewise.
57092         * math/w_remainderl.c: Likewise.
57093         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
57094         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
57095         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
57096         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
57097         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
57098         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
57099         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
57100         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
57102         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
57103         of the number.
57104         * stdio-common/printf_fphex.c: Likewise.
57105         * stdio-common/printf_size.c: Likewise.
57107         * math/e_exp10.c: Include math_private.h using <...> not "...".
57108         * math/e_exp10f.c: Likewise.
57109         * math/e_exp10l.c: Likewise.
57110         * math/e_exp2l.c: Likewise.
57111         * math/e_j0l.c: Likewise.
57112         * math/e_j1l.c: Likewise.
57113         * math/e_jnl.c: Likewise.
57114         * math/e_lgammal_r.c: Likewise.
57115         * math/e_rem_pio2l.c: Likewise.
57116         * math/e_scalb.c: Likewise.
57117         * math/e_scalbf.c: Likewise.
57118         * math/e_scalbl.c: Likewise.
57119         * math/k_cosl.c: Likewise.
57120         * math/k_sinl.c: Likewise.
57121         * math/k_tanl.c: Likewise.
57122         * math/s_cacoshf.c: Likewise.
57123         * math/s_catan.c: Likewise.
57124         * math/s_catanf.c: Likewise.
57125         * math/s_catanh.c: Likewise.
57126         * math/s_catanhf.c: Likewise.
57127         * math/s_catanhl.c: Likewise.
57128         * math/s_catanl.c: Likewise.
57129         * math/s_ccosh.c: Likewise.
57130         * math/s_ccoshf.c: Likewise.
57131         * math/s_ccoshl.c: Likewise.
57132         * math/s_cexp.c: Likewise.
57133         * math/s_cexpf.c: Likewise.
57134         * math/s_cexpl.c: Likewise.
57135         * math/s_clog.c: Likewise.
57136         * math/s_clog10.c: Likewise.
57137         * math/s_clog10f.c: Likewise.
57138         * math/s_clog10l.c: Likewise.
57139         * math/s_clogf.c: Likewise.
57140         * math/s_clogl.c: Likewise.
57141         * math/s_csin.c: Likewise.
57142         * math/s_csinf.c: Likewise.
57143         * math/s_csinh.c: Likewise.
57144         * math/s_csinhf.c: Likewise.
57145         * math/s_csinhl.c: Likewise.
57146         * math/s_csinl.c: Likewise.
57147         * math/s_csqrt.c: Likewise.
57148         * math/s_csqrtf.c: Likewise.
57149         * math/s_csqrtl.c: Likewise.
57150         * math/s_ctan.c: Likewise.
57151         * math/s_ctanf.c: Likewise.
57152         * math/s_ctanh.c: Likewise.
57153         * math/s_ctanhf.c: Likewise.
57154         * math/s_ctanhl.c: Likewise.
57155         * math/s_ctanl.c: Likewise.
57156         * math/s_ldexp.c: Likewise.
57157         * math/s_ldexpf.c: Likewise.
57158         * math/s_ldexpl.c: Likewise.
57159         * math/s_significand.c: Likewise.
57160         * math/s_significandf.c: Likewise.
57161         * math/s_significandl.c: Likewise.
57162         * math/w_acos.c: Likewise.
57163         * math/w_acosf.c: Likewise.
57164         * math/w_acosh.c: Likewise.
57165         * math/w_acoshf.c: Likewise.
57166         * math/w_acoshl.c: Likewise.
57167         * math/w_acosl.c: Likewise.
57168         * math/w_asin.c: Likewise.
57169         * math/w_asinf.c: Likewise.
57170         * math/w_asinl.c: Likewise.
57171         * math/w_atan2.c: Likewise.
57172         * math/w_atan2f.c: Likewise.
57173         * math/w_atan2l.c: Likewise.
57174         * math/w_atanh.c: Likewise.
57175         * math/w_atanhf.c: Likewise.
57176         * math/w_atanhl.c: Likewise.
57177         * math/w_cosh.c: Likewise.
57178         * math/w_coshf.c: Likewise.
57179         * math/w_coshl.c: Likewise.
57180         * math/w_dremf.c: Likewise.
57181         * math/w_exp10.c: Likewise.
57182         * math/w_exp10f.c: Likewise.
57183         * math/w_exp10l.c: Likewise.
57184         * math/w_exp2.c: Likewise.
57185         * math/w_exp2f.c: Likewise.
57186         * math/w_fmod.c: Likewise.
57187         * math/w_fmodf.c: Likewise.
57188         * math/w_fmodl.c: Likewise.
57189         * math/w_hypot.c: Likewise.
57190         * math/w_hypotf.c: Likewise.
57191         * math/w_hypotl.c: Likewise.
57192         * math/w_j0.c: Likewise.
57193         * math/w_j0f.c: Likewise.
57194         * math/w_j0l.c: Likewise.
57195         * math/w_j1.c: Likewise.
57196         * math/w_j1f.c: Likewise.
57197         * math/w_j1l.c: Likewise.
57198         * math/w_jn.c: Likewise.
57199         * math/w_jnf.c: Likewise.
57200         * math/w_jnl.c: Likewise.
57201         * math/w_lgamma.c: Likewise.
57202         * math/w_lgamma_r.c: Likewise.
57203         * math/w_lgammaf.c: Likewise.
57204         * math/w_lgammaf_r.c: Likewise.
57205         * math/w_lgammal.c: Likewise.
57206         * math/w_lgammal_r.c: Likewise.
57207         * math/w_log.c: Likewise.
57208         * math/w_log10.c: Likewise.
57209         * math/w_log10f.c: Likewise.
57210         * math/w_log10l.c: Likewise.
57211         * math/w_log2.c: Likewise.
57212         * math/w_log2f.c: Likewise.
57213         * math/w_log2l.c: Likewise.
57214         * math/w_logf.c: Likewise.
57215         * math/w_logl.c: Likewise.
57216         * math/w_pow.c: Likewise.
57217         * math/w_powf.c: Likewise.
57218         * math/w_powl.c: Likewise.
57219         * math/w_remainder.c: Likewise.
57220         * math/w_remainderf.c: Likewise.
57221         * math/w_remainderl.c: Likewise.
57222         * math/w_scalb.c: Likewise.
57223         * math/w_scalbf.c: Likewise.
57224         * math/w_scalbl.c: Likewise.
57225         * math/w_sinh.c: Likewise.
57226         * math/w_sinhf.c: Likewise.
57227         * math/w_sinhl.c: Likewise.
57228         * math/w_sqrt.c: Likewise.
57229         * math/w_sqrtf.c: Likewise.
57230         * math/w_sqrtl.c: Likewise.
57231         * math/w_tgamma.c: Likewise.
57232         * math/w_tgammaf.c: Likewise.
57233         * math/w_tgammal.c: Likewise.
57235         * po/ja.po: Update from translation team.
57237 2011-09-29  Andreas Jaeger  <aj@suse.de>
57239         [BZ #13179]
57240         * sunrpc/netname.c (netname2host): Fix logic.
57242         [BZ #6779]
57243         [BZ #6783]
57244         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
57245         correctly.
57246         * math/w_remainder.c (__remainder): Likewise.
57247         * math/w_remainderf.c (__remainderf): Likewise.
57248         * math/libm-test.inc (remainder_test): Add test cases.
57250 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57252         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
57253         sdiv_qrnnd.
57255 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57257         * string/test-memcmp.c: Avoid unncessary #defines.
57258         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
57260 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57262         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
57263         Use new sse2 version for core i3 - i7 as it's faster
57264         than sse42 version.
57265         (bit_Prefer_PMINUB_for_stringop): New.
57266         * sysdeps/x86_64/rawmemchr.S: Update.
57267         Replace with faster SSE2 version.
57268         * sysdeps/x86_64/memrchr.S: New file.
57269         * sysdeps/x86_64/memchr.S: Update.
57270         Replace with faster SSE2 version.
57272 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
57274         * elf/dl-load.c (lose): Add cast to avoid warning.
57276 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
57278         * po/ca.po: Update from translation team.
57280         * inet/getnetgrent_r.c: Hook up nscd.
57281         * nscd/Makefile (routines): Add nscd_netgroup.
57282         (nscd-modules): Add netgroupcache.
57283         (CFLAGS-netgroupcache.c): Define.
57284         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
57285         (cache_search): Add const to second parameter.
57286         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
57287         INNETGR.
57288         (dbs): Add netgrdb entry.
57289         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
57290         (verify_persistent_db): Handle netgrdb.
57291         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
57292         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
57293         GETFDNETGR.
57294         (netgroup_response_header): Define.
57295         (innetgroup_response_header): Define.
57296         (datahead): Add netgroup_response_header and innetgroup_response_header
57297         elements.
57298         * nscd/nscd.conf: Add entries for netgroup cache.
57299         * nscd/nscd.h (dbtype): Add netgrdb.
57300         (_PATH_NSCD_NETGROUP_DB): Define.
57301         (netgroup_iov_disabled): Declare.
57302         (xmalloc, xcalloc, xrealloc): Move declarations here.
57303         (cache_search): Adjust prototype.
57304         Add netgroup-related prototypes.
57305         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
57306         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
57307         (__nscd_innetgr): Declare.
57308         * nscd/selinux.c (perms): Use access_vector_t as element type and
57309         add netgroup-related initializers.
57310         * nscd/netgroupcache.c: New file.
57311         * nscd/nscd_netgroup.c: New file.
57312         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
57313         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
57314         For four parameters use innetgr.
57315         * nss/nss_files/files-init.c: Add definition and callback for netgr.
57316         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
57317         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
57318         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
57320         * nscd/connections.c (register_traced_file): Don't register file
57321         for disabled databases.
57323 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
57325         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
57327         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
57328         from tree and freeing node.
57330 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
57332         * nss/nsswitch.c (__nss_database_lookup): Handle
57333         nss_parse_service_list out of memory case.
57335 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
57337         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
57338         out of memory case.
57340 2011-10-04  Andreas Schwab  <schwab@redhat.com>
57342         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
57343         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
57344         pass it down.
57345         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
57346         elf_machine_rela, elf_machine_lazy_rel.
57347         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
57348         (ELF_DYNAMIC_DO_REL): Likewise.
57349         (ELF_DYNAMIC_DO_RELA): Likewise.
57350         (ELF_DYNAMIC_RELOCATE): Likewise.
57351         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
57352         to ELF_DYNAMIC_DO_REL.
57353         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
57354         (dl_main): In trace mode always set __RTLD_NOIFUNC.
57355         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
57356         elf_machine_rela.
57357         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
57358         skip_ifunc, don't call ifunc function if non-zero.
57359         (elf_machine_rela): Likewise.
57360         (elf_machine_lazy_rel): Likewise.
57361         (elf_machine_lazy_rela): Likewise.
57362         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
57363         (elf_machine_lazy_rel): Likewise.
57364         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
57365         Likewise.
57366         (elf_machine_lazy_rel): Likewise.
57367         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57368         Likewise.
57369         (elf_machine_lazy_rel): Likewise.
57370         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
57371         (elf_machine_lazy_rel): Likewise.
57372         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
57373         (elf_machine_lazy_rel): Likewise.
57374         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57375         (elf_machine_lazy_rel): Likewise.
57376         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
57377         (elf_machine_lazy_rel): Likewise.
57378         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
57379         (elf_machine_lazy_rel): Likewise.
57380         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
57381         (elf_machine_lazy_rel): Likewise.
57383 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
57385         * nss/nss_files/files-init.c (_nss_files_init): Use static
57386         initialization for all the *_traced_file variables.
57388 2011-09-28  Andreas Schwab  <schwab@redhat.com>
57390         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57392 2011-09-27  Roland McGrath  <roland@hack.frob.com>
57394         [BZ #13226]
57395         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
57397 2011-09-27  Andreas Schwab  <schwab@redhat.com>
57399         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
57400         Reread the line before reparsing it.
57402 2011-09-26  Andreas Schwab  <schwab@redhat.com>
57404         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
57406 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
57407             Maxim Kuvyrkov  <maxim@codesourcery.com>
57408             Joseph Myers  <joseph@codesourcery.com>
57410         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
57411         if needed for __stack_chk_guard.
57413 2011-09-19  Roland McGrath  <roland@hack.frob.com>
57415         * sysdeps/posix/spawni.c (script_execute): Always define it.
57416         It will be optimized away if unused.
57417         (maybe_script_execute): New function.
57418         (__spawni): Call it.
57420         * Makerules: Don't include tls.make.
57421         (config-tls): Always set to thread.
57422         * tls.make.c: File removed.
57424 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
57426         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
57427         * config.make.in (CPPFLAGS-config): New substituted variable.
57429 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57431         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
57433         [BZ #13192]
57434         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
57435         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
57437 2011-09-15  Roland McGrath  <roland@hack.frob.com>
57439         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
57440         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
57441         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57442         (CALL_FAIL): Likewise.
57443         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
57444         (CALL_FAIL): Macro removed.
57445         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
57447 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
57449         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
57450         for __FINITE_MATH_ONLY__ == 1.
57452 2011-09-15  Andreas Schwab  <schwab@redhat.com>
57454         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
57455         __ieee754_sqrt instead of sqrt.
57456         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
57457         __ieee754_sqrtf instead of sqrtf.
57458         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
57459         __floorf instead of floorf.
57460         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
57461         __floorf, __truncf instead of floorf, truncf.
57463 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
57465         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
57467         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
57468         __extern_always_inline.
57469         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
57470         32-bit.
57472 2011-09-14  Andreas Schwab  <schwab@redhat.com>
57474         * elf/rtld.c (dl_main): Also relocate in dependency order when
57475         doing symbol dependency testing.
57477 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
57479         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57480         Always define `refsym'.
57482 2011-09-13  Andreas Schwab  <schwab@redhat.com>
57484         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
57485         (__FD_ELT): Renamed from __FDELT.
57486         * misc/bits/select2.h (__FD_ELT): Likewise.
57487         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
57488         __FD_MASK instead of __FDELT, __FDMASK.
57489         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57490         Likewise.
57491         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
57492         Likewise.
57494         * elf/Makefile (gen-ldd): Fix pattern.
57496         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
57497         (init_tls): Likewise.
57499 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
57501         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
57503 2011-09-12  Andreas Schwab  <schwab@redhat.com>
57505         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
57506         `struct cmsghdr *' instead of `void *'.
57507         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
57508         Likewise.
57510 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
57512         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
57513         if non-absolute.
57514         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
57515         ldd_rewrite_script.
57517 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
57519         * configure.in: Remove --with-tls option.
57520         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
57521         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
57522         out in case it is missing.
57523         * sysdeps/ia64/elf/configure.in: Likewise.
57524         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
57525         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
57526         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
57527         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
57528         * sysdeps/sh/elf/configure.in: Likewise.
57529         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
57530         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57531         * sysdeps/x86_64/elf/configure.in: Likewise.
57532         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
57533         * sysdeps/mach/hurd/tls.h: Likewise.
57535         [BZ #13067]
57536         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
57538         [BZ #13090]
57539         * configure.in: Fix use of AC_INIT.
57541         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
57543 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
57545         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
57546         __set_errno.
57547         * malloc/hooks.c: Likewise.
57549         [BZ #11929]
57550         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
57551         variables statically.
57552         (narenas): Initialize.
57553         (list_lock): Initialize.
57554         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
57555         initializtion of main_arena and list_lock.  Small cleanups.
57556         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
57557         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
57558         Add initializers to main_arena and mp_.
57559         (malloc_state): Remove pagesize member.  Change all users to use
57560         GLRO(dl_pagesize).
57562         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
57563         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
57564         is always initialized.
57566         * malloc/malloc.c: Removed unused configurations and dead code.
57567         * malloc/arena.c: Likewise.
57568         * malloc/hooks.c: Likewise.
57569         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
57571         * include/tls.h: Removed.  USE___THREAD must always be defined.
57572         * bits/libc-tsd.h: Don't handle !USE___THREAD.
57573         * elf/dl-libc.c: Likewise.
57574         * elf/dl-tsd.c: Likewise.
57575         * include/errno.h: Likewise.
57576         * include/netdb.h: Likewise.
57577         * include/resolv.h: Likewise.
57578         * inet/herrno-loc.c: Likewise.
57579         * inet/herrno.c: Likewise.
57580         * malloc/arena.c: Likewise.
57581         * malloc/hooks.c: Likewise.
57582         * malloc/malloc.c: Likewise.
57583         * resolv/res-state.c: Likewise.
57584         * resolv/res_libc.c: Likewise.
57585         * sysdeps/i386/dl-machine.h: Likewise.
57586         * sysdeps/ia64/dl-machine.h: Likewise.
57587         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
57588         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57589         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
57590         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
57591         * sysdeps/sh/dl-machine.h: Likewise.
57592         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
57593         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
57594         * sysdeps/unix/i386/sysdep.S: Likewise.
57595         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57596         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
57597         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
57598         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57599         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
57600         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57601         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
57602         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
57603         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57604         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57605         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57606         * sysdeps/x86_64/dl-machine.h: Likewise.
57607         * tls.make.c: Likewise.
57609         * configure.in: Remove --with-__thread option.  Make tests for
57610         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
57611         tls_model attribute fail if no support is available.  Remove
57612         USE_IN_LIBIO.
57613         * Makeconfig: Adjust for dropped configure option.  All features are
57614         now mandatory.
57615         * Makerules: Likewise.
57616         * Versions.def: Likewise.
57617         * argp/argp-fmtstream.c: Likewise.
57618         * argp/argp-fmtstream.h: Likewise.
57619         * argp/argp-help.c: Likewise.
57620         * assert/assert.c: Likewise.
57621         * config.h.in: Likewise.
57622         * config.make.in: Likewise.
57623         * configure: Likewise.
57624         * configure.in: Likewise.
57625         * csu/Versions: Likewise.
57626         * csu/init.c: Likewise.
57627         * elf/tst-audit2.c: Likewise.
57628         * elf/tst-tls10.c: Likewise.
57629         * elf/tst-tls10.h: Likewise.
57630         * elf/tst-tls11.c: Likewise.
57631         * elf/tst-tls12.c: Likewise.
57632         * elf/tst-tls14.c: Likewise.
57633         * elf/tst-tlsmod11.c: Likewise.
57634         * elf/tst-tlsmod12.c: Likewise.
57635         * elf/tst-tlsmod13.c: Likewise.
57636         * elf/tst-tlsmod13a.c: Likewise.
57637         * elf/tst-tlsmod14a.c: Likewise.
57638         * elf/tst-tlsmod15b.c: Likewise.
57639         * elf/tst-tlsmod16a.c: Likewise.
57640         * elf/tst-tlsmod16b.c: Likewise.
57641         * elf/tst-tlsmod7.c: Likewise.
57642         * elf/tst-tlsmod8.c: Likewise.
57643         * elf/tst-tlsmod9.c: Likewise.
57644         * gmon/gmon.c: Likewise.
57645         * grp/fgetgrent_r.c: Likewise.
57646         * grp/putgrent.c: Likewise.
57647         * hurd/fopenport.c: Likewise.
57648         * include/libc-symbols.h: Likewise.
57649         * include/tls.h: Likewise.
57650         * intl/gettextP.h: Likewise.
57651         * intl/loadinfo.h: Likewise.
57652         * locale/global-locale.c: Likewise.
57653         * locale/localeinfo.h: Likewise.
57654         * mach/devstream.c: Likewise.
57655         * malloc/arena.c: Likewise.
57656         * malloc/set-freeres.c: Likewise.
57657         * misc/err.c: Likewise.
57658         * misc/getttyent.c: Likewise.
57659         * misc/mntent_r.c: Likewise.
57660         * posix/getopt.c: Likewise.
57661         * posix/wordexp.c: Likewise.
57662         * pwd/fgetpwent_r.c: Likewise.
57663         * resolv/Versions: Likewise.
57664         * resolv/res_hconf.c: Likewise.
57665         * shadow/fgetspent_r.c: Likewise.
57666         * shadow/putspent.c: Likewise.
57667         * stdio-common/printf_fphex.c: Likewise.
57668         * stdio-common/tmpfile.c: Likewise.
57669         * stdlib/abort.c: Likewise.
57670         * stdlib/fmtmsg.c: Likewise.
57671         * sunrpc/auth_unix.c: Likewise.
57672         * sunrpc/clnt_perr.c: Likewise.
57673         * sunrpc/clnt_tcp.c: Likewise.
57674         * sunrpc/clnt_udp.c: Likewise.
57675         * sunrpc/clnt_unix.c: Likewise.
57676         * sunrpc/openchild.c: Likewise.
57677         * sunrpc/svc_simple.c: Likewise.
57678         * sunrpc/svc_tcp.c: Likewise.
57679         * sunrpc/svc_udp.c: Likewise.
57680         * sunrpc/svc_unix.c: Likewise.
57681         * sunrpc/xdr.c: Likewise.
57682         * sunrpc/xdr_array.c: Likewise.
57683         * sunrpc/xdr_rec.c: Likewise.
57684         * sunrpc/xdr_ref.c: Likewise.
57685         * sunrpc/xdr_stdio.c: Likewise.
57687 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57689         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57691 2011-07-03  Andreas Jaeger  <aj@suse.de>
57693         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
57694         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
57695         regenerate with gen-libm-tests.pl.
57697 2010-05-12  Petr Baudis  <pasky@suse.cz>
57699         [BZ #11589]
57700         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
57701         around j0() zero points by switching to j1().
57702         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57703         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57704         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57705         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57707 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57709         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
57710         instead of 0.
57711         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
57712         instead of 0.
57713         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57714         Patch in part by Pavel Roskin <proski@gnu.org>.
57716         [BZ #13138]
57717         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
57718         realloc.
57719         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
57720         Free memory block if necessary.
57722         [BZ #12847]
57723         * libio/genops.c (INTDEF): For string streams the _lock pointer can
57724         be NULL.  Don't lock in this case.
57726 2011-09-09  Roland McGrath  <roland@hack.frob.com>
57728         * elf/elf.h (ELFOSABI_GNU): New macro.
57729         (ELFOSABI_LINUX): Define to that.
57731 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
57733         * string/strncat.c (strncat): Undef the symbol in case it has been
57734         defined in bits/string.h.
57736 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
57738         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
57740         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
57741         link map.
57743 2011-08-17  Andreas Jaeger  <aj@suse.de>
57745         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
57747 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
57748             Ian Lance Taylor  <iant@google.com>
57750         * math/libm-test.inc (lround_test): New testcase.
57751         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
57753 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
57755         * Makefile: Remove support for automatic cvs check-ins.
57756         * Makerules: Likewise.
57757         * config.make.in: Likewise.
57758         * configure.in: Likewise.
57759         * intl/Makefile: Likewise.
57760         * locale/Makefile: Likewise.
57761         * po/Makefile: Likewise.
57762         * posix/Makefile: Likewise.
57763         * sysdeps/gnu/Makefile: Likewise.
57764         * sysdeps/mach/hurd/Makefile: Likewise.
57765         * sysdeps/sparc/sparc32/Makefile: Likewise.
57767         [BZ #13118]
57768         * posix/Makefile (bug-regex32-ENV): Define.
57769         Patch by John Stanley <jpsinthemix@verizon.net>.
57771         * misc/Makefile (headers): Add bits/select2.h.
57772         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
57773         * misc/bits/select2.h: New file.
57774         * include/bits/select2.h: New file.
57775         * debug/Makefile (routines): Add fdelt_chk.
57776         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
57777         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
57778         FD_ISSET.
57779         * debug/fdelt_chk.c: New file.
57781         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
57782         * wcsmbs/test-wmemcmp.c: Likewise.
57783         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
57784         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
57786 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57788         * string/Makefile (strop-tests): Add memcmp.
57789         * string/test-wmemcmp.c: New file.
57790         * string/test-memcmp.c: Add wmemcmp support.
57792 2011-09-08  Roland McGrath  <roland@hack.frob.com>
57794         [BZ #13153]
57795         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
57796         2011-07-19 change.
57798         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
57799         garbage value in a __mach_port_mod_refs call in the cases of the
57800         task-self and thread-self ports.
57802 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57804         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
57806 2011-09-08  Andreas Schwab  <schwab@redhat.com>
57808         * elf/dl-load.c (lose): Check for non-null L.
57810 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
57812         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
57814         * elf/dl-libc.c (dlerror_run): Pass back error code from
57815         dl_catch_error.
57817         [BZ #13123]
57818         * elf/dl-load.c (lose): Free l_origin if it is valid.
57820         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
57821         names.
57822         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
57823         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57824         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57825         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57826         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
57827         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
57829 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57831         * sysdeps/powerpc/fpu/e_hypot.c: New file.
57832         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
57833         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
57834         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
57835         * sysdeps/powerpc/fpu/k_cosf.c: New file.
57836         * sysdeps/powerpc/fpu/k_sinf.c: New file.
57837         * sysdeps/powerpc/fpu/s_cosf.c: New file.
57838         * sysdeps/powerpc/fpu/s_sinf.c: New file.
57839         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
57840         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
57842 2011-08-15  Alan Modra  <amodra@gmail.com>
57844         [BZ #13092]
57845         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
57846         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
57847         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
57848         ppc_mcount to static-only-routines.
57849         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
57850         __mcount_internal.
57851         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
57852         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
57854 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
57856         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
57857         for finite and infinity parameters.
57859 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57861         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
57862         and add nop instructions for throughput optimization.
57863         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57865 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
57867         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
57868         aligned copy for power7 with vector-scalar instructions.
57869         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57871 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
57873         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
57874         AVX check.
57876 2011-09-07  Andreas Schwab  <schwab@redhat.com>
57878         [BZ #13144]
57879         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
57880         last change.
57882 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
57884         * sysdeps/unix/sysv/linux/x86_64/init-first.c
57885         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
57886         syscall wrapper around clock_gettime in __vdso_clock_gettime.
57887         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
57888         clock_gettime.
57890 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
57892         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
57893         Forgot to demangle the pointer.
57895         * sysdeps/i386/sysdep.h: Define atom_text_section.
57896         * sysdeps/x86_64/sysdep.h: Likewise.
57897         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
57898         section with atom_text_section.
57899         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
57900         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
57901         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
57902         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57903         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
57905         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
57906         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
57907         already be defined.  Change to take two parameters and don't assign
57908         result to variable.  Adjust all users.
57909         Define INTERNAL_GETTIME if not already defined.
57910         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
57911         call.
57912         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
57913         HAVE_CLOCK_GETTIME_VSYSCALL.
57914         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
57916         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
57917         gettimeofday vsyscall, just use time.
57919 2011-09-06  Andreas Schwab  <schwab@redhat.com>
57921         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
57922         <errno.h>.
57924 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
57926         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
57927         syscall on x86-64.
57928         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
57929         syscall.
57930         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
57931         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
57932         syscall if possible.
57934 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57936         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
57937         e_ident.  Don't pass to find_mapsXX.
57938         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
57940 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57942         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57943         strchr-sse2-no-bsf strrchr-sse2-no-bsf
57944         * sysdeps/x86_64/multiarch/strchr.S: Update.
57945         Check bit_slow_BSF bit.
57946         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57947         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
57948         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
57950 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
57952         [BZ #13134]
57953         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
57954         before glibc 2.15.
57955         (tryshell): Define.
57956         (__spawni): Change last parameter to be flag.  Test
57957         SPAWN_XFLAGS_USE_PATH flag to use path or not.
57958         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
57959         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
57960         * posix/spawni.c: Likewise.
57961         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
57962         * posix/spawnp.c: Likewise.  Change normal version to use
57963         SPAWN_XFLAGS_USE_PATH.
57964         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
57965         SPAWN_XFLAGS_TRY_SHELL.
57967         [BZ #13150]
57968         * posix/glob.h: Remove gcc 1.x support.
57970         [BZ #13068]
57971         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
57973 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57975         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57976         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
57977         strrchr-sse2-bsf
57978         * sysdeps/i386/i686/multiarch/strchr.S: New file.
57979         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
57980         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
57981         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
57982         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
57983         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
57985 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57987         * sysdeps/x86_64/wcscmp.S: New file.
57989         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
57990         wcscmp-c wcscmp-sse2
57991         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
57992         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
57993         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
57994         * wcsmbs/wcscmp.c: Allow renaming.
57996 2011-09-05  David S. Miller  <davem@davemloft.net>
57998         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
57999         stack slot, rather than the struct return pointer slot.
58000         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
58001         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
58002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
58003         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
58005 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
58007         * po/ja.po: Update from translation team.
58009         [BZ #13144]
58010         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
58011         kernel in 64-bit binaries.
58013 2011-09-01  David S. Miller  <davem@davemloft.net>
58015         * elf/elf.h (HWCAP_SPARC_*): Move to..
58016         * sysdeps/sparc/sysdep.h: this new file and add new values.
58017         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
58018         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
58019         _DL_HWCAP_COUNT to 24.
58020         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
58021         entries.
58022         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
58023         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
58024         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
58025         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
58026         instead of magic constants.
58027         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58029 2011-08-31  David S. Miller  <davem@davemloft.net>
58031         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
58032         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
58033         Reimplement to do errno handling inline.
58034         (SYSCALL_ERROR_HANDLER): New macro.
58035         (__SYSCALL_STRING): Do not do errno handling in asm.
58036         (__CLONE_SYSCALL_STRING): Delete.
58037         (__INTERNAL_SYSCALL_STRING): Delete.
58038         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
58039         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
58040         (PSEUDO): Reimplement to do errno handling inline.
58041         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
58042         (SYSCALL_ERROR_HANDLER): New macro.
58043         (__SYSCALL_STRING): Do not do errno handling in asm.
58044         (__CLONE_SYSCALL_STRING): Delete.
58045         (__INTERNAL_SYSCALL_STRING): Delete.
58046         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
58047         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
58048         i386.
58049         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
58050         (inline_syscall*): Add 'err' argument.
58051         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
58052         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
58053         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
58054         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
58056         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
58057         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
58059 2011-08-30  Andreas Schwab  <schwab@redhat.com>
58061         * elf/rtld.c (dl_main): Relocate objects in dependency order.
58063 2011-08-29  Jiri Olsa <jolsa@redhat.com>
58065         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
58066         directive.
58068 2011-08-24  David S. Miller  <davem@davemloft.net>
58070         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
58072 2011-08-24  Andreas Schwab  <schwab@redhat.com>
58074         * elf/Makefile: Add rules to build and run unload8 test.
58075         * elf/unload8.c: New file.
58076         * elf/unload8mod1.c: New file.
58077         * elf/unload8mod1x.c: New file.
58078         * elf/unload8mod2.c: New file.
58079         * elf/unload8mod3.c: New file.
58081         * elf/dl-close.c (_dl_close_worker): Reset private search list if
58082         it wasn't used.
58084 2011-08-23  David S. Miller  <davem@davemloft.net>
58086         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
58087         subtract stack bias.
58088         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
58089         %sp not %fp in calculations.
58090         (_JMPBUF_UNWINDS_ADJ): Likewise.
58092         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
58093         (aio_suspend): Call it to force an exception region around the
58094         AIO_MISC_WAIT() invocation.
58096 2011-08-23  Andreas Schwab  <schwab@redhat.com>
58098         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
58099         backslash.
58101 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
58103         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
58104         protection macro.
58105         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
58106         and <dl-machine.h>.
58107         (Elf64_FuncDesc): Remove.
58109 2011-08-22  David S. Miller  <davem@davemloft.net>
58111         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
58112         sigaltstack check, add missing cfi directives.
58113         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
58114         missing cfi directives, and sigaltstack handling.
58116 2011-08-16  Andreas Schwab  <schwab@redhat.com>
58118         [BZ #11724]
58119         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
58120         object is seen twice.
58121         * elf/dl-fini.c (_dl_sort_fini): Likewise.
58123         * elf/Makefile (distribute): Add tst-initorder2.c.
58124         (tests): Add tst-initorder2.
58125         (modules-names): Add tst-initorder2a tst-initorder2b
58126         tst-initorder2c tst-initorder2d.  Add rules to build them.
58127         ($(objpfx)tst-initorder2.out): New rule.
58128         * elf/tst-initorder2.c: New file.
58129         * elf/tst-initorder2.exp: New file.
58131 2011-08-22  Andreas Schwab  <schwab@redhat.com>
58133         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
58135         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
58136         dependencies back to end of function.
58138         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58139         $(elfobjdir)/ld.so.
58141 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
58143         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
58144         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
58145         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
58146         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
58147         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
58148         of __vdso_gettimeofday.
58149         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
58150         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
58151         attribute_hidden.
58152         (_libc_vdso_platform_setup): Remove initialization of
58153         __vdso_gettimeofday and __vdso_time.
58155 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58157         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
58158         and fgetc_unlocked.
58159         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
58160         getc_unlocked.
58162         * elf/dl-open.c (add_to_global): Report additions to the global scope
58163         for LD_DEBUG=scopes.
58164         (dl_open_worker): Also print scope of newly loaded dependencies.
58165         (_dl_show_scope): Indicate if there is no scope.
58167         [BZ #13114]
58168         * stdio-common/Makefile (tests): Add bug24.
58169         * stdio-common/bug24.c: New file.
58171 2011-08-19  Andreas Jaeger  <aj@suse.de>
58173         [BZ #13114]
58174         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
58175         non-existant file when using close-on-exec mode.
58177 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
58179         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
58180         the very first instruction.
58182         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
58183         the CFI state in the end.
58184         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
58185         inclusion of dl-trampoline.h.
58186         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
58188 2011-08-19  Andreas Schwab  <schwab@redhat.com>
58190         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
58191         expectations for long double.
58193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
58194         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
58196 2011-08-14  David S. Miller  <davem@davemloft.net>
58198         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
58199         artificual limit depends upon the system page size.
58201 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58203         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
58204         * resolv/Makefile: Define CFLAGS-libresolv.
58206 2011-08-17  Andreas Schwab  <schwab@redhat.com>
58208         * nss/makedb.c (compute_tables): Make variables used in nested
58209         function static.
58211 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
58213         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
58214         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
58215         if buffer was too small.
58217         * elf/pldd.c (main): Attach to all threads in the process.
58218         Rewrite /proc handling to use *at functions.
58220 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
58222         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
58223         specifies first scope to show.
58224         (dl_open_worker): Update callers.  Move printing scope of new
58225         object to before the relocation.
58226         * elf/rtld.c (dl_main): Update _dl_show_scope call.
58227         * sysdeps/generic/ldsodefs.h: Update declaration.
58229         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
58230         string for the scope number.
58232 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
58234         * nscd/servicescache.c (cache_addserv): Make sure written is always
58235         initialized.
58237 2011-08-14  Roland McGrath  <roland@hack.frob.com>
58239         * sysdeps/i386/i486/bits/atomic.h
58240         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
58241         statement expression, so as to suppress "set but not used" warning.
58242         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
58244         * string/strncat.c (STRNCAT): Use prototype definition.
58246         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
58247         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
58248         -Iprograms here.
58249         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
58250         (localedef-modules): Add localedef.
58251         (locale-modules): Add locale.
58253         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
58254         * elf/rtld.c (dl_main): Invert order of assignment in last change,
58255         to avoid a warning.
58257 2011-08-14  David S. Miller  <davem@davemloft.net>
58259         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
58260         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
58262 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
58264         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
58265         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
58266         * elf/rtld.c (dl_main): Set l_name of vDSO.
58267         Call _dl_show_scope when DL_DEBUG_SCOPES.
58268         (process_dl_debug): Recognize scopes flag and also set it for all.
58269         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
58270         Declare _dl_show_scope.
58272         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
58273         (do_dlopen): Pass caller_dlopen to dl_open.
58274         (__libc_dlopen_mode): Initialize caller_dlopen.
58276         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
58277         of libc.  Make tolower call locale-independent.  Optimize a bit by
58278         using isdigit instead of isalnum.
58279         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
58281 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
58283         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
58284         was a dependency or dynamically loaded.
58286 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
58288         * intl/l10nflist.c: Allow architecture-specific pop function.
58289         * sysdeps/x86_64/l10nflist.c: New file.
58291         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
58292         classification.
58294 2011-08-10  Andreas Schwab  <schwab@redhat.com>
58296         * include/dirent.h: Add libc_hidden_proto for scandirat and
58297         scandirat64.  Don't declare __scandirat64.
58298         * dirent/scandirat.c: Add libc_hidden_def.
58299         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
58300         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
58302 2011-08-10  David S. Miller  <davem@davemloft.net>
58304         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
58305         enum.
58306         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58307         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58308         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58310 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
58312         * Versions.def [libc]: Add GLIBC_2.15.
58313         * dirent/Makefile (routines): Add scandirat and scandirat64.
58314         * dirent/Versions [libc]: Export scandirat and scandirat64 for
58315         GLIBC_2.15.
58316         * dirent/dirent.h: Declare scandirat and scandirat64.
58317         * dirent/scandirat.c: New file.
58318         * dirent/scandirat64.c: New file.
58319         * sysdeps/wordsize-64/scandirat.c: New file.
58320         * sysdeps/wordsize-64/scandirat64.c: New file.
58321         * dirent/opendir.c: Define opendirat.
58322         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
58323         using scandirat.
58324         * dirent/scandir64.c: Adjust for scandir.c change.
58325         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
58326         __scandirat64, and __scandir_cancel_handler.
58327         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
58328         additional parameter and use openat instead of open (outside of ld.so).
58329         Add new __opendir as wrapper around __opendirat.
58330         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
58331         here without requiring old scandirat implementation.
58333 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
58335         * dirent/scandir.c (cancel_handler): Renamed to
58336         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
58337         defined.  Adjust users.
58338         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
58339         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
58341 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
58343         * string/test-string.h (IMPL): Use __STRING to expand name and then
58344         stringify it.
58346         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
58347         of cleanups.
58349 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58351         * string/Makefile: Update.
58352         (strop-tests): Append strncat.
58353         * string/test-wcscmp.c: New file.
58354         New comprehensive test for wcscmp.
58355         * string/test-strcmp.c: Update.
58356         (WIDE): New define.
58358 2011-07-22  Andreas Schwab  <schwab@redhat.com>
58360         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
58361         line.
58363 2011-07-26  Andreas Schwab  <schwab@redhat.com>
58365         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58366         encoding to ACE if AI_IDN.
58368 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
58370         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
58371         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
58373 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58375         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
58376         Fix overflow bug in strncat.
58377         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
58379         * string/test-strncat.c: Update.
58380         Add new tests for checking overflow bugs.
58382 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58384         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58385         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
58386         * sysdeps/i386/i686/multiarch/strcat.S: New file.
58387         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
58388         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
58389         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
58390         * sysdeps/i386/i686/multiarch/strncat.S: New file.
58391         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
58392         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
58394         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
58395         (USE_AS_STRCAT): Define.
58396         Add strcat and strncat support.
58397         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
58399 2011-07-25  Andreas Schwab  <schwab@redhat.com>
58401         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
58402         __n bigger than INT_MAX+1.
58403         (__strncmp_g): Likewise.
58405 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
58407         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
58408         * libio/stido.h: Likewise.
58410         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
58411         (AF_NFC): Define.
58412         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
58413         (AF_NFC): Define.
58415         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
58416         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58417         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58418         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
58419         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58421         [BZ #13021]
58422         * scripts/test-installation.pl: Don't expect libnss_test1 to be
58423         installed.
58425         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
58426         typo.
58427         (_dl_x86_64_save_sse): Likewise.
58429 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
58431         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
58432         OSXSAVE.
58433         (_dl_x86_64_save_sse): Likewise.
58435         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
58437         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
58439 2011-07-21  Andreas Schwab  <schwab@redhat.com>
58441         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
58442         change.
58443         (_dl_x86_64_save_sse): Use correct AVX check.
58445 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58447         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
58448         bug in strncpy/strncat.
58449         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
58451 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
58453         * string/tester.c (test_strcat): Add tests for different alignments
58454         of source and destination.
58455         (test_strncat): Likewise.
58457 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58459         [BZ #12852]
58460         * posix/glob.c (glob): Check passed in values before using them in
58461         expressions to avoid some overflows.
58462         (glob_in_dir): Likewise.
58464         [BZ #13007]
58465         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
58466         check for AVX enablement so that we don't crash with old kernels and
58467         new hardware.
58468         * elf/tst-audit4.c: Add same checks here.
58469         * elf/tst-audit6.c: Likewise.
58471         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
58473 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
58475         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
58477 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
58479         * po/cs.po: Update from translation team.
58480         * po/bg.po: Likewise.
58482 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
58484         * misc/sys/cdefs.h: Add support for const attribute.
58485         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
58486         to gnu_dev_{major,minor,makedev} functions.
58488 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
58490         * intl/dcigettext.c (get_output_charset): Add missing bracket.
58492 2011-07-20  Andreas Schwab  <schwab@redhat.com>
58494         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
58495         strlen results.
58497 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58499         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
58500         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
58501         register in order to avoid conflicts with the soft frame pointer
58502         being held in r11 when necessary.
58503         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
58504         (INTERNAL_VSYSCALL_NCS): Likewise.
58506 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
58508         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
58509         * elf/dl-fini.c (_dl_fini): Adjust caller.
58510         * elf/dl-close.c (_dl_close_worker): Likewise.
58511         * sysdeps/generic/ldsodefs.h: Adjust declaration.
58513 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58515         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
58516         "aux_cache->nlibs < 0".
58518         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
58519         in the reload-count case.
58521 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58523         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58524         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
58525         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
58526         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
58527         * sysdeps/x86_64/multiarch/strcat.S: New file.
58528         * sysdeps/x86_64/multiarch/strncat.S: New file.
58529         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
58530         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
58531         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
58532         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
58533         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
58534         (USE_AS_STRCAT): Define.
58535         Add strcat and strncat support.
58536         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
58537         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58538         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
58539         * string/strncat.c: Update.
58540         (USE_AS_STRNCAT): Define.
58541         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58542         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
58543         and i7.
58544         * sysdeps/x86_64/multiarch/init-arch.h
58545         (bit_Prefer_PMINUB_for_stringop): New.
58546         (index_Prefer_PMINUB_for_stringop): Likewise.
58547         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
58548         bit_Prefer_PMINUB_for_stringop.
58550 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58552         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
58553         buffer64.
58554         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
58555         of casting of buffer.
58556         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
58557         buffer32 and buffer64.
58558         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
58559         writes instead of casting of buffer.
58560         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
58561         buffer32.
58562         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
58563         casting of buffer.
58565 2011-07-19  Andreas Schwab  <schwab@redhat.com>
58567         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
58569 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
58571         * nscd/nscd.c (termination_handler): Don't do anything for a database
58572         if it has not yet been initialized.
58574 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58576         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58578 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
58580         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
58582 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
58584         * po/nl.po: Update from translation team.
58585         * po/sv.po: Likewise.
58587 2011-07-16  Roland McGrath  <roland@hack.frob.com>
58589         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
58590         now disallowed by GCC.
58592         * configure.in (use-default-link): Default to yes if a test -shared
58593         link meets our qualifications.
58594         * configure: Regenerated.
58596         * config.make.in (output-format): New variable.
58597         * configure.in: Check for ld --print-output-format support.
58598         * configure: Regenerated.
58599         * Makerules ($(common-objpfx)format.lds)
58600         [$(output-format) != unknown]: Just use $(output-format),
58601         instead of the linker-script munging.
58603 2011-07-14  Roland McGrath  <roland@hack.frob.com>
58605         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
58606         of $(common-objpfx)shlib.lds.
58607         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
58609         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
58610         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
58612         * configure.in (-z relro check): Adjust test code to add a large
58613         writable data section after it.
58614         * configure: Regenerated.
58616 2011-07-11  Roland McGrath  <roland@hack.frob.com>
58618         * configure.in (-z relro check): Fix test code to make the variable
58619         truly const.
58620         * configure: Regenerated.
58622 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
58624         * nscd/nscd.h (struct traced_file): Define.
58625         (struct database_dyn): Remove inotify_descr, reset_res, and filename
58626         elements.  Add traced_files.
58627         (inotify_fd): Declare.
58628         (register_traced_file): Declare.
58629         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
58630         (inotify_fd): Export.
58631         (resolv_conf_descr): Remove.
58632         (nscd_init): Move inotify descriptor creation to main.
58633         Don't register files for notification here.
58634         (register_traced_file): New function.
58635         (invalidate_cache): Don't use reset_res to determine whether to call
58636         res_init, go through the list of registered files.
58637         (main_loop_poll): The inotify descriptors are now stored in the
58638         structures for the traced files.
58639         (main_loop_epoll): Likewise
58640         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
58641         to __nss_disable_nscd.
58642         * nscd/cache.c (prune_cache): There is no single inotify descriptor
58643         for a database anymore.  Check the records for all the registered
58644         files instead.
58645         * nss/Makefile (libnss_files-routines): Add files-init.
58646         (libnss_db-routines): Add db-init.
58647         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
58648         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
58649         * nss/nss_db/db-init.c: New file.
58650         * nss/nss_files/files-init.c: New file.
58651         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
58652         __nss_lookup_function.
58653         (__nss_lookup_function): Call nss_load_library.
58654         (nss_load_all_libraries): New function.
58655         (__nss_disable_nscd): Take parameter with callback function for files
58656         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
58657         used for the cached services.
58658         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
58659         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
58660         options for features to all the files in nscd.
58662         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
58664 2011-07-10  Roland McGrath  <roland@hack.frob.com>
58666         * csu/elf-init.c (__libc_csu_init): Comment typo.
58668 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
58670         * po/pl.po: Update from translation team.
58671         * po/ja.po: Likewise.
58672         * po/ru.po: Likewise.
58673         * po/ko.po: Likewise.
58674         * po/fr.po: Likewise.
58676 2011-07-09  Roland McGrath  <roland@hack.frob.com>
58678         * configure.in (.ctors/.dtors header and trailer check):
58679         Use an empirical test on a built program.
58680         * configure: Regenerated.
58682         * configure.in (-z relro check): Use an empirical test on a built DSO.
58683         Detect, but do not require, on ia64.
58684         * configure: Regenerated.
58686         * configure.in (READELF): Find it with AC_CHECK_TOOL.
58687         Update tests that use readelf to use $READELF instead.
58688         * configure: Regenerated.
58690 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
58692         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
58693         if the result is not used.
58695 2011-07-05  Andreas Jaeger  <aj@suse.de>
58697         [BZ#9696]
58698         * stdlib/tst-strtod.c: Add testcase.
58700 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
58702         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
58703         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
58704         The latter has a higher limit.  Take additional parameter to pass to
58705         the new function.
58706         (__pathconf): Pass file to __statfs_link_max.
58707         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
58708         __statfs_link_max.
58709         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
58710         __statfs_link_max.
58712         [BZ #12868]
58713         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
58714         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58715         Handle Lustre.
58716         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
58717         (__statfs_filesize_max): Likewise.
58718         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
58720 2011-07-05  Andreas Jaeger  <aj@suse.de>
58722         * resolv/res_comp.c (dn_skipname): Remove unused variable.
58724 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
58726         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
58727         `status' variable.
58728         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
58729         Likewise.
58731 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
58733         * Makefile (strop-tests): Add strncat.
58734         * string/test-strncat.c: New file.
58736 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
58738         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
58740 2011-06-21  Andreas Jaeger  <aj@suse.de>
58742         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
58743         Copy rule from iconvdata/Makefile.
58745 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58747         [BZ #12922]
58748         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
58749         but no long options are defined, just return 'W'.
58751 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
58753         [BZ #9696]
58754         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
58756 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
58758         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
58759         netgroups to read.
58760         (innetgr): Likewise.
58762 2011-07-05  Roland McGrath  <roland@hack.frob.com>
58764         * config.make.in (install_root): Default to $(DESTDIR).
58766 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
58768         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
58770 2011-07-02  Roland McGrath  <roland@hack.frob.com>
58772         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
58774         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
58775         containing directory rather than embedding absolute directory names.
58777         * scripts/check-local-headers.sh: Rewritten using awk.
58778         Match by word, not by line.  Print error messages for matches.
58779         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
58781         * Makerules [shlib-lds-flags empty]:
58782         ($(common-objpfx)libc_pic.opts): New target.
58783         ($(common-objpfx)libc_pic.os.clean): New target.
58784         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
58786         * config.make.in (OBJCOPY): New variable.
58787         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
58788         * configure: Regenerated.
58790         * config.make.in (use-default-link): New variable.
58791         * configure.in (use_default_link): Grok --with-default-link to set it.
58792         * configure: Regenerated.
58793         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
58794         (shlib-lds, shlib-lds-flags): Define to empty.
58796         * Makerules (shlib-lds): New variable.
58797         (shlib-lds-flags): New variable.
58798         (build-shlib, build-moduile, build-module-asneeded): Use it.
58799         ($(common-objpfx)libc.so): Use $(shlib-lds).
58800         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
58801         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
58803         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
58804         DT_FLAGS/DT_FLAGS_1 with zero flags.
58806         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
58807         linker script munging.
58809 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
58811         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
58812         as 128-bit value.
58813         * crypt/sha512.c (sha512_process_block): Perform total addition using
58814         128-bit if possible.
58815         (__sha512_finish_ctx): Likewise.
58816         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
58817         as 64-bit value.
58818         * crypt/sha256.c (SWAP64): Define.
58819         (sha256_process_block): Perform total addition using 64-bit if
58820         possible.
58821         (__sha256_finish_ctx): Likewise.
58823 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
58825         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
58826         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58827         * nscd/hstcache.c (cache_addhst): Likewise.
58828         * nscd/grpcache.c (cache_addgr): Likewise.
58829         * nscd/aicache.c (addhstaiX): Likewise
58830         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
58832 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
58834         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
58835         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58836         * nscd/hstcache.c (cache_addhst): Likewise.
58837         * nscd/grpcache.c (cache_addgr): Likewise.
58838         * nscd/aicache.c (addhstaiX): Likewise
58840 2011-07-01  Andreas Schwab  <schwab@redhat.com>
58842         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
58843         domain only when needed.
58845 2011-06-30  Andreas Schwab  <schwab@redhat.com>
58847         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
58848         is always restored.
58850 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
58852         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
58853         are re-adding the entry.
58854         * nscd/servicescache.c (cache_addserv): Likewise.
58856 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
58858         * sysdeps/generic/dl-irel.h: fix protection against multiple
58859         inclusions.
58860         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
58862 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
58864         [BZ #12935]
58865         * malloc/memusage.sh: Fix quoting in message.
58866         * debug/xtrace.sh: Likewise.
58868         * configure.in: Remove support for --experimental-malloc option, make
58869         it the default.
58870         * config.make.in: Likewise.
58871         * malloc/Makefile: Likewise.
58873 2011-06-27  Andreas Schwab  <schwab@redhat.com>
58875         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
58876         two-byte characters.
58878 2011-06-27  Roland McGrath  <roland@hack.frob.com>
58880         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
58881         AC_CACHE_CHECK invocation.
58882         * configure: Regenerated.
58884         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
58886 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
58888         [BZ #12350]
58889         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
58890         bit from old_res_options.
58892         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
58894         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
58895         value type for setfct.
58897 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
58899         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58900         __gettimeofday instead of gettimeofday.
58902 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
58904         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
58906 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
58908         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
58910         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
58911         info.
58913 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
58915         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58916         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58917         strcpy-sse2-unaligned strncpy-sse2-unaligned
58918         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
58919         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
58920         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
58921         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
58922         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
58923         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
58924         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
58925         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
58926         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
58927         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
58928         (STRCPY): Support SSE2 and SSSE3 versions.
58930 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
58932         [BZ #12874]
58933         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
58934         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
58935         kernels which artificially limit size of requests.
58937 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
58939         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58940         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
58941         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
58942         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
58943         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
58944         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
58945         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
58946         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
58947         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
58948         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
58949         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
58950         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
58951         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
58952         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
58953         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
58954         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58955         Enable unaligned load optimization for Intel Core i3, i5 and i7
58956         processors.
58957         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
58958         Define.
58959         (index_Fast_Unaligned_Load): Define.
58960         (HAS_FAST_UNALIGNED_LOAD): Define.
58962 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
58964         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
58966 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
58968         [BZ #12907]
58969         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
58970         until it is clear that the information is realy needed.
58971         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
58973 2011-06-22  Andreas Schwab  <schwab@redhat.com>
58975         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
58977 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
58979         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
58980         /sys/devices/system/cpu/online if it is usable.
58982         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
58983         reading the information from the /proc filesystem to once a second.
58985 2011-06-21  Andreas Jaeger  <aj@suse.de>
58987         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
58988         NULL after inclusion of kernel headers.
58990 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
58992         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
58993         calls to internal_setent.
58995         [BZ #12885]
58996         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
58997         addresses using gethostbyname4_r ignore IPv4 addresses.
58999         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
59000         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
59002         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
59004 2011-06-20  David S. Miller  <davem@davemloft.net>
59006         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
59007         inclusions.
59008         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
59010         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
59011         (elf_irel): Use it.
59012         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
59013         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
59014         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
59015         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
59016         * sysdeps/x86_64/dl-irel.h: Likewise.
59018         * elf/dl-runtime.c: Use elf_ifunc_invoke.
59019         * elf/dl-sym.c: Likewise.
59021 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59023         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
59024         need to dereference resplen2.
59026 2011-06-14  Andreas Schwab  <schwab@redhat.com>
59028         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
59030 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
59032         * Makeconfig: Define vardbdir and inst_vardbdir.
59033         * nss/Makefile: Add rules to install db-Makefile.
59035         * nss/nss_db/db-XXX.c: Cleanup.
59037         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
59038         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
59039         GLIBC_PRIVATE.
59040         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
59041         * nss/makedb.c: Implement -g option to specify that value strings
59042         are generated and should not be added to table iterated over for
59043         get*ent calls.
59044         * nss/nss_db/db-initgroups.c: New file.
59046         * nss/getent.c: Add support for initgroups lookups through getgrouplist
59047         interface.
59049         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
59050         (internal_getgrouplist): Adjust to name change.
59051         Update use_initgroups_entry if this is not the first call.
59052         * nss/databases.def: Add initgroups entry.
59054         * nss/makedb.c (compute_tables): Check result of multiple hash table
59055         sizes to minimize maximum chain length.
59057 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
59059         * Versions.def: Add entry for libnss_db.
59060         * shlib-versions: Likewise.
59061         * nss/Makefile: Add rules to build libnss_db.
59062         * nss/Versions: Add libnss_db information.  Organize libnss_files
59063         entries better.
59064         * nss/db-Makefile: Add gshadow support.  Change rules for the new
59065         makedb progra.  Some minor improvements to generate smaller files.
59066         * nss/nss_db/nss_db.h: Move NSS database header data structures to
59067         here from...
59068         * nss/makedb.c: ...here.
59069         Improve database format to be smaller and require less memory at
59070         runtime.
59071         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
59072         db anymore.
59073         * nss/nss_db/db-netgrp.c: Likewise.
59074         * nss/nss_db/db-open.c: Likewise.
59075         * nss/nss_files/flies-XXX.x: Adjust comments.
59076         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
59077         * nss/nss_files/files-grp.c: Likewise.
59078         * nss/nss_files/files-hosts.c: Likewise.
59079         * nss/nss_files/files-network.c: Likewise.
59080         * nss/nss_files/files-proto.c: Likewise.
59081         * nss/nss_files/files-pwd.c: Likewise.
59082         * nss/nss_files/files-rpc.c: Likewise.
59083         * nss/nss_files/files-service.c: Likewise.
59084         * nss/nss_files/files-sgrp.c: Likewise.
59085         * nss/nss_files/files-spwd.c: Likewise.
59086         * nss/nss_db/db-alias.c: Removed.
59087         * nss/nss_db/dummy-db.h: Removed.
59089 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
59091         * nss/makedb.c: Rewritten to not use database library.
59092         * nss/Makefile: Update to build new makedb program.
59094 2011-06-14  Andreas Jaeger  <aj@suse.de>
59096         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
59097         memset declaration.
59099 2011-06-10  Andreas Schwab  <schwab@redhat.com>
59101         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
59102         tmpbuf.
59104 2011-06-10  Roland McGrath  <roland@hack.frob.com>
59106         * Makerules (shlib.lds): Fail if the linker script comes out empty.
59107         * elf/Makefile ($(objpfx)ld.so): Likewise.
59109         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
59110         Don't list ld.so twice in dependencies.
59112         * posix/bug-regex31.c: Include <stdlib.h>.
59114         * nscd/hstcache.c (cache_addhst): Remove unused variable.
59116         * nis/nss_compat/compat-spwd.c
59117         (getspent_next_nss_netgr): Remove unused variable.
59118         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
59120         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
59121         nonmembers" output to use the right array.
59123         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
59125         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
59127         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
59128         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
59129         * catgets/gencat.c (read_input_file): Likewise.
59130         * locale/programs/locarchive.c (enlarge_archive): Likewise.
59132         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
59133         variable definition inside #if's controlling its use.
59135         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
59137         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
59139         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
59141         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
59142         unreachable code.
59144         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
59146         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
59147         * configure: Regenerated.
59149         * Makerules: Revert last change.
59150         * elf/Makefile: Likewise.
59152 2011-06-09  Roland McGrath  <roland@hack.frob.com>
59154         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
59155         * elf/Makefile ($(objpfx)librtld.os): Likewise.
59156         (reloc-link): Likewise.
59158 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
59160         * elf/Makefile: Add rules to build pldd.
59161         * elf/pldd.c: New file.
59162         * elf/pldd-xx.c: New file.
59164 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
59166         * version.h: Update for 2.15 development version.
59168 2011-06-07  David S. Miller  <davem@davemloft.net>
59170         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
59171         ifuncs.
59172         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
59173         elf_machine_lazy_rel): Likewise.
59174         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
59175         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
59176         elf_machine_lazy_rel): Likewise.
59177         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
59178         dl_hwcap via passed in argument.
59179         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
59180         Likewise.
59182 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59184         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
59186 2011-06-06  Roland McGrath  <roland@hack.frob.com>
59188         [BZ #12849]
59189         * manual/fdl-1.1.texi: New file, verbatim from:
59190         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
59191         * manual/lgpl-2.1.texi: New file, verbatim from:
59192         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
59193         * manual/Makefile (licenses): New variable, list those new file names.
59194         (texis): Use it.
59195         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
59197         * manual/fdl.texi: File removed.
59198         * manual/lesser.texi: File removed.
59199         * manual/libc.texinfo (Copying, Documentation License):
59200         Use new @include file names, put @appendix directive before @include.
59202 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
59204         [BZ #12841]
59205         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
59206         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
59207         (mq_open): Add __NTH.
59209 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
59211         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59212         Assume Intel Core i3/i5/i7 processor if AVX is available.
59214 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59216         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
59217         typo.
59219 2011-05-31  Andreas Schwab  <schwab@redhat.com>
59221         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
59222         memory.  Use alloca_account.  Fix memory leak when retrying.
59224 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
59226         * version.h (RELEASE): Bump for 2.14 release.
59227         * include/features.h (__GLIBC_MINOR__): Bump to 14.
59229         * config.make.in (RANLIB): Remove entry.
59231 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
59233         * po/Makefile (po-sed-cmd): Add ksh to extensions.
59234         (libc.pot): Work around missing support for .ksh extension in xgettext.
59236         [BZ #12684]
59237         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
59238         if both request failed.
59239         (send_dg): In case of server errors clear resplen or *resplen2.
59241         [BZ #12454]
59242         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
59243         when there are multiple maps.
59244         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
59245         (_dl_fini): Remove test here.
59247         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
59249 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
59251         [BZ #12350]
59252         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
59253         bit from old_res_options.
59254         (gaih_inet): Likewise.
59256         [BZ #11099]
59257         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
59258         as signed.
59260         * resolv/res_init.c (res_setoptions): Make the code more compact.
59262         [BZ #11558]
59263         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
59264         set RES_USEVC.
59266         [BZ #11634]
59267         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
59269         * malloc/malloc.h: Mark malloc hook variables as deprecated.
59271         [BZ #11781]
59272         * malloc/malloc.h: Declare malloc hook variables as volatile.
59274         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
59275         in last patch.
59277         [BZ #11799]
59278         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
59279         raise in the comment.
59280         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
59281         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59282         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
59284 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
59286         [BZ #12811]
59287         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
59288         grow the buffers more if it already has to be sufficient.
59289         (build_wcs_upper_buffer): Likewise.
59290         * posix/regexec.c (check_matching): Likewise.
59291         (clean_state_log_if_needed): Likewise.
59292         (extend_buffers): Don't enlarge buffers beyond size of the input
59293         buffer.
59294         Patches mostly by Emil Wojak <emil@wojak.eu>.
59295         * posix/bug-regex32.c: New file.
59296         * posix/Makefile (tests): Add bug-regex32.
59298         * locale/findlocale.c (_nl_find_locale): Return right away if
59299         _nl_explode_name failed.
59300         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
59302         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
59304         * debug/xtrace.sh: Unify messages.
59305         * malloc/memusage.sh: Likewise.
59307         [BZ #12813]
59308         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
59309         time symbol from vDSO.  Substitute with vsyscall if not available.
59310         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
59311         __vdso_time.
59313         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
59314         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
59315         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
59316         Add sendmmsg and internal_sendmmsg.
59317         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
59318         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
59319         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
59321         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
59322         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
59323         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
59325 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
59327         [BZ #12813]
59328         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
59329         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
59330         available.
59331         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
59332         __vdso_getcpu.
59334         [BZ #12814]
59335         * iconvdata/Makefile (tests): Add bug-iconv9.
59336         * iconvdata/bug-iconv9.c: New file.
59338 2011-05-27  Andreas Schwab  <schwab@redhat.com>
59340         [BZ #12814]
59341         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
59343 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
59345         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59346         (struct user_regs_struct): Change intcs field back to cs.
59348 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
59350         * po/ja.po: Update from translation team.
59352 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
59354         [BZ #12795]
59355         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
59356         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
59358 2011-05-20  Andreas Schwab  <schwab@redhat.com>
59360         * stdlib/longlong.h: Update from GCC.
59362 2011-05-23  Andreas Schwab  <schwab@redhat.com>
59364         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
59365         parameter name.
59366         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
59367         Add parameter name.
59368         (__sysconf): Pass it down.
59370 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
59372         [BZ #12671]
59373         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
59374         some situations.
59375         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
59376         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
59377         add in in __libc_use_alloca calls.  Adjust callers.
59378         (glob): Use malloc in some situations.
59380         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
59381         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
59382         pltexit.
59384 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
59386         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
59387         and CLOCK_BOOTTIME_ALARM.
59389         [BZ #12782]
59390         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
59391         is returned.
59393         * string/_strerror.c (__strerror_r): Print negative errors as signed
59394         numbers.
59396         [BZ #12777]
59397         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
59398         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
59399         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
59401         * configure.in: Fix typo in redirection and correct removal of test
59402         files in two cases.
59404         [BZ #12788]
59405         * locale/setlocale.c (new_composite_name): Fix test to check for
59406         identical name of all categories.
59408         [BZ #12792]
59409         * libio/filedoalloc.c (local_isatty): New function.
59410         (_IO_file_doallocate): Use local_isatty.
59411         * stdio-common/perror.c (perror): In case a new stream is used
59412         forward the stream error.
59413         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
59414         error flag.
59416 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
59418         [BZ #11869]
59419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
59420         alloca.
59421         * include/alloca.h (extend_alloca_account): Define.
59423         [BZ #11857]
59424         * posix/regex.h: Fix comments with documentation of user-accessible
59425         fields after compilation and describe correct free'ing of pattern
59426         after re_compile_pattern.
59427         Patch by Reuben Thomas <rrt@sc3d.org>.
59429 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
59431         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
59432         and -mno-altivec to prevent the compiler from using Altivec and/or
59433         VSX instructions when the corresponding registers are not available.
59435 2011-05-19  Andreas Schwab  <schwab@redhat.com>
59437         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
59439 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
59441         * libio/freopen.c (freopen): Use __dup2, not dup2.
59442         * libio/freopen64.c (freopen64): Likewise.
59444 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
59446         [BZ #12775]
59447         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
59448         * math/Makefile (tests): Add test-powl.
59449         (CFLAGS-test-powl.c): Define.
59450         * math/test-powl.c: New file.
59452 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
59454         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
59456 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
59458         [BZ #11837]
59459         * iconvdata/gb18030.c: Update to GB18020-2005.
59461 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
59463         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
59464         RE_SYNTAX_POSIX_AWK): Update to match recent development.
59465         Patch by Aharon Robbins <arnold@skeeve.com>.
59467         [BZ #11892]
59468         * stdlib/putenv.c (putenv): Don't always create copy of the variable
59469         on the stack.
59471         [BZ #11895]
59472         * misc/pselect.c (__pselect): Handle timeout value errors hidden
59473         through underflows.
59475         [BZ #12766]
59476         * misc/error.c (error_at_line): Ensure file_name and old_file_name
59477         point to strings before performing equality test for error_one_per_line
59478         mode.
59480         [BZ #11697]
59481         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
59483         [BZ #11820]
59484         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
59485         (struct user_fpregs_struct): Avoid __uint*_t types.
59487         [BZ #6420]
59488         * malloc/mtrace.c (tr_where): Add additional parameter to point to
59489         symbol info.  Use it instead of calling _dl_addr locally.
59490         (lock_and_info): New function.
59491         (tr_freehook): Call lock_and_info and pass symbol info as additional
59492         parameter to tr_where.
59493         (tr_mallochook): Likewise.
59494         (tr_reallochook): Likewise.
59495         (tr_memalignhook): Likewise.
59497         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
59498         used and couldn't be at all thread-safe.
59500 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
59502         * libio/freopen.c (freopen): Don't close old file descriptor
59503         before the new one is opened.  Instead dup the new file descriptor
59504         to the old one after the new stream is created.
59505         * libio/freopen64.c (freopen64): Likewise.
59506         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
59507         * libio/fileops.c (_IO_new_file_close_it): Handle new
59508         _IO_FLAGS2_NOCLOSE flag.
59509         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
59510         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
59511         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
59512         _IO_FLAGS2_NOCLOSE flag.
59513         * include/unistd.h: Add hidden_proto for dup3.
59514         Define __have_dup3.
59515         * io/dup3.c: Define hidden symbol.
59516         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
59518         [BZ #7101]
59519         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
59520         when an incomplete long option is used.
59521         * posix/tst-getopt_long1.c: New file.
59522         * posix/Makefile (tests): Add tst-getopt_long1.
59524         [BZ #10138]
59525         * scripts/config.guess: Update from autoconf-2.68.
59526         * scripts/config.sub: Likewise.
59528         [BZ #10157]
59529         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
59530         tests into ...
59531         (has_cpuclock): ...this.  New function.
59532         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
59533         macro here based on has_cpuclock code.
59535         [BZ #10149]
59536         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59537         First byte (not low byte) is now always NUL.
59538         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
59540         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
59541         Use non-cancelable interfaces.
59543         [BZ #9809]
59544         * locale/iso-639.def: Add entry for Sorani.
59546         [BZ #11901]
59547         * include/stdlib.h: Move include protection to the right place.
59548         Define abort_msg_s.  Declare __abort_msg with it.
59549         * stdlib/abort.c (__abort_msg): Adjust type.
59550         * assert/assert.c (__assert_fail_base): New function.  Majority
59551         of code from __assert_fail.  Allocate memory for __abort_msg with
59552         mmap.
59553         (__assert_fail): Now call __assert_fail_base.
59554         * assert/assert-perr.c: Remove bulk of implementation.  Use
59555         __assert_fail_base.
59556         * include/assert.hL Declare __assert_fail_base.
59557         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
59558         mmap.
59559         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
59561 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
59563         [BZ #11952]
59564         [BZ #12453]
59565         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
59566         until all modules are registered in the DTV.
59567         * elf/Makefile: Add rules to build and run tst-tls19.
59568         * elf/tst-tls19.c: New file.
59569         * elf/tst-tls19mod1.c: New file.
59570         * elf/tst-tls19mod2.c: New file.
59571         * elf/tst-tls19mod3.c: New file.
59572         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
59574         [BZ #12083]
59575         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
59576         correctly.
59578         [BZ #12601]
59579         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
59580         two-byte sequence errors.
59581         * iconvdata/Makefile (tests): Add bug-iconv8.
59582         * iconvdata/bug-iconv8.c: New file.
59584         [BZ #12626]
59585         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
59586         buf2 definition.
59588         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
59590         [BZ #12432]
59591         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
59592         (dummy_getcfa): New function.
59593         (init): Get _Unwind_GetCFA address, use dummy if not found.
59594         (backtrace_helper): In recursion check, also check whether CFA changes.
59595         (__backtrace): Completely initialize arg.
59597         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
59598         storing incomplete byte sequence in state object.  Avoid testing for
59599         guaranteed too small input if we know there is enough data available.
59601 2011-05-11  Andreas Schwab  <schwab@redhat.com>
59603         * Makeconfig (+link-pie): Indent.
59604         * Rules (binaries-pie): Define if $(have-fpie) and
59605         $(build-shared).
59606         (binaries-shared): Also filter out $(binaries-pie).
59607         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
59608         * nscd/Makefile (others-pie): Add nscd.
59609         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
59610         ($(objpfx)nscd): Remove command override.
59611         * login/Makefile (others-pie): Add pt_chown.
59612         ($(objpfx)pt_chown): Remove command override.
59613         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
59614         remove command overrides.
59616 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
59618         * libio/tst_putwc.c: Fix error messages.
59620         [BZ #12724]
59621         * libio/fileops.c (_IO_new_file_close_it): Always flush when
59622         currently writing and seek to current position when not.
59623         * libio/Makefile (tests): Add bug-fclose1.
59624         * libio/bug-fclose1.c: New file.
59626 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
59628         [BZ #12511]
59629         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
59630         don't set DF_1_NODELETE here.
59631         (do_lookup_x): When entering new entry test for copy relocation
59632         and if necessary set DF_1_NODELETE flag.
59633         * elf/tst-unique4.cc: New file.
59634         * elf/tst-unique4.h: New file.
59635         * elf/tst-unique4lib.cc: New file.
59636         * elf/Makefile: Add rules to build and run tst-unique4.
59637         Patch by Piotr Bury <pbury@goahead.com>.
59639 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
59641         [BZ #12052]
59642         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
59644         [BZ #12625]
59645         * misc/mntent_r.c (addmntent): Flush the stream after the output
59647         [BZ #12393]
59648         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
59649         (is_trusted_path_normalize): Skip initial colon.  Append slash
59650         to empty buffer.  Duplicate is_trusted_path code but allow
59651         constructed patch to be prefix.
59652         (is_dst): Allow $ORIGIN followed by /.
59653         (_dl_dst_substitute): Correct clearing of check_for_trusted.
59654         Correct testing of result of is_trusted_path_normalize
59655         (decompose_rpath): Fix warning.
59657 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
59659         [BZ #11257]
59660         * grp/initgroups.c (internal_getgrouplist): When we found the service
59661         list through the initgroups entry in nsswitch.conf do not always
59662         continue on a successful lookup.  Don't always use the
59663         __nss_group_database value if it is set.
59664         * nss/nsswitch.conf (initgroups): Change action for successful db
59665         lookup to continue for compatibility.
59667 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
59669         [BZ #11532]
59670         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
59671         and CP774 modules.
59672         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
59673         and CP774 modules.
59674         * iconvdata/tst-tables.sh: Likewise.
59675         * iconvdata/cp770.c: New file.
59676         * iconvdata/cp771.c: New file.
59677         * iconvdata/cp772.c: New file.
59678         * iconvdata/cp773.c: New file.
59679         * iconvdata/cp774.c: New file.
59680         * iconvdata/testdata/CP770: New file.
59681         * iconvdata/testdata/CP770..UTF8: New file.
59682         * iconvdata/testdata/CP771: New file.
59683         * iconvdata/testdata/CP771..UTF8: New file.
59684         * iconvdata/testdata/CP772: New file.
59685         * iconvdata/testdata/CP772..UTF8: New file.
59686         * iconvdata/testdata/CP773: New file.
59687         * iconvdata/testdata/CP773..UTF8: New file.
59688         * iconvdata/testdata/CP774: New file.
59689         * iconvdata/testdata/CP774..UTF8: New file.
59691         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
59692         END CHARMAP line.
59693         * iconvdata/gen-8bit-gap.sh: Likewise.
59694         * iconvdata/gen-8bit.sh: Likewise.
59696         * locale/iso-639.def: Add ary entry.
59698         [BZ #11258]
59699         * locale/C-translit.h.in: Add U20A1 transliteration.
59701         [BZ #12178]
59702         * locale/iso-639.def: Add wae entry.
59703         Patch by Kevin Bortis <bortis@translate-wae.ch>.
59705         [BZ #12545]
59706         * locale/programs/localedef.c (construct_output_path): Use ssize_t
59707         for n.
59709         [BZ #12711]
59710         * locale/C-translit.h.in: Add entry for U20B9.
59711         Patch by pravin.d.s@gmail.com.
59713 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
59715         [BZ #12713]
59716         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
59717         ENAMETOOLONG use generic getcwd.
59718         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
59719         in rtld.  Use *stat64.
59720         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
59721         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
59722         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
59723         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
59724         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
59725         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
59726         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
59727         __fstatat64 macros.
59728         * include/dirent.h: Add libc_hidden_proto for rewinddir.
59729         * dirent/rewinddir.c: Add libc_hidden_def.
59730         * sysdeps/mach/hurd/rewinddir.c: Likewise.
59731         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
59733         * include/dirent.h (__alloc_dir): Add flags parameter.
59734         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
59735         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
59736         __alloc_dir.
59737         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
59738         from fdopendir if O_CLOEXEC is already set.
59740 2011-03-15  Alan Modra  <amodra@gmail.com>
59742         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
59743         l_tls_firstbyte_offset non-zero.  Save padding offset in
59744         l_tls_firstbyte_offset for later use.
59745         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
59746         freeing static tls block.
59748 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
59750         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
59751         where #ifdef was intended.  The intent is to prevent ARG_MAX from
59752         being defined by the kernel headers.
59754 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
59756         [BZ #12734]
59757         * resolv/resolv.h: Define RES_NOTLDQUERY.
59758         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
59759         no-tld-query and set RES_NOTLDQUERY.
59760         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
59761         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
59762         modern BIND to search name as TLD unless forbidden.
59764 2011-05-07  Petr Baudis  <pasky@suse.cz>
59765             Ulrich Drepper  <drepper@gmail.com>
59767         [BZ #12393]
59768         * elf/dl-load.c (fillin_rpath): Move trusted path check...
59769         (is_trusted_path): ...to here.
59770         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
59771         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
59772         using is_trusted_path_normalize() in setuid scripts.
59774 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59776         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
59777         __BEGIN/__END_DECLS.
59779 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
59781         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
59782         NSS_STATUS_NOTFOUND if no record was found.
59784 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59786         * sunrpc/Makefile (headers): Add rpc/netdb.h.
59787         (headers-not-in-tirpc): Remove rpc/netdb.h
59788         * resolv/netdb.h: Revert last change.
59790 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59792         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
59793         circular dependency between libgcc.a and libc.a.
59795 2011-05-05  Andreas Schwab  <schwab@redhat.com>
59797         * resolv/netdb.h: Don't include <rpc/netdb.h>.
59798         * nis/Makefile: Don't install rpcsvc/*.
59799         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
59800         instead of <rpc/types.h>.
59801         (MAXHOSTNAMELEN): Define.
59803 2011-05-03  Andreas Schwab  <schwab@redhat.com>
59805         * elf/ldconfig.c (add_dir): Don't crash on empty path.
59807 2011-04-28  Maciej Babinski  <mbabinski@google.com>
59809         [BZ #12714]
59810         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
59811         gethostbyname4_r when IPv6 results are possible.
59813 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
59815         [BZ #12723]
59816         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
59817         _PC_PIPE_BUF handling.
59819 2011-04-30  Bruno Haible  <bruno@clisp.org>
59821         [BZ #12717]
59822         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
59823         * resolv/netdb.h (getnameinfo): Change type of flags parameter
59824         to 'int'.
59825         * inet/getnameinfo.c (getnameinfo): Likewise.
59827 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
59829         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
59830         to groups setting in database lookup.
59831         * nss/nsswitch.conf: Add initgroups entry.
59833 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
59835         [BZ #12685]
59836         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
59837         mode string.
59838         Patch by Eric Blake <eblake@redhat.com>.
59840 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
59842         * sunrpc/Makefile (need-export-routines): Add svc_run.
59843         (routines): Remove svc_run.
59844         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
59845         * sunrpc/clnt_perr.c (clnt_perrno): Export.
59846         * sunrpc/svc_run.c (svc_run): Likewise.
59847         * sunrpc/svc_udp.c (svcudp_create): Likewise.
59849 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
59851         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
59852         problem in reallocation in last patch.
59854 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
59856         * sunrpc/Makefile: Move inclusion of Rules.
59858 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
59860         * nss/nss_files/files-initgroups.c: New file.
59861         * nss/Makefile (libnss_files-routines): Add files-initgroups.
59862         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
59863         _nss_files_initgroups_dyn.
59865 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
59867         * elf/elf.h (R_ARM_IRELATIVE): Define.
59869 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
59871         * po/ru.po: Update from translation team.
59873 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
59875         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
59876         dependencies.
59878 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
59880         [BZ #12653]
59881         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
59882         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
59883         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59884         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59885         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59887 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
59889         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
59890         differing bytes.
59891         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59892         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59893         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59895 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
59897         [BZ #12420]
59898         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
59899         storing it.
59900         * stdlib/bug-getcontext.c: New file.
59901         * stdlib/Makefile: Add rules to build and run bug-getcontext.
59903 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59905         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
59906         instructions into .machine "z9-109".
59907         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
59908         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
59910 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59912         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
59913         between environment variables and auxiliary vector.
59915 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
59917         * Makefile: Add rules to build linkobj/libc.so.
59918         * include/libc-symbols.h: Define libc_hidden_nolink.
59919         * include/rpc/auth.h: Mark functions which are to be hidden.
59920         * include/rpc/auth_des.h: Likewise.
59921         * include/rpc/auth_unix.h: Likewise.
59922         * include/rpc/clnt.h: Likewise.
59923         * include/rpc/des_crypt.h: Likewise.
59924         * include/rpc/key_prot.h: Likewise.
59925         * include/rpc/pmap_clnt.h: Likewise.
59926         * include/rpc/pmap_prot.h: Likewise.
59927         * include/rpc/pmap_rmt.h: Likewise.
59928         * include/rpc/rpc_msg.h: Likewise.
59929         * include/rpc/svc.h: Likewise.
59930         * include/rpc/svc_auth.h: Likewise.
59931         * include/rpc/xdr.h: Likewise.
59932         * nis/Makefile: Link all DSOs against linkobj/libc.so.
59933         * nss/Makefile: Likewise.
59934         * sunrpc/Makefile: Don't install headers.  Build library with normal
59935         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
59936         * sunrpc/auth_des.c: Hide exported symbols by default, export some
59937         for the compat linking library.  Remove use of INTDEF/INTUSE.
59938         * sunrpc/auth_none.c: Likewise.
59939         * sunrpc/auth_unix.c: Likewise.
59940         * sunrpc/authdes_prot.c: Likewise.
59941         * sunrpc/authuxprot.c: Likewise.
59942         * sunrpc/clnt_gen.c: Likewise.
59943         * sunrpc/clnt_perr.c: Likewise.
59944         * sunrpc/clnt_raw.c: Likewise.
59945         * sunrpc/clnt_simp.c: Likewise.
59946         * sunrpc/clnt_tcp.c: Likewise.
59947         * sunrpc/clnt_udp.c: Likewise.
59948         * sunrpc/clnt_unix.c: Likewise.
59949         * sunrpc/des_crypt.c: Likewise.
59950         * sunrpc/des_soft.c: Likewise.
59951         * sunrpc/get_myaddr.c: Likewise.
59952         * sunrpc/key_call.c: Likewise.
59953         * sunrpc/key_prot.c: Likewise.
59954         * sunrpc/netname.c: Likewise.
59955         * sunrpc/pm_getmaps.c: Likewise.
59956         * sunrpc/pm_getport.c: Likewise.
59957         * sunrpc/pmap_clnt.c: Likewise.
59958         * sunrpc/pmap_prot.c: Likewise.
59959         * sunrpc/pmap_prot2.c: Likewise.
59960         * sunrpc/pmap_rmt.c: Likewise.
59961         * sunrpc/publickey.c: Likewise.
59962         * sunrpc/rpc_cmsg.c: Likewise.
59963         * sunrpc/rpc_common.c: Likewise.
59964         * sunrpc/rpc_dtable.c: Likewise.
59965         * sunrpc/rpc_prot.c: Likewise.
59966         * sunrpc/rpc_thread.c: Likewise.
59967         * sunrpc/rtime.c: Likewise.
59968         * sunrpc/svc.c: Likewise.
59969         * sunrpc/svc_auth.c: Likewise.
59970         * sunrpc/svc_authux.c: Likewise.
59971         * sunrpc/svc_raw.c: Likewise.
59972         * sunrpc/svc_run.c: Likewise.
59973         * sunrpc/svc_simple.c: Likewise.
59974         * sunrpc/svc_tcp.c: Likewise.
59975         * sunrpc/svc_udp.c: Likewise.
59976         * sunrpc/svc_unix.c: Likewise.
59977         * sunrpc/svcauth_des.c: Likewise.
59978         * sunrpc/xcrypt.c: Likewise.
59979         * sunrpc/xdr.c: Likewise.
59980         * sunrpc/xdr_array.c: Likewise.
59981         * sunrpc/xdr_float.c: Likewise.
59982         * sunrpc/xdr_intXX_t.c: Likewise.
59983         * sunrpc/xdr_mem.c: Likewise.
59984         * sunrpc/xdr_rec.c: Likewise.
59985         * sunrpc/xdr_ref.c: Likewise.
59986         * sunrpc/xdr_sizeof.c: Likewise.
59987         * sunrpc/xdr_stdio.c: Likewise.
59989 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
59991         [BZ #12650]
59992         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
59993         * sysdeps/ia64/dl-tls.h: Likewise.
59994         * sysdeps/powerpc/dl-tls.h: Likewise.
59995         * sysdeps/s390/dl-tls.h: Likewise.
59996         * sysdeps/sh/dl-tls.h: Likewise.
59997         * sysdeps/sparc/dl-tls.h: Likewise.
59998         * sysdeps/x86_64/dl-tls.h: Likewise.
59999         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
60001 2011-03-14  Andreas Schwab  <schwab@redhat.com>
60003         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
60004         rpath element also skip the following colon.
60005         (expand_dynamic_string_token): Add is_path parameter and pass
60006         down to DL_DST_REQUIRED and _dl_dst_substitute.
60007         (decompose_rpath): Call expand_dynamic_string_token with
60008         non-zero is_path.  Ignore empty rpaths.
60009         (_dl_map_object_from_fd): Call expand_dynamic_string_token
60010         with zero is_path.
60012 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
60014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60015         Make cancelable.
60017 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
60019         [BZ #12655]
60020         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
60021         Patch by Filipe David Manana <fdmanana@apache.org>.
60023 2011-04-07  Andreas Schwab  <schwab@redhat.com>
60025         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
60026         Maintain aligned stack.
60027         (CHECK_RSP): Remove unused macro.
60029 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
60031         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
60032         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
60034 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
60036         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
60038         * include/features.h: Mention __USE_XOPEN2K8 in comment.
60040 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
60042         [BZ #12518]
60043         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
60044         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
60045         * sysdeps/x86_64/memmove.c: New file.
60046         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
60047         (memcpy): Renamed to ...
60048         (__new_memcpy): This.
60049         (memcpy): Provide GLIBC_2_14 memcpy.
60050         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
60051         (memcpy): Provide GLIBC_2_2_5 memcpy.
60053 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60055         [BZ #12631]
60056         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
60058 2011-03-30  Andreas Schwab  <schwab@redhat.com>
60060         * misc/syncfs.c: New file.
60061         * misc/Makefile (routines): Add syncfs.
60062         * posix/unistd.h: Declare syncfs.
60063         * sysdeps/unix/syscalls.list: Add syncfs.
60065 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60067         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
60068         open_by_handle_at.
60069         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60070         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60071         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60072         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60073         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60074         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
60075         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60077 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60079         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
60080         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60081         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
60082         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60083         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60084         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60085         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60087         * io/Makefile: Compile fallocate.c, fallocate64.c, and
60088         sync_file_range.c with -fexceptions.
60089         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
60090         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
60091         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
60092         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
60093         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
60094         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60095         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
60096         sync_file_range as cancellation point
60097         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
60098         now a wrapper around __call_sync_file_range with cancellation handling.
60099         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
60100         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
60101         function name to __call_sync_file_range.
60102         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
60103         Add call_sync_file_range.
60105 2011-04-01  Andreas Schwab  <schwab@redhat.com>
60107         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
60108         bits/timex.h.
60110 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
60112         * iconv/iconv.h: Fix typo in comment.
60113         * io/fcntl.h: Likewise.
60114         * libio/stdio.h: Likewise.
60115         * posix/spawn.h: Likewise.
60116         * posix/unistd.h: Likewise.
60117         * stdlib/stdlib.h: Likewise.
60118         * time/time.h: Likewise.
60119         * wcsmbs/wchar.h: Likewise.
60121         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
60122         open_by_handle): Add.
60123         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
60124         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
60125         Augment a few comments.
60126         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
60127         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60128         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60129         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60130         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60131         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
60132         open_by_handle.
60134         * io/fcntl.h (AT_EMPTY_PATH): Define.
60136 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
60138         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
60139         * sysdeps/unix/sysv/linux/bits/time.h: New file.
60140         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
60141         to...
60142         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
60143         * Versions.def: Add GLIBC_2.14.
60144         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
60145         Export.
60147 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
60149         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
60150         round counter.
60151         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60153 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
60155         [BZ #12597]
60156         * string/test-strncmp.c (do_page_test): New function.
60157         (check2): Likewise.
60158         (test_main): Call check2.
60159         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
60161 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
60163         [BZ #12587]
60164         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
60165         Handle cache information in CPU leaf 4.
60166         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
60168 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
60170         [BZ #12583]
60171         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
60172         character representation.
60173         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
60175 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
60177         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
60178         END(__isnan) to END(__isnanf) to match function entry point/label
60179         EALIGN(__isnanf,...).
60181 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
60183         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
60185 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
60187         [BZ #12510]
60188         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
60189         copy from the symbol referenced in the relocation to initialize the
60190         used variable.
60191         Patch by Piotr Bury <pbury@goahead.com>.
60192         * elf/Makefile: Add rules to build and tst-unique3.
60193         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
60194         * elf/tst-unique3.cc: New file.
60195         * elf/tst-unique3.h: New file.
60196         * elf/tst-unique3lib.cc: New file.
60197         * elf/tst-unique3lib2.cc: New file.
60199         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
60201 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
60203         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
60204         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
60205         to _start.
60207 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
60209         * elf/dl-load.c (_dl_map_object): If we are looking for the first
60210         to-be-loaded object along a path to loader is ld.so.
60212 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60213             Ulrich Drepper  <drepper@gmail.com>
60215         * sysdeps/x86_64/memset.S: After aligning destination, code
60216         branches to different locations depending on the value of
60217         misalignment, when multiarch is enabled. Fix this.
60219 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
60221         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
60222         Set _x86_64_preferred_memory_instruction for AMD processsors.
60223         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60224         Set bit_Prefer_SSE_for_memop for AMD processors.
60226 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
60228         * libio/fmemopen.c (fmemopen): Optimize a bit.
60230 2011-03-03  Andreas Schwab  <schwab@redhat.com>
60232         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
60234 2011-03-03  Roland McGrath  <roland@redhat.com>
60236         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
60238 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
60240         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
60241         __bzero_ultra1 instead of __memset_ultra1.
60243 2011-02-23  Andreas Schwab  <schwab@redhat.com>
60244             Ulrich Drepper  <drepper@gmail.com>
60246         [BZ #12509]
60247         * include/link.h (struct link_map): Add l_orig_initfini.
60248         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
60249         returning unsuccessfully.
60250         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
60251         close of a file loaded at startup, restore the original l_initfini
60252         list.
60253         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
60254         list, store the pointer.
60255         * elf/Makefile ($(objpfx)noload-mem): New rule.
60256         (noload-ENV): Define.
60257         (tests): Add $(objpfx)noload-mem.
60258         * elf/noload.c: Include <memcheck.h>.
60259         (main): Call mtrace.  Close all opened handles.
60261 2011-02-17  Andreas Schwab  <schwab@redhat.com>
60263         [BZ #12454]
60264         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
60265         dependencies are missing.
60267 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60269         Fix __if_freereq crash: Unlike the generic version which uses free,
60270         Hurd needs munmap.
60271         * sysdeps/mach/hurd/ifreq.h: New file.
60273 2011-01-27  Petr Baudis  <pasky@suse.cz>
60274             Ulrich Drepper  <drepper@gmail.com>
60276         [BZ 12445]#
60277         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
60278         to extend_alloca().
60279         * stdio-common/bug23.c: New file.
60280         * stdio-common/Makefile (tests): Add bug23.
60282 2010-09-28  Andreas Schwab  <schwab@redhat.com>
60283             Ulrich Drepper  <drepper@gmail.com>
60285         [BZ #12489]
60286         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
60287         before performing relro protection.  At old place add assertion
60288         to make sure nothing changed.
60290 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
60291             Glauber de Oliveira Costa  <glommer@gmail.com>
60293         * elf/elf.h: Add new ARM TLS relocs.
60295 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
60297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60298         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
60299         cast from r3.
60300         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
60301         'tests' variable.
60302         * sysdeps/wordsize-64/tst-writev.c: New file.
60304 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
60306         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
60307         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
60308         insns in _dl_start to prevent a TOC reference before relocs are
60309         resolved.
60311 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
60313         [BZ #12469]
60314         * Makeconfig: Remove RANLIB definition.
60315         * Makerules: Don't use RANLIB.
60316         * aclocal.m4: Remove ranlib test.
60317         * configure.in: No need to check for ranlib.
60318         * elf/rtld-Rules: Don't use RANLIB.
60320 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60322         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
60323         protection macro.
60324         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
60325         inclusion protection macro.
60327         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
60328         SIGRTMIN and SIGRTMAX and print information in that case only when
60329         SIGRTMIN is defined.
60331 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
60333         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
60334         arginfo fn returning -1.
60336         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
60337         and thousands string is zero terminated.
60339 2011-02-03  Andreas Schwab  <schwab@redhat.com>
60341         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
60342         sysdeps/unix/sysv/linux/bits/socket.h.
60344 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60346         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
60347         (__CPU_COUNT): Remove old macros.
60348         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
60349         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
60350         (__CPU_ALLOC, __CPU_FREE): Add macros.
60351         (__sched_cpualloc, __sched_cpufree): Add declarations.
60353 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
60355         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
60356         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
60357         * nscd/aicache.c (addhstaiX): Return timeout of added value.
60358         (readdhstai): Return value of addhstaiX call.
60359         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
60360         (addgrbyX): Return value returned by cache_addgr.
60361         (readdgrbyname): Return value returned by addgrbyX.
60362         (readdgrbygid): Likewise.
60363         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
60364         (addpwbyX): Return value returned by cache_addpw.
60365         (readdpwbyname): Return value returned by addhstbyX.
60366         (readdpwbyuid): Likewise.
60367         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
60368         (addservbyX): Return value returned by cache_addserv.
60369         (readdservbyname): Return value returned by addservbyX:
60370         (readdservbyport): Likewise.
60371         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
60372         (addhstbyX): Return value returned by cache_addhst.
60373         (readdhstbyname): Return value returned by addhstbyX.
60374         (readdhstbyaddr): Likewise.
60375         (readdhstbynamev6): Likewise.
60376         (readdhstbyaddrv6): Likewise.
60377         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
60378         (readdinitgroups): Return value returned by addinitgroupsX.
60379         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
60380         (prune_cache): Keep track of timeout value of re-added entries.
60381         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
60382         * nscd/nscd.h: Adjust prototypes of readd* functions.
60384 2011-02-04  Roland McGrath  <roland@redhat.com>
60386         * nis/nis_server.c (nis_servstate): Use the right name for 0.
60387         (nis_stats): Likewise.
60388         * nis/nis_modify.c (nis_modify): Likewise.
60389         * nis/nis_remove.c (nis_remove): Likewise.
60390         * nis/nis_add.c (nis_add): Likewise.
60392         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
60394         * posix/fnmatch_loop.c: Add some consts.
60396         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
60398 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
60400         [BZ #12460]
60401         * config.make.in (config-cflags-novzeroupper): Define.
60402         * configure.in: Substitute libc_cv_cc_novzeroupper.
60403         * elf/Makefile (AVX-CFLAGS): Define.
60404         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
60405         (CFLAGS-tst-auditmod4a.c): Likewise.
60406         (CFLAGS-tst-auditmod4b.c): Likewise.
60407         (CFLAGS-tst-auditmod6b.c): Likewise.
60408         (CFLAGS-tst-auditmod6c.c): Likewise.
60409         (CFLAGS-tst-auditmod7b.c): Likewise.
60410         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
60412 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
60414         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
60415         function to the callback.
60416         Patch partly by Jiri Olsa <jolsa@redhat.com>.
60418 2011-02-02  Andreas Schwab  <schwab@redhat.com>
60420         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
60421         of errno.
60423 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
60425         [BZ #11724]
60426         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
60427         of constructors.
60428         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
60429         of destructors.
60430         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
60432         [BZ #11724]
60433         * elf/Makefile: Add rules to build and run new test.
60434         * elf/tst-initorder.c: New file.
60435         * elf/tst-initorder.exp: New file.
60436         * elf/tst-initordera1.c: New file.
60437         * elf/tst-initordera2.c: New file.
60438         * elf/tst-initordera3.c: New file.
60439         * elf/tst-initordera4.c: New file.
60440         * elf/tst-initorderb1.c: New file.
60441         * elf/tst-initorderb2.c: New file.
60442         * elf/tst-order-a1.c: New file.
60443         * elf/tst-order-a2.c: New file.
60444         * elf/tst-order-a3.c: New file.
60445         * elf/tst-order-a4.c: New file.
60446         * elf/tst-order-b1.c: New file.
60447         * elf/tst-order-b2.c: New file.
60448         * elf/tst-order-main.c: New file.
60449         New test case by George Gensure <werkt0@gmail.com>.
60451 2010-10-01  Andreas Schwab  <schwab@redhat.com>
60453         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
60454         decoding ACE if AI_CANONIDN.
60456 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
60458         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
60460 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
60462         * version.h (RELEASE): Bump for 2.13 release.
60463         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
60465         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
60467         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
60468         MADV_NOHUGEPAGE.
60469         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
60470         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
60471         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
60472         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
60473         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
60474         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60476         * posix/getconf.c: Update copyright year.
60477         * catgets/gencat.c: Likewise.
60478         * csu/version.c: Likewise.
60479         * debug/catchsegv.sh: Likewise.
60480         * debug/xtrace.sh: Likewise.
60481         * elf/ldconfig.c: Likewise.
60482         * elf/ldd.bash.in: Likewise.
60483         * elf/sprof.c (print_version): Likewise.
60484         * iconv/iconv_prog.c: Likewise.
60485         * iconv/iconvconfig.c: Likewise.
60486         * locale/programs/locale.c: Likewise.
60487         * locale/programs/localedef.c: Likewise.
60488         * malloc/memusage.sh: Likewise.
60489         * malloc/mtrace.pl: Likewise.
60490         * nscd/nscd.c (print_version): Likewise.
60491         * nss/getent.c: Likewise.
60493         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
60494         PF_CAIF, and PF_ALG.
60495         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60497 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
60499         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
60500         (modules-names): Use them.
60501         (ifunc-test-modules, ifunc-pie-tests): Define.
60502         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
60503         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
60504         (test-extras): Likewise.
60505         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
60506         $(compile-command.c).
60507         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
60508         (all-built-dso): Define.
60509         (check-textrel.out, check-execstack.out): Depend on it.
60511         * configure.in: Don't override --enable-multi-arch.
60513 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
60515         [BZ #6812]
60516         * nscd/hstcache.c (tryagain): Define.
60517         (cache_addhst): Return tryagain not notfound for temporary errors.
60518         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
60519         failed.
60521 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
60523         [BZ #10563]
60524         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
60525         to make the syscall.
60526         * sysdeps/unix/sysv/linux/setgroups.c: New file.
60528         [BZ #12378]
60529         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
60530         and fall back to matching as normal character if the string ends before
60531         the matching ']' is found.  This is what POSIX requires.
60532         * posix/testfnm.c: Adjust test result.
60533         * posix/globtest.sh: Adjust test result.  Add new test.
60534         * posix/tst-fnmatch.input: Likewise.
60535         * posix/tst-fnmatch2.c: Add new test.
60537 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
60539         * elf/Makefile (check-execstack): Revert last change.  Depend on
60540         check-execstack.h.
60541         (check-execstack.h): New target.
60542         (generated): Add check-execstack.h.
60543         * elf/check-execstack.c: Include "check-execstack.h".
60544         (main): Revert last change.
60545         (handle_file): Return zero if GNU_STACK is absent and
60546         DEFAULT_STACK_PERMS doesn't include PF_X.
60548 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
60550         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
60551         in child fails because the descriptor is already closed.
60552         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
60553         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
60554         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
60556         [BZ #12397]
60557         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
60558         syscall.
60560         [BZ #10484]
60561         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
60562         temporary buffer used to handle multi lookups locally.
60563         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
60565 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60567         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
60568         loader is ld.so.
60570 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
60572         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
60573         alignment for SSE2.
60575 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
60577         [BZ #12394]
60578         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
60579         characters.  When rounding increased number of integer digits recompute
60580         number of groups.
60581         * stdio-common/tst-grouping.c: New file.
60582         * stdio-common/Makefile: Add rules to build and run tst-grouping.
60584 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
60586         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
60587         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
60589         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
60590         void.
60591         * bits/select.h: Likewise.
60593 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
60595         * po/ja.po: Update from translation team.
60597 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
60599         [BZ #11155]
60600         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
60601         implementation just like for lxstat, fxstatat, et al.
60603 2010-12-27  Jim Meyering  <meyering@redhat.com>
60605         [BZ #12348]
60606         * posix/regexec.c (build_trtable): Return failure indication upon
60607         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
60609 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
60611         [BZ #12201]
60612         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
60613         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
60614         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
60615         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
60617         [BZ #12207]
60618         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
60620         [BZ #12204]
60621         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
60622         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
60624 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
60626         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
60627         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
60628         script has SORT_BY_INIT_PRIORITY.
60629         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
60630         NO_CTORS_DTORS_SECTIONS is defined.
60631         * elf/soinit.c: Likewise.
60632         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
60633         NO_CTORS_DTORS_SECTIONS is defined.
60634         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
60635         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
60636         * sysdeps/sh/init-first.c: Likewise.
60637         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
60639 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
60641         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
60642         always use the slow path.
60644 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
60646         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
60647         similar rule which adds the sysdep directories to the header search in
60648         order to pick up the correct platform stackinfo.h.
60649         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
60650         perform test if it is, otherwise return successfully without testing.
60651         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
60652         DEFAULT_STACK_PERMS define in stackinfo.h.
60653         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
60654         defined in stackinfo.h.
60655         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
60656         DEFAULT_STACK_PERMS defined in stackinfo.h.
60657         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
60658         * sysdeps/ia64/stackinfo.h: Likewise.
60659         * sysdeps/s390/stackinfo.h: Likewise.
60660         * sysdeps/sh/stackinfo.h: Likewise.
60661         * sysdeps/sparc/stackinfo.h: Likewise.
60662         * sysdeps/x86_64/stackinfo.h: Likewise.
60663         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
60664         PF_X for powerpc64.  Retain PF_X for powerpc32.
60666 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
60668         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
60669         accurately.
60670         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
60671         GETDENTS_64BIT_ALIGNED.
60673 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
60675         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
60677 2010-12-10  Andreas Schwab  <schwab@redhat.com>
60679         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
60680         _GNU_SOURCE.
60682         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
60683         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
60684         Remove __restrict.
60685         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
60686         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
60688 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
60690         [BZ #11655]
60691         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
60692         are initialized.
60694 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
60696         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
60698 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
60700         * po/it.po: Update from translation team.
60702 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
60704         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
60705         unused codes.
60707 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
60709         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
60711 2010-11-24  Andreas Schwab  <schwab@redhat.com>
60713         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
60714         specially.
60715         (gaih_getanswer_slice): Likewise.
60717 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
60719         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
60721 2010-05-31  Petr Baudis  <pasky@suse.cz>
60723         [BZ #11149]
60724         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
60725         silently even in the chroot mode.
60727 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
60729         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
60730         last patch a bit.  Pretty printing
60732 2010-05-31  Petr Baudis <pasky@suse.cz>
60734         [BZ #10085]
60735         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
60736         initialization of skip_initgroups_dyn.
60738 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
60740         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
60741         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
60743 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
60745         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
60747 2010-11-11  Andreas Schwab  <schwab@redhat.com>
60749         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
60750         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
60751         (tst-fnmatch-ENV): Set MALLOC_TRACE.
60752         ($(objpfx)tst-fnmatch-mem): New rule.
60753         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
60754         * posix/tst-fnmatch.c (main): Call mtrace.
60756 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
60758         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60759         Support Intel processor model 6 and model 0x2c.
60761 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
60763         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
60764           signed comparison.
60766 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
60768         [BZ #12205]
60769         * string/test-strncasecmp.c (check_result): New function.
60770         (do_one_test): Use it.
60771         (check1): New function.
60772         (test_main): Use it.
60773         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
60774         Support strcasecmp and strncasecmp.
60776 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
60778         [BZ #12194]
60779         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
60780         * sysdeps/x86_64/bits/byteswap.h: Likewise.
60782 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
60784         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
60785         IFUNC support.
60786         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60787         memset-x86-64.
60788         * sysdeps/x86_64/multiarch/bzero.S: New file.
60789         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
60790         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
60791         * sysdeps/x86_64/multiarch/memset.S: New file.
60792         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
60793         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60794         Set bit_Prefer_SSE_for_memop for Intel processors.
60795         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
60796         Define.
60797         (index_Prefer_SSE_for_memop): Define.
60798         (HAS_PREFER_SSE_FOR_MEMOP): Define.
60800 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
60802         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
60803         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
60805 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
60807         [BZ #12191]
60808         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60809         (__x86_64_raw_data_cache_size_half): Likewise.
60810         (__x86_64_raw_shared_cache_size): Likewise.
60811         (__x86_64_raw_shared_cache_size_half): Likewise.
60813         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
60814         (__x86_64_raw_data_cache_size_half): Likewise.
60815         (__x86_64_raw_shared_cache_size): Likewise.
60816         (__x86_64_raw_shared_cache_size_half): Likewise.
60817         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
60818         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
60819         and __x86_64_raw_shared_cache_size_half.  Round
60820         __x86_64_data_cache_size_half, __x86_64_data_cache_size
60821         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
60822         to multiple of 256 bytes.
60824 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
60826         [BZ #12167]
60827         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
60828         of inacessible symlinks.  Verify result of symlink before returning it.
60829         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
60830         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
60832 2010-10-28  Erich Ritz  <erichritz@gmail.com>
60834         * math/math.h (isinf): Fix typo in comment.
60836 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
60838         * po/da.po: Update from translation team.
60840 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
60842         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
60843         is added to the list.
60845 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60846             Ulrich Drepper  <drepper@gmail.com>
60848         * elf/dl-object.c (_dl_new_object): Don't append the new object to
60849         the global list here.  Move code to...
60850         (_dl_add_to_namespace_list): ...here.  New function.
60851         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
60852         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
60853         * elf/dl-load.c (lose): Don't remove the element from the list.
60854         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
60855         (_dl_map_object): Likewise.
60857 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
60859         [BZ #12159]
60860         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
60861         into all bytes of SSE register.
60862         Patch by Richard Li <richardpku@gmail.com>.
60864 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
60866         [BZ #12140]
60867         * malloc/malloc.c (_int_free): Fill correct number of bytes when
60868         perturbing.
60870 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
60872         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
60873         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
60874         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
60875         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
60876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
60877         submachine.
60878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
60880 2010-10-22  Andreas Schwab  <schwab@redhat.com>
60882         * include/dlfcn.h (__RTLD_SECURE): Define.
60883         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
60884         mode & __RTLD_SECURE instead.
60885         (open_path): Rename preloaded parameter to secure.
60886         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
60887         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
60888         * elf/dl-deps.c (openaux): Likewise.
60889         * elf/rtld.c (struct map_args): Remove is_preloaded.
60890         (map_doit): Don't use it.
60891         (dl_main): Likewise.
60892         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
60893         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
60895 2010-09-09  Andreas Schwab  <schwab@redhat.com>
60897         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
60898         (sysd-rules-targets): Remove duplicates.
60899         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
60900         rtld-%.$o dependency.
60902 2010-10-18  Andreas Schwab  <schwab@redhat.com>
60904         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
60905         _dl_map_object do it.
60907 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
60909         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
60910         fast fma builtins, define the macros in the C99 standard.
60911         (FP_FAST_FMAF): Likewise.
60912         (FP_FAST_FMAL): Likewise.
60913         * sysdeps/x86_64/bits/mathdef.h: Likewise.
60915         * bits/mathdef.h: Update copyright year.
60916         * sysdeps/powerpc/bits/mathdef.h: Likewise.
60918 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
60920         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
60921         builtins, define the macros in the C99 standard.
60922         (FP_FAST_FMAF): Likewise.
60923         (FP_FAST_FMAL): Likewise.
60924         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
60925         multiply/add.
60926         (FP_FAST_FMAF): Likewise.
60928 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
60930         [BZ #3268]
60931         * math/libm-test.inc (fma_test): Some new testcases.
60932         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
60933         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
60934         y and infinite z.  Do multiplication by C already in long double.
60935         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
60936         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
60937         y and infinite z.  Do bitwise or of inexact bit into u.d.
60938         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
60939         * sysdeps/i386/fpu/s_fmaf.S: Removed.
60940         * sysdeps/i386/fpu/s_fma.S: Removed.
60941         * sysdeps/i386/fpu/s_fmal.S: Removed.
60943 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
60945         [BZ #3268]
60946         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
60947         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
60948         computation is not scheduled after fetestexcept.  Fix value
60949         of minimum denormal long double.
60951 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
60953         [BZ #3268]
60954         * math/libm-test.inc (fma_test): Add some more tests.
60955         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
60956         correctly.
60958 2010-10-15  Andreas Schwab  <schwab@redhat.com>
60960         * scripts/data/localplt-s390-linux-gnu.data: New file.
60961         * scripts/data/localplt-s390x-linux-gnu.data: New file.
60963 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
60965         [BZ #3268]
60966         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
60967         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
60968         instead of dbl-64.
60969         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
60970         inlines.
60971         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
60972         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
60973         if one of x and y is very large and the other is subnormal.
60974         * sysdeps/s390/fpu/s_fmaf.c: New file.
60975         * sysdeps/s390/fpu/s_fma.c: New file.
60976         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
60977         * sysdeps/powerpc/fpu/s_fma.S: New file.
60978         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
60979         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
60980         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
60982 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
60984         [BZ #3268]
60985         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
60986         fma tests.
60987         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
60988         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
60989         * sysdeps/i386/i686/multiarch/s_fma.c: Include
60990         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
60991         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
60992         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
60993         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
60995 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
60997         [BZ #12078]
60998         * posix/regcomp.c (parse_branch): One more memory leak plugged.
60999         * posix/bug-regex31.input: Add test case.
61001 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61003         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
61004         * posix/bug-regex31.input: New file.
61006         [BZ #12078]
61007         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
61008         (parse_sub_exp): Fix last change, use postorder.
61010         * posix/bug-regex31.c: New file.
61011         * posix/Makefile: Add rules to build and run bug-regex31.
61013         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
61015         [BZ #12078]
61016         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
61018         [BZ #12108]
61019         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
61020         to have entries in sys_siglist.
61022         [BZ #12093]
61023         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
61024         be NULL.
61026 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
61028         [BZ #3268]
61029         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
61030         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
61031         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
61032         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
61033         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61034         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
61035         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
61036         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
61037         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
61038         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
61039         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
61040         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
61041         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
61042         * math/ftestexcept.c (fetestexcept): Likewise.
61043         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
61044         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
61045         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
61046         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
61047         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
61048         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
61049         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
61051 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
61053         [BZ #12107]
61054         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
61055         newline.
61057 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
61059         * string/bug-strstr1.c: New file.
61060         * string/Makefile: Add rules to build and run bug-strstr1.
61062 2010-10-05  Eric Blake  <eblake@redhat.com>
61064         [BZ #12092]
61065         * string/str-two-way.h (two_way_long_needle): Always clear memory
61066         when skipping input due to the shift table.
61068 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
61070         [BZ #12005]
61071         * malloc/mcheck.c: Handle large requests.
61073         [BZ #12077]
61074         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
61075         for strncmp and strncasecmp.
61076         * string/stratcliff.c: Add tests for strcmp and strncmp.
61077         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
61079 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
61081         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
61082         __set_fpscr.
61084 2010-09-30  Andreas Jaeger  <aj@suse.de>
61086         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
61087         (CGROUP_SUPER_MAGIC): Define.
61088         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61089         Handle btrfs and cgroup file systems.
61090         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
61091         Likewise.
61093 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
61095         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
61096         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
61098 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61100         [BZ #12067]
61101         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
61102         trying to locate the ELF header.
61104 2010-09-27  Andreas Schwab  <schwab@redhat.com>
61106         [BZ #11611]
61107         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
61108         Mask out sign-bit copies when constructing f_fsid.
61110 2010-09-24  Petr Baudis <pasky@suse.cz>
61112         * debug/stack_chk_fail_local.c: Add missing licence exception.
61113         * debug/warning-nop.c: Likewise.
61115 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
61117         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
61118         implementing getdents64 using getdents syscall, set d_type if
61119         __ASSUME_GETDENTS32_D_TYPE.
61121 2010-09-16  Andreas Schwab  <schwab@redhat.com>
61123         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
61124         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
61126 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
61128         [BZ #12037]
61129         * posix/unistd.h: Undo change of feature selection for ftruncate from
61130         2010-01-11.
61132 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
61134         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
61135         detection.
61137 2010-09-20  Andreas Schwab  <schwab@redhat.com>
61139         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
61140         fanotify_mark.
61141         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61143 2010-09-14  Andreas Schwab  <schwab@redhat.com>
61145         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
61146         variables after CHECK_SP call.
61147         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
61149 2010-09-13  Andreas Schwab  <schwab@redhat.com>
61150             Ulrich Drepper  <drepper@redhat.com>
61152         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
61153         re-relocationg ld.so.
61154         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
61155         _dl_init_paths call.
61156         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
61157         here anymore.
61159 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
61161         * resolv/res_init.c (__res_vinit): Count the default server we added.
61163 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
61164             Ulrich Drepper  <drepper@redhat.com>
61166         [BZ #11968]
61167         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
61168         (____longjmp_chk): Use %ebx for saving value across system call.
61169         Add unwind info.
61171 2010-09-06  Andreas Schwab  <schwab@redhat.com>
61173         * manual/Makefile: Don't mix pattern rules with normal rules.
61175 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
61177         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
61178         operation.
61179         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
61180         * libio/iofopncook.c (_IO_cookie_init): Likewise.
61181         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
61182         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
61183         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
61184         Likewise.
61186 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
61188         [BZ #11979]
61189         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
61190         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
61192 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
61194         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
61195         * sysdeps/x86_64/addmul_1.S: Likewise.
61196         * sysdeps/x86_64/lshift.S: Likewise.
61197         * sysdeps/x86_64/mul_1.S: Likewise.
61198         * sysdeps/x86_64/rshift.S: Likewise.
61199         * sysdeps/x86_64/sub_n.S: Likewise.
61200         * sysdeps/x86_64/submul_1.S: Likewise.
61202 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61204         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
61205         Define __sched_param instead of SCHED_* and sched_param when
61206         <bits/sched.h> is included with __need_schedparam defined.
61207         * bits/sched.h [__need_schedparam]
61208         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
61209         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
61210         (__defined_schedparam): Define to 1.
61211         (__sched_param): New structure, identical to sched_param.
61212         (__need_schedparam): Undefine.
61214 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
61216         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
61217         (epoll_create1): Declare.
61219         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
61221 2010-08-31  Andreas Schwab  <schwab@redhat.com>
61223         [BZ #7066]
61224         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
61225         shifting retval into place.
61227 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
61229         * nis/rpcsvc/nis.h: Update copyright notice.
61230         * nis/rpcsvc/nis.x: Likewise.
61231         * nis/rpcsvc/nis_callback.h: Likewise.
61232         * nis/rpcsvc/nis_callback.x: Likewise.
61233         * nis/rpcsvc/nis_object.x: Likewise.
61234         * nis/rpcsvc/nis_tags.h: Likewise.
61235         * nis/rpcsvc/yp.h: Likewise.
61236         * nis/rpcsvc/yp.x: Likewise.
61237         * nis/rpcsvc/ypupd.h: Likewise.
61238         * nis/yp_xdr.c: Likewise.
61239         * nis/ypupdate_xdr.c: Likewise.
61241         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
61242         mainly the body of pmap_getport.  Add parameters to specify timeouts.
61243         (pmap_getport): Use __libc_rpc_getport.
61244         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
61245         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
61246         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
61248 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
61250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
61251         fanotify_mark.
61253 2010-08-27  Roland McGrath  <roland@redhat.com>
61255         * sysdeps/i386/i686/multiarch/Makefile
61256         (CFLAGS-varshift.c): New variable.
61258 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
61260         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
61261         * sysdeps/i386/i686/multiarch/varshift.c: New file.
61263         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
61265         * sysdeps/x86_64/strlen.S: Minimal code improvement.
61267 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
61269         * sysdeps/x86_64/strlen.S: Unroll the loop.
61270         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61271         strlen-sse2 strlen-sse2-bsf.
61272         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
61273         __strlen_no_bsf if bit_Slow_BSF is set.
61274         (__strlen_sse42): Removed.
61275         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
61276         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
61278 2010-08-25  Roland McGrath  <roland@redhat.com>
61280         * sysdeps/x86_64/multiarch/varshift.S: File removed.
61281         * sysdeps/x86_64/multiarch/varshift.c: New file.
61282         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
61283         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
61284         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
61285         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61287 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
61289         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61290         strlen-sse2 strlen-sse2-bsf.
61291         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
61292         __strlen_sse2_bsf if bit_Slow_BSF is unset.
61293         (__strlen_sse2): Removed.
61294         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
61295         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
61296         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61297         bit_Slow_BSF for Atom.
61298         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
61299         (index_Slow_BSF): Define.
61300         (HAS_SLOW_BSF): Define.
61302 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
61304         [BZ #10851]
61305         * resolv/res_init.c (__res_vinit): When no server address at all
61306         is given default to loopback.
61308 2010-08-24  Roland McGrath  <roland@redhat.com>
61310         * configure.in: Remove config-name.h generation.
61311         * configure: Regenerated.
61312         * config-name.in: File removed.
61313         * scripts/config-uname.sh: New file.
61314         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
61315         ($(objdir)config-name.h): New target.
61317         * sunrpc/rpc_parse.h: Avoid nested comment.
61319 2010-08-24  Richard Henderson  <rth@redhat.com>
61320             Ulrich Drepper  <drepper@redhat.com>
61321             H.J. Lu  <hongjiu.lu@intel.com>
61323         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
61324         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
61325         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
61326         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
61327         _mm_alignr_epi8 with _mm_loadu_si128.
61328         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
61329         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
61330         (__m128i_shift_right): Removed.
61331         * sysdeps/i386/i686/multiarch/varshift.h: New file.
61332         * sysdeps/i386/i686/multiarch/varshift.S: New file.
61333         * sysdeps/x86_64/multiarch/varshift.h: New file.
61334         * sysdeps/x86_64/multiarch/varshift.S: New file.
61336 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
61338         * configure.in: Move assembler checks to before sysdep dir checking.
61340 2010-08-20  Petr Baudis  <pasky@suse.cz>
61342         * LICENSES: Sync the sunrpc license.
61344 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
61346         * sunrpc/auth_des.c: Update copyright notice once again.
61347         * sunrpc/auth_none.c: Likewise.
61348         * sunrpc/auth_unix.c: Likewise.
61349         * sunrpc/authdes_prot.c: Likewise.
61350         * sunrpc/authuxprot.c: Likewise.
61351         * sunrpc/bindrsvprt.c: Likewise.
61352         * sunrpc/clnt_gen.c: Likewise.
61353         * sunrpc/clnt_perr.c: Likewise.
61354         * sunrpc/clnt_raw.c: Likewise.
61355         * sunrpc/clnt_simp.c: Likewise.
61356         * sunrpc/clnt_tcp.c: Likewise.
61357         * sunrpc/clnt_udp.c: Likewise.
61358         * sunrpc/clnt_unix.c: Likewise.
61359         * sunrpc/des_crypt.c: Likewise.
61360         * sunrpc/des_soft.c: Likewise.
61361         * sunrpc/get_myaddr.c: Likewise.
61362         * sunrpc/getrpcport.c: Likewise.
61363         * sunrpc/key_call.c: Likewise.
61364         * sunrpc/key_prot.c: Likewise.
61365         * sunrpc/openchild.c: Likewise.
61366         * sunrpc/pm_getmaps.c: Likewise.
61367         * sunrpc/pm_getport.c: Likewise.
61368         * sunrpc/pmap_clnt.c: Likewise.
61369         * sunrpc/pmap_prot.c: Likewise.
61370         * sunrpc/pmap_prot2.c: Likewise.
61371         * sunrpc/pmap_rmt.c: Likewise.
61372         * sunrpc/rpc/auth.h: Likewise.
61373         * sunrpc/rpc/auth_unix.h: Likewise.
61374         * sunrpc/rpc/clnt.h: Likewise.
61375         * sunrpc/rpc/des_crypt.h: Likewise.
61376         * sunrpc/rpc/key_prot.h: Likewise.
61377         * sunrpc/rpc/netdb.h: Likewise.
61378         * sunrpc/rpc/pmap_clnt.h: Likewise.
61379         * sunrpc/rpc/pmap_prot.h: Likewise.
61380         * sunrpc/rpc/pmap_rmt.h: Likewise.
61381         * sunrpc/rpc/rpc.h: Likewise.
61382         * sunrpc/rpc/rpc_des.h: Likewise.
61383         * sunrpc/rpc/rpc_msg.h: Likewise.
61384         * sunrpc/rpc/svc.h: Likewise.
61385         * sunrpc/rpc/svc_auth.h: Likewise.
61386         * sunrpc/rpc/types.h: Likewise.
61387         * sunrpc/rpc/xdr.h: Likewise.
61388         * sunrpc/rpc_clntout.c: Likewise.
61389         * sunrpc/rpc_cmsg.c: Likewise.
61390         * sunrpc/rpc_common.c: Likewise.
61391         * sunrpc/rpc_cout.c: Likewise.
61392         * sunrpc/rpc_dtable.c: Likewise.
61393         * sunrpc/rpc_hout.c: Likewise.
61394         * sunrpc/rpc_main.c: Likewise.
61395         * sunrpc/rpc_parse.c: Likewise.
61396         * sunrpc/rpc_parse.h: Likewise.
61397         * sunrpc/rpc_prot.c: Likewise.
61398         * sunrpc/rpc_sample.c: Likewise.
61399         * sunrpc/rpc_scan.c: Likewise.
61400         * sunrpc/rpc_scan.h: Likewise.
61401         * sunrpc/rpc_svcout.c: Likewise.
61402         * sunrpc/rpc_tblout.c: Likewise.
61403         * sunrpc/rpc_util.c: Likewise.
61404         * sunrpc/rpc_util.h: Likewise.
61405         * sunrpc/rpcinfo.c: Likewise.
61406         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
61407         * sunrpc/rpcsvc/key_prot.x: Likewise.
61408         * sunrpc/rpcsvc/klm_prot.x: Likewise.
61409         * sunrpc/rpcsvc/mount.x: Likewise.
61410         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
61411         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
61412         * sunrpc/rpcsvc/rex.x: Likewise.
61413         * sunrpc/rpcsvc/rstat.x: Likewise.
61414         * sunrpc/rpcsvc/rusers.x: Likewise.
61415         * sunrpc/rpcsvc/sm_inter.x: Likewise.
61416         * sunrpc/rpcsvc/spray.x: Likewise.
61417         * sunrpc/rpcsvc/yppasswd.x: Likewise.
61418         * sunrpc/rtime.c: Likewise.
61419         * sunrpc/svc.c: Likewise.
61420         * sunrpc/svc_auth.c: Likewise.
61421         * sunrpc/svc_authux.c: Likewise.
61422         * sunrpc/svc_raw.c: Likewise.
61423         * sunrpc/svc_run.c: Likewise.
61424         * sunrpc/svc_simple.c: Likewise.
61425         * sunrpc/svc_tcp.c: Likewise.
61426         * sunrpc/svc_udp.c: Likewise.
61427         * sunrpc/svc_unix.c: Likewise.
61428         * sunrpc/svcauth_des.c: Likewise.
61429         * sunrpc/xcrypt.c: Likewise.
61430         * sunrpc/xdr.c: Likewise.
61431         * sunrpc/xdr_array.c: Likewise.
61432         * sunrpc/xdr_float.c: Likewise.
61433         * sunrpc/xdr_mem.c: Likewise.
61434         * sunrpc/xdr_rec.c: Likewise.
61435         * sunrpc/xdr_ref.c: Likewise.
61436         * sunrpc/xdr_sizeof.c: Likewise.
61437         * sunrpc/xdr_stdio.c: Likewise.
61439         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
61440         handling.
61442 2010-08-19  Andreas Schwab  <schwab@redhat.com>
61444         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
61446 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
61448         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
61449         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
61450         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
61451         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
61452         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
61453         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
61454         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
61455         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
61456         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
61457         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
61458         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
61459         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
61460         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
61461         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
61463 2010-07-26  Anton Blanchard  <anton@samba.org>
61465         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
61466         * malloc/arena.c (heap_trim): Likewise.
61468 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
61470         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
61471         here.  Not...
61472         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
61473         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
61475 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
61477         * sysdeps/i386/elf/Makefile: New file.
61479 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61481         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
61482         from fanotify_init.
61483         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
61484         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61486 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
61488         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
61489         of strncasecmp_l.
61490         * sysdeps/multiarch/strcmp.S: Likewise.
61492 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
61494         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61495         strncase_l-nonascii.
61496         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61497         Add strncase_l-ssse3.
61498         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
61499         * sysdeps/x86_64/strcmp.S: Likewise.
61500         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
61501         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
61502         * sysdeps/x86_64/strncase.S: New file.
61503         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
61504         * sysdeps/x86_64/strncase_l.S: New file.
61505         * string/Makefile (strop-tests): Add strncasecmp.
61506         * string/test-strncasecmp.c: New file.
61508         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
61509         warning.
61511         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
61512         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
61514 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
61516         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
61518 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
61520         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
61521         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
61522         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
61524 2010-05-01  Alan Modra  <amodra@gmail.com>
61526         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
61527         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
61528         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
61529         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
61530         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
61531         tidying.  Don't tail-call __sigjmp_save for static lib.
61532         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
61533         save location.
61534         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
61535         (CALL_MCOUNT): Add eh info, and nop after bl.
61536         (TAIL_CALL_SYSCALL_ERROR): New macro.
61537         (PSEUDO_RET): Use it.
61538         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
61539         Correct save location of integer regs and cr.
61540         (_dl_profile_resolve): Correct cr save location.  Delete nops
61541         after bl when SHARED.  Reduce cfi size a little by better
61542         placement of cfi directives.
61543         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
61544         make a stack frame.  Instead use parm save area as a temp.
61545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
61546         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
61547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
61548         Don't make a stack frame for parent, use parm save area.
61549         Increase child stack frame to 112 bytes.  Don't save unused reg,
61550         and adjust reg usage.  Set up cfi on error recovery and
61551         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
61552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61553         (__makecontext): Add dummy nop after jump to exit.
61554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
61555         Use correct parm save area and cr save, reduce stack frame.
61556         Correct cfi for possible PSEUDO_RET frame setup.
61557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
61558         Branch to local label emitted by PSEUDO_RET rather than
61559         __syscall_error.
61561 2010-08-12  Andreas Schwab  <schwab@redhat.com>
61563         [BZ #11904]
61564         * locale/programs/locale.c (print_assignment): New function.
61565         (show_locale_vars): Use it.
61567 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
61569         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
61570         field.
61571         (struct statfs64): Likewise.
61572         (_STATFS_F_FLAGS): Define.
61573         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
61574         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61575         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
61576         (ST_VALID): Define locally.
61577         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
61578         __statvfs_getflags, use the provided value.
61579         * sysdeps/unix/sysv/linux/kernel-features.h: Define
61580         __ASSUME_STATFS_F_FLAGS.
61582         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
61584         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
61585         Add sys/fanotify.h.
61586         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
61587         fanotify_mask for GLIBC_2.13.
61588         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
61589         fanotify_init and fanotify_mark.
61590         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
61591         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
61593         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
61594         Add prlimit.
61595         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
61596         prlimit64 for GLIBC_2.13.
61597         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
61598         prlimit64.
61599         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
61600         syscall.
61601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
61602         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
61603         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
61604         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
61605         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
61606         add prlimit alias.
61607         * sysdeps/unix/sysv/linux/prlimit.c: New file.
61609         [BZ #11903]
61610         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
61611         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
61613         * nss/Makefile: Add rules to build and run tst-nss-test1.
61614         * shlib-versions: Add entry for libnss_test1.
61615         * nss/nss_test1.c: New file.
61616         * nss/tst-nss-test1.c: New file.
61618         * nss/nsswitch.c (__nss_database_custom): Define new variable.
61619         (__nss_configure_lookup): Set appropriate entry in
61620         __nss_configure_lookup to true.
61621         * nss/nsswitch.h: Define enum with indeces of databases in
61622         databases and __nss_database_custom arrays.  Declare
61623         __nss_database_custom.
61624         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
61625         to avoid using nscd when custom rules are installed.
61626         * nss/getXXbyYY_r.c: Likewise.
61627         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61629         * nss/nss_files/files-parse.c: Whitespace fixes.
61631 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
61633         [BZ #11883]
61634         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
61635         * posix/fnmatch_loop.c: Likewise.
61637 2010-07-17  Andi Kleen  <ak@linux.intel.com>
61639         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
61640         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
61641         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
61642         * Versions.def [GLIBC_2.13]: Add.
61644 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
61646         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61647         Also fail if tpwd after pwuid call is NULL.
61649 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61651         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
61652         when converting to ms.
61654 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61656         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
61657         EOPNOTSUPP errors with ENOTTY.
61658         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
61659         EOPNOTSUPP errors with ENOTTY.
61661 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
61663         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
61664         Add strcasecmp_l-ssse3.
61665         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
61666         strcasecmp.
61667         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
61668         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
61669         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
61671 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
61673         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
61675         * string/Makefile (strop-tests): Add strcasecmp.
61676         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
61677         strcasecmp_l-nonascii.
61678         (gen-as-const-headers): Add locale-defines.sym.
61679         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
61680         * sysdeps/x86_64/strcasecmp.S: New file.
61681         * sysdeps/x86_64/strcasecmp_l.S: New file.
61682         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
61683         * sysdeps/x86_64/locale-defines.sym: New file.
61684         * string/test-strcasecmp.c: New file.
61686         * string/test-strcasestr.c: Test both ends of the range of characters.
61687         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
61689 2010-07-29  Roland McGrath  <roland@redhat.com>
61691         [BZ #11856]
61692         * manual/locale.texi (Yes-or-No Questions): Fix example code.
61694 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
61696         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
61697         for ld.so.
61699 2010-07-27  Andreas Schwab  <schwab@redhat.com>
61701         * manual/memory.texi (Malloc Tunable Parameters): Document
61702         M_PERTURB.
61704 2010-07-26  Roland McGrath  <roland@redhat.com>
61706         [BZ #11840]
61707         * configure.in (-fgnu89-inline check): Set and substitute
61708         gnu89_inline, not libc_cv_gnu89_inline.
61709         * configure: Regenerated.
61710         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
61712 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
61714         * string/test-strnlen.c: New file.
61715         * string/Makefile (strop-tests): Add strnlen.
61716         * string/tester.c (test_strnlen): Add a few more test cases.
61717         * string/tst-strlen.c: Better error reporting.
61719         * sysdeps/x86_64/strnlen.S: New file.
61721 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
61723         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
61724         lower-latency instructions.
61726 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
61728         * string/test-strcasestr.c: New file.
61729         * string/test-strstr.c: New file.
61730         * string/Makefile (strop-tests): Add strstr and strcasestr.
61731         * string/str-two-way.h: Don't undefine MAX.
61732         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
61734 2010-07-21  Andreas Schwab  <schwab@redhat.com>
61736         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61737         strcasestr-nonascii.
61738         (CFLAGS-strcasestr-nonascii.c): Define.
61739         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
61740         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
61741         Remove unused attribute.
61743 2010-07-20  Roland McGrath  <roland@redhat.com>
61745         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
61746         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
61747         ld.so.cache was broken.  With it, there is no way to disable dsocaps
61748         like LD_HWCAP_MASK can disable hwcaps.
61750 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
61752         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
61754 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
61756         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
61757         call in strcasestr.
61758         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
61759         __strcasestr_sse42_nonascii.
61760         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
61761         strcasestr-nonascii.c.
61762         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
61764 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
61766         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
61767         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
61768         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
61769         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
61771 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
61773         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
61774         fcntl.
61776 2010-07-06  Andreas Schwab  <schwab@redhat.com>
61778         [BZ #11577]
61779         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
61780         dl_signal_cerror.
61782 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
61784         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
61785         _PC_PIPE_BUF using F_GETPIPE_SZ.
61787 2010-07-05  Roland McGrath  <roland@redhat.com>
61789         * manual/arith.texi (Rounding Functions): Fix rint description
61790         implicit in round description.
61792 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
61794         * elf/Makefile: Fix linking for a few tests to make recent linker
61795         happy.
61797 2010-06-30  Andreas Schwab  <schwab@redhat.com>
61799         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61800         $(common-objpfx)libc_nonshared.a.
61802 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
61804         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
61805         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
61806         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61807         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61808         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
61809         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
61810         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61811         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
61813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
61814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
61815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
61816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
61817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
61818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
61819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
61820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
61821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
61822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
61823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
61824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
61825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
61826         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
61827         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
61828         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
61829         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
61830         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
61831         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
61832         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
61833         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
61834         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
61835         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
61836         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
61837         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
61838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
61839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
61840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
61841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
61842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
61843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
61844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
61845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
61846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
61847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
61848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
61849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
61850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
61851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
61853 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
61855         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
61856         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
61857         * string/memmove.c (memmove): Renamed to ...
61858         (MEMMOVE): ...this.  Default to memmove.
61859         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
61860         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
61861         (END_CHK): Define.
61862         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61863         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
61864         mempcpy-ssse3-back memmove-ssse3-back.
61865         * sysdeps/x86_64/multiarch/bcopy.S: New file .
61866         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
61867         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
61868         * sysdeps/x86_64/multiarch/memcpy.S: New file.
61869         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
61870         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
61871         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
61872         * sysdeps/x86_64/multiarch/memmove.c: New file.
61873         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
61874         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
61875         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
61876         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
61877         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
61878         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
61879         Define.
61880         (index_Fast_Copy_Backward): Define.
61881         (HAS_ARCH_FEATURE): Define.
61882         (HAS_FAST_REP_STRING): Define.
61883         (HAS_FAST_COPY_BACKWARD): Define.
61885 2010-06-21  Andreas Schwab  <schwab@redhat.com>
61887         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
61888         Restore proper fallback handling.
61890 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
61892         [BZ #11701]
61893         * posix/group_member.c (__group_member): Correct checking loop.
61895         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
61896         OOM in getpwuid_r correctly.  Return error number when the caller
61897         should return, otherwise -1.
61898         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
61899         call returning > 0 value.
61900         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
61902 2010-06-07  Andreas Schwab  <schwab@redhat.com>
61904         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
61905         libc_nonshared.a from targets in modules-names.
61907 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
61909         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
61910         requires it.
61912 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
61914         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
61915         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
61916         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
61917         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
61919 2010-06-02  Andreas Schwab  <schwab@redhat.com>
61921         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
61923 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
61925         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
61926         and F_GETPIPE_SZ.
61927         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
61928         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
61929         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61930         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61931         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
61932         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
61934 2010-06-14  Roland McGrath  <roland@redhat.com>
61936         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
61938 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
61940         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
61941         __REDIRECT followed by __THROW.
61942         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
61943         * posix/getopt.h (getopt): Likewise.
61945 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
61947         * hurd/lookup-at.c (__file_name_lookup_at): Accept
61948         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
61949         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
61950         in AT_FLAGS.
61951         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
61952         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
61954 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
61956         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
61958 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
61960         [BZ #11640]
61961         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61962         Properly check family and model.
61964 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
61966         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
61968 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
61970         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
61972 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
61974         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
61975         symbol reference.
61977 2010-05-19  Andreas Schwab  <schwab@redhat.com>
61979         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
61980         symbol reference.
61982 2010-05-21  Andreas Schwab  <schwab@redhat.com>
61984         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
61985         and internal_recvmmsg.
61986         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
61987         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
61988         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
61989         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
61991         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
61992         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61993         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61995 2010-05-20  Andreas Schwab  <schwab@redhat.com>
61997         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
61999 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
62001         POWER7 optimizations.
62002         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
62003         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
62005 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
62007         * version.h: Update for 2.13 development version.
62009 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
62011         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
62012         exceptions.  Return 0.
62014 2010-05-07  Roland McGrath  <roland@redhat.com>
62016         * elf/ldconfig.c (main): Add a const.
62018 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
62020         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
62021         (args_options): Add no-idn option.
62022         (ahosts_keys_int): Add idn_flags to ai_flags.
62023         (parse_option): Handle 'i' option to clear idn_flags.
62025         * malloc/malloc.c (_int_free): Possible race in the most recently
62026         added check.  Only act on the data if no current modification
62027         happened.
62029 See ChangeLog.17 for earlier changes.